-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add a global admin notice that appears once * remove seconds from the notice * test the new notice * set dismissable depending on which notice we're showing * show the max age rank html comment * fix the conditionals for cs * update behat tests for new notice language * bugfix: don't update user meta that max_age was updated if it hasn't been * add one more thing to test in behat * add a test for the error, specifically * add a test for the warning * simplify the conditionals * lint * specify the pages that we're on? * remove specific element * fix typo * take out the dashboard main page goto * validate the setting was saved * let's just remove the 5 days notice * just remove the test we have similar things being tested in phpunit * we can actually remove current_max_age >= WEEK_IN_SECONDS this is covered by max_age_rank. if max_age_rank is 0 it, by definition, means that the current max age is >= WEEK_IN_SECONDS * if we're only comparing two things, we don't need to break the if clauses up * we do want to warn users if they have manually set their max age to 600 we just don't want to warn them if we're about to (or just did) change it to a week for them
- Loading branch information
1 parent
f1cfb46
commit 8806d95
Showing
3 changed files
with
69 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters