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
Georg Krause
817c8fbcaa
Version bump and changelog for 1.2.9
2022-11-25 17:59:23 +01:00
jo
ae2d5fadfb
docs: harden security for debian install
...
Funkwhale only need to read the source/config files and read/write to
the data directories.
The source/config files manipulation must be handled by a privileged
user.
2022-11-25 15:25:01 +01:00
jooola
4cc7c86f04
test(api): fix warnings by renaming fixtures
2022-11-24 20:18:35 +00:00
JuniorJPDJ
adaf99272c
feat(front/Dockerfile): cross-build on native platform
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2194 >
2022-11-24 06:25:41 +00:00
jo
9ff2e70325
chore: add missing changelogs for pre-commit
2022-11-24 01:43:36 +01:00
jo
054a9e54f5
docs: fix spelling errors (pre-commit)
2022-11-24 01:43:36 +01:00
JuniorJPDJ
753b5d71e9
fix linter
2022-11-23 12:25:16 +00:00
JuniorJPDJ
f6b094aa63
changelog snippet
2022-11-23 10:43:06 +00:00
jooola
eea77bc234
ci: scan for broken links
2022-11-22 20:52:06 +00:00
Georg Krause
67759d3498
chore(deps): Remove not required dependency pyOpenSSL
2022-11-22 19:04:08 +00:00
jo
e0ffb780f5
ci: fix permissions for build artifacts
...
- anyone should be able to read and traverse the tree
- not all the files should be executable, only scripts
2022-11-22 14:54:48 +00:00
jo
0061e82ecd
chore: clean files using pre-commit
2022-11-22 14:30:01 +00:00
jo
f4dbc584e1
chore: add pre-commit config
2022-11-22 14:30:01 +00:00
Marcos Peña
aa17f9679b
Resolves reuse of invitation code
2022-11-21 18:50:08 +00:00
Georg Krause
6908f4bf74
Resolve "value too long for type character varying(255) during import_files"
2022-11-21 18:12:49 +00:00
jo
193d5aa9d1
fix: allow enabling systemd funkwhale.target
2022-11-20 18:39:34 +00:00
petitminion
01fd1503c9
add playlists radio to search result page
2022-11-20 10:49:23 +00:00
Marcos Peña
5248a252ec
Resolves 404 on skipped upload
2022-11-19 16:56:38 +00:00
RenovateBot
abfa971eb5
Update alpine Docker tag to v3.17 (develop)
2022-11-17 15:30:41 +00:00
JuniorJPDJ
ef8b1d6dae
Make changelog snippet for !2131 more obvious
2022-11-15 18:03:43 +00:00
Georg Krause
2fcb274c06
chore(changelog): Add snippet
2022-11-15 18:03:43 +00:00
JuniorJPDJ
730bfaec65
fix(ci): always run tests on protected branches
2022-11-09 19:00:59 +00:00
JuniorJPDJ
c4367466bc
fix(api/Dockerfile): remove autobahn dependency pin after upgrading cryptography
2022-11-09 18:58:58 +00:00
Philipp Wolfer
24f0ee319e
listenbrainz: submit duration
2022-11-08 07:51:03 +00:00
Georg Krause
acf8a77155
chore(changelog): Add missing changelog snippet
2022-11-08 07:34:49 +00:00
JuniorJPDJ
64e7c68699
refactor(api): remove unnecessary or wrong `is` keyword usage
2022-11-07 13:28:52 +00:00
Ciarán Ainsworth
29e92fda2f
Resolve "New embedded player doesn't work on Mastodon"
2022-11-06 06:58:03 +00:00
JuniorJPDJ
19f2246fcc
Fix CORS for media files and allow wasm-unsafe-eval for visualizer ( fixes #1937 and #1934 )
2022-11-05 18:18:20 +00:00
wvffle
2c9327fefc
Fix play button in albums with multi-page volumes
2022-11-05 12:53:12 +00:00
wvffle
b7355c9c95
Fix adding same track multiple times
2022-11-05 12:48:30 +00:00
wvffle
e259e3dd74
Fix player closing when queue ends
2022-11-04 13:54:04 +00:00
wvffle
b0d9db23e9
Add changelog snippet
2022-11-04 13:20:22 +00:00
Georg Krause
bd1da668f5
chore(changelog): Remove needless changelog snippet
2022-11-04 08:16:20 +01:00
wvffle
60ae29a612
Fix fetching pages of albums in album detail view
2022-11-03 09:44:25 +01:00
wvffle
150eb2a11c
Add changelog snippet for !2077
2022-11-03 09:27:14 +01:00
wvffle
66fd99c246
Add changelog snippet
2022-11-03 08:15:17 +00:00
wvffle
09e1aa6f73
Add changelog snippet
2022-11-02 20:59:38 +00:00
wvffle
3d1eb2fb27
Add changelog snippet for !2073
2022-10-31 23:02:40 +01:00
Kasper Seweryn
8367e09e6c
Fix favorite button in queue
2022-10-31 19:56:38 +00:00
Georg Krause
9a56350767
chore: Add changelog snippet
2022-10-30 19:25:19 +01:00
Jacek Pruciak
7b2b204389
changelog
2022-10-30 14:26:55 +01:00
Philipp Wolfer
6a91ea91b2
Ensure SPA HTML files get loaded with UTF-8 encoding
...
Fixes issues with wrong encoding of the "Loading Funkwhale…" text in index.html
2022-10-29 10:57:13 +02:00
Ciarán Ainsworth
dfa73631c7
Clean up documentation
2022-10-29 07:04:31 +00:00
RenovateBot
fde81c1a03
Update postgres Docker tag to v15 (develop)
2022-10-28 05:25:22 +00:00
Petitminion
0cb3457378
New task checking if remote instance is reachable to avoid playback latence
2022-10-27 12:20:31 +00:00
Ciarán Ainsworth
4ae9d77cf2
Update translation docs
2022-10-27 10:05:41 +00:00
Ciarán Ainsworth
80912e7bb4
Rewrite documentation contributor guide
2022-10-25 16:51:47 +00:00
Ciarán Ainsworth
b2223131b5
Resolve "Can't subscribe to podcasts"
2022-10-24 22:30:05 +00:00
Ciarán Ainsworth
55a99eea14
Rewrite federation doc
2022-10-24 18:54:34 +00:00
Ciarán Ainsworth
a16343a531
Rewrite plugins docs
2022-10-21 16:06:49 +00:00
Ciarán Ainsworth
337942a97c
Rewrite architecture doc
2022-10-20 16:49:32 +00:00
Ciarán Ainsworth
5dc7a33a2f
Update API docs
2022-10-20 16:38:24 +00:00
Georg Krause
72877e31ed
feat(api): Prepare API for version 2
2022-10-19 13:02:37 +02:00
Georg Krause
7420729894
fix(openapi): Add Serializer for SpaManifest Endpoint
2022-10-18 18:24:19 +00:00
Ciarán Ainsworth
03a027162a
Add changelog snippet
2022-10-17 13:31:25 +00:00
petitminion
605b2fee9a
Delete refresh actor data task
2022-10-16 10:44:09 +00:00
wvffle
4e5fb464e0
Fix OAuth login
2022-10-13 10:25:29 +00:00
Georg Krause
2d913862e1
fix(openapi): Use a proper serializer for Search endpoint
2022-10-13 12:00:19 +02:00
Georg Krause
f1d50d0c17
chore(openapi): Exclude /api/v1/oauth/authorize from the specs since its not supported yet
2022-10-13 09:42:12 +00:00
Georg Krause
e5da2370f7
refactor(auth): Replace django_rest_auth with dj_rest_auth
2022-10-13 11:09:20 +02:00
Georg Krause
7a81df8ec1
fix(openapi): Add proper serialization for TextPreviewView
2022-10-12 12:03:37 +00:00
Georg Krause
5081ec8a71
Resolve "OembedView: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Ignoring view for now."
2022-10-12 12:03:12 +00:00
Georg Krause
2eefd8b3f7
feat(python): Add support for python 3.11rc and testing
2022-10-12 08:52:26 +00:00
Georg Krause
7dcc536613
fix(openapi): Fix openapi generation for LibraryFollowViewSet
...
Closes #1896
2022-10-12 07:28:42 +00:00
Georg Krause
dd0ad1bebc
Resolve "ChannelViewSet: exception raised while getting serializer. Hint: Is get_serializer_class() returning None or is get_queryset() not working without a request? Ignoring the view for now. (Exception: 'NoneType' object is not callable)"
2022-10-11 17:42:23 +00:00
Georg Krause
4371c2acd3
Resolve "using @extend_schema on viewset class ListenViewSet with parameters operation_id or operation will most likely result in a broken schema."
2022-10-11 15:47:39 +00:00
Georg Krause
667052bc03
fix(openapi): Fix all user viewset annotation
2022-10-09 15:05:23 +02:00
Georg Krause
8048ae49c4
Add coverage reporting for Gitlab
2022-10-09 08:27:24 +00:00
Georg Krause
ff1a614861
Resolve "Refactor mutations endpoints"
2022-10-08 17:55:09 +00:00
Georg Krause
301cea927a
Align openapi specs to the actual API
2022-09-28 17:53:49 +00:00