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
a964ee03d2
Add test bucket when testing, so we can nuke debug files
2018-06-27 19:30:25 +01:00
Carl van Tonder
7591f35483
Include selenium in requirements
2018-06-20 00:10:32 -04:00
Carl van Tonder
07193c5ba2
Add initial selenium tests
2018-06-20 00:10:02 -04:00
Carl van Tonder
00b3e1a476
Fix collapsing nav bar
...
Closes #75
2018-06-19 23:18:08 -04:00
Carl van Tonder
c1e8762287
Avoid JS map crash on missing images
2018-06-18 15:28:38 -04:00
4c71ba7a25
Update .gitlab-ci.yml
2018-06-06 14:57:11 +00: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
59b0bc0ab8
Use flatpages list for footeR
2018-05-23 19:55:57 +02:00
e9915e4f4f
Add about menu on navbar, closing #64
2018-05-23 19:49:23 +02:00
fad8b8bffc
Rebuild multi-file widgets from form values, closes #61
2018-05-23 19:37:07 +02:00
b375de115e
Fix bad validation rules
2018-05-23 19:15:30 +02:00
2ee912b8a6
Multi-upload widget: Improve error handling
2018-05-23 18:22:06 +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
562fa1f270
Fix LANGUAGES en-gb
2018-05-19 14:24:21 -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
868e906323
Update Gitlab CI config for system requirements move
2018-05-19 13:56:17 -04:00
Carl van Tonder
0160e58491
Add language switcher widget
2018-05-19 13:53:34 -04:00
Carl van Tonder
8a68b826d3
Split system requirements for Debian & Fedora
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
83061316c0
Add django-override-storage to test reqs
2018-05-01 13:31:07 -04: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
4dfbb61402
Merge branch 'feature/new_multi_upload'
2018-04-30 22:24:02 -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
983a32aba8
Add requirements-devel
2018-04-23 02:03:06 -04:00
Carl van Tonder
2652291873
Add missing MEMCACHED_HOST to fix Weblate
2018-04-23 01:57:28 -04: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
Carl van Tonder
7436fa7e2e
Prevent duplicate form media loading..
...
..by setting BaseCaseStudyForm.helper.include_media = False
2018-04-19 15:14:54 -04:00
Carl van Tonder
f8695fae3c
Make welcome text translatable
2018-04-19 13:01:16 -04:00
Carl van Tonder
816bc7f13d
Add missing migration
2018-04-19 12:57:53 -04:00
f57fc14623
Add traefik config
2018-04-19 11:56:15 +00:00
0758b6e223
Oops, I removed a line I shouldn't have from 677f6a85a
2018-04-16 14:33:07 +10: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
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
a171fb6d14
Add hello overlay ( closes #17 )
2018-04-16 12:59:48 +10:00
15c3d3c4a2
Hide draft restore prompt on successful save ( #52 )
2018-04-16 11:02:10 +10:00