Commit Graph

476 Commits

Author SHA1 Message Date
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
jo 4159bc1209 chore: format files using black (pre-commit) 2022-11-23 20:41:45 +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
Marcos Peña 5248a252ec Resolves 404 on skipped upload 2022-11-19 16:56:38 +00:00
JuniorJPDJ 64e7c68699 refactor(api): remove unnecessary or wrong `is` keyword usage 2022-11-07 13:28:52 +00:00
Petitminion 0cb3457378 New task checking if remote instance is reachable to avoid playback latence 2022-10-27 12:20:31 +00:00
Georg Krause 590d01c11b
style(music): Correct codestyling of views 2022-10-13 12:00:20 +02:00
Georg Krause e8b7da9744
test(search): Adopt test do use same serializer as view 2022-10-13 12:00:19 +02:00
Georg Krause 4b1baec347
chore(tags): remove duplicated serializer 2022-10-13 12:00:19 +02:00
Georg Krause 2d913862e1
fix(openapi): Use a proper serializer for Search endpoint 2022-10-13 12:00:19 +02: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 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 301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +00:00
wvffle c19b3d3545 Fix client API generation 2022-09-27 09:30:26 +00:00
wvffle c0b2c8d41e Fix black linting 2022-09-27 09:30:26 +00:00
wvffle 68face201b Rename operation ids 2022-09-27 09:30:26 +00:00
Georg Krause 4e6f57e3da
Fix typo in prune_skipped_uploads command 2022-09-14 09:51:15 +02:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
Georg Krause 6328d00015 Resolve "Database growing way too much (music_upload)" 2022-09-06 10:47:09 +00:00
Marcos Peña ecf81eee88 Fixes wrong metadata field used in VA album serialization 2022-09-03 04:54:43 +00:00
Georg Krause faf8bdcb81 Add a management command to create a new library for a user 2022-08-23 07:02:35 +00:00
Ciarán Ainsworth d9cfa167c6 Fix OpenAPI generation 2022-07-20 12:31:57 +00:00
Kasper Seweryn 75a74b3ab7 Add support for debugging and testing python in gitpod 2022-07-17 02:06:25 +00:00
Petitminion b412e036a3 Update migration after django update (#1815) 2022-06-29 09:38:38 +00:00
petitminion 50f002fa73 Create an scan Library celery task 2022-05-15 10:56:39 +00:00
petitminion 252ebf8ce7 Remove usage of deprecated Model and Serializer fields (#1663) 2022-01-23 10:52:41 +00:00
Georg Krause 850dc69091 Update Black & run for whole repository 2022-01-09 11:40:49 +00:00
Georg Krause 91f9b3af9f Return the correct value for is_playable on albums 2021-12-21 09:12:57 +00:00
Marcos Peña 274bdd1d3e refactor: Adds duration annotation to album's queryset
MR !1408
2021-11-26 07:35:12 +00:00
Marcos Peña b942ed7a62 Adds sanity check to prevent uncontrolled exception from untagged imported tracks (!1382) 2021-10-17 10:41:03 +00:00
Georg Krause 189166ec7c Update django-oauth-toolkit 2021-07-04 04:57:35 +00:00
Ciarán Ainsworth 33f7993477 Add missing playable serializer 2021-05-09 05:38:55 +00:00
Georg Krause b321ab8da2 Add number of tracks and discs of an album to API 2021-02-20 12:54:11 +01:00
Christian Paul f93c9680a0 much minutes -> many minutes 2021-01-30 17:04:25 +01:00
interfect 7f42c1ad44 Autodetect format when transcoding files 2021-01-21 15:11:53 +01:00
Ciarán Ainsworth f477ba1b4f Podcast search capabilities 2020-12-04 09:33:17 +01:00
Ciarán Ainsworth 0ce5068f14 Resolve "Albums are not displaying on Album categories" 2020-12-02 18:44:04 +01:00
Philipp Wolfer 9e5d168e8d Support AIFF file format
Fixes #1243
2020-11-21 12:13:09 +01:00
Robert Kaye d4160f8635 Skip importing files that cause index violations 2020-11-19 22:27:03 +01:00
Cédric Schieli 4845325612
Allow genre tags to be updated when rescanning files in-place 2020-10-11 17:12:39 +02:00
Agate bf611f2ecd Fix #1217: Fixed "scope=subscribed" on albums, artists, uploads and libraries API 2020-09-03 15:58:26 +02:00
Agate f400d2568b Fixed slow import when duplicates 2020-08-23 16:35:19 +02:00
Agate 2e197e0a27 Fix #1193: Fixed crash with negative track position in file tags 2020-08-18 21:07:19 +02:00
Agate c96fd5d539 Fixed compat with iTunes 2020-08-11 13:07:39 +02:00
Agate 95ba6e1b22 Give priority to local uploads when playing a track 2020-08-06 16:21:55 +02:00
Agate 547c4ea554 Don't download file as attachment for podcast 2020-08-06 10:53:04 +02:00
Agate c29d0b17ea Denorm default true 2020-08-04 14:24:12 +02:00
Agate 8cc78652c7 Support coma separated mbids in tags 2020-08-03 15:49:14 +02:00
Agate e271851f67 See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
Agate 788c12748f Fix #1105: Can now launch server import from the UI 2020-08-03 13:50:53 +02:00
Agate e9186ca813 Fx #1178: Display channel and track downloads count 2020-07-31 11:46:25 +02:00
Ciarán Ainsworth 7c031eb186 Resolve "Allow hiding compilation artists in the Artists tab" 2020-07-27 10:57:11 +02:00
Ciarán Ainsworth d6d73d8620 Resolve "Licence Art Libre" 2020-07-23 17:28:14 +02:00
Agate 21f147c0c4 Merge branch 'master' into develop 2020-07-21 14:47:07 +02:00
Agate ca056f717e Fix #1116: Can now filter subscribed content through API 2020-07-21 14:38:39 +02:00
Agate 4351331355 Fix #1175: Fix embedded player not working on channel serie/album 2020-07-21 11:19:35 +02:00
Agate e391415098 Upgraded dependencies 2020-07-18 10:29:22 +02:00
Agate 1295144681 Fixed really slow SQL 2020-07-09 11:51:58 +02:00
Agate 55f4fde0f4 Fix #1102: Do not include tracks in album API representation 2020-07-06 10:16:45 +02:00
Agate d4028450a9 Plugins infrastructure 2020-07-03 10:59:12 +02:00
Simon Arlott 93cb3e8cad
Handle PermissionError when checking existing files 2020-06-24 22:23:18 +01:00
Agate 0750aacafe
Fix #1104: invalid metadata when importing multi-artists tracks/albums 2020-06-23 12:43:58 +02:00
Agate 0c05ac6512
Fix #1104: invalid metadata when importing multi-artists tracks/albums 2020-06-23 12:37:48 +02:00
Agate e730ed45d5
Merge branch 'master' into develop 2020-06-22 14:50:52 +02:00
Agate d50cce36e2
Added a new ?related=obj_id filter for artists, albums and tracks, based on tags 2020-06-22 14:43:42 +02:00
Agate e6344338f9
Fix #1145: Support ordering=random for artists, albums, tracks and channels endpoints 2020-06-22 13:22:26 +02:00
Agate 0ebd7c610d
Linting 2020-06-21 16:38:57 +02:00
Agate 989f66315b
Fix #1165: Fixed broken mimetype detection during import 2020-06-21 16:21:16 +02:00
Simon Arlott 88a72ea14d
Handle access errors scanning directories
Trying to read a directory that is visible but not accessible, or a
symlink to a file in a directory that is not accessible will raise a
PermissionError. Output these and then continue.

If os.scandir() raises an exception then the finally block accesses
"scanner" before it is assigned, raising an UnboundLocalError.
2020-06-21 10:19:04 +01:00
Agate 45132dea75
Improved some error handling 2020-06-14 15:09:14 +02:00
Agate 85c6baca9a
Fix #1155: Fixed crash on python 3.5 with cli importer 2020-06-11 05:57:53 +02:00
Agate d43eed805b Merge branch '1151-list-librarie' into 'master'
Fix #1151: Updated the /api/v1/libraries endpoint to support listing public libraries of a pod

See merge request funkwhale/funkwhale!1135
2020-06-05 11:26:55 +02:00
Agate aa8b1b5f83
Fix #1151: Updated the /api/v1/libraries endpoint to support listing public libraries of a pod 2020-06-05 11:21:10 +02:00
Agate f54038ca83 Resolve "CLI in-place import impossible with virtualenv with python3.5" 2020-06-05 10:42:56 +02:00
Agate e331a87478
Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:07:43 +02:00
Agate 798e3c0340
Fix #1078: Include tracks by album artist when filtering by artist on /api/v1/tracks 2020-05-07 16:43:10 +02:00
Agate c7a3dd9da5
Fix #1011: Ensure tracks linked to skipped upload can be pruned 2020-05-07 13:51:29 +02:00
Agate 752c993e8e
Importer updates: watch directories, handle metadata updates 2020-05-07 09:56:05 +02:00
Agate 85bc8d93e8
Fix #1093: mimetype detection issue that broke transcoding on certain tracks 2020-05-04 13:52:44 +02:00
Agate 19266ba3e3
Fixed broken upload status link in import_files command 2020-04-23 12:00:57 +02:00
Agate ecb7c464a1 Improved CLI importer reliability and UX 2020-04-15 11:23:50 +02:00
Eliot Berriot 8c93169d94
See #170: dispatch / handle delete and update on Audio 2020-04-08 16:17:24 +02:00
Eliot Berriot 51a44d6d5a Merge branch '170-fetch-track' into 'develop'
See #170: fixed fetch of channel track not working

See merge request funkwhale/funkwhale!1080
2020-04-08 13:58:38 +02:00
Eliot Berriot e7622729a9
See #170: fixed fetch of channel track not working 2020-04-08 13:38:22 +02:00
Eliot Berriot 9e8983bb60 See #170: reel2bits compat 2020-04-08 13:28:46 +02:00
Eliot Berriot 9e447ab523 See #170: UI for albums / series 2020-04-07 17:19:17 +02:00
Eliot Berriot 133e2e4f07
Fix #1059: fixed some broken RSS feeds 2020-04-01 16:21:41 +02:00
Eliot Berriot 02d35ded25
Switch back from pendulum to arrow to fix broken build ;) 2020-03-30 10:59:21 +02:00
Eliot Berriot f361791c1b
Fixed mutation erasing tags and description when other fields are modified 2020-03-26 16:36:03 +01:00
Eliot Berriot 9aa12db62e See #170: Funkwhale federation 2020-03-25 15:32:10 +01:00
Eliot Berriot e4b989f51a
Fixed empty results issue when browsing library with playable filter 2020-03-24 10:31:07 +01:00
Eliot Berriot 2440550591 Merge branch 'faster-ci' into 'develop'
Faster tests

See merge request funkwhale/funkwhale!1063
2020-03-23 16:22:20 +01:00
Eliot Berriot c9259c906b
Faster tests by not creating covers unless mandatory 2020-03-23 14:29:01 +01:00
Eliot Berriot 7aa299e5b4
See #170: ensure fetch works properly on tracks with public upload 2020-03-23 12:54:58 +01:00
Eliot Berriot 1654044a9f
See #170: store and compute modification date on artists 2020-03-19 14:41:15 +01:00
Eliot Berriot a119a5d90a
See #170: fixed several feed parsing issues 2020-03-13 15:26:11 +01:00
Eliot Berriot deb1f35779 See #170: subscribe to 3d-party RSS feeds in Funkwhale 2020-03-13 12:16:51 +01:00
Eliot Berriot 882e245a09
Fix #1036: Favor local uploads when playing a track with multiple uploads 2020-03-11 14:05:37 +01:00
Eliot Berriot d9afed5067 Fix #1038: Federated reports 2020-03-11 11:39:55 +01:00
Eliot Berriot 66a9a62376
Fix #1037: More resilient tag parsing with empty release date or album artist 2020-03-09 17:21:15 +01:00