Chris Hill-Scott
5ebeec08ae
Use a Node-based tools for handling assets
...
…or how to move a bunch of things from a bunch of different places into
`app/static`.
There are three main reasons not to use Flask Assets:
- It had some strange behaviour like only
- It was based on Ruby SASS, which is slower to get new features than libsass,
and meant depending on Ruby, and having the SASS Gem globally installed—so
you’re already out of being a ‘pure’ Python app
- Martyn and I have experience of doing it this way on Marketplace, and we’ve
ironed out the initial rough patches
The specific technologies this introduces, all of which are Node-based:
- Gulp – like a Makefile written in Javascript
- NPM – package management, used for managing Gulp and its related dependencies
- Bower – also package management, and the only way I can think to have
GOV.UK template as a proper dependency
…speaking of which, GOV.UK template is now a dependency. This means it can’t be
modified at all (eg to add a global `#content` wrapper), so every page now
inherits from a template that has this wrapper. But it also means that we have a
clean upgrade path when the template is modified.
Everything else (toolkit, elements) I’ve kept as submodules but moved them to a
more logical place (`app/assets` not `app/assets/stylesheets`, because they
contain more than just SASS/CSS).
2016-01-05 13:12:35 +00:00
Nicholas Staples
7693ba8a18
Update register view form and template.
2016-01-05 12:41:20 +00:00
Rebecca Law
1fd6ce9fe4
fix codestyle
2016-01-05 12:40:01 +00:00
Rebecca Law
931c6b2809
Add debugging to find issue.
2016-01-05 12:35:36 +00:00
Rebecca Law
3d437ba653
revert bundle version
2016-01-05 12:01:11 +00:00
Rebecca Law
0eabdc06be
try again
2016-01-05 11:59:25 +00:00
Rebecca Law
41b59fdebe
Remove bundle install
2016-01-05 11:53:09 +00:00
Rebecca Law
ea9187a7ec
Removing the aws deployment commands until aws is running again
2016-01-05 11:48:24 +00:00
Rebecca Law
eab451a38b
Removing ruby versions
2016-01-05 11:39:54 +00:00
Rebecca Law
c691becba2
Trying version 1.9.3
2016-01-05 11:28:57 +00:00
Rebecca Law
4cb2310359
Use version 2.0.0
2016-01-05 11:22:03 +00:00
Rebecca Law
8c72166ebe
Bah! Another attempt.
2016-01-05 11:04:29 +00:00
Rebecca Law
e3d96644c7
Attempts at fixing the deploy - but it seems PR 33 will fix it anyway.
2016-01-05 10:51:04 +00:00
Nicholas Staples
99fe83503c
Merge branch 'master' into form_views_refactor
2016-01-04 17:25:41 +00:00
NIcholas Staples
29e0295df0
Merge pull request #39 from alphagov/change_add_service_form
...
Refactor add-service form such that the dao is not exposed in the forms.
2016-01-04 17:24:07 +00:00
Rebecca Law
785c413cde
Move and rename macro.html
...
Remove print statements
Fix code style
2016-01-04 15:50:26 +00:00
Rebecca Law
ac05f6931e
Refactor add-service form such that the dao is not exposed in the forms.
2016-01-04 15:31:50 +00:00
Rebecca Law
75bafd7a7d
Add the Gemfile.lock back
2016-01-04 14:01:50 +00:00
Nicholas Staples
989d914326
Update the travis file to upgrade ruby version to 2.0.0.
2016-01-04 13:55:29 +00:00
Nicholas Staples
74a6879e3f
Update to Gemfile to add ruby for heroku deployment.
2016-01-04 13:44:30 +00:00
Rebecca Law
46dba800de
Delete Gemfile.lock
2016-01-04 09:29:32 +00:00
Rebecca Law
662824a1d5
Merge pull request #38 from alphagov/resend-verification-code
...
Resend verification code
2015-12-31 14:14:46 +00:00
Rebecca Law
b2f544a165
110880218: Completed implementation of resend the verificaton code
2015-12-31 13:16:59 +00:00
Rebecca Law
fb5e80e0d4
110880218: Implementation to resend the verification code.
...
Added implementation for GET/POST for the /verification-not-received endpoint.
2015-12-31 11:13:42 +00:00
Rebecca Law
10dd647f2b
Merge pull request #35 from alphagov/did-not-receive-code
...
Implementation for did not receive email or sms code
2015-12-31 10:32:34 +00:00
Rebecca Law
e38df7cda1
109898688: Fix unit test
2015-12-17 16:16:12 +00:00
Rebecca Law
fe8a1a10c5
109898688: Refactor the validate codes logic to be more susinct and easier to read.
2015-12-17 15:09:12 +00:00
Rebecca Law
7478f8a0f3
Make Users.email_address unique
2015-12-17 14:57:26 +00:00
Rebecca Law
010be66d31
109898688: Complete the implementation of the did not receive code.
2015-12-17 14:33:20 +00:00
Rebecca Law
64812c1614
109898688: All codes are valid until one code is used, then they are all marked used.
...
Fixed the is_active() method on the Users model, if the user was pending they would come back as active, allowing a user to sign in before being active.
There is still a problem with the validate_sms_code and validate_email_code method.
2015-12-17 14:33:20 +00:00
Rebecca Law
bd8bb3c926
109898688: Implementation of text-not-received and email-not-received
2015-12-17 14:33:20 +00:00
Rebecca Law
e9383b733e
109898688: Implement get method for email-not-received and text-not-received
2015-12-17 14:33:20 +00:00
Martyn Inglis
cbd47fe2ce
Export flask config in set up script
2015-12-17 11:18:27 +00:00
Martyn Inglis
5492116d19
Path wrong on start script
2015-12-17 11:08:37 +00:00
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