Commit Graph

417 Commits

Author SHA1 Message Date
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
Weblate Admin
40f64b8c6b Translated using Weblate (English (United Kingdom))
Currently translated at 37.4% (139 of 371 strings)

Translation: Ojuso Platform/Map
Translate-URL: http://translate.ojuso.org/projects/platform/map/en_GB/
2018-04-27 15:48:55 +00: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
a41df71793 Delete draft when submitting case study (#52) 2018-04-16 11:02:10 +10:00
054668e1e8 Add i18n support to form saving code (#52) 2018-04-16 10:57:31 +10:00
4390edde03 Don't display draft restore prompt after a failed submit attempt (#52) 2018-04-16 10:48:36 +10:00
ee88a3160e Get location field integrating with form saving/loading (#52) 2018-04-16 10:23:06 +10:00
e067443756 Update to latest FormSaver, triggering change events when form fields are updated 2018-04-16 09:33:53 +10:00
67fa6c6b74 Add the ojuso logo as a simplified SVG 2018-04-15 22:55:43 +10:00
c8d74a8351 Hide and show negative case reasons 'other' field appropriately, closes #44 2018-04-15 22:10:05 +10:00
935a2d7d59 Set initial map zoom to show entire world (#55) 2018-04-15 21:56:34 +10:00
087eb1b1c5 Require high zoom level to select project location, closes #56 2018-04-15 21:48:03 +10:00
e5235fb871 Move save button to bottom of screen pending better design (#52) 2018-04-14 21:57:12 +10:00
b424c06602 Add footer block to all pages by default 2018-04-14 21:46:01 +10:00
adbd550239 Add draft restore prompt (#52) 2018-04-14 21:41:01 +10:00
1dd2e4f316 Add the formsaver module tied into nice UI for data saving (#52) 2018-04-14 20:28:05 +10:00
08bb577e37 Add form drafts API (#52) 2018-04-14 13:09:56 +10:00
0317535c11 Add some console debugging 2018-04-14 12:41:44 +10:00
3d479471cc Make migrations for previous changes 2018-04-14 12:41:44 +10:00
Luke Murphy
712968c26b
Woops. Fix that. 2018-04-12 21:48:20 +02:00
Luke M
ce11ded78b Merge branch 'add-cov' into 'master'
Add test coverage report

See merge request autonomic-cooperative/ojuso-map!3
2018-04-12 19:42:38 +00:00
Luke Murphy
cee6cee385
Add test coverage. 2018-04-12 21:42:14 +02:00
Luke Murphy
bb9c2b2366
Add some more instructions to the README. 2018-04-12 21:25:46 +02:00
Luke M
f8eec7299b Merge branch 'enable-basic-ci' into 'master'
Install a basic pytest CI

See merge request autonomic-cooperative/ojuso-map!2
2018-04-12 19:19:47 +00:00
Luke Murphy
314a32eed6
Get a basic pytest CI in there. 2018-04-12 21:15:24 +02:00
Carl van Tonder
4eae888d14 Remove jenkins 2018-04-10 14:33:07 -04:00
Carl van Tonder
8f544992cd Make project_owners & shareholders required..
..and tweak "country" label text
2018-04-04 18:26:34 -04:00
Carl van Tonder
316f2cb78a Make power grid / energy storage Qs optional
approximate_total_investment & contractor_or_supplier_of_technology
should both be optional for non-"power grid / energy storage" types
2018-04-04 18:15:51 -04: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
0954be4a80 Change production logging configuration:
- disable "Invalid HTTP_HOST" messages
 - separate error emails (rely on Sentry)
2018-04-04 15:28:19 -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
Carl van Tonder
f19f501684 Make sure showing/hiding works on page load
Fixes #53
2018-04-04 13:12:00 -04:00
Carl van Tonder
6add9a10aa Fix page title on case study form page 2018-04-04 13:07:09 -04:00
Carl van Tonder
0a3b10340c Update locale files for Weblate 2018-04-04 12:54:58 -04:00
Weblate
06b5a6d290 Merge remote-tracking branch 'origin/master' 2018-04-04 16:41:40 +00:00