Commit Graph

8249 Commits

Author SHA1 Message Date
Leo Hemsted
6412a4ab33 use a flash error message on the platform admin usage report
that makes more sense than attaching the error to a field

also fix tests and assert csv contents are correct
2019-08-29 10:49:38 +01:00
Leo Hemsted
b69321bf7a rename logged_in_platform_admin_client to platform_admin_client
of course it's logged in, it's a platform admin

also, reduce use of the `client` fixture in test_platform_admin
(replace it with platform_admin_client)
2019-08-27 16:02:15 +01:00
Rebecca Law
464a74b329 fix codestyle 2019-08-23 17:18:05 +01:00
Rebecca Law
2fe5c4a96e New report on platform-admin/reports page to get the usage for all services. 2019-08-23 17:14:04 +01:00
karlchillmaid
983a1dc931 Merge pull request #3096 from alphagov/documentation-content-update
Update Documentation content
2019-08-21 14:33:37 +01:00
karlchillmaid
9dd4e46de3 Merge pull request #3098 from alphagov/fix-apostrophes
Fix apostrophes
2019-08-21 11:31:54 +01:00
karlchillmaid
23f2ae1b3a Fix apostrophes 2019-08-21 11:10:23 +01:00
karlchillmaid
d4834c988d Fix apostrophes 2019-08-21 11:08:00 +01:00
karlchillmaid
8989f5a93b Update 'client libraries' 2019-08-21 10:17:36 +01:00
karlchillmaid
c05969e230 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:27 +01:00
karlchillmaid
ff663ed172 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:17 +01:00
karlchillmaid
6c9f6463c3 Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:10 +01:00
karlchillmaid
af7222de1d Update app/templates/views/documentation.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-08-21 10:15:03 +01:00
Tom Byers
93c3c4705f Merge pull request #3085 from alphagov/add-js-tests-for-api-key
Add js tests for api key
2019-08-21 10:10:21 +01:00
karlchillmaid
744764d625 Merge pull request #3095 from alphagov/features-content-updates-august-2019
Update receive text messages content
2019-08-21 09:58:38 +01:00
karlchillmaid
12f0c1e0ff Update timings and direct integration content 2019-08-21 09:56:27 +01:00
karlchillmaid
3dfa6e06cc Update client documentation content 2019-08-20 17:06:01 +01:00
karlchillmaid
73415f7a08 Update Integrating directly with the API content
Move the line about reading client documentation.
2019-08-20 15:07:48 +01:00
karlchillmaid
39461b369d Add details about timings and direct integration
Outline how long it can take to integrate using the client documentation.

Add more detail about how to integrate directly with the API.
2019-08-20 14:51:54 +01:00
Tom Byers
3c50c3cd01 Merge pull request #3086 from alphagov/add-js-tests-for-colour-preview
Add tests for colour preview
2019-08-20 13:53:32 +01:00
Tom Byers
1edea76a50 Merge pull request #3087 from alphagov/add-js-tests-for-error-tracking
Add tests for error tracking module
2019-08-20 13:53:01 +01:00
Tom Byers
ddd8da0163 Add test for controlling height between states
The button shouldn't change its vertical position
when the state changes. The text confirming the
copy is just one line so setting height for both
based on the API key, which can run to 2 lines
makes sense.

Explained in this PR:

https://github.com/alphagov/notifications-admin/pull/2428
2019-08-20 13:49:09 +01:00
Tom Byers
cc70759a19 Add tests for API key module 2019-08-20 13:49:09 +01:00
Tom Byers
0e7b529fbc Add mock helpers for Range and Selection
To add the text from an element to the clipboard
you need to:
1. get the current Selection
1. create a Range from the contents of the element
2. clear any existing Ranges from the Selection
   and add the new Range to the selection
3. execute the 'copy' command

To track calls to all the DOM APIs involved in
this we need mocks for Range and Selection.

Range:

https://developer.mozilla.org/en-US/docs/Web/API/Range

Selection:

https://developer.mozilla.org/en-US/docs/Web/API/Selection

Also includes a base class to help building out
Web API interface mocks.
2019-08-20 13:49:09 +01:00
karlchillmaid
98f51d8174 Update content 2019-08-20 12:03:42 +01:00
karlchillmaid
016f8f46ec Update receive text messages content
Update receive text messages content for clarity
2019-08-19 15:56:53 +01:00
Pea (Malgorzata Tyczynska)
551c4abee2 Merge pull request #3089 from alphagov/search-services-by-name
Find services by name or partial name
2019-08-16 11:53:07 +01:00
Pea Tyczynska
3844d050ff Simplify find users by email view - valdiation already done by form 2019-08-16 11:20:36 +01:00
Pea Tyczynska
c717e37c48 Test no input 2019-08-15 17:06:43 +01:00
karlchillmaid
2eed904476 Merge pull request #3091 from alphagov/roadmap-update
Update roadmap
2019-08-15 15:58:42 +01:00
karlchillmaid
2707e5192e Amend content for clarity 2019-08-15 15:13:39 +01:00
karlchillmaid
b0c6b7c2d4 Update roadmap 2019-08-15 13:13:11 +01:00
Pea Tyczynska
a906552c25 Require data on search by name form
This lets us build leaner views when using this form.
2019-08-15 12:41:51 +01:00
Sakis
52971ae57a Merge pull request #3090 from alphagov/bump-utils
Bump utils to 33.2.9 for better error handling
2019-08-15 12:09:27 +01:00
Athanasios Voutsadakis
3c588bbbed Freeze requirements 2019-08-14 16:39:02 +01:00
Athanasios Voutsadakis
13816183df Bump utils to 33.2.9 for better error handling
alphagov/notifications-utils#640
2019-08-14 16:33:32 +01:00
Pea Tyczynska
035cb19568 Find services by name or partial name 2019-08-14 11:38:58 +01:00
karlchillmaid
1e248d9205 Merge pull request #3083 from alphagov/text-message-pricing-update
Update Pricing information
2019-08-13 09:49:09 +01:00
Katie Smith
350be28b38 Merge pull request #3082 from alphagov/upload-letters-hub
Add 'Uploads' hub and navigation
2019-08-13 09:20:29 +01:00
Pea Tyczynska
862df6d359 WIP find services by name 2019-08-12 18:02:27 +01:00
Tom Byers
436367ce81 Add tests for error tracking module 2019-08-12 16:48:23 +01:00
Tom Byers
5bda6a062e Add tests for colour preview 2019-08-12 16:29:28 +01:00
karlchillmaid
4eeb71c432 Add brackets for VAT 2019-08-09 13:15:14 +01:00
karlchillmaid
abf63d3ba5 Update and move price increase information 2019-08-09 13:13:38 +01:00
karlchillmaid
23273e1b25 Update and move price increase information 2019-08-09 13:13:21 +01:00
karlchillmaid
2eb5e2ad50 Update content
Update introduction, text messages and letters
2019-08-09 11:53:12 +01:00
Katie Smith
8a453890e6 Add 'Uploads' hub and navigation
The uploads hub is just a page with text for now - there are no actions
available on the page. It is linked to from a new 'Uploads' menu item on
the left of the page which is only visible if your service has the
`letter` and `upload_letters` permissions and if the current user has
permissions to send messages.
2019-08-09 08:50:48 +01:00
karlchillmaid
3d9aac4ac6 Merge pull request #3081 from alphagov/update-slack-link
Update slack link
2019-08-08 14:28:17 +01:00
karlchillmaid
00562cd0e7 Amend link 2019-08-08 12:28:10 +01:00
karlchillmaid
16b20475b2 Amend link 2019-08-08 12:27:48 +01:00