Commit graph

3772 commits

Author SHA1 Message Date
Jenny Danzmayr
eb1b051a65 updated email settings and made them configurable via env vars
email backend can now be configured
in debug mode with no settings the console email backend is now used
the `mail` config file section was renamed to `email`
2023-11-27 04:47:27 +01:00
Jenny Danzmayr
970af79e5f database, memcached, redis and celery config via env vars 2023-11-27 04:18:53 +01:00
Jenny Danzmayr
73bc77ea0a renamed a few settings so they make more sense
urls/static (C3NAV_URLS_STATIC) -> django/static_url (C3NAV_STATIC_URL)
django/hosts (C3NAV_DJANGO_HOSTS) -> django/allowed_hosts (C3NAV_DJANGO_ALLOWED_HOSTS)
locale/timezone (C3NAV_LOCALE_TIMEZONE) -> locale/timezone (C3NAV_TIMEZONE)
locale/default (C3NAV_LOCALE_DEFAULT) -> locale/default (C3NAV_DEFAULT_LOCALE)

[{section}/{option} (environment variable)]
2023-11-27 03:39:03 +01:00
Jenny Danzmayr
54c654f7ce raise the propper exception if a required config setting is missing 2023-11-27 03:17:13 +01:00
Jenny Danzmayr
c742fd90b8 made all settings of the config file configurable via env vars 2023-11-27 02:22:17 +01:00
Jenny Danzmayr
83a9f3ede5 replaced existing environment variable parsing in setting.py django-environ 2023-11-27 00:29:51 +01:00
Jenny Danzmayr
46d0670234 minor docker container improvments 2023-11-26 23:08:22 +01:00
Laura Klünder
0af7c4801f make it possible to request OTA fragments 2023-11-26 18:47:56 +01:00
Laura Klünder
1f59e53d15 fix super old broken migration 2023-11-26 18:00:50 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
42280d6c71 rename variable to make more sense 2023-11-26 17:47:09 +01:00
Laura Klünder
d6b86425ee lots of adjustments in consumer code, more state handling and stuff 2023-11-26 17:39:10 +01:00
Laura Klünder
868851461f no holding back, send all the chunks and send them quick 2023-11-26 16:23:15 +01:00
Laura Klünder
ade1807abb OTA status views etc 2023-11-26 16:22:55 +01:00
Laura Klünder
5953bc9acc some fixes for when there's a node with now FWs 2023-11-26 15:13:59 +01:00
Laura Klünder
efd4f32377 most of the mesh websocket OTA mechanism stuff 2023-11-26 02:41:48 +01:00
Laura Klünder
9cd8328130 some fixes in the mesh messages code… it'S 2:40am i don'T remember what… 2023-11-26 02:40:44 +01:00
Gwendolyn
bec24c3982 remove destinations message base class
because the size calculation for the c types can't deal with it
2023-11-26 00:58:53 +01:00
Gwendolyn
0ff2bdcd00 use 16 bit num field for variable length message types 2023-11-26 00:58:12 +01:00
Gwendolyn
8b779e257b remove echo message base class 2023-11-26 00:48:51 +01:00
Laura Klünder
85abb2bfe9 base formats änderungen commiten für the cute gwen 2023-11-26 00:48:34 +01:00
Laura Klünder
3c7bbaa599 fix firmware upload 2023-11-26 00:36:12 +01:00
Laura Klünder
bdccc189dd fix prefetch_ota 2023-11-26 00:35:39 +01:00
Laura Klünder
60536147d4 fix api secret generation 2023-11-26 00:34:55 +01:00
Laura Klünder
0ff2bbd1fa finally get rid of daphne debug logs 2023-11-25 21:53:57 +01:00
Laura Klünder
79dff87ce1 node ranging → show calculated position and diffs 2023-11-25 21:53:28 +01:00
Laura Klünder
35a8b17b48 show ranging beacons in some mesh node views 2023-11-25 20:14:07 +01:00
Laura Klünder
0564828d53 add form to send echo messages 2023-11-25 19:09:46 +01:00
Laura Klünder
a125cc9110 fix send mesh messages form 2023-11-25 19:09:32 +01:00
Laura Klünder
fabfe0c54f typo in JS mesh websocket data 2023-11-25 19:04:14 +01:00
Laura Klünder
3a45af8837 max message size fix by gwen 2023-11-25 18:56:36 +01:00
Laura Klünder
518219a7a4 add actual distance to mesh ranging view 2023-11-25 18:55:18 +01:00
Gwendolyn
d85d9845b2 fix mesh message send 2023-11-25 18:36:59 +01:00
Laura Klünder
5cf839577a add ranging feature in mesh control 2023-11-25 14:42:29 +01:00
Laura Klünder
f07b06ec60 add point and bounds to positionstatusschema 2023-11-24 18:05:59 +01:00
Laura Klünder
038fc89855 rename position endpoints 2023-11-24 17:37:33 +01:00
Laura Klünder
4e02145984 pro tip: fix bugs in all places 2023-11-24 17:25:34 +01:00
Laura Klünder
682522ace4 fix dynamiclocation position serialize 2023-11-24 17:24:31 +01:00
Laura Klünder
f7a4055c1c don't cache dynamiclocation results 2023-11-24 17:24:31 +01:00
Gwendolyn
550d77f774 dynamic position ids can contain upper-case letters 2023-11-24 17:22:27 +01:00
Gwendolyn
ac9f51ff38 typo neaby -> nearby 2023-11-24 17:22:27 +01:00
Laura Klünder
3fcb58b4e3 add add_search to api schema 2023-11-24 16:53:56 +01:00
Laura Klünder
226ddc92a1 re-add text on how to access your position 2023-11-24 16:45:35 +01:00
Laura Klünder
74f78ab95e remove unneeded second cache layer for _location_list 2023-11-24 16:33:57 +01:00
Laura Klünder
62cffe9644 how about some bugfixing? 2023-11-24 16:31:39 +01:00
Laura Klünder
3f8e42d13e adding the missing files might be smart 2023-11-24 16:15:19 +01:00
Laura Klünder
a7a40dcf04 add new routing/positioning api routes without any implementation 2023-11-24 16:13:16 +01:00
Laura Klünder
914ed018f0 optimize imports 2023-11-24 15:47:28 +01:00
Laura Klünder
d6b9161345 add position update API endpoint and remove old one, also some more api tweaks 2023-11-24 15:42:48 +01:00
Laura Klünder
92ce608034 committing the missing file cause why not? 2023-11-24 14:56:23 +01:00