Commit Graph

4432 Commits

Author SHA1 Message Date
Leo Hemsted
19f731ec07 add error handler that catches invalid tokens, and returns 404 2017-11-01 15:47:05 +00:00
Leo Hemsted
aff9d47323 don't hit API when checking new account email-token
we currently store new account email verify tokens in the database, and
check against that to work out if they've expired. But we don't need to
do that, tokens have their own timing mechanism. So lets just use that,
and free up the database to do other things.

Also, standardised the forgot password, change email, and new account
email verification timeouts to all be an hour, from the config val
'EMAIL_EXPIRY_SECONDS'
2017-11-01 15:32:24 +00:00
Leo Hemsted
0c7bc350d7 Merge pull request #1593 from alphagov/fix-auth-rollout
add auth_type default to InvitedUser object
2017-10-30 17:43:57 +00:00
Leo Hemsted
273b864dce add auth_type default to InvitedUser object
we unpack the api invited user rest endpoint results straight into the
InvitedUser object, so we should make sure that any fields added to
the api response are mentioned here
2017-10-30 17:38:50 +00:00
Chris Waszczuk
76730579e1 Merge pull request #1591 from gov-cjwaszczuk/master
Fixed broken edit functionality
2017-10-30 15:40:32 +00:00
chrisw
d02cd67b0d Fixed broken edit functionality 2017-10-30 15:31:35 +00:00
Chris Waszczuk
dd88d007e1 Merge pull request #1580 from gov-cjwaszczuk/master
Added Multiple SMS sender functionality
2017-10-30 13:49:21 +00:00
chrisw
4e721c95ce Added Multiple SMS sender functionality 2017-10-30 13:40:34 +00:00
Leo Hemsted
8ec50971eb Merge pull request #1588 from alphagov/email-auth-toggle
Email auth toggle
2017-10-27 15:00:20 +01:00
Leo Hemsted
fcef77738c add test to make sure all buttons are plat admin only 2017-10-27 14:34:38 +01:00
Leo Hemsted
69b766b3c9 test on python3.5 2017-10-27 13:10:12 +01:00
Chris Hill-Scott
090622cc36 Merge pull request #1586 from alphagov/multipler
Fix spelling mistake on pricing page
2017-10-27 13:05:19 +01:00
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