Commit Graph

2262 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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