Commit Graph

7170 Commits

Author SHA1 Message Date
Chris Hill-Scott
aaad23d895 Merge pull request #1583 from alphagov/add-ga-settings
Standardise Google Analytics tracking across GaaP
2017-10-27 13:05:07 +01:00
Chris Hill-Scott
b3d4da129a Merge pull request #1587 from alphagov/search-console
Add Google search console verification code
2017-10-27 13:04:56 +01:00
Leo Hemsted
ba07fcff2d move all mocks and things to the fixture to avoid duplication 2017-10-27 12:07:22 +01:00
Leo Hemsted
151605180a Add email auth platform admin toggle
also added tests to check visibility, url, and button content
2017-10-27 11:44:40 +01:00
Chris Hill-Scott
36423d71e7 Add Google search console verification code
This proves to Google search console that we own this domain, and will let us start getting some more insights about how and when Notify appears in search results.
2017-10-27 11:33:10 +01:00
Leo Hemsted
0ea68f9c6d fix linter errors 2017-10-27 10:56:03 +01:00
Chris Hill-Scott
5fd4778e87 Fix spelling mistake on pricing page 2017-10-27 09:10:29 +01:00
Pete Herlihy
e049243c7d Merge pull request #1585 from alphagov/90-96
90 96
2017-10-26 16:20:00 +01:00
Pete Herlihy
5f57d3ddaf And now 98..... Local Land Charges 2017-10-26 16:19:44 +01:00
Pete Herlihy
2e9733460a And acutally 97 now for UC Transfers Mgmt 2017-10-26 14:41:34 +01:00
Pete Herlihy
c387854920 90-96 services and 41-45 orgs 2017-10-26 14:16:04 +01:00
Pete Herlihy
b4fccc02ea Merge pull request #1584 from alphagov/strapline
Better strapline on the homepage
2017-10-26 14:10:20 +01:00
Pete Herlihy
81978e071c Better strapline on the homepage 2017-10-26 12:58:02 +01:00
Chris Hill-Scott
828c2de475 Merge pull request #1581 from alphagov/not-set-not-none
Look for correct text when determining text colour
2017-10-26 12:28:11 +01:00
Chris Hill-Scott
a94bdfa366 Merge pull request #1582 from alphagov/show-letters-contact-with-linebreaks
Tidy up layout of letter contact blocks
2017-10-26 12:28:00 +01:00
Chris Hill-Scott
62fcc2429f Standardise Google Analytics tracking across GaaP
These are the settings that our analytics person has said we should be
using across all the GaaP products.

This commit also makes sure our tracking code is identical across all
the templates that have it in (including the obsfucation of UUIDs). We
may want to remove the ID obsfucation later on, but for now let’s make
sure it’s happening consistently in all the places.
2017-10-26 11:11:05 +01:00
Chris Hill-Scott
127c381d22 Tidy up layout of letter contact blocks
Linebreaks are an important part of the letter contact block, and make
it easier to read.

Bold text works for short pieces of info like email addresses or phone
numbers, but is too heavy for the letter contact blocks because they
tend to be longer.
2017-10-25 11:46:12 +01:00
Chris Hill-Scott
a51059e174 Look for correct text when determining text colour
We used to say ‘None’ if this was empty. Now we say ‘Not set’. The thing
that decides whether to make the text grey or not was looking for ‘None’
(the old thing).
2017-10-24 17:15:16 +01:00
Chris Hill-Scott
2386a05cb7 Merge pull request #1579 from alphagov/right-align-reply
Right-align reply link in conversation view
2017-10-24 12:24:14 +01:00
Chris Hill-Scott
056c88be2a Merge pull request #1534 from alphagov/collect-service-type
Collect organisation type when user creates a service and use it to calculate text message allowance
2017-10-24 12:24:07 +01:00
Chris Hill-Scott
e49693281a Right-align reply link in conversation view
So that it lines up with the outbpund messages.

Also the ‘send’ button is usually right-aligned when using Whatsapp,
iMessage, etc.
2017-10-24 12:00:51 +01:00
Rebecca Law
e1ca1c02b2 Merge pull request #1568 from alphagov/improve-platform-admin
Improve the performance of /platform-admin
2017-10-24 11:51:25 +01:00
Rebecca Law
aaeec3f7ac Remove the extra function - oops 2017-10-24 11:35:30 +01:00
Chris Hill-Scott
9ca41157bf Merge pull request #1569 from alphagov/pyup-update-notifications-python-client-4.4.0-to-4.5.0
Update notifications-python-client to 4.5.0
2017-10-24 11:22:48 +01:00
Chris Hill-Scott
3d3206c61a Merge pull request #1578 from alphagov/pyup-update-pyexcel-io-0.5.2-to-0.5.3
Update pyexcel-io to 0.5.3
2017-10-24 11:22:06 +01:00
Chris Hill-Scott
57a6614625 Merge pull request #1576 from alphagov/pyup-update-pyexcel-xlsx-0.5.1-to-0.5.2
Update pyexcel-xlsx to 0.5.2
2017-10-24 11:21:57 +01:00
pyup-bot
fdef6bfc73 Update pyexcel-io from 0.5.2 to 0.5.3 2017-10-24 11:04:20 +01:00
Chris Hill-Scott
ed53812b96 Merge pull request #1570 from alphagov/pyup-update-pyexcel-0.5.5-to-0.5.6
Update pyexcel to 0.5.6
2017-10-24 11:03:10 +01:00
pyup-bot
c49d8b8507 Update pyexcel-xlsx from 0.5.1 to 0.5.2 2017-10-24 11:02:14 +01:00
Chris Hill-Scott
0368c1bdef Merge pull request #1572 from alphagov/pyup-update-pyexcel-xls-0.5.1-to-0.5.2
Update pyexcel-xls to 0.5.2
2017-10-24 11:01:50 +01:00
Chris Hill-Scott
c50d5191c3 Merge pull request #1574 from alphagov/pyup-update-pyexcel-ods3-0.5.1-to-0.5.2
Update pyexcel-ods3 to 0.5.2
2017-10-24 11:00:55 +01:00
pyup-bot
626c6469ee Update pyexcel-ods3 from 0.5.1 to 0.5.2 2017-10-23 19:02:35 +01:00
pyup-bot
45468a4513 Update pyexcel-xls from 0.5.1 to 0.5.2 2017-10-23 19:02:27 +01:00
pyup-bot
94224f71ba Update pyexcel from 0.5.5 to 0.5.6 2017-10-23 18:17:29 +01:00
pyup-bot
e7a3772c47 Update notifications-python-client from 4.4.0 to 4.5.0 2017-10-23 17:47:28 +01:00
Chris Hill-Scott
d9104ba59f Add page to change SMS allowance
There may be exceptions to the rule, so we should have a way of
overriding this manually.
2017-10-23 17:45:44 +01:00
Chris Hill-Scott
d438109630 Add page to change organisation type
If a user picks the wrong thing, we should be able to override it when
they go live.
2017-10-23 17:45:44 +01:00
Chris Hill-Scott
8cc8a0bf05 Change None to Not set
‘None’ is a bit Pythony. ‘Not set’ is a bit more human.
2017-10-23 17:45:43 +01:00
Chris Hill-Scott
521b5b6cf1 Add ‘optional text’ macro
This pattern of value or grey text saying `None` is common enough in our
app that we should codify it into a pattern. Which this commit does.
2017-10-23 17:45:43 +01:00
Chris Hill-Scott
ff6b2b01dd Show org type and free allowance on settings page
As a platform admin it’s useful to be able to see what each service has
set for these attributes.
2017-10-23 17:45:43 +01:00
Chris Hill-Scott
c516760056 Set free SMS limit depending on organisation type
Different parts of government get billed slightly differently, and
there’s differences in how much money we’re allowed to give them.

Think these numbers are right, but should be double checked.
2017-10-23 17:45:26 +01:00
Chris Hill-Scott
9453f301d2 Collect organisation type
So that we can default services to their appropriate text allowance, we
need to find out what sector they're in. So let's start collecting that
from teams as they create new services.

I think Central/Local/NHS are the right options, but these can be easily
changed if not.
2017-10-23 17:45:01 +01:00
Rebecca Law
7f8e935b44 Improve the performance of /platform-admin
Using a new endpoint in API to get the aggregate platform admin stats.

Relies on https://github.com/alphagov/notifications-api/pull/1332
2017-10-23 15:08:08 +01:00
Chris Hill-Scott
9b06f2da23 Remove redundant init
This convoluted bit of code was doing the exact same thing as just
inheriting from the parent class’s `__init__`.
2017-10-23 14:24:50 +01:00
Chris Hill-Scott
5998b34f20 Merge pull request #1567 from alphagov/pyup-update-flake8-3.4.1-to-3.5.0
Update flake8 to 3.5.0
2017-10-23 13:56:52 +01:00
pyup-bot
7aa6dc3d8a Update flake8 from 3.4.1 to 3.5.0 2017-10-23 13:15:27 +01:00
Sakis
f1a6937b76 Merge pull request #1556 from alphagov/temporary-syslog-drain
Add syslog drain service to preview and staging
2017-10-23 11:44:15 +01:00
Rebecca Law
65d02bb9ba Merge pull request #1566 from alphagov/gov-wales-domain
Add gov.wales domain
2017-10-23 11:23:09 +01:00
Rebecca Law
b07c4caa8f Add gov.wales domain 2017-10-23 11:19:08 +01:00
Chris Hill-Scott
2166939640 Merge pull request #1565 from alphagov/pyup-update-pyexcel-xlsx-0.5.0.1-to-0.5.1
Update pyexcel-xlsx to 0.5.1
2017-10-20 11:27:03 +01:00