Commit Graph

5953 Commits

Author SHA1 Message Date
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
objecttothis
dd3123151e Updated the CI4 migrations conversion script
- This is not its final form but it contains the CI4 version table create and all the inserts needed to bring a 3.0.2-3.3.8 existing instance onboard without re-running any migrations.
2023-04-27 21:54:10 -04:00
objecttothis
86395a69d9 Moved pre-automated migrations scripts
These scripts are prior to 3.0.2 when automated migrations did not exist.
2023-04-27 21:54:10 -04:00
objecttothis
62b47a53ab Migrations fixes
- Revert tables.sql and constraints.sql to 3.0.2 version.

This change fixes a problem where the first three migrations fail because the database schema was frozen at 3.2.0 and looks different. The result is the same but no failing migrations
2023-04-27 21:54:10 -04:00
objecttothis
1a0e5b916a 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
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
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
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
bbb8703312 Added .editorconfig
This will make it easier to enforce basic code styles on the project
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
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
0fad576550 Correct redirect() calls to CI4 format 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
04a08f29d4 Migrations changes
- Added migration script for change to session table.
- Corrected URL for location of scripts in old migrations since that has changed.
2023-04-27 21:54:09 -04:00
objecttothis
2fe2a3d3fb Added missing file and updated composer.lock 2023-04-27 21:54:09 -04:00