Commit Graph

5934 Commits

Author SHA1 Message Date
objecttothis
5d3a8aa085 Bump dev dependencies 2023-04-27 21:54:10 -04:00
objecttothis
c774c1d636 Bump dependencies 2023-04-27 21:54:10 -04:00
objecttothis
f1054f31bd moved base scripts to a place that makes more sense 2023-04-27 21:54:10 -04:00
objecttothis
ec14d6d0fd Return int in get_current_version() 2023-04-27 21:54:10 -04:00
objecttothis
98d19040c7 Fixed bug in CI4 conversion functionality
The bug was causing one row to be inserted because the function was being called twice
2023-04-27 21:54:10 -04:00
objecttothis
caf31185b0 migrations table migration to CI4 2023-04-27 21:54:10 -04:00
objecttothis
dd3123151e Updated the CI4 migrations conversion script
- This is not its final form but it contains the CI4 version table create and all the inserts needed to bring a 3.0.2-3.3.8 existing instance onboard without re-running any migrations.
2023-04-27 21:54:10 -04:00
objecttothis
86395a69d9 Moved pre-automated migrations scripts
These scripts are prior to 3.0.2 when automated migrations did not exist.
2023-04-27 21:54:10 -04:00
objecttothis
62b47a53ab Migrations fixes
- Revert tables.sql and constraints.sql to 3.0.2 version.

This change fixes a problem where the first three migrations fail because the database schema was frozen at 3.2.0 and looks different. The result is the same but no failing migrations
2023-04-27 21:54:10 -04:00
objecttothis
1a0e5b916a Migrations fixes
- Minor formating changes
- Adding migration helper calls where needed
- Adding locale helper calls where needed
- Add use statement to tax_lib for sale_lib
- pass gcaptcha enabled to the login view after checking to see if the key exists so that we don't get code errors before migrations 20170501150000
- Fixed getWhere in Appconfig model
2023-04-27 21:54:10 -04:00
objecttothis
cdb21d3e4c Migrations fixes
- Minor formating changes
- Adding migration helper calls where needed
- Adding locale helper calls where needed
- Add use statement to tax_lib for sale_lib
- pass gcaptcha enabled to the login view after checking to see if the key exists so that we don't get code errors before migrations 20170501150000
- Fixed getWhere in Appconfig model
2023-04-27 21:54:10 -04:00
objecttothis
d6d7b7adc6 Convert migrations table to CI4 format 2023-04-27 21:54:10 -04:00
objecttothis
cdcc858d08 Updated PHPDoc 2023-04-27 21:54:10 -04:00
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