Commit Graph

227 Commits

Author SHA1 Message Date
Georg Krause 69876867d5 fix(embed): Make sure embed has sane default image and correct link
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2650>
2023-11-28 12:16:22 +00:00
Ciarán Ainsworth 4740df9d3c feat(docs): Move docstring and clarify debug
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2643>
2023-11-24 13:53:16 +00:00
Georg Krause 43c2861252 fix(api): Set logger to DEBUG if DEBUG is enabled
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2643>
2023-11-24 13:53:16 +00:00
Petitminion 179c53695e make setting dynamic
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion df6f2d919d add common setting and lint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
petitminion f821dcbbc2 Create a testing environment in production for ListenBrainz recommendation engine (troi-recommendation-playground) 2023-09-12 16:09:34 +00:00
Georg Krause ec8dc8e09f Merge branch stable into develop 2023-09-01 14:24:58 +02:00
Georg Krause a46c8e7f41 fix(api): Avoid the creation of users using djangos createsuperuser command 2023-06-12 09:36:52 +00:00
petitminion 2db8c585ad feat: implement typesense container 2023-05-17 15:48:02 +00:00
jo 3028672096
fix(api): prefer str over dict for the CACHE_URL setting
This fix the ability to reuse the CACHE_URL with other settings such as
CELERY_BROKER_URL.
2023-04-19 12:47:24 +02:00
jo ca3106828d
refactor(api): rename CACHE_DEFAULT to CACHE_URL_DEFAULT 2023-04-19 12:40:41 +02:00
jo 83b2aa0ad8
fix(api): move docker cache settings to django settings 2023-04-14 13:17:55 +02:00
jo e4793f06e8
refactor: use global IS_DOCKER_SETUP setting 2023-04-14 12:27:52 +02:00
jo 639d5b152f docs: fix warnings
- fix sphinx multi version allowlist regex values
2023-02-28 19:39:07 +00:00
jo c07aa0dbec fix(api): postgres connection details in docker setup
We properly recognize the docker setup to generate DATABASE_URL configuration.

Fix #2036

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:51:16 +01:00
jo 216a858010 feat(api): split DATABASE_URL into multiple config variables
Introduces new database environment variables while keeping
backward compatibility with the now deprecated
POSTGRES_ENV_POSTGRES_USER POSTGRES_ENV_POSTGRES_PASSWORD
environment variables.

DATABASE_URL defaults to an auto generated url using the
`DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`,
`DATABASE_PASSWORD` and `DATABASE_NAME` variables.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
Georg Krause 62653a2f62 chore: Move database url composition from custom script to django settings
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
wvffle 57ca334887 Fix cookies not being set on new frontend deployment 2022-12-13 13:58:11 +00:00
Georg Krause ca9e3c7054 Remove all /front/ occurences
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
2022-12-05 13:59:05 +00:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
jo 8d9946d35a refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
2022-11-23 22:08:55 +00:00
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
JuniorJPDJ 26fc479b57 Update dependency channels and channels-redis to v4 (develop) 2022-11-08 19:46:58 +00:00
Georg Krause 68cc6d9120 chore(oauth): Update Django OAuth Toolkit to version 2.2.0 2022-11-08 07:34:49 +00:00
Ciarán Ainsworth 29e92fda2f Resolve "New embedded player doesn't work on Mastodon" 2022-11-06 06:58:03 +00:00
petitminion 78c3764cc6 Fix remote instance ping 2022-10-27 15:46:01 +00:00
Petitminion 0cb3457378 New task checking if remote instance is reachable to avoid playback latence 2022-10-27 12:20:31 +00:00
Georg Krause 9d2a1da039
fix(spa): Adjust URL configuration path 2022-10-19 13:02:38 +02:00
petitminion 605b2fee9a Delete refresh actor data task 2022-10-16 10:44:09 +00:00
Georg Krause 0629f322c3
Replace django-rest-auth with dj-rest-auth 2022-10-13 11:09:18 +02:00
Georg Krause b3f31aeea2
Add version to sentry tracking 2022-08-14 16:27:55 +02:00
Georg Krause 14591adaea
Add celery integration to sentry tracking 2022-08-14 16:27:31 +02:00
Georg Krause 9ce3022427
Add instance as sentry tag 2022-08-13 11:05:07 +02:00
Georg Krause d36a5099f3
Pass debug setting to sentry 2022-08-11 20:13:32 +02:00
Georg Krause 879460adaf
Fix performance tracking for sentry and lower samplerate 2022-08-11 19:18:30 +02:00
Georg Krause 88c7866270 feat(Logging): Add Sentry SDK to report errors at the backend 2022-08-06 20:36:39 +00:00
Ciarán Ainsworth 01c978cdcf Resolve "Provide docs to help with migration Debian 10 -> 11" 2022-07-27 18:18:29 +00:00
Ciarán Ainsworth ae4b113708 Resolve "Follow-up from "Document log level"" 2022-07-27 11:14:43 +00:00
Ciarán Ainsworth 541df722ef Minor admin docs updates 2022-07-03 14:13:58 +00:00
Ciarán Ainsworth 17f1941b0b Rewrite admin documentation 2022-07-01 09:02:29 +00:00
Marcos Peña 95b5b99484 Fix embed widget not working 2022-06-13 09:53:36 +00:00
petitminion 804d8bcefd Add task to refresh actor data in the cache (#1392) 2022-06-11 06:34:11 +00:00
petitminion 50f002fa73 Create an scan Library celery task 2022-05-15 10:56:39 +00:00
Georg Krause e3a28b57d1
Fix formatting 2022-05-07 11:36:44 +02:00
Stuart Begley-Miller 40db52a91e Parameterize S3 default ACL when uploading objects. 2022-05-07 06:54:04 +00:00
Georg Krause af5e2d31ea
Merge branch 'stable' into develop 2022-04-23 14:04:53 +02:00
Marcos Peña b8f0811332
Fixes SMTP URI documentation 2022-04-09 13:35:11 +02:00
petitminion 252ebf8ce7 Remove usage of deprecated Model and Serializer fields (#1663) 2022-01-23 10:52:41 +00:00
Georg Krause 60347ccd8c
Allow oauth token expiration time to be configured 2021-11-19 11:55:10 +01:00
Philipp Wolfer fadbb9a7ab Added a Maloja plugin to submit listenings (!1383) 2021-10-24 11:15:47 +00:00