Commit Graph
100 Commits
Author SHA1 Message Date
takkaria 0a47ea3724 Nuke no longer needed tests, add youtube one 2018-12-02 00:39:12 +00:00
takkaria 23c1279f61 Update case study display 2018-12-02 00:31:26 +00:00
takkaria 5c7d4005f0 Add migration 2018-12-02 00:31:04 +00:00
takkaria b240a110b3 Fix many-to-many field saving for Django 2.1 2018-12-02 00:30:38 +00:00
takkaria e1ff5b64cf Make conditional form logic more terse 2018-11-26 23:56:58 +00:00
takkaria dd54a7a2f9 Ask for start and completion years 2018-11-26 23:56:36 +00:00
takkaria 8745800af6 Add note about writing policy/technology analysis 2018-11-26 23:35:29 +00:00
takkaria 4e86794a6c Some design improvements 2018-11-26 23:32:31 +00:00
takkaria 04b8ae7bf9 Implement Tom's emailed suggestions 2018-11-26 22:34:06 +00:00
takkaria aac22da18c Make better use of horizontal space 2018-11-26 21:14:18 +00:00
takkaria d914ffab49 Clean up form hiding/showing logic 2018-11-26 18:10:25 +00:00
takkaria d6bae3b941 Add back in previously removed fields for backward-compat 2018-11-26 18:10:25 +00:00
takkaria 7fd961f511 Put 'other platforms' checkbox in a smarter place 2018-11-25 14:58:16 +00:00
takkaria 9384b6c9cb Through to the end 2018-11-25 13:48:52 +00:00
takkaria d87604c6bd Through row 140 2018-11-24 21:09:35 +00:00
takkaria 2fb4f8771c Through row 116 2018-11-24 18:30:58 +00:00
takkaria 857634d1f1 Through to row 101 2018-11-24 17:58:08 +00:00
takkaria 5c4e9c330d Through to row 87 2018-11-24 16:54:39 +00:00
takkaria 90f05fc92a Add cas-server to CI install instructions 2018-11-24 14:12:47 +00:00
takkaria 21c1ce4b1f Add MacOS install packages 2018-11-24 14:08:05 +00:00
takkaria 3a71ad5129 Install base requirements in GitLab CI 2018-11-24 13:53:36 +00:00
takkaria ad64b646b1 Make local.yml just run a postgres + mailhog instance 2018-11-24 13:39:21 +00:00
takkaria a0c7846704 Remove unused environment.sh file 2018-11-24 13:34:42 +00:00
takkaria b12b92b90d Remove unused nginx config files 2018-11-24 13:34:26 +00:00
takkaria bb7eff7648 Move requirements files to requirements/ 2018-11-24 13:33:41 +00:00
takkaria 501fcabfb6 Remote unused files in bin/ 2018-11-24 13:31:38 +00:00
takkaria 0e886181e2 Move things to slightly more sensible locations 2018-11-24 12:58:16 +00:00
takkaria 59e68ae771 Attempt using async workers to fix #72 2018-10-13 14:28:38 -04:00
takkaria acfbb513de Add points of interest
Do a bunch of refactoring in the process.  Current display on homepage
is a little shonky but that can be improved when there is something
using it.
2018-10-13 01:44:03 -04:00
takkaria f2823445a4 Comment out unused user list API 2018-10-13 01:39:32 -04:00
takkaria 87ae3731d3 Remove unused bundle.js file 2018-10-13 01:39:32 -04:00
takkaria e9f9b6f20d Get docker working with new assets folder 2018-10-12 21:25:12 -04:00
takkaria ac9090788a Comment out non-working point of interest link 2018-10-12 20:29:31 -04:00
takkaria b5cc53acf9 Add scaled-down navicon 2018-10-12 20:25:14 -04:00
takkaria cca364d308 Move more shared CSS into the shared CSS file 2018-10-12 20:08:06 -04:00
takkaria a784ddad4f Move some utility classes into a shared location 2018-10-12 20:00:55 -04:00
takkaria b0aea72c12 Redesign form selector screen 2018-10-12 19:51:59 -04:00
takkaria c21a06d5c8 Get basic, admin-editable POI working 2018-10-12 18:56:27 -04:00
takkaria 4dc3acb1f9 Move some things around in prep for more than one form 2018-10-12 18:50:51 -04:00
takkaria 69e518240c Add point of interest model 2018-10-12 18:50:27 -04:00
takkaria 79dffadd14 Restore names of uploaded files on submit/draft restore (#65)
This involved turning the list of file IDs stored in the hidden
text field into JSON.
2018-10-12 18:34:39 -04:00
takkaria b5ccbf631d Fix bug where you couldn't upload files with spaces in the name
As part of this, replace to the jquery-file-upload plugin with a simple
fetch() call.
2018-10-12 18:31:20 -04:00
takkaria 579bb73574 Add script to get into postgres on production 2018-10-09 21:23:12 -04:00
takkaria 3dccff6eea Remove offending field that was stopping migration working 2018-10-09 21:10:27 -04:00
takkaria 190f63abf8 Attempt a different migration to remove null from text fields 2018-10-05 09:29:24 -04:00
takkaria 857714fb15 Fix failing test 2018-09-26 15:09:35 +01:00
takkaria de07e09b12 Try again 2018-09-26 15:09:35 +01:00
takkaria 0e141a31f8 Try to fix tests again 2018-09-26 15:09:35 +01:00
takkaria 7df7d7df5b Text fields shouldn't have null=True. (#94) 2018-09-26 15:09:35 +01:00
takkaria d1c3ca247a Upgrade to Django 1.11 compatible version of django-cas-server 2018-09-26 15:09:35 +01:00
takkaria f5fac0b6a0 Update draft deletion logic for new field
And comment the delete-files-only-in-drafts logic.
2018-09-26 15:09:35 +01:00
takkaria a900a146e2 Tweak failing test
I've worked out this test is failing when FileDeleteView::post() calls
self.get_object() - that's when the 404 is being sent.  I can't work out
why though, because everything else looks fine.
2018-09-26 15:09:35 +01:00
takkaria 4ddc6aeacf Add test bucket when testing, so we can nuke debug files 2018-09-26 15:09:35 +01:00
takkaria b42a9c7571 Fix failing test 2018-09-23 13:50:38 +01:00
takkaria 47236ac547 Try again 2018-09-23 12:09:42 +00:00
takkaria d0a4148b13 Try to fix tests again 2018-09-23 11:58:09 +00:00
takkaria ff445e166d Text fields shouldn't have null=True. (#94) 2018-09-22 19:09:05 +01:00
takkaria 3a17029dbd Upgrade to Django 1.11 compatible version of django-cas-server 2018-09-22 18:10:53 +01:00
takkaria 9b1d9e7e04 Update draft deletion logic for new field
And comment the delete-files-only-in-drafts logic.
2018-06-27 19:50:24 +01:00
takkaria a4072ba22a Tweak failing test
I've worked out this test is failing when FileDeleteView::post() calls
self.get_object() - that's when the 404 is being sent.  I can't work out
why though, because everything else looks fine.
2018-06-27 19:43:39 +01:00
takkaria a964ee03d2 Add test bucket when testing, so we can nuke debug files 2018-06-27 19:30:25 +01:00
takkaria 4c71ba7a25 Update .gitlab-ci.yml 2018-06-06 14:57:11 +00:00
takkaria 59b0bc0ab8 Use flatpages list for footeR 2018-05-23 19:55:57 +02:00
takkaria e9915e4f4f Add about menu on navbar, closing #64 2018-05-23 19:49:23 +02:00
takkaria fad8b8bffc Rebuild multi-file widgets from form values, closes #61 2018-05-23 19:37:07 +02:00
takkaria b375de115e Fix bad validation rules 2018-05-23 19:15:30 +02:00
takkaria 2ee912b8a6 Multi-upload widget: Improve error handling 2018-05-23 18:22:06 +02:00
takkaria 03e5bfe01b Extend the length of some charfields, per Tom's email 2018-05-15 15:03:57 +01:00
takkaria f4c21006de Add AJAX file delete support and upload notifications, make UI nicer 2018-04-26 18:03:04 +10:00
takkaria f57fc14623 Add traefik config 2018-04-19 11:56:15 +00:00
takkaria 0758b6e223 Oops, I removed a line I shouldn't have from 677f6a85a 2018-04-16 14:33:07 +10:00
takkaria 677f6a85a9 Add coordinates autocomplete widget & data (#32)
Just tweaks based on what Carl had already written in dce53630 and b97d421a
2018-04-16 14:27:13 +10:00
takkaria 31a9ca316f Make MIN_ZOOM 2, so that on your standard laptop screen you don't see two copies of the world 2018-04-16 13:30:50 +10:00
takkaria a171fb6d14 Add hello overlay (closes #17) 2018-04-16 12:59:48 +10:00
takkaria 15c3d3c4a2 Hide draft restore prompt on successful save (#52) 2018-04-16 11:02:10 +10:00
takkaria a41df71793 Delete draft when submitting case study (#52) 2018-04-16 11:02:10 +10:00
takkaria 054668e1e8 Add i18n support to form saving code (#52) 2018-04-16 10:57:31 +10:00
takkaria 4390edde03 Don't display draft restore prompt after a failed submit attempt (#52) 2018-04-16 10:48:36 +10:00
takkaria ee88a3160e Get location field integrating with form saving/loading (#52) 2018-04-16 10:23:06 +10:00
takkaria e067443756 Update to latest FormSaver, triggering change events when form fields are updated 2018-04-16 09:33:53 +10:00
takkaria 67fa6c6b74 Add the ojuso logo as a simplified SVG 2018-04-15 22:55:43 +10:00
takkaria c8d74a8351 Hide and show negative case reasons 'other' field appropriately, closes #44 2018-04-15 22:10:05 +10:00
takkaria 935a2d7d59 Set initial map zoom to show entire world (#55) 2018-04-15 21:56:34 +10:00
takkaria 087eb1b1c5 Require high zoom level to select project location, closes #56 2018-04-15 21:48:03 +10:00
takkaria e5235fb871 Move save button to bottom of screen pending better design (#52) 2018-04-14 21:57:12 +10:00
takkaria b424c06602 Add footer block to all pages by default 2018-04-14 21:46:01 +10:00
takkaria adbd550239 Add draft restore prompt (#52) 2018-04-14 21:41:01 +10:00
takkaria 1dd2e4f316 Add the formsaver module tied into nice UI for data saving (#52) 2018-04-14 20:28:05 +10:00
takkaria 08bb577e37 Add form drafts API (#52) 2018-04-14 13:09:56 +10:00
takkaria 0317535c11 Add some console debugging 2018-04-14 12:41:44 +10:00
takkaria 3d479471cc Make migrations for previous changes 2018-04-14 12:41:44 +10:00
takkaria f4a7a108b5 Add a basic email on case study submission. Closes #50. 2018-04-02 23:02:49 +10:00
takkaria 1847b22c09 f 2018-04-02 22:38:09 +10:00
takkaria dbdab0e440 Make type of ecosystem field long enough to hold all choices 2018-04-02 22:36:46 +10:00
takkaria 50b5f67bab Add extra text in 3.1.1. Closes #29. 2018-04-02 19:59:37 +10:00
takkaria e4f4a5e73b Add non-indigenous people list, as per client request 2018-03-31 22:38:30 +11:00
takkaria 9ab6366d37 Prettify map pin popups. Closes #18. 2018-03-31 22:12:06 +11:00
takkaria ee440617d9 Delete trailing spaces and rogue newlines 2018-03-31 21:05:09 +11:00
takkaria fafb475869 Fiddle with form layout a bit to add coherence 2018-03-31 21:00:43 +11:00
takkaria b2266600de Add banks list. Closes #23. 2018-03-31 21:00:43 +11:00