Commit Graph

15662 Commits

Author SHA1 Message Date
Carlo Costino
e055318ca8 Added instructions to the README
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 16:57:03 -04:00
Carlo Costino
d9c0c751ab Fixed flask-login version
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 16:25:15 -04:00
Carlo Costino
a542fa916f More dependency updates
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-30 16:18:44 -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
899027bb04 merge from main 2023-10-30 08:42:56 -07:00
Kenneth Kehl
b487a915f6 fix remaining tests 2023-10-30 08:42:11 -07:00
Kenneth Kehl
8c9acad081 more tests 2023-10-26 12:05:26 -07:00
Kenneth Kehl
bd2ea81081 more fixes 2023-10-26 11:38:03 -07:00
Kenneth Kehl
90025ded54 notify-admin-866 improve tests with noqa comments 2023-10-26 08:33:59 -07:00
Jonathan Bobel
c290e60a6c Fixing tests 2023-10-24 12:24:14 -04:00
Kenneth Kehl
222c83ebbc notify-admin-571 add platform_admin condition for create service and create user 2023-10-23 14:41:31 -07:00
Jonathan Bobel
5304c0f7a9 801 - Moving Send message link from inside the side nav to a button 2023-10-23 14:36:10 -04:00
Jonathan Bobel
1271098ff9 Content update for blanket error page 2023-10-23 13:43:26 -04:00
Kenneth Kehl
782cff2d5f fiddle with logout 2023-10-20 09:34:39 -07:00
Kenneth Kehl
7ca258b547 work on logout 2023-10-20 08:48:04 -07:00
Kenneth Kehl
1d1e7747d0 cleanup login.gov work 2023-10-19 12:22:36 -07:00
Jonathan Bobel
1ad3d875c4 Merge branch 'main' of https://github.com/GSA/notifications-admin into 803-keep-current-service-visible 2023-10-19 12:14:25 -04:00
Kenneth Kehl
86ac810fff initial for login.gov integration 2023-10-18 15:18:37 -07:00
Steven Reilly
f31a78cbcd Merge pull request #872 from GSA/notify-843
Uncomment existing gtm script
2023-10-18 17:22:43 -04:00
Carlo Costino
df3cdaf93e Merge pull request #875 from GSA/dependabot/pip/urllib3-1.26.18
Bump urllib3 from 1.26.17 to 1.26.18
2023-10-18 11:56:00 -04:00
dependabot[bot]
588245f9f5 Bump urllib3 from 1.26.17 to 1.26.18
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 01:23:16 +00:00
Andrew Shumway
2c512181c2 Uncomment existing gtm script 2023-10-17 11:13:20 -06:00
dependabot[bot]
c46a6a5f86 Bump @babel/traverse from 7.22.20 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.20 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 15:55:38 +00:00
Carlo Costino
962fce3c7b Merge pull request #868 from GSA/dependabot/pip/moto-4.2.6
Bump moto from 4.2.5 to 4.2.6
2023-10-17 11:55:04 -04:00
dependabot[bot]
1c75f9abeb Bump moto from 4.2.5 to 4.2.6
Bumps [moto](https://github.com/getmoto/moto) from 4.2.5 to 4.2.6.
- [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.5...4.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 23:16:41 +00:00
Jonathan Bobel
195af626c6 Slight change from caps to lowercase 2023-10-13 12:26:25 -04:00
Jonathan Bobel
a34ab8c972 Adding nav item for platform admin as well 2023-10-12 15:16:03 -04:00
Jonathan Bobel
07f9255e36 Merge branch 'main' of https://github.com/GSA/notifications-admin into 803-keep-current-service-visible 2023-10-12 13:52:15 -04:00
Jonathan Bobel
167023c7a7 - Updated nav to allow for the active state throughout Service sub-nav
- Fixed test for using-notify broken link
2023-10-12 13:52:03 -04:00
Jonathan Bobel
3106b85e08 - Updated navigation file to show active atate in top nav
- Changing route back to - instead of _ so it won't break tests, also it was a mistake
2023-10-12 13:40:41 -04:00
Steven Reilly
17100a24b8 Merge pull request #748 from GSA/update-test-config
Update and cleanup our test configuration
2023-10-12 11:55:19 -04:00
Carlo Costino
85f0a31505 Updated poetry.lock file after rebasing with more dependency updates.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:27:26 -04:00
Carlo Costino
7163f813ce Fix malformed tuples
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
35ecd7006a Finally finished linting all the tests!
...Now to fix the ones I broke... :lolsob:

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
f5a5fbc926 Updated more tests with linting fixes
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
9a4afe44bb More test config updates
Note that this commit has some failing tests with it that also needed to be fixed; it is unclear why they are failing at the moment, though.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:00 -04:00
Carlo Costino
d2411e6cbe Updated a few more tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:49 -04:00
Carlo Costino
9031d0cb97 A few more tests taken care of.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:49 -04:00
Carlo Costino
acb70b43cd Reformatted and cleaned up more tests.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
72c8a46b8c Reformatted a handful more tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
23f894581c More test cleanup
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
06fab2dd03 Ignoring two specific warnings about wrong values type
The test makes use of list item unpacking and expects the parameter data structure to allow for that.  It does not make sense to modify the code in this case just to make test format linting pass.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
95ba7c3099 More formatting fixes for tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
47695b97d3 Address flake8-pytest-style issues with conftest.py
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
73590840ee Update and cleanup our test configuration
This changeset updates a few of the testing and linting dependencies and makes several adjustments to cleanup and improve our tests and test configuration.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:44 -04:00
Jonathan Bobel
988c1e93a1 Merge branch 'main' of https://github.com/GSA/notifications-admin into 803-keep-current-service-visible 2023-10-12 10:21:18 -04:00
Jonathan Bobel
3e7a4f78f3 Committing before merge 2023-10-12 10:21:11 -04:00
Carlo Costino
86a19c945e Merge pull request #750 from GSA/notify-678
Notify 678
2023-10-12 10:16:52 -04:00
Carlo Costino
a46a21a519 Revert recent changes for window location updates
There are a few other things at play that will require more investigation at a future date:

- Why window.location.assign() or history.pushState() do not work
- If any other config or polyfills are needed with JSDOM

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:00:30 -04:00
Carlo Costino
4fff35590b Attempt at fixing sign-out link after session expires
Note that this still does not seem to work; needs more investigation, but not a showstopper for the feature going out!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-11 17:10:53 -04:00