Commit Graph

88 Commits

Author SHA1 Message Date
Katie Smith
1d6716275a Bump utils to bring in changes to logging
Freezing the requirements changes the Werkzeug version to 0.16.0, which
requires a change in how we import an exception
(https://github.com/pallets/werkzeug/blob/master/CHANGES.rst#version-0160)
2019-10-28 10:54:19 +00:00
Leo Hemsted
51f90c17fd pin marshmallow and update flask error handling 2019-09-04 12:14:28 +01:00
Leo Hemsted
01c702535d freeze requirements and bump utils 2019-09-04 10:55:22 +01:00
pyup-bot
44872388a8 Update sqlalchemy from 1.3.3 to 1.3.8 2019-08-28 14:00:16 +01:00
pyup-bot
bbd82e9957 Update psycopg2-binary from 2.8.2 to 2.8.3 2019-08-28 14:00:14 +01:00
pyup-bot
b695bce284 Update marshmallow from 2.19.2 to 3.0.1 2019-08-28 14:00:13 +01:00
pyup-bot
7f32ed76b1 Update marshmallow-sqlalchemy from 0.16.3 to 0.17.0 2019-08-28 14:00:11 +01:00
pyup-bot
83e894a287 Update jsonschema from 3.0.1 to 3.0.2 2019-08-28 14:00:09 +01:00
pyup-bot
9bc886aad4 Update eventlet from 0.24.1 to 0.25.1 2019-08-28 14:00:08 +01:00
pyup-bot
b751393b53 Update flask from 1.0.2 to 1.1.1 2019-08-28 14:00:06 +01:00
pyup-bot
fd5bf4fb2a Update flask-migrate from 2.4.0 to 2.5.2 2019-08-28 14:00:05 +01:00
Athanasios Voutsadakis
cd936d2e71 Enable statsd exporter for production
Also bump the utils version to include a fix on the error handling logic
when we fail to send a metric.
2019-08-14 11:42:13 +01:00
Leo Hemsted
9726edf68d bump utils
also remove the `read().splitlines()` pattern from csv.reader usage,
as it's redundant. also add .vscode to gitignore to accomodate my
hipster IDE choices, and add some lines to pytest.ini so just running
`py.test` uses some useful flags
2019-08-02 12:41:03 +01:00
Katie Smith
3a9bc36b54 Bump utils to 33.2.4 2019-07-18 15:27:13 +01:00
Katie Smith
db95a8460b Bump utils to 33.2.3 2019-07-18 14:11:41 +01:00
Chris Hill-Scott
a87a8f3fc6 Bump utils to 33.2.2
Changes:
- https://github.com/alphagov/notifications-utils/compare/33.2.1...33.2.2
2019-07-15 15:16:38 +01:00
Chris Hill-Scott
a2e1c812b2 Bump utils to bring in changes to email HTML
Changes:
https://github.com/alphagov/notifications-utils/compare/33.1.0...33.2.1
2019-07-10 10:17:19 +01:00
Pea Tyczynska
090769a069 Pull cancellable job statuses from utils and fix tests 2019-07-01 15:45:03 +01:00
Katie Smith
284785a7d7 Bump utils to add alt text to email branding
Utils 33.0.0 adds alt text to email branding - the HTMLEmailTemplate now
initializes slightly differently as a result (with both `branding_name`
and `branding_text`).
2019-06-25 16:53:07 +01:00
Katie Smith
06d82161cc Bump utils to 32.0.1
This updates requirements and brings in the change to preserve trailing semicolons
on URLs.
2019-06-03 16:15:46 +01:00
Katie Smith
1fac8e8e29 Bump utils to bring in new fragment count for unicode SMS
Version 32.0.0 of notifications-utils changes how SMS fragment count is
calculated. Certain Welsh characters will cause the SMS to be encoded in
unicode encoding (instead of GSM) so the fragment counts will be lower.
2019-05-15 14:02:07 +01:00
pyup-bot
96d4518fe5 Update marshmallow-sqlalchemy from 0.16.2 to 0.16.3 2019-05-08 14:00:10 +01:00
pyup-bot
5be92a159f Update flask-marshmallow from 0.10.0 to 0.10.1 2019-05-08 14:00:05 +01:00
pyup-bot
a22e7a0679 Update cffi from 1.12.2 to 1.12.3 2019-04-29 14:05:47 +01:00
Rebecca Law
ee69e70b76 Bump requirements.
Minor weekly updated and a bump for a security alert in urllib3.
Sort list in test, to ensure it passes everytime.
2019-04-26 10:49:25 +01:00
Katie Smith
c02b7edb92 Bump utils to bring in changes to RecipientCSV rows
Bumped utils to version 31.2.5, which changes when the rows of a
RecipientCSV get created. Switched to using `.get_rows()` from
RecipientCSV (a generator) instead of the `.rows` property (which builds
a list of the rows in memory).
2019-04-25 10:58:19 +01:00
pyup-bot
adcdac636e Update sqlalchemy from 1.2.18 to 1.3.2 2019-04-10 14:00:12 +01:00
pyup-bot
bd51d82443 Update psycopg2-binary from 2.7.7 to 2.8.1 2019-04-10 14:00:11 +01:00
pyup-bot
0efce16ebf Update marshmallow from 2.19.1 to 2.19.2 2019-04-10 14:00:09 +01:00
pyup-bot
670a50127d Update eventlet from 0.23.0 to 0.24.1 2019-04-10 14:00:08 +01:00
pyup-bot
ee4f0d1b59 Update cffi from 1.12.1 to 1.12.2 2019-04-10 14:00:07 +01:00
Alexey Bezhan
d43b53db73 Stop pyup from trying to upgrade gunicorn 2019-04-10 11:32:11 +01:00
Katie Smith
9b739aaa1c Upgrade flask-marshmallow from 0.9.0 to 0.10.0 2019-03-22 13:43:36 +00:00
Katie Smith
60be63133c Upgrade marshmallow from 2.18.1 to 2.19.1 2019-03-22 13:43:36 +00:00
Katie Smith
5d03b92993 Upgrade marshmallow-sqlalchemy from 0.16.0 to 0.16.1 2019-03-22 13:43:36 +00:00
Katie Smith
05ab6ceeef Upgrade jsonschema from 3.0.0b3 to 3.0.1
Running `make freeze-requirements` causes Werkzeug to be updated from
0.14.1 to 0.15.1, which means that we need to change the message of 1
test.
2019-03-22 13:43:26 +00:00
Chris Hill-Scott
f961110603 Bump utils
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/592
2019-03-18 16:01:08 +00:00
Leo Hemsted
335eeea235 bump requirements
pyup ignore pytest until we sort all the fixtures as functions issues
2019-02-19 16:17:33 +00:00
Leo Hemsted
27fc67bdae reqs bump 2019-02-06 16:49:56 +00:00
Chris Hill-Scott
406496c2a1 Bump utils to 30.7.5
Brings in:
- [x] https://github.com/alphagov/notifications-utils/pull/572
2019-02-01 09:35:42 +00:00
Pea (Malgorzata Tyczynska)
29c1a39016 Merge pull request #2316 from alphagov/pyup-update-psycopg2-binary-2.7.5-to-2.7.7
Update psycopg2-binary to 2.7.7
2019-01-25 18:44:20 +00:00
Pea (Malgorzata Tyczynska)
8995db0e99 Merge pull request #2297 from alphagov/pyup-update-sqlalchemy-1.2.14-to-1.2.16
Update sqlalchemy to 1.2.16
2019-01-25 18:08:51 +00:00
Pea (Malgorzata Tyczynska)
b3bb7ea9ba Merge branch 'master' into pyup-update-flask-migrate-2.3.0-to-2.3.1 2019-01-25 16:49:26 +00:00
pyup-bot
ca48665778 Update psycopg2-binary from 2.7.5 to 2.7.7 2019-01-22 18:16:07 +00:00
pyup-bot
3661fa4888 Update sqlalchemy from 1.2.14 to 1.2.16 2019-01-11 15:30:45 +00:00
Leo Hemsted
5e7bff08aa Merge pull request #2287 from alphagov/redis-bump
bump utils (inc redis bump)
2019-01-11 10:59:46 +00:00
Leo Hemsted
7f9b64d3df bump utils (inc redis bump) 2019-01-08 15:02:09 +00:00
Alexey Bezhan
47c403f6ab Don't return pagination links for API Message log requests
Flask-SQLAlchemy paginate function issues a separate query to get
the total count of rows for a given filter. This query (with
filters used by the API integration Message log page) is slow for
services with large number of notifications.

Since Message log page doesn't actually allow users to paginate
through the response (it only shows the last 50 messages) we can
use limit instead of paginate, which requires passing in another
flag from admin to the dao method.

`count` flag has been added to `paginate` in March 2018, however
there was no release of flask-sqlalchemy since then, so we need
to pull the dev version of the package from Github.
2019-01-08 13:22:27 +00:00
Leo Hemsted
40a17a0e93 pin redis to 2.x
while we sort out v3 compatibility
2019-01-07 11:14:25 +00:00
Leo Hemsted
2e53ba1e3e bump utils
brings in https://github.com/alphagov/notifications-utils/pull/563
2019-01-04 16:17:52 +00:00