Commit Graph

227 Commits

Author SHA1 Message Date
pyup-bot
15deec37ed Update notifications-python-client from 4.5.0 to 4.6.0 2017-11-06 11:48:51 +00:00
Leo Hemsted
8d7ced798e Merge branch 'master' into pyup-update-monotonic-1.3-to-1.4 2017-11-02 11:51:52 +00:00
Leo Hemsted
d469d22084 Merge pull request #1345 from alphagov/pyup-update-marshmallow-2.13.6-to-2.14.0
Update marshmallow to 2.14.0
2017-11-02 11:51:15 +00:00
Rebecca Law
f01c088f2f Update utils with a fix for address formats for letters. 2017-10-31 15:03:12 +00:00
pyup-bot
437ef72047 Update monotonic from 1.3 to 1.4 2017-10-30 19:17:40 +00:00
pyup-bot
3966efb109 Update marshmallow from 2.13.6 to 2.14.0 2017-10-27 01:03:34 +01:00
Rebecca Law
515a69e8d9 Merge pull request #1339 from alphagov/pyup-update-psycopg2-2.7.3.1-to-2.7.3.2
Update psycopg2 to 2.7.3.2
2017-10-25 15:23:45 +01:00
Rebecca Law
fbc0b69685 Merge pull request #1336 from alphagov/pyup-update-marshmallow-sqlalchemy-0.13.1-to-0.13.2
Update marshmallow-sqlalchemy to 0.13.2
2017-10-25 15:22:31 +01:00
pyup-bot
a0de1d0698 Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 17:32:05 +01:00
pyup-bot
2e43044a0f Update marshmallow-sqlalchemy from 0.13.1 to 0.13.2 2017-10-24 01:17:28 +01:00
pyup-bot
b16c855f56 Update notifications-python-client from 4.4.0 to 4.5.0 2017-10-23 17:48:27 +01:00
Leo Hemsted
b384b13213 Merge pull request #1320 from alphagov/leohemsted-patch-1
log json to stdout
2017-10-17 15:44:43 +01:00
Leo Hemsted
bfb54a3b98 Merge pull request #1319 from alphagov/pyup-update-sqlalchemy-utils-0.32.18-to-0.32.19
Update sqlalchemy-utils to 0.32.19
2017-10-17 15:42:33 +01:00
Leo Hemsted
4d7098c5fd Merge pull request #1312 from alphagov/pyup-update-cffi-1.11.0-to-1.11.2
blacklist 1.11.0 and 1.11.2 of cffi
2017-10-17 15:42:16 +01:00
Leo Hemsted
7817fe1221 log json to stdout 2017-10-17 14:23:02 +01:00
pyup-bot
6d94e43066 Update sqlalchemy-utils from 0.32.18 to 0.32.19 2017-10-17 10:02:17 +01:00
Leo Hemsted
5ad6bc7621 ensure emails are formatted before sending
we allow some invalid to addresses - for example, phone numbers with
spaces or brackets - in the database. This is so that users can match
up their data in a format that they expect (since they passed it in).
When we send SMS, we strip this formatting just before sending - but we
weren't with email. This commit changes that and adds some tests.

It also adds formatting for reply_to addresses. We should never expect
invalid reply_to email addresses in our data, but just in case, lets
validate them here.

Also, bump requirements.txt to capture some more email validation
2017-10-16 17:29:45 +01:00
Chris Hill-Scott
15e7fff9ad Add to list of bad cffi versions
We blacklisted version 1.11.1 in 80c2d85508
because it caused the build to break. The bug hasn’t been fixed in the
next version, so we should ignore it too.
2017-10-16 13:40:58 +01:00
pyup-bot
9767633bc0 Update cffi from 1.11.0 to 1.11.2 2017-10-13 19:09:14 +01:00
Richard Chapman
b32b9bc344 Merge pull request #1308 from alphagov/pyup-update-flask-sqlalchemy-2.2-to-2.3.2
Update flask-sqlalchemy to 2.3.2
2017-10-13 09:27:33 +01:00
pyup-bot
6050526711 Update flask-sqlalchemy from 2.2 to 2.3.2 2017-10-11 16:19:09 +01:00
pyup-bot
ad5a7afe54 Update sqlalchemy-utils from 0.32.16 to 0.32.18 2017-10-06 08:32:01 +01:00
Athanasios Voutsadakis
80c2d85508 Instruct pyup to skip cffi==1.11.1 2017-10-04 12:20:21 +01:00
Athanasios Voutsadakis
c362bd06b0 Pin to a specific version of cffi
Version 1.11.1 seems to be
[broken](https://bitbucket.org/cffi/cffi/issues?status=new&status=open)

It's pulled in because of [Flask-bcrypt](https://github.com/alphagov/notifications-api/blob/master/requirements.txt#L4)
which [depends on bcrypt](https://github.com/maxcountryman/flask-bcrypt/blob/master/setup.py#L33) which
[asks for a version of cffi >= 1.1](https://github.com/pyca/bcrypt/blob/master/setup.py#L12)
2017-10-04 10:58:22 +01:00
chrisw
e3661440d6 bumped utils version 2017-09-19 16:13:42 +01:00
chrisw
f49eca5324 Add a non-GOV.UK banner option for email branding
Added an extra name, 'org_banner', for branding types into branding_type table
Added org banner into user model in database
Added checks for new branding type to ensure that the correct data is passed into the dict
Tested new checks in html email options
2017-09-19 14:40:22 +01:00
Chris Hill-Scott
21817aa865 Merge branch 'master' into running-without-six 2017-09-19 09:53:40 +01:00
Rebecca Law
e11b9cd498 Merge pull request #1229 from alphagov/pyup-update-pyjwt-1.5.2-to-1.5.3
Update pyjwt to 1.5.3
2017-09-19 09:21:39 +01:00
Rebecca Law
8323549f6c Merge branch 'master' into pyup-update-sqlalchemy-utils-0.32.14-to-0.32.16 2017-09-19 09:21:09 +01:00
Chris Hill-Scott
a539b3a3bd Remove six dependency
six is used for Python 2/3 compatibility. We never run under Python 2.
2017-09-18 09:36:56 +01:00
Leo Hemsted
1cc90c870c Merge pull request #1256 from alphagov/bump_utils
Bump utils to 21.2.0
2017-09-15 11:33:06 +01:00
Athanasios Voutsadakis
71f459b2d8 Bump utils to 21.2.0
This will stop logging the request, as it is logged by nginx-access logs
2017-09-15 10:58:45 +01:00
Leo Hemsted
cfd51fbbed Merge pull request #1245 from alphagov/bcrypt
upgrade flask-bcrypt to 0.7.1
2017-09-11 16:22:14 +01:00
Leo Hemsted
43bda1ae2c upgrade flask-bcrypt to 0.7.1
this uses bcrypt directly rather than using the wrapper python-bcrypt.
WARNING! You'll need to update your local install by running:

```
pip uninstall python-bcrypt
pip install flask-bcrypt==0.7.1
```
2017-09-11 15:47:10 +01:00
Athanasios Voutsadakis
2492061c63 Bump notifications-utils version to 21.0.0
This removes the PID from the log files
2017-09-08 16:12:47 +01:00
Imdad Ahad
fa6b8302b6 Merge pull request #1228 from alphagov/pyup-update-sqlalchemy-1.1.13-to-1.1.14
Update sqlalchemy to 1.1.14
2017-09-08 14:22:06 +01:00
pyup-bot
b0c8f13199 Update notifications-python-client from 4.3.1 to 4.4.0 2017-09-06 11:17:12 +01:00
pyup-bot
b88d6b0a2b Update pyjwt from 1.5.2 to 1.5.3 2017-09-05 19:47:12 +01:00
pyup-bot
33becb9b72 Update sqlalchemy from 1.1.13 to 1.1.14 2017-09-05 17:38:17 +01:00
pyup-bot
ae4c10d2ad Update sqlalchemy-utils from 0.32.14 to 0.32.16 2017-09-01 10:31:03 +01:00
Chris Hill-Scott
2244ae8ccd Merge pull request #1218 from alphagov/pyup-update-flask-migrate-2.1.0-to-2.1.1
Update flask-migrate to 2.1.1
2017-08-30 15:53:03 +01:00
Chris Hill-Scott
9716172164 Merge pull request #1217 from alphagov/pyup-update-psycopg2-2.7.3-to-2.7.3.1
Update psycopg2 to 2.7.3.1
2017-08-30 15:52:55 +01:00
pyup-bot
04bf566614 Update boto3 from 1.4.6 to 1.4.7 2017-08-29 21:31:56 +01:00
Chris Hill-Scott
d0be79cc4c Remove Swagger specification
This was only ever a spike into what it might look like to document
Notify’s API with Swagger (see
7c3d25a87a).
It’s no longer updated, and only talks about version 1 of the public
API.

Keeping it around now is just a liability, and gives us additional Pyup
upgrades to deal with.
2017-08-29 10:32:37 +01:00
pyup-bot
14cf3a58a2 Update flask-migrate from 2.1.0 to 2.1.1 2017-08-28 23:18:03 +01:00
pyup-bot
fe30942889 Update psycopg2 from 2.7.3 to 2.7.3.1 2017-08-26 14:56:56 +01:00
Leo Hemsted
4e7c19a98f update utils to v20 - log from multiple app.log*.json files
the rotating file handler puts the date on the end, so those old files won't be pushed
2017-08-25 14:38:04 +01:00
Chris Hill-Scott
6848a50ae1 Bump utils to 19.0.4
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/210
- [ ] https://github.com/alphagov/notifications-utils/pull/212
2017-08-25 09:36:43 +01:00
Chris Hill-Scott
ce2c157f8f Bump utils to 19.0.2
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/211
2017-08-24 17:11:46 +01:00
Leo Hemsted
336ee69f02 make pyup ignore flask-bcrypt
pyup is trying to upgrade flask-bcrypt, which causes errors in all subsequent PR builds for #reasons. Lets make pyup ignore flask-bcrypt until we figure out why the upgrade doesn't work
2017-08-24 11:16:21 +01:00