Commit Graph

276 Commits

Author SHA1 Message Date
Beverly Nguyen
9efc3b36b3 removing view_notifications from other templates 2025-10-09 17:57:59 -07:00
Beverly Nguyen
a013f30600 remove view_notifications unsed code 2025-10-08 16:37:42 -07:00
Beverly Nguyen
b83416d281 Fix "Data available for X days" text disappearing on job details page 2025-10-07 13:33:25 -07:00
Beverly Nguyen
705952cc30 Remove Socket.IO dependencies and Socket infrastructure
- Remove socket.io-client npm package
- Remove Socket.IO from gulpfile.js
- Remove API_PUBLIC_WS_URL config variable from all environments
- Remove Socket CSP directives (cdn.socket.io, wss:// URLs)
- Remove unused data-host attribute from job template
- Update test_headers.py to remove Socket.IO assertions
- Update deployment configs (manifest.yml, deploy-config/*.yml, .github/workflows/*.yml)
2025-10-07 10:44:45 -07:00
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
a4e1cc0d38 Removing csp console error (#2963)
* Removing csp console error

* Fixed activity page console error as well
2025-10-01 16:50:35 -07:00
Alex Janousek
35590fed0f Little bit of cleanup 2025-10-01 11:13:44 -04:00
Alex Janousek
24a735ffc2 Refactored polling for status page 2025-10-01 10:58:44 -04:00
Alex Janousek
96c9bc3e5e More linting and changed default var to false for polling 2025-09-26 16:54:35 -04:00
Alex Janousek
ef8914fbcd Disabled new endpoint as well 2025-09-26 16:26:48 -04:00
Alex Janousek
2ba2ba6f86 Fixed merge conflicts from main 2025-09-26 14:12:25 -04:00
Alex Janousek
e552d95702 Pointed new endpoint to new backend polling endpoint 2025-09-26 14:02:11 -04:00
Alex Janousek
a40c8861bf Optimizing polling (#2946)
* Optimizing polling

* Fixed formatting issue
2025-09-26 06:57:18 -04:00
Alex Janousek
557d85f57d Optimizing polling 2025-09-25 16:26:00 -04:00
Beverly Nguyen
d8424e954d Add missing 'finished' field 2025-09-22 12:13:15 -07:00
Beverly Nguyen
e5885f674b Fixed pagination logic to prevent infinite next button 2025-07-29 10:25:43 -07:00
Beverly Nguyen
e828f78853 fixing pagination and download links along with tests 2025-07-28 17:04:53 -07:00
Beverly Nguyen
1ac907d359 update test 2025-07-22 11:12:26 -07:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -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
9d9fa1c394 removed .value because we have StrEnum 2025-07-04 17:30:30 -07:00
Beverly Nguyen
b73b4ac73e PART 1: Created and implemented enums throughout the codebase to replace hardcoded status strings, improving type safety and reducing the risk of typos. 2025-07-04 16:37:04 -07:00
Beverly Nguyen
3c1574d070 Add API_PUBLIC_URL environment variable for public API access
- Added API_PUBLIC_URL to deploy-config and manifest.yml
- Updated app config to load API_PUBLIC_URL from environment
- Used API_PUBLIC_URL in CSP configuration for connect-src
2025-05-19 14:41:41 -07:00
alexjanousekGSA
eff92773cc e2e tests pass locally 2025-05-02 10:43:07 -04:00
Beverly Nguyen
3328853bd0 Fix connection url 2025-04-21 15:56:19 -07:00
Beverly Nguyen
f8eb512aab isort and flake8 2025-04-10 12:38:41 -07:00
Beverly Nguyen
6dd44fdc2d added feature flag 2025-04-10 12:35:04 -07:00
Beverly Nguyen
d8ca53e08b clean up 2025-04-09 17:17:01 -07:00
Beverly Nguyen
2ca7f5d2b0 Merge branch 'main' into 2401-add-in-flask-socketio-for-api-calls-rather-than-using-ajax 2025-04-03 15:30:02 -07:00
Kenneth Kehl
91f3e6a557 fix static scan warnings 2025-04-01 08:00:33 -07:00
Beverly Nguyen
21980d2bdf flake8 and isort 2025-03-27 09:50:17 -07:00
Beverly Nguyen
f246cc7c51 cleaned up init 2025-03-26 14:54:26 -07:00
Beverly Nguyen
e0e8c56a61 install socket io and getting an example up 2025-03-26 12:54:21 -07:00
Kenneth Kehl
adf9c61002 clean log messages 2025-01-29 10:45:14 -08:00
Beverly Nguyen
2ab7244beb fix test and arrival session 2025-01-21 10:46:30 -08:00
Beverly Nguyen
f91af94001 removed comments 2025-01-20 16:00:21 -08:00
Beverly Nguyen
9942ecf53e ajax applied to status 2025-01-17 16:30:59 -08:00
Beverly Nguyen
ae083f4b52 update banner with different status states 2025-01-15 17:08:21 -08:00
Kenneth Kehl
6be474ee7d fix pending on dashboard 2024-07-12 12:36:56 -07:00
Andrew Shumway
a9e4df0591 Todays data is only todays 2024-06-24 10:44:19 -06:00
Andrew Shumway
a401562735 Add report options 1/3/5-day 2024-06-10 10:15:22 -06: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
Beverly Nguyen
e743ab41ff merge main and fixed conflicts 2024-03-26 10:53:01 -07:00
Beverly Nguyen
e9b9072ae6 updated datetimes based on style guide 2024-03-18 15:10:26 -07:00
Beverly Nguyen
02ee1a81d1 Merge branch 'main' into 1210-create-confirmation-status-page-the-last-page-in-the-preview-send-flow 2024-03-14 15:07:20 -07:00
Kenneth Kehl
2be3db10d9 fix the right way 2024-03-07 10:25:11 -08:00
Kenneth Kehl
b3966ae800 revert previous commit 2024-03-07 10:17:37 -08:00