Commit Graph

8992 Commits

Author SHA1 Message Date
Christa Hartsock
b51e49a662 Merge pull request #15 from 18F/jim/062822/logging
Fix Redis, Improve Logging
2022-07-07 15:37:32 -07:00
Christa Hartsock
8825e0155d Merge pull request #19 from 18F/dependabot/pip/lxml-4.9.1
Bump lxml from 4.8.0 to 4.9.1
2022-07-07 10:16:48 -07:00
dependabot[bot]
e61a2f01aa Bump lxml from 4.8.0 to 4.9.1
Bumps [lxml](https://github.com/lxml/lxml) from 4.8.0 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.8.0...lxml-4.9.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 21:50:22 +00:00
Jim Moffet
a9a3e4d662 add secrets baseline to gitignore 2022-06-29 09:15:00 -07:00
Jim Moffet
4bfd6c9b70 remove secrets baseline 2022-06-29 09:13:33 -07:00
Jim Moffet
3ac3dcd09d config detect-secrets 2022-06-29 08:47:36 -07:00
Jim Moffet
3457c5a687 Add secrets detection section to readme 2022-06-28 15:30:09 -07:00
Jim Moffet
1b7de2a5dd Merge pull request #14 from 18F/jim/062722/precommit
Jim/062722/precommit
2022-06-28 15:28:31 -07:00
Jim Moffet
a6f119f732 test pre-commit hook 2022-06-27 15:15:37 -07:00
Jim Moffet
2e9f6aaa28 test pre-commit hook 2022-06-27 15:10:27 -07:00
Jim Moffet
63bbd288ad test pre-commit hook 2022-06-27 15:05:01 -07:00
Jim Moffet
88231c1c8c test pre-commit hook 2022-06-27 15:04:33 -07:00
Jim Moffet
2eb5916395 test pre-commit hook 2022-06-27 15:01:30 -07:00
Jim Moffet
fdc602b6f2 clean up 2022-06-27 08:30:32 -07:00
Jim Moffet
3f53ba3e50 Merge pull request #11 from 18F/jim/062522/configupdates
clean up config
2022-06-25 18:38:52 -07:00
Jim Moffet
2047cec495 Merge branch 'main' into jim/062522/configupdates 2022-06-25 18:37:13 -07:00
Jim Moffet
ac8d8d3c29 clean up config 2022-06-25 18:36:39 -07:00
Jim Moffet
57c2919dca Merge pull request #9 from 18F/jim/062522/smsclientfixes
initial sms provider cleanup
2022-06-25 13:16:33 -07:00
Jim Moffet
6a4f34750e clean up 2022-06-25 13:13:12 -07:00
Jim Moffet
2bcae20441 initial sms provider cleanup 2022-06-25 13:05:10 -07:00
Christa Hartsock
64c45e0543 Merge pull request #8 from 18F/ch/cf-deploy
Run worker process on deploy
2022-06-23 15:50:30 -07:00
Christa Hartsock
64cca93c1b Collapse worker into Procfile from wrapper 2022-06-23 15:46:19 -07:00
Christa Hartsock
a9d79021ca Rename deployment env file to varsfile 2022-06-23 14:17:53 -07:00
Christa Hartsock
c414437eb4 Merge pull request #6 from 18F/ch/cf-deploy
Deployment of web server from web server
2022-06-23 14:05:44 -07:00
Christa Hartsock
b0f8a51f99 Move config into manifest, update for SNS provider
Keeps secrets in .env files
2022-06-23 13:45:58 -07:00
Christa Hartsock
7319708172 Use statsd local host instead of GDS 2022-06-23 13:39:05 -07:00
Christa Hartsock
3cd15e97e2 Update manifest to use proper templates for vars-file 2022-06-23 13:39:05 -07:00
Christa Hartsock
e773f937ed WIP: local deployment 2022-06-23 13:39:05 -07:00
Jim Moffet
5ff11b001d Merge pull request #5 from 18F/jim/061522/sns-integration
Jim/061522/sns integration
2022-06-23 13:17:31 -07:00
Jim Moffet
4030f9c8d7 config buckets 2022-06-23 13:05:09 -07:00
Jim Moffet
70143301ce Merge pull request #2 from 18F/local-dev-upgrades
add devcontainer configs and docker network orchestration
2022-06-17 11:23:11 -07:00
Jim Moffet
aa4ec532a4 implement SNS 2022-06-17 11:16:23 -07:00
Jim Moffet
79ba6cc1d1 disable cache persistence & env updates 2022-06-13 21:42:36 -07:00
Jim Moffet
e88e36712f sample env 2022-06-13 14:50:22 -07:00
Jim Moffet
f5beb23a1d rm deprecated config 2022-06-13 13:48:30 -07:00
Jim Moffet
60262d6031 config formatting 2022-06-13 13:45:07 -07:00
Jim Moffet
59b72f4853 add devcontainer configs and docker network orchestration 2022-06-13 13:16:32 -07:00
Ben Thorner
e604385e0c Merge pull request #3551 from alphagov/bump-utils-56
Bump utils to version 56.0.0
2022-06-01 16:02:17 +01:00
Ben Thorner
ee8e86f409 Bump utils to version 56.0.0
The only impactful change is the major version itself, where I've
fixed the breaking changes due to the upgrade of PyPDF2 [^1] and
checked there are no deprecation warnings when I run the tests.

[^1]: https://github.com/alphagov/notifications-utils/pull/973
2022-06-01 14:27:25 +01:00
Katie Smith
6495b192a6 Merge pull request #3550 from alphagov/rename-migration-file
Rename migration file
2022-05-27 15:25:05 +01:00
Katie Smith
4961c7cefc Rename migration file
This renames the latest migration file to match the Revision ID in the
file. When these names are different, our deployment pipeline tries to
run migrations on the notify-api-db-migration app and runs the
functional tests twice.
2022-05-27 14:58:01 +01:00
Katie Smith
67be0eed1e Merge pull request #3549 from alphagov/bump-dependencies
Upgrade marshmallow-sqlalchemy plus the unpinned dependencies
2022-05-27 14:19:27 +01:00
Katie Smith
d17be0354a Pin Werkzeug
We can't use version later than the one currently in requirements.in
because the version of flask-sqlalchemy that we are using won't work
with version 2.1.0 and above.
2022-05-27 09:57:10 +01:00
Katie Smith
8dd6d073d3 Run pip-compile --upgrade
This upgrades the sub-dependencies which we don’t pin in `requirements.txt`.
2022-05-27 09:57:10 +01:00
Katie Smith
4404f9eb12 Upgrade marshmallow-sqlalchemy from 0.23.1 to 0.28.0
This was blocked before due to being on marshmallow 2, but now that we
are on marshmallow 3 we can upgrade this package.
2022-05-26 14:18:51 +01:00
Ben Thorner
43dbc0891f Merge pull request #3546 from alphagov/notification-view-178125825
Use notification view for status / billing tasks
2022-05-26 11:03:38 +01:00
Ben Thorner
aa20064f3f Merge pull request #3545 from alphagov/remove-unused-function
Remove redundant DAO function / consolidate tests
2022-05-26 11:03:30 +01:00
Katie Smith
a6d25154d9 Merge pull request #3541 from alphagov/v3-marshmallow
Upgrade Marshmallow to version 3
2022-05-26 09:40:06 +01:00
Katie Smith
82862112fa Remove unused attributes on ServiceSchema
This removes the `override_flag` attribute, which we stopped using in #98cd838510979d467191685aac38ff2e287a92c5
2022-05-25 11:35:44 +01:00
Katie Smith
4ffdd32054 Keep the marshmallow v2 way of serializing DateTimes
Marshmallow v3 has changed the way that DateTimes get serialized
(https://marshmallow.readthedocs.io/en/stable/upgrading.html#datetime-leaves-timezone-information-untouched-during-serialization).

In order to avoid breaking anything, we want to keep the existing way of
handling DateTimes for now - this could be changed later. We can't just
pass a `format` argument to a DateTime field with the old format, which
looked like this `2017-09-19T00:00:00+00:00`. When we tried that,
Marshmallow then expected data that we are loading to also have that
format, which it doesn't.

This adds a new field, which serializes data in the old format but which
doesn't require data that is being deserialized to have such a precise
format.
2022-05-25 11:35:44 +01:00