Imdad Ahad
4dbae97fd1
Update to use raw strings
2016-10-28 12:09:08 +01:00
Imdad Ahad
e58b63f504
Update regex/config and remove unused imports
2016-10-28 11:44:35 +01:00
Imdad Ahad
5ecdbb8596
Refactor to use a cleaner and lean regex
2016-10-28 10:45:05 +01:00
Imdad Ahad
78aeb8934b
Add test to invite nonwhitelist user and refactor
2016-10-25 18:13:50 +01:00
Rebecca Law
a0ce270cf5
Update email domain list.
2016-10-18 13:51:34 +01:00
Pete Herlihy
be9c0fb0c8
Added Capita to whitelist as they're running a service for EFA
2016-10-10 15:12:53 +01:00
Rebecca Law
4f20dceb9f
Add email domains to whitelist for user registration.
2016-09-20 11:02:53 +01:00
Rebecca Law
ef792d9d2a
Add a new domain for the email domain regex.
2016-09-15 09:39:44 +01:00
minglis
2ea401213e
Merge pull request #928 from alphagov/rationalise-configs
...
Simplified the config files for admin.
2016-09-08 10:27:45 +01:00
Pete Herlihy
a7786c1e0b
Added dclg ticketing system domain to whitelist for return email
2016-09-07 14:28:49 +01:00
Martyn Inglis
b249477953
Simplified the config files for admin.
2016-09-07 10:31:33 +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
Martyn Inglis
d6be4dd5aa
Changed bucket name
2016-07-29 10:23: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
Pete Herlihy
cf4c932706
Added new domain to whitelisted users
2016-07-22 11:14:25 +01:00
Pete Herlihy
f746266b3d
Fixed typo
2016-07-05 16:39:50 +01:00
Pete Herlihy
d300900dee
Added Kainos to the whitelist of registerable user domains
2016-07-05 16:39:09 +01:00
Pete Herlihy
9fe95376fc
Whitelisting Salesforce for account creation
...
This is ahead of a story to move the domain whitelisting into the platform admin app
2016-06-30 12:26:08 +01:00
Chris Hill-Scott
8ca7832541
Filter test messages from jobs on the dashboard
...
While test messages technically have a file and are a job, there’s not
much reason to ever revisit them. So all they end up doing is cluttering
the dashboard and making it harder to find the actual files you’ve
actually uploaded from your computer.
So this commit:
- abstracts the name of test messages into config
- filters out any files whose filename represents a test message
- adds some more thorough tests for the jobs on the dashboard
2016-06-20 09:31:20 +01:00
Adam Shimali
e181940966
Renamed DESKPRO_TEAM_ID to DESKPRO_DEPT_ID to match name of param in
...
api call.
Added DESKPRO_ASSIGNED_AGENT_TEAM_ID so that tickets routed correctly.
2016-05-18 15:03:23 +01:00
Adam Shimali
09117e5eeb
Updated flask-login to version 0.3.2
2016-05-04 14:06:14 +01:00
Adam Shimali
a627cf9002
Change activity to view to request 7 days data.
...
Cleaned up filters a bit so that if you want both templates
email and sms is passed.
Added mock assertion to test.
2016-04-28 15:52:20 +01:00
Nicholas Staples
da536bbd2e
Feedback page working with all tests passing.
...
Updated to include team id.
Give Feedback -> Give feedback
2016-04-20 10:17:09 +01:00
Nicholas Staples
1c53efec62
Update config. All tests passing.
2016-04-07 17:33:30 +01:00
Nicholas Staples
8f8cdabfff
Upload csv location updated, all tests passing.
2016-04-07 12:56:57 +01:00
Nicholas Staples
f0b604084c
Fixed email bug and added new exhaustive tests.
2016-04-06 11:01:37 +01:00
Adam Shimali
ecf31628c9
Set debug for test
2016-03-23 15:07:04 +00:00
Adam Shimali
3e167c69f2
Clean up config a bit. Get values for config from environment.
...
Removed some old redundant config.
2016-03-23 15:07:04 +00:00
Adam Shimali
3b984358bb
Get config values from env.
2016-03-22 10:29:25 +00:00
NIcholas Staples
dbe8b5b6ec
Merge pull request #304 from alphagov/add_valid_email_regexes
...
Add valid email regexes
2016-03-21 09:54:33 +00:00
minglis
0c43232c0c
Merge pull request #287 from alphagov/notification_history_page
...
Notification history page
2016-03-18 14:32:55 +00:00
Nicholas Staples
4f63b68b4a
merge with master
2016-03-18 12:07:50 +00:00
Nicholas Staples
8a203c0155
Valid email domains added and tests passing.
2016-03-18 12:05:50 +00:00
Adam Shimali
7ee173de51
Merge pull request #293 from alphagov/single-verify-code
...
Changed registration flow to first send email verification link that
2016-03-18 11:03:27 +00:00
Nicholas Staples
3d08eb624b
Merge with new master.
2016-03-18 10:16:14 +00:00
Martyn Inglis
11db35f9bd
Remoevd used propeties
2016-03-18 09:19:53 +00:00
Adam Shimali
2792bece54
Changed registration flow to first send email verification link that
...
when visited sends sms code for second step of account verification.
At that second step user enters just sms code sent to users mobile
number.
Also moved dao calls that simply proxied calls to client to calling
client directly.
There is still a place where a user will be a sent a code for
verification to their email namely if they update email address.
2016-03-17 15:19:51 +00:00
Martyn Inglis
2473b09beb
Start aligning Admin app with config styles used elsewhere
...
- no config overrides - now all set in environment
- use different files for staging and live too allow for differently named env variables
- updates to run_app and run_tests scripts to set correct environment (test/development) so correct config picked up
- use environment file on deployed environments to pick correct config
2016-03-17 13:45:59 +00:00
Nicholas Staples
b0ca855ba8
Notification history page added and pagination, tests all working.
2016-03-16 16:57:10 +00:00
Rebecca Law
b3416c48e8
Remove unused config
2016-03-14 10:54:19 +00:00
Martyn Inglis
8a4e8bd3f6
Default service limit reduced to 50
2016-03-09 14:22:35 +00:00
Nicholas Staples
c959678c49
Remember me functionality added and tested.
...
Merge extra.
Fixed comment.
2016-02-24 17:32:15 +00:00
NIcholas Staples
78fe2b463a
Merge pull request #176 from alphagov/styleguide-updates
...
Updates to styleguide
2016-02-15 12:00:44 +00:00
Chris Hill-Scott
0d86be0feb
Don’t show styleguide on live environment
...
Its audience is people working on the product, not the end users.
2016-02-15 11:48:04 +00:00
Nicholas Staples
2d4d88f9de
Fix for bug of cookie expiry.
2016-02-15 11:43:16 +00:00
Chris Hill-Scott
fc09750662
Cache static files for a year
...
We only want static files to not come from the browser cache when they have
changed. The best way to do this is by cache busting the URLs.
Otherwise, we want static files to be cached for a long time. This commit sets
the `Expires` HTTP header to 1 year in the future.
Previously it was set to 12 hours, the default.
From the Flask docs:
> Default cache control max age to use with send_static_file() (the default
> static file handler) and send_file(), in seconds. Override this value on a
> per-file basis using the get_send_file_max_age() hook on Flask or Blueprint,
> respectively. Defaults to 43200 (12 hours).
2016-02-10 16:07:10 +00:00
Rebecca Law
3a89039795
Remove need for TWILIO_TEST_NUMBER
2016-02-09 15:56:09 +00:00
Chris Hill-Scott
7f2d2bd5c2
Add all the configs
2016-02-09 14:10:28 +00:00
Rebecca Law
6d318659ff
fix codestyle
2016-02-08 15:23:10 +00:00