Leo Hemsted
3b5eefdd3d
Merge pull request #1923 from alphagov/pyup-update-sqlalchemy-1.2.8-to-1.2.9
...
Update sqlalchemy to 1.2.9
2018-07-02 14:30:42 +01:00
Rebecca Law
08dcc920a2
Updated notifications-util to the latest version.
...
There has been an update to the email validation code.
Added an extra test for email validation.
2018-07-02 13:48:40 +01:00
pyup-bot
cb0971dcce
Update sqlalchemy from 1.2.8 to 1.2.9
2018-06-29 19:09:51 +01:00
Leo Hemsted
1f2f12238c
Merge pull request #1909 from alphagov/pyup-update-flask-migrate-2.2.0-to-2.2.1
...
Update flask-migrate to 2.2.1
2018-06-26 16:07:10 +01:00
pyup-bot
ffcaded795
Update flask-migrate from 2.2.0 to 2.2.1
2018-06-18 15:29:31 +01:00
pyup-bot
410040461f
Update psycopg2-binary from 2.7.4 to 2.7.5
2018-06-17 19:32:28 +01:00
pyup-bot
3e3d71937a
Update sqlalchemy from 1.2.7 to 1.2.8
2018-06-14 13:24:39 +01:00
Chris Hill-Scott
60ec5777be
Merge pull request #1904 from alphagov/pyup-update-flask-migrate-2.1.1-to-2.2.0
...
Update flask-migrate to 2.2.0
2018-06-14 13:24:11 +01:00
Chris Hill-Scott
6e4ea76b73
Merge pull request #1892 from alphagov/pyup-update-marshmallow-sqlalchemy-0.13.2-to-0.14.0
...
Update marshmallow-sqlalchemy to 0.14.0
2018-06-14 13:23:59 +01:00
Chris Hill-Scott
f88d853d3a
Merge pull request #1890 from alphagov/pyup-update-pyjwt-1.6.3-to-1.6.4
...
Update pyjwt to 1.6.4
2018-06-14 13:23:18 +01:00
pyup-bot
6100d4df69
Update flask-migrate from 2.1.1 to 2.2.0
2018-06-13 07:59:19 +01:00
Richard Chapman
3a7fe69ef7
Merge pull request #1860 from alphagov/pyup-update-flask-0.12.2-to-1.0.2
...
Update flask to 1.0.2
2018-06-01 14:07:34 +01:00
Richard Chapman
32b176ccc3
Merge pull request #1862 from alphagov/pyup-update-monotonic-1.4-to-1.5
...
Update monotonic to 1.5
2018-06-01 14:07:24 +01:00
pyup-bot
ee6bb99310
Update marshmallow-sqlalchemy from 0.13.2 to 0.14.0
2018-05-29 03:41:50 +01:00
pyup-bot
8f40766121
Update pyjwt from 1.6.3 to 1.6.4
2018-05-24 04:12:43 +01:00
Katie Smith
29a3264e9b
Merge pull request #1873 from alphagov/pyup-update-eventlet-0.22.1-to-0.23.0
...
Update eventlet to 0.23.0
2018-05-23 12:15:47 +01:00
Katie Smith
105fcb6a67
Merge pull request #1879 from alphagov/pyup-update-pyjwt-1.6.1-to-1.6.3
...
Update pyjwt to 1.6.3
2018-05-23 12:15:39 +01:00
Leo Hemsted
9b7cd15586
Merge branch 'master' into pyup-update-monotonic-1.4-to-1.5
2018-05-23 09:59:00 +01:00
pyup-bot
84c3f53902
Update marshmallow from 2.15.1 to 2.15.3
2018-05-20 19:11:35 +01:00
pyup-bot
42583cbae7
Update pyjwt from 1.6.1 to 1.6.3
2018-05-19 18:27:32 +01:00
pyup-bot
5b6f6bdc93
Update eventlet from 0.22.1 to 0.23.0
2018-05-11 11:43:46 +01:00
Leo Hemsted
307fd24072
Revert "Update gunicorn to 19.8.1"
2018-05-11 10:57:04 +01:00
Rebecca Law
20129a2b14
Merge pull request #1854 from alphagov/pyup-update-gunicorn-19.7.1-to-19.8.1
...
Update gunicorn to 19.8.1
2018-05-10 12:01:15 +01:00
Rebecca Law
b4883fdd89
Merge pull request #1836 from alphagov/pyup-update-sqlalchemy-1.2.6-to-1.2.7
...
Update sqlalchemy to 1.2.7
2018-05-10 12:01:01 +01:00
Rebecca Law
87161b147f
Merge pull request #1805 from alphagov/pyup-update-celery-3.1.25-to-3.1.26.post2
...
Update celery to 3.1.26.post2
2018-05-10 12:00:47 +01:00
Chris Hill-Scott
cefa253578
Remove monotonic
...
> On Python 3.3 or newer, monotonic will be an alias of time.monotonic
> from the standard library. On older versions, it will fall back to an
> equivalent implementation.
– https://pypi.org/project/monotonic/
2018-05-04 10:56:51 +01:00
pyup-bot
47dcef35eb
Update monotonic from 1.4 to 1.5
2018-05-04 10:56:51 +01:00
pyup-bot
ed2aef4ebd
Update flask from 0.12.2 to 1.0.2
2018-05-02 15:50:02 +01:00
Katie Smith
6544666cd2
Merge pull request #1846 from alphagov/pyup-update-marshmallow-2.15.0-to-2.15.1
...
Update marshmallow to 2.15.1
2018-05-01 14:47:59 +01:00
Katie Smith
2619bc1002
Merge pull request #1843 from alphagov/pyup-update-notifications-python-client-4.8.1-to-4.8.2
...
Update notifications-python-client to 4.8.2
2018-05-01 14:47:48 +01:00
pyup-bot
f924918d1e
Update gunicorn from 19.7.1 to 19.8.1
2018-04-30 19:50:55 +01:00
Leo Hemsted
897ab93148
zendesk instead of deskpro
2018-04-27 16:36:39 +01:00
pyup-bot
f7df64522a
Update marshmallow from 2.15.0 to 2.15.1
2018-04-26 03:55:47 +01:00
pyup-bot
adfb0a5367
Update notifications-python-client from 4.8.1 to 4.8.2
2018-04-25 10:41:46 +01:00
pyup-bot
a3b5e6ec86
Update sqlalchemy from 1.2.6 to 1.2.7
2018-04-20 22:04:37 +01:00
Chris Hill-Scott
308511e0ed
Bump utils to normalise newlines in text messages
...
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/460
2018-04-12 11:13:02 +01:00
Chris Hill-Scott
c9882e2f9c
Bump utils to improve plain text email formatting
...
Brings in:
- [x] https://github.com/alphagov/notifications-utils/pull/438
- [x] https://github.com/alphagov/notifications-utils/pull/450
- [x] https://github.com/alphagov/notifications-utils/pull/454
Changes:
- https://github.com/alphagov/notifications-utils/compare/25.3.0...26.2.0
2018-04-10 11:14:48 +01:00
Leo Hemsted
aa7a33c859
Merge pull request #1815 from alphagov/pyup-update-sqlalchemy-1.2.5-to-1.2.6
...
Update sqlalchemy to 1.2.6
2018-04-09 15:17:14 +01:00
Leo Hemsted
8e73961f65
add new redis template usage per day key
...
We've run into issues with redis expiring keys while we try and write
to them - short lived redis TTLs aren't really sustainable for keys
where we mutate the state. Template usage is a hash contained in redis
where we increment a count keyed by template_id each time a message is
sent for that template. But if the key expires, hincrby (redis command
for incrementing a value in a hash) will re-create an empty hash.
This is no good, as we need the hash to be populated with the last
seven days worth of data, which we then increment further. We can't
tell whether the hincrby created the key, so a different approach
entirely was needed:
* New redis key: <service_id>-template-usage-<YYYY-MM-DD>. Note: This
YYYY-MM-DD is BTC time so it lines up nicely with ft_billing table
* Incremented to from process_notification - if it doesn't exist yet,
it'll be created then.
* Expiry set to 8 days every time it's incremented to.
Then, at read time, we'll just read the last eight days of keys from
Redis, and sum them up. This works because we're only ever incrementing
from that one place - never setting wholesale, never recreating the
data from scratch. So we know that if the data is in redis, then it is
good and accurate data.
One thing we *don't* know and *cannot* reason about is what no key in
redis means. It could be either of:
* This is the first message that the service has sent today.
* The key was deleted from redis for some reason.
Since we set the TTL to so long, we'll never be writing to a key that
previously expired. But if there is a redis (or operator) error and the
key is deleted, then we'll have bad data - after any data loss we'll
have to rebuild the data.
2018-04-03 16:12:54 +01:00
Chris Hill-Scott
c9b297a3d4
Bump utils to 25.2.3
...
To bring in:
- [x] https://github.com/alphagov/notifications-utils/pull/436
Changes:
- https://github.com/alphagov/notifications-utils/compare/25.2.2...25.2.3
2018-04-03 12:10:45 +01:00
pyup-bot
691a44f1cf
Update sqlalchemy from 1.2.5 to 1.2.6
2018-03-30 21:49:12 +01:00
Chris Hill-Scott
eebd754a58
Don’t show HTML entities in plain text emails
...
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/427
2018-03-27 14:44:41 +01:00
pyup-bot
296c4d30ff
Update celery from 3.1.25 to 3.1.26.post2
2018-03-24 17:12:58 +00:00
Chris Hill-Scott
af9e9aa1f5
Update utils to fix size of non-gov logos
...
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/421
2018-03-23 14:56:42 +00:00
kentsanggds
6e9bab5544
Merge pull request #1778 from alphagov/pyup-update-notifications-python-client-4.7.2-to-4.8.1
...
Update notifications-python-client to 4.8.1
2018-03-23 10:35:16 +00:00
pyup-bot
62e5c9742b
Update pyjwt from 1.6.0 to 1.6.1
2018-03-18 13:39:46 +00:00
pyup-bot
4fd472f53c
Update notifications-python-client from 4.7.2 to 4.8.1
2018-03-16 14:55:34 +00:00
kentsanggds
421d358525
Merge pull request #1718 from alphagov/pyup-update-cffi-1.11.0-to-1.11.5
...
Update cffi to 1.11.5
2018-03-16 11:29:38 +00:00
Richard Chapman
3e48903b23
Merge pull request #1756 from alphagov/rc_send_template_preview_one_page
...
Updated the notification template endpoint to extract the pdf page
2018-03-12 14:46:38 +00:00
Ken Tsang
a29f4ed117
Removed comments as no longer necessary
2018-03-12 12:45:42 +00:00