Chris Hill-Scott
bda3aa98f8
Change "test run" to "test message"
...
Because reasons.
Obvs.
2016-05-12 11:22:14 +01:00
minglis
daf33b03ad
Merge pull request #557 from alphagov/notification_show_updated_at
...
Notifications display updated_at instead of created_at.
2016-05-11 16:55:37 +01:00
minglis
2388c395e3
Merge pull request #552 from alphagov/primary-providers
...
Added provider management pages in.
2016-05-11 16:49:47 +01:00
Henry Hadlow
e3fa1ac253
Tidy up text on forgot your password screens
...
Display updated_at instead of created_at for notifications.
2016-05-11 16:30:15 +01:00
Martyn Inglis
31f14fd0ec
Removed print statements
2016-05-11 15:39:03 +01:00
Pete Herlihy
f18972755a
Merge pull request #547 from alphagov/make-forgot-your-password-text-consistent
...
Tidy up text on forgot your password screens
2016-05-11 15:10:46 +01:00
Rebecca Law
9232ab51d5
Merge pull request #554 from alphagov/add-created_by-to-jobs
...
Update the jobs and activity page to show the user that created the job.
2016-05-11 14:55:29 +01:00
Rebecca Law
53fb1dcc4b
Use Uploaded by instead of Created by for the label.
...
Move status to the last column on the table
2016-05-11 14:45:20 +01:00
Rebecca Law
46d5065297
Update the jobs and activity page to show the user that created the job.
2016-05-11 11:57:31 +01:00
Nicholas Staples
af500a96e7
Update all dates to use utc, only in the template is it converted to british time.
2016-05-11 11:20:45 +01:00
Martyn Inglis
6699442f6b
Added provider management pages in.
...
- see priority
- change priority
2016-05-11 09:43:55 +01:00
Henry Hadlow
36da188d04
Tidy up text on forgot your password screens
2016-05-10 11:36:49 +01:00
Nicholas Staples
05882aafb2
Fix for user with only send permissions.
2016-05-09 10:55:02 +01:00
Adam Shimali
5d7ff0cb47
Merge pull request #542 from alphagov/previous-weeks
...
Add a page to show delivery rates week-by-week
2016-05-09 10:17:59 +01:00
Chris Hill-Scott
b5d5689d5c
Make right-aligned big numbers left aligned
2016-05-05 11:01:34 +01:00
Chris Hill-Scott
50427ecd3f
Add a page to show delivery rates week-by-week
...
Implements
https://github.com/alphagov/notifications-api/pull/286
Will always show weeks as Monday to Sunday.
2016-05-05 10:56:20 +01:00
Chris Hill-Scott
6917e11207
Make ‘send emails/text messages’ link bold
...
It:
- makes this whole block of links slightly more prominent
- reinforces that ‘send’ is the primary action
2016-05-05 08:58:13 +01:00
Chris Hill-Scott
a8c62ee40a
Make ‘Back’ button go to the right place
...
When you send yourself a test clicking the grey ‘Back’ button should
send you back to the page with the textboxes, if that’s where you came
from.
2016-05-05 08:58:13 +01:00
Chris Hill-Scott
687ccad018
Make send a test teach you how placeholders work
...
This commit does two main things:
- adds textboxes to the send yourself a test page, so you can replace
((name)) with ‘Chris’, or whatever your name is
- rejigs the send page a bit to make it clearer what the CSV upload is
for and how to use it
The idea being that, since most users go into ‘send yourself a test’
first, it teaches them about how placeholders work by making them do the
replacing themselves.
2016-05-05 08:53:00 +01:00
Chris Hill-Scott
9d37040d49
Add recipient to message previews
...
When previewing a template on the send page, having the recipient appear
as a placeholder should help reinforce the relationship between the
columns in the CSV and the placeholders.
Then, when previewing a message, having the template populated with the
first recipient’s email address/phone number should reinforce that
relationship again.
2016-05-05 08:45:29 +01:00
Adam Shimali
09117e5eeb
Updated flask-login to version 0.3.2
2016-05-04 14:06:14 +01:00
Chris Hill-Scott
cb93e8ada5
Merge pull request #534 from alphagov/footer-changes
...
Footer links moved around to more sensible groupings
2016-05-03 15:42:00 +01:00
Chris Hill-Scott
e8bb0ee889
Merge pull request #533 from alphagov/relabel-usage
...
Rename ‘this year’
2016-05-03 13:51:30 +01:00
NIcholas Staples
bd0afce745
Merge pull request #527 from alphagov/windows_csv
...
Only check on csv is the file extension.
2016-05-03 12:50:34 +01:00
Pete Herlihy
061cbfa82d
Footer links moved around to more sensible groupings
2016-05-03 12:26:44 +01:00
Chris Hill-Scott
71f7e144a4
Rename ‘this year’
...
Make it clear that this section is about what you’ve used, ie your usage
Click ‘breakdown’ to see how the maths is done, and what time period it
covers.
2016-05-03 12:25:01 +01:00
Chris Hill-Scott
1d0b28f156
Merge pull request #524 from alphagov/usage
...
Add usage to the dashboard
2016-05-03 11:35:11 +01:00
Chris Hill-Scott
00030bc254
Add usage to the dashboard
...
Takes the number of emails and SMS fragments sent from:
https://github.com/alphagov/notifications-api/pull/273
Using these numbers it’s possible to show:
- how much of your allowance is left
- or how much you have spent
For now the allowance and rates are hard coded.
Only for users that have manage service.
2016-05-03 11:06:12 +01:00
NIcholas Staples
9e94d2382d
Merge pull request #532 from alphagov/british_time
...
Times from api are now formatted to the british time.
2016-05-03 11:02:21 +01:00
Chris Hill-Scott
f6ba5ec8d0
Merge pull request #528 from alphagov/activity-improvements
...
Link up the last 7 days
2016-05-03 10:58:51 +01:00
Nicholas Staples
e1f3975c9a
Times from api are now formatted to the british time.
2016-05-03 10:55:37 +01:00
catherineheywood
d4c77f3164
Resize image file
2016-05-03 10:42:31 +01:00
catherineheywood
e11879ede7
Change JWT to JSON Web Tokens
2016-05-03 10:20:53 +01:00
Nicholas Staples
f581ff44d0
Only check on csv is the file extension.
...
Update validator logic
Update message for the validator.
2016-05-03 10:10:58 +01:00
Chris Hill-Scott
d1dec6d5a0
Default aggregate statistics to 0, not None
...
If they API returns no statistics for a given time period we should
assume that this is equivalent to 0. This means that the template can
always rely on the dictionary having the same keys.
2016-05-03 09:18:24 +01:00
Chris Hill-Scott
127651b894
Make ‘7 days’ text on activity page not bold’
2016-05-03 08:57:19 +01:00
Chris Hill-Scott
edc49a2870
Merge pull request #525 from alphagov/api-bumpf
...
Remove bumf from the API keys page
2016-04-29 16:05:00 +01:00
Chris Hill-Scott
744064e840
Remove activity from the nav
...
We saw lots of people in the lab clicking activity hoping for…
something. But it’s not really where you go to do a thing, so they
weren’t finding what they were looking for.
Since you can now get to the activity from the dashboard, let’s remove
the link in the nav, to make thing less ambiguous.
2016-04-29 16:03:57 +01:00
Chris Hill-Scott
43ef3e86ae
Make big numbers on the homepage linkable
...
The big numbers on the home page relate directly to the notifications on
the notification page. So let’s link them. With a _hyper_ link.
This commit actually adds two links, one of which is semantically
correct, and one of which is visually correct, ie makes the whole black
area of the box clickable/hoverable.
2016-04-29 16:03:56 +01:00
Chris Hill-Scott
d82569f883
Fix page titles on activity page
...
We were getting some weirdness like ‘Failed both’.
This commit fixes the problem, and adds some tests for the page headings
to make sure they don’t break again.
2016-04-29 16:03:56 +01:00
Chris Hill-Scott
68bc164f91
Merge pull request #526 from alphagov/7days-reminder
...
Reminder of 7 days data retention on the activity pages
2016-04-29 15:54:16 +01:00
Pete Herlihy
2f418eed65
Reminder of 7 days data retention on the activity pages
2016-04-29 15:30:44 +01:00
Chris Hill-Scott
e6ed2c9ff6
Remove bumf from the API keys page
2016-04-29 14:36:56 +01:00
NIcholas Staples
96297d2989
Merge pull request #522 from alphagov/sms_msg_limit
...
Sms msg limit
2016-04-29 12:29:45 +01:00
Nicholas Staples
471eac209e
Handling template content size error. All tests passing.
2016-04-29 09:38:59 +01:00
Andrew White
8995a86bb6
Merge pull request #520 from alphagov/redirect-to-dashboard-when-existing-service
...
Redirect to dashboard if this isn't the first service
2016-04-28 17:23:14 +01:00
Andrew White
7812b1cef5
Redirect to dashboard if this isn't the first service
...
There's no need to show the tour again if the user has previously
created a service so just redirect to the dashboard instead.
2016-04-28 16:44:12 +01:00
Adam Shimali
a627cf9002
Change activity to view to request 7 days data.
...
Cleaned up filters a bit so that if you want both templates
email and sms is passed.
Added mock assertion to test.
2016-04-28 15:52:20 +01:00
Nicholas Staples
fbf30129b0
Update app to the latest notifications_utils.
2016-04-28 14:02:51 +01:00
Chris Hill-Scott
5572058e50
Merge pull request #518 from alphagov/dashboard-stats-all-aligned
...
Count only requested and failed messages on dashboard
2016-04-28 13:08:29 +01:00