Commit Graph

13693 Commits

Author SHA1 Message Date
Jonathan Bobel
a3022dcfe6 Fixing tests 2023-11-01 13:06:29 -04:00
Jonathan Bobel
dfe9a46890 Merge branch 'main' of https://github.com/GSA/notifications-admin into 847-change-blanket-error-message
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2023-10-31 12:46:21 -04:00
Steven Reilly
fb3c9f412a Merge pull request #890 from GSA/update-deps
Updated dependencies and add make command
2023-10-31 10:35:55 -04:00
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
Jonathan Bobel
1271098ff9 Content update for blanket error page 2023-10-23 13:43:26 -04: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
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
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
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
Carlo Costino
d4d36087d4 Swapped resetting window.location.href to using window.location.assign
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-11 15:48:30 -04:00
Andrew Shumway
4effd7df06 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-10-11 11:07:34 -06:00
Carlo Costino
d12faf6cd8 Merge pull request #839 from GSA/dependabot/pip/flask-wtf-1.2.1
Bump flask-wtf from 1.1.1 to 1.2.1
2023-10-11 11:02:19 -04:00
dependabot[bot]
27ff29d0db Bump flask-wtf from 1.1.1 to 1.2.1
Bumps [flask-wtf](https://github.com/wtforms/flask-wtf) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/wtforms/flask-wtf/releases)
- [Changelog](https://github.com/wtforms/flask-wtf/blob/main/docs/changes.rst)
- [Commits](https://github.com/wtforms/flask-wtf/compare/v1.1.1...v1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 14:32:40 +00:00
Carlo Costino
ceedff4d0e Merge pull request #852 from GSA/dependabot/pip/vulture-2.10
Bump vulture from 2.9.1 to 2.10
2023-10-11 10:29:52 -04:00
dependabot[bot]
a2ece1554c Bump vulture from 2.9.1 to 2.10
Bumps [vulture](https://github.com/jendrikseipp/vulture) from 2.9.1 to 2.10.
- [Release notes](https://github.com/jendrikseipp/vulture/releases)
- [Changelog](https://github.com/jendrikseipp/vulture/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jendrikseipp/vulture/compare/v2.9.1...v2.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 14:12:14 +00:00
Carlo Costino
d55b614b2b Merge pull request #853 from GSA/dependabot/pip/blinker-1.6.3
Bump blinker from 1.6.2 to 1.6.3
2023-10-11 10:10:20 -04:00
dependabot[bot]
b94fb8a867 Bump blinker from 1.6.2 to 1.6.3
Bumps [blinker](https://github.com/pallets-eco/blinker) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/pallets-eco/blinker/releases)
- [Changelog](https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets-eco/blinker/compare/1.6.2...1.6.3)

---
updated-dependencies:
- dependency-name: blinker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 13:58:56 +00:00
Carlo Costino
8445906fa1 Merge pull request #854 from GSA/dependabot/pip/pytest-playwright-0.4.3
Bump pytest-playwright from 0.4.2 to 0.4.3
2023-10-11 09:54:18 -04:00
Andrew Shumway
76f9c5e6ab Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-10-10 11:00:37 -06:00
Carlo Costino
ce9fdc693f Merge pull request #856 from GSA/819-make-template-help-more-prominent
819 make template help more prominent
2023-10-10 11:48:50 -04:00
Jonathan Bobel
db201eeda9 Small styling updates 2023-10-10 11:23:19 -04:00
Jonathan Bobel
5d0eb7d211 819 - Make template help more prominent 2023-10-10 11:07:08 -04:00
dependabot[bot]
0ef554674a Bump pytest-playwright from 0.4.2 to 0.4.3
Bumps [pytest-playwright](https://github.com/microsoft/playwright-pytest) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](https://github.com/microsoft/playwright-pytest/compare/v0.4.2...v0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 00:01:02 +00:00
Carlo Costino
4c833a4360 Merge pull request #850 from GSA/816-change-prepare-to-send-button
816 - Change "Prepare to send" button text
2023-10-06 13:34:37 -04:00
Jonathan Bobel
57ec11d7c5 816 - Change "Prepare to send" button text 2023-10-06 13:13:18 -04:00
Carlo Costino
9e47062aa7 Merge pull request #840 from GSA/dependabot/pip/coverage-7.3.2
Bump coverage from 7.3.1 to 7.3.2
2023-10-06 12:48:24 -04:00
dependabot[bot]
d34249ff8b Bump coverage from 7.3.1 to 7.3.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.3.1...7.3.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 16:23:26 +00:00