Commit Graph

221 Commits

Author SHA1 Message Date
Naomi
7ce4c993f9 Added headlessness from here https://medium.com/@joyzoursky/recent-updates-6264d1e5d42f 2018-09-26 15:50:16 +01:00
Naomi
5faa9f628d Merge branch 'selenium' of autonomic-git:autonomic-cooperative/ojuso-map into selenium 2018-09-26 15:39:48 +01:00
Naomi
949dca4abb Switched selenium from using firefox to using chrome 2018-09-26 15:38:56 +01:00
Naomi
5f1068a3a3 Update .gitlab-ci.yml 2018-09-26 14:21:44 +00:00
Carl van Tonder
807bf87351 More detailed psycopg troubleshooting instructions 2018-09-26 15:09:35 +01:00
Carl van Tonder
bfb0ff9354 Drop -e from django-cas-server install 2018-09-26 15:09:35 +01:00
Naomi
87d4b3c6e7 Fixed https://gitlab.com/autonomic-cooperative/ojuso-map/issues/75
Changed position of the map container ("jumbo") from absolute to relative because with absolute position it did not move down when the menu expanded.
2018-09-26 15:09:35 +01:00
857714fb15 Fix failing test 2018-09-26 15:09:35 +01:00
de07e09b12 Try again 2018-09-26 15:09:35 +01:00
0e141a31f8 Try to fix tests again 2018-09-26 15:09:35 +01:00
Carl van Tonder
02bf06e9ad Update docs, add example .env file
virtualenvwrapper guide, merge / tidy up database installation
instructions
2018-09-26 15:09:35 +01:00
Carl van Tonder
78b597166f Ignore static dir in git 2018-09-26 15:09:35 +01:00
Carl van Tonder
a49c4224a9 Fix test failure 2018-09-26 15:09:35 +01:00
Carl van Tonder
b648c28d70 Fix crashing test 2018-09-26 15:09:35 +01:00
7df7d7df5b Text fields shouldn't have null=True. (#94) 2018-09-26 15:09:35 +01:00
d1c3ca247a Upgrade to Django 1.11 compatible version of django-cas-server 2018-09-26 15:09:35 +01:00
Naomi
4a0e1a491e Form now jumps to first error (if any) when it reloads
even if on a different tab.
2018-09-26 15:09:35 +01:00
Naomi
03d2791fb3 Updated documentation and system requirements 2018-09-26 15:09:35 +01:00
Carl van Tonder
1c05e74f63 Add Fedora postgres set-up instructions 2018-09-26 15:09:35 +01:00
Carl van Tonder
b6baa9128b Update setup instructions 2018-09-26 15:09:35 +01:00
Naomi
bc86560958 Updated installation instructions for debian 2018-09-26 15:09:35 +01:00
f5fac0b6a0 Update draft deletion logic for new field
And comment the delete-files-only-in-drafts logic.
2018-09-26 15:09:35 +01:00
a900a146e2 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-09-26 15:09:35 +01:00
4ddc6aeacf Add test bucket when testing, so we can nuke debug files 2018-09-26 15:09:35 +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