Commit Graph

4885 Commits

Author SHA1 Message Date
ccostino
fe5428efe8 Merge pull request #2984 from GSA/remove-socketio
Remove Socket.IO dependencies and Socket infrastructure
2025-10-07 14:06:54 -04: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
f647b09ac2 Updates for govuk pr followup 2025-10-07 12:29:08 -04: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
576fbad4bc Linting fixes 2025-10-01 11:25:11 -04:00
Alex Janousek
24a735ffc2 Refactored polling for status page 2025-10-01 10:58:44 -04:00
Alex Janousek
50ed613ebf Test updates 2025-09-26 17:42:01 -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
80065c8200 Fixed flake issue 2025-09-26 14:40:31 -04:00
Alex Janousek
7f270879d6 Missed a unit test update 2025-09-26 14:36:50 -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
4f92b19084 Fixed formatting issue 2025-09-25 16:59:00 -04:00
Alex Janousek
557d85f57d Optimizing polling 2025-09-25 16:26:00 -04:00
Kenneth Kehl
a12bfe88ae fix tests 2025-09-23 07:15:18 -07:00
Carlo Costino
09ffdd206c Merge branch 'main' into fuzz 2025-09-18 16:48:52 -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
Kenneth Kehl
7999f631e5 more tests 2025-09-17 13:43:16 -07:00
Kenneth Kehl
7a8fbc0708 merge from main 2025-09-17 12:39:32 -07:00
Kenneth Kehl
8166fab031 fix 2025-09-17 12:22:09 -07:00
Kenneth Kehl
518823439e ugh 2025-09-17 12:16:12 -07:00
Beverly Nguyen
9d59641562 flake8 2025-09-16 22:46:35 -07:00
Beverly Nguyen
e0cfb38ea0 fix pytest 2025-09-16 22:31:07 -07:00
Kenneth Kehl
cef8917614 debug ugh 2025-09-16 14:31:53 -07:00
Kenneth Kehl
7003e9abd7 first fuzz test 2025-09-16 13:29:23 -07:00
Kenneth Kehl
0cc9d9a7f4 first fuzz test 2025-09-16 13:13:34 -07:00
Kenneth Kehl
6088e7b5c7 first fuzz test 2025-09-16 12:51:24 -07:00
Kenneth Kehl
dc86a8fa57 first fuzz test 2025-09-16 12:26:03 -07:00
Kenneth Kehl
d681e43e83 first fuzz test 2025-09-16 11:57:36 -07:00
Kenneth Kehl
31a7016260 first fuzz test 2025-09-16 11:46:22 -07:00
Kenneth Kehl
863b143f33 first fuzz test 2025-09-16 11:26:51 -07:00
Kenneth Kehl
f4ce7a3962 first fuzz test 2025-09-16 11:13:06 -07:00
Kenneth Kehl
0fea345c8e ugh secrets 2025-09-09 12:57:25 -07:00
Kenneth Kehl
5d83cc43b2 cleanup 2025-09-09 12:43:15 -07:00
Kenneth Kehl
3d7aee19d2 fix org invite tests 2025-09-09 08:24:33 -07:00
Kenneth Kehl
a85a540abd try fixing tests 2025-09-09 07:28:45 -07:00
Kenneth Kehl
180f372889 fix org invites 2025-09-08 12:44:45 -07:00
Kenneth Kehl
a5d2310253 fix org invites 2025-09-08 12:36:52 -07:00
Alex Janousek
9e2dc55500 Updated activity chart to include additional day (#2862) 2025-08-25 17:45:14 -04:00
Alex Janousek
b2f86e045f Sometimes test hang up and time out due to network errors (#2853)
* Fixed disable button, formated time to include time zone

* Fixed bandit

* Fix hanging test
2025-08-21 17:23:30 -04:00
Alex Janousek
c6da0448fa Fixed disable button, formated time to include time zone (#2850) 2025-08-21 07:05:41 -07:00
ccostino
377595bf58 Merge pull request #2841 from GSA/2795-bug-when-a-new-template-folder-is-added-existing-users-are-automatically-given-permission-to-it
fix and update to template manage
2025-08-20 10:42:25 -04:00
Beverly Nguyen
6eac43b25e pytest 2025-08-19 14:17:21 -07:00
Alex Janousek
74c1648c8d Fix report download buttons showing as disabled (#2840)
* Fix for lazy loading while checking if file exists

* Fixed linting errors

* Fixed for static scan
2025-08-19 07:06:50 -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
Beverly Nguyen
dbfeb32eb2 clean up 2025-08-07 18:49:09 -07:00
Beverly Nguyen
e8fb7117c0 Merge branch 'main' into 2813-add-quick-filters 2025-08-07 14:50:01 -07:00
Beverly Nguyen
4f82c69323 flake 8 2025-08-07 11:51:25 -07:00