Commit Graph

740 Commits

Author SHA1 Message Date
Kenneth Kehl
55f1939fd5 don't allow commas in placeholder fields 2024-07-24 13:56:32 -07:00
Carlo Costino
9a83ba7475 Localize notification_utils to the admin
This changeset pulls in all of the notification_utils code directly into the admin and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the admin.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:37:37 -04:00
samathad2023
e71989022d flask upgrade 2024-04-04 18:09:22 -07:00
Kenneth Kehl
c053cc7402 change timezone to hidden field with default for now 2024-03-19 13:30:50 -07:00
Kenneth Kehl
197ef11075 fix tests 2024-03-19 11:32:36 -07:00
Kenneth Kehl
4e6f143675 fix register from join service 2024-03-19 09:30:20 -07:00
Kenneth Kehl
68163aa6d7 Use USWDS error formatting for file too big error (notify-admin-1237) 2024-03-06 11:49:19 -08:00
Kenneth Kehl
8661a22353 fix date format in batch review (notify-admin-1171) 2024-02-29 08:24:53 -08:00
Carlo Costino
ddf017707f Merge pull request #1197 from GSA/notify-admin-1194
make ChooseTimeForm time zone aware
2024-02-14 17:48:52 -05:00
Jonathan Bobel
7832797628 Just removing the default selection 2024-02-08 15:10:07 -05:00
Jonathan Bobel
fb469545b4 1154 - pushing up this change so Ken can take a look 2024-02-08 12:09:01 -05:00
Kenneth Kehl
330fad469e make ChooseTimeForm time zone aware 2024-02-07 12:14:00 -08:00
Kenneth Kehl
f43fd3e21f add missing timezones 2024-01-08 10:13:26 -08:00
Kenneth Kehl
07de703491 notify-admin-1049 2024-01-08 08:25:11 -08:00
stvnrlly
378717571b remove unused support forms/pages & unused go-live form 2023-12-20 10:44:38 -05:00
stvnrlly
09d11c0308 remove unused textarea component 2023-12-18 21:48:58 -05:00
stvnrlly
f600dd95d6 remove email branding 2023-12-18 16:10:12 -05:00
Steven Reilly
9cd2486942 Merge pull request #982 from GSA/notify-871
Notify 871
2023-12-12 17:08:14 -05:00
Kenneth Kehl
d218fd2178 notify-admin-529 remove provider view 2023-12-06 13:40:15 -08:00
Andrew Shumway
97a8c04928 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-871 2023-12-06 12:26:51 -07:00
Andrew Shumway
9c658bf020 Fix verbage on front end to better reflect functionality 2023-12-06 12:26:33 -07:00
Kenneth Kehl
cee2552706 notify-admin-931 2023-12-04 14:52:48 -08:00
Carlo Costino
86fbaee27d Adjust positional arguments flagged by flake8-bugbear
The new release of flake8-bugbear is starting to flag positional argument unpacking that comes after keyword arguments in function calls as a style warning that fails.  This is a good thing to catch because it can lead to unexpected side effects with function arguments and/or errors thrown by Python.

See the following links for more details:

- https://stackoverflow.com/questions/58961715/python-value-unpacking-order-in-method-parameters
- https://github.com/python/cpython/issues/82741

This changeset fixes a couple of instances where the positional argument unpacking was happening after keyword arguments were being provided.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-29 09:39:44 -05:00
Kenneth Kehl
425f8eb742 code review feedback 2023-11-22 08:09:28 -08:00
Kenneth Kehl
36987e7202 notify-api-861 show eastern time 2023-11-16 12:24:27 -08:00
Jonathan Bobel
d6205bc1ff 835 - Change "new template" wording 2023-10-03 11:14:21 -04:00
Jonathan Bobel
3cee5302e4 Changes to the forms file 2023-08-28 12:29:25 -04:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
Kenneth Kehl
c6eb007386 merge from main 2023-08-25 08:57:24 -07:00
Jonathan Bobel
a4fc40bcba Renamed components folder, put failing tests back in to get some assistance with those 2023-08-22 12:40:53 -04:00
Jonathan Bobel
51fde90f79 A few clean-up items in the Platform Admin section 2023-08-18 11:30:30 -04:00
Jonathan Bobel
a574fc7b3a Working through the Platform Admin section 2023-08-17 15:13:26 -04:00
Jonathan Bobel
d66ff27bae Merge branch 'main' of https://github.com/GSA/notifications-admin into 686-remove-uk-styles
# Conflicts:
#	app/assets/stylesheets/main.scss
#	app/templates/views/find-users/user-information.html
#	app/templates/views/two-factor-webauthn.html
#	app/templates/views/user-profile/manage-security-key.html
#	app/templates/views/user-profile/security-keys.html
#	gulpfile.js
2023-08-15 13:29:39 -04:00
Carlo Costino
9e609efa1c Remove webauthn hooks
This changeset removes webauthn from the Notify.gov admin app.  We are not using webauthn at all in our implementation and will be looking at an entirely different authentication system in the near future.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-14 16:59:38 -04:00
Jonathan Bobel
348e29fb40 - Removed links to the gov uk stylesheets
- Deleted /stylesheets folder
- Removed sass build from gulpfile
- Changed gov links to usa links
- Changed other govuk styles, like breadcrumbs
- Changed name of uk_components file to us_components
- Fixed a few tests that broke on account of the changes
2023-08-08 16:19:17 -04:00
Steven Reilly
13d0e46b52 blunt rename of org (#620) 2023-07-12 12:09:44 -04:00
Kenneth Kehl
88b033616b Merge pull request #561 from GSA/notify-552
notify-552 remove option to use priority queue from UI
2023-06-28 13:46:55 -07:00
Kenneth Kehl
aa0f15c1b2 notify-552 remove option to use priority queue from UI 2023-06-20 08:37:56 -07:00
Jonathan Bobel
f266084ddb Test passed, good time to commit 2023-06-16 14:55:24 -04:00
Carlo Costino
63a97b9780 Remove PY_TIMEZONE references (#547)
This changeset removes the PY_TIMEZONE configuration variable and updates all references to it to refer directly to pytz.utc instead.  It also cleans up a few of the import statements and removes those that are no longer needed (like the current_app reference from Flask).

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-06-12 17:00:20 -04:00
Carlo Costino
92d25f5a69 Convert frontend display to be just UTC (#540)
This changeset converts the display of dates and times to be just UTC to match the recent changes in the backend.  This unwinds a bit of work that was done previously and allows us to start with a clean slate in how we want to approach displaying dates and times going forward. It also adds a bit of explanatory text to help users.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
2023-06-12 15:49:48 -04:00
Jonathan Bobel
e0d2d74067 Update dashboard and template flow (#514)
* Updated header and footer
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Updated fonts
* Adjusted grid templating
* Adding images to assets
* Updated account pages, dashboard, and pages in message sending flow
* Updated the styling for the landing pages in the account section once logged in
2023-06-08 13:12:00 -04:00
Kenneth Kehl
54abfb3a4d remove components related to MOU and agreement (#476)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-04-28 14:08:12 -04:00
Ryan Ahearn
4fc95a4e28 Update utils for improved logging 2023-04-26 15:31:06 -04:00
Kenneth Kehl
65ea248429 #446 remove crown 2023-04-13 07:13:04 -07:00
Ryan Ahearn
d9f1ee5af6 Expect sms 2nd factor codes to be 6 digits 2023-02-17 11:53:44 -05:00
Ryan Ahearn
2ad21a6f4f Replace UK phone numbers in tests with US numbers 2023-01-06 11:19:56 -05:00
stvnrlly
59d4f09d01 a few more organisation edits 2023-01-05 21:33:15 -05:00
stvnrlly
b00fea05bc updates to correct test failures 2023-01-05 14:35:37 -05:00
Tim Lowden
f8daea1879 Updating for US English
Words found:
personalis*
customis*
organis*
colour
behaviour
2022-12-20 09:44:33 -05:00