funkwhale/api/funkwhale_api/common
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
..
management Fixed broken tag generation in load_test_data command 2019-07-18 14:08:38 +02:00
migrations Plugins infrastructure 2020-07-03 10:59:12 +02:00
scripts Increase image quality of downscaled images from 70 to 95 2020-05-07 19:18:19 +02:00
__init__.py Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00
admin.py Attachments 2019-11-25 09:49:06 +01:00
apps.py Plugins can now register .env settings 2020-08-25 09:55:57 +02:00
authentication.py Remove JWT related code 2021-04-28 10:44:28 +02:00
cache.py Fixed failing tests 2020-02-18 15:34:10 +01:00
channels.py Revert to apline:3.11 to stay on Python 3.7 (3.8 has issues with channels) 2020-02-18 15:20:15 +01:00
consumers.py Revert to apline:3.11 to stay on Python 3.7 (3.8 has issues with channels) 2020-02-18 15:20:15 +01:00
decorators.py Resolve "Implement a Oauth provider in Funkwhale" 2019-03-25 17:02:51 +01:00
dynamic_preferences_registry.py Add missing space 2021-01-30 17:00:04 +01:00
factories.py Plugins infrastructure 2020-07-03 10:59:12 +02:00
fields.py See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
filters.py Fixed channels not displaying on user profile 2020-07-28 09:41:43 +02:00
locales.py See #170: RSS feeds for channels 2020-01-31 09:11:39 +01:00
middleware.py Add Middleware to trace memory usage 2021-04-12 20:20:39 +02:00
mixins.py First round of improvements to channel management: 2020-02-23 15:31:03 +01:00
models.py Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00
mutations.py See #170: cover on tracks and artists 2020-01-17 16:27:11 +01:00
pagination.py More configurable pagination 2019-04-09 11:15:43 +02:00
permissions.py See #170: exclude by default all channels-related entities from /artists, /albums and /tracks endpoints results, for backward compatibility 2019-11-25 09:49:49 +01:00
preferences.py Resolve "Screening for signups" 2020-03-18 11:57:33 +01:00
routers.py Fixed compat with iTunes 2020-08-11 13:07:39 +02:00
search.py Fixed full-text search 2020-08-27 11:31:13 +02:00
serializers.py Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00
session.py Attachments 2019-11-25 09:49:06 +01:00
signals.py [EPIC] Audio metadata update - UI / API 2019-02-28 09:31:04 +01:00
storage.py Delete existing thumbnails automatically when running 2020-08-23 16:39:31 +02:00
tasks.py Fix #1077: improved performance and error handling in fetch_attachment 2020-04-21 14:50:02 +02:00
throttling.py See #170: now record downloads count on tracks/uploads 2020-01-20 13:59:12 +01:00
utils.py Sanitize remote tracks' saving locations with slashes on their names 2021-05-09 17:51:45 +02:00
validators.py Can now add domains via manage API / UI 2019-01-05 18:21:35 +01:00
views.py Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00