Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
e508ab86cd Typos and correcting variable 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
8dd0f41ba6 fixed menu image file references 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
Steve Ireland
dfa50382cb Adjust the build config to allow building the CI4 branch. 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
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
70f49ace6f Fixed migration version check
- Login now checks the current db version against the latest migration available and displays the migration update message before login.
2023-04-27 21:54:09 -04:00
objecttothis
6a9b3342d5 Corrected formatting of login.php view 2023-04-27 21:54:09 -04:00
objecttothis
2a7ce12de4 Converted space indentation to tab 2023-04-27 21:54:09 -04:00
objecttothis
fa1f4af420 Login functionality
- temporarily removed return type from index while troubleshooting.
- load form helper in view
2023-04-27 21:54:09 -04:00
objecttothis
80cabb5f71 Convert $this->load->vars() to CI4
- create placeholder view.
- Change call to $this->load->vars() to instead call the empty view with our view data
2023-04-27 21:54:09 -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
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
bdbc86060e Upgrade to CI 4.2.10 2023-04-27 21:53:49 -04:00
objecttothis
f4902002b9 Bugfixes
- Commenting out non-working portions of migrations
- Fixing company_logo location
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
92f62c9391 Load OSPOS app settings to variable
- Refactor references to OSPOS configuration
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
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
774859ab1a Porting over 6f8b877 2023-04-27 21:53:02 -04:00
jekkos
ace7c2b131 Apply changes from master 2023-04-27 21:53:02 -04:00
objecttothis
e29bcb72d9 Porting over 986ab7e
- Also deleted files that shouldn't be there.
2023-04-27 21:52:54 -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