Commit Graph

19 Commits

Author SHA1 Message Date
Steve Ireland
29fabc0522 For #3739. Removed unnecessary escaping from customer maintenance. 2023-04-27 21:54:13 -04:00
Steve Ireland
47f419368b For #3730. This replaces FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS. 2023-04-27 21:54:13 -04:00
Steve Ireland
fa38042298 For #3730. More minor corrections to issues found during testing. 2023-04-27 21:54:12 -04:00
Steve Ireland
ee21f2a6aa For #3730. Made more changes to get configuration panels working. 2023-04-27 21:54:12 -04:00
Steve Ireland
badc390a98 For #3730. Discovered that saving the mailchimp credentials without actual credentials was creating an absurd encrypted value that was causing a subsequent crash. There may be a future issue to be dealt with here, but this commit will leave the config for mailchimp blank. 2023-04-27 21:54:12 -04:00
Steve Ireland
b5f67ae4b2 For #3730, some progress made on configuration maintenance. More remains to be done. 2023-04-27 21:54:12 -04:00
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