Wykres commitów

887 Commity (6057670105df28cdc5c9f3b1a6e0b40f16f631af)

Autor SHA1 Wiadomość Data
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 b6d6901ae4
chore: move changelog fragment in changelog.d 2023-03-28 14:17:37 +02:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +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 a029b845ed fix: Make sure funkwhale_api package and metadata are available for docs
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2374>
2023-03-22 11:32:14 +01:00
jo 48383952c1 chore: rename CHANGELOG to CHANGELOG.md
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2355>
2023-03-21 21:46:50 +00:00
Marcos Peña afe534db4a Fix(changelog): adds missing changelog
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2367>
2023-03-20 11:23:51 +00:00
JuniorJPDJ 817a710c2e
fix(nginx): expose only subdirectories of /media 2023-03-18 09:45:35 +01:00
jo 7d96baa3cd feat(front): split large bundles into chunks
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2349>
2023-01-31 18:09:17 +00:00
jo 47944b18de chore(api): maintain api version using poetry
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332>
2023-01-31 06:57:32 +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 18dc07a214 chore: add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
2023-01-30 10:37:36 +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
Philipp Wolfer 993fb426ee Support boolean config fields in plugins
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2334>
2023-01-30 09:08:41 +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 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
AMoonRabbit 4cc3da05f7 Corrected typos in vars.css for card text colour.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2340>
2023-01-26 15:40:02 +00:00
jo d4d6fa9b82 fix(api): improve signal handling for systemd services
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>
2023-01-25 12:07:00 +00:00
Georg Krause 7504a5fa53 chore: Add deprecation changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:54:24 +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
Georg Krause f49a894204
chore: Add deprecation notice for Python 3.7 2023-01-22 13:26:43 +01: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
Philipp Wolfer 097f803fab Docker: Do not publicly expose API port
The default docker-setup exposes the API container directly on port 5000. This should not be the case and is not needed, as API access is all routed through the frontend nginx reverse proxy.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2324>
2023-01-22 10:38:20 +00:00
Kasper Seweryn b0225d3513 chore: add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2330>
2023-01-21 12:14:05 +00:00
wvffle 7f93311150 feat(ui): update upload status with error message if import failed
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2308>
2023-01-19 07:26:17 +00:00
Ciarán Ainsworth ee07023282 docs: use correct changlog fragment extension
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2318>
2023-01-18 14:18:44 +00:00
Ciarán Ainsworth c6cb00de48 docs: Add changelog for compose upgrade.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2318>
2023-01-18 14:18:44 +00: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 75c9b1eabe
feat: don't use poetry in production deployments 2023-01-16 02:11:01 +01:00
jo 95d8ab5dd4
chore: remove changes/notes.rst 2023-01-13 16:55:04 +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 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 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
Georg Krause 85e3984e3b fix: Can't purge failed files #1929
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2280>
2023-01-05 19:39:01 +01:00
Ciarán Ainsworth 101b1b6a23 fix(api): Add href to protected attributes
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>
2022-12-29 17:25:30 +00:00
jo a48f1b5449 fix: unpin asgiref
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2300>
2022-12-23 11:23:03 +00:00
jo bf20fcb694 refactor: format api pyproject.toml
Sort and group dependencies by usage.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2300>
2022-12-23 11:23:03 +00:00
Petitminion 03a5a83a3b Random and less listened radio filter out un-owned content on library section (#2007)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2285>
2022-12-19 17:13:29 +00:00
jo b359bb6498 fix: timeout on spa manifest requests
The previous behaviour had a loop of requests between the front
app and the api when querying the pwa manifest.

This reduce the coupling around the pwa manifest file between the api
and the front app, by uplicating the files so each "service" has a copy
of it, while keeping them in sync and having the front pwa manifest as
single source of truth.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2291>
2022-12-19 14:33:12 +01:00
jo 5356e9f268 feat: add manage.py backward compatible script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:37:02 +01:00
jo 6f2ecf832c feat: create funkwhale-manage entrypoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:31:00 +01:00
jo 29693806db feat: allow installing the funkwhale_api package
- update license identifier
- update description
- add links
- include all packages and data files
- exclude tests

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:30:55 +01:00
Georg Krause b55c2549bd fix(nginx): Remove trailing slash from reverse proxy configuration
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2253>
2022-12-07 07:32:48 +00:00
jo bf0e4935ea ci: cache lychee checked urls for 1 day
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2254>
2022-12-06 15:53:50 +01:00
Georg Krause e71003dbe0 refactor(front): Untangle Front- and Backend
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
2022-12-05 13:59:05 +00:00
wvffle b94dd699db Add changelog snippet 2022-11-28 10:16:58 +00:00