Commit Graph

274 Commits

Author SHA1 Message Date
Martyn Inglis
4af1c6131d Change ownership of app to ubuntu on deploy 2015-12-17 11:01:57 +00:00
Martyn Inglis
249de62c30 Added codedeploy back in 2015-12-17 10:01:55 +00:00
Martyn Inglis
c8a47ce25d Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-16 14:26:13 +00:00
Martyn Inglis
86c98b413a Removed AWS deploy for now 2015-12-16 14:26:09 +00:00
Chris Heathcote
546419f312 Merge pull request #32 from alphagov/ph-dashboard-data
Added some data and links to the dashboard to give it a 'flavour'
2015-12-16 14:17:24 +00:00
Martyn Inglis
4ffadc39c4 Trap errors in stop script in AWS, and put heroku back as a deploy ganet 2015-12-16 14:15:51 +00:00
Pete Herlihy
7ddf2b0a9c Updated direct URLs to method ones 2015-12-16 14:12:24 +00:00
Martyn Inglis
4a8f70b3b8 Updated travis for codedeploy deploy 2015-12-16 14:10:56 +00:00
Martyn Inglis
e9035b8c0e Updated travis for codedeploy deploy 2015-12-16 14:03:17 +00:00
Martyn Inglis
ec08a5229f Updated travis for codedeploy deploy 2015-12-16 14:02:12 +00:00
Martyn Inglis
4f94714ec1 Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-16 14:01:09 +00:00
Martyn Inglis
3247330da5 Updated travis for codedeploy deploy 2015-12-16 14:00:38 +00:00
Pete Herlihy
a7e6fc340a Added some data and links to the dashboard to give it a 'flavour' 2015-12-16 13:51:46 +00:00
Martyn Inglis
2308867132 Install SASS gem 2015-12-16 11:02:54 +00:00
Pete Herlihy
a534441fa0 Merge pull request #30 from alphagov/new-nav
Create side navigation for logged in pages
2015-12-15 15:17:25 +00:00
Chris Heathcote
6fa29e769d Rolling back to thirds 2015-12-15 13:57:19 +00:00
Chris Heathcote
1ad5f7f8e6 Trialling 1/4 width nav 2015-12-15 13:48:23 +00:00
minglis
5d2bc74d38 Merge pull request #31 from alphagov/add-service
Add service
2015-12-15 11:57:17 +00:00
Chris Heathcote
17850dc170 Changed nav urls to be url_fors 2015-12-15 10:52:24 +00:00
Rebecca Law
258ae3674b 110067722: Fix code style 2015-12-15 10:32:26 +00:00
Rebecca Law
eb0cff18c5 110067722: Add form validation for duplicate service name. 2015-12-15 10:32:26 +00:00
Rebecca Law
23b5cffbe8 110067722: Update template with the form. 2015-12-15 10:32:26 +00:00
Rebecca Law
43f2605ac4 110067722: Post add-service endpoint saves the service and maps it to the user. 2015-12-15 10:32:26 +00:00
Rebecca Law
350ccda208 110067722: Added endpoints for add-service
Post is not complete as of yet.
2015-12-15 10:32:25 +00:00
Rebecca Law
4b01335703 110067722: Create the model and dao for services.
This commit creates the data model for services and user_to_service.
The dao is also created to insert, get, activate, and unrestrict the service.
2015-12-15 10:31:27 +00:00
Chris Heathcote
8939f710a9 Move navigation into its own css file 2015-12-14 17:05:39 +00:00
Chris Heathcote
89189f2e35 Add URLs to main nav; add user profile to nav 2015-12-14 16:58:43 +00:00
Chris Heathcote
15c9269a80 Added main nav to logged in pages 2015-12-14 16:53:07 +00:00
Chris Heathcote
ec020a42f4 Initial nav & implementation on dashboard 2015-12-14 16:37:15 +00:00
Martyn Inglis
6c40e72e78 Removed buildpacks 2015-12-14 16:04:25 +00:00
Martyn Inglis
78c885943b Update to gemfile 2015-12-14 15:46:46 +00:00
Martyn Inglis
1877bc3c44 Multiple buildpacks added 2015-12-14 15:34:42 +00:00
minglis
e133baa6b3 Merge pull request #26 from alphagov/persis_verify_codes
Persis verify codes
2015-12-14 14:56:28 +00:00
minglis
be594e9a0a Merge pull request #28 from alphagov/refator_unit_tests
Refator unit tests
2015-12-14 14:55:22 +00:00
Rebecca Law
caabda92e0 Test for VerifyForm and TwoFactorForm 2015-12-14 14:09:29 +00:00
Rebecca Law
295dbeb7d1 Create unit tests that test the forms. 2015-12-14 13:25:27 +00:00
Rebecca Law
c0550d2c61 Refactor unit tests 2015-12-14 13:25:27 +00:00
Rebecca Law
49a8caefa0 Add the live envirornment 2015-12-14 11:00:29 +00:00
minglis
69ac2694a5 Merge pull request #27 from alphagov/send-sms-flow
Put elements on pages for ‘send text messages’ flow
2015-12-14 10:40:55 +00:00
Chris Hill-Scott
7ac08e9a85 Simplify check and send SMS page
This commit:
- removes the row numbering so it’s easier to scan the list of phone numbers
- adds subheadings for 'first three' and 'last three'
- puts the 'see all' link at the end
2015-12-11 17:27:26 +00:00
Chris Hill-Scott
262cbffad8 Install SASS Gem on Travis
This is what was making the build fail :(((((
2015-12-11 16:31:29 +00:00
Chris Hill-Scott
c6a73c287a Improvements to send SMS page
- make messages align horizontally
- change wording of step 2 (from Lorena)
2015-12-11 14:32:43 +00:00
Chris Hill-Scott
d2562889b8 Replace CSV preview with rendered messages
If there are less than 7 messages, show them all.

If there are more than 7, show the first and last three, and a link to the
remaining x.
2015-12-11 14:02:42 +00:00
Chris Hill-Scott
4c14e273c2 Try out previewing messages 2015-12-11 12:02:21 +00:00
Chris Hill-Scott
64f03bed06 Make labels blocks, put next to message templates 2015-12-11 11:39:52 +00:00
Rebecca Law
6373455204 Update migration scripts to match the data model 2015-12-11 10:29:23 +00:00
Chris Hill-Scott
703eed3d36 Add 'back' button 2015-12-11 09:49:39 +00:00
Chris Hill-Scott
8a34fa7e0a Use Flask for routing
This commit:
- replaces links that look like buttons with forms and submit buttons
- splits the view code for SMS into its own file
- moves the routing into the Python by adding handling for `post` requests
- uses Flask’s `url_for` to generate URLs, rather than hard coding them (so that
  it’s easier to change the URLs)
- chages the URLs for sending text messages
2015-12-11 09:49:38 +00:00
Chris Hill-Scott
dbc55e76b0 Add table of recipients
Uses an adapted version of the 'summary table' pattern from Digital Marketplace
frontend toolkit:
http://alphagov.github.io/digitalmarketplace-frontend-toolkit/summary-table.html
2015-12-11 09:49:38 +00:00
Chris Hill-Scott
c4df25c8db Add a non-JS template picker
We could do something with Javascript to only show the selected template. For
now this is something that works without Javascript.

This means we can put off getting the build and testing pipeline for Javascript
set up, which is a bigger and more unknown piece of work.
2015-12-11 09:49:38 +00:00