Commit Graph

178 Commits

Author SHA1 Message Date
9e9793ba06 Clean up file app 2019-08-20 01:17:23 +02:00
0d65c3c7b9 Modernise, refactor profile code; remove unused files 2019-08-20 01:13:10 +02:00
1e6359489e Remove unused contact app 2019-08-20 00:53:31 +02:00
06d138343e Modernise urlconf 2019-08-20 00:51:44 +02:00
dcb8f4beec Clean up imports 2019-08-20 00:10:20 +02:00
3e5b41de1d Reorder all imports 2019-08-20 00:10:20 +02:00
73fe51ba9c Get flake8 running OK 2019-08-20 00:10:20 +02:00
e3e3f6d5db Run black over entire codebase 2019-08-19 23:55:53 +02:00
b7faf8a4a4 Split the API functions out into their own app 2019-08-19 23:14:57 +02:00
fc7eccb06c try localizing number inputs 2019-04-27 23:36:58 +01:00
93db15b740 Fix some untranslatable text 2019-04-27 23:20:44 +01:00
399d815604 Text changes as per Tom's email 2019-04-21 13:31:24 +01:00
3b79d377ef Drafts: Fix urlconf bug introduced in 07f9bed0 2019-04-07 18:40:00 +01:00
edf62268aa Refactor CaseStudyDraft tests to make them more unit-y 2019-04-07 18:32:43 +01:00
30b0a680aa Some test refactoring 2019-04-07 17:47:03 +01:00
f17834cd3b Reformat tests file 2019-04-07 17:21:50 +01:00
58b18dd815 Run latest migrations 2019-04-07 17:05:09 +01:00
87e9296007 Use lazy gettext in models and forms to allow things to be shown in Spanish. 2019-04-07 17:04:02 +01:00
6e34abda84 Add migrations for form changes 2019-04-07 16:30:57 +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
dc84e1a09a Amend 'Solar power tower' label 2019-03-21 19:25:59 +00:00
0e7b9d696e Add some end tags for clarity when translating 2019-03-18 17:29:55 +00:00
0042034919 Remove excessive spaces from long strings 2019-03-18 17:25:21 +00:00
ed399e8379 Some suggested translation updates 2019-03-18 17:07:15 +00:00
Tom Wragg
85d954a583 Update models.py - added full stops at end of 'etc'. [NOT SURE THIS IS THE RIGHT THING TO DO!] 2019-03-15 15:55:19 +00:00
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
0c594487a9 Add language field to case studies 2019-03-04 20:17:06 +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
eb7eabb7c7 Add user-based case study listing 2019-03-04 23:39:27 +11:00
57ac8eab86 Don't die if sending email fails 2019-03-04 23:39:10 +11:00
1e437d43e4 Make minor text corrections as suggested by workshop participants 2018-12-20 22:12:20 +01:00
71a223ccf3 Try again with image URL 2018-12-02 03:22:55 +00:00
12ef9ed774 Get map markers working again 2018-12-02 03:13:38 +00:00
5e49de16d0 Remove unused fields 2018-12-02 02:23:58 +00:00
b7b07aa180 Add DELETE markers for fields to be nuked 2018-12-02 02:10:35 +00:00
73a746d83e Tests pass, woohoo 2018-12-02 01:10:12 +00:00
0a47ea3724 Nuke no longer needed tests, add youtube one 2018-12-02 00:39:12 +00:00
23c1279f61 Update case study display 2018-12-02 00:31:26 +00:00
5c7d4005f0 Add migration 2018-12-02 00:31:04 +00:00
b240a110b3 Fix many-to-many field saving for Django 2.1 2018-12-02 00:30:38 +00:00
e1ff5b64cf Make conditional form logic more terse 2018-11-26 23:56:58 +00:00
dd54a7a2f9 Ask for start and completion years 2018-11-26 23:56:36 +00:00
8745800af6 Add note about writing policy/technology analysis 2018-11-26 23:35:29 +00:00
4e86794a6c Some design improvements 2018-11-26 23:32:31 +00:00
04b8ae7bf9 Implement Tom's emailed suggestions 2018-11-26 22:34:06 +00:00
aac22da18c Make better use of horizontal space 2018-11-26 21:14:18 +00:00