Commit graph

137 commits

Author SHA1 Message Date
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
Laura Klünder
1594e09189 editor API: activate, edit, propose, accept, etc… 2018-11-29 01:30:53 +01:00
Laura Klünder
671d138d03 some more stuff for the editor API 2018-11-29 00:37:49 +01:00
Jenny Danzmayr
7a7b91bf9c colors, icons, and meta tags for mobile devices 2018-11-26 01:33:21 +01:00
Laura Klünder
a7f0717869 use mobileclient.set_user_data() whenever needed/possible 2018-11-26 01:18:42 +01:00
Laura Klünder
5055b6a367 c3navclient? hide the headers! 2018-11-26 00:51:17 +01:00
Laura Klünder
5f9631cc67 return SassColor in LIBSASS_CUSTOM_FUNCTIONS 2018-11-26 00:05:39 +01:00
Laura Klünder
e778c50f2e allow json bodies for editor form 2018-11-22 18:34:52 +01:00
Jenny
21f4f23857 added configuration option to disable user signup (#27)
added configuration option to disable user signup
2018-11-09 22:47:23 +01:00
Laura Klünder
ad02c7eaa7 use getboolean for boolean options 2018-09-19 19:34:34 +02:00
Laura Klünder
b88b6c3a29 add new data and editor permissions 2018-09-19 19:08:47 +02:00
Johan Van de Wauw
3061da63f5 Add logdir configuration option 2018-02-06 16:13:43 +01:00
Laura Klünder
0aa96f3b9c add option to filter ssids 2017-12-26 02:19:41 +01:00
Laura Klünder
5cb802e547 dont crash if initial_bounds setting is not set 2017-12-24 18:35:28 +01:00