Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
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
8dd0f41ba6 fixed menu image file references 2023-04-27 21:54:10 -04:00
objecttothis
17f4a684a3 Fixed getUri Segment bug 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
936ccb93bf Bug Fixes
- Properly reference Cookie and Security settings values.
- Instantiate IncomingRequest Instance in view.
- Added return value of Login::index().
- Added missing return statement to Secure_Controller::is_logged_in()
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
63162b97fe Upgrade to CodeIgniter 4.1.3 2023-04-27 21:52:54 -04:00