Commit Graph

13866 Commits

Author SHA1 Message Date
Jonathan Bobel
bf10a2bc53 Fixing the tests to pass 2023-12-04 12:42:15 -05:00
Jonathan Bobel
a116c0a0c1 Merged Ken's work, made a small style change 2023-12-01 14:54:26 -05:00
Kenneth Kehl
91161c8c7e formatting 2023-12-01 09:52:07 -08:00
Carlo Costino
fc00273b31 Merge pull request #960 from GSA/utils-0-2-3-update
Update notifications-utils to 0.2.3
2023-11-30 15:06:13 -05:00
Carlo Costino
fa40e3d011 Update notifications-utils to 0.2.3
This changeset updates the notification-utils dependency to 0.2.3 to address an issue we found with link formatting in our last production release.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-30 14:59:34 -05:00
Carlo Costino
4f9a89d0a1 Merge pull request #959 from GSA/fix_404_maybe
maybe fix 404 on signout
2023-11-29 14:00:36 -05:00
Kenneth Kehl
417c072382 maybe fix 404 on signout 2023-11-29 10:24:09 -08:00
Carlo Costino
8fed8b914d Merge pull request #957 from GSA/dependabot/pip/flake8-bugbear-23.11.28
Bump flake8-bugbear from 23.9.16 to 23.11.28
2023-11-29 10:12:18 -05:00
dependabot[bot]
8303822860 Bump flake8-bugbear from 23.9.16 to 23.11.28
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 23.9.16 to 23.11.28.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.28)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 15:04:46 +00:00
Steven Reilly
f392c67e47 Merge pull request #953 from GSA/fix-positional-arguments
Adjust positional arguments flagged by flake8-bugbear
2023-11-29 09:55:29 -05:00
Carlo Costino
fa90eb0f67 Merge pull request #955 from GSA/dependabot/pip/pytest-env-1.1.3
Bump pytest-env from 1.1.1 to 1.1.3
2023-11-29 09:52:36 -05:00
dependabot[bot]
8e16afe755 Bump pytest-env from 1.1.1 to 1.1.3
Bumps [pytest-env](https://github.com/pytest-dev/pytest-env) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Commits](https://github.com/pytest-dev/pytest-env/compare/1.1.1...1.1.3)

---
updated-dependencies:
- dependency-name: pytest-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 14:46:06 +00:00
Carlo Costino
86fbaee27d Adjust positional arguments flagged by flake8-bugbear
The new release of flake8-bugbear is starting to flag positional argument unpacking that comes after keyword arguments in function calls as a style warning that fails.  This is a good thing to catch because it can lead to unexpected side effects with function arguments and/or errors thrown by Python.

See the following links for more details:

- https://stackoverflow.com/questions/58961715/python-value-unpacking-order-in-method-parameters
- https://github.com/python/cpython/issues/82741

This changeset fixes a couple of instances where the positional argument unpacking was happening after keyword arguments were being provided.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-29 09:39:44 -05:00
Steven Reilly
ff8e1b9c79 Merge pull request #954 from GSA/update-cryptography
Update cryptography dependency
2023-11-29 09:26:09 -05:00
Carlo Costino
fdcd5a57e7 Update cryptography dependency
This changeset updates the cryptography dependency to address a pip-audit finding.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-28 17:43:26 -05:00
Carlo Costino
6556c1451c Merge pull request #941 from GSA/dependabot/pip/moto-4.2.10
Bump moto from 4.2.9 to 4.2.10
2023-11-28 15:03:35 -05:00
dependabot[bot]
f42af3ae5b Bump moto from 4.2.9 to 4.2.10
Bumps [moto](https://github.com/getmoto/moto) from 4.2.9 to 4.2.10.
- [Release notes](https://github.com/getmoto/moto/releases)
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getmoto/moto/compare/4.2.9...4.2.10)

---
updated-dependencies:
- dependency-name: moto
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 19:49:21 +00:00
Carlo Costino
3cab3ac1a4 Merge pull request #940 from GSA/update-utils-022
Update utils to 0.2.2
2023-11-28 14:43:29 -05:00
Carlo Costino
6e527602bd Merge pull request #947 from GSA/945-upload-csv-not-working
945 - Fixed the javascript so it's not breaking every page
2023-11-27 17:46:09 -05:00
Carlo Costino
479e455ab1 Merge pull request #946 from GSA/stvnrlly/gtm-script-src
Add GTM to CSP sources
2023-11-27 17:44:46 -05:00
Steven Reilly
911552b858 update test instead of not updating test 2023-11-27 16:26:22 -05:00
Jonathan Bobel
c611fe38c9 945 - Fixed the javascript so it's not breaking every page this element is not on 2023-11-27 16:19:54 -05:00
Steven Reilly
ff44be5279 add gtm to csp sources 2023-11-27 16:16:27 -05:00
Kenneth Kehl
d10d3f7c00 maybe fix tests? Or else calculations are all wrong 2023-11-22 12:37:57 -08:00
Carlo Costino
8c7db5d7e1 Update utils to 0.2.2
This changeset updates the notification-utils reference to the latest release, 0.2.2.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-22 14:50:03 -05:00
Carlo Costino
74ace43668 Merge pull request #939 from GSA/update-readme-and-setup
Update README with new instructions and improve setup
2023-11-22 14:27:56 -05:00
Carlo Costino
3aa5f3415e Updated README title
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-22 14:10:03 -05:00
Carlo Costino
4d56d4e186 Updated poetry.lock file
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-22 14:08:03 -05:00
Carlo Costino
d2891042b4 Added pre-commit git hooks into the project
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-22 14:05:23 -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
614545c1b4 Merge pull request #851 from GSA/notify-786
Remove notify from senders message flow
2023-11-22 14:01:39 -05:00
Andrew Shumway
984f435075 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-22 11:55:57 -07:00
Andrew Shumway
3d0460a9ee Revert missing logic 2023-11-22 11:55:40 -07:00
Kenneth Kehl
7e33178b1c Merge pull request #929 from GSA/notify-admin-861
Change timezone displays to Eastern time
2023-11-22 10:49:16 -08:00
Kenneth Kehl
723f83f164 Merge pull request #877 from GSA/notify-admin-338
initial for login.gov integration
2023-11-22 10:11:46 -08:00
Andrew Shumway
9bc3602461 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-22 11:06:32 -07:00
Andrew Shumway
53a3f4c852 Remove unnecessary logic/fix tests 2023-11-22 11:06:15 -07:00
Carlo Costino
4571a8bd15 Apply suggestions from code review
Updating variable name from et to preferred_tz
2023-11-22 13:06:04 -05:00
Kenneth Kehl
e55a9273bf code review feedback 2023-11-22 08:28:07 -08:00
Kenneth Kehl
ad0ed0d6fb merge from main 2023-11-22 08:21:34 -08:00
Kenneth Kehl
425f8eb742 code review feedback 2023-11-22 08:09:28 -08:00
Carlo Costino
d0fe4de3ac Merge pull request #938 from GSA/dependabot/pip/humanize-4.9.0
Bump humanize from 4.8.0 to 4.9.0
2023-11-22 09:39:15 -05:00
dependabot[bot]
a6ea9fd25c Bump humanize from 4.8.0 to 4.9.0
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.8.0...4.9.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 14:33:13 +00:00
Carlo Costino
9959f53956 Merge pull request #937 from GSA/dependabot/pip/pytest-xdist-3.5.0
Bump pytest-xdist from 3.4.0 to 3.5.0
2023-11-22 09:31:32 -05:00
dependabot[bot]
ce21df6048 Bump pytest-xdist from 3.4.0 to 3.5.0
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 14:15:17 +00:00
Carlo Costino
8432ac2334 Merge pull request #936 from GSA/dependabot/pip/exceptiongroup-1.2.0
Bump exceptiongroup from 1.1.3 to 1.2.0
2023-11-22 09:12:26 -05:00
dependabot[bot]
2178659d31 Bump exceptiongroup from 1.1.3 to 1.2.0
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/agronholm/exceptiongroup/releases)
- [Changelog](https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst)
- [Commits](https://github.com/agronholm/exceptiongroup/compare/1.1.3...1.2.0)

---
updated-dependencies:
- dependency-name: exceptiongroup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 23:31:43 +00:00
Kenneth Kehl
2bd38182d2 code review feedback 2023-11-21 13:40:00 -08:00
Carlo Costino
84a05994b2 Merge pull request #928 from GSA/927-fix-math-on-dashboard
927 - Updates to math in Dashboard area
2023-11-21 16:09:41 -05:00
Jonathan Bobel
e4c97e925f Adding a test for the dashboard usage area 2023-11-21 15:38:41 -05:00