Commit Graph

159 Commits

Author SHA1 Message Date
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
Alex Janousek
5c00ee1840 Fix/main build 2 (#2819)
* Removed double slash

* Fixing race condition with testing

* Created cleaner solution

* Keeping flash alive longer so tests finish in main build
2025-08-07 12:52:56 -07:00
Alex Janousek
843699061d Removed double slash (#2817) 2025-08-07 11:55:26 -04:00
Carlo Costino
f69e3a5a00 Undo recent changes related to Python upgrade
This changeset undoes the recent changes we tried after the Python 3.13 update as they had no bearing on the SSL cert validation errors.  Back to the drawing board!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-07-29 16:32:52 -04:00
ccostino
c2b7575e99 Merge pull request #2787 from GSA/python_3_13
disable gevent
2025-07-29 14:35:08 -04:00
Kenneth Kehl
9d072e44df add comment 2025-07-29 11:21:24 -07:00
Kenneth Kehl
c8a559f0e5 instantiate newrelic in gunicorn_entry.py 2025-07-29 08:15:43 -07:00
alexjanousekGSA
3e0ff8d353 Removed unused paas-failwhale page 2025-07-11 16:56:58 -03:00
Carlo Costino
6a606a467e Update bootstrap-with-git-hooks command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-05-30 11:06:45 -04:00
Kenneth Kehl
6aa84305f6 code review feedback 2025-05-29 11:19:22 -07:00
Kenneth Kehl
d27bc213d4 upgrade poetry to 2.1.3 2025-05-27 12:00:46 -07:00
Kenneth Kehl
589c01ed75 upgrade poetry to 2.1.3 2025-05-27 11:41:33 -07:00
Carlo Costino
15dcf7474f Remove dotenv plugin line from other bootstrap command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-05-06 09:54:54 -04:00
alexjanousekGSA
39972c341a Moving dependency installation for dotenv plugin 2025-05-05 13:18:17 -04:00
alexjanousekGSA
eff92773cc e2e tests pass locally 2025-05-02 10:43:07 -04: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
Carlo Costino
06ce617f0a Create new command instead of trying to be fancy
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-04-14 16:17:35 -04:00
Carlo Costino
1afe8121b8 Update Makefile to handle pre-existing git hooks
This changeset adds a bit of extra support to the bootstrap command to make sure that pre-existing git hooks do not interfere with the installation of the pre-commit git hooks.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-04-14 15:47:12 -04:00
alexjanousekGSA
c37bb44e0a Added unit tests for new utc conversion logic 2025-02-26 11:11:47 -05:00
Kenneth Kehl
709b7049c6 code review feedback 2025-01-29 13:22:22 -08:00
Kenneth Kehl
e9ba1c7726 pin poetry to 1.8.5 for now 2025-01-07 10:03:06 -08:00
Kenneth Kehl
bdf4c9597b clean up Makefile and checks.yml 2024-09-10 07:17:41 -07:00
Kenneth Kehl
6223341826 reenable e2e tests 2024-09-09 12:34:52 -07:00
Kenneth Kehl
664d07b414 increase debug 2024-08-27 15:16:25 -07:00
Kenneth Kehl
da6e9f4e8c increase debug 2024-08-27 15:06:00 -07:00
Kenneth Kehl
549855c957 increase debug 2024-08-27 14:56:09 -07:00
Kenneth Kehl
20428f7485 increase debug 2024-08-27 14:43:28 -07:00
Kenneth Kehl
d00f4b5f46 try again 2024-08-27 14:22:07 -07:00
Carlo Costino
b26c3a78b8 Fix npm steps in make bootstrap
This changeset fixes the order of steps in the make bootstrap command so npm does not fail.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-06-18 10:21:23 -04:00
Carlo Costino
59b0325124 Adjust npm install line and update Python dependencies
The npm install line needs to be run within the context of the nvm-managed Node.js and should happen after that environment is initialized but before the build step.  This also adds a couple more Python dependency updates that Dependabot flagged as well.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-06-17 23:46:59 -04:00
Kenneth Kehl
c491b4152c initial 2024-06-17 13:55:25 -07:00
Kenneth Kehl
309c168f52 revert back to 100% confidence level for vulture and add a comment 2024-05-20 11:18:31 -07:00
Kenneth Kehl
5bc652db9e change vulture rules in Makefile 2024-05-20 07:13:19 -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
7b570bfbed ugh 2024-04-29 11:35:33 -07:00
Carlo Costino
5b4d5118d8 Merge pull request #1346 from GSA/notify-admin-1336
Add end-to-end test: Sending a message from existing template
2024-04-09 17:08:01 -04:00
Carlo Costino
616957c103 Added an explicit sync of the poetry.lock file to make bootstrap to make sure dependency updates will work
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-04-03 17:31:15 -04:00
Kenneth Kehl
11bfc829e7 works locally and maybe on github as well 2024-03-26 10:45:17 -07:00
Kenneth Kehl
edf3961f0d works locally and maybe on github as well 2024-03-26 10:30:11 -07:00
Kenneth Kehl
c4a594663b put back firefox tests 2024-03-26 09:57:16 -07:00
Kenneth Kehl
e1be811ed5 only test chromium right now 2024-03-26 07:57:45 -07:00
Carlo Costino
fd5cd36959 Remove webkit testing for now
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:38 -05:00
Carlo Costino
40de352f9e Update README with new instructions and improve setup
This changeset updates the README.md file with a set of entirely new instructions. These updates are intended to improve clarity, simplify steps, and reduce confusion and environment-setup gotchas that folks have run into previously and we have learned from. A couple of other changes are also included:

- Minor adjustments to the Makefile to improve make bootstrap
- Updates to the sample.env file to include previously missing required environment variables and/or information
- Additional support for Python virtual environments
- Removes tracking of the .python-version file used by pyenv

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-22 14:05:20 -05:00
Carlo Costino
09c4dd2e1d Update more dependencies and fix notifications-utils
This changeset updates a few more dependencies and addresses the challenges we have had in keeping the notifications-utils dependency up-to-date.  The changes include instructions on what to do going forward for future notifications-utils updates.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-01 12:16:35 -04:00
Carlo Costino
88f0715b2c Updated dependencies and add make command
This changeset updates several dependencies to address security audit findings and also adds a py-lock make command to make managing our Python dependencies more manageable.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 16:01:21 -04:00
Kenneth Kehl
e8d7d91402 switch from pipenv to poetry 2023-09-01 07:56:02 -07:00
Kenneth Kehl
51b6c38e2f refresh PR? 2023-08-25 12:58:53 -07:00
Carlo Costino
d79e15c2a1 Clean up state of E2E tests
This changeset takes care of leaving E2E tests in a clean state so that
we can revisit the work later.  The efforts to add authentication
support did not pan out, so we will go a different route in the near
future.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-24 15:31:21 -04:00
Steven Reilly
9fc44a352b Merge branch 'main' into notify-api-387 2023-08-22 17:45:04 -04:00
Kenneth Kehl
621c381de8 add dead code command to Makefile 2023-08-08 13:16:20 -07:00