Commit Graph

26 Commits

Author SHA1 Message Date
objecttothis
2150e4d2e8 Fix encryption and missing call 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
29997d9083 Simplified business logic 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
d408675370 Fixed sale->update() signature 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
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
d83a19a167 Fix decryption 2023-04-27 21:54:10 -04:00
objecttothis
ec14d6d0fd Return int in get_current_version() 2023-04-27 21:54:10 -04:00
objecttothis
98d19040c7 Fixed bug in CI4 conversion functionality
The bug was causing one row to be inserted because the function was being called twice
2023-04-27 21:54:10 -04:00
objecttothis
caf31185b0 migrations table migration to CI4 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
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
bdbc86060e Upgrade to CI 4.2.10 2023-04-27 21:53:49 -04:00
objecttothis
99bd8f7acc Validation for login 2023-04-27 21:53:49 -04:00
objecttothis
52c8511d8d CI4 fixes
- validation
- migration fixes
- string interpolation
- oh my
2023-04-27 21:53:49 -04:00
objecttothis
e4d0497633 Validation 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
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
0e92645370 CI4 runtime fixes
- Added todo
- refactored function to CI4 formatting
2023-04-27 21:53:48 -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
jekkos
ace7c2b131 Apply changes from master 2023-04-27 21:53:02 -04:00
jekkos
5a0d5ae6bb Apply changes from master 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