Commit Graph

30 Commits

Author SHA1 Message Date
Alex Janousek
6f5750f095 Removed all govuk css (#2814)
* Removed all govuk css

* Updated reference files

* Removing govuk js

* Fixed casing for modules, removed unused page

* Got more reference images

* Updated template page

* Removed govuk padding util

* Updated hint to uswds hint

* More govuk cleanup

* Commiting backstopjs ref files

* Fixed all unit tests that broke due to brittleness around govuk styling

* Added new ref images

* Final removal of govuk

* Officially removed all govuk references

* Updated reference file

* Updated link to button

* UI modernization

* Cleanup

* removed govuk escaping tests since they are no longer needed

* Fix CodeQL security issue in escapeElementName function

- Escape backslashes first before other special characters
- Prevents potential double-escaping vulnerability
- Addresses CodeQL alert about improper string escaping

* Found more govuk removal. Fixed unit tests

* Add missing pipeline check to pre-commit

* updated test

* Updated e2e test

* More update to e2e test

* Fixed another e2e test

* Simple PR comments addressed

* More updates

* Updated backstop ref files

* Refactored folder selection for non-admins

* Updated redundant line

* Updated tests to include correct mocks

* Added more ref files

* Addressing carlos comments

* Addressing Carlo comments, cleanup of window initing

* More cleanup and addressing carlo comments

* Fixing a11 scan

* Fixed a few issues with javascript

* Fixed for pr

* Fixing e2e tests

* Tweaking e2e test

* Added more ref files and cleaned up urls.js

* Fixed bug with creating new template

* Removed brittle test - addressed code ql comment

* e2e race condition fix

* More e2e test fixes

* Updated e2e tests to not wait for text sent

* Updated test to not wait for button click response

* Made tear down more resilent if staging is down

* reverted e2e test to what was working before main merge

* Updated backstopRef images

* Updated gulp to include job-polling differently
2025-10-06 09:38:54 -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
alexjanousekGSA
c90f0fb36e Migrate govuk-visually-hidden to usa-sr-only in letter template 2025-07-22 12:52:15 -04:00
alexjanousekGSA
3f58647dc9 Replace govuk link with usa-link and tested 2025-07-01 12:41:07 -04:00
alexjanousekGSA
566228d051 Updated unit test 2025-05-02 11:08:56 -04:00
Kenneth Kehl
f3c3a60875 merge from main and fix test 2025-04-09 14:18:24 -07:00
Kenneth Kehl
ef779daec1 reenable intl numbers 2025-04-03 07:44:21 -07:00
Kenneth Kehl
e419d843a6 merge from main 2025-03-31 09:24:10 -07:00
Kenneth Kehl
7cd8be22f6 fix 2025-03-31 08:45:33 -07:00
Kenneth Kehl
5741c572f0 some fixes 2025-03-27 14:47:43 -07:00
Kenneth Kehl
94b791c869 more 2025-03-26 13:34:23 -07:00
Kenneth Kehl
0108bcf91f upgrade mistune to 3.1.3 2025-03-26 09:16:07 -07:00
Jonathan Bobel
fe098eca22 1134 - Changing all instances of the word "brackets" to "parenthesis" 2025-03-20 10:29:29 -04:00
Kenneth Kehl
8489fb9e61 update flake8-pytest-style-plugin 2024-07-15 08:07:18 -07:00
Kenneth Kehl
16ad4a6c0c revamp PII masking 2024-06-17 11:13:03 -07:00
Kenneth Kehl
c3ae47e7f9 merge from main 2024-06-14 12:50:15 -07:00
Kenneth Kehl
4e8e1acb5b fix email masking algorithm 2024-06-13 10:17:47 -07:00
Kenneth Kehl
096658ab75 Need magic PII-free debugging method for Admin 2024-06-11 13:24:05 -07:00
Kenneth Kehl
da96edbfcd fix set and get in redis_client 2024-06-07 09:07:42 -07:00
Kenneth Kehl
63bd660403 code review feedback 2024-06-07 08:03:43 -07:00
Carlo Costino
5fa2e77a71 Merge pull request #1570 from GSA/notify-admin-1041
use moto to mock s3
2024-05-31 16:12:06 -04:00
Kenneth Kehl
17fec1c99e use moto to mock s3 2024-05-28 11:27:57 -07:00
Kenneth Kehl
d045ecfa21 remove easy targets 2024-05-20 10:45:34 -07:00
Carlo Costino
aa175aa4be Removing empty test file.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-17 17:15:33 -04:00
Kenneth Kehl
33d402f9b9 noqa the last one 2024-05-17 12:36:42 -07:00
Kenneth Kehl
ec6bdee427 almost done 2024-05-17 11:05:22 -07:00
Kenneth Kehl
1b172553f5 more fixes 2024-05-17 10:25:09 -07:00
Kenneth Kehl
7302e4c811 more fixes 2024-05-17 08:52:23 -07:00
Kenneth Kehl
dcfc78d805 some fixes 2024-05-16 15:13:45 -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