Commit Graph

122 Commits

Author SHA1 Message Date
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
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
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
b375de115e Fix bad validation rules 2018-05-23 19:15:30 +02:00
Carl van Tonder
c0ff616761 Prevent crash saving case study with no draft 2018-05-19 14:32:57 -04:00
Carl van Tonder
39683a4ec0 Update test for text change 2018-05-19 14:21:58 -04:00
Carl van Tonder
a1821dba58 Fix migrations 2018-05-19 14:01:43 -04:00
Carl van Tonder
0160e58491 Add language switcher widget 2018-05-19 13:53:34 -04:00
Carl van Tonder
8d2532a1b2 Convert some CharFields to TextFields 2018-05-19 13:53:34 -04:00
03e5bfe01b Extend the length of some charfields, per Tom's email 2018-05-15 15:03:57 +01:00
Carl van Tonder
f4a74e6fd0 Fix map tests, add files tests 2018-05-01 13:16:09 -04:00
Carl van Tonder
d84aa0f3b9 Avoid crash when deleting drafts 2018-05-01 01:08:40 -04:00
Carl van Tonder
8ddc0894a1 Clean-up migration 2018-04-30 22:23:45 -04:00
Carl van Tonder
6dc0b51fc3 File permissions checks 2018-04-30 22:23:36 -04:00
Carl van Tonder
e43c32b843 Extra file upload fields, delete files w/ draft 2018-04-30 22:17:18 -04:00
f4c21006de Add AJAX file delete support and upload notifications, make UI nicer 2018-04-26 18:03:04 +10:00
Carl van Tonder
935af1355b Further work on multi-file-upload 2018-04-23 01:15:33 -04:00
Carl van Tonder
bb326bfed8 Initial file uploding w/ new "files" app 2018-04-19 15:57:18 -04:00