Commit graph

150 commits

Author SHA1 Message Date
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
Jenny Danzmayr
7d855698c8 use the same enviorment variable for the data dir everywhere 2023-07-14 05:50:18 +02:00
Laura Klünder
162da37c04 make sure default DATA_DIR is always an abs path 2023-06-27 13:09:17 +02:00
Laura Klünder
9bb79ff667 start implementing mesh routing 2022-04-15 20:57:11 +02:00
Laura Klünder
8af6bca51c create mesh app and basic asgi websocket setup for communication 2022-04-04 01:13:48 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
c9df2828b0 front-end ui to launch location randomizer 2019-12-25 12:37:20 +01:00
Jenny Danzmayr
dd179c020c removed duplicated template context processors 2019-03-23 04:37:06 +01:00
Laura Klünder
739dbf80d5 add statssnapshot 2018-12-25 21:34:48 +01:00
Jenny Danzmayr
eca9905ace added support for sentry.io 2018-12-19 14:55:44 +01:00
Jenny Danzmayr
64859ab2b4 fixed typo in admin email subject prefix 2018-12-19 02:59:35 +01:00
Laura Klünder
2691c4d714 more about stuff 2018-12-17 20:31:12 +01:00
Laura Klünder
f18462bf2a about c3nav 2018-12-17 19:49:17 +01:00
Jenny Danzmayr
5c334dd783 more usefull email prefix 2018-12-17 10:02:50 +01:00
Laura Klünder
e9c0f70d3c some fixes in configparser in settings.py 2018-12-16 02:23:16 +01:00
Laura Klünder
e170e128bc manage map updates in control panel 2018-12-16 02:23:05 +01:00
Laura Klünder
875b18c730 add support for grid and display grid cell for custom locations already 2018-12-10 18:52:32 +01:00
Laura Klünder
4a795895c8 fix settings 2018-12-08 04:32:20 +01:00
Laura Klünder
e4c7fd508e error message if config could not be loaded 2018-12-08 02:54:08 +01:00