Commit Graph

13 Commits

Author SHA1 Message Date
Steve Ireland
706adf44cd This commit addresses the scenario where encryption fails when the value to be encrypted is either FALSE or blank. I'm testing for !empty before doing encryption/decryption on the value and that seems to be working with this commit. 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
7738242386 Encryption
- Removed unneeded encryption code.
- Configured Encryption settings for CI4
2023-04-27 21:54:11 -04:00
objecttothis
7d78eec7de Fix CI4/CI3 encryption compatibility
- Removed the CI3 Encryption library as it's no longer needed.
- Added a field to \App\Config\Encryption.php to allow cipher.
- Removed test code for CI3 encryption and added test code for CI4 decryption of CI3 data.
2023-04-27 21:54:11 -04:00
objecttothis
03872f02c9 Working on encryption 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
e508ab86cd Typos and correcting variable 2023-04-27 21:54:10 -04:00
objecttothis
271d146e73 Fix incorrect function calls
- Fixed encrypter references
2023-04-27 21:54:10 -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
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