Commit Graph

139 Commits

Author SHA1 Message Date
73a746d83e Tests pass, woohoo 2018-12-02 01:10:12 +00:00
0a47ea3724 Nuke no longer needed tests, add youtube one 2018-12-02 00:39:12 +00:00
23c1279f61 Update case study display 2018-12-02 00:31:26 +00:00
5c7d4005f0 Add migration 2018-12-02 00:31:04 +00:00
b240a110b3 Fix many-to-many field saving for Django 2.1 2018-12-02 00:30:38 +00:00
e1ff5b64cf Make conditional form logic more terse 2018-11-26 23:56:58 +00:00
dd54a7a2f9 Ask for start and completion years 2018-11-26 23:56:36 +00:00
8745800af6 Add note about writing policy/technology analysis 2018-11-26 23:35:29 +00:00
4e86794a6c Some design improvements 2018-11-26 23:32:31 +00:00
04b8ae7bf9 Implement Tom's emailed suggestions 2018-11-26 22:34:06 +00:00
aac22da18c Make better use of horizontal space 2018-11-26 21:14:18 +00:00
d914ffab49 Clean up form hiding/showing logic 2018-11-26 18:10:25 +00:00
d6bae3b941 Add back in previously removed fields for backward-compat 2018-11-26 18:10:25 +00:00
7fd961f511 Put 'other platforms' checkbox in a smarter place 2018-11-25 14:58:16 +00:00
9384b6c9cb Through to the end 2018-11-25 13:48:52 +00:00
d87604c6bd Through row 140 2018-11-24 21:09:35 +00:00
2fb4f8771c Through row 116 2018-11-24 18:30:58 +00:00
857634d1f1 Through to row 101 2018-11-24 17:58:08 +00:00
5c4e9c330d Through to row 87 2018-11-24 16:54:39 +00:00
Carl van Tonder
f962a7e0fa Fix remove_null_from_text_fields migration 2018-11-20 12:59:28 -05:00
Carl van Tonder
1256d0f52b Upgrade to Django 2.1 using pip-tools
Closes #88
2018-11-14 12:26:59 -05:00
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
87ae3731d3 Remove unused bundle.js file 2018-10-13 01:39:32 -04:00
ac9090788a Comment out non-working point of interest link 2018-10-12 20:29:31 -04:00
a784ddad4f Move some utility classes into a shared location 2018-10-12 20:00:55 -04:00
b0aea72c12 Redesign form selector screen 2018-10-12 19:51:59 -04:00
c21a06d5c8 Get basic, admin-editable POI working 2018-10-12 18:56:27 -04:00
4dc3acb1f9 Move some things around in prep for more than one form 2018-10-12 18:50:51 -04:00
69e518240c Add point of interest model 2018-10-12 18:50:27 -04:00
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
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
3dccff6eea Remove offending field that was stopping migration working 2018-10-09 21:10:27 -04:00
190f63abf8 Attempt a different migration to remove null from text fields 2018-10-05 09:29:24 -04:00
Naomi
6220f62af3 Set the images_file field to non-required in both places
it was set to non-required in the form but not in reality
2018-10-04 13:47:31 +01:00
Naomi
7e7d1d1d8a Updated how the form jumps to errors on reload
It was inserting "#undefined" when there was no error
2018-10-03 20:13:38 +01:00
b42a9c7571 Fix failing test 2018-09-23 13:50:38 +01:00
Carl van Tonder
af9f522bef Fix test failure 2018-09-22 22:25:35 -04:00
Carl van Tonder
ab57602a5f Fix crashing test 2018-09-22 22:25:35 -04:00
ff445e166d Text fields shouldn't have null=True. (#94) 2018-09-22 19:09:05 +01:00
Naomi
a467062fe1 Form now jumps to first error (if any) when it reloads
even if on a different tab.
2018-09-20 12:59:47 +01:00
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
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
Carl van Tonder
c1e8762287 Avoid JS map crash on missing images 2018-06-18 15:28:38 -04:00
Carl van Tonder
c32ddf1abb Fix CaseStudy serialisation..
..by ensuring CS images are serialised correctly
2018-05-30 14:21:48 -04:00
Carl van Tonder
2bb7ea5561 Set CaseStudy.author 2018-05-29 23:16:51 -04:00
Carl van Tonder
d80f933b7b Add CaseStudyDraft.created 2018-05-29 23:16:51 -04:00
Carl van Tonder
39949562c1 Use multi-file upload for "images" field
Closes #62
2018-05-29 23:16:51 -04:00
Carl van Tonder
8a8eccaeaa Make "land ownership details" visible always
Closes #71
2018-05-26 11:36:44 -04:00
Carl van Tonder
006262c7ea Lengthen "key actors" and "who..involved" fields 2018-05-24 20:52:43 -04:00
Carl van Tonder
f595532db5 Fix migrations 2018-05-24 18:24:55 -04:00