-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process add'l data on registration #911
base: main
Are you sure you want to change the base?
Commits on Sep 14, 2022
-
Updated registration endpoint for dbAuth to accomodate other posted registration data. Also added some new dbAuth properties 1. usernameMinLength : specify minimum length of username (5) 2. usernameMaxLength : specify maximum length of username (40) 3. usernamePattern : specify regex pattern for usernames ('/^[A-Za-z0-9]+$/') // defaults to alphanumeric chars only
Configuration menu - View commit details
-
Copy full SHA for 1ee817f - Browse repository at this point
Copy the full SHA 1ee817fView commit details
Commits on Sep 15, 2022
-
Formatted section on setting up JWT authentication to make the list more readable
Configuration menu - View commit details
-
Copy full SHA for 0f4e2b9 - Browse repository at this point
Copy the full SHA 0f4e2b9View commit details -
Merge pull request #1 from apps-caraga/apps-caraga-patch-2
Registration w/ addl data
Configuration menu - View commit details
-
Copy full SHA for 045819c - Browse repository at this point
Copy the full SHA 045819cView commit details
Commits on Sep 16, 2022
-
Updated readme (Add'l dbAuth properties)
Added the dbAuth properties for checking minimum and maximum length of username as well as allowed characters.
Configuration menu - View commit details
-
Copy full SHA for 57a761f - Browse repository at this point
Copy the full SHA 57a761fView commit details
Commits on Sep 17, 2022
-
Added workaround for duplicate key error
Since we're processing additional data during registration, we need to check if these data were defined in db to be unique. For example, email addresses are usually used just once in an application. We can query the database to check if the new email address is not yet registered, but, in some cases, we may more than 2 or 3 or more unique fields (not common, but possible), hence we would also need to query 2,3 or more times. As a TEMPORARY WORKAROUND, we'll just attempt to register the new user and wait for the db to throw a DUPLICATE KEY EXCEPTION.
Configuration menu - View commit details
-
Copy full SHA for d5c63a6 - Browse repository at this point
Copy the full SHA d5c63a6View commit details
Commits on Feb 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a447da - Browse repository at this point
Copy the full SHA 5a447daView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c86eaf3 - Browse repository at this point
Copy the full SHA c86eaf3View commit details -
Option to update session data via /me end-point
Changes $_SESSION['user']['updatedAt'] - set to time when the session was created/updated dbAuth.refreshSession - number of minutes after which the session data is refreshed when the /me end-point is called
Configuration menu - View commit details
-
Copy full SHA for 17e30fe - Browse repository at this point
Copy the full SHA 17e30feView commit details -
Merge pull request #2 from apps-caraga/apps-caraga-patch-2
Option to update session data via /me end-point
Configuration menu - View commit details
-
Copy full SHA for f7061de - Browse repository at this point
Copy the full SHA f7061deView commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 372e36f - Browse repository at this point
Copy the full SHA 372e36fView commit details
Commits on Apr 6, 2023
-
Changes $usernamePattern - defaults to /^\p{L}+$/u , visible characters, no punctuation or numbers, unicode mode $usernameMaxLength - defaults to 255 changed validation of other inputs from filter_validate() to htmlspecialchars() fixed typos missing and extra $
Configuration menu - View commit details
-
Copy full SHA for a72fd8d - Browse repository at this point
Copy the full SHA a72fd8dView commit details
Commits on Oct 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c20589 - Browse repository at this point
Copy the full SHA 2c20589View commit details