Commit graph

219 commits

Author SHA1 Message Date
Georg Krause
02bb83e3f4 fix(api): Fix password reset via email
The original serializes assumes if allauth is installed, its also used
for the token generation. Thats not the case for us, so we need to
overwrite this behavior

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2565>
2023-08-31 17:51:46 +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
Georg Krause
189166ec7c Update django-oauth-toolkit 2021-07-04 04:57:35 +00:00
jovuit
f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
jovuit
909d16c2f0 Resolve "EMAIL_CONFIG not documented"
fixes #1481
2021-05-28 09:50:41 +00:00
Georg Krause
88de997603
Remove JWT related code 2021-04-28 10:44:28 +02:00
Georg Krause
5d745fea6f Resolve "Remove Raven Sentry" 2021-04-25 15:13:17 +00:00
Philipp Wolfer
0dc46ea36b Added a ListenBrainz plugin
Allows users to submit their listenings to ListenBrainz.org.
2020-11-20 19:03:04 +01:00
Agate
712f471f10 Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00
Agate
ea83511d0a Plugins can now register .env settings 2020-08-25 09:55:57 +02:00