Commit Graph

512 Commits

Author SHA1 Message Date
Leo Hemsted
a1ebcc436e Merge branch 'master' into pyup-update-sqlalchemy-1.2.0-to-1.2.1 2018-01-16 12:00:27 +00:00
Leo Hemsted
bda70b99f7 Merge branch 'master' into pyup-update-boto3-1.5.6-to-1.5.15 2018-01-16 11:35:17 +00:00
pyup-bot
a2cf254a17 Update awscli from 1.14.16 to 1.14.25 2018-01-16 02:54:36 +00:00
pyup-bot
afcbfda566 Update boto3 from 1.5.6 to 1.5.15 2018-01-16 02:54:27 +00:00
pyup-bot
0e6b18854b Update sqlalchemy from 1.2.0 to 1.2.1 2018-01-15 15:00:27 +00:00
chrisw
ccdbcf8499 bumped utils version 2018-01-11 16:03:07 +00:00
Chris Hill-Scott
45c9c084e7 Enable Markdown links in emails
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/293
2018-01-02 11:22:18 +00:00
Leo Hemsted
d2080d754f update requirements.txt 2017-12-28 10:58:15 +00:00
Chris Hill-Scott
02c105328c Add undocumented support for <hr>s in emails
Implements:
- [x] https://github.com/alphagov/notifications-utils/pull/275/files
2017-12-11 16:37:16 +00:00
Chris Hill-Scott
21f6e78495 Fix incomplete version number specification
It needs setting to the new one in both places.
2017-12-07 15:07:54 +00:00
kentsanggds
7e5005b4df Update requirements to fix html5lib issue 2017-12-07 14:47:00 +00:00
Leo Hemsted
6fe54e220b Merge branch 'master' into pyup-update-marshmallow-2.14.0-to-2.15.0 2017-12-06 15:36:29 +00:00
Richard Chapman
739f484361 Merge branch 'master' into pyup-update-marshmallow-2.14.0-to-2.15.0 2017-12-06 11:02:44 +00:00
pyup-bot
0d12b06667 Update awscli from 1.14.2 to 1.14.4 2017-12-05 23:50:00 +00:00
Richard Chapman
c63cb6572b Merge pull request #1453 from alphagov/pyup-update-awscli-1.14.1-to-1.14.2
Update awscli to 1.14.2
2017-12-04 09:29:54 +00:00
pyup-bot
47d18a8b82 Update marshmallow from 2.14.0 to 2.15.0 2017-12-02 23:18:50 +00:00
Leo Hemsted
f565cf4824 Merge pull request #1454 from alphagov/smartypants-boost
update utils to 23.2.0
2017-12-01 13:39:26 +00:00
Leo Hemsted
f183d03775 update utils to 23.2.1
note: this requires adding smartypants as a line in requirements.txt,
due to it coming from a git repo. Once the new version of smartypants
is in pypi, this'll no longer be required
2017-12-01 13:29:17 +00:00
pyup-bot
382f429c6c Update awscli from 1.14.1 to 1.14.2 2017-11-30 20:19:45 +00:00
pyup-bot
59a37d79e5 Pin awscli to latest version 1.14.1 2017-11-30 04:19:44 +00:00
Leo Hemsted
5b7118973e take advantage of click's type validation/coercion
(saves us having to write the stuff ourselves). Also adds a small
click plugin to do datetime parsing.

Sample output:

```
[leohemsted:~/dev/api]$ flask command create_provider_rates --help
Usage: flask command create_provider_rates [OPTIONS]

  Backfill rates for a given provider

Options:
  -p, --provider_name [mmg|firetext|ses]
                                  [required]
  -c, --cost FLOAT                Cost (pence) per message including decimals
                                  [required]
  -d, --valid_from DATE           [required]
  --help                          Show this message and exit.
[leohemsted:~/dev/api]$ flask command create_provider_rates -p ses -c 1.234 -d invalid
Usage: flask command create_provider_rates [OPTIONS]

Error: Invalid value for "-d" / "--valid_from": Could not parse datetime string "invalid" formatted as %Y-%m-%dT%H:%M:%S
```
2017-11-28 12:50:29 +00:00
Venus Bailey
9af2b54e48 Merge pull request #1413 from alphagov/pyup-update-boto3-1.4.7-to-1.4.8
Update boto3 to 1.4.8
2017-11-27 16:09:25 +00:00
Leo Hemsted
b7d5e80509 Merge pull request #1423 from alphagov/fix-firetext-inbound-500s
fix 500s when inbound msgs sent from alphanumerics rather than normal…
2017-11-24 15:39:39 +00:00
Leo Hemsted
9f56dccdee Remove flask-script, move commands to click
click (http://click.pocoo.org/) is used by flask to run its cli args.
In removing flask_script (it's unmaintained), we had to migrate all our
commands to use click. This is a change for the better in my eyes - you
don't need to define the command in several places, and it makes
managing options a bit easier.

View diff with whitespace turned off unless you're a masochist.
2017-11-23 17:04:58 +00:00
Leo Hemsted
f3d129b0d8 fix 500s when inbound msgs sent from alphanumerics rather than normal phone numbers 2017-11-23 15:22:18 +00:00
pyup-bot
92efa9c82c Update boto3 from 1.4.7 to 1.4.8 2017-11-22 07:49:28 +00:00
Athanasios Voutsadakis
a0beb190f3 Merge branch 'master' into bump_utils_2301 2017-11-20 11:16:29 +00:00
Chris Hill-Scott
42bf329593 Merge pull request #1388 from alphagov/pyup-update-sqlalchemy-utils-0.32.19-to-0.32.21
Update sqlalchemy-utils to 0.32.21
2017-11-20 10:26:22 +00:00
Athanasios Voutsadakis
69e42b7a74 Bump utils to 23.0.1 2017-11-17 15:00:26 +00:00
Athanasios Voutsadakis
1da32f81d0 Bump utils version to 22.1.0 2017-11-16 12:10:55 +00:00
Athanasios Voutsadakis
7a24cd8753 Typos 2017-11-14 16:04:04 +00:00
Athanasios Voutsadakis
c52fae0a30 Bump utils version in requirements 2017-11-14 14:32:11 +00:00
pyup-bot
d45283d0f4 Update sqlalchemy-utils from 0.32.19 to 0.32.21 2017-11-11 19:18:01 +00:00
Richard Chapman
485c4a7c10 Merge pull request #1374 from alphagov/pyup-update-sqlalchemy-1.1.14-to-1.1.15
Update sqlalchemy to 1.1.15
2017-11-09 16:28:04 +00:00
pyup-bot
15deec37ed Update notifications-python-client from 4.5.0 to 4.6.0 2017-11-06 11:48:51 +00:00
pyup-bot
90de46bbb6 Update sqlalchemy from 1.1.14 to 1.1.15 2017-11-03 21:24:48 +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