Commit Graph

13 Commits

Author SHA1 Message Date
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
Jonathan Bobel
65c99bf8e8 Removing instances of a financial year 2024-10-08 16:12:50 -04:00
Andrew Shumway
6999d72f76 Fix dashboard bug/usage page 2024-02-07 09:38:18 -07:00
Carlo Costino
4571a8bd15 Apply suggestions from code review
Updating variable name from et to preferred_tz
2023-11-22 13:06:04 -05: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
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
stvnrlly
f49e2a9e6e more gray for dashboard 2022-12-01 10:18:12 -05:00
stvnrlly
8990cc822c styling fixes 2022-11-29 12:18:07 -05:00
stvnrlly
446694d1cc put timezone dt in config 2022-11-29 10:58:59 -05:00
stvnrlly
d45cbb2c86 util for naive dt parsing 2022-11-28 20:40:53 -05:00
stvnrlly
46723b6c11 initial timezone pass, which breaks many tests 2022-11-22 12:00:29 -05:00
Ben Thorner
c17d438de8 DRY-up email revalidation check
Previously this was duplicated between the "two_factor" and the
"webauthn" views, and required more test setup. This DRYs up the
check and tests it once, using mocks to simplify the view tests.

As part of DRYing up the check into a util module, I've also moved
the "is_less_than_days_ago" function it uses.
2021-06-14 12:52:54 +01:00