Commit Graph

46 Commits

Author SHA1 Message Date
Steve Ireland
9ee7b8f6d4 This commit appears to fix customer deletes and updates. 2023-04-27 21:54:12 -04:00
objecttothis
32192b90c3 CI4 bugfixes
- Added session variable instantiation where needed.
- Added tabular helper to autoload
- removed tabular helper reference where no longer needed.
- Remove esc() references where it was causing display problems.
- Remove excess whitespace on blank line
- Remove unecessary using reference
- Make parameters for dinner table functions nullable
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
2150e4d2e8 Fix encryption and missing call 2023-04-27 21:54:11 -04:00
objecttothis
d276f99773 Autoload cookie helper
It's being used in almost every view
2023-04-27 21:54:10 -04:00
objecttothis
9dc98563e7 Fixed undefined variable before use. 2023-04-27 21:54:10 -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
b041f8f8f0 rawurlencode/decode cache data
- because of PSR6 compliance there are reserved characters in cache
2023-04-27 21:54:10 -04:00
objecttothis
7b7de41ffc Caching of ospos_app_config
- Implement a caching mechanism for the app_config table
- Revamp the OSPOS custom config so that cached values are used rather than pulling from the db
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
9aec0b45ac Fix incorrect function calls
- Fixed return type in function call to make it nullable.
- Added form helper to autoload since it's used in all the views.
- Fix typo in memory stored OSPOS settings reference.
2023-04-27 21:54:10 -04:00
objecttothis
88c7b11910 Fixed Commit_sha1 not being found 2023-04-27 21:54:10 -04:00
objecttothis
e5c0fb2485 Fixed CSS in Login view 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
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
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
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
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
1df52d1c17 CI4 related fixes
- Revert inadvertent overwrite of Home.php
- Added TODO
2023-04-27 21:54:09 -04:00
objecttothis
666c7d9785 Package updates for compatibility 2023-04-27 21:53:54 -04:00
objecttothis
bdbc86060e Upgrade to CI 4.2.10 2023-04-27 21:53:49 -04:00
objecttothis
977be7a278 Debugging routes 2023-04-27 21:53:49 -04:00
objecttothis
29c9bd8ccf Bugfixes
- Added todo
- Added missing files
- Delete CI3 specific files
2023-04-27 21:53:49 -04:00
objecttothis
f343c6988e 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
eaeabd8850 Fixing runtime bugs
- instantiating Load_config
- Added todos
2023-04-27 21:53:02 -04:00
objecttothis
d5d342d7da Corrected events and delete old file 2023-04-27 21:53:02 -04:00
objecttothis
6c38ba7c06 Corrected setting to sessions table 2023-04-27 21:53:02 -04:00
objecttothis
0cc25f3c6f Fix problem breaking env file 2023-04-27 21:53:02 -04:00
objecttothis
4558fcf876 Delete old CI3 file 2023-04-27 21:53:02 -04:00
objecttothis
f0afcd6650 Migrations
- Delete old CI3 file
- Correct format of Migrations file datetime
2023-04-27 21:53:02 -04:00
jekkos
ace7c2b131 Apply changes from master 2023-04-27 21:53:02 -04:00
objecttothis
f39509d45e Bump to version 3.4.0 2023-04-27 21:52:54 -04:00
objecttothis
b840fdd01d Porting over e8f27f5 2023-04-27 21:52:54 -04:00
objecttothis
68d00ddcfa Bump version to 4.0.0 2023-04-27 21:52:54 -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