Commit Graph

4540 Commits

Author SHA1 Message Date
Athanasios Voutsadakis
36663bd9ac Load route_secret config 2017-11-15 12:05:05 +00:00
Athanasios Voutsadakis
061b057f24 Merge branch 'master' into add_proxy_header_check 2017-11-14 18:02:53 +00:00
Leo Hemsted
3bb083bc89 Merge pull request #1641 from alphagov/user-profile-changes
User profile changes
2017-11-14 17:06:56 +00:00
Leo Hemsted
5353a26bbf make sure auth type is set when registering 2017-11-14 17:01:04 +00:00
Leo Hemsted
6df775fb11 use mapping_table on user-profile page 2017-11-14 16:54:53 +00:00
Leo Hemsted
1559c074d1 Merge pull request #1640 from alphagov/email-invite
Email invites!
2017-11-14 16:45:51 +00:00
Leo Hemsted
8c14113da5 only show mobile number on register from invite page if user is sms_auth
also clean up the way the form is invoked - it now populates from an
invited_user object
2017-11-14 15:53:38 +00:00
Athanasios Voutsadakis
5b978bc0f4 Bump utils version in requirements 2017-11-14 15:26:07 +00:00
Athanasios Voutsadakis
0d2adfcce2 Add basic tests 2017-11-14 15:26:03 +00:00
Leo Hemsted
c8dbd819ef add tests for registering from an email_auth invite 2017-11-14 15:18:14 +00:00
Leo Hemsted
4c39562821 make big old test give some clues about where it fails by checking response codes of requests 2017-11-14 15:18:14 +00:00
Leo Hemsted
65ba7e88c8 refactor RegisterFromInvite to make auth_type required, and update test fixtures 2017-11-14 15:18:14 +00:00
chrisw
79393c97ef Updated invite email auth user flow 2017-11-14 15:18:14 +00:00
Athanasios Voutsadakis
5574200607 Copy set_config_values from api 2017-11-14 14:51:17 +00:00
Athanasios Voutsadakis
5f0e6beb79 Add before_request to check header 2017-11-14 14:40:32 +00:00
Athanasios Voutsadakis
a7dbde39e9 Rename utils module 2017-11-14 14:38:26 +00:00
Chris Hill-Scott
694a92e92a Merge pull request #1638 from alphagov/fix-misleading-wording-choose-sms-sender
Fix misleading wording on choose text message sender/email reply to pages
2017-11-13 12:23:36 +00:00
Chris Hill-Scott
b6b0e81349 Merge pull request #1637 from alphagov/pyup-update-pyexcel-io-0.5.3-to-0.5.4
Update pyexcel-io to 0.5.4
2017-11-13 12:23:30 +00:00
Chris Hill-Scott
87a3bd38eb Retitle choose sender page as first page in flow
We have a sort of principle that when clicking a link, the page you land
on should be titled the same as the link you clicked.

This also reduces unnecessary repetition between the page title and the
form label.
2017-11-13 11:59:39 +00:00
Chris Hill-Scott
beffb9e123 Reword choose sender/reply to address pages
Make it clear that:

- In the case of text messages, it’s about who the message comes from
- In the case of emails, it’s about where the user will reply to
2017-11-13 11:56:05 +00:00
pyup-bot
27254599e5 Update pyexcel-io from 0.5.3 to 0.5.4 2017-11-10 21:17:59 +00:00
Chris Waszczuk
03447c10da Merge pull request #1633 from gov-cjwaszczuk/master
Updated code used flow
2017-11-09 17:11:28 +00:00
chrisw
04f6d0a5e0 Updated code used flow 2017-11-09 17:06:57 +00:00
Chris Waszczuk
888ac5bf85 Merge pull request #1622 from gov-cjwaszczuk/master
Alter login flow to allow for email auth login
2017-11-09 16:33:32 +00:00
chrisw
0fac7125d2 Don't 'use my own number' if user doesn't have one 2017-11-09 16:09:00 +00:00
chrisw
1effec78e5 alter login flow to allow for email auth login 2017-11-09 16:07:28 +00:00
Rebecca Law
ef5f5ca43a Merge pull request #1628 from alphagov/remove-unused-code-for-sms-sender
Remove unused routes
2017-11-09 15:59:09 +00:00
Leo Hemsted
724093ac19 Merge pull request #1632 from alphagov/user-activation-stuff-for-real
User activation stuff for real
2017-11-09 15:42:13 +00:00
Leo Hemsted
fcefd2a80c pass in data to posts 2017-11-09 15:02:59 +00:00
Leo Hemsted
2f37b00989 use active-endpoint 2017-11-09 14:58:44 +00:00
Leo Hemsted
cbf1b3ec38 replace user PUT with POSTs
the update_user fn was used in two places, for things that are handled
fine by update_user_attribute. Reduce complexity in the API by killing
the PUT, which is more dangerous (might silently overwrite things that
shouldn't be, like "last_logged_in_at" etc).

Had to change the code not received mobile number form, and the
activate user function.
2017-11-09 14:58:33 +00:00
Leo Hemsted
76b9cb8f81 Merge pull request #1631 from alphagov/revert-1627-remove-user-put
Revert "replace user PUT with POSTs"
2017-11-09 14:57:15 +00:00
Leo Hemsted
bfa6980913 Revert "replace user PUT with POSTs" 2017-11-09 14:57:01 +00:00
Leo Hemsted
395a2fccbb Merge pull request #1630 from alphagov/revert-1629-activate-endpoint
Revert "use new activate endpoint"
2017-11-09 14:55:20 +00:00
Leo Hemsted
b9eca67b0d Revert "use new activate endpoint" 2017-11-09 14:55:08 +00:00
Leo Hemsted
51e91bc627 Merge pull request #1629 from alphagov/activate-endpoint
use new activate endpoint
2017-11-09 14:54:04 +00:00
Leo Hemsted
7b0fcf8c08 use active-endpoint 2017-11-09 14:37:33 +00:00
Leo Hemsted
a2926eaffe Merge pull request #1627 from alphagov/remove-user-put
replace user PUT with POSTs
2017-11-09 14:07:07 +00:00
Rebecca Law
8c9d90c0f8 Remove unused routes 2017-11-09 13:48:27 +00:00
Leo Hemsted
302a024d3b replace user PUT with POSTs
the update_user fn was used in two places, for things that are handled
fine by update_user_attribute. Reduce complexity in the API by killing
the PUT, which is more dangerous (might silently overwrite things that
shouldn't be, like "last_logged_in_at" etc).

Had to change the code not received mobile number form, and the
activate user function.
2017-11-09 12:30:12 +00:00
Chris Hill-Scott
a11e57c50a Merge pull request #1625 from alphagov/revert-1614-fix-escaped-characters-inbound
Revert "Stop escaping special characters in inbound messages"
2017-11-07 17:27:02 +00:00
Chris Hill-Scott
6325f26081 Revert "Stop escaping special characters in inbound messages" 2017-11-07 17:22:57 +00:00
Chris Hill-Scott
a988abefee Merge pull request #1613 from alphagov/pyup-update-notifications-python-client-4.5.0-to-4.6.0
Update notifications-python-client to 4.6.0
2017-11-07 17:13:45 +00:00
Chris Hill-Scott
279c76eb18 Merge pull request #1614 from alphagov/fix-escaped-characters-inbound
Stop escaping special characters in inbound messages
2017-11-07 17:12:07 +00:00
Chris Hill-Scott
dbd4372ca3 Merge pull request #1624 from alphagov/cesg---ncsc
Updated the domain for CHECK link from cesg to ncsc
2017-11-07 17:11:39 +00:00
Pete Herlihy
eb0ce31253 Merge pull request #1623 from alphagov/103-104-and-44-45
103 - 104 and 44 - 45 orgs for DBS
2017-11-07 17:04:56 +00:00
Pete Herlihy
83d8e3d99b Updated the domain for CHECK link from cesg to ncsc 2017-11-07 17:02:22 +00:00
Pete Herlihy
75bca28cc1 103 - 104 and 44 - 45 orgs for DBS 2017-11-07 16:36:05 +00:00
Pete Herlihy
43b487c823 Merge pull request #1616 from alphagov/102-103
102 - 103 for FormFinder Admin MOJ
2017-11-06 20:37:20 +00:00
Alexey Bezhan
7ed1156fc7 Merge pull request #1618 from alphagov/add-jshintrc
Move jshint configuration to .jshintrc
2017-11-06 17:46:34 +00:00