Commit Graph

2480 Commits

Author SHA1 Message Date
Chris Hill-Scott
0e2d80018e Fix page title 2016-08-05 09:40:21 +01:00
Chris Hill-Scott
99ec0fd8d7 Make it clear who you’re sending the example to
It’s not one of your colleagues. You’re not inviting someone. We’ve seen
people get confused about this.
2016-08-05 09:32:58 +01:00
Leo Hemsted
d5238bce5b handle if user doesn't provide name/email
also clean up usage of DESKPRO_PERSON_EMAIL and put it in the conf rather than env
2016-08-04 18:01:08 +01:00
Leo Hemsted
ff46aaa6cc send user contact info to deskpro correctly
previously we were erroneously setting our own reply email rather
than using the user's provided one 😵
2016-08-04 17:02:21 +01:00
Chris Hill-Scott
1ea1b1fd45 Merge pull request #841 from alphagov/revert-833-js-memory-speedup
Revert "Stop AJAX updater consuming ever-increasing memory"
2016-08-04 12:17:39 +01:00
Chris Hill-Scott
b9a69def00 Revert "Stop AJAX updater consuming ever-increasing memory" 2016-08-04 12:06:04 +01:00
Chris Hill-Scott
1e39e54bd6 Merge pull request #838 from alphagov/no-banner-if-api-permission
Don’t show banner on dashboard to API users
2016-08-04 10:35:26 +01:00
Chris Hill-Scott
8cef0bd74e Merge pull request #833 from alphagov/js-memory-speedup
Stop AJAX updater consuming ever-increasing memory
2016-08-04 10:35:19 +01:00
catherineheywood
4b0c5367e6 Change API keys to API integration
Change reference to interface - API keys to  API integration
2016-08-04 09:05:00 +01:00
Chris Hill-Scott
d318a4e8a2 Don’t show banner on dashboard to API users
The "you only have permission to view this service" banner sort of
makes sense if you don’t have _any_ permissions, but it doesn’t if you
have permission to create API keys. If you can create API keys you can
do a lot more than just view the service.
2016-08-03 16:46:00 +01:00
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