Commit Graph

5978 Commits

Author SHA1 Message Date
objecttothis
f3bd5346ea Added missing initialization of stock_location model 2023-04-27 21:54:11 -04:00
objecttothis
f0898f3461 Fix for incorrect link generation 2023-04-27 21:54:11 -04:00
objecttothis
2150e4d2e8 Fix encryption and missing call 2023-04-27 21:54:11 -04:00
objecttothis
dd73099dd3 Removed commented code 2023-04-27 21:54:10 -04:00
objecttothis
d276f99773 Autoload cookie helper
It's being used in almost every view
2023-04-27 21:54:10 -04:00
objecttothis
854b58c406 fixed css references 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
bde3cb22c8 Replaces calls to config('OSPOS') in views
- the settings array is now passed through the Secure Controller to the view
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
2db77b910e Remove unused function 2023-04-27 21:54:10 -04:00
objecttothis
b149ae66cc Reduce calls to config('OSPOS') for speed.
- calling config from Secure_Controller.php and passing the data through a global view
- calling config in the Login view once rather than using config('OSPOS')->settings[] everywhere
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
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
e508ab86cd Typos and correcting variable 2023-04-27 21:54:10 -04:00
objecttothis
628c047078 Simplified code 2023-04-27 21:54:10 -04:00
objecttothis
d408675370 Fixed sale->update() signature 2023-04-27 21:54:10 -04:00
objecttothis
bc8c3fd2c3 Simplified boolean comparisons 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
6e3af9184b Fix incorrect function calls
- Corrected URI segment calls to CI4
- Corrected session variable references in views
- Fix logout function name in Home Controller
2023-04-27 21:54:10 -04:00
objecttothis
cd96e42a93 Fix SQL 2023-04-27 21:54:10 -04:00
objecttothis
d83a19a167 Fix decryption 2023-04-27 21:54:10 -04:00
objecttothis
5022bfacd4 Added calls to helpers 2023-04-27 21:54:10 -04:00
objecttothis
f0acd506bb Match model function signatures to parent
- update method
2023-04-27 21:54:10 -04:00
objecttothis
b5c36f9c4d Match model function signatures to parent
- delete method
- insert method
- update method
2023-04-27 21:54:10 -04:00
objecttothis
8dd0f41ba6 fixed menu image file references 2023-04-27 21:54:10 -04:00
objecttothis
c1c4fe2072 fixed language line in en-US
Interpolation requires that naming of the placeholder be consistent. We can use associative or non... IMO associative is better because you know what is supposed to go there.
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
17f4a684a3 Fixed getUri Segment bug 2023-04-27 21:54:10 -04:00
objecttothis
af14768913 Fixed bug preventing view data being passed
- It was generated in the Secure_Controller.php and now is visible in the partial header.
2023-04-27 21:54:10 -04:00
objecttothis
e5c0fb2485 Fixed CSS in Login view 2023-04-27 21:54:10 -04:00
objecttothis
744f7cf085 Fixed CSS in Login view 2023-04-27 21:54:10 -04:00
objecttothis
f129e2f220 Fixed CSS in Login view 2023-04-27 21:54:10 -04:00
objecttothis
3b46d1ca80 Added npm-check-updates as a dev-dependency.
- This thing's amazing. just run `ncu` then run `ncu -u` and `npm install`
2023-04-27 21:54:10 -04:00
objecttothis
08b4421221 Removed dependency vulnerabilities. 2023-04-27 21:54:10 -04:00
objecttothis
7b3a4bbf54 Bump dompdf/dompdf and picquer dependencies 2023-04-27 21:54:10 -04:00
objecttothis
33b06426fd Bump dompdf/dompdf from master 2023-04-27 21:54:10 -04:00
objecttothis
558bef7817 Sessions issues. Not fixed yet. 2023-04-27 21:54:10 -04:00
objecttothis
a5d01ae069 Corrected the schema of the sessions table 2023-04-27 21:54:10 -04:00
objecttothis
e1fb285da7 Formatting
- Convert indents to tabs
- Remove unnecessary else statement
- Correct PHPDoc formatting
2023-04-27 21:54:10 -04:00
Steve Ireland
dfa50382cb Adjust the build config to allow building the CI4 branch. 2023-04-27 21:54:10 -04:00
objecttothis
493289d14a Removed vlucas\dotenv.
- The featureset is now built into CI4
https://codeigniter.com/user_guide/general/configuration.html?highlight=dotenv#environment-variables-and-codeigniter

"The loaded Environment variables are accessed using any of the following: getenv(), $_SERVER, or $_ENV"
2023-04-27 21:54:10 -04:00
objecttothis
5d3a8aa085 Bump dev dependencies 2023-04-27 21:54:10 -04:00
objecttothis
c774c1d636 Bump dependencies 2023-04-27 21:54:10 -04:00
objecttothis
f1054f31bd moved base scripts to a place that makes more sense 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