imdadahad
6d23dfde64
Merge pull request #858 from alphagov/revert-857-tmp-add-logging-for-report-download
...
Revert "Add temporary logging for job notifications' retrieval"
2017-03-13 17:23:19 +00:00
imdadahad
907862be2f
Revert "Add temporary logging for job notifications' retrieval"
2017-03-13 15:53:17 +00:00
imdadahad
05085982e0
Merge pull request #857 from alphagov/tmp-add-logging-for-report-download
...
Add temporary logging for job notifications' retrieval
2017-03-13 15:36:27 +00:00
Imdad Ahad
db97ff5b28
Log key pagination attrs and next download query params
2017-03-13 14:50:56 +00:00
bandesz
81522474ca
Decrease PaaS apps memory to 1G
2017-03-13 11:51:02 +00:00
Rebecca Law
28249fb4e2
Merge pull request #855 from alphagov/create-dvla-file
...
Add new job status for dvla file processing
2017-03-13 11:31:24 +00:00
Rebecca Law
ecb63a8008
Add new job status.
...
ready to send == we have created a dvla file in S3, the job id is in the file name
sent to dvla == we have created an aggregate dvla file to send for the day and have sent the file via sftp
2017-03-10 16:33:15 +00:00
Chris Hill-Scott
761ff86591
Merge pull request #853 from alphagov/ignore-additional-personalisation
...
Quietly ignore extra personalisation
2017-03-10 16:16:27 +00:00
imdadahad
c11f4b5d5d
Merge pull request #829 from alphagov/feat-add-endpoint-for-service-monthly-usage-stats
...
Add endpoint for service monthly usage stats by template
2017-03-09 16:12:22 +00:00
imdadahad
e3203316f5
Merge pull request #854 from alphagov/add-separate-schema-for-providers
...
Split schema for provider and provider history
2017-03-09 11:14:17 +00:00
Imdad Ahad
ed8dcf5fa1
Refactor schemas and add tests to ensure user is returned on provider schema
...
dump
2017-03-09 08:43:44 +00:00
Imdad Ahad
e42b15ac7a
Split schema for provider and provider history
2017-03-08 17:21:02 +00:00
imdadahad
7b110d9ae4
Merge pull request #851 from alphagov/feat-add-who-updated-providers
...
Store who updated providers
2017-03-08 16:23:44 +00:00
Rebecca Law
a684ab5544
Merge pull request #852 from alphagov/receive-sms-messages
...
Initial creation of the endpoint to receive sms messages
2017-03-08 15:10:51 +00:00
Rebecca Law
51ab7a5dbf
Change log message
2017-03-08 14:40:12 +00:00
Imdad Ahad
a4dc614ef7
Restore dao_create_template and use custom template fixture instead
2017-03-08 13:03:44 +00:00
Imdad Ahad
36d52c6e42
Add template type to response and refactor
2017-03-08 12:01:38 +00:00
Imdad Ahad
520c588d56
Add endpoint to retreive stats for service by template per month
2017-03-08 12:01:38 +00:00
Imdad Ahad
8272a4388d
Add dao method to get template stats per month in financial year for service
2017-03-08 12:01:38 +00:00
Imdad Ahad
1ccaf08003
Fix migration and small refactor
2017-03-08 09:49:47 +00:00
Chris Hill-Scott
e507fed152
Quietly ignore extra personalisation
...
> If a user makes an API request with additional personalisation fields,
> we should simply discard any fields that the template doesn't have.
>
> This gives a couple of related advantages:
>
> - modifying template parameters no longer requires downtime for
> clients - as they can pass in extra new parameters before a template
> change, or continue passing in old unused parameters after removing
> them from a template
>
> - services can pass in large user objects, for example, and then play
> around with templates adding and removing fields at will
>
> we should make sure we still return an error if a user doesn't pass in
> a required parameter.
– https://www.pivotaltracker.com/story/show/140774195
2017-03-07 16:09:17 +00:00
bandesz
b0d5def289
Increase memory for PaaS
2017-03-06 14:48:27 +00:00
Rebecca Law
77f520acba
Created an endpoint to test how the incoming messages from MMG will work.
...
So this just prints the response to logs, removing the phone number first. Then returns the requested RECEIVED.
2017-03-06 11:58:49 +00:00
Andras Ferencz-Szabo
b89923c525
Merge pull request #850 from alphagov/paas_redis_config
...
Get Redis config from PaaS
2017-03-03 12:41:50 +00:00
bandesz
271b664a7e
Log SNS subscription URL
2017-03-03 12:17:53 +00:00
bandesz
e8bf03c7e1
Get Redis config from PaaS
2017-03-03 11:35:51 +00:00
Imdad Ahad
f6dbc6a06c
Updates:
...
* Add endpoint to retrieve provider history
* Remove marshmallow schemas when updating a provider
* Include created by user when updating a provider
2017-03-03 10:54:20 +00:00
Imdad Ahad
fe2ccb2222
Remove unused import and ensure provider details are restored after test
2017-03-03 10:54:20 +00:00
Imdad Ahad
37341e7a62
Updates:
...
* Add notify user id in config
* Add dao method to get provider history versions along with tests
* BUG: Provider switching did not handle case where priorities were equal. This
* adds a fix to properly cover this case along with tests
2017-03-03 10:54:20 +00:00
Imdad Ahad
19df677315
Add created_by to provider and provider history table
2017-03-03 10:54:20 +00:00
Leo Hemsted
b10d7ecb92
Merge pull request #849 from alphagov/reply-to-address
...
add letter_contact_block text field to service
2017-03-03 10:51:06 +00:00
Leo Hemsted
f5511a19a2
add letter_contact_block text field to service
2017-03-02 16:42:06 +00:00
Rebecca Law
1e2432ac06
Merge pull request #848 from alphagov/add-dvla-provider
...
Added the provider details for DVLA.
2017-03-02 12:21:54 +00:00
Rebecca Law
6386cb968a
Fix tests.
...
Fix copy/paste error in the history table
2017-03-02 12:12:01 +00:00
Rebecca Law
a63b30aba9
Merge pull request #847 from alphagov/remove-unused-code-lines
...
Query enhancement
2017-03-02 11:44:53 +00:00
Rebecca Law
beb7fda32b
Added the provider details for DVLA.
...
The rates are a bogus number.
2017-03-02 11:42:37 +00:00
Rebecca Law
d36eec652d
Removed unused code in services_dao, which led to looking some of the queries.
...
By removing the join to services for the fetch_stats_by_date_range_for_all_services and dao_fetch_todays_stats_for_all_services
queries we get a 30% and 25% performance improvement.
2017-03-01 17:12:29 +00:00
bandesz
652f76eaf6
Increase default memory to 512M for delivery PaaS workers
2017-02-28 18:54:57 +00:00
bandesz
a079897bd1
Ignore docker pull errors
2017-02-28 18:27:04 +00:00
bandesz
b453dd59d0
Add termination timeout to run_app_paas.sh
2017-02-28 17:39:04 +00:00
Rebecca Law
70a239b023
Merge pull request #846 from alphagov/fix-failed-login-count
...
Fix failed login count
2017-02-28 16:24:46 +00:00
Rebecca Law
fd0bfbe2f6
If user account is locked return 404 even if the code is correct.
...
Update user.failed_login_count = 0 if code is correct.
New endpoint to reset the failed_login_count
2017-02-28 14:28:33 +00:00
bandesz
3a8e4499dc
Fix __pycache__ exclude
2017-02-28 13:18:25 +00:00
bandesz
1e83f7d8e2
Remove Docker commands for CF, clean up artifact creation
2017-02-28 12:32:01 +00:00
Rebecca Law
fb61b4528b
Remove resetting the failed_login_count to zero in the api. The admin app will deal with doing that.
2017-02-28 11:21:47 +00:00
Andras Ferencz-Szabo
98ec147aae
Merge pull request #845 from alphagov/remove_jenkinsfiles
...
Remove Jenkinsfiles, add PaaS build/upload artifact tasks
2017-02-28 10:57:40 +00:00
bandesz
34f1eff84d
Remove Jenkinsfiles, add PaaS build/upload artifact tasks
2017-02-28 10:47:11 +00:00
Chris Hill-Scott
f947679881
Merge pull request #843 from alphagov/quis-patch-1
...
Add Coveralls badge
2017-02-27 16:41:25 +00:00
imdadahad
f4be099533
Merge pull request #824 from alphagov/feat-switch-providers-on-slow-delivery
...
Auto-switch providers on slow delivery of notifications
2017-02-27 16:25:15 +00:00
Imdad Ahad
d7e4ca2a43
Remove created notification - not needed for test
2017-02-27 15:01:44 +00:00