87e9296007
Use lazy gettext in models and forms to allow things to be shown in Spanish.
2019-04-07 17:04:02 +01:00
5cc0b7cdc1
Use latest form text
...
* Take the opportunity to reformat the source to not have so many hugely long lines.
* Put a few things through gettext that weren't going through it before
* Move 'Hold down Ctrl to select multiple files at once.' text to widget, out of
help text for each individual control.
2019-04-07 16:08:09 +01:00
5c7d4005f0
Add migration
2018-12-02 00:31:04 +00:00
Carl van Tonder
1256d0f52b
Upgrade to Django 2.1 using pip-tools
...
Closes #88
2018-11-14 12:26:59 -05: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
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
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
39949562c1
Use multi-file upload for "images" field
...
Closes #62
2018-05-29 23:16:51 -04:00
fad8b8bffc
Rebuild multi-file widgets from form values, closes #61
2018-05-23 19:37:07 +02:00
2ee912b8a6
Multi-upload widget: Improve error handling
2018-05-23 18:22:06 +02:00
Carl van Tonder
f4a74e6fd0
Fix map tests, add files tests
2018-05-01 13:16:09 -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