Commit Graph

14 Commits

Author SHA1 Message Date
objecttothis
78cfe927b0 Convert encryption to CI4
- optimized save function
2023-04-27 21:54:11 -04:00
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
00955b0c94 Model fixes
- Removed unused imports
- Simplified boolean expression
- Added missing return type
- Fixed incorrect call to lang()
- Fixed missing type declaration
2023-04-27 21:54:11 -04:00
objecttothis
dd3b7330d3 Added protected fields for CI4 models
- primary table
- primary key
- useAutoIncrement
- useSoftDeletes
2023-04-27 21:54:11 -04:00
objecttothis
6126483586 Added allowedFields to models
- Without this save(), insert() and update() fail
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
dcf1bbb3b2 CI4 updates
- Fixed bug in appconfig->get_value() that never returns a value
- Trying to fix logout
- Turned on session->regenerateDestroy
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
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
16f4d6dc9c Modified Appconfig::delete to match inheritance rules 2023-04-27 21:53:48 -04:00
objecttothis
7db0211f5e Porting over 96c5924 2023-04-27 21:53:02 -04:00
objecttothis
df6fe58652 Porting over 96c5924 2023-04-27 21:53:02 -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