Laura Klünder
482da3b244
add migration that overhauls report flow settings
2024-03-24 15:24:59 +01:00
Laura Klünder
8c8ef12cf0
make linter happy
2024-02-07 18:34:28 +01:00
Gwendolyn
124b0e82df
theme color fields in editor
2024-01-06 20:11:37 +01:00
Gwendolyn
9399e5c377
rudimentary theme support
2024-01-06 16:13:38 +01:00
Gwendolyn
d45bcfb2fb
wifi rtt data in editor
2023-12-27 23:09:32 +01:00
Jenny Danzmayr
ca03ea78fd
fixed Wi-Fi measurements editor
2023-12-27 03:55:17 +01:00
Jenny Danzmayr
18ed547e58
fixed wifiscanning in editor with empty scan list
2023-12-26 19:28:55 +01:00
Laura Klünder
6c0ed4fd1d
fix import_block_geom
2023-12-26 16:18:38 +01:00
Laura Klünder
59a8147f66
add import blocks to editor
2023-12-26 14:22:23 +01:00
Laura Klünder
f23aaf86bf
fix problem with editor and main_point
2023-12-24 16:37:09 +01:00
Laura Klünder
c1d9a011cf
make linter happy
2023-12-24 16:07:07 +01:00
Laura Klünder
4025278882
fix awful editor-is-so-slow-oh-my-god bug with graph
2023-12-23 17:43:53 +01:00
Laura Klünder
4ade6cfc1f
add external_url and hub_import_type
2023-12-22 01:20:24 +01:00
Gwendolyn
9d8fbc808f
js api refactoring
2023-12-21 16:46:24 +01:00
Gwendolyn
b776a7be29
fix graph edges in geometry endpoint (hopefully)
...
the graph edge and geometry schemas are similar and pydantic matches graph edges as geometries if graph edges aren't first in the union types, which makes the from and to nodes disappear
2023-12-21 15:14:38 +01:00
Gwendolyn
1d4703f86f
access restrictions can be set to public to make them available to everyone (even not logged in users)
...
public access restrictions do not count to the unlocked areas count
2023-12-20 23:56:32 +01:00
Gwendolyn
8a3d3bc18f
migration for ChangedObject.updated_fields to use DjangoJSONEncoder
...
(does not change db)
2023-12-20 23:34:04 +01:00
Laura Klünder
1faeda5e8a
fix main_point form into hidden field
2023-12-20 00:13:36 +01:00
Laura Klünder
3477354688
access permissions can now also be given by group
2023-12-19 19:48:31 +01:00
Laura Klünder
c4a8e1d874
add "main point" to area
2023-12-19 19:48:24 +01:00
Laura Klünder
4e3ce94852
re-enable level graph
2023-12-19 19:48:10 +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
d16a477c1b
use unwrap_geom() instead of .wrapped_geom
...
to catch cases where the value is not wrapped
2023-12-17 14:54:43 +01:00
Gwendolyn
2ecef02a9e
use DjangoJSONEncoder for ChangedObject.updated_fields (fixes C3NAV-37C3-K)
2023-12-17 14:49:37 +01:00
Gwendolyn
7d11c88b01
hopefully fixes C3NAV-37C3-J
2023-12-17 14:14:06 +01:00
Gwendolyn
f41fe3dcc0
fix the pattern in the api schema for object ids in changesets
2023-12-14 18:43:37 +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
c3ce665562
linter stuff
2023-12-11 18:49:18 +01:00
Laura Klünder
97c9c7ecb7
make altitudes reusable using GroundAltitude model
2023-12-11 18:17:57 +01:00
Laura Klünder
4bb59c2265
fix the same thing again? sorry no idea what the last commit was
2023-12-10 21:59:20 +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
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