Leo Hemsted
01fbafd41e
Merge pull request #1908 from alphagov/pyup-update-psycopg2-binary-2.7.4-to-2.7.5
...
Update psycopg2-binary to 2.7.5
2018-06-26 16:06:00 +01:00
Sakis
817ae30287
Merge pull request #1917 from alphagov/gunicorn-accesslog
...
Remove GUNICORN_CMD_ARGS before we start our app
2018-06-25 17:07:55 +01:00
Athanasios Voutsadakis
fb856ffd3b
Remove GUNICORN_CMD_ARGS before we start our app
...
More details: alphagov/notifications-admin#2128
2018-06-25 16:54:33 +01:00
Rebecca Law
7acea653e8
Merge pull request #1915 from alphagov/format-for-csv
...
Format data for csv
2018-06-25 10:57:11 +01:00
Rebecca Law
6d5eff028e
Format the data for the csv.
2018-06-21 17:04:49 +01:00
Sakis
2d82487a7b
Merge pull request #1903 from alphagov/syslog-drain-production
...
Enable syslog drain on all environments
2018-06-21 11:16:26 +01:00
Rebecca Law
d6ce4b8268
Merge pull request #1914 from alphagov/nightly-task-ft_notification_status
...
Nightly task for updating ft_notification_status
2018-06-21 09:57:26 +01:00
Rebecca Law
1ab4654396
Fix codestyle
2018-06-20 16:54:12 +01:00
Rebecca Law
1363244a2b
Added the scheduling for the task
2018-06-20 16:48:03 +01:00
Rebecca Law
709a6c38c7
Created a task to update ft_notification_status for the last three days.
2018-06-20 16:45:20 +01:00
Rebecca Law
5cb5d017b9
Merge pull request #1913 from alphagov/ft_notification_status-migration
...
Small fix for migration query
2018-06-20 15:05:13 +01:00
Rebecca Law
16bb62e029
Due to a bug in 2016, there are some rows without a template id.
...
For that case use a default template id.
2018-06-20 14:51:24 +01:00
Rebecca Law
0bba323dba
Merge pull request #1912 from alphagov/ft_notification_status-migration
...
Complete the migration command for ft_notification_status.
2018-06-20 14:12:23 +01:00
Rebecca Law
15e81aa7b3
Update to the command to migrate data for ft_notification_status.
...
Removed the initial queries - I don't think they are helpful.
2018-06-20 14:04:03 +01:00
pyup-bot
410040461f
Update psycopg2-binary from 2.7.4 to 2.7.5
2018-06-17 19:32:28 +01:00
Chris Hill-Scott
44f2d21513
Merge pull request #1907 from alphagov/hmpo-letter-logo
...
Add letter logo for HM Passport Office
2018-06-15 14:15:25 +01:00
Chris Hill-Scott
ea06316807
Add letter logo for HM Passport Office
...
`009` matches the ID defined in
https://github.com/alphagov/notifications-template-preview/pull/143
2018-06-15 14:06:16 +01:00
Chris Hill-Scott
d8201298b1
Merge pull request #1906 from alphagov/pyup-update-sqlalchemy-1.2.7-to-1.2.8
...
Update sqlalchemy to 1.2.8
2018-06-14 13:36:24 +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
Chris Hill-Scott
f1dfcfad7f
Merge pull request #1897 from alphagov/pyup-update-pytest-3.6.0-to-3.6.1
...
Update pytest to 3.6.1
2018-06-14 13:20:38 +01:00
Chris Hill-Scott
7ac1ca517c
Merge pull request #1905 from alphagov/smart-phone-search
...
Search for emails or texts, depending on term
2018-06-14 12:37:02 +01:00
Chris Hill-Scott
5741dd9251
Merge pull request #1901 from alphagov/add-caseworking-service-permission
...
Add ‘caseworking’ service permission
2018-06-14 10:33:39 +01:00
Chris Hill-Scott
27faf7912b
Search for emails or texts, depending on term
...
The caseworking view is going to have a page which displays emails and
text messages combined together.
In order for the search to work on this page the user needs to be able
to search for an email or a text message. This commit makes it guess
what to search for when the `notification_type` isn’t known (basically
by saying ‘if the search term is only digits they’re probably looking
searching by phone number’).
2018-06-14 10:32:04 +01:00
pyup-bot
6100d4df69
Update flask-migrate from 2.1.1 to 2.2.0
2018-06-13 07:59:19 +01:00
Athanasios Voutsadakis
2ac441f43e
Enable syslog drain on all environments
2018-06-11 16:51:32 +01:00
Sakis
6d91867dcf
Merge pull request #1902 from alphagov/syslog-drain-staging
...
Add syslog drain on staging
2018-06-11 16:32:21 +01:00
Athanasios Voutsadakis
11f69d2a0a
Add syslog drain on staging
2018-06-11 16:14:36 +01:00
Chris Hill-Scott
234c5c705a
Add ‘caseworking’ service permission
...
We want to add the option for a user to have a more restricted view of
Notify.
This should be opt in/out on a per service basis, because it will be
appropriate only for a minority of teams. It shouldn’t be the default
because most teams (those without a lot of users or those only using the
API) won’t need it.
So this commit adds it as a new service permission, which means we can
roll it out:
- in prototype form initially
- then as an opt-in service setting
2018-06-11 13:23:06 +01:00
Rebecca Law
87bff670ff
Merge pull request #1900 from alphagov/add-ses-ref
...
Add some useful information to the log.
2018-06-07 15:18:31 +01:00
Rebecca Law
2381850d05
Refactor - extract common code into a method.
2018-06-07 14:54:40 +01:00
Rebecca Law
56c6d5101c
Add some useful information to the log.
...
Fix unit test to actually test the right thing
2018-06-07 12:30:04 +01:00
Rebecca Law
7511c36dd7
Merge pull request #1899 from alphagov/fix-bounce-logging
...
Fix logging for a bounce message
2018-06-07 10:49:14 +01:00
Rebecca Law
e353a058e0
We'd like to see what the bounce message is from SES.
...
If there is a bounce we update the email to failed.
However, there is more than one reason for the failed message. Adding this logging will give us more details about the failure message.
2018-06-07 10:36:04 +01:00
Rebecca Law
439c8024dd
Merge pull request #1898 from alphagov/get-all-complaints
...
Get all complaints
2018-06-06 11:00:37 +01:00
Rebecca Law
4966da8289
Fix to handle_complaints.
...
The json we were getting from SES was not quite as expected, the test data now reflects what we get.
New test added, fix a test that was passing regardless.
2018-06-06 10:37:31 +01:00
Rebecca Law
c5524a3fe9
[WIP]
2018-06-05 17:23:24 +01:00
Rebecca Law
64f077f2f4
New endpoint to return data for complaints.
2018-06-05 14:25:24 +01:00
pyup-bot
eebaca8df2
Update pytest from 3.6.0 to 3.6.1
2018-06-05 09:23:05 -04:00
Rebecca Law
2bc6315408
Merge pull request #1896 from alphagov/handle-ses-complaints
...
Save complaints from SES
2018-06-05 11:05:24 +01:00
Rebecca Law
7fa42c2cc5
When SES callback is for a complaint save that to the new complaints table.
...
When handling the complaint we don't want to throw an exception if the message is missing fields. Only log an exception if we are unable to tie a complaint to a notification.
2018-06-04 17:29:58 +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
Richard Chapman
b3bc91f189
Merge pull request #1895 from alphagov/rc_add_service_contact_link_to_db
...
Added Service contact_link column
2018-06-01 14:07:13 +01:00
Richard Chapman
2daaa5e19c
Rebase of master and increment filename for as there was already a 196
...
migration script.
2018-05-31 16:30:14 +01:00
Richard Chapman
aaba157587
Added Service contact_link column
...
This is going to be used for for the document download citizen landing
page, a service will add a contact link
e.g. https://customerservicecontactnumber.uk/dwp/ which will allow the
user to contact the sending department if there is an error or any
issues with the download.
* Added the contact link to the model
* Added db migration script to add the column to the database
2018-05-31 16:03:12 +01:00
Rebecca Law
06807c3d16
Merge pull request #1894 from alphagov/handle-ses-complaints
...
Handle ses complaints
2018-05-31 15:52:18 +01:00
Rebecca Law
1faba916b2
New complaints model to persist complaints from SES.
...
If a someone gets an email from one of our services and then complain about it (mark as spam or otherwise), we get a callback from SES.
The service needs to know about these complaints so they can remove that email from their mailing list.
2018-05-31 14:43:49 +01:00