Commit Graph

5921 Commits

Author SHA1 Message Date
objecttothis
3442d818eb Fixed Login Validation
- Ported validation rules to CI4 formatting.
- Added Custom Validation Ruleset.
- Formatting and refactoring
2023-04-27 21:54:09 -04:00
objecttothis
925691e78e Temporarily disabling CSRF until we can figure out what parts need to stay from CI3 and what needs to be stripped out. 2023-04-27 21:54:09 -04:00
objecttothis
832e36e379 Removed MY_Validation.php
- Having this in was breaking validation on CI4.  We can figure out how to add it back in later if it's needed.
2023-04-27 21:54:09 -04:00
objecttothis
70f49ace6f Fixed migration version check
- Login now checks the current db version against the latest migration available and displays the migration update message before login.
2023-04-27 21:54:09 -04:00
objecttothis
6a9b3342d5 Corrected formatting of login.php view 2023-04-27 21:54:09 -04:00
objecttothis
2a7ce12de4 Converted space indentation to tab 2023-04-27 21:54:09 -04:00
objecttothis
bbb8703312 Added .editorconfig
This will make it easier to enforce basic code styles on the project
2023-04-27 21:54:09 -04:00
objecttothis
fa1f4af420 Login functionality
- temporarily removed return type from index while troubleshooting.
- load form helper in view
2023-04-27 21:54:09 -04:00
objecttothis
80cabb5f71 Convert $this->load->vars() to CI4
- create placeholder view.
- Change call to $this->load->vars() to instead call the empty view with our view data
2023-04-27 21:54:09 -04:00
objecttothis
936ccb93bf Bug Fixes
- Properly reference Cookie and Security settings values.
- Instantiate IncomingRequest Instance in view.
- Added return value of Login::index().
- Added missing return statement to Secure_Controller::is_logged_in()
2023-04-27 21:54:09 -04:00
objecttothis
d7a3bc2259 Fixed index() naming
- https://codeigniter.com/user_guide/incoming/controllers.html#let-s-try-it-hello-world
- controller methods executed using improved auto routing needs the HTTP verb.
2023-04-27 21:54:09 -04:00
objecttothis
0fad576550 Correct redirect() calls to CI4 format 2023-04-27 21:54:09 -04:00
objecttothis
dd7e2f7001 Setting Routes 2023-04-27 21:54:09 -04:00
objecttothis
3831503721 Renamed index to getIndex in Controllers 2023-04-27 21:54:09 -04:00
objecttothis
4d6a3cc5e1 CI4 updates
- Adding a use reference for missing database handler driver
- Added missing Kint reference to composer.json
- Enabled auto routing (improved)
2023-04-27 21:54:09 -04:00
objecttothis
b42a1a9a6d Added required defaults to app\Config\Email.php 2023-04-27 21:54:09 -04:00
objecttothis
04a08f29d4 Migrations changes
- Added migration script for change to session table.
- Corrected URL for location of scripts in old migrations since that has changed.
2023-04-27 21:54:09 -04:00
objecttothis
2fe2a3d3fb Added missing file and updated composer.lock 2023-04-27 21:54:09 -04:00
objecttothis
8c7f5c15ca CI4 4.3.1 upgrade
- add missing files
- overwrite changed files
- merge code changes
- Matched .htaccess file in /public/ to CI4
- Corrected naming of Error language file to Errors
- Refactored references to Error language file
2023-04-27 21:54:09 -04:00
objecttothis
4e7b114b19 CI4 4.3.1 upgrade
- add missing files
- overwrite changed files
- merge code changes
- Matched .htaccess file in /public/ to CI4
2023-04-27 21:54:09 -04:00
objecttothis
82a03e7e2e Match some composer.json entries to CI4 2023-04-27 21:54:09 -04:00
objecttothis
2e6d54e046 Update Composer to CI 4.3.1 2023-04-27 21:54:09 -04:00
objecttothis
03e5092d0f upgrade spark to latest 4.2.10 2023-04-27 21:54:09 -04:00
objecttothis
1df52d1c17 CI4 related fixes
- Revert inadvertent overwrite of Home.php
- Added TODO
2023-04-27 21:54:09 -04:00
objecttothis
658d51091c Consolidate and move options to the top 2023-04-27 21:54:09 -04:00
objecttothis
82cb3080b3 Moved Options higher in the htaccess 2023-04-27 21:54:09 -04:00
objecttothis
6401dda6dc Added +SymLinksIfOwnerMatch for security 2023-04-27 21:54:09 -04:00
objecttothis
f994d5e811 Update language strings to CI4 format
- replaced {0} with associative array key
2023-04-27 21:54:09 -04:00
objecttothis
c5f8b21703 Update language strings to CI4 format
- replaced %1, etc with {0}
- May need to do this in other language files.
2023-04-27 21:54:09 -04:00
objecttothis
e3647c351c Update language strings to CI4 format 2023-04-27 21:54:00 -04:00
objecttothis
e4c4b0df45 Updated .htaccess files
- Removed deprecated Apache 2.2 support (security)
- merged CI4 variant
2023-04-27 21:53:54 -04:00
objecttothis
016912dba6 Updated .htaccess files
- Removed deprecated Apache 2.2 support (security)
- merged CI4 variant
2023-04-27 21:53:54 -04:00
objecttothis
666c7d9785 Package updates for compatibility 2023-04-27 21:53:54 -04:00
objecttothis
cb073e4256 fixed extra comma 2023-04-27 21:53:49 -04:00
objecttothis
86cc3d9f84 Remove incompatible package
- kenjis/ci-phpunit-test is compatible with CI3.1
- https://github.com/kenjis/ci-phpunit-test
2023-04-27 21:53:49 -04:00
objecttothis
c3e73aa595 Package versions 2023-04-27 21:53:49 -04:00
objecttothis
3a378634e2 Upgrade to CI 4.2.10 2023-04-27 21:53:49 -04:00
objecttothis
bdbc86060e Upgrade to CI 4.2.10 2023-04-27 21:53:49 -04:00
objecttothis
6895729fc8 Upgraded composer packages 2023-04-27 21:53:49 -04:00
objecttothis
1e88ff9a3c Corrected typos 2023-04-27 21:53:49 -04:00
objecttothis
4d9443705f Changes for CI 4.2.10
- Minimum PHP 7.4
- Changed CodeIgniter version to 4.2.10
- Corrected deprecated license descriptions
2023-04-27 21:53:49 -04:00
objecttothis
c6a696f376 Changes for CI 4.2.10
- Minimum PHP 7.4
- Changed CodeIgniter version to 4.2.10
2023-04-27 21:53:49 -04:00
objecttothis
977be7a278 Debugging routes 2023-04-27 21:53:49 -04:00
objecttothis
29c9bd8ccf Bugfixes
- Added todo
- Added missing files
- Delete CI3 specific files
2023-04-27 21:53:49 -04:00
objecttothis
7d41d7bfc6 string interpolation fix 2023-04-27 21:53:49 -04:00
objecttothis
f4902002b9 Bugfixes
- Commenting out non-working portions of migrations
- Fixing company_logo location
2023-04-27 21:53:49 -04:00
objecttothis
99bd8f7acc Validation for login 2023-04-27 21:53:49 -04:00
objecttothis
91d8d68cc0 Moving sql scripts to new location 2023-04-27 21:53:49 -04:00
objecttothis
52c8511d8d CI4 fixes
- validation
- migration fixes
- string interpolation
- oh my
2023-04-27 21:53:49 -04:00
objecttothis
e4d0497633 Validation 2023-04-27 21:53:49 -04:00