Commit graph

168 commits

Author SHA1 Message Date
Gwendolyn
cf364ae647 fix logo color 2024-03-28 17:46:56 +01:00
Gwendolyn
2548d62776 theming should be fine now 2024-03-28 17:38:09 +01:00
dfjera
868317dabf make settings.py bootstrap compatible with windows 2024-03-20 18:34:25 +01:00
Laura Klünder
a8261d0b3d configurable in-memory cache sizes 2024-02-07 20:20:40 +01:00
Laura Klünder
62ce1ab1e0 correct SERVE_API fallback 2024-02-07 20:06:02 +01:00
Laura Klünder
c7bf7d6b8b move optimization settings to [c3nav] 2024-02-07 19:12:33 +01:00
Laura Klünder
8c8ef12cf0 make linter happy 2024-02-07 18:34:28 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Gwendolyn
f498592390 some more preview image and embed card related stuff 2023-12-27 13:13:32 +01:00
Gwendolyn
30d16c4cc9 file caching for preview images 2023-12-26 23:59:34 +01:00
Jenny Danzmayr
c2e632611c added secret file support for the the hub api secret 2023-12-26 01:08:56 +01:00
Gwendolyn
907c01d756 only use samesite=none with secure cookies 2023-12-25 17:40:35 +01:00
Gwendolyn
3e9933890d make session and tile cookies samesite=none so that things work when embedded in an iframe 2023-12-25 14:16:10 +01:00
Laura Klünder
4d97af63b3 importhub stub 2023-12-22 00:13:54 +01:00
Gwendolyn
0646f57c60 use content-based hashing instead of mtime for compressor css files 2023-12-21 02:25:35 +01:00
Laura Klünder
00b40cd87c new imprint stuff 2023-12-18 20:41:39 +01:00
Gwendolyn
22f1777c1c add samesite=strict for tile cookie 2023-12-11 20:58:46 +01:00
Jenny Danzmayr
4fb1230163 added version information to sentry and the about page 2023-12-11 18:32:26 +01:00
Jenny Danzmayr
5b804a069c sentry tracing config option 2023-12-10 08:14:49 +01:00
Laura Klünder
ac53230f99 set CONN_MAX_AGE to 0 for ASGI 2023-12-08 12:58:44 +01:00
Laura Klünder
ece79514f1 add CONN_HEALTH_CHECKS 2023-12-08 01:17:24 +01:00
Jenny Danzmayr
f2f048d094 fixed session storage, whoops 2023-12-07 17:37:26 +01:00
Jenny Danzmayr
2e09b286f4 store sessions in redis if redis is available 2023-12-07 16:36:19 +01:00
Jenny Danzmayr
ae65a68830 fixed handling of locks via redis during mapupdates 2023-12-07 01:27:08 +01:00
Jenny Danzmayr
e9a255b095 fixed bug introduced in last commit 2023-12-05 01:25:11 +01:00
Jenny Danzmayr
17a636e643 fixed django reverse proxy csrf issues 2023-12-04 23:55:50 +01:00
Laura Klünder
caf23d053c goodbye django rest framework 2023-12-03 21:50:55 +01:00
Laura Klünder
a3bac07a23 mesh websocket authorization 2023-12-01 17:04:39 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +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
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
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
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
Laura Klünder
0ff2bbd1fa finally get rid of daphne debug logs 2023-11-25 21:53:57 +01:00
Jenny Danzmayr
17166eb4ad default ALLOWED_HOSTS to "*" if not configured 2023-11-12 16:25:42 +01:00
Laura Klünder
f5c33724dc start adding new ninja-based OpenAPI-compatible API v2, starting with mesh 2023-11-11 03:01:15 +01:00
Jenny Danzmayr
ce8f5f0084 made all folder paths configurable 2023-11-07 21:13:58 +01:00
Jenny Danzmayr
e0f669c62c use pathlib to build paths in settings.py 2023-11-07 21:13:56 +01:00
Laura Klünder
aa2df8d3c5 add api_secret auth and (mostly) finalize firmware endpoint 2023-11-05 19:09:36 +01:00
Laura Klünder
9e9e41fb3f store firmwares and add firmware api stub 2023-11-05 18:47:20 +01:00
Laura Klünder
4c40597cd3 add daphne 2023-10-02 20:07:12 +02:00