Commit Graph

242 Commits

Author SHA1 Message Date
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
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
wvffle 57693d85fc Allow anonymous access to gitpod 2022-09-06 09:26:36 +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
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 b412e036a3 Update migration after django update (#1815) 2022-06-29 09:38:38 +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
Tony Wasserka 2173a592a0 Add br to the list of safe HTML tags 2021-08-28 19:13:33 +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
Georg Krause 88de997603
Remove JWT related code 2021-04-28 10:44:28 +02:00
Georg Krause c4664de41f
Add Middleware to trace memory usage 2021-04-12 20:20:39 +02:00
Christian Paul 0f0fd8e8dd Add missing space 2021-01-30 17:00:04 +01:00
Agate 712f471f10 Fix #1205: Added a new, large thumbnail size for cover images 2020-08-28 20:59:54 +02:00
Agate b1ae13ab0a Fixed full-text search 2020-08-27 11:31:13 +02:00
Agate ea83511d0a Plugins can now register .env settings 2020-08-25 09:55:57 +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 dcbc2a5b55 Removed dead code 2020-08-20 12:51:06 +02:00
Agate f2e5969c44 Added application token for easier auth 2020-08-19 11:41:17 +02:00
Agate c96fd5d539 Fixed compat with iTunes 2020-08-11 13:07:39 +02:00
Agate e271851f67 See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
Agate 308e38b4db Fixed channels not displaying on user profile 2020-07-28 09:41:43 +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 e391415098 Upgraded dependencies 2020-07-18 10:29:22 +02:00
Agate d4028450a9 Plugins infrastructure 2020-07-03 10:59:12 +02:00
Agate 3843d0af36
Merge branch 'master' into develop 2020-06-19 15:48:25 +02:00
Agate e12f44d0b5
Fix #1161: crash with null help text in admin 2020-06-19 13:53:13 +02:00
Agate 50bf5c8c1d
Merge branch 'master' into develop 2020-06-05 11:37:21 +02:00
Agate 7e76fa0bae
Added domain: support to ?scope parameter 2020-06-05 11:37:12 +02:00
Agate 550dbe46cc Support session/cookie based auth, see #1108 2020-05-18 12:03:30 +02:00
Agate e331a87478
Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:07:43 +02:00
Agate ec8dfdb740 Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:06:35 +02:00
Tony Wasserka 609dd3b495 Increase image quality of downscaled images from 70 to 95 2020-05-07 19:18:19 +02:00
Agate 752c993e8e
Importer updates: watch directories, handle metadata updates 2020-05-07 09:56:05 +02:00
Agate 0ee0db7ea5
Fix #1107: Fix HTML <title> not including instance name in some situations 2020-05-06 00:23:42 +02:00
Agate e8efa4213a
Fix #1085: Make URL-building logic more resilient against reverse proxy misconfiguration 2020-05-04 12:02:08 +02:00
Agate 9b2f5df4d5
Fixed SPA decoding error when locale isn't set on system 2020-04-23 11:14:52 +02:00
Agate fdeb5ef8ae
Fixed 500 error when federation is disabled and application+json is requested 2020-04-22 08:03:59 +02:00
Agate c529d4d260
Fix #1077: improved performance and error handling in fetch_attachment 2020-04-21 14:50:02 +02:00
Agate 96086df156
Fixed attachments URL not honoring media URL 2020-04-15 12:07:04 +02:00
Eliot Berriot b07bd83fa1
See #1039: resend confirmation email on login if email is unverified 2020-04-01 15:34:13 +02:00
Eliot Berriot 93f2c9f83c
Fix #1039: setting to enforce email signup verification 2020-04-01 14:34:56 +02:00
Eliot Berriot be067b9ee3 See #170: subscriptions management UI 2020-03-23 10:44:09 +01:00
Eliot Berriot 1654044a9f
See #170: store and compute modification date on artists 2020-03-19 14:41:15 +01:00
Eliot Berriot 23d3893f01 See #170: subsonic API for podcasts 2020-03-18 15:52:23 +01:00
Eliot Berriot e313fcd033 Resolve "Screening for signups" 2020-03-18 11:57:33 +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 d9afed5067 Fix #1038: Federated reports 2020-03-11 11:39:55 +01:00
Eliot Berriot c2eeee5eb1 See #170: fetching remote objects 2020-03-02 17:23:03 +01:00
Eliot Berriot e59cc33378 First round of improvements to channel management:
- use modals
- less proeminent button
- field styling/labels
2020-02-23 15:31:03 +01:00
Eliot Berriot f8675c6080
Fixed failing tests 2020-02-18 15:34:10 +01:00
Eliot Berriot 14d5b0c69c
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
Eliot Berriot fa801f9ea7
Fixed error 500 when rendering markdown 2020-02-17 09:51:33 +01:00
Eliot Berriot 575b6819c7
Fixed error 500 when rendering markdown 2020-02-17 09:49:54 +01:00
Eliot Berriot 7850ca3e1c
Fix #923: Use same markdown widget for all content fields (rules, description, reports, notes, etc.) 2020-02-06 15:52:08 +01:00
Eliot Berriot 95497e76ac See #170: channels ui (listeners) 2020-02-05 15:06:07 +01:00
techknowlogick 7d6f6e8515 Allow files with upper case extensions when uploading avatar
Discovered when attempting to upload a file with name avatar.JPG

The following error was reported in the logs:
```
File "/app/funkwhale_api/common/serializers.py", line 213, in to_internal_value
     format=PIL.Image.EXTENSION[os.path.splitext(file_obj.name)[-1]],
 KeyError: '.JPG'
```
2020-02-02 09:11:35 +01:00
Eliot Berriot 9c22a72ed1
See #170: RSS feeds for channels 2020-01-31 09:11:39 +01:00
Eliot Berriot f107656586
Federation of avatars 2020-01-23 17:19:27 +01:00
Eliot Berriot b22b9c83b0
See #170: now record downloads count on tracks/uploads 2020-01-20 13:59:12 +01:00
Eliot Berriot 71b400a9b8 See #170: cover on tracks and artists 2020-01-17 16:27:11 +01:00
Eliot Berriot cfc88847a6
See #170: use new content obj for channel description 2020-01-15 13:43:25 +01:00
Eliot Berriot 2bc71eecfd See #170: add a description field on tracks, albums, tracks 2020-01-14 14:00:08 +01:00
Eliot Berriot cf555b8aec
Fixed broken HTML manifest regex 2020-01-09 10:08:52 +01:00
Ciarán Ainsworth 2302dc0581 Set up initial configuration for installing
Set up player config for mobile control
2020-01-08 12:16:41 +01:00
Eliot Berriot 7d528ba235
Fixed broken attachment fetching with long filename 2020-01-02 14:23:05 +01:00
Eliot Berriot 20311344d7 Resolve "Switch to proper full-text-search system" 2019-12-18 15:08:58 +01:00
Eliot Berriot 57949c02c1 Revert "Revert "Fix #994: use PostgreSQL full-text-search""
This reverts commit 7b0db234e2.
2019-12-18 11:26:59 +01:00
Eliot Berriot 7b0db234e2
Revert "Fix #994: use PostgreSQL full-text-search"
This reverts commit b3d8d6a4da.
2019-12-17 10:57:05 +01:00
Eliot Berriot b3d8d6a4da
Fix #994: use PostgreSQL full-text-search 2019-12-16 17:46:32 +01:00
Eliot Berriot 11a533fa92 Resolve "Adding cover art to my albums" 2019-11-27 12:26:12 +01:00
Eliot Berriot 6bbe48598e 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
Eliot Berriot c84396e669 Attachments 2019-11-25 09:49:06 +01:00
Eliot Berriot 413532593c
Merge branch 'master' into develop 2019-10-24 11:33:18 +02:00
Eliot Berriot 5623b6d88b
Added profiling middleware (enable locally by adding ?prof param to url) 2019-10-22 10:58:37 +02:00
Eliot Berriot 6d84a814d9 Revert "Apply suggestion to api/funkwhale_api/common/filters.py"
This reverts commit 4972d760e2809122af54060252be14a638cc87cc.
2019-10-15 15:46:48 +02:00
Eliot Berriot d28bf65d00 See #261: Added a rate-limiting (throttling system) to limit the number of requests handled per user/IP 2019-09-17 11:23:59 +02:00
Eliot Berriot 01d2206001
Reduce number of cache calls by retrieving multiple preferences at once in nodeinfo 2019-09-16 11:32:38 +02:00
Eliot Berriot 9552b49a46 See #890: expose number of reports linked to tracks, albums, libraries, accounts and artists via the /stats route 2019-09-13 05:53:40 +02:00
Eliot Berriot 2ad5b9e9f3
See #890: freeze more data in reports, fixed some failing tests 2019-08-29 14:53:20 +02:00
Eliot Berriot 7a7cc55143
See #890: tweaks / perf improvements 2019-08-29 14:00:10 +02:00
Eliot Berriot b363d1117c
Added GenericRelationFilter 2019-08-29 12:25:41 +02:00
Eliot Berriot 80c8610632
Fixed wrong ID representation in generic relation 2019-08-29 11:45:14 +02:00
Eliot Berriot d7705593a9
See #890: added table to list reports 2019-08-28 10:22:38 +02:00
Eliot Berriot a6cf2ce019 "[EPIC] Report option on everything - reports models 2019-08-22 11:30:30 +02:00
Eliot Berriot be91b56fc8
Fixed broken tag generation in load_test_data command 2019-07-18 14:08:38 +02:00
Eliot Berriot 2bbb2f3239
See #432: can now suggest tags on tracks/albums/artists (API) 2019-07-15 14:20:28 +02:00
Eliot Berriot e11c1dfe29
Fix broken object creation in load_test_data command 2019-07-09 15:37:24 +02:00
Eliot Berriot 6dde4b73cd Implement tag models 2019-07-08 15:26:14 +02:00
Eliot Berriot b95710bb3a
Merge branch 'master' into develop 2019-07-05 16:04:39 +02:00
Eliot Berriot 7897c8ac7f
Fix #879: Admins can now add custom CSS from their pod settings 2019-07-03 11:23:45 +02:00
Eliot Berriot 53b826c81a
Fix #877: Ensure API urls answer with and without a trailing slash 2019-07-02 14:31:47 +02:00