Commit Graph

489 Commits

Author SHA1 Message Date
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
1667a7669f Added back feature flag injection entry point logic as a comment 2025-10-01 11:54:36 -04:00
Alex Janousek
24a735ffc2 Refactored polling for status page 2025-10-01 10:58:44 -04:00
Alex Janousek
bc474c9206 Bugfix/polling improvements - Pointing polling to new backend endpoint designed for status only (#2949)
* Optimizing polling

* Fixed formatting issue

* Pointed new endpoint to new backend polling endpoint

* Missed a unit test update

* Fixed flake issue
2025-09-26 14:51:29 -04:00
Kenneth Kehl
5a6c74edb3 hardcode FEATURE_SOCKET_ENABLED to False 2025-09-24 15:03:34 -07:00
Kenneth Kehl
43f208c39b add debug statement 2025-09-24 13:56:11 -07:00
Beverly Nguyen
4a52d90a32 Feature Flag Enabled 2025-09-22 21:13:21 -07:00
Beverly Nguyen
a797e44874 remove dups 2025-08-25 17:42:38 -07:00
alexjanousekGSA
c04d8969f5 Fixed linting and build errors 2025-07-31 13:38:50 -04:00
alexjanousekGSA
611ada696f Security scan updates 2025-07-31 12:47:40 -04:00
alexjanousekGSA
55340dbc4b Updated based on scan results 2025-07-31 11:39:58 -04:00
Carlo Costino
f85efba737 Attempt to debug SSL cert validation error
This changeset introduces a few changes:

* Removes UK Notify Logo URL and config
* Removes UK Notify API URL and replaces with Notify.gov
* Improves the error handler for HTTPErrors to provide actual exception and stack trace information

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-07-29 17:33:13 -04:00
Kenneth Kehl
b5b0d23b7e revert truststore 2025-07-24 10:49:30 -07:00
Kenneth Kehl
6034dcdb12 try truststore 2025-07-22 11:01:20 -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
bde035187d isort 2025-06-25 14:32:54 -07:00
Beverly Nguyen
5007523d79 Improved job/activity list ordering and display. Jobs are now shown by most recent activity (processing started or created) 2025-06-25 13:25:01 -07:00
Kenneth Kehl
30093673d0 inline notifications-python-client 2025-06-10 11:40:14 -07:00
Beverly Nguyen
790fe2d6f9 update csp using variables and testing 2025-05-22 12:03:18 -07:00
Beverly Nguyen
cb2ad27d1c updating csp and test 2025-05-21 17:03:35 -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
Beverly Nguyen
ccdfd0c10e formating changes 2025-04-30 10:04:30 -07:00
Beverly Nguyen
0917ddaa23 replaced os.env with config 2025-04-30 10:03:17 -07:00
Beverly Nguyen
69ae1ea0e1 appending api hosted urls to append to csp to allow for connections 2025-04-29 11:59:52 -07:00
Beverly Nguyen
b468620ead appending api hosted urls to append to csp to allow for connections 2025-04-29 11:59:06 -07:00
Beverly Nguyen
6bfa9ede76 isort and remove poetry 2025-04-22 12:09:00 -07:00
Beverly Nguyen
57023b3a3a Merge branch 'main' into 2481-landing-page-standalone-without-api 2025-04-22 12:08:34 -07:00
Beverly Nguyen
431dbb10dd remove header banner when site is down 2025-04-21 16:26:07 -07:00
Carlo Costino
a3eeeb2b2c Make a few adjustments to match changes to the API:
* Updates the Makefile so make test works (removed js-lint action for now)
* Addresses some outstanding linting/formatting
* Updates dependencies and pulls in latest changes from main

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-04-16 17:45:32 -04:00
Beverly Nguyen
ca1e87a54b merge main 2025-04-11 13:34:32 -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
alexjanousekGSA
17a7080f46 Fixing unit tests 2025-04-10 15:10:07 -04:00
alexjanousekGSA
a962da9c7d Added existing csp header 2025-04-10 12:15:34 -04:00
alexjanousekGSA
3a468c77aa Fixed unit test 2025-04-10 08:20:47 -04:00
alexjanousekGSA
b5675e586e Fixed security issue and noscript iframe 2025-04-07 14:45:28 -04: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
alexjanousekGSA
9efe503353 Fixed linting issue 2025-03-20 14:32:44 -04:00
alexjanousekGSA
35f3203e9c Removed feature flag 2025-03-20 14:22:41 -04:00
Jonathan Bobel
43c0d6244a Addressing a test 2025-03-17 16:49:30 -04:00
Jonathan Bobel
bb0d9a25b7 Update __init__.py
Fixing import
2025-02-25 11:36:53 -05:00
Jonathan Bobel
dc1bff6d19 Update __init__.py
Moved the import statement
2025-02-25 11:14:15 -05:00
Jonathan Bobel
2bb318493a Fixing tests, adding dynamic slug 2025-02-24 16:11:42 -05:00
alexjanousekGSA
b6353c41e5 Removed best practices flag 2025-01-12 17:42:15 -05:00
Jonathan Bobel
1486680293 Updating new home page styles to use more from the USWDS, and make sure it's responsive and accessible 2024-12-13 12:37:11 -05:00
Beverly Nguyen
cf45313ad8 added youtube video to about page 2024-12-04 14:10:59 -08:00
alexjanousekGSA
2d0a53e97d Sorted init 2024-11-25 13:51:24 -05:00