-
Notifications
You must be signed in to change notification settings - Fork 173
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
[users] Add 'request account date' to users #6191
Conversation
@ridz1208 @PapillonMcGill could you review this PR? I'll update the RB dataset after approval that the database changes are fine with you :). Thanks! |
|
||
-- determine the account_request_date based on what is present in the history | ||
-- table for when the user was inserted the first time in the history table | ||
UPDATE users u, history h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ridz1208 is the assumption that all past users requested an account and therefore the date could be derived from the history table correct?
This was the case for Open PREVENT-AD but it might not necessarily be the case for all....
In the end, there is no need for raisin bread changes in this issue since the only user is admin and it does not have any request date associated to it. Therefore, I removed the RB labels. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed manually testing for me.
CHANGELOG.md
Outdated
@@ -16,6 +16,8 @@ changes in the following format: PR #1234*** | |||
- Very old instruments relying on QuickForm may have issues due to code changes (PR #4928) | |||
- Unix user permissions have been updated which may affect access to files. New | |||
documentation for file permissions has been added to the README.md file (PR #5323) | |||
- Addition of a new `account_request_date` in `users` table that will be used when | |||
requesting a new account and will be displayed in the User Accounts module (PR #6191) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in the wrong section of the CHANGELOG. It's not going into the 23.0 release..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooooooooh, oupsie...
@driusan should be fixed in the last commit. Sorry about that...
@cmadjar can you rebase this? |
modifies the requestaccount class modified menu filter and user account page to include the new date field update the CHANGELOG phpcs modified UserTest to add the new column
4ffcc32
to
a740397
Compare
Fascinating. I did not even remember sending that, lol |
@cmadjar the changelog conflict wasn't resolved correctly.. it should be in the 24.0 part of the changelog, not the 23. |
CHANGELOG.md
Outdated
@@ -43,6 +45,7 @@ Quality Control, and Behavioural Quality Control. (PR #6041) | |||
database (PR #5260) | |||
- New documentation for file permissions has been added to the README.md file. (PR #5323) | |||
- Dashboard study progression section performance improvement (PR #5887) | |||
documentation for file permissions has been added to the README.md file (PR #5323) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this line is supposed to be here.. it's a duplicate of 2 lines above it (but the formating is also messed u..)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch! I removed the line. Sorry about that...
This adds a new account_request_date field to the users table to register information about when a given user requested an account.
This adds a new account_request_date field to the users table to register information about when a given user requested an account.
This adds a new account_request_date field to the users table to register information about when a given user requested an account.
Brief summary of changes
This adds a new
account_request_date
field to theusers
table to register information about when a given user requested an account.Testing instructions
Link(s) to related issue(s)