Adam Shimali
1b13837e85
Merge pull request #517 from alphagov/temp-event-view
...
Add events to temp history page for story sign off
2016-04-28 10:52:22 +01:00
Adam Shimali
72c1ecc9cb
Believe it or not this broke functional tests
2016-04-27 18:00:46 +01:00
Adam Shimali
266a76adec
Add events to temp history page for story sign off
2016-04-27 17:24:44 +01:00
Adam Shimali
fa59bd3461
Merge pull request #516 from alphagov/login-events
...
Login events
2016-04-27 17:20:34 +01:00
Adam Shimali
7c1867fde6
Record login including remembered user login events to the api based of flask login
...
signals.
2016-04-27 16:39:17 +01:00
Chris Hill-Scott
00507fc7be
Show sent, not pending numbers on the dashboard
...
The dashboard should only talk about notifications that are *successful* or
*failed*. It should not count notifications that are still queued.
This will stop:
- a situation like ‘0 emails, 14.1% failed’
- the big numbers and the template statistics numbers not adding up to
the same total
2016-04-27 12:31:52 +01:00
Chris Hill-Scott
4da63f2876
Merge pull request #512 from alphagov/ajax-patching
...
Patch update sections of the page on AJAX
2016-04-27 11:54:30 +01:00
Chris Hill-Scott
2f49e919e7
Add ARIA live attribute to all AJAX updated areas
...
So that screenreaders will report on updates to the page.
2016-04-27 10:09:52 +01:00
Chris Hill-Scott
33b4138e79
Patch update sections of the page on AJAX
...
Currently, when we update a section of the page with AJAX we replace the
entire HTML of the section with the new HTML. This causes problems:
- if you’re trying to interact with that section of the page, eg by
inpecting it, clicking or hovering an element
- (probably) for screenreaders trying to navigate a page which is
changing more than is necessary
This commit replaces the call to `.html()` with a pretty clever library
called diffDOM[1]. DiffDOM works by taking a diff of the old element and
the new element, then doing a patch update, ie only modifying the parts
that have changed.
This is similar in concept to React’s virtual DOM, while still allowing
us to render all markup from one set of templates on the server-side.
1. https://github.com/fiduswriter/diffDOM
2016-04-27 10:08:57 +01:00
Chris Hill-Scott
a65466327c
Put environment URL in feedback tickets
...
So that:
- we know what environment a request has been sent from
2016-04-26 16:46:00 +01:00
Chris Hill-Scott
456291d630
Put URL to service in request to go live ticket
...
So that:
- we know what environment the request has come from
- a platform admin user can jump straight to that service to check it
out
2016-04-26 16:28:16 +01:00
Chris Hill-Scott
36d2889a59
Merge pull request #510 from alphagov/pricing
...
Removed reference to fail over rates on pricing page
2016-04-26 15:52:55 +01:00
Chris Hill-Scott
799dcfd80f
Merge pull request #508 from alphagov/request-to-go-live-form
...
Put a form on the request to go live page
2016-04-26 14:52:57 +01:00
Chris Hill-Scott
3b7cedd542
Merge pull request #509 from alphagov/slack-link-update
...
Update Slack link to point at channel, not archive
2016-04-26 14:47:15 +01:00
Chris Hill-Scott
5d9b2c078a
Ask specifically for numbers of emails/texts
...
We want to know this, so hopefully this will prompt users to tell it to
us.
2016-04-26 14:45:50 +01:00
Chris Hill-Scott
45241d6232
Put a form on the request to go live page
...
This commit:
- moves things around a bit on the request to go live page
- sticks a textbox in there
So when someone click the big green button, we will get a support ticket
that looks something like:
```
From Test User <test@user.gov.uk > on behalf of Test Service
(6ce466d0-fd6a-11e5-82f5-e0accb9d11a6)
---
We’ll send about 1000 text messages in the first month, and then 10,000
text messages per month after that. Usage of our service is about 50%
higher in March, at the end of the tax year.
```
2016-04-26 14:45:50 +01:00
Chris Hill-Scott
22fe164711
Move feedback endpoints into own file
...
Doesn’t make sense to shove more stuff into index.py
2016-04-26 14:45:31 +01:00
Rebecca Law
69f5068587
Merge pull request #507 from alphagov/fix-anchor-tag-in-flash
...
Fix anchor tag in flash message.
2016-04-26 14:31:45 +01:00
Pete Herlihy
61cfd2ed26
Removed reference to fail over rates on pricing page
2016-04-26 13:57:07 +01:00
Chris Hill-Scott
86780f6704
Update Slack link to point at channel, not archive
...
https://ukgovernmentdigital.slack.com/messages/govuk-notify/
not
https://ukgovernmentdigital.slack.com/archive/govuk-notify/
2016-04-26 13:51:41 +01:00
NIcholas Staples
c08bccd721
Merge pull request #506 from alphagov/reset_failed_login_count
...
Failed login count set to zero with password reset.
2016-04-26 12:30:52 +01:00
Nicholas Staples
b131082f41
Updated to include corrected flash message.
2016-04-26 12:26:41 +01:00
Rebecca Law
a183d8d366
Missed the anchor tag in the mark up - oops.
2016-04-26 12:15:25 +01:00
Nicholas Staples
9225c0813c
Updated msg for the failed login.
2016-04-26 12:14:06 +01:00
Rebecca Law
8141ea87d0
Wrap message in Markup
2016-04-26 12:12:47 +01:00
Rebecca Law
60c55ca9e2
Fix anchor tag in flash message.
...
https://www.pivotaltracker.com/story/show/117513779
2016-04-26 12:03:35 +01:00
Chris Hill-Scott
bcaffa9f6d
Merge pull request #502 from alphagov/add-slack-link
...
Add link to Slack channel in footer
2016-04-26 11:58:06 +01:00
Nicholas Staples
3122500ce0
Failed login count set to zero with password reset.
2016-04-26 11:51:34 +01:00
Pete Herlihy
f5d89a43b4
Updated the Slack link text on the footer
2016-04-26 11:48:25 +01:00
Chris Hill-Scott
bfd11cde6c
Fix alignment in docs
...
Markdown needs 4 space indent to properly indent inside lists etc
2016-04-26 10:17:00 +01:00
Chris Hill-Scott
6107d24af7
Merge pull request #488 from alphagov/daily-limit-message
...
Show error if you try to send too many messages
2016-04-25 15:35:06 +01:00
Chris Hill-Scott
dd15e69f48
Merge pull request #492 from alphagov/better-two-factor-page
...
Reword two factor page to match email confirmation page
2016-04-25 15:33:59 +01:00
Chris Hill-Scott
77885295f9
Merge pull request #494 from alphagov/click-govuk-not-logged-in
...
If not logged in, go to homepage when clicking GOV.UK
2016-04-25 15:33:36 +01:00
Chris Hill-Scott
bc58aec0db
Merge pull request #499 from alphagov/dashboard-duration
...
Fix the big numbers on the dashboard
2016-04-25 15:32:54 +01:00
Chris Hill-Scott
a8c5175a82
Merge pull request #496 from alphagov/fix-large-file-uploads
...
Fix bug with large file uploads
2016-04-25 15:32:37 +01:00
Chris Hill-Scott
12523894c5
Merge pull request #495 from alphagov/trial-mode-link-accessibility
...
Add context to trial mode link for screen readers
2016-04-25 14:42:09 +01:00
Chris Hill-Scott
15bfd72f16
Add link to Slack channel in footer
2016-04-25 13:39:30 +01:00
Chris Hill-Scott
b5ed12421a
Merge pull request #497 from alphagov/api-keys-page-improvements
...
API keys page improvements
2016-04-25 11:39:49 +01:00
Chris Hill-Scott
96cc03dc9e
Merge pull request #490 from alphagov/contact-link-signup
...
Updated the contact us link for non gov.uk domains trying to register.
2016-04-25 11:38:30 +01:00
Chris Hill-Scott
683baa0003
Separate thousands with comma for big numbers
...
Makes it easier to see just how big the numbers are.
2016-04-25 11:37:34 +01:00
Chris Hill-Scott
0cc499bce4
Make sure the stats client passes params through
...
This was the cause of the dashboard showing statistics from all time.
2016-04-25 11:30:09 +01:00
Chris Hill-Scott
22ebc2ece5
Make permissions for AJAX dashboard backend match
...
If you don’t have permission to see the HTML dashboard, you shouldn’t be
able to see the JSON one.
2016-04-25 11:23:45 +01:00
Chris Hill-Scott
63995e7273
Make wording around multiple API keys clearer
2016-04-25 11:16:00 +01:00
Chris Hill-Scott
cdedad6cc2
Merge pull request #493 from alphagov/reword-homepage
...
Reword homepage
2016-04-25 11:02:55 +01:00
Pete Herlihy
2a6af4ffad
Merge pull request #489 from alphagov/terms-of-use
...
Updated terms of use in line with feedback received via security assu…
2016-04-25 10:54:28 +01:00
Chris Hill-Scott
71035ab96e
Use the same pattern as elsewhere for ‘new thing’
...
On the team and templates pages we have a pattern for adding a new
‘thing’, which is a green button in the top right.
This commit changes the API key page to follow the same pattern.
2016-04-25 10:52:07 +01:00
Pete Herlihy
31bc602d0f
Explained the SIRO acronym
2016-04-25 10:49:17 +01:00
Chris Hill-Scott
5f8a5edff0
Only talk about trial mode when you’re in it
...
Services have a daily limit whether or not they’re in trial mode. So it
only makes sense to tell you that the limit is because of trial mode
when you are in it.
2016-04-25 10:48:52 +01:00
Pete Herlihy
5ae45a810d
Fixed typos on terms of use
2016-04-25 10:48:07 +01:00
Chris Hill-Scott
a6be0d0612
Show error if you try to send too many messages
...
https://www.pivotaltracker.com/story/show/117630691
There is a limit of 50 messages per day in trial mode. Right now, we
don’t tell you this, we just start failing your messages.
This commit adds an error message if you upload a CSV file that has too
many rows in it.
2016-04-25 10:46:38 +01:00