Commit Graph

4645 Commits

Author SHA1 Message Date
Chris Hill-Scott
fd908671b0 Make page titles match <h1> tags on static pages
This commit fixes pages where this isn’t the case, and modifies the test
to use the `client_request` fixture, which checks for this mismatch.
2017-12-01 09:52:23 +00:00
Chris Hill-Scott
dcbfe5a834 Merge pull request #1672 from alphagov/113-114
111-114 for 3 new services
2017-11-30 17:17:33 +00:00
Pete Herlihy
4285991640 113-114 for IAC Judiciary (HMCTS) 2017-11-30 16:41:03 +00:00
Chris Hill-Scott
4b77ef0533 Merge pull request #1667 from alphagov/email-auth-pword-reset
ensure that email auth users don't get 2fa codes when resetting passwords
2017-11-30 15:50:24 +00:00
Chris Hill-Scott
87b58afdb0 Merge pull request #1671 from alphagov/auth-type-by-request
Invite users to choose how team members sign in
2017-11-30 15:49:47 +00:00
Chris Hill-Scott
ba1c98ed49 Invite users to choose how team members sign in
Email auth is a new feature that currently we’ve only given to teams
who have contact us with a problem.

At the moment, we’re aware of all the teams that are sharing phone
numbers when they sign in. We think that in the future there will be
other teams who encounter this problem. So we should let them know that
they should contact us if they are having the problem.

At the moment we want to talk to teams before giving them access to the
feature, so that we’re confident it’s only going to teams from whom it’s
more secure than using a text message code.
2017-11-30 15:32:12 +00:00
Chris Waszczuk
881e16766e Merge pull request #1666 from gov-cjwaszczuk/master
Update static pages to represent new content and url structure
2017-11-29 16:31:29 +00:00
chrisw
1e15262dd3 Updated top navigation 2017-11-29 13:59:26 +00:00
chrisw
2c884a0246 Refactored redirects into seperate method 2017-11-29 13:59:01 +00:00
chrisw
90e18e04ee Updated support views to represent new url structure 2017-11-29 13:58:12 +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
pyup-bot
64d28fc9fc Pin awscli to latest version 1.13.0 2017-11-29 09:48:43 +00:00
Leo Hemsted
f7e2a12aba ensure that email auth users dont get 2fa codes when resetting passwords 2017-11-28 15:25:29 +00:00
chrisw
6b98e62f4c Updated support logic to represent new urls structure 2017-11-28 11:59:11 +00:00
chrisw
e67ee2b579 Updated views to represent new content and url structure 2017-11-28 11:58:15 +00:00
chrisw
ed33e03d82 Adjusted and added static page views logic 2017-11-28 11:56:30 +00:00
chrisw
1c41845ddc Added new sub navigation component 2017-11-28 11:54:36 +00:00
chrisw
ebb7275158 Added styling for sub-navigation 2017-11-28 11:53:24 +00:00
pyup-bot
2fd61da123 Update pytest from 3.2.5 to 3.3.0 2017-11-27 22:36:36 +00:00
Richard Chapman
93bb0a6605 Merge pull request #1662 from alphagov/rc-update-template-usage-to-use-new-end-point
Disabled the template_history endpoint
2017-11-27 09:39:07 +00:00
Richard Chapman
629593291c Used url_for and redirect
- url_for instead of constructing the url manually
- Used redirect instead of RequestRedirect to be more consistent with
other code
2017-11-24 16:34:45 +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
Richard Chapman
155e432aa6 Disabled the template_history endpoint
- Updated tests and added a new mock_get_monthly_template_usage
- Deleted get_monthly_template_statistics_for_service
- Added new test to test the redirection of the old endpoint
2017-11-24 15:20:40 +00:00
Richard Chapman
1681b17fab Disabled the template_history endpoint
- Removed the code for the template_history endpoint and replaced with a
redirect to the new page so that anyone is forwarded on
- Updated the template to point to the new template_usage page
2017-11-24 14:36:36 +00:00
Leo Hemsted
36b95a740e update utils to 23.1.0 - to show alphanumeric inbound messages on the frontend 2017-11-23 16:40:29 +00:00
Chris Hill-Scott
8c915174a3 Merge pull request #1656 from alphagov/pyup-update-boto3-1.4.7-to-1.4.8
Update boto3 to 1.4.8
2017-11-22 16:52:26 +00:00
Pete Herlihy
3749c733a8 Merge pull request #1659 from alphagov/109-111
109-111 and 46-47
2017-11-22 16:47:10 +00:00
Pete Herlihy
56b1f98d90 Merge pull request #1658 from alphagov/roadmap
Updated the Roadmap
2017-11-22 16:35:47 +00:00
Pete Herlihy
ec2cd75a14 109-111 and 46-47 2017-11-22 16:26:28 +00:00
Pete Herlihy
86d2cb2f4c Updated the Roadmap 2017-11-22 16:19:35 +00:00
Richard Chapman
cce1f1fd73 Merge pull request #1654 from alphagov/rc-update-template-usage-to-use-new-end-point
Updated link to for browsing to financial years
2017-11-22 16:05:19 +00:00
Richard Chapman
9dbb14c9e1 Refactored to be more pythonic
Removed the nested for loops and refactored to be pythonic so it is more
maintainable in future.
2017-11-22 15:50:31 +00:00
Richard Chapman
dd2bd2f80a Removed import
An import was not required so removed it.
2017-11-22 14:38:47 +00:00
Richard Chapman
f97fa2cebc Reused the months array instead of redefining it
Re-organised the code to re-use the months array which also was not
displaying a month where there was no stats. This now gets the months,
enumerates that array updating the templates used when there are stats
items so the users sees each month of the financial year (even if there
are no stats) when there are stats they are displayed.
2017-11-22 10:37:53 +00:00
pyup-bot
975a18db71 Update boto3 from 1.4.7 to 1.4.8 2017-11-22 07:48:29 +00:00
Richard Chapman
5937842ca4 Fixes to the template usage page
- When a year contains no data ensure a default set of months is
returned so that all months can be seen in the UI
- Add the template id so the user can click through to the template
2017-11-21 16:48:37 +00:00
Chris Hill-Scott
e470c90b40 Merge pull request #1655 from alphagov/biglotteryfund
Adding biglotteryfund.org.uk to the allowed domains list
2017-11-21 14:17:04 +00:00
Pete Herlihy
2b8fe86e36 Adding a test for the domain biglotterfund.org.uk 2017-11-21 13:58:49 +00:00
Pete Herlihy
33dc83083e Added big lottery fund to approved domains 2017-11-21 13:57:11 +00:00
Richard Chapman
0d36a0ef16 Updated link to for browsing to financial years
The link which when clicked allows the user to view different financial
years was pointing to the template_activity page. Updated to the link
to point to the new page.
2017-11-21 11:09:35 +00:00
Sakis
44c0be1718 Merge pull request #1643 from alphagov/add_proxy_header_check
Add proxy header check
2017-11-21 10:00:19 +00:00
Athanasios Voutsadakis
0dfd1d61f7 Merge branch 'master' into add_proxy_header_check 2017-11-20 17:41:12 +00:00
Chris Hill-Scott
e4b5dd9799 Merge pull request #1653 from alphagov/fix-page-titles-one-off
Improve page <h1>s in send one off flow
2017-11-20 17:16:33 +00:00
Chris Hill-Scott
5f40eabdf3 Improve page titles later on in the one off flow
Now that the page title for picking a sender/reply to has been improved,
I think these pages are also less clear than they could be.

This commit changes the page titles to (I hope) be clearer about what is
needed from the user on these pages.
2017-11-20 16:54:07 +00:00
Chris Hill-Scott
4a1dad9a66 Hide form legend on choose reply page
The `<h1>` on this page says all the user needs to know. In research
we saw that users didn’t even read the legend, even when prompted to!
2017-11-20 16:53:11 +00:00
Chris Hill-Scott
ecd43cee5e Fix misleading <h1> in one-off flow
Changing the `<h1>` in https://github.com/alphagov/notifications-admin/pull/1638
turned out to be quite confusing. The combination of the word
"recipient" and a selection of email addresses on the page was confusing.

This commit changes the page title to be much more explicit about what
is expected from the page, rather than what is consistent with the text
of the link that the user clicked.
2017-11-20 16:53:00 +00:00
Chris Hill-Scott
4105b6ff55 Fix misleading <h1> in one-off flow
Changing the `<h1>` in https://github.com/alphagov/notifications-admin/pull/1638
turned out to be quite confusing. The combination of the word
"recipient" and a selection of email addresses on the page was confusing.

This commit changes the page title to be much more explicit about what
is expected from the page, rather than what is consistent with the text
of the link that the user clicked.
2017-11-20 16:50:33 +00:00
Athanasios Voutsadakis
ce54467c16 Merge branch 'master' into add_proxy_header_check 2017-11-20 10:31:43 +00:00
Chris Hill-Scott
2bf2b4b460 Merge pull request #1619 from alphagov/remove-references-to-computed-column
Remove references to computed column
2017-11-20 10:27:30 +00:00