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
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
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
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
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
jo
165011ff6d
feat: improve docker caching
...
The apk dependencies will change less often than the venv from the builder.
2023-01-12 13:35:23 +01:00
jo
e93e6bbb74
style: sort apk dependencies in docker
2023-01-12 13:35:22 +01:00
jo
0e05587fed
style: readability for docker pip dependencies install
2023-01-12 13:35:22 +01:00
jo
0b4319656a
feat: install api python package inside docker
...
This mainly allow users to use the `funkwhale-manage` entrypoint.
2023-01-12 13:35:22 +01:00
jo
64f54fa709
feat: disable pip cache during docker build
2023-01-12 13:35:21 +01:00
jo
85d4bd60d9
feat: don't buffer stdout/err in docker
...
This makes sure we don't loose any logs that might have been buffered and haven't been written to the docker logs.
2023-01-12 13:35:21 +01:00
jo
44904d80be
feat: don't compile python byte code in docker
2023-01-12 13:35:21 +01:00
jo
419eec2baa
feat: use allowlist based .dockerignore
2023-01-12 13:35:21 +01:00