187 Commits

Author SHA1 Message Date
stvnrlly
2879f2ab2e add pre-commit install to bootstrap 2023-11-17 09:14:12 -05:00
stvnrlly
bdf545d851 update & clean dependencies 2023-11-13 11:35:34 -05:00
Carlo Costino
d6d11746b1 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:15:53 -04:00
Carlo Costino
7cc7a2a53f Update freeze-requirements command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 15:47:39 -04:00
Carlo Costino
f949786e2d Updated dependencies and add py-lock make command
This changeset updates dependencies that have been flagged as out-of date and/or vulnerable.  It also adds a py-lock Makefile command for keeping the poetry.lock file in sync without introducing additional issues from transitive dependency updates.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 15:40:22 -04:00
stvnrlly
833a6977c4 add default template when it does not exist 2023-09-06 14:46:06 -04:00
Kenneth Kehl
938e0b1057 fixes 2023-08-31 11:22:22 -07:00
Kenneth Kehl
062675ad9b poetry 2023-08-31 11:00:55 -07:00
Kenneth Kehl
026dc14021 notify-api-412 use black to enforce python style standards 2023-08-23 10:35:43 -07:00
Carlo Costino
574e0b92fc Merge pull request #404 from GSA/notify-api-391
notify-api-391 increase code coverage to 95%
2023-08-16 16:40:33 -04:00
Kenneth Kehl
fbf2f99d7b more 2023-08-15 10:35:34 -07:00
Steven Reilly
b731dd5abe Merge pull request #402 from GSA/notify-api-387
notify-api-387 Scan projects for unused code
2023-08-14 13:52:38 -04:00
Kenneth Kehl
b4a2f37ca9 get coverage up to 94% 2023-08-14 09:04:06 -07:00
Kenneth Kehl
318bb01392 more 2023-08-10 12:58:52 -07:00
Kenneth Kehl
afcc324049 notify-api-391 increase code coverage to 95% 2023-08-09 08:33:20 -07:00
Kenneth Kehl
320798e417 notify-api-387 Scan projects for unused code 2023-08-08 11:03:50 -07:00
Kenneth Kehl
8fe5ca202a change failure to be C, D or F 2023-08-07 10:59:51 -07:00
Kenneth Kehl
aef5317af8 notify-api-386 scan projects for code complexity 2023-08-07 10:11:24 -07:00
Kenneth Kehl
831af284a5 notify-admin-638 fail if code coverage below current level of 88% 2023-07-20 13:32:19 -07:00
Ryan Ahearn
970a777876 Fix makefile typo 2023-05-09 21:54:22 -04:00
Ryan Ahearn
e66301a170 Add cloud.gov user audit script 2023-05-09 21:47:14 -04:00
Kenneth Kehl
001954538e notify-243 remove statsd 2023-04-25 07:50:56 -07:00
Andrew Shumway
1047b70792 Added fail coverage threshold under 50% 2023-04-18 13:51:48 -06:00
Andrew Shumway
d8c5c29d2d Added coverage commands to make test and dir to gitignore 2023-04-17 15:56:08 -06:00
Ryan Ahearn
6118394f02 Remove ignore-vulnerability for remediated redis vuln 2023-03-29 17:04:43 -04:00
Ryan Ahearn
8e64fb12ba Ignore known issue with redis 4.5.3 2023-03-28 09:06:21 -04:00
Ryan Ahearn
50bc1532a3 Turn off newrelic for celery-beat 2023-01-18 10:03:45 -05:00
Ryan Ahearn
bfeb65c914 Install newrelic and enable in development 2023-01-18 09:06:09 -05:00
Ryan Ahearn
7e02e6b33d Update to most recent pip-audit action 2023-01-03 09:44:53 -05:00
Ryan Ahearn
db96c4d82f Replace foreman with honcho 2022-11-01 09:54:31 -04:00
stvnrlly
493e7e015a pipenv in devcontainers, probably 2022-10-28 12:58:07 +00:00
stvnrlly
d87c224473 remove broadcast-related code, except migrations 2022-10-26 16:41:35 -04:00
stvnrlly
9b9465c74a remove extra hyphen 2022-10-26 15:34:12 -04:00
stvnrlly
82c5608e0a github setup change for pipenv 2022-10-26 15:26:53 -04:00
stvnrlly
d27401c7a0 more pipenv transition 2022-10-26 14:05:37 +00:00
stvnrlly
8ad130893d trim rollback from makefile 2022-10-25 19:57:31 +00:00
stvnrlly
cb9e098c65 streamline makefile 2022-10-20 14:04:10 -04:00
stvnrlly
65f15b21b0 uncomment flake8 2022-10-19 16:16:23 +00:00
Ryan Ahearn
cd7da37fa9 Only run pip-audit on runtime dependencies in CI 2022-10-19 10:09:09 -04:00
Ryan Ahearn
56d9ac8e62 Remove obsolete manifest.yml.j2 file 2022-09-02 10:53:00 -04:00
Ryan Ahearn
fb1e6b3e9d Implement bandit static security scan 2022-08-12 17:19:28 -04:00
Ryan Ahearn
51a9207069 Ignore vuln on mistune included via notifications-utils 2022-08-12 15:22:01 -04:00
Ryan Ahearn
2597011cee make audit for python dependency audits 2022-08-12 15:36:48 +00:00
Jim Moffet
b860f9e55a Merge branch 'main' into ch/run-tests-on-ci 2022-08-02 15:29:21 -07:00
James Moffet
18a04fd719 configs 2022-07-25 15:19:05 -07:00
Christa Hartsock
0a0efb1503 Deploy from CI when tests pass 2022-07-07 15:41:16 -07:00
Christa Hartsock
041a892e86 Pull admin base url from test config in tests 2022-07-07 15:41:16 -07:00
Christa Hartsock
af6495cd4c Get tests passing locally
When we cloned the repository and started making modifications, we
didn't initially keep tests in step. This commit tries to get us to a
clean test run by skipping tests that are failing and removing some
that we no longer expect to use (MMG, Firetext), with the intention that
we will come back in future and update or remove them as appropriate.

To find all tests skipped, search for `@pytest.mark.skip(reason="Needs
updating for TTS:`. There will be a brief description of the work that
needs to be done to get them passing, if known. Delete that line to make
them run in a standard test run (`make test`).
2022-07-07 15:41:15 -07:00
Jim Moffet
60262d6031 config formatting 2022-06-13 13:45:07 -07:00
Ben Thorner
c9a9640a4b Iterate local development with Docker
This makes a few changes to:

- Make local development consistent with our other apps. It's now
faster to start Celery locally since we don't try to build the
image each time - this is usually quick, but unnecessary.

- Add support for connecting to a local Redis instance. Note that
the previous suggestion of "REDIS = True" was incorrect as this
would be turned into the literal string "True".

I've also co-located and extended the recipes in the Makefile to
make them a bit more visible.
2022-02-24 17:15:41 +00:00