Commit graph

312 commits

Author SHA1 Message Date
Gwendolyn
7904a95b80 data overlays 2024-11-21 11:56:31 +01:00
Jenny Danzmayr
897cf68ccc added permission for access to source files 2024-08-11 23:07:22 +02:00
Laura Klünder
20fbcc9139 wifimeasurement → beaconmeasurement… and editor scancollector implementation 2024-03-31 16:23:15 +02:00
Gwendolyn
9399e5c377 rudimentary theme support 2024-01-06 16:13:38 +01:00
Laura Klünder
c1d9a011cf make linter happy 2023-12-24 16:07:07 +01:00
Laura Klünder
a2d6012369 improve groundaltitude ux in editor 2023-12-18 11:14:27 +01:00
Gwendolyn
79752f574c check foreign keys for None before looking them up in changeset (fixes C3NAV-37C3-P) 2023-12-18 09:10:26 +01:00
Gwendolyn
7d11c88b01 hopefully fixes C3NAV-37C3-J 2023-12-17 14:14:06 +01:00
Gwendolyn
4b1ac9f194 convert django lazy string proxies to strings in the base schema validator, rather than in the serialization code of each source model 2023-12-11 20:59:19 +01:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Laura Klünder
97c9c7ecb7 make altitudes reusable using GroundAltitude model 2023-12-11 18:17:57 +01:00
Gwendolyn
2c395462b0 encode whether editor request is done with ajax in etag (fixes #126) 2023-12-09 00:01:00 +01:00
Laura Klünder
caf23d053c goodbye django rest framework 2023-12-03 21:50:55 +01:00
Gwendolyn
4104ef5863 switch to api v2 2023-12-03 21:11:10 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +01:00
Laura Klünder
320ae7b4c9 add RangingBeacon to mapdata 2023-11-10 18:59:37 +01:00
Laura Klünder
233298cf34 add todos for more class based views 2023-10-02 17:42:01 +02:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
aebb158b12 fix editor 2022-04-03 18:13:43 +02:00
Laura Klünder
05d3530764 don't use is_ajax 2022-04-03 17:52:05 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
f2c9926f2b hotfix for editor 2019-12-27 23:42:59 +01:00
Laura Klünder
c66586fcdc dynamic locations in editor 2019-12-27 18:42:08 +01:00
Laura Klünder
bfd75f9ee3 better error message when trying to edit objects in a locked changeset 2019-12-22 19:58:40 +01:00
Laura Klünder
ecd7cc5637 implement label settings 2019-12-22 00:38:54 +01:00
Laura Klünder
e058115222 use title_plural in locationgroup overview 2019-12-21 16:12:48 +01:00
Laura Klünder
aac7fbf23a group and order location groups in editor 2019-12-21 15:35:14 +01:00
Laura Klünder
3cef66aa85 fix foreignkey in changset linking to created object 2019-12-10 21:39:33 +01:00
Laura Klünder
9c89a4cd89 allow creation 2018-12-22 14:11:42 +01:00
Jenny Danzmayr
04f781e945 return 404 if there is no chageset and user is not logged in 2018-12-20 11:54:48 +01:00
Laura Klünder
1dcf2c5b89 add changeset_redirect 2018-12-17 04:12:18 +01:00
Laura Klünder
f36da4397b editor: don't crash on new space creation 2018-12-11 21:41:34 +01:00
Laura Klünder
4d837cfddd fix attributeerror 2018-12-11 00:44:27 +01:00
Laura Klünder
1a4d18ae37 geometry url when editing a space should be the space 2018-12-11 00:01:38 +01:00
Laura Klünder
7e288213c1 etag and last-modified in editor api only for GET requests 2018-12-10 21:05:54 +01:00
Laura Klünder
01ddeb7da5 only add etag and last-modified headers for GET requests 2018-12-10 21:03:21 +01:00
Laura Klünder
600900bb58 graph editing permissions 2018-12-09 21:32:43 +01:00
Laura Klünder
05679e20c7 remove unneeded variable 2018-12-09 21:28:41 +01:00
Laura Klünder
a0f57f59a9 should not be able to call create view if user cannot create 2018-12-09 21:27:13 +01:00
Laura Klünder
01e0e27241 fix geometry field in editorform logic 2018-12-09 21:26:01 +01:00
Laura Klünder
69b51ddc37 don't forget to add etag to editor html responses 2018-12-09 21:15:41 +01:00
Laura Klünder
7bd3dfaa60 update etag in editor for space accesses 2018-12-09 21:07:04 +01:00
Laura Klünder
6c7582f60d complete base mapdata logic 2018-12-09 21:04:22 +01:00
Laura Klünder
1d8e38bc96 refactor edit view a bit 2018-12-09 20:54:47 +01:00
Laura Klünder
7238603551 use with suppress() because that's pretty 2018-12-09 20:36:43 +01:00
Laura Klünder
92dafeb370 fix can_create in editor list (and some refactoring) 2018-12-09 20:34:06 +01:00
Laura Klünder
e90d02eaa3 seserialize QuerySetWrapper as well 2018-11-29 18:40:01 +01:00
Laura Klünder
1594e09189 editor API: activate, edit, propose, accept, etc… 2018-11-29 01:30:53 +01:00
Laura Klünder
6136bd7c80 user_redirect editor view 2018-11-26 02:02:17 +01:00