Commit graph

3958 commits

Author SHA1 Message Date
Laura Klünder
e579cb53b6 send all the data for the OTA 2023-11-30 22:03:22 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +01:00
Laura Klünder
4307a7fc4d show firmware size and firmware download link in firmware build detail view 2023-11-30 21:33:39 +01:00
Laura Klünder
ebfdf1d69f fix firmware build serialization 2023-11-30 21:33:15 +01:00
Laura Klünder
317ff66c76 add manual ota update apply message form 2023-11-30 21:32:53 +01:00
Laura Klünder
375aa9f12c move mesh forms from site to mesh module… wtf 2023-11-30 21:31:51 +01:00
Laura Klünder
df7ae47a9a lets make the firmware build binary url harder to guess maybe 2023-11-30 21:26:57 +01:00
Laura Klünder
7073c12cde add beacons-xyz api endpoints 2023-11-30 21:26:57 +01:00
Jenny Danzmayr
a3057b817d docker: reduced the default number of UWSGI workers to 4 2023-11-30 21:03:03 +01:00
Jenny Danzmayr
454b679c6a docker container was missing memcached support 2023-11-30 21:02:47 +01:00
Jenny Danzmayr
0bd1facb88 docker: added worker healthcheck option for entrypoint.sh 2023-11-30 21:02:11 +01:00
Jenny Danzmayr
127808e1f1 docker: use gunicorn together with uvicorn for async/asgi support 2023-11-30 21:01:57 +01:00
Jenny Danzmayr
394a6c3bb6 fixed HAS_CELERY setting 2023-11-30 20:31:27 +01:00
Jenny Danzmayr
3af79daa0a fixed loglevel configuration 2023-11-29 19:48:09 +01:00
renovate[bot]
0aaf31a028 ⬆️ Update sentry-sdk to v1.38.0 2023-11-29 19:37:47 +01:00
renovate[bot]
8c1b7741bc ⬆️ Update docker tileserver image 2023-11-29 01:16:56 +01:00
renovate[bot]
e05140ad2e ⬆️ Update docker core image 2023-11-29 01:16:30 +01:00
Jenny Danzmayr
7f066bdadf fixed hiredis package name 2023-11-29 01:09:09 +01:00
Jenny Danzmayr
7fe090fadf username and password support for memcached 2023-11-28 00:23:59 +01:00
Jenny Danzmayr
1dcbddbba0 fixed channels_redis config and added missing dependency for it 2023-11-27 23:58:25 +01:00
Jenny Danzmayr
fa4492cd2c switched redis cache backend from django_redis to native django redis
also added hireds-py for better performance
2023-11-27 23:52:16 +01:00
Jenny Danzmayr
ca4aa5f7ea LOGLEVEL setting 2023-11-27 22:48:11 +01:00
Jenny Danzmayr
78e66ec4c8 settings for MEDIA_URL and STATIC_ROOT 2023-11-27 22:48:11 +01:00
Jenny Danzmayr
3ba38e60a5 scrub sensitve data from sentry events 2023-11-27 22:48:11 +01:00
Laura Klünder
0704f23593 sort messages API endpoint correctly 2023-11-27 22:33:47 +01:00
Laura Klünder
b0f3c2b3c1 show one more diff in ranging views 2023-11-27 22:10:12 +01:00
Laura Klünder
2c2eed1c6a add api endpoint to query node messages 2023-11-27 22:09:56 +01:00
Laura Klünder
ad98eecf41 more rangelocator experimenting 2023-11-27 22:09:31 +01:00
Laura Klünder
d3c4d71331 ignore unexpected messages 2023-11-27 22:08:35 +01:00
Laura Klünder
04f035bee5 missing import 2023-11-27 22:08:07 +01:00
Laura Klünder
a2d896fc69 ugly database fixes, needs improving 2023-11-27 22:07:40 +01:00
Laura Klünder
9ea368f576 refuse to add nodes with invalid addresses 2023-11-27 17:10:38 +01:00
Laura Klünder
fde4e76f68 change range to be signed 2023-11-27 16:28:33 +01:00
Jenny Danzmayr
b5eafda38f added sentry to Dockerfile 2023-11-27 05:33:06 +01:00
Jenny Danzmayr
587c76a3df fixed renovate config for Dockerfile ARGs 2023-11-27 05:32:41 +01:00
Jenny Danzmayr
b6b6662301 updated python dependencies 2023-11-27 05:18:06 +01:00
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