Commit Graph
100 Commits
Author SHA1 Message Date
Leo Hemsted c64e19b153 pin gunicorn to support newer version of eventlet
this is consistent with notifications api
https://github.com/alphagov/notifications-api/pull/3466
2022-03-03 11:16:24 +00:00
Leo Hemsted a602ffceb9 fix bug where job reports showed before jobs finished
for a job to be finished there are two requirements:

* the status to be "finished"
* the percentage complete to be 100%

The job status is set to finished when the process_job task finishes
(even though not all process_row may have finished). The
percentage_complete is calculated by comparing the number of
notifications in the database with the number of rows in the
spreadsheet.

This was inadvertently changed from an "and" to an "or" clause two years
ago. This meant that people could download a report when the status was
finished but not all notifications were present in the database. Lets
change it back.

https://github.com/alphagov/notifications-admin/commit/7d52ac97f111f6538b5cbe5cae1d369aac30cd04#diff-44b012cad205379c481bed244ddb2294bae5ee85dcd01f4aee932a2bd85b67b2L86-R100
2022-01-14 15:48:04 +00:00
Leo Hemsted 5535db273c Revert "upgrade flask_login to 0.5.0" 2020-03-09 16:48:27 +00:00
Leo Hemsted 28919742da Merge pull request #2925 from alphagov/manifest-quoting
ensure env vars in manifest are quoted
2019-04-18 15:23:12 +01:00
Leo Hemsted b5972fc2b9 Merge pull request #2924 from alphagov/cf-app
default CF_APP to notify-admin
2019-04-18 15:00:14 +01:00
Leo Hemsted c0909db4b2 Merge pull request #2909 from alphagov/single-app-manifest
move manifest to single jinja template
2019-04-18 13:52:36 +01:00
Leo Hemsted d96f76585c Merge pull request #2910 from alphagov/unpin-runtime
unpin patch version of python
2019-04-18 13:52:25 +01:00
Leo Hemsted a249382e69 Merge pull request #2898 from alphagov/user-permission-count
add count of folders visible per user to the team members page
2019-04-05 14:20:52 +01:00
Leo Hemsted 1984128d1f Merge pull request #2893 from alphagov/copy-service-folder
fix bug with copying template from folder in other service
2019-04-03 14:13:27 +01:00
Leo Hemsted 050a879ae1 Merge pull request #2881 from alphagov/make-inbound-search-post
make inbound search a POST
2019-03-29 15:59:01 +00:00
Leo Hemsted 6cf2b2531b Merge pull request #2866 from alphagov/edit-no-delete
fix user permissions save button sometimes deleting
2019-03-26 16:17:15 +00:00
Leo Hemsted fa2a3ce2c0 Merge pull request #2787 from alphagov/reqs
pyexcel reqs bumps
2019-02-22 14:41:54 +00:00
Leo Hemsted c261c41475 Merge pull request #2769 from alphagov/delete-redis-button
Clear redis cache page
2019-02-19 16:20:55 +00:00
Leo Hemsted 0ca48cd1b3 Merge pull request #2753 from alphagov/template-preview-logo
use letter branding object instead of letter_logo_filename
2019-02-13 14:04:10 +00:00
Leo Hemsted f87f89bfd2 Merge pull request #2734 from alphagov/set-letter-branding
Set letter branding for a service
2019-02-07 14:36:53 +00:00
Leo Hemsted de694cc9b8 Merge pull request #2642 from alphagov/redis
bump utils
2019-01-09 16:10:46 +00:00
Leo Hemsted ad904e587c Merge pull request #2631 from alphagov/utils-bump
bump utils
2019-01-04 16:37:32 +00:00
Leo Hemsted 5c7c65f24e Merge pull request #2604 from alphagov/template-folder-error-bug
template folder js bug
2018-12-19 15:38:59 +00:00
Leo Hemsted 258cd5e2ec Merge pull request #2572 from alphagov/flash-errors
Show move errors on the template folder management flow
2018-12-19 15:10:06 +00:00
Leo Hemsted 1a5ebb3e62 Merge pull request #2541 from alphagov/choose-new-template
Let users add new template from the choose page
2018-12-04 16:41:38 +00:00
Leo Hemsted e15c698a81 Merge pull request #2517 from alphagov/new-template-button
html for templates move/new flow
2018-11-28 16:24:16 +00:00
Leo Hemsted fda10c81a7 Merge pull request #2494 from alphagov/bump-reqs
bump reqs
2018-11-20 11:06:08 +00:00
Leo Hemsted ec6abd7b04 Merge pull request #2383 from alphagov/fix-save-as-pdf
fix pdf download link trying to request a page count
2018-10-15 14:45:44 +01:00
Leo Hemsted 2bd5ec6ec3 Merge pull request #2351 from alphagov/precompiled_validation_preview
Preview the validation of precompiled letters
2018-10-10 14:58:23 +01:00
Leo Hemsted 5179bdbdef Merge pull request #2338 from alphagov/expected-letter-rate
1st class expected letter delivery
2018-10-01 14:20:36 +01:00
Leo Hemsted 96dc1966ca Merge pull request #2234 from alphagov/utils-bump
bump utils
2018-08-16 11:45:03 +01:00
Leo Hemsted f10794e8cf Merge pull request #2144 from alphagov/leohemsted-patch-2
Pin wtforms==2.1
2018-07-06 13:38:14 +01:00
Leo Hemsted b554077961 Merge pull request #2126 from alphagov/gunicorn-logs
disable gunicorn access logs
2018-06-25 11:40:23 +01:00
Leo Hemsted 4adee9cc43 Merge pull request #2125 from alphagov/handle-405s
handle 405 METHOD NOT ALLOWEDs
2018-06-25 11:40:17 +01:00
Leo Hemsted 07a14c4627 Merge pull request #2080 from alphagov/refactor-metadata-writing
Refactor how we decide to set metadata
2018-05-30 14:30:13 +01:00
Leo Hemsted 6fc9e7ef9e Merge pull request #2092 from alphagov/pyup-update-pytest-3.5.1-to-3.6.0
Update pytest to 3.6.0
2018-05-30 14:28:44 +01:00
Leo Hemsted 71a6648b8a Merge pull request #2087 from alphagov/fix-0-rate
fix usage page sms rate calculation
2018-05-17 10:48:28 +01:00
Leo Hemsted 5f4d9a60da Merge pull request #2075 from alphagov/statistics-endpoint
use service statistics endpoint instead of detailed service
2018-05-09 14:46:56 +01:00
Leo Hemsted e47a459757 Merge pull request #2066 from alphagov/mock-tests
Make sure we always mock endpoints in tests
2018-05-08 11:37:51 +01:00
Leo Hemsted b3101a08b0 Merge pull request #2037 from alphagov/strip-obscure-whitespace
Strip obscure whitespace from form submissions
2018-04-30 14:41:31 +01:00
Leo Hemsted 57bc9469e0 Merge pull request #2052 from alphagov/pyup-update-gunicorn-19.7.1-to-19.8.0
Update gunicorn to 19.8.0
2018-04-30 14:40:13 +01:00
Leo Hemsted f51042f176 Merge pull request #2051 from alphagov/pyup-update-httpretty-0.8.14-to-0.9.4
Update httpretty to 0.9.4
2018-04-30 14:40:05 +01:00
Leo Hemsted cae4cd69be Merge pull request #2055 from alphagov/reply-to-anyone
allow non-gov reply to email addresses
2018-04-30 14:39:48 +01:00
Leo Hemsted 6e522cb87f Merge pull request #2046 from alphagov/go-live
fix go live link
2018-04-27 16:02:25 +01:00
Leo Hemsted 2ceea61bb1 Merge pull request #2034 from alphagov/zendesk
send zendesk rather than deskpro tickets
2018-04-27 14:33:31 +01:00
Leo Hemsted 0c88556d17 Merge pull request #1977 from alphagov/human-readable-day
fix relative datetime function to handle dates correctly
2018-03-21 16:21:43 +00:00
Leo Hemsted a6eeb3cd73 Merge pull request #1967 from alphagov/login-redirect
redirect to show_accounts_or_dashboard on login
2018-03-19 16:57:55 +00:00
Leo Hemsted 90c40075c8 Merge pull request #1954 from alphagov/choose-accounts
Choose accounts
2018-03-19 15:26:06 +00:00
Leo Hemsted 60a79131e6 Merge pull request #1941 from alphagov/rtgl-org-info
Add what we know of agreements to go live request
2018-03-09 12:20:57 +00:00
Leo Hemsted 34d039d85a Merge pull request #1945 from alphagov/org-invite-api-fix
fix org invite api client
2018-03-09 12:18:25 +00:00
Leo Hemsted 7771410873 Merge pull request #1943 from alphagov/fix-miscounted-users
Fix count of users on request to go live
2018-03-09 12:18:15 +00:00
Leo Hemsted 92b4cee033 Merge pull request #1917 from alphagov/permissions-refactor
Permissions refactor
2018-03-06 13:21:17 +00:00
Leo Hemsted 5005a0db51 Merge pull request #1864 from alphagov/pytest-env
Automatically set environment vars before tests
2018-02-14 15:11:53 +00:00
Leo Hemsted 7322cf126b Merge pull request #1869 from alphagov/email-validation
validate email addresses in one-off flow
2018-02-14 15:11:44 +00:00
Leo Hemsted e8f262c632 Merge pull request #1867 from alphagov/fail-fast
Stop pytest on 10th failing test
2018-02-14 15:11:35 +00:00
Leo Hemsted 9716983f83 Update requirements.txt
email validation
2018-02-14 11:31:29 +00:00
Leo Hemsted 0f20cfe8bc Merge pull request #1857 from alphagov/logging
don't log 404s as ERROR
2018-02-13 14:17:03 +00:00
Leo Hemsted 2856b8709d Merge pull request #1835 from alphagov/eventlet
run gunicorn with eventlet
2018-02-01 15:40:00 +00:00
Leo Hemsted 2271ecf418 Merge pull request #1791 from alphagov/bank-hols
add 2018 and 2019 bank holidays
2018-01-18 15:52:58 +00:00
Leo Hemsted e6400c43c4 Merge branch 'master' into bank-hols 2018-01-18 15:47:21 +00:00
Leo Hemsted 92a5dd57ba Merge pull request #1792 from alphagov/golivepage
remove free sms fragment limit from go live flow
2018-01-16 17:45:08 +00:00
Leo Hemsted db2fad1a75 Merge pull request #1763 from alphagov/leohemsted-patch-1
derry strabane council email whitelist
2018-01-10 11:06:37 +00:00
Leo Hemsted b27eacb03b oops 2018-01-10 10:56:21 +00:00
Leo Hemsted 224b9e5098 Update test_validators.py 2018-01-10 10:48:58 +00:00
Leo Hemsted c780c94fb6 derry strabane council email whitelist 2018-01-10 10:47:40 +00:00
Leo Hemsted 665c569db2 Merge pull request #1753 from alphagov/session-cookie
Replace cookie implementation with flask builtin secure cookie.
2018-01-09 17:18:43 +00:00
Leo Hemsted c8088f5062 Merge pull request #1735 from alphagov/reqs-txt
Update requirements.txt
2017-12-28 11:06:39 +00:00
Leo Hemsted 21961a3bd2 bump utils
utils no longer needs smartypants from git
2017-12-28 10:08:16 +00:00
Leo Hemsted 99db15d975 fix notifications-python-client version import 2017-12-28 10:05:54 +00:00
Leo Hemsted 32db08269d Update requirements_for_test.txt 2017-12-28 10:01:56 +00:00
Leo Hemsted a6d2f9cf4d Update requirements.txt
bring in all pyup changes
2017-12-28 10:00:55 +00:00
Leo Hemsted 8007650f3d Merge pull request #1688 from alphagov/pyup-update-pytest-3.3.0-to-3.3.1
Update pytest to 3.3.1
2017-12-06 15:21:44 +00:00
Leo Hemsted 42f097a37d Merge pull request #1683 from alphagov/billing-endpoints
Remove commented out line
2017-12-04 17:14:47 +00:00
Leo Hemsted c366e2e44b Merge pull request #1682 from alphagov/billing-endpoints
update free sms fragment limit via billing client instead of service
2017-12-04 16:43:36 +00:00
Leo Hemsted 9c412a7f4e Merge pull request #1679 from alphagov/ken-add-send_letters_as_pdf-setting
Add send letters as PDF service setting
2017-12-04 11:59:41 +00:00
Leo Hemsted cab61a3d0a Merge pull request #1665 from alphagov/change-csrf-token-status
Change the CSRF error from 400 to 403
2017-12-04 11:59:29 +00:00
Leo Hemsted a3646254bc Merge pull request #1678 from alphagov/pyup-update-flask-login-0.4.0-to-0.4.1
Update flask-login to 0.4.1
2017-12-04 11:59:21 +00:00
Leo Hemsted 4a110ac839 Merge pull request #1677 from alphagov/114-115
114-115 and 47-48 for CareCERT NHS Digital
2017-12-04 11:58:56 +00:00
Leo Hemsted 50163415b2 Merge pull request #1664 from alphagov/pyup-update-pytest-3.2.5-to-3.3.0
Update pytest to 3.3.0
2017-11-29 11:39:36 +00:00
Leo Hemsted 5c95c32cfe Merge pull request #1668 from alphagov/pyup-pin-awscli-1.13.0
Pin awscli to latest version 1.13.0
2017-11-29 11:39:29 +00:00
Leo Hemsted 5c44ba5f19 Merge pull request #1661 from alphagov/alphanumeric-inbound-numbers
update utils to 23.1.0 - to show alphanumeric inbound messages on the…
2017-11-24 15:45:52 +00:00
Leo Hemsted 96ad2a09be Merge pull request #1649 from alphagov/existing-user-email-auth-invite
Existing user email auth invite
2017-11-16 10:16:56 +00:00
Leo Hemsted b8c8372f77 Merge pull request #1617 from alphagov/remove-flask-script
remove flask-script
2017-11-15 17:47:30 +00:00
Leo Hemsted 3bb083bc89 Merge pull request #1641 from alphagov/user-profile-changes
User profile changes
2017-11-14 17:06:56 +00:00
Leo Hemsted 1559c074d1 Merge pull request #1640 from alphagov/email-invite
Email invites!
2017-11-14 16:45:51 +00:00
Leo Hemsted 724093ac19 Merge pull request #1632 from alphagov/user-activation-stuff-for-real
User activation stuff for real
2017-11-09 15:42:13 +00:00
Leo Hemsted 76b9cb8f81 Merge pull request #1631 from alphagov/revert-1627-remove-user-put
Revert "replace user PUT with POSTs"
2017-11-09 14:57:15 +00:00
Leo Hemsted bfa6980913 Revert "replace user PUT with POSTs" 2017-11-09 14:57:01 +00:00
Leo Hemsted 395a2fccbb Merge pull request #1630 from alphagov/revert-1629-activate-endpoint
Revert "use new activate endpoint"
2017-11-09 14:55:20 +00:00
Leo Hemsted b9eca67b0d Revert "use new activate endpoint" 2017-11-09 14:55:08 +00:00
Leo Hemsted 51e91bc627 Merge pull request #1629 from alphagov/activate-endpoint
use new activate endpoint
2017-11-09 14:54:04 +00:00
Leo Hemsted a2926eaffe Merge pull request #1627 from alphagov/remove-user-put
replace user PUT with POSTs
2017-11-09 14:07:07 +00:00
Leo Hemsted 3c034a43b9 Merge pull request #1605 from alphagov/invitation-expiry-fix
make sure old invites get the proper err message
2017-11-02 14:03:35 +00:00
Leo Hemsted e6f5b08f21 Merge pull request #1592 from alphagov/load-service-err
make sure load_service_before_request handles 404s
2017-11-01 16:47:25 +00:00
Leo Hemsted 80b5af6ed9 Merge branch 'master' into load-service-err 2017-11-01 16:43:51 +00:00
Leo Hemsted 6742560b33 Merge pull request #1599 from alphagov/new-acc-email-validation
New account verification emails no longer call API
2017-11-01 16:43:04 +00:00
Leo Hemsted 0c7bc350d7 Merge pull request #1593 from alphagov/fix-auth-rollout
add auth_type default to InvitedUser object
2017-10-30 17:43:57 +00:00
Leo Hemsted 8ec50971eb Merge pull request #1588 from alphagov/email-auth-toggle
Email auth toggle
2017-10-27 15:00:20 +01:00
Leo Hemsted 184bd398f4 Merge pull request #1548 from alphagov/leohemsted-patch-1
log json to stdout
2017-10-17 15:40:20 +01:00
Leo Hemsted 819611728c log json to stdout 2017-10-17 14:23:15 +01:00
Leo Hemsted cf3f4d5cee Merge pull request #1516 from alphagov/empty-inbound-sms
make sure inbound sms page doesn't break if you receive a blank inbou…
2017-09-29 13:51:30 +01:00
Leo Hemsted a1a4a28955 Merge pull request #1501 from alphagov/accepted-letters-on-api
show letters as accepted, not created or sending, on the api page
2017-09-20 16:51:55 +01:00
Leo Hemsted 4dbd149351 Merge pull request #1478 from alphagov/pyup-update-moto-1.1.1-to-1.1.2
Update moto to 1.1.2
2017-09-08 10:19:13 +01:00
Leo Hemsted f6ff916bce Merge pull request #1473 from alphagov/pyup-update-notifications-python-client-4.3.1-to-4.4.0
Update notifications-python-client to 4.4.0
2017-09-08 10:18:58 +01:00
Leo Hemsted 54dc1713e6 Merge pull request #1477 from alphagov/pyup-update-pytest-3.2.1-to-3.2.2
Update pytest to 3.2.2
2017-09-08 10:18:42 +01:00