Commit Graph

2026 Commits

Author SHA1 Message Date
Renovate Bot 4a3586adde chore(api): update dependency boto3 to v1.26.155
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2495>
2023-06-17 12:03:12 +00:00
Renovate Bot 4f80bf065b chore(api): update dependency boto3 to v1.26.154
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2492>
2023-06-16 15:32:53 +00:00
Renovate Bot f3f6ccd483 chore(api): update dependency boto3 to v1.26.153
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2486>
2023-06-14 15:33:04 +00:00
Georg Krause bfcafc8f72 fix: Make sure dependency pins are working with pip install
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2485>
2023-06-14 14:32:00 +00:00
Renovate Bot 29fd476a63 chore(api): update dependency redis to v4.5.5
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2480>
2023-06-13 10:32:43 +00:00
Renovate Bot 662563f1fe chore(api): update dependency pytest-sugar to v0.9.7
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2479>
2023-06-13 07:02:53 +00:00
Renovate Bot 464cfca7d9 chore(api): update dependency psycopg2 to v2.9.6
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2478>
2023-06-13 06:02:45 +00:00
Renovate Bot 24785ef1ad chore(api): update dependency prompt-toolkit to v3.0.38
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2477>
2023-06-13 05:33:17 +00:00
Renovate Bot 1b4fed00a8 chore(api): update dependency markdown to v3.4.3
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2476>
2023-06-12 20:33:07 +00:00
Renovate Bot c1bb50c1ca chore(api): update dependency boto3 to v1.26.152
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2475>
2023-06-12 20:03:02 +00:00
Renovate Bot d029854bec chore(api): update dependency ipdb to v0.13.13
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2474>
2023-06-12 19:02:55 +00:00
Renovate Bot 38b64cad7d chore(api): update dependency django to v3.2.19
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2473>
2023-06-12 18:02:49 +00:00
Renovate Bot bfecd19c8a chore(api): update dependency dj-rest-auth to v2.2.8
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2471>
2023-06-12 17:03:05 +00:00
Renovate Bot d393f77509 chore(api): update dependency debugpy to v1.6.7
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2470>
2023-06-12 16:02:59 +00:00
Renovate Bot dba54d90ff chore(api): update dependency boto3 to v1.26.151
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2466>
2023-06-12 13:42:52 +00:00
jo b70b120363 fix(api): raise SystemExit in manage.py script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2467>
2023-06-12 13:04:58 +00:00
jo a63c9db168 ci: use buildx bake in docker build job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2350>
2023-06-12 13:06:17 +02:00
Renovate Bot 891874dc20 chore(api): update dependency aiohttp to v3.8.4
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2454>
2023-06-12 10:39:53 +00:00
Georg Krause 49f4ab2d76 test: Make sure blocking of some management commands actually works 2023-06-12 09:36:52 +00:00
Georg Krause a46c8e7f41 fix(api): Avoid the creation of users using djangos createsuperuser command 2023-06-12 09:36:52 +00:00
Georg Krause 3f5758aa7f feat(cli): Implicitly set staff flag if superuser flag is set 2023-06-12 09:36:52 +00:00
jo 8fb60c9203
chore: fix spelling errors 2023-06-09 11:30:27 +02:00
Renovate Bot 8a06caa8c2 chore(api): update dependency psycopg2 to v2.9.6 2023-06-08 12:03:22 +00:00
Renovate Bot 1045d8b11c chore(api): update dependency boto3 to v1.26.149 2023-06-08 10:03:16 +00:00
Georg Krause 69508c69e0 Merge branch 'stable' into develop 2023-06-02 08:25:17 +02:00
Georg Krause 32b0171ff1 Version bump and changelog for 1.3.0 2023-06-01 18:38:50 +02:00
petitminion 2db8c585ad feat: implement typesense container 2023-05-17 15:48:02 +00:00
Georg Krause 6d7905f6a0
feat: allow the creation of random test notifications 2023-05-16 14:43:30 +02:00
Georg Krause c48b62da94 Merge branch 'pre-release/1.3.0' into develop 2023-05-12 09:21:47 +02:00
Georg Krause e6af9321d9 Version bump and changelog for 1.3.0-rc6 2023-05-12 09:02:14 +02:00
Georg krause 6057670105 fix: Make sure tzdata is available in docker container 2023-04-27 07:57:24 +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
Renovate Bot e7e83e91de
chore(api): update dependency channels-redis to v4.1.0 2023-04-14 15:42:30 +02:00
Renovate Bot 156d35a46b
chore(api): update dependency redis to v4.5.4 2023-04-14 15:41:25 +02:00
Renovate Bot 5f5d60b0d5 chore(api): update dependency channels-redis to v4.1.0 2023-04-14 13:02:55 +00:00
Renovate Bot 8d63472821 chore(api): update dependency redis to v4.5.4 2023-04-14 12:03:25 +00: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
Renovate Bot 28422369de chore(api): update dependency drf-spectacular to v0.26.1 2023-04-14 10:03:07 +00:00
Renovate Bot 58ffbc2156
chore(api): update dependency django-environ to v0.10.0
Porting 8d182138f4
2023-04-14 11:18:46 +02:00
Renovate Bot 8d182138f4 chore(api): update dependency django-environ to v0.10.0 2023-04-12 15:33:15 +00:00
Renovate Bot 420b2b1527 chore(api): update dependency boto3 to v1.26.108 2023-04-06 22:02:43 +00:00
Renovate Bot fde240389c chore(api): update dependency pytest-asyncio to v0.21.0 2023-04-06 17:05:51 +00:00
Renovate Bot bed76fafa8 chore(api): update dependency black to v23 2023-04-06 09:56:57 +00:00
Renovate Bot ba120bf7c1 chore(api): update dependency pylint to v2.17.2 2023-04-05 20:34:42 +00:00
Renovate Bot 67752c24e9 chore(api): update dependency sentry-sdk to v1.19.1 2023-04-05 16:33:43 +00:00
jo 94521d2b86 feat(api): replace pytz with zoneinfo
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2388>
2023-04-04 07:08:47 +00:00
jo 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02:00
Georg krause 70cd2e58b5 Version bump and changelog for 1.3.0-rc5 2023-03-26 14:17:15 +02:00
Renovate Bot 1c90cf448d chore(api): update dependency markdown to v3.4.3
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2380>
2023-03-25 19:02:50 +00:00
Georg Krause e87811c554 chore(docker): bump py3-cryptography to version 38.0.3-r1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2379>
2023-03-25 11:48:14 +01:00
Renovate Bot f585c1b487 chore(api): update dependency boto3 to v1.26.99
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2376>
2023-03-25 08:33:36 +00:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +01:00
Georg krause 09a1e20d68 Version bump and changelog for 2023-03-24 14:28:45 +01:00
Philipp Wolfer c1c48c9960 maloja: update submitted payload to follow latest maloja spec
See https://github.com/krateng/maloja/blob/master/API.md

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2359>
2023-03-22 11:58:01 +00:00
Georg Krause 6678457d41
style: Fix missing , 2023-03-22 09:52:07 +01:00
Laurin W 0c88b63d78
fix: allow blank summary field in ActorSerializer 2023-03-20 12:34:14 +01:00
Marcos Peña c55a1d1da4 Fix(dev): fix docker development set-up (#2102)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2367>
2023-03-20 11:23:51 +00:00
Renovate Bot da2a0ee093 chore(api): update dependency boto3 to v1.26.94 2023-03-17 20:03:47 +00:00
Renovate Bot 94c5bb71a5 chore(api): update dependency boto3 to v1.26.93 2023-03-17 18:03:39 +00:00
Renovate Bot de7102a27e chore(api): update dependency pytest to v7.2.2 2023-03-12 23:38:12 +00:00
Renovate Bot 96101d7010 chore(api): update dependency prompt-toolkit to v3.0.38 2023-03-12 23:07:22 +00:00
Renovate Bot 1eaeddcda6 chore(api): update dependency ipdb to v0.13.13 2023-03-12 22:07:05 +00:00
Renovate Bot 036f245127 chore(api): update dependency django to v3.2.18 2023-03-12 21:07:15 +00:00
Renovate Bot a929f2647b chore(api): update dependency dj-rest-auth to v2.2.8 2023-03-12 20:07:20 +00:00
Renovate Bot 7a3c264e31 chore(api): update dependency debugpy to v1.6.6 2023-03-12 19:07:05 +00:00
Renovate Bot 790b963da6 chore(api): update dependency aiohttp to v3.8.4 2023-03-12 18:08:08 +00:00
Renovate Bot 5543da6847 chore(api): update dependency boto3 to v1.26.89 2023-03-11 22:36:31 +00:00
ppom c7e7014b5c wording fix 2023-03-03 23:40:09 +01:00
jo 639d5b152f docs: fix warnings
- fix sphinx multi version allowlist regex values
2023-02-28 19:39:07 +00:00
jo 9bf0367372 feat(api): find version using importlib.metadata
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332>
2023-01-31 06:57:32 +00:00
jo 1a9b93183d ci: rework test_api job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
2023-01-30 10:37:31 +01:00
jo c6f235ec8c feat: drop support for python3.7
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2342>
2023-01-30 09:24:27 +00:00
jo f4241241dc fix: remove unnecessary env variables in dockerfile
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2299>
2023-01-30 08:55:06 +00:00
jo 65df7bf7a4 refactor: format api container file
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2299>
2023-01-30 08:55:06 +00:00
jo 6528039e95 fix(api): pylint crashes on redefined-builtin
See https://github.com/PyCQA/pylint/issues/8079

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203>
2023-01-29 12:47:02 +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 96bbe2131a fix: log exception if we can't get the event loop
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2341>
2023-01-27 17:37:41 +01:00
jo a0cda2a56c fix(api): docker entrypoint use exec
exec into gunicorn instead of spawning gunicorn.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>
2023-01-25 12:07:00 +00:00
Georg Krause e04a1b188d
Version bump and changelog for 1.3.0-rc3 2023-01-23 14:24:46 +01:00
Georg Krause 0729b52f3d
Version bump and changelog for 1.3.0-rc2 2023-01-23 10:41:22 +01: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
Philipp Wolfer e556a592b5 Fix API call for retrieving details of federated library
The implementation of RetrieveModelMixin.retrieve was incomplete.

Fixes #2046

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2335>
2023-01-23 07:36:22 +00:00
Philipp Wolfer 7da78afa43 maloja: fix submission of artist names
Payload must be submitted as JSON and artist must be an array

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2328>
2023-01-22 10:45:32 +00:00
Renovate Bot c465b3922d chore(api): update dependency watchdog to v2.2.1 2023-01-21 03:05:56 +00:00
Renovate Bot 826a712e22 chore(api): update dependency requests to v2.28.2 2023-01-21 02:36:15 +00:00
Renovate Bot 5d7673ab1d chore(api): update dependency redis to v4.4.2 2023-01-21 02:06:05 +00:00
Renovate Bot 5969a7a8ae chore(api): update dependency pytz to v2022.7.1 2023-01-21 01:35:54 +00:00
Renovate Bot 84382268f6 chore(api): update dependency pytest to v7.2.1 2023-01-21 01:06:03 +00:00
Renovate Bot 7fe46c1d61 chore(api): update dependency django-storages to v1.13.2 2023-01-21 00:36:00 +00:00
Renovate Bot 291296360d chore(api): update dependency dj-rest-auth to v2.2.7 2023-01-21 00:05:50 +00:00
Renovate Bot 82ef2e0efa chore(api): update dependency debugpy to v1.6.5 2023-01-20 23:36:22 +00:00
Renovate Bot 75039a3681 chore(api): update dependency boto3 to v1.26.54 2023-01-20 23:05:15 +00:00
Georg Krause 16a88210bc
Version bump and changelog for 1.3.0-rc1 2023-01-20 09:40:58 +01:00
Georg Krause 934e179d59 fix: Local instance is always reachable to itself
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2321>
2023-01-19 17:56:50 +00:00
Georg Krause 4225056d6e
fix: Make sure entrypoint script gets copied 2023-01-18 15:15:43 +01:00
jo ede69dd623 refactor(api): rename api composer/django/ dir to docker/
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2302>
2023-01-17 11:54:27 +00:00
jo 14b5e137bd
feat: prefer using the funkwhale-manage entrypoint
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`.

Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments.

In the funkwhale api docker image, the funwhale-manage command line
interface is available globally.
2023-01-16 02:11:07 +01:00
jo efbdc027ab
fix: use versioned python3 instead of python 2023-01-13 16:55:05 +01:00