Commit graph

1257 commits

Author SHA1 Message Date
Laura Klünder
d19e1db3d2 sort access restrictions by title 2023-12-08 20:55:36 +01:00
Gwendolyn
8f0d61895b only try to load .svg source files as svg overlay, don't recreate svg if it's already loaded 2023-12-07 12:06:50 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Gwendolyn
1feb608106 sources as svg layers 2023-12-07 00:53:56 +01:00
Gwendolyn
b2a0ca71ba new api returns null for unset properties, so we need to compare to null instead of undefined 2023-12-05 18:10:33 +01:00
Gwendolyn
816fb04bea fix that stupid mobileclient bug in the editor 2023-12-05 17:20:01 +01:00
Laura Klünder
dac24348d8 use editor/sourceimage to display sources (needs fixing, superuser only) 2023-12-05 01:24:46 +01:00
Laura Klünder
78ee84842e APIKeyAuth in scopes 2023-12-04 23:13:58 +01:00
Laura Klünder
4491f68dc7 move api auth from authorization header to X-API-Key header 2023-12-04 23:07:45 +01:00
Laura Klünder
1a0c4e63f5 lots of small fixes and todo removals 2023-12-04 22:21:48 +01:00
Laura Klünder
964574e535 more map api documentation improvements 2023-12-04 18:58:49 +01:00
Laura Klünder
87ef037421 more api docs and tweaks for auth and updates API 2023-12-04 13:46:32 +01:00
Laura Klünder
ea335a8fe8 start making optional attributes look better in redoc 2023-12-03 23:27:42 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +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
Gwendolyn
e31b318b47 don't try to highlight empty spaces in editor 2023-12-03 21:11:10 +01:00
Laura Klünder
0d9dc4f8db update editor api v2 documentation 2023-12-03 20:15:41 +01:00
Laura Klünder
450a19a466 rename as_api v2 in editor to as_api 2023-12-03 18:29:25 +01:00
Laura Klünder
0a8e848c67 UpdateCacheKey needs no pattern validation 2023-12-03 18:26:44 +01:00
Laura Klünder
75b6d401ee remove unnecessary imports 2023-12-03 18:12:59 +01:00
Laura Klünder
6e5eb659ca fix missing import 2023-12-03 18:12:11 +01:00
Laura Klünder
02e3fd60e6 make editor geometries schema a bit more generic 2023-12-03 18:11:53 +01:00
Laura Klünder
bd7d2e9ffa introducing AnyGeometrySchema 2023-12-03 18:03:13 +01:00
Laura Klünder
740664c659 does this fix unary_union 2023-12-03 17:57:15 +01:00
Laura Klünder
60e789c15e implement editor view_as_api v2 2023-12-03 17:54:26 +01:00
Laura Klünder
99a5c3055e use newapi_etag_with_update_cache_key 2023-12-03 17:45:04 +01:00
Laura Klünder
55f5dfb0b7 fix new editor api (missing request fields) 2023-12-03 17:18:29 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Laura Klünder
0cacabb3cd add security requirement scopes for some operations 2023-12-02 01:14:09 +01:00
Laura Klünder
11f96f7e83 code style 2023-12-01 23:02:29 +01:00
Laura Klünder
bf2dd3b33b add editor API stubs 2023-12-01 22:59:57 +01:00
Gwendolyn
2f958babce more WrappedGeometry unwrapping fixes 2023-11-11 13:14:12 +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
b732d52f65 make linter happy 2023-10-06 02:46:43 +02:00
Laura Klünder
1b8d409839 more information while sending the node 2023-10-05 13:52:52 +02:00
Laura Klünder
233298cf34 add todos for more class based views 2023-10-02 17:42:01 +02:00
Laura Klünder
1a4ef5caa0 sort space geometries in editor 2023-07-24 11:57:18 +02:00
Laura Klünder
9618d7304f fix more bugs caused by updates, especially using unwrap_geom 2023-07-24 11:51:46 +02:00
Laura Klünder
142e307fc3 fix editor up a bit 2023-06-26 18:15:34 +02:00
Laura Klünder
b1336abd62 make it possible to create a new level 2023-06-26 17:32:37 +02:00
Laura Klünder
786d490e27 update all dependencies so we have some fun new bugs to fix 2023-06-02 19:42:17 +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
9d21f8c933 migrate to django's native JSONField 2022-04-03 19:40:12 +02:00
Laura Klünder
e95e28599e escape values multilevellookup change key 2022-04-03 18:23:01 +02:00
Laura Klünder
36df1fed66 shapely's cascaded_union was deprecated, replace with unary_union 2022-04-03 18:16:03 +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
4e15cc1b74 fix linter warnings 2022-04-03 16:42:17 +02:00