Commit Graph

32 Commits

Author SHA1 Message Date
0656eee87a Put case study editing behind a feature flag 2019-03-07 09:15:18 +00:00
f8d4cfe755 Save the form type (long, short) with the case study 2019-03-04 20:41:15 +00:00
3c45e38fd5 Tag new case studies with their language 2019-03-04 20:37:39 +00:00
ab99c1c19c Make sure users can only edit their own case studies 2019-03-04 20:03:43 +00:00
07f9bed096 Rename view classes to have more descriptive names 2019-03-04 19:57:47 +00:00
c41141fea6 Add basic editing functionality 2019-03-04 19:48:29 +00:00
57ac8eab86 Don't die if sending email fails 2019-03-04 23:39:10 +11:00
b240a110b3 Fix many-to-many field saving for Django 2.1 2018-12-02 00:30:38 +00: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
4dc3acb1f9 Move some things around in prep for more than one form 2018-10-12 18:50:51 -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
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
2bb7ea5561 Set CaseStudy.author 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
c0ff616761 Prevent crash saving case study with no draft 2018-05-19 14:32:57 -04:00
Carl van Tonder
d84aa0f3b9 Avoid crash when deleting drafts 2018-05-01 01:08:40 -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
Carl van Tonder
935af1355b Further work on multi-file-upload 2018-04-23 01:15:33 -04:00
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
a41df71793 Delete draft when submitting case study (#52) 2018-04-16 11:02:10 +10:00
08bb577e37 Add form drafts API (#52) 2018-04-14 13:09:56 +10:00
Carl van Tonder
490e6706d9 Revert "Autocomplete from GIS list of CRSs.."
This reverts commit dce53630f7.
2018-04-04 18:02:33 -04:00
Carl van Tonder
dce53630f7 Autocomplete from GIS list of CRSs..
..using django-autocomplete-light, in both the admin area and the
end-user form

Closes #32
2018-04-04 15:28:08 -04:00
Carl van Tonder
a50c40e739 Configurable database email, local Mailgun sandbox 2018-04-04 13:36:27 -04:00
f4a7a108b5 Add a basic email on case study submission. Closes #50. 2018-04-02 23:02:49 +10:00
03cc89346f Redirect complete forms to acknowledgement of receipt (closes #40) 2018-03-28 22:34:18 +11:00
Livvy Mackintosh
52090ec25a Fixup forms and templates for forms 2017-10-10 00:58:36 +01:00
Livvy Mackintosh
049ca29e77 Add registration and login templates plus UI stuff, moderation 2017-10-08 21:21:51 +01:00
Livvy Mackintosh
0811936382 Update lots of things 2017-06-16 18:10:44 +02:00
Livvy Mackintosh
f1d8f00af0 Update map app (location, migrations and templates) 2017-05-21 01:47:14 +02:00