Chris Hill-Scott
e6a0382243
Make page <title> on API info match page heading
...
Otherwise you might get it mixed up with the API integration page when
you have a bunch of tabs open.
2016-08-01 09:22:08 +01:00
Chris Hill-Scott
52cdf389b0
Upgrade GOV.UK template
...
Full changes:
https://github.com/alphagov/govuk_template/compare/v0.17.1...v0.18.0
2016-08-01 07:41:16 +01:00
Chris Hill-Scott
abc8913698
Merge pull request #817 from alphagov/reason-for-mobile-on-invite
...
Tell invited users why we need their phone number
2016-07-29 13:48:19 +01:00
Leo Hemsted
e2875ea66e
Merge branch 'master' into remove-stats-from-send
2016-07-29 11:08:42 +01:00
Leo Hemsted
4ea23a7484
move away from statistics_api towards service_api
2016-07-29 10:28:18 +01:00
Martyn Inglis
147069a626
Removed unused dir change
2016-07-29 10:23:27 +01:00
Martyn Inglis
19aca03aed
updated python in bootstrap file
2016-07-29 10:23:27 +01:00
Martyn Inglis
bf3bc1f2f7
Increase ELB timeout
2016-07-29 10:23:27 +01:00
Martyn Inglis
721ed7c673
Fixed the test environment / run scripts
2016-07-29 10:23:26 +01:00
Martyn Inglis
d6be4dd5aa
Changed bucket name
2016-07-29 10:23:26 +01:00
Martyn Inglis
47b8955a9a
Fix import order so that configs work
2016-07-29 10:21:58 +01:00
Martyn Inglis
37167473b3
New property for environment
2016-07-29 10:21:26 +01:00
Martyn Inglis
4222027184
Updated config to be string based not class based and removed old style live/staging files.
2016-07-29 10:21:26 +01:00
Martyn Inglis
fe84674a77
Updated start scripts to not look up envrionemnt
2016-07-29 10:20:27 +01:00
Chris Hill-Scott
3eb0369511
Tell invited users why we need their phone number
...
Copies the hint text from the normal register page
2016-07-29 09:46:02 +01:00
Leo Hemsted
a7c8e88ecb
add tests and remove old aggregate code
2016-07-28 18:09:17 +01:00
Leo Hemsted
2ab23fa4ef
move weekly summary page over to new notifications/weekly endpoint
2016-07-28 16:23:22 +01:00
Chris Hill-Scott
a76e3fa31d
Merge pull request #812 from alphagov/header-colour-config
...
Update environment configs to override blue header
2016-07-28 10:35:06 +01:00
Chris Hill-Scott
82107940db
Update environment configs to override blue header
...
Because the header bar now defaults to blue instead of red, live
needs to be explicitly set to have a red header bar.
This also updates the config to staging, which used to inherit from the
preview one (and get an orange header) but now inherits from the base
config, and so needs its header colour setting explicitly as well.
2016-07-28 10:28:51 +01:00
Chris Hill-Scott
898a532d04
Merge pull request #811 from alphagov/beta-banner
...
Add beta banner to homepage
2016-07-28 10:23:54 +01:00
Chris Hill-Scott
37923b77a9
Only show red strip if logged in
...
Mainly because the red/beta orange/blue combo looks gross. And also
because you’re not in admin mode until you’re logged in.
2016-07-28 09:13:40 +01:00
Chris Hill-Scott
f22b61b9f4
Add beta banner to homepage
...
Because the homepage of the app is discoverable to the public, it makes
“gives the wrong impression” for it not to have a beta banner.
2016-07-28 09:08:15 +01:00
minglis
817a52781f
Merge pull request #803 from alphagov/remove-stats-from-job-page
...
Remove stats from job page
2016-07-26 11:24:00 +01:00
minglis
4db855c5b5
Merge pull request #804 from alphagov/too-many-messages
...
Too many messages
2016-07-26 11:23:55 +01:00
minglis
4c2daddf75
Merge pull request #805 from alphagov/update-util-markdown-branding
...
Update utils for Markdown parsing + subbranding
2016-07-26 11:23:48 +01:00
Pete Herlihy
8f77f47bb2
Merge pull request #806 from alphagov/whitelist-domain
...
Added new domain to whitelisted users
2016-07-26 10:56:30 +01:00
Leo Hemsted
eaf9b6dc54
pass 'today_only' flag to the back-end from send page
...
also bump notification-utils requirement to 8.7.0 for changes
to RecipientCSV
2016-07-25 15:26:43 +01:00
Leo Hemsted
45debe0d5b
remove get_statistics_for_service_for_day from codebase
...
two down, three to go
2016-07-25 14:54:58 +01:00
Leo Hemsted
0accd88869
request stats for today from send page from GET /service/:id endpoint
...
also amended test cases to ensure they mock out correct call
2016-07-25 14:46:27 +01:00
Leo Hemsted
40ed6dfe8e
replace _ underscores with - dashes
2016-07-25 14:29:01 +01:00
Leo Hemsted
aa37dc4929
add tests for send check error messages
2016-07-25 10:41:50 +01:00
Leo Hemsted
e99d3263cb
fix issues with too many messages partial not branching correctly
...
branch for "has service sent anything today" was around the intial
paragraph, rather than around the "you can still send..." bit -
they should always see the first paragraph, especially the bit that
points out if they're in trial mode. They don't need to see how
many messages they have remaining today if it's the same amount as
their daily limit.
2016-07-25 10:41:50 +01:00
Leo Hemsted
17087e3530
move too many messages error to its own partial
2016-07-25 10:41:50 +01:00
Leo Hemsted
86ce23f5da
Merge pull request #802 from alphagov/dashboard-stats-untangling
...
Remove notification-statistics endpoints from totals boxes
2016-07-25 10:29:36 +01:00
Pete Herlihy
cf4c932706
Added new domain to whitelisted users
2016-07-22 11:14:25 +01:00
Chris Hill-Scott
6ce38d5500
Update utils for Markdown parsing + subbranding
...
Markdown parsing (will be active but isn’t documented):
- [x] https://github.com/alphagov/notifications-utils/pull/54
Email sub branding (not used yet):
- [x] https://github.com/alphagov/notifications-utils/pull/55
2016-07-22 10:51:30 +01:00
Leo Hemsted
6ff77c995e
add tests for service_api_client
2016-07-21 17:32:28 +01:00
Leo Hemsted
d6e6d05893
add tests for send check error messages
2016-07-21 15:39:00 +01:00
Leo Hemsted
afce715a3d
fix issues with too many messages partial not branching correctly
...
branch for "has service sent anything today" was around the intial
paragraph, rather than around the "you can still send..." bit -
they should always see the first paragraph, especially the bit that
points out if they're in trial mode. They don't need to see how
many messages they have remaining today if it's the same amount as
their daily limit.
2016-07-21 15:03:49 +01:00
Leo Hemsted
20eb08a122
move too many messages error to its own partial
2016-07-21 15:03:32 +01:00
Leo Hemsted
eab66dc6be
add tests for get_status_filters
2016-07-20 16:18:04 +01:00
Leo Hemsted
57e03349d2
remove get_statistics_for_service from statistics_api_client
2016-07-20 15:54:30 +01:00
Leo Hemsted
ee10b3a6c2
use detailed service endpoint in notification summary page
...
to help get rid of notification statistics tables, move over the
job page. fortunately its required data format is almost identical
to the return value of the detailed service endpoint, so little
work is required - only to add a sending column
2016-07-20 15:52:35 +01:00
Leo Hemsted
0cc2a90a1a
add tests for get_dashboard_totals
2016-07-20 14:12:22 +01:00
Leo Hemsted
fade656e3b
add new get_detailed_service mock to tests that the dashboard
2016-07-20 14:12:22 +01:00
Leo Hemsted
3ffd6c744c
separate detailed and normal service_api_client.get_service
...
to make it easier to mock and control return values
2016-07-20 14:12:22 +01:00
Leo Hemsted
3e6eedd079
use new detailed service endpoint for dashboard totals
...
we don't want to use the old statistics endpoints any more
also a couple of quality of life changes
* moves some logic out of the _totals.html template
* tidies up statistics_utils
2016-07-20 14:12:22 +01:00
Leo Hemsted
4451a8634d
add detailed flag to GET service api client
...
returns current (past 7 days) notification stats as well as service info
2016-07-20 14:12:22 +01:00
Chris Hill-Scott
d9944107da
Merge pull request #799 from dahfool/master
...
replace require with es6 import statment
2016-07-20 12:01:17 +01:00
Chris Hill-Scott
8d7c37886c
Merge pull request #795 from alphagov/delivery-info-specific-time
...
Make ‘Available for…’ text on job page relative
2016-07-20 12:01:06 +01:00