Commit Graph

274 Commits

Author SHA1 Message Date
jon r bc71203869 chore(api/settings): remove depreciated IS_DOCKER_SETUP variable
This configuration was for a very old Docker version that still supported
linking containers together, which allowed for service discovery via the
environment.

This is not present in Docker anymore for many years now, so removing.
2025-04-24 15:12:09 +02:00
jon r 96f6265f45 chore(api/settings): move FORCE from local to common 2025-04-24 15:12:09 +02:00
jon r 5ea9ed3494 fix(settings/local): do not force by default, but specify explicitly
Adds tini as PID 1 to Django containers for them to react to signals.
(init: true)
2025-04-24 15:12:09 +02:00
jon r 90b853b722 Feat(API): changes to support new frontend
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:37:48 +02:00
Petitminion 689c9feb79 delete testing.py since unused
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2860>
2025-01-22 11:53:31 +00:00
RenovateBot 980bba942f chore(api): update dependency django-allauth to v0.63.6 (develop) 2025-01-14 16:57:52 +00:00
petitminion b6d27a58d3 Allow plugin to download third party tracks 2025-01-12 17:30:16 +00:00
petitminion 6a79f048cd fix: set FORCE to 1 in dev env NOCHANGELOG 2025-01-10 19:17:58 +00:00
petitminion d1287a36a5 Import/export playlist in xspf (#836). 2024-12-05 11:31:41 +00:00
jon r 1e6e6923d2 fix(DX): Docker mac compatibility, dynamic DNS + Debian image (#2337 #1691) 2024-10-21 08:57:15 +00:00
Lilou fb5c863dda Clearer explanation AWS_CUSTOM_DOMAIN + protocol 2024-08-04 14:11:07 +00:00
petitminion 0705467bf9 Add Musicbrainz genres to funkwhale tag table and allow Musicbrainz tag sync (#2143) 2024-06-05 19:17:33 +00:00
Petitminion 2a364d5785 add favorite sync
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2658>
2024-04-16 11:01:29 +00:00
Petitminion 6414302899 implement listening and favorite sync with listenbrainz
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2658>
2024-04-16 11:01:29 +00:00
Georg Krause 6fe153c8da refactor(api): Make sure CSRF_TRUSTED_ORIGIN always has a protocol prefix
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Petitminion bfff1f85f9 make typesense task conditionnal
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2706>
2024-01-30 13:07:25 +00:00
Georg Krause 06d135875b chore(api): Update dj-rest-auth to 5.0.2 and django-allauth to 0.55.2
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2670>
2024-01-03 10:02:03 +00:00
Ciarán Ainsworth 17e08fd332 fix(docs): Update env file for Unix socket
Added note to the CACHE_URL variable to clarify Unix socket usage

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2668>
2023-12-08 14:45:54 +00:00
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 4490fba5bb feat(dev): Add and enable django-extensions for debugging
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2522>
2023-07-27 11:26:49 +00: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
Georg Krause c48b62da94 Merge branch 'pre-release/1.3.0' into develop 2023-05-12 09:21:47 +02: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 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +01:00
jo 639d5b152f docs: fix warnings
- fix sphinx multi version allowlist regex values
2023-02-28 19:39:07 +00:00
jo 6806adb4f5 test(api): lint code using pylint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203>
2023-01-29 12:47:02 +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