Commit Graph

7170 Commits

Author SHA1 Message Date
Chris Hill-Scott
776299c26f Add department crests for email sub branding
We need to host these images somewhere. Let’s start off doing it in
the admin app, like we do for other email assets.

Eventually we should have a CDN in front of this.

Images lifted from
76ff2e0b6d/app/assets/images/crests
2016-08-03 14:42:13 +01:00
Martyn Inglis
a8bd2796fe Live travis config 2016-08-03 13:51:55 +01:00
Chris Hill-Scott
ec724ce417 Stop AJAX updater consuming ever-increasing memory
The pages with AJAX on were feeling quite sluggish, and it felt like
they were making the whole browser slow down.

Looking at the performance stuff in Chrome, the number of DOM nodes was
going up and up, which is weird because the number of things on the page
wasn’t changing. This was causing the page to consume more and more
memory in order to store all these nodes.

This is kinda beyond my understanding, but I tried a few things and it
looks like the browser was having a hard time garbage collecting the
temporary bits of DOM used to update the page.

By assinging these bits of DOM to variables before using them it seems
that the browser has an easier time cleaning them up.
2016-08-03 10:29:25 +01:00
Martyn Inglis
982d2d3095 Travis for master builds 2016-08-03 09:05:04 +01:00
Martyn Inglis
ff45f015df updated keys 2016-08-02 15:36:49 +01:00
Martyn Inglis
01edb66861 Changed application name 2016-08-02 15:19:08 +01:00
Martyn Inglis
44329e4218 Added staging deploy into travis 2016-08-02 15:09:42 +01:00
Martyn Inglis
4e20b64ca9 Added staging deploy into travis 2016-08-02 15:09:18 +01:00
minglis
f6d62e385e Merge pull request #828 from alphagov/new_staging
New staging
2016-08-02 14:48:11 +01:00
Martyn Inglis
351b9ea410 Removed deploy block from travis for now 2016-08-02 14:39:32 +01:00
Chris Hill-Scott
bc715b3dd8 Add Gwen’s initial guidance about formatting
This is based on some work Gwen did for Civil Service Digital. Let’s
get it in for now so that we have a starting point from which to
improve.

This specifically doesn’t reference ‘optional’ placeholders because I
don’t know how best to explain those yet.
2016-08-02 09:42:30 +01:00
Chris Hill-Scott
ee52e72f90 Move template guidance underneath
Two problems with having it on the side:
- some users didn’t see it at all
- there wasn’t space to have additional guidance about Markdown-style
  formatting
2016-08-02 09:29:11 +01:00
Martyn Inglis
6fa31e5847 Merge branch 'master' into new_staging 2016-08-02 09:03:07 +01:00
Chris Hill-Scott
e2617ce7f6 Merge pull request #824 from alphagov/fix-newlines-html-email
Fix newlines in HTML emails
2016-08-01 14:54:56 +01:00
Chris Hill-Scott
30261cf385 Fix newlines in HTML emails
This problem was masked because the email message component was also
replacing newlines with `<br>`s.

Implements:
- [ ] https://github.com/alphagov/notifications-utils/pull/60
2016-08-01 14:29:08 +01:00
Leo Hemsted
bdc6691cb9 Merge branch 'master' into remove-stats-from-send 2016-08-01 13:53:08 +01:00
Chris Hill-Scott
06d6718035 Update to correct version
Got mixed up on https://github.com/alphagov/notifications-admin/pull/816
2016-08-01 11:15:46 +01:00
Chris Hill-Scott
ae8734f8d5 Merge pull request #816 from alphagov/fix-markdown-oddities
Fix Markdown/HTML email oddities
2016-08-01 10:59:29 +01:00
Chris Hill-Scott
7d99308d4e Fix Markdown/HTML email oddities
Depends on:
- [ ] https://github.com/alphagov/notifications-utils/pull/59
2016-08-01 10:38:34 +01:00
Chris Hill-Scott
c1ee402784 Merge pull request #821 from alphagov/fix-page-title-api-info
Make page <title> on API info match page heading
2016-08-01 10:31:36 +01:00
Chris Hill-Scott
efe4869c87 Merge pull request #820 from alphagov/upgrade-template
Upgrade GOV.UK template
2016-08-01 10:31:30 +01:00
Chris Hill-Scott
d673cb1e9c Make page title match on API integration 2016-08-01 10:19:59 +01:00
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