Commit Graph

730 Commits

Author SHA1 Message Date
Georg Krause 905567ae2e fix(changelog): Adjust naming of changelog snippets 2023-06-01 18:24:15 +02:00
Ciarán Ainsworth 93bdf1c42a fix(docs): Remove unneeded postgres migration step
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2428>
2023-05-20 13:22:05 +02:00
Ciarán Ainsworth 6e04858b08 chore(docs): add systemd steps to Debian upgrade
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2423>
2023-05-12 06:39:54 +00:00
Ciarán Ainsworth 19a1dde9b6 chore(docs): Fix broken links
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2422>
2023-05-12 08:32:02 +02:00
Sporiff 1fb8c634f7 chore(docs): add postgres update instructions
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2419>
2023-05-11 12:06:38 +00:00
tobifroe 78fa52e103 fix(2054): player/queue-dropdown mobile layout widths
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2372>
2023-05-05 22:16:32 +00:00
Sporiff 7853330790 Add Nginx update instructions to Debian guide
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2415>
2023-04-27 13:24:22 +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 83b2aa0ad8
fix(api): move docker cache settings to django settings 2023-04-14 13:17:55 +02:00
jo 0b33b42210 fix(front): album tracks count i18n
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2389>
2023-03-31 12:28:09 +02:00
jo 61a4a232ee
chore: move changelog fragment in changelog.d 2023-03-28 19:16:36 +02:00
JuniorJPDJ 817a710c2e
fix(nginx): expose only subdirectories of /media 2023-03-18 09:45:35 +01: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 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
Georg Krause b136273dd4 fix: Fix Serializer for inline channel artists 2022-11-26 20:23:17 +00:00
jo 452f2ee104 ci: remove docker_all_in_one_release job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2221>
2022-11-26 19:32:46 +00:00
jo f60ba2d9be fix: docker nginx entrypoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2217>
2022-11-26 13:58:57 +00:00
jo d47fef0806 chore: fix shell scripts lint errors 2022-11-25 19:43:50 +00:00
jooola ff20988fbd chore: move api tools config to pyproject.toml 2022-11-25 19:41:38 +00:00