Commit Graph

17 Commits

Author SHA1 Message Date
objecttothis
8a1e4b2083 Convert encryption to CI4
- automatic upgrade of encryption key.
- automatic decryption of CI3 data, then re-encryption in CI4 and update of table.
- Fixing save function in app_config model
2023-04-27 21:54:11 -04:00
objecttothis
2dd8a62e34 Replaces calls to config('OSPOS')
- In controllers, models, helpers and libraries
- Reduced down to one call per class
- Update the OSPOS config on update to ospos_app_config table
2023-04-27 21:54:10 -04:00
objecttothis
a5d01ae069 Corrected the schema of the sessions table 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
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
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
91d8d68cc0 Moving sql scripts to new location 2023-04-27 21:53:49 -04:00
objecttothis
3761c75711 Load OSPOS app settings to variable
- refactor class and variable
- Refactor references to OSPOS configuration
- Replaced " with ' in PHP where parser was not needed
2023-04-27 21:53:49 -04:00
objecttothis
53b81f804e CI4 changes
- Corrected capitalization of App in use statements
- Added use statements where missing in Events.php
2023-04-27 21:53:48 -04:00
objecttothis
63162b97fe Upgrade to CodeIgniter 4.1.3 2023-04-27 21:52:54 -04:00
jekkos
09201ab344 Prepare rebase: move files to new folder structure 2023-04-27 21:52:28 -04:00