Commit Graph

1239 Commits

Author SHA1 Message Date
wvffle 68face201b Rename operation ids 2022-09-27 09:30:26 +00:00
Georg Krause e3c81ca397
Prevent double error logging 2022-09-15 15:12:50 +02:00
Georg Krause 4e6f57e3da
Fix typo in prune_skipped_uploads command 2022-09-14 09:51:15 +02:00
Georg Krause 8b0b2063ef
Fix formatting 2022-09-13 11:38:09 +02:00
Georg Krause d147e222a4
Prevent error messages to be unique by removing timestamp 2022-09-13 09:59:18 +02:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
Marcos Peña fb10d1a3d5 Version bump and changelog for 1.2.8 2022-09-12 10:51:44 +02:00
Georg Krause 200670b7f4 Refactor NodeInfo Endpoint to use proper serializer 2022-09-10 16:49:40 +00:00
Kasper Seweryn 778d2fcbd4 Fix remote search 2022-09-07 13:10:22 +00:00
Georg Krause 5262b107ea Refactor SettingsView to allow openapi generation 2022-09-07 09:09:53 +00:00
Georg Krause 6328d00015 Resolve "Database growing way too much (music_upload)" 2022-09-06 10:47:09 +00:00
wvffle 57693d85fc Allow anonymous access to gitpod 2022-09-06 09:26:36 +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 570524a2bd Refactor rate-limit endpoint to use serializers 2022-08-14 18:20:28 +00:00
Marcos Peña 0551af5042 Fix(radios): search filters incoherent behaviour 2022-07-21 17:20:31 +02:00
Ciarán Ainsworth d9cfa167c6 Fix OpenAPI generation 2022-07-20 12:31:57 +00:00
Marcos Peña 209e118882 Fix(subsonic): missing default order for search3 2022-07-19 15:16:00 +00:00
Kasper Seweryn 75a74b3ab7 Add support for debugging and testing python in gitpod 2022-07-17 02:06:25 +00:00
petitminion 0f4226e06f Resolve "Add "play all" button in tag search result page" 2022-07-15 09:07:15 +00:00
Georg Krause 3d825cd170
Fix black linting 2022-07-15 09:49:37 +02:00
Marcos Peña 05b0dded7c Merge branch 'stable' into develop 2022-07-14 13:30:02 +02:00
Marcos Peña ffe306ed5c Version bump and changelog for 1.2.7 2022-07-14 12:53:53 +02:00
Marcos Peña 9582604fc1 Fix(plugins): libre.fm plugin scrobbles 2022-07-14 08:43:27 +00:00
JuniorJPDJ 622369c62b fix(federation/tasks/refresh_actor_data): skip refreshing local actors
Solves disappearing local avatars
2022-07-10 18:38:38 +02:00
Georg Krause 6467e0342f
Fix linters 2022-07-05 15:43:08 +02:00
Georg Krause 5c5b35a0ad
Merge branch 'stable' into develop 2022-07-04 17:18:55 +02:00
Marcos Peña 366fb5f30f Version bump and changelog for 1.2.6 2022-07-04 17:03:19 +02:00
Petitminion 615a201537 Resolve timeouts if nodeinfo and service actor is not known (#1714) 2022-07-03 11:58:02 +02:00
Petitminion b412e036a3 Update migration after django update (#1815) 2022-06-29 09:38:38 +00:00
Marcos Peña c3207c82d5 Resolve "Adding track to playlist over Subsonic API will duplicate playlist" 2022-06-17 06:39:09 +00:00
petitminion 804d8bcefd Add task to refresh actor data in the cache (#1392) 2022-06-11 06:34:11 +00:00
petitminion 50f002fa73 Create an scan Library celery task 2022-05-15 10:56:39 +00:00
Georg Krause 73128eef25
Merge branch 'stable' into develop 2022-05-07 13:54:59 +02:00
Georg Krause 21b3c7255e
Version bump and changelog for 1.2.5 2022-05-07 13:48:31 +02:00
Georg Krause 09b1e7a007
Replace requests-http-signature with requests-http-message-signatures 2022-05-03 17:47:52 +02:00
Marcos ffd1ae0c44
Fixes broken channel page 2022-04-25 11:09:38 +02:00
Georg Krause af5e2d31ea
Merge branch 'stable' into develop 2022-04-23 14:04:53 +02:00
Georg Krause 6057b4fe95
Version bump and changelog for 1.2.4 2022-04-23 13:40:06 +02:00
Marcos 9528437242 Fixes broken channel page 2022-04-02 11:39:15 +00:00
Georg Krause 53b6984e63
Replace requests-http-signature with requests-http-message-signatures 2022-04-01 15:00:54 +02:00
Georg Krause 72f861f504
Fix black formatting 2022-03-18 17:29:03 +01:00
Georg Krause f81221ef11
Merge branch 'stable' into develop 2022-03-18 13:43:00 +01:00
Georg Krause dc35000ddc
Version bump and changelog for 1.2.3 2022-03-18 10:57:16 +01:00
Georg Krause 916e63eb09 Catch ValueError at the end of a radio 2022-03-16 13:06:35 +00:00
petitminion 5b7a28684a Catch ValueError at the end of a radio 2022-03-16 12:54:35 +00:00
JuniorJPDJ f4964ab3ab Change PyMemoize to django-cache-memoize
This allows to support python 3.10
2022-02-16 05:50:22 +00:00
JuniorJPDJ 67b970f3f8 Change PyMemoize to django-cache-memoize
This allows to support python 3.10
2022-02-05 21:43:20 +00:00
JuniorJPDJ 071c16f132 Fix black linting on stable branch 2022-02-05 12:30:01 +01:00
Petitminion 0be63131ef Resolve "Recently added radio isn't working has expected (#1674)" (!1479) 2022-02-05 12:20:50 +01:00
Georg Krause b39bd5f349
Merge branch 'stable' into develop 2022-02-04 12:51:41 +01:00
Georg Krause ddb7023f1b
Version bump and changelog for 1.2.2 2022-02-04 12:49:11 +01: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 b4b929eb43
Version bump and changelog for 1.2.1 2022-01-06 17:36:41 +01:00
Georg Krause c82f64cc7d
Version bump and changelog for 1.2.1 2022-01-06 17:35:53 +01:00
Georg Krause 742f843c98
Bump version 2021-12-27 20:56:03 +01:00
Georg Krause 91f9b3af9f Return the correct value for is_playable on albums 2021-12-21 09:12:57 +00:00
Georg Krause 8325184d3b
Bump version number to 1.2.0-rc1 2021-12-11 16:15:20 +01:00
Marcos Peña 274bdd1d3e refactor: Adds duration annotation to album's queryset
MR !1408
2021-11-26 07:35:12 +00:00
Philipp Wolfer da12e745bf
ListenBrainz: Submit media player and submission client information
Following new LB submission API specifications.

Resolves #1610
2021-11-24 11:37:24 +01:00
Marcos Peña df8d865a6c Fixes playlist duration 2021-11-12 21:16:38 +01:00
Marcos Peña d5d7de8590 Resolve "Subsonic API: expose more metadata in getAlbumList endpoint" (#623)
MR !1403
closes #623
2021-11-12 16:15:38 +00:00
Philipp Wolfer fadbb9a7ab Added a Maloja plugin to submit listenings (!1383) 2021-10-24 11:15:47 +00:00
Philipp Wolfer 355b607f25 Document built-in plugins 2021-10-21 22:12:03 +00:00
Marcos 44ac313617 Adds support for artist's cover art in subsonic API (#1528) 2021-10-18 10:23:03 +02: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
Marcos Peña 34b5eb7830 Resolve "Subsonic API scrobble call not triggering scrobble plugin" 2021-09-25 11:19:57 +00:00
Alexandra Parker 79587b801e fix(subsonic): AttributeError when getting user profile 2021-09-05 13:56:34 +00:00
Tony Wasserka 2173a592a0 Add br to the list of safe HTML tags 2021-08-28 19:13:33 +00:00
Tony Wasserka 906bbb34bb Display RSS episode descriptions based on the <content:encoded> RSS tags
The previously used <description> tag often only contains plain text,
whereas <content:encoded> is typically HTML-encoded and hence better
suited for display.

Closes #1405
2021-08-28 19:13:33 +00:00
Georg Krause ad597a93dd
Merge branch 'master' into develop 2021-08-10 22:33:29 +02:00
David Marzal 02a8ce949c Add xmlns:content to feed schemas fixes #1535 2021-08-05 07:58:12 +00:00
Georg Krause 3c8c152460
Version bump and changelog for 1.1.4 2021-08-02 20:47:50 +02:00
Georg Krause 00a9a0d5a6
Merge branch 'master' into develop 2021-08-01 21:55:51 +02:00
Georg Krause 73ced887fd
Version bump and changelog for 1.1.3 2021-08-01 21:53:51 +02:00
Georg Krause cf8c0752cd Update dev and test dependencies 2021-07-05 12:21:52 +00:00
Georg Krause 189166ec7c Update django-oauth-toolkit 2021-07-04 04:57:35 +00:00
Georg Krause b5fca7c1c9 Update PyLD to version 2.0 2021-06-30 15:41:12 +00:00
jovuit f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Georg Krause 6e1be964d7 Merge branch '1498-fix-scrobber-empty-mbid' into 'develop'
Fix the scrobbler plugin submitting literal "None" as MusicBrainz ID

Closes #1498

See merge request funkwhale/funkwhale!1326

(cherry picked from commit 8273feb581)

572efc79 Fix the scrobbler plugin submitting literal "None" as MusicBrainz ID
2021-06-17 11:21:56 +00:00
Philipp Wolfer 572efc792e Fix the scrobbler plugin submitting literal "None" as MusicBrainz ID
Fixes #1498
2021-06-17 11:05:37 +00:00
petitminion a8ab4eedfc Add recently added radio, part of #1390 2021-06-17 11:04:01 +00:00
Georg Krause 1ef252e29d Implement several pipeline improvements
* Build docker image to run tests in
* Collect backend coverage reports
* Update dependencies
2021-05-28 09:39:27 +00:00
Georg Krause 8202c1879b
Version bump and changelog for 1.1.2 2021-05-19 15:31:26 +02:00
Georg Krause ea4be336d4
Version bump and changelog for 1.1.2 2021-05-19 15:30:51 +02:00
Ciarán Ainsworth c60bc93930 Fix recently listened widget and simple artist serializer
(cherry picked from commit 071ff89a4f)
2021-05-19 13:11:41 +00:00
Ciarán Ainsworth 071ff89a4f Fix recently listened widget and simple artist serializer 2021-05-19 12:59:14 +00:00
Blopware 0c8f4400b0
Sanitize remote tracks' saving locations with slashes on their names
For that case, the resulting saved file made use of these slashes to
store the tracks in subdirectories of federation_cache/xx/xx/xx, instead of
in the federation_cache/xx/xx/xx directory itself. As a consequence, the
tracks are downloaded in the wrong location, and upon any trial of
playing the tracks, funkwhale responds with the message
"The track cannot be loaded. You can have connectivity issues"

An example of a podcast with this kind of RSS items is located in
https://www.rtve.es/api/programas/2082/audios.rss

This commit overcomes this by a simple replacement of the offending
slashes to hyphens.
2021-05-09 17:51:45 +02:00
Ciarán Ainsworth 0176b29dae
Add missing playable serializer 2021-05-09 07:39:19 +02:00
Ciarán Ainsworth 33f7993477 Add missing playable serializer 2021-05-09 05:38:55 +00:00
Georg Krause 88de997603
Remove JWT related code 2021-04-28 10:44:28 +02:00
Georg Krause 5d745fea6f Resolve "Remove Raven Sentry" 2021-04-25 15:13:17 +00:00
Georg Krause 381215af98
Version bump and changelog for 1.1.1 2021-04-13 10:27:07 +02:00
Georg Krause c4664de41f
Add Middleware to trace memory usage 2021-04-12 20:20:39 +02:00
Fanyx 7bcb8d8c89 change struct to reflect subsonic api specs, fixes #1374 2021-03-28 19:21:01 +02:00
Georg Krause 851afe923a
Version bump and changelog for 1.1 2021-03-10 10:25:28 +01:00
Georg Krause 51462200a2
Version bump and changelog for 1.1-rc2 2021-03-01 19:21:36 +01:00
Georg Krause 07677c6685 Ignore not supported activity pub tag types instead of discarding the request 2021-02-28 21:23:49 +01:00
Georg Krause f7b5214fa7 Revert "Merge branch '876-http-signature' into 'develop'"
This reverts merge request !1120
2021-02-28 20:34:25 +01:00
Snack Capt 466b20bb28 fixes #1341; Update pleroma JSON-LD Schema 2021-02-25 19:17:35 +01:00
Georg Krause f55cbcb506
Version bump and changelog for 1.1-rc1 2021-02-24 08:18:56 +01:00
Georg Krause 0edf32ed0e Merge branch '876-http-signature' into 'develop'
Fix #876: use proper http-signature release

Closes #876

See merge request funkwhale/funkwhale!1120
2021-02-22 13:07:35 +01:00
Georg Krause b321ab8da2 Add number of tracks and discs of an album to API 2021-02-20 12:54:11 +01:00
Agate 7f80a86bc5
Fix #876: use proper http-signature release 2021-02-13 16:14:57 +01:00
Christian Paul f93c9680a0 much minutes -> many minutes 2021-01-30 17:04:25 +01:00
Christian Paul 0f0fd8e8dd Add missing space 2021-01-30 17:00:04 +01:00
interfect 7f42c1ad44 Autodetect format when transcoding files 2021-01-21 15:11:53 +01:00
heyarne b42675b52d Omit recording_mbid if no data is available; fixes https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1310 2020-12-16 14:53:55 +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
Philipp Wolfer 0dc46ea36b Added a ListenBrainz plugin
Allows users to submit their listenings to ListenBrainz.org.
2020-11-20 19:03:04 +01:00
Robert Kaye d4160f8635 Skip importing files that cause index violations 2020-11-19 22:27:03 +01:00
Fred Uggla 22f739a297 Replaced token password with passphrase 2020-11-15 21:44:23 +01:00
Agate 68bc76bc9e Version bump and changelog for 1.0.1 2020-10-31 12:43:37 +01:00
Kuba Orlik 7ee8e02b29 Fix feed formatting so it passes w3c validation
Feeds generated by Funkwhale do not pass validation with the [w3c
validator](https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fpodcast.midline.pl%2Fapi%2Fv1%2Fchannels%2FMidline%2Frss).
This commit addresses the problems identified during validation:

1. The `isPermalink` is not recognized -> changed it to
   `isPermaLink` (capital "L")

2. `itunes:summary` and `itunes:subtitle` are 256 characters after
   truncating, but the maximum is 255. The truncating function trims the
   text to 255 chars, but then adds `…`, so the text is one character
   too long

3. The tags within `itunes:keywords` are now separated with commas
   instead of spaces (https://validator.w3.org/feed/docs/warning/InvalidKeywords.html)
2020-10-25 18:56:52 +01:00
Cédric Schieli 055ae44aef Allow genre tags to be updated when rescanning files in-place 2020-10-25 18:56:52 +01:00
Agate 44d6c52e5f Version bump and changelog for 1.0 2020-09-09 07:48:00 +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 e52127927c Merge branch '1205-large-square-crop' into 'develop'
Fix #1205: Added a new, large thumbnail size for cover images

Closes #1205

See merge request funkwhale/funkwhale!1220
2020-08-28 21:05:14 +02:00
Agate 712f471f10 Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00
Agate 482647dab9 Fix #1210: Enforce authentication when viewing remote channels, profiles and libraries 2020-08-28 20:19:08 +02:00
Agate b1ae13ab0a Fixed full-text search 2020-08-27 11:31:13 +02:00
Agate 1d36df3f69 [plugin/scrobbler] Fixed scrobbling issues due to invalid payload 2020-08-26 17:46:30 +02:00
Agate 122529f473 [plugin/scrobbler] Fixed wrong caching of session key 2020-08-26 17:27:19 +02:00
Agate cce158b60b [plugin, scrobbler] Use last.fm API v2 for scrobbling if API key and secret are provided 2020-08-26 12:26:27 +02:00
Agate ea83511d0a Plugins can now register .env settings 2020-08-25 09:55:57 +02:00
Agate 641e1525ac Fix #1999: broken federation with pods using allow-listing 2020-08-24 13:53:45 +02:00
Agate 0c25370fff Fix #1196: Fixed broken search when using (, " or & chars 2020-08-23 17:55:26 +02:00
Agate 53b5c6261e Delete existing thumbnails automatically when running 2020-08-23 16:39:31 +02:00
Agate f400d2568b Fixed slow import when duplicates 2020-08-23 16:35:19 +02:00
Agate f43f029a18 Version bump and changelog for 1.0-rc1 2020-08-23 15:21:29 +02:00
Agate c4b25a5ee7 Fixed missing signature on some requests 2020-08-23 12:34:11 +02:00
Agate 884e64d4cf Fixed 500 on some urls 2020-08-23 12:24:35 +02:00
Agate a9589fe8ac Fixed auth=None during fetch 2020-08-23 12:08:34 +02:00
Agate dcbc2a5b55 Removed dead code 2020-08-20 12:51:06 +02:00
Agate 6fc08aa061 Fixed token length 2020-08-19 20:12:59 +02:00
Agate 30f6a77e68 More secure tokens 2020-08-19 19:50:56 +02:00
Agate f2e5969c44 Added application token for easier auth 2020-08-19 11:41:17 +02:00
Agate 2e197e0a27 Fix #1193: Fixed crash with negative track position in file tags 2020-08-18 21:07:19 +02:00
Agate cd109ddeb6 Fix #858: Broadcast/handle rejected follows 2020-08-18 20:40:02 +02:00
Andy Craze 36bbc5c0da Handle invalid JSON returned by nodeinfo endpoint
Fixes #1057
2020-08-12 23:27:59 +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 b7f1c02c6f Merge branch '1105-scan-ui' into 'develop'
Fix #1105: Can now launch server import from the UI

Closes #1105

See merge request funkwhale/funkwhale!1192
2020-08-03 13:56:06 +02:00