Commit Graph

115 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
a40c8861bf Optimizing polling (#2946)
* Optimizing polling

* Fixed formatting issue
2025-09-26 06:57:18 -04:00
Alex Janousek
8057c7f8dc Consolidating code ql findings (#2920)
* Consolidating code ql findings

* Added ref files for backstop to set baseline for removing custom js file

* Potential fix for code scanning alert no. 32: URL redirection from remote source

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Removed unused large file

* Fixed import order

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-18 16:42:39 -04:00
Alex Janousek
c6da0448fa Fixed disable button, formated time to include time zone (#2850) 2025-08-21 07:05:41 -07: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
31a9e39846 Formatting and linting changes 2025-07-31 07:49:12 -04:00
Beverly Nguyen
afaae0a695 Merge branch 'main' into 2721-create-enums-and-replace-hardcoded-status-strings-with-enums-PART5 2025-07-22 12:55:45 -07:00
Beverly Nguyen
1ac907d359 update test 2025-07-22 11:12:26 -07:00
Beverly Nguyen
32ca1abe9b servicepermission enum part 5 2025-07-21 16:37:55 -07:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -07:00
Beverly Nguyen
a0d67d2a9c update test to reflect enum in servicepermission 2025-07-17 01:00:00 -07:00
Beverly Nguyen
126188cea1 added manage_templates to enum 2025-07-16 22:30:48 -07:00
Beverly Nguyen
28f09674df Merge branch 'main' into 2721-create-enums-and-replace-hardcoded-status-strings-with-enums-3 2025-07-16 17:21:15 -07:00
Beverly Nguyen
1bf55e7fa3 Replace send_messages and manage_service strings across application with ServicePermission.SEND_MESSAGES and ServicePermission.MANAGE_SERVICE types 2025-07-15 23:56:58 -07:00
Beverly Nguyen
e9f6b93d85 enums part 2 2025-07-11 14:18:54 -07:00
Beverly Nguyen
3130b1399c isort . 2025-07-04 17:52:03 -07:00
Kenneth Kehl
526402a7f4 revert api health changes 2025-06-09 09:17:12 -07:00
Kenneth Kehl
a9ff570a53 fix api health 2025-06-06 11:29:37 -07:00
Kenneth Kehl
9c55f5035c fix api health 2025-06-06 11:22:29 -07:00
Kenneth Kehl
3c63a345c9 fix api health 2025-06-06 11:18:47 -07:00
Kenneth Kehl
c5613954a0 fix api health 2025-06-06 11:03:43 -07:00
Kenneth Kehl
87489c8e55 fix api health 2025-06-06 10:54:25 -07:00
Kenneth Kehl
8c1c9e877d fix api health 2025-06-06 10:47:38 -07:00
alexjanousekGSA
eff92773cc e2e tests pass locally 2025-05-02 10:43:07 -04:00
Beverly Nguyen
6bfa9ede76 isort and remove poetry 2025-04-22 12:09:00 -07:00
Beverly Nguyen
431dbb10dd remove header banner when site is down 2025-04-21 16:26:07 -07:00
Beverly Nguyen
b4e239c9bb creating error page for tech difficulties 2025-04-17 15:01:22 -07:00
Kenneth Kehl
91f3e6a557 fix static scan warnings 2025-04-01 08:00:33 -07:00
Kenneth Kehl
1eb12b93f1 fix runaway report generation 2025-02-21 09:22:29 -08:00
Kenneth Kehl
8f30064f50 add carrier column to reports 2024-11-21 15:08:49 -08:00
Carlo Costino
a715b33fd0 Merge pull request #2053 from GSA/notify-admin-2037
remove permission to manage API integration
2024-10-24 09:49:21 -04:00
Cliff Hill
82cef7dbd3 Nonce stuff added.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:33 -04:00
Kenneth Kehl
7db678ddec remove permsision to manage API integration 2024-10-21 12:27:44 -07:00
Jonathan Bobel
65c99bf8e8 Removing instances of a financial year 2024-10-08 16:12:50 -04:00
Beverly Nguyen
8461c6156b created testing for activity page 2024-07-25 17:09:17 -07:00
Beverly Nguyen
a8ce0be98b test_nav 2024-07-25 11:59:42 -07:00
Beverly Nguyen
febd037bed created new activity page 2024-07-18 15:57:29 -07:00
Kenneth Kehl
16ad4a6c0c revamp PII masking 2024-06-17 11:13:03 -07:00
Kenneth Kehl
096658ab75 Need magic PII-free debugging method for Admin 2024-06-11 13:24:05 -07:00
Kenneth Kehl
83f5b6f0ab add comment 2024-06-06 10:43:41 -07:00
Kenneth Kehl
82690d6e3d add debug for user issue 2024-06-06 09:34:49 -07:00
Kenneth Kehl
622255e5a6 merges 2024-05-20 13:19:14 -07:00
Kenneth Kehl
9ba5e3b917 code review feedback 2024-05-20 12:09:49 -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
Kenneth Kehl
85ddd494b3 remove debug statement 2024-05-09 07:33:26 -07:00
Andrew Shumway
3f2dcc3022 Merge main fix conflicts 2024-04-15 10:45:23 -06:00
Beverly Nguyen
63bc85d8d4 added format_datetime_scheduled_notification to formatters and removed unneccesary format changes 2024-04-09 12:52:45 -07:00
Carlo Costino
de0aed60f9 Merge pull request #1375 from GSA/1373-bug-single-job---preview-does-not-display-variable-information
Bug: Single Job - Preview does not display variable information
2024-04-08 17:44:59 -04:00
Beverly Nguyen
acdd2806fc added force_hide_sender 2024-04-01 18:03:38 -07:00
Beverly Nguyen
5854176ec8 add prase_dt function 2024-03-28 18:01:42 -07:00