Commit Graph
61 Commits
Author SHA1 Message Date
Alex Janousek 9e2dc55500 Updated activity chart to include additional day (#2862) 2025-08-25 17:45:14 -04:00
Alex Janousek 8d33f28b76 Refactored reports to use pregenerated docs instead (#2831)
* Refactored reports to use pregenerated docs instead

* Fixed e2e test

* Fixed anothr bug

* Cleanup

* Fixed timezone conversion

* Updated ref files

* Updated reference files, refreshed ui/ux for report generation. Buttons toggle on and off based on if report exists

* Fixed linting errors, removed pytz

* Fixed test failure

* e2e test fix

* Speeding up unit tests

* Removed python time library that was causing performance issues with unit tests

* Updated poetry lock

* Unit test improvements

* Made change that ken reccomended
2025-08-15 15:02:54 -04:00
Beverly Nguyen e9f6b93d85 enums part 2 2025-07-11 14:18:54 -07:00
Kenneth Kehl 91f3e6a557 fix static scan warnings 2025-04-01 08:00:33 -07:00
Beverly Nguyen 5d287d236e convert time to sort 2024-07-23 12:01:40 -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 c73be38c02 lock changes with merge 2024-04-11 09:01:26 -07:00
Beverly Nguyen 63bc85d8d4 added format_datetime_scheduled_notification to formatters and removed unneccesary format changes 2024-04-09 12:52:45 -07:00
samathad2023 e71989022d flask upgrade 2024-04-04 18:09:22 -07:00
Beverly Nguyen a2ab04018d fix imports 2024-03-28 18:05:12 -07:00
Beverly Nguyen 5854176ec8 add prase_dt function 2024-03-28 18:01:42 -07:00
Beverly Nguyen e9b9072ae6 updated datetimes based on style guide 2024-03-18 15:10:26 -07:00
Beverly Nguyen 10c9b86547 updating datetimes to match styleguides 2024-03-18 14:32:32 -07:00
Carlo Costino a5eb311f83 Merge pull request #1129 from GSA/1114-reviseexpand-on-recent-batch-table-on-the-dashboard-page
Revise/expand on "Recent Batch" table on the dashboard page.
2024-01-26 15:03:08 -05:00
Beverly Nguyen 45ffa70c3c fixing mocker patch for jobs 2024-01-26 09:43:41 -08:00
Beverly Nguyen 524a1e4687 updated download links and table html 2024-01-25 15:32:44 -08:00
Jonathan Bobel d9875ef287 Content updates for Pricing, Trial Mode, and various areas of changing "message parts" 2024-01-25 14:55:17 -05:00
Beverly Nguyen 65bccb3f95 changed time column 2024-01-23 16:18:43 -08:00
Jonathan Bobel c57e4b9355 Adding a template to create a User Story issue 2024-01-11 12:43:49 -05:00
Anastasia Gradova d1b71838e1 style update 2024-01-03 22:13:04 -07:00
Anastasia Gradova 7a1d9cf705 built new beautifulsoup function to apply
html tags to markdown file once processed
with test cases.
2024-01-03 22:01:07 -07:00
Anastasia Gradova 7af656e9f9 registered convert_markdown formatter in __init__. 2023-12-27 12:59:45 -07:00
Anastasia Gradova a5ec03302e Built py.test cases for convert_markdown_template 2023-12-26 22:04:06 -07:00
Anastasia Gradova 5d91fb6838 fixed isort issue 2023-12-22 10:21:42 -07:00
Anastasia Gradova ed6471be61 corrected build errors 2023-12-22 10:13:18 -07:00
Anastasia Gradova 0989246334 Moved convert_markdown_template to formatters 2023-12-22 10:03:43 -07:00
Kenneth Kehl 2bd38182d2 code review feedback 2023-11-21 13:40:00 -08:00
Kenneth Kehl 36987e7202 notify-api-861 show eastern time 2023-11-16 12:24:27 -08: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
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
Andrew ShumwayandAndrew Shumway 34fef6954c Added UTC to formatter return strings and appropriate tests (#617)
Co-authored-by: Andrew Shumway <ashumway@flexion.us>
2023-07-27 11:22:05 -04:00
Kenneth Kehl 7168309fbb fix all tests 2023-06-26 14:07:28 -07:00
Kenneth Kehl ed274bd266 notify-542: move to 24 hour time for UTC 2023-06-26 08:42:04 -07: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 Costinoandstvnrlly 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 68e94dd650 Addressing most of the low-lift items from the Notify content audit (#491) 2023-05-08 10:49:30 -04:00
stvnrlly 89613c7d71 simplify formatter 2022-12-12 15:29:04 -05:00
stvnrlly 944715ac46 big commit with letters removal 2022-12-05 15:33:44 -05:00
Ryan Ahearn dd90d82942 Use naive datetimes for format_delta math 2022-11-30 16:42:42 -05:00
stvnrlly a0ade73846 getting human time math more correct 2022-11-29 22:07:32 -05:00
stvnrlly 293b3e2609 cleanup 2022-11-28 20:48:25 -05:00
stvnrlly d45cbb2c86 util for naive dt parsing 2022-11-28 20:40:53 -05:00
stvnrlly 86b28e5e44 some test updates 2022-11-22 16:33:55 -05:00
stvnrlly 46723b6c11 initial timezone pass, which breaks many tests 2022-11-22 12:00:29 -05:00
stvnrlly 218eb3559f Merge branch 'main' into stvnrlly-remove-broadcasts 2022-10-26 01:27:44 +00:00
stvnrlly 067b4b3742 swap dollar symbols for pound symbols 2022-10-12 20:16:22 +00:00
stvnrlly f16b5dd1c4 remove broadcast-related code 2022-10-04 03:04:13 +00:00
Chris Hill-ScottandBen Thorner ff46f9beb8 Remove default from format_auth_type
I think it’s better to raise an exception and force us to fix it if we ever add a new auth_type, or use this formatter on something that isn’t a valid auth_type.

Co-authored-by: Ben Thorner <benthorner@users.noreply.github.com>
2022-03-15 10:40:10 +00:00
Chris Hill-Scott 9a1a328aca Format auth_type in a consistent way in the UI
On the ‘find user’ page it says ‘sms_auth’ instead of ‘Text message
code’.

This commit fixes that, and adds a handy formatter so it’s easier to do
the right thing in the future.
2022-03-14 14:55:31 +00:00