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
Agate
191f28f79c
Merge branch 'develop' of dev.funkwhale.audio:funkwhale/funkwhale into develop
2020-08-13 12:16:08 +02:00
Agate
77eed12c86
Fixed broken build because of factory-boy upgrade
2020-08-13 12:16:01 +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
2104d6f155
Fix #1184 : restored users/users/ alias until Funkwhale 1.1
2020-08-08 14:55:21 +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
Agate
788c12748f
Fix #1105 : Can now launch server import from the UI
2020-08-03 13:50:53 +02:00
Agate
3bec27ded3
Fix #292 : Users can now update their email address
2020-08-02 16:55:23 +02:00
Agate
667d9d2ba6
Resolve "UX, UI : Search Page"
2020-07-31 15:10:16 +02:00
Agate
e9186ca813
Fx #1178 : Display channel and track downloads count
2020-07-31 11:46:25 +02:00
Agate
eb66d4e3d2
Expose public libraries and channels in standard API
2020-07-28 14:21:15 +02:00
Agate
fd5bec9dfa
Documented missing API endpoints
2020-07-28 11:26:39 +02:00
Agate
308e38b4db
Fixed channels not displaying on user profile
2020-07-28 09:41:43 +02:00
Agate
f6458fd75a
Updated playlist management API
2020-07-27 15:31:49 +02:00
Agate
3d58f87b56
More API docs
2020-07-27 15:01:35 +02:00
Agate
d3e36c169b
Merge branch 'master' into develop
2020-07-27 11:22:45 +02:00
Agate
526160dde2
Version bump and changelog for 0.21.2
2020-07-27 11:21:29 +02:00
Ciarán Ainsworth
7c031eb186
Resolve "Allow hiding compilation artists in the Artists tab"
2020-07-27 10:57:11 +02:00
Agate
806912c05f
Merge branch '1140-the-radio-random-function-also-plays-podcasts' into 'develop'
...
Resolve "The "radio - random" function also plays podcasts"
Closes #1140
See merge request funkwhale/funkwhale!1176
2020-07-23 17:33:29 +02:00
Ciarán Ainsworth
71318d66c3
Resolve "The "radio - random" function also plays podcasts"
2020-07-23 17:33:29 +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
09cefd2f98
Longer sessions
2020-07-18 10:30:36 +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
8b0ce6ad33
Merge branch '1102-album-tracks' into 'develop'
...
Resolve "Remove tracks from /api/v1/albums API"
Closes #1102
See merge request funkwhale/funkwhale!1159
2020-07-06 10:22:51 +02:00
Agate
55f4fde0f4
Fix #1102 : Do not include tracks in album API representation
2020-07-06 10:16:45 +02:00
Agate
84d49754a7
Fix #996 : Persist theme and language settings accross sessions
2020-07-05 11:22:31 +02:00
Agate
50c3071c56
Fixed auth/csrf issues
2020-07-03 11:35:11 +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
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
4db0b9b421
Channels api docs
2020-06-15 09:10:41 +02:00
Agate
45132dea75
Improved some error handling
2020-06-14 15:09:14 +02:00
Agate
1921127689
Fix #1158 : crash when loading recent albums via Subsonic
2020-06-11 18:06:00 +02:00
Agate
b853f38c74
Merge branch 'master' into develop
2020-06-11 10:45:57 +02:00
Agate
f14858c2fe
Version bump and changelog for 0.21.1
2020-06-11 10:44:20 +02:00
Agate
1668dc4f59
Merge branch 'master' into develop
2020-06-11 10:35:15 +02:00
Agate
85c6baca9a
Fix #1155 : Fixed crash on python 3.5 with cli importer
2020-06-11 05:57:53 +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
88c6c2bdbc
Merge branch 'master' into develop
2020-06-05 11:29:31 +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
ddb75c06ca
Revert "Merge branch 'fix-import-python-3-5' into 'develop'"
...
This reverts merge request !1129
2020-06-05 06:09:46 +02:00
Ciarán Ainsworth
8116e7339c
Fix support for Python 3.5 in import script
2020-06-05 05:38:05 +02:00
Agate
550dbe46cc
Support session/cookie based auth, see #1108
2020-05-18 12:03:30 +02:00
Agate
5c8e6e9e7f
Fixed flaky test
2020-05-15 14:41:08 +02:00
Agate
cd422832dd
New theming system
2020-05-15 14:12:36 +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
Agate
13d28f7b0c
Merge branch 'develop' into 'develop'
...
Increase image quality of downscaled images from 70 to 95
See merge request funkwhale/funkwhale!1112
2020-05-07 19:18:19 +02:00
Tony Wasserka
609dd3b495
Increase image quality of downscaled images from 70 to 95
2020-05-07 19:18:19 +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
8b4c4d0d88
Merge branch '1086-hostname' into 'master'
...
Fix #1086 : Added safeguard to ensure local uploads are never purged from cache
See merge request funkwhale/funkwhale!1116
2020-05-07 14:05:40 +02:00
Agate
49a8b2babf
Fix #1086 : Added safeguard to ensure local uploads are never purged from cache
2020-05-07 13:58:25 +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
0ee0db7ea5
Fix #1107 : Fix HTML <title> not including instance name in some situations
2020-05-06 00:23:42 +02:00
Agate
90427331e6
Merge branch '1093-transcoding-issue-channels' into 'master'
...
Fix #1093 : mimetype detection issue that broke transcoding on certain tracks
See merge request funkwhale/funkwhale!1110
2020-05-04 13:57:37 +02:00
Agate
85bc8d93e8
Fix #1093 : mimetype detection issue that broke transcoding on certain tracks
2020-05-04 13:52:44 +02:00
Agate
7b81d94e91
Fix #1082 : issue when displaying starred tracks on subsonic
2020-05-04 13:15:40 +02:00
Agate
c1e2f16de1
Merge branch '1085-get-absolute-uri' into 'master'
...
Fix #1085 : Make URL-building logic more resilient against reverse proxy misconfiguration
See merge request funkwhale/funkwhale!1107
2020-05-04 12:20:22 +02:00
Agate
4364f9b4d1
Fix #1096 : Fixed wrong album and track count in admin artist API
2020-05-04 12:13:58 +02:00
Agate
e8efa4213a
Fix #1085 : Make URL-building logic more resilient against reverse proxy misconfiguration
2020-05-04 12:02:08 +02:00
Tony Wasserka
e981f005dc
Fix spelling of "occurrences"
2020-05-04 11:24:37 +02:00
Agate
16b6360dae
Version bump and changelog for 0.21
2020-04-24 10:10:45 +02:00
Agate
81a6a197bd
Fix #1082 : subsonic crash on stared track with no album
2020-04-24 09:32:02 +02:00
Agate
20f5416bd3
Fixed requirements issue on Raspian / Python 3.5
2020-04-23 14:33:46 +02:00
Agate
19266ba3e3
Fixed broken upload status link in import_files command
2020-04-23 12:00:57 +02:00
Agate
9b2f5df4d5
Fixed SPA decoding error when locale isn't set on system
2020-04-23 11:14:52 +02:00
Agate
46028b43af
Fixed broken install of ipython under python 3.5
2020-04-22 13:29:00 +02:00
Agate
9fde0df4dc
Version bump and changelog for 0.21-rc2
2020-04-22 11:10:55 +02:00
Agate
27f40e6023
Fixed UI crash when updating avatar
2020-04-22 10:22:19 +02:00
Agate
32e7bc8a9c
Exclude external podcasts from library home
2020-04-22 09:17:05 +02:00
Agate
fcd1e1b724
Better placeholders for channels
2020-04-22 08:41:39 +02:00
Agate
677a5dcf62
Fixed broken channel save when description is too long
2020-04-22 08:05:45 +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
08ffc7adc5
Fixed subsonic issue
2020-04-21 13:59:33 +02:00
Agate
5d5c2b9438
Fixed broken cacheops
2020-04-20 17:20:51 +02:00
Agate
868dacdb62
Fixed broken local profile page when allow-list is enabled
2020-04-20 17:10:59 +02:00
Agate
a20a63d6ed
Fixed issue with confirmation email not sending when signup-approval was enabled
2020-04-20 15:42:29 +02:00
Agate
13d0811635
Documentation for .env variables
2020-04-20 13:48:19 +02:00
Agate
942367fce0
Ensure 0 quota on user is honored
2020-04-15 15:51:47 +02:00
Agate
96086df156
Fixed attachments URL not honoring media URL
2020-04-15 12:07:04 +02:00
Agate
ecb7c464a1
Improved CLI importer reliability and UX
2020-04-15 11:23:50 +02:00
Eliot Berriot
f2a5d29a0b
Merge branch 'develop' of dev.funkwhale.audio:funkwhale/funkwhale into develop
2020-04-10 12:05:10 +02:00
Eliot Berriot
176bd5053e
See #170 : deduplicate tags in Audio ap representation
2020-04-10 12:03:43 +02:00
Satsuki Yanagi
fa60074b68
Add support custom domain for S3 storage
2020-04-10 09:39:22 +02:00
Eliot Berriot
c0cbda9451
Version bump and changelog for 0.21
2020-04-09 09:57:16 +02:00
Eliot Berriot
8c93169d94
See #170 : dispatch / handle delete and update on Audio
2020-04-08 16:17:24 +02:00
Eliot Berriot
b04ba47a38
See #170 : fixed a remaining issue with r2b
2020-04-08 14:36:40 +02:00
Eliot Berriot
b9f51478ca
Better error display
2020-04-08 14:26:41 +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
02f5e9f531
Django upgrade bugfix release
2020-04-01 15:53:42 +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
7435167361
See #170 : fetch channel outbox on discovery/detail
2020-03-31 16:22:11 +02:00
Eliot Berriot
102c90d499
See #170 : admin UI for channels, reporting channels
2020-03-31 10:45: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
0b06ef3b3b
Fix #1065 : irrelevant redirection to HTML repr of a library
2020-03-30 09:57:43 +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
37ff297f53
See #170 : can now filter playlists by track, artist and album
2020-03-26 16:28:58 +01:00
Eliot Berriot
9aa12db62e
See #170 : Funkwhale federation
2020-03-25 15:32:10 +01:00
Eliot Berriot
fce4d87551
Merge branch 'pkcs-8-key' into 'develop'
...
See #170 : switch to PKCS#8 for public key serialization
See merge request funkwhale/funkwhale!1064
2020-03-25 09:34:41 +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
f4f44c3464
See #170 : switch to PKCS#8 for public key serialization
2020-03-24 09:48:22 +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
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
37885ada0b
See #170 : API for OPML export
2020-03-19 09:43:46 +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
e6df21b96c
See #170 : fixed several feed parsing issues, again 3
2020-03-13 17:44:29 +01:00
Eliot Berriot
21972d9630
See #170 : fixed several feed parsing issues, again 2
2020-03-13 16:16:47 +01:00
Eliot Berriot
d591292a90
See #170 : fixed several feed parsing issues, again
2020-03-13 15:48:02 +01:00
Eliot Berriot
a119a5d90a
See #170 : fixed several feed parsing issues
2020-03-13 15:26:11 +01:00
Eliot Berriot
ae31b1e720
See #170 : display info that RSS feed is mirrored
2020-03-13 12:58:39 +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
ad9a003024
Implemented AP-to-HTML redirections for tracks, albums, artists and uploads
2020-03-11 16:22:46 +01:00
Eliot Berriot
4f06a4330a
Use our real-world context
2020-03-11 16:01:41 +01:00
Eliot Berriot
5654aaa2f7
Fixed invalid mimeType property
2020-03-11 15:00:34 +01:00
Eliot Berriot
1e583cd53f
Redirect to HTML version on Actor representations
2020-03-11 14:22:34 +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
Renon
df62cb8f15
Remove build dependencies to lighten docker image
2020-03-09 17:04:06 +01:00
Eliot Berriot
b166182762
Resolve "Support browsing a specific library content"
2020-03-04 22:18:28 +01:00
Eliot Berriot
c2eeee5eb1
See #170 : fetching remote objects
2020-03-02 17:23:03 +01:00
Eliot Berriot
95c1e45f4b
Fixed websocket error under django 3
2020-02-25 17:24:23 +01:00
Eliot Berriot
ce2f48dd91
Hold django 2.2 when under python 3.5
2020-02-25 13:54:02 +01:00
Eliot Berriot
2159c93ef3
Dependency care - upgrade to django 3
2020-02-25 12:02:38 +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
dfa8b67590
See #170 : support for auth in RSS feed
2020-02-14 16:28:58 +01:00
Eliot Berriot
27ada7845c
Fixed flaky test
2020-02-14 14:39:57 +01:00
Eliot Berriot
36c0065bb9
Enforce minimum setuptools version
2020-02-14 14:30:27 +01:00
Eliot Berriot
de7713f3d5
See #170 : include proper icon in channel actor representation
2020-02-14 14:23:45 +01:00
Eliot Berriot
dfaff270ab
See #170 : apply proper special chars and username blacklist to channel names
2020-02-14 13:59:53 +01:00
Eliot Berriot
581c531fca
See #170 : proper error handling for username uniqueness in channels
2020-02-14 12:43:57 +01:00
Eliot Berriot
a3505d2099
See #170 : limit the amount of channels allowed per user
2020-02-14 12:43:57 +01:00
Eliot Berriot
f146c0ae91
Include only local content in nodeinfo stats, added downloads count
2020-02-14 10:48:20 +01:00
Eliot Berriot
b351ea67e2
See #170 : expose/store actor URL over federation
2020-02-07 10:48:17 +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
Eliot Berriot
b38cec3f69
Fixed a federation issue related to images
2020-02-04 14:24:20 +01:00
Eliot Berriot
93c371fe75
Fixed failing test due to ordered dicts in python 3.8
2020-02-04 11:49:58 +01:00
Eliot Berriot
c116fa21c9
Fixed docker dependency issues
2020-02-04 11:43:08 +01:00
Eliot Berriot
b07cc4c643
Merge branch 'develop' of dev.funkwhale.audio:funkwhale/funkwhale into develop
2020-02-04 11:07:25 +01:00
Eliot Berriot
c027c90e74
Disabled some undeeded dependencies
2020-02-04 11:05:02 +01:00
techknowlogick
459e66db30
Add deps for pillow in docker image
2020-02-02 09:43:54 +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
techknowlogick
db9cd08e7a
Update Dockerfile to use Alpine 3.11
...
Reduce size of image by using --no-cache
2020-02-01 10:35:02 +01:00
Eliot Berriot
9c22a72ed1
See #170 : RSS feeds for channels
2020-01-31 09:11:39 +01:00
Eliot Berriot
a4faf44540
See #170 : added proper meta and support embed for channels
2020-01-30 15:47:45 +01:00
Eliot Berriot
bf99e13230
See #170 : include channel info in artist representations
2020-01-30 15:08:10 +01:00
Eliot Berriot
159c07c2c0
See #170 : don't expose channels libraries in API
2020-01-30 14:29:32 +01:00
Eliot Berriot
7ac5a2f333
Merge branch '170-channel-filter' into 'develop'
...
See #170 : can now filter tracks and albums by channel
See merge request funkwhale/funkwhale!1006
2020-01-30 11:15:18 +01:00
Eliot Berriot
98e1873a80
Merge branch '928-track-mbid-uniqueness' into 'develop'
...
Fix #348 , #474 , #557 , #740 , #928 : improved deduplication logic to prevent skipped uploads
Closes #928 , #740 , #557 , #474 , and #348
See merge request funkwhale/funkwhale!1010
2020-01-29 18:26:44 +01:00
Eliot Berriot
61cf04b376
Fix #348 , #474 , #557 , #740 , #928 : improved deduplication logic to prevent skipped files during import
2020-01-29 15:39:43 +01:00
Eliot Berriot
f791ba5614
Fix #1015 : broken migration on S3
2020-01-28 10:03:50 +01:00
Eliot Berriot
4268fe3aeb
See #170 : can now filter tracks and albums by channel
2020-01-28 09:26:38 +01:00
Eliot Berriot
f107656586
Federation of avatars
2020-01-23 17:19:27 +01:00
Eliot Berriot
87bc011e32
Actor description/summary
2020-01-23 11:09:52 +01:00
Eliot Berriot
e2ab4ce845
See #170 : added content_category on artist
2020-01-22 11:47:54 +01:00
Eliot Berriot
b22b9c83b0
See #170 : now record downloads count on tracks/uploads
2020-01-20 13:59:12 +01:00
Eliot Berriot
3674d1235d
See #170 : include subscriptions count in channels API
2020-01-20 09:58:04 +01:00
Eliot Berriot
71b400a9b8
See #170 : cover on tracks and artists
2020-01-17 16:27:11 +01:00
Eliot Berriot
959faf25ad
See #170 : added missing /api/v1/subscriptions endpoint
2020-01-15 15:25:33 +01:00
Eliot Berriot
7ae0b23c15
See #170 : filtering subscribed channels in API
2020-01-15 14:39:50 +01:00
Eliot Berriot
4236cc6274
See #170 : can now subscribe/unsubscribe to channel
2020-01-15 14:24:22 +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
9ab3afa47f
Fixed broken urls in manifest.json
2020-01-09 16:12:17 +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
551fb6d164
Fixed broken dependency
2020-01-08 12:07:35 +01:00
Eliot Berriot
2b989576a1
Increased default throttling for subsonic endpoint
2020-01-06 10:54:00 +01:00
Eliot Berriot
9d73a77f7e
Use a dedicated scope for throttling subsonic to avoid intrusive rate-limiting
2020-01-06 09:55:58 +01:00
Eliot Berriot
82692f1170
Merge branch 'proxy-attachments' into 'develop'
...
Fixed broken attachment fetching with long filename
See merge request funkwhale/funkwhale!982
2020-01-02 14:27:38 +01:00
Eliot Berriot
7d528ba235
Fixed broken attachment fetching with long filename
2020-01-02 14:23:05 +01:00
Ciarán Ainsworth
b422612edf
Resolve "Remove the unused `federation__music_needs_approval` settings"
2019-12-26 15:54:42 +01:00
Eliot Berriot
002b3687a8
Advertise list of known nodes on /api/v1/federation/domains and in nodeinfo if stats sharing is enabled
2019-12-26 11:28:12 +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
aea8e4fc59
Resolve "Tagging artists/albums genres when importing music files"
2019-12-18 07:52:09 +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
8f0eabcb71
Fixed unhandled crash when getting empty tag
2019-12-16 09:54:15 +01:00
Eliot Berriot
4175822430
Merge branch '982-disabled-nodeinfo' into 'develop'
...
Fix #982 : Removed "nodeinfo disabled" setting, as nodeinfo is required for the UI to work
Closes #982
See merge request funkwhale/funkwhale!971
2019-12-11 11:14:59 +01:00
Eliot Berriot
175d701247
Fix #982 : Removed "nodeinfo disabled" setting, as nodeinfo is required for the UI to work
2019-12-11 11:09:04 +01:00
Eliot Berriot
c8702ca726
Fx #986 : Fixed invalid displayed number of tracks in playlist
2019-12-11 10:50:05 +01:00
Eliot Berriot
6c06b48bff
Make nodeinfo refresh task schedule configurable
2019-12-11 10:50:04 +01:00
Eliot Berriot
dd9cca432d
Disable download by default on track urls exposed over federation
2019-12-09 16:37:04 +01:00
Eliot Berriot
828f602b79
See #170 : added missing attributes on library Audio to make these parsable by Mastodon
2019-12-09 16:17:08 +01:00
Eliot Berriot
806ab2b3f0
Added HTML link in non-channel Audio JSON-LD representations
2019-12-09 14:13:28 +01:00
Eliot Berriot
5a37d9771e
See #170 : federation for channels
2019-12-09 13:59:54 +01:00
Eliot Berriot
2d9c235890
Fixed flaky test
2019-12-04 13:45:30 +01:00
Eliot Berriot
c94d9214ec
See #170 : updates to upload API to support channels publishing
2019-12-04 09:55:07 +01:00
Eliot Berriot
d9c1ae3a56
Merge branch 'suppress-service-identity-warning' into 'develop'
...
Suppress service identity warning
See merge request funkwhale/funkwhale!963
2019-11-29 09:57:49 +01:00
Eliot Berriot
3ae567f2ad
Suppress service identity warning
2019-11-29 09:51:49 +01:00
Eliot Berriot
3a25143c49
Fixed broken library fetch due to commented line
2019-11-28 10:25:33 +01:00
Eliot Berriot
c4334454dc
Added django-silk for easier local debugging / profiling
2019-11-28 10:24:08 +01:00
Eliot Berriot
ad7274ff90
Fix #976 : fix cover attachment migration under S3
2019-11-27 16:47:24 +01:00
Eliot Berriot
73e7211398
Fix album cover migration crash with cover not found on disk
2019-11-27 15:56:56 +01:00
Eliot Berriot
2090806398
New radios: play your own content, or a given library
2019-11-27 15:28:21 +01:00
Eliot Berriot
a89eb8db6e
Merge branch 'media-root' into 'develop'
...
Make media and static files serving more reliable when reverse proxy...
Closes #947
See merge request funkwhale/funkwhale!959
2019-11-27 15:10:23 +01:00
Eliot Berriot
8a9f7845d4
Fix #947 : Make media and static files serving more reliable when reverse proxy X_FORWARDED_* headers are incorrect
2019-11-27 15:05:50 +01:00
Eliot Berriot
3224f07253
Ensure signature code doesn't crash on (request-target) signature
2019-11-27 13:54:21 +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
421b441dbe
Merge branch '966-handle-bad-year' into 'develop'
...
Fix #966 : More robust importer against malformed dates
Closes #966
See merge request funkwhale/funkwhale!955
2019-11-25 09:46:15 +01:00
Eliot Berriot
654d206033
Server CLI: user management
2019-11-25 09:45:53 +01:00
Eliot Berriot
4dcdc93958
Fix #966 : More robust importer against malformed dates
2019-11-14 15:47:18 +01:00
Ciarán Ainsworth
1152c9da97
Resolve "Wrong sort used when sorting favorites by album name"
2019-11-06 10:22:46 +01:00
Morgan Kesler
77ff3c2ff2
Add direct bind option for LDAP authentication
2019-11-05 11:59:36 +01:00
Eliot Berriot
1c215ac2f1
Updated Pillow to 6.2 to fix DoS vulnerability
2019-11-04 11:18:14 +01:00
Eliot Berriot
c9a2439ecc
Fixed broken linting
2019-11-04 11:16:58 +01:00
Eliot Berriot
1dbb69aab0
Merge branch 'master' into develop
2019-10-28 10:55:15 +01:00
Eliot Berriot
2088eb49b4
Version bump and changelog for 0.20.1
2019-10-28 10:54:14 +01:00
Eliot Berriot
5b960ceab5
Merge branch 'master' into develop
2019-10-28 09:05:09 +01:00
Eliot Berriot
cceade4abb
Merge branch 'audio-denormalization' into 'master'
...
Audio denormalization / Performance enhancement in music API
See merge request funkwhale/funkwhale!939
2019-10-28 09:04:42 +01:00
Eliot Berriot
69795b5ca2
Resolve "Pagination of results in genres in Subsonic API does not work"
2019-10-28 08:58:32 +01:00
Eliot Berriot
0ecdd7c0fb
Fixed broken getUser subsonic endpoint
2019-10-25 12:07:25 +02:00
Eliot Berriot
d1b1f11627
Added missing path attribute to subsonic payloads
2019-10-25 12:07:24 +02:00
Eliot Berriot
b9eedbf89f
Ensure subsonic dates are formatted properly
2019-10-25 12:07:24 +02:00
Eliot Berriot
144713fdc1
Merge branch 'master' into develop
2019-10-25 10:23:34 +02:00
Eliot Berriot
ae0f7588e4
Disabled cacheops by default
2019-10-25 10:23:13 +02:00
Eliot Berriot
cad4c9f923
Fixed broken user login when cacheops is enabled
2019-10-25 10:22:40 +02:00
Eliot Berriot
413532593c
Merge branch 'master' into develop
2019-10-24 11:33:18 +02:00
Eliot Berriot
d224f74f5d
Merge branch 'api-serializers-enhancements' into 'master'
...
Api serializers enhancements
See merge request funkwhale/funkwhale!941
2019-10-24 11:33:02 +02:00
Eliot Berriot
812709ad00
Merge branch 'master' into develop
2019-10-23 14:59:14 +02:00
Eliot Berriot
1ca7f62aab
Small performance enhancements
2019-10-22 11:44:38 +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
d1fcea5632
Added load testing test case
2019-10-22 00:13:27 +02:00
Eliot Berriot
6b5cb9759a
Improved SQL generated by ORM
2019-10-22 00:13:27 +02:00
Eliot Berriot
4e7f1e63d2
Denormalized audio permission logic in a separate table to enhance performance
2019-10-22 00:13:25 +02:00
Eliot Berriot
b974568e31
Added django-cacheops to cache expensive count queries
2019-10-21 23:55:27 +02:00
Eliot Berriot
afc8f22516
Fix tag exclusion in custom radios ( #950 )
2019-10-21 09:25:36 +02:00
Eliot Berriot
c58c74d653
Merge branch 'master' into develop
2019-10-17 15:22:32 +02:00
Eliot Berriot
1272051dc2
Merge branch 'connections-issues' into 'master'
...
Mitigate DB Connections issues
See merge request funkwhale/funkwhale!937
2019-10-17 15:20:26 +02:00
Eliot Berriot
28b334ad33
Reduce DB connection leaks
2019-10-17 15:17:26 +02:00
Eliot Berriot
109c490639
Merge branch 's3-proxy-fails-on-nginx' into 'master'
...
S3 proxy fails on nginx
See merge request funkwhale/funkwhale!935
2019-10-17 10:21:59 +02:00
Eliot Berriot
4a5484c7eb
Fix audio serving issues under S3/nginx when signatures are enabled
2019-10-17 10:14:08 +02:00
Eliot Berriot
57750e39ed
Merge branch 'master' into develop
2019-10-16 11:33:35 +02:00
Eliot Berriot
66ef7a7332
Fix #946 : Fix import crash when importing M4A file with no embedded cover
2019-10-16 10:21:53 +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
b1e8d4cabd
Fix #936 : Support byYear filtering in Subsonic API ( #936 )
2019-10-15 11:38:21 +02:00
Eliot Berriot
34ffab2707
Version bump and changelog for 0.20
2019-10-04 10:42:33 +02:00
Eliot Berriot
28a091335c
Fix #624 : enforce consistentcy in getUser and getMusicFolders endpoint in Subsonic
2019-10-03 11:38:56 +02:00
Eliot Berriot
27b248df6e
Fix #661 : Support for M4A/AAC files
2019-10-03 09:09:00 +02:00
Eliot Berriot
f0bea39d6a
Fix #924 : in-place imported files not playing under nginx when filename contains ? or %
2019-10-01 10:57:14 +02:00
Eliot Berriot
618c6d8bb0
Truncate too long long values when importing instead of crashing
2019-09-27 12:49:16 +02:00
Eliot Berriot
93b9e14f8c
Fixed broken cover import when cover file is empty
2019-09-27 12:49:16 +02:00
Eliot Berriot
d02559f35d
Version bump for 0.20.0-rc1
2019-09-24 15:28:11 +02:00
Eliot Berriot
81349e2b57
Fix #865 : Performance optimization on /artists, /albums and /tracks endpoints
2019-09-24 09:48:04 +02:00
Eliot Berriot
884b4d8e81
Merge branch 'unkwown-typo' into 'develop'
...
Fixed unkwown typo :D
See merge request funkwhale/funkwhale!903
2019-09-23 11:36:33 +02:00
Eliot Berriot
94ee3c4360
Fixed unkwown typo :D
2019-09-23 11:30:37 +02:00
Eliot Berriot
01223afa80
Resolve "Add optional donation/contribution link in-app"
2019-09-23 11:30:25 +02:00
Eliot Berriot
9f3182caf7
See #852 : improved routing logic for federation messages (support multiple objects types for one route)
2019-09-21 16:20:49 +02:00
Eliot Berriot
f44abfecfb
Fix #883 : Prevent usage of too weak passwords
2019-09-21 16:11:08 +02:00
Eliot Berriot
def555bd50
Merge branch '890-assign-admin' into 'develop'
...
See #890 : assign report to moderator on resolution
See merge request funkwhale/funkwhale!881
2019-09-20 09:28:21 +02:00
Eliot Berriot
921317a217
Implemented missing getSongsByGenre subsonic endpoint
2019-09-19 21:09:18 +02:00
Eliot Berriot
dc731532b9
Expose default upload quota in nodeinfo
2019-09-19 11:31:39 +02:00
Eliot Berriot
dce7a74f7e
See #872 : rules and contact email settings
2019-09-19 11:14:21 +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
9d0e593bcb
Merge branch '898-folder-jpg' into 'develop'
...
Fix #898 : Pickup folder.png and folder.jpg files for cover art when importing from CLI
Closes #898
See merge request funkwhale/funkwhale!895
2019-09-17 11:11:27 +02:00
Eliot Berriot
3204dfd342
Fix #898 : Pickup folder.png and folder.jpg files for cover art when importing from CLI
2019-09-17 11:06:39 +02:00
Eliot Berriot
ff566b79dc
See #872 : banner setting
2019-09-17 11:03:32 +02:00
Eliot Berriot
5ca3055713
See #872 : added a new terms of service setting
2019-09-16 11:34:17 +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
fcf223ad03
Resolve "Broken 'Less listened' Radio in develop version"
2019-09-15 20:22:10 +02:00
Eliot Berriot
c3dc4e2ab4
Review fixes for report notifications not included in !880
2019-09-13 06:13:53 +02:00
Eliot Berriot
c9a9615be8
See #890 : web UI and email notifications on new reports
2019-09-13 06:09:48 +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
fe56c2ea36
Fixed broken external HTTPS request under some scenarios, because of missing PyOpenSSL
2019-09-12 17:50:15 +02:00
Eliot Berriot
daad6a5dc4
See #890 : assign report to moderator on resolution
2019-09-12 11:07:42 +02:00
Eliot Berriot
e133130176
Playlist embed
2019-09-12 09:48:28 +02:00
Eliot Berriot
33d1f879cf
Report UI (end-user)
2019-09-09 11:10:25 +02:00
Eliot Berriot
bc39b18173
Merge branch '890-mods-workflow' into 'develop'
...
moderator interface for reports (#890 )
See merge request funkwhale/funkwhale!866
2019-09-06 10:14:09 +02:00
Eliot Berriot
0600819b38
See #890 : review tweaks
2019-09-06 10:10:32 +02:00
Ciaran Ainsworth
4b4daf507c
Updated wording in dynamic preferences file
2019-09-04 10:01:37 +01:00
Eliot Berriot
92a1914ef8
See #890 : fixed failing tests
2019-09-02 16:34:39 +02:00
Eliot Berriot
d5b89f01d7
See #890 : added shortcuts for setting moderation policies directly when handling reports
2019-09-02 15:21:26 +02:00
Eliot Berriot
5e39a85ebe
See #890 : disable report deletion
2019-09-02 11:06:25 +02:00
Ciarán Ainsworth
53f1f1ce47
Resolve "Setting upload limit in Django"
2019-08-30 15:39:01 +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
eb5b63c008
See #890 : include notes in reports API representations
2019-08-29 14:12:26 +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
ab3bc96783
See #890 : added moderation note model, serializers and views
2019-08-29 11:45:41 +02:00
Eliot Berriot
80c8610632
Fixed wrong ID representation in generic relation
2019-08-29 11:45:14 +02:00
Eliot Berriot
f48f74dcb3
See #890 : store domain name and local status of reported objects
2019-08-28 17:12:54 +02:00
Eliot Berriot
fbb814bca8
See #890 : added django admin module for reports
2019-08-28 11:32:08 +02:00
Eliot Berriot
9488094ff9
See #890 : Added is_local attribute on admin account API representations
2019-08-28 10:22:38 +02:00
Eliot Berriot
d7705593a9
See #890 : added table to list reports
2019-08-28 10:22:38 +02:00
Eliot Berriot
00efe7e854
Fix unrelated broken actor filtering
2019-08-28 10:22:37 +02:00
Eliot Berriot
8f7ab82117
See #890 : initial API endpoint to handle management of reports
2019-08-28 10:22:37 +02:00
Eliot Berriot
815d9c02f8
See #890 : Added Oauth scope for managing instance reports
2019-08-28 10:22:37 +02:00
Eliot Berriot
177f06cf2a
See #890 : Ensure report handled_date is populated automatically when handling the report
2019-08-28 10:22:37 +02:00
Eliot Berriot
b659eec4df
See #890 : initial admin serializer for reports
2019-08-28 10:22:36 +02:00
Eliot Berriot
8b13c07625
Fixed #893 : empty contentType causing client crash in some Subsonic payloads
2019-08-27 14:15:26 +02:00
Keunes
3842e7ae66
Correct English language mistake dynamic_preferences_registry.py (overrided > overridden; cf https://english.stackexchange.com/questions/75786/overrode-vs-overridden )
2019-08-27 08:21:21 +02:00
Eliot Berriot
1a1878445c
Fixed album art not being retrieved from Ogg/Opus files
2019-08-26 14:08:00 +02:00
Eliot Berriot
a6cf2ce019
"[EPIC] Report option on everything - reports models
2019-08-22 11:30:30 +02:00
Ciarán Ainsworth
2e0883d44c
Fix #895 : "Display tracks count instead of albums count for artists with no albums"
2019-08-20 12:12:41 +02:00
Eliot Berriot
5feb167bfe
Updated to django 2.2.4
2019-08-01 14:30:13 +02:00
Eliot Berriot
4d5e47466c
Updated Django Rest Framework to v3.10
2019-07-30 14:08:01 +02:00
Eliot Berriot
bb1a895a9b
Merge branch 'master' into develop
2019-07-29 14:22:31 +02:00
Eliot Berriot
eed411de7c
Merge branch '548-library-visibility-admin' into 'develop'
...
Resolve "Admin tools to manage users libraries"
Closes #548
See merge request funkwhale/funkwhale!841
2019-07-29 10:50:32 +02:00
Eliot Berriot
32445c5113
Moved test date check into a dedicated function
2019-07-29 10:44:01 +02:00
Eliot Berriot
be0b120cea
Ensure we can transcode from video/ogg files too
2019-07-25 15:43:46 +02:00
Eliot Berriot
4d0fedab1f
Fix #548 : Mods can now change a library visibility through the admin UI
2019-07-25 14:15:47 +02:00
Eliot Berriot
84f830829f
See #432 : include tags in admin API representation of tracks, albums and artists
2019-07-25 10:50:49 +02:00
Eliot Berriot
a48a32c7e9
See #432 : can now filter with tags in Track/album/artist admin
2019-07-25 10:43:34 +02:00
Eliot Berriot
aaced60ec1
See #432 : added /action endpoint to manage tags in batch
2019-07-25 10:22:42 +02:00
Eliot Berriot
13f36beec3
See #432 : added admin API endpoints to retrieve and delete tags
2019-07-24 10:24:30 +02:00
Eliot Berriot
c885c10be1
Merge branch 'refetch-remote-entities' into 'develop'
...
Added "refresh=true" API param to artist, track and album detail to retrieve up-to-date data if needed
See merge request funkwhale/funkwhale!837
2019-07-24 09:36:15 +02:00
Eliot Berriot
4a277c17bb
Added "refresh=true" API param to artist, track and album detail to retrieve up-to-date data if needed
2019-07-22 12:16:47 +02:00
Eliot Berriot
27f0826195
See #432 : expose and federate tags on artists and albums
2019-07-22 09:41:33 +02:00
Eliot Berriot
692e175a6c
See #432 : genre listing/filtering in Subsonic
2019-07-19 08:21:36 +02:00
Eliot Berriot
904a482698
Ensure we render tag text properly in Subsonic XML
2019-07-19 07:53:37 +02:00
Eliot Berriot
9376f808e9
Merge branch '432-tags-radio' into 'develop'
...
See #432 : tags radio and search
See merge request funkwhale/funkwhale!834
2019-07-19 06:58:25 +02:00
Eliot Berriot
f6329af215
Merge branch 'attributed-to-suggestions' into 'develop'
...
Ensure owner of tracks/albums/artists can approve suggestions
See merge request funkwhale/funkwhale!833
2019-07-19 06:57:56 +02:00
Eliot Berriot
34d600d9df
See #432 : can now build custom radios using tags
2019-07-18 15:34:23 +02:00
Eliot Berriot
e21e0e50d1
See #432 : added tag search in sidebar
2019-07-18 15:26:30 +02:00
Eliot Berriot
d808a1f1ac
Fixed a bug with in-place imported files not playing
2019-07-18 15:13:34 +02:00
Eliot Berriot
918e7beb7e
See #432 : can now start a radio from a tag
2019-07-18 15:13:09 +02:00
Eliot Berriot
22bd1512c7
Ensure owner of tracks/albums/artists can approve suggestions
2019-07-18 14:24:18 +02:00
Eliot Berriot
fec1a43012
See #432 : Removed flaky assertion in test
2019-07-18 14:11:51 +02:00
Eliot Berriot
be91b56fc8
Fixed broken tag generation in load_test_data command
2019-07-18 14:08:38 +02:00
Eliot Berriot
9336fec430
See #432 : added some filters in tags API
2019-07-18 14:08:36 +02:00
Eliot Berriot
995be49402
See #432 : fixed an ordering issue on tag length
2019-07-18 14:08:36 +02:00
Eliot Berriot
49978081b0
See #880 : added XSS filter and content-type nosniff headers
2019-07-18 10:21:54 +02:00
Eliot Berriot
039856688f
See #880 : fixed missing x-frame-options=Sameorigin header
2019-07-18 10:21:54 +02:00
Eliot Berriot
07f8bcf215
See #432 : added tag filtering for albums and artists (API)
2019-07-15 14:20:29 +02:00
Eliot Berriot
aa6bece8df
See #432 : expose artists, album and track tags in API
2019-07-15 14:20:29 +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
1b34ae2335
See #432 : enforce a maximum number of tags per entity
2019-07-15 11:53:58 +02:00
Eliot Berriot
bd271c8ead
See #432 : Moved tag validation in the tags app
2019-07-15 11:32:14 +02:00
Eliot Berriot
997dcf5327
Merge branch '432-tags-albums-artists' into 'develop'
...
See #432 : added model tagging logic on artists and albums
See merge request funkwhale/funkwhale!829
2019-07-15 10:57:34 +02:00
Eliot Berriot
c8135d38b1
See #432 : added model tagging logic on artists and albums
2019-07-15 10:53:33 +02:00
Eliot Berriot
d39cfab283
Increase the security of JWT token generation by using DJANGO_SECRET_KEY as well as user-specific salt for the signature
2019-07-13 16:02:10 +02:00
Eliot Berriot
426f6f0d45
Fixed failing test
2019-07-13 11:15:31 +02:00
Eliot Berriot
7bc8109732
See #432 : tags acquisition (from audio files)
2019-07-12 15:06:39 +02:00
Eliot Berriot
8ee5578693
Merge branch '432-tags-api' into 'develop'
...
See #432 : API endpoints to query tags
See merge request funkwhale/funkwhale!824
2019-07-12 14:53:38 +02:00
Eliot Berriot
57e0eea181
See #432 : expose and reuse tags over federation
2019-07-10 19:41:00 +02:00
Eliot Berriot
9f3076f4db
See #432 : API endpoint to query tags
2019-07-09 16:03:41 +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
0989df4795
Merge branch 'custom-css' into 'master'
...
Custom css
See merge request funkwhale/funkwhale!818
2019-07-04 10:36:07 +02:00
Eliot Berriot
38ab05195b
Fix #867 : Fixed remaining transcoding issue with Subsonic API
2019-07-03 11:38:06 +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
78ab153734
Fixed flaky tests because of license cache
2019-07-02 16:16:12 +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
Eliot Berriot
21259cc60f
Fixed flaky tests because of license cache
2019-07-02 12:00:52 +02:00
Eliot Berriot
4ad3d10df9
Removed test for old migrations that caused flaky results
2019-07-02 10:06:03 +02:00
Eliot Berriot
0e652103a4
Merge branch 'master' into develop
2019-07-01 14:02:28 +02:00
Eliot Berriot
76956868fa
Broken pytest
2019-07-01 14:00:32 +02:00
Eliot Berriot
8f261f96e9
Merge branch 'master' into develop
2019-06-28 10:38:52 +02:00
Eliot Berriot
8f3a8243ea
Version bump and changelog for 0.19.1
2019-06-28 10:24:59 +02:00
Eliot Berriot
bfff79301d
Fix #867 : Added a SUBSONIC_DEFAULT_TRANSCODING_FORMAT env var to support clients that don't provide the format parameter
2019-06-28 09:59:57 +02:00
Eliot Berriot
17996ca936
Merge branch 'master' into develop
2019-06-28 09:38:55 +02:00
Eliot Berriot
dc5db3a0c1
Fix #869 : broken user admin for users with non-digit or letters in their username
2019-06-27 14:50:56 +02:00
Eliot Berriot
95cd64582c
Fix #868 : Added opus to the list of supported mimetypes and extensions
2019-06-27 06:07:05 +02:00
Eliot Berriot
cdcba85f29
Resolve "Importing tracks without album fails"
2019-06-26 10:38:29 +02:00
Eliot Berriot
22e9851ad8
UI for allow-list
2019-06-26 10:22:53 +02:00
Eliot Berriot
45acf7ca3f
See #853 : force authenticated ActivityPub checks when allow-list is enabled
2019-06-26 10:22:29 +02:00
Reg
a1d01105a1
Fixed typo refrence => reference
2019-06-25 11:03:45 +02:00
Eliot Berriot
c55a926d33
Linting
2019-06-24 16:23:44 +02:00
Eliot Berriot
d39edae061
Fixed crashing nodeinfo fetching when remote answers with invalid JSON
2019-06-24 16:21:06 +02:00
Eliot Berriot
62939d6826
Fixed failing test
2019-06-24 16:12:43 +02:00
Eliot Berriot
cbf9f74e49
Fixed 500 error when adding domain without nodeinfo
2019-06-24 16:07:53 +02:00
Eliot Berriot
aa368ec5eb
Hugh logging…………
2019-06-24 15:57:01 +02:00
Eliot Berriot
fd522bc0de
Fixed some logging issues
2019-06-24 15:32:35 +02:00
Eliot Berriot
b43bf42efc
Revert "Fixed broken logging"
...
This reverts commit 68b21d706c
.
2019-06-24 15:31:11 +02:00
Eliot Berriot
68b21d706c
Fixed broken logging
2019-06-24 15:30:17 +02:00
Eliot Berriot
581e890ad9
See #853 : advertise allow-list configuration in nodeinfo
2019-06-21 15:57:04 +02:00
Eliot Berriot
08262529ec
MRF / Dropping of incoming/outgoing messages based on allow-list
2019-06-20 10:27:07 +02:00
Eliot Berriot
371dc01205
Merge branch 'master' into develop
2019-06-19 11:24:49 +02:00
Eliot Berriot
e24c1f2330
Added missing make to Dockerfile
2019-06-19 10:54:45 +02:00
Eliot Berriot
4de78995c0
Fix #862 : replaced Daphne by Gunicorn/Uvicorn
2019-06-19 10:26:09 +02:00
Reg
2301982374
Fixed typo refrence => reference
2019-06-18 22:52:57 +02:00
Eliot Berriot
2b2b64f0a7
Model / settings for allow-listing
2019-06-17 08:48:05 +02:00
Eliot Berriot
0a25243e25
Fix #857 : Fix broken upload for specific files when using S3 storage
2019-06-13 11:10:48 +02:00
Eliot Berriot
2523108b6a
Fix #847 : Use ASCII filename before upload to S3 to avoid playback issues
2019-06-11 09:56:46 +02:00
Eliot Berriot
ce4a6b0412
Fix #851 : wrong og:image url when using S3 storage
2019-06-10 12:06:29 +02:00
Eliot Berriot
bb5e5460c4
Fix #848 : Fixed invalid file extension for transcoded tracks
2019-06-10 11:56:10 +02:00
Eliot Berriot
c8ee67e754
Fix #850 : Ensure empty but optional fields in file metadata don't error during import
2019-06-10 11:05:07 +02:00
Eliot Berriot
024addfb4b
Added username and domain filter on /history/listenings endpoint
2019-06-10 09:51:29 +02:00
Eliot Berriot
e99b7703b9
Version bump and changelog for 0.19.0
2019-05-16 10:58:00 +02:00
Eliot Berriot
4a412d36a9
Fix #830 : Better handling of follow/accept messages to avoid and recover from desync between instances
2019-05-14 10:59:49 +02:00
Ciaran Ainsworth
2600631528
Added variables to connect to Amazon S3 directly
2019-05-10 13:33:03 +01:00
Eliot Berriot
818d78344f
Version bump for 0.19.0-rc2
2019-05-10 10:05:26 +02:00
Eliot Berriot
8bb0a34a71
Ensure proper HTML root in tests
2019-05-10 09:34:20 +02:00
Eliot Berriot
6749b72884
Fixed broken pipeline
2019-05-10 09:32:06 +02:00
Eliot Berriot
1f3f790f63
Fix #819 : Fixed invalid required fields in Upload django's admin
2019-05-09 12:13:00 +02:00
Eliot Berriot
d9d96a85cf
Avoid triggering an HTTP request for frontend HTML in docker
2019-05-09 12:07:11 +02:00
Eliot Berriot
8db9ec979e
Fix #824 : Fixed invalid OEmbed URL when using a local FUNKWHALE_SPA_HTML_ROOT
2019-05-09 12:02:08 +02:00
Eliot Berriot
86269c1b07
Can now serve audio content directly from S3
2019-05-09 11:43:35 +02:00
Eliot Berriot
aad2a50536
Fixed issue when transcoding from federation
2019-05-07 12:36:29 +02:00
Eliot Berriot
3b06cd25ee
Include uuid in filterable fields for music models
2019-05-07 11:29:25 +02:00
Eliot Berriot
c8fcf1b0d9
Support oauth token in URL
2019-05-03 12:30:57 +02:00
Eliot Berriot
e3b0efb25f
Bump to 0.19.0-rc1
2019-05-02 14:26:46 +02:00
Eliot Berriot
1345ba183c
Fixed follow autoapproval not working with "instance" visibility level
2019-05-02 13:57:42 +02:00
Eliot Berriot
119df01335
Fix #808 : Advertise the list of supported upload extensions in the Nodeinfo endpoint
2019-05-02 13:15:33 +02:00
Eliot Berriot
72d6d7e17d
Fixed a dependency issue
2019-05-02 12:07:46 +02:00
Eliot Berriot
a8fbd85ade
Merge branch '815-django-upgrade' into 'develop'
...
Fix #815 : Bumped dependencies to latest versions
Closes #815
See merge request funkwhale/funkwhale!745
2019-05-02 11:11:18 +02:00
Eliot Berriot
3646d696a6
Fix #815 : Bumped dependencies to latest versions
2019-05-02 11:07:35 +02:00
Eliot Berriot
8c04acd8e7
Fix #812 : Ensure correct track duration and playable status when browsing radios
2019-05-02 10:17:55 +02:00
Eliot Berriot
0be93ec05b
Fix #563 : unplayable radios for anonymous users
2019-05-02 10:05:20 +02:00
Eliot Berriot
048339c7a2
Fix #809 : Added admin options to disable login for users, ensure related content is deleted when deleting a user account
2019-04-30 14:46:05 +02:00
Eliot Berriot
430af5560c
Merge branch '565-failing-tests' into 'develop'
...
See #565 : fixed path issues with external storage
Closes #565
See merge request funkwhale/funkwhale!736
2019-04-24 15:29:57 +02:00
Eliot Berriot
a2c52abb4f
See #565 : fixed path issues with external storage
2019-04-24 15:27:07 +02:00
Eliot Berriot
993783190a
Fix #619 : Use attributedTo instead of actor in library ActivityPub payload
2019-04-24 14:40:58 +02:00
Eliot Berriot
f9a9899ef9
Merge branch '565-external-storages' into 'develop'
...
Fix #565 : store media files in S3 bucket
Closes #565
See merge request funkwhale/funkwhale!735
2019-04-24 12:59:45 +02:00
Eliot Berriot
6135d427e7
Fixed some issues
2019-04-24 12:56:15 +02:00
Qasim Ali
22f0235045
refactor playlist duplicate error structure
...
- use non_field_errors struct when writing duplicate track errors
- generalize frontend error handler and update frontend error parsing
2019-04-24 11:31:46 +02:00
Eliot Berriot
101ae27885
Fix #565 : store media files in S3 bucket
2019-04-23 18:01:42 +02:00
Eliot Berriot
51d94a13fa
Merge branch '798-more-flexible-user-url' into 'develop'
...
Fix #798 : Allow users with dots in their usernames to request a subsonic password
Closes #798
See merge request funkwhale/funkwhale!733
2019-04-23 11:38:42 +02:00
Eliot Berriot
b23e87e102
Fix #798 : Allow users with dots in their usernames to request a subsonic password
2019-04-23 11:35:59 +02:00
Eliot Berriot
39485c8e02
Fix #806 : Use proper site name/domain in emails
2019-04-23 11:14:58 +02:00
Eliot Berriot
0b94227782
Fix #799 : Removed broken/instable lyrics feature
2019-04-23 10:32:51 +02:00
Eliot Berriot
b42dfb71d1
Keep persistent connections to the database instead of recreating a new one for each request
2019-04-19 14:29:43 +02:00
Eliot Berriot
d595d168e3
See #689 : Fixed some performance issues with filtering on library/upload/track pages
2019-04-19 14:16:23 +02:00
Eliot Berriot
960c9ffbbe
Fixed wrong action serializer for uploads
2019-04-19 12:38:06 +02:00
Eliot Berriot
a605bcbe76
Admin UI for libraries and uploads
2019-04-19 12:05:13 +02:00
Eliot Berriot
cdc617be27
Logic to refetch remote entities
2019-04-18 14:37:17 +02:00
Eliot Berriot
55d0e52c55
Edits for artists and albums
2019-04-17 16:11:24 +02:00
Eliot Berriot
b4731928fc
UI To manage artists, albums, tracks
2019-04-17 14:17:59 +02:00
Eliot Berriot
0e8a5a10e5
Fix #802 : Now honor maxBitrate parameter in Subsonic API
2019-04-16 11:35:12 +02:00
Eliot Berriot
8cfd604e51
Fix #782 : Better handling of featuring/multi-artist tracks tagged with MusicBrainz
2019-04-12 12:04:25 +02:00
Eliot Berriot
5e3cc99f20
See #689 : fetch nodeinfo when seing a domain for the first time
2019-04-11 11:25:55 +02:00
Eliot Berriot
84e2f0af9f
See #689 : added a task to refresh nodeinfo data on known domain periodically
2019-04-11 11:14:27 +02:00
Eliot Berriot
4e44e4e4b6
Attribute artist
2019-04-11 10:17:10 +02:00
Eliot Berriot
0ce51d25d4
Can now edit track copyright information
2019-04-09 11:15:43 +02:00
Eliot Berriot
45142bf24b
Added better dropdown for choosing licenses
2019-04-09 11:15:43 +02:00
Eliot Berriot
a3ad476c88
More configurable pagination
2019-04-09 11:15:43 +02:00
Eliot Berriot
b36b03383e
Fixed broken metadata update on track without license
2019-04-09 09:34:59 +02:00
Eliot Berriot
6649d0720d
Fix #781 : Added a `check_inplace_files` management command to remove purge the database from references to in-place imported files that don't exist on disk anymore
2019-04-05 18:55:00 +02:00
Eliot Berriot
f5a6a40d7f
Fix #787 : federation issue due to missing error handling
2019-04-05 16:22:32 +02:00
Eliot Berriot
2a82367667
Fix #788 : fixed crashing import with empty album artist
2019-04-05 15:41:28 +02:00
Eliot Berriot
48ce87d25f
Merge branch '783-migration-error' into 'develop'
...
Fix #783 : migration issue on develop
Closes #783
See merge request funkwhale/funkwhale!704
2019-04-04 16:08:11 +02:00
Eliot Berriot
05f0129025
Better error handling on display for import errors ( #718 , #583 , #501 , #252 , #544 )
2019-04-04 16:07:43 +02:00
Eliot Berriot
63c3c22534
Fix #783 : migration issue on develop
2019-04-04 16:05:34 +02:00
Eliot Berriot
5916a1ba99
Fix #777 : Added a prune_library management command to remove obsolete metadata
2019-03-27 17:04:10 +01:00
Eliot Berriot
8a5c85a823
Merge branch 'discard-unhandled-activities' into 'develop'
...
Fix #776 : Don't store unhandled ActivityPub messages in database
Closes #776
See merge request funkwhale/funkwhale!696
2019-03-27 13:46:08 +01:00
Eliot Berriot
ca7b39c692
Fix #740 : Do not consider tracks as duplicates during import if they have different positions
2019-03-27 12:54:29 +01:00
Eliot Berriot
46f1d96206
Fix #776 : Don't store unhandled ActivityPub messages in database
2019-03-27 12:53:35 +01:00
Eliot Berriot
31227b8641
Fix #772 : Prevent skipping on file import if album_mbid is different
2019-03-27 12:13:25 +01:00
Eliot Berriot
4c13d47387
Resolve "Implement a Oauth provider in Funkwhale"
2019-03-25 17:02:51 +01:00
Eliot Berriot
e587e5aebc
Merge branch 'master' into develop
2019-03-21 10:46:28 +01:00
Eliot Berriot
c196016035
Version bump and changelog for 0.18.3
2019-03-21 10:41:14 +01:00
Eliot Berriot
cc71d2bb20
Fix #570 : Exclude in-place imported files from quota computation
2019-03-21 10:32:12 +01:00
Eliot Berriot
9a162c57ca
Merge branch 'master' into develop
2019-03-20 20:45:06 +01:00
Eliot Berriot
124a7c3dcf
Fix #767 : broken Activity and Actor modules in django admin
2019-03-20 20:18:19 +01:00
Eliot Berriot
429ffbf461
Fix #757 : Ensure cover art from uploaded files is picked up properly on existing albums
2019-03-20 19:38:41 +01:00
Eliot Berriot
5715773fa7
Fix #765 : Include disc number in Subsonic responses
2019-03-20 17:13:40 +01:00
Eliot Berriot
33190613a2
Fix #737 : delivering of local activities causing unintended side effects, such as rollbacking changes
2019-03-20 16:21:03 +01:00
Eliot Berriot
b70636c2d8
Fixed a small federation issue when empty library summary
2019-03-19 17:53:17 +01:00
Eliot Berriot
584c29bff6
Fixed broken dependency
2019-03-19 17:47:12 +01:00
Eliot Berriot
b9f0c6aecd
Revert "Merge branch '629-cookie-auth' into 'develop'"
...
This reverts commit 8b47af8b81
, reversing
changes made to c0055b3b20
.
2019-03-15 15:52:30 +01:00
Eliot Berriot
da3710ff08
Fix #758 : Ensure all our ActivityPub fetches are authenticated
2019-03-15 12:08:45 +01:00
Eliot Berriot
c395076fce
Resolve "Use cookies instead of local storage for auth in Web UI"
2019-03-13 16:50:49 +01:00
gordon
1a3e7a5e0d
Fix Factories for dev data
2019-03-12 14:15:58 +01:00
Eliot Berriot
8ae00b0698
Fix #747 : Support embedding full artist discographies
2019-03-08 10:34:50 +01:00
Eliot Berriot
1d787904f4
Merge branch 'master' into develop
2019-03-08 09:40:55 +01:00
Eliot Berriot
f73c7714c6
Fixed a crash when federating a track with unspecified position
2019-03-08 09:29:43 +01:00
Eliot Berriot
491c79efa0
Merge branch 'master' into develop
2019-03-07 13:44:33 +01:00
Eliot Berriot
3d94eddcfc
Fix #743 : Do not send notification when rejecting a follow on a local library
2019-03-07 12:09:45 +01:00
Eliot Berriot
0afa4f2e27
Fix #737 : delivering of local activities causing unintended side effects, such as rollbacking changes
2019-03-06 15:33:39 +01:00
Eliot Berriot
12c9db3960
Ensures federation urls can answer to application/ld+json, application/activity+json and application/json requests
2019-03-05 15:15:37 +01:00
Eliot Berriot
d243d6a2f5
See #689 : now serve AP representations for uploads, tracks, albums and artists
2019-02-28 12:32:09 +01:00
Eliot Berriot
e0c5ffcb16
[EPIC] Audio metadata update - UI / API
2019-02-28 09:31:04 +01:00
Eliot Berriot
d23d69e11d
Fixed an issue with excluded artists
2019-02-25 10:36:02 +01:00
Eliot Berriot
f726b5e105
See #578 : Added twitter:* meta tags to detect tracks and albums players automatically on more sites
2019-02-21 14:27:14 +01:00
Eliot Berriot
bdf83bd8ff
Resolve "Hide an artist in the UI"
2019-02-14 10:49:06 +01:00
Eliot Berriot
8b1801ce6d
Merge branch 'master' into develop
2019-02-13 09:28:50 +01:00
Eliot Berriot
e73e6db8ef
Version bump and changelog for 0.18.2
2019-02-13 09:28:14 +01:00
Eliot Berriot
7e1bd1ad07
Merge branch 'master' into develop
2019-02-13 09:09:31 +01:00
jake
7a34c297ed
Resolve "add a view to list albums"
2019-02-13 08:46:38 +01:00
Eliot Berriot
00846ca3e9
Fix #706 : Added a 'fix_federation_ids' management command to deal with protocol/domain issues in federation
...
IDs after deployments
2019-02-11 11:59:32 +01:00
Eliot Berriot
98f4edeeb3
Merge branch 'master' into develop
2019-02-11 09:44:42 +01:00
Eliot Berriot
d99757658c
Fix #705 : Can now use a local file with FUNKWHALE_SPA_HTML_ROOT to avoid sending an HTTP request
2019-02-08 17:36:10 +01:00
Eliot Berriot
5758ab4c43
Merge branch 'master' into develop
2019-02-07 16:40:56 +01:00
Eliot Berriot
741199c551
Fix #697 : Downgraded channels dependency to 2.1.6 to fix denied uploads
2019-02-07 16:17:51 +01:00
Eliot Berriot
c16258ed14
Removed popularity weight in similar radio, to avoid filter bubbles
2019-01-31 14:55:05 +01:00
Eliot Berriot
5ce4cc8379
[Experimental] Added a new "Similar" radio based on users history (suggested by @gordon)
2019-01-30 16:54:35 +01:00
Eliot Berriot
253f026dc0
System actor
2019-01-30 11:54:43 +01:00
Eliot Berriot
4a197e5475
Version bump and changelog for 0.18.1
2019-01-29 14:25:19 +01:00
Eliot Berriot
7df97263e5
Merge branch 'develop'
2019-01-29 10:06:04 +01:00
Vierkantor
0efdb6d980
Resolve "In-place imports cannot be transcoded"
2019-01-29 09:32:35 +01:00
Eliot Berriot
78546232d0
Fix #685 : Disable makemigrations in production and misleading message when running migrate
2019-01-26 22:01:47 +01:00
Eliot Berriot
871db15908
Upgraded kombu to fix an incompatibility with redis>=3
2019-01-25 15:40:47 +01:00
Eliot Berriot
37ca06c370
Fixed celery worker defaulting to development settings instead of production
2019-01-25 15:39:48 +01:00
Eliot Berriot
cd36128769
Fix #684 : Include shared/public playlists in Subsonic API responses
2019-01-25 12:12:00 +01:00
Eliot Berriot
3b87580a69
Reduced number of SQL queries when loading /api/admin/music/tracks/
2019-01-24 11:06:37 +01:00
Eliot Berriot
51dbd905e7
Fix #666 : crashing Django admin when loading track detail page
2019-01-24 11:06:11 +01:00
Eliot Berriot
887373c006
Fixed a docker build issue with pip 19
2019-01-24 11:04:29 +01:00
Eliot Berriot
f44d2b0694
Version bump and changelog
2019-01-22 12:04:30 +01:00
Eliot Berriot
079c66625e
Fix #663 : Do not try to create unaccent extension if it's already present
2019-01-22 09:58:35 +01:00
Eliot Berriot
685d115960
fixed wrong daphne path
2019-01-21 14:15:31 +01:00
Eliot Berriot
0d461bef5e
Based Docker image on alpine to have a smaller (and faster to build) image
2019-01-21 13:54:46 +01:00
Eliot Berriot
0b66737181
Include user activity stats in nodeinfo endpoints
2019-01-21 10:16:50 +01:00
Eliot Berriot
e8c81d734f
Fixed wrong value for anonymousCanListen in nodeInfo
2019-01-21 09:52:41 +01:00
Eliot Berriot
4a3c21a094
Importer will now pick embedded images in files with OTHER type if no COVER_FRONT is present
2019-01-15 17:14:11 +01:00
Eliot Berriot
042d85d7dc
Pinned pytest-profiling
2019-01-15 11:40:25 +01:00
Eliot Berriot
6aaa51e8e7
Fix #564 : Added a script to prune pre 0.17 federated tracks
2019-01-14 17:11:24 +01:00
Eliot Berriot
08ce00e3cd
Fixed #469 : parsing of embedded file cover for ogg files tagged with MusicBrainz Picard
2019-01-14 14:51:35 +01:00
Eliot Berriot
5fe30cf59b
Fix #658 : Support blind key rotation in HTTP Signatures
2019-01-11 15:39:33 +01:00
Eliot Berriot
267498824d
Removed empty production.txt requirements file
2019-01-11 14:26:56 +01:00
Eliot Berriot
6c0d162329
Updated test/local only dependencies
2019-01-11 14:26:17 +01:00
Eliot Berriot
0c8cd1402e
Updated a bunch of dependencies
2019-01-11 14:10:03 +01:00
Eliot Berriot
a6fafad34f
Removed unused whitenoise dependency and wsgi module
2019-01-11 14:10:02 +01:00
Eliot Berriot
fe03d08a8e
Removed unused acoustid dependency / logic
2019-01-11 14:10:02 +01:00
Eliot Berriot
14392ebb0c
Updated rest framework to 3.9
2019-01-11 14:10:02 +01:00
Eliot Berriot
4a6df06360
Upgraded django to 2.1 and django-filters to 2.0
2019-01-11 12:03:06 +01:00
Eliot Berriot
a2f8f335e4
Disable HTTPS urls in test
2019-01-11 12:02:52 +01:00
Eliot Berriot
97aaffaeda
Removed youtube-dl / and another unused dependency
2019-01-11 11:26:41 +01:00
Eliot Berriot
ee4e5c244f
Bumbed version number to 0.18-dev
2019-01-10 14:48:16 +01:00
Eliot Berriot
53ade20722
Merge branch 'more-performant-favorites' into 'develop'
...
More performant favorites
See merge request funkwhale/funkwhale!522
2019-01-10 12:00:35 +01:00
Eliot Berriot
3916986fb8
Performance improvement when fetching favorites, down to a single, small http request
2019-01-10 11:58:18 +01:00
Eliot Berriot
81e7b900fe
Fixed https url-reversing issue in development
2019-01-10 11:55:48 +01:00
Eliot Berriot
4811f35eb5
Linting
2019-01-10 11:11:32 +01:00
Eliot Berriot
d63f8f2e33
Added django admin module to manage instance policies
2019-01-10 11:11:32 +01:00
Eliot Berriot
993a0092c2
Fixed broken debug-toolbar when jquery was not included on page
2019-01-10 11:11:31 +01:00
Eliot Berriot
377f237fdb
Rejecting media files on an instance or account now purge existing media
2019-01-10 11:11:31 +01:00
Eliot Berriot
1c55f2c9a6
Use our instance policies to discard fetched and inbox objects
2019-01-10 11:11:30 +01:00
Eliot Berriot
24fdfd345c
Display policy data in account/domain tables
2019-01-10 11:11:29 +01:00
Eliot Berriot
233ac870be
Added actions and tasks to purge domains and actors
2019-01-09 14:20:22 +01:00
Eliot Berriot
0bc9bb65b0
Model, view and serializer for instance-level policies
2019-01-07 09:45:53 +01:00
Eliot Berriot
ddffbeadfa
Can now add domains via manage API / UI
2019-01-05 18:21:35 +01:00
Eliot Berriot
031d96a0a6
Return shorter search results on Subsonic API
2019-01-05 16:07:58 +01:00
Eliot Berriot
d4eff5aa32
Less DB queries in test factories
2019-01-04 14:36:08 +01:00
Eliot Berriot
b6902009ac
Use cache session engine to reduce load on DB
2019-01-04 14:15:07 +01:00
Eliot Berriot
67de32ccc2
Removed 2 DB queries per request when user is authenticated
2019-01-04 13:52:36 +01:00
Eliot Berriot
49e1bec7b9
Faster transcoding tests thanks to smaller audio files (see #648 )
2019-01-04 12:23:53 +01:00
Eliot Berriot
7657db4212
Fix #648 : Improved test suite speed by reducing / disabling expensive operations
2019-01-04 11:47:23 +01:00
Eliot Berriot
2da3a3842e
Improved performance when listing playable tracks, albums and artists
2019-01-03 22:57:29 +01:00
Eliot Berriot
89f6e3656b
Show short entries first in search results to improve UX
2019-01-03 17:34:14 +01:00
Eliot Berriot
e186c6bb06
Admin UI to list and manage remote and local accounts
2019-01-03 17:10:02 +01:00
Eliot Berriot
47209ee5ae
Added API to list and detail actors
2019-01-03 11:47:29 +01:00
Eliot Berriot
a7d7756545
Fix #374 : Strip EXIF metadata from uploaded avatars to avoid leaking private data
2019-01-02 12:39:00 +01:00
Eliot Berriot
9d55320b56
Fixed slow query on domain list / stats
2018-12-27 22:45:43 +01:00
Eliot Berriot
a2607f82cb
Fix #643 : Upgraded core dependencies to fix websocket/messaging issues and possible memory leaks
2018-12-27 21:17:51 +01:00
Eliot Berriot
942e9a15cb
Linting
2018-12-27 20:39:03 +01:00
Eliot Berriot
032197da3f
Added stats endpoint for domain
2018-12-27 20:33:12 +01:00
Eliot Berriot
be388870a3
Can now fetch domain nodeinfo
2018-12-27 20:33:12 +01:00
Eliot Berriot
e4117043cb
Added API endpoint and UI to list known domains
2018-12-27 20:33:11 +01:00
Eliot Berriot
34ec869ca1
Removed obsolete permissions, added a new moderation permission
2018-12-27 20:33:11 +01:00
Eliot Berriot
af53ee7c7d
Ensure all our AP types are present
2018-12-27 20:33:11 +01:00
Eliot Berriot
7ac3bb98da
Moved actor domain to a dedicated table
2018-12-27 20:33:11 +01:00
Eliot Berriot
060543f62c
Fixed logging issues
2018-12-26 20:24:42 +01:00
Eliot Berriot
24b8ca7227
Removed dead code
2018-12-26 20:23:48 +01:00
Eliot Berriot
752a06c20a
Upgraded dynamic preferences to latest version
2018-12-26 20:23:09 +01:00
Eliot Berriot
d27ea30b26
Fix #640 : support connecting with to a password protected redis server
2018-12-20 17:36:32 +01:00
Eliot Berriot
95e087b342
Removed raven on front-end
2018-12-20 11:07:30 +01:00
Eliot Berriot
e8b2b94df4
Fixed url escaping for good ;)
2018-12-19 16:45:40 +01:00
Eliot Berriot
d7ea78d2bf
Linting
2018-12-19 16:16:10 +01:00
Eliot Berriot
94703ff296
Added missing attributes in oembed data
2018-12-19 16:13:01 +01:00
Eliot Berriot
03a7b80d03
Use cropped images for og:image
2018-12-19 16:05:45 +01:00
Eliot Berriot
a56531e111
Added missing format in oembed discovery link
2018-12-19 15:53:54 +01:00
Eliot Berriot
173cd9ef78
Merge branch 'remove-superfluous-subsonic-tests' into 'develop'
...
Removed duplicated susbsonic tests
See merge request funkwhale/funkwhale!497
2018-12-19 15:18:03 +01:00
Eliot Berriot
5d4066d697
Removed duplicated susbsonic tests
...
We were testing both xml and json rendering for every view but this takes a very long time, so we only do json for most views now.
2018-12-19 15:12:19 +01:00
Eliot Berriot
9220b2f0f1
See #578 : added opengraph and oembed data on artist / album / track urls
2018-12-19 15:04:33 +01:00
Eliot Berriot
dd23dfa07c
Point to new gitlab URL
2018-12-10 16:00:33 +01:00
Eliot Berriot
a493d34b8f
Resolve "Track position don't take care about disc number"
2018-12-06 08:53:31 +00:00
Eliot Berriot
5a2cf9112b
Fixed #621 : None extension when downloading an in-place imported file
2018-12-04 15:40:14 +01:00
Eliot Berriot
e5b46402f8
Fix #308 : Licenses
2018-12-04 14:13:37 +00:00
Eliot Berriot
8679edb160
Fix #626 : Load env file in config/.env automatically to avoid sourcing it by hand
2018-11-28 19:56:56 +01:00
Eliot Berriot
8e84e2bf39
Fix #622 : More resilient date parsing during audio import, will not crash anymore on
...
invalid dates
2018-11-26 17:07:55 +01:00
Eliot Berriot
409b076c23
Removed the need to specify the DJANGO_ALLOWED_HOSTS variable
2018-11-25 18:40:56 +01:00
Eliot Berriot
837d6ad0e1
Fix #473 : ".None" extension when downloading Flac file
2018-11-19 23:49:43 +01:00
Eliot Berriot
22de4a98c5
Fix #616 : Fixed inconsistencies in subsonic error responses
2018-11-18 23:17:31 +01:00
Eliot Berriot
4976981926
Broadcast library updates (name, description, visibility) over federation
2018-11-09 19:57:14 +01:00
Eliot Berriot
51457aa889
Fix #553 : Advertise public libraries properly in ActivityPub representations
2018-11-09 19:57:14 +01:00
Eliot Berriot
bcd22eb38c
See #272 : linting and changelog
2018-10-26 16:09:00 +02:00
Eliot Berriot
ac4bba816d
See #272 : added transcoding settings in UI
2018-10-26 16:09:00 +02:00
Eliot Berriot
daf2e4b863
See #272 : subsonic support for transcoding
2018-10-26 16:09:00 +02:00
Eliot Berriot
d3f8fb6cb0
See #272 : updated API to return upload data on tracks
2018-10-26 14:26:52 +02:00
Eliot Berriot
8489c79c89
See #272 : clean transcoding files task
2018-10-24 19:44:31 +02:00
Eliot Berriot
2fe1e7c950
See #272 : added preference and base logic for transcoding
2018-10-24 19:17:02 +02:00
Eliot Berriot
baf5a350b3
See #272 : added admin and model for transcoding
2018-10-24 19:11:57 +02:00
Eliot Berriot
aaaa2479dc
Missing changelog and getLicense endpoint for #581
2018-10-21 20:45:24 +02:00
Eliot Berriot
77973ba6f9
See #574 : linting
2018-10-21 20:33:41 +02:00
Eliot Berriot
bf3b3854dc
See #573 : Added missing type / version in getLicense endpoint
2018-10-21 20:30:19 +02:00
Eliot Berriot
ccd600ecca
See #574 : Implemented getRandomSongs endpoint
2018-10-21 20:30:16 +02:00
Eliot Berriot
8c5924d6e3
Ensure distinct is applied on all playable_by querysets
2018-10-21 20:30:16 +02:00
Eliot Berriot
439d4fd6b3
See #574 : Implemented getUser view
2018-10-21 20:30:12 +02:00
Eliot Berriot
d3e411fa97
See #574 : Implemented getAvatar view
2018-10-21 20:30:08 +02:00
Eliot Berriot
6c7ee54dbc
Merge branch '573-subsonic-type' into 'develop'
...
Fix #573 : Added "type: funkwhale" and "funkwhale-version" in Subsonic responses
Closes #573
See merge request funkwhale/funkwhale!456
2018-10-21 15:48:57 +00:00
Eliot Berriot
941f2f6677
Fix #573 : Added "type: funkwhale" and "funkwhale-version" in Subsonic responses
2018-10-21 17:43:22 +02:00
Eliot Berriot
2b70f3ba42
Fix #581 : missing track count on various library cards
2018-10-21 17:38:29 +02:00
Eliot Berriot
dc1e4fb0c7
Version bump and release for 0.17
2018-10-07 11:53:09 +02:00
Eliot Berriot
a865fcdcf1
Fix #551 : Added a library widget to display libraries associated with a track, album and artist
2018-10-02 19:30:13 +02:00
Eliot Berriot
d7b6e54621
Merge branch 'admin-raw-id-fields' into 'develop'
...
Ensure we always use raw_ids for related fields in django's admin
See merge request funkwhale/funkwhale!431
2018-10-01 20:03:08 +00:00
Eliot Berriot
3895034089
Ensure we always use raw_ids for related fields in django's admin
2018-10-01 21:56:52 +02:00
Eliot Berriot
314765de7c
Fix #546 : Ensure from_activity field is not required in django's admin
2018-10-01 21:43:33 +02:00
Eliot Berriot
1aa9b557d1
Merge branch 'subsonic-user-libraries' into 'develop'
...
Subsonic user libraries
See merge request funkwhale/funkwhale!428
2018-10-01 19:22:14 +00:00
Eliot Berriot
47aa209df2
See !368 : ensure we filter playable entities in subsonic API
2018-10-01 21:16:11 +02:00
Eliot Berriot
224fa4bfbf
use proper pymemoize release instead of our fork
2018-10-01 19:37:58 +02:00
Eliot Berriot
02006270cd
See #542 : fixed issue with empty actor during upgrade script
2018-10-01 19:16:48 +02:00
Eliot Berriot
e8cab269b1
See #542 : ensure install_os_dependencies.sh is runnable from anywhere
2018-10-01 19:16:48 +02:00
Eliot Berriot
62c98b2386
See #542 : Removed import requests code
2018-10-01 19:16:47 +02:00
Eliot Berriot
42933fa138
Merge branch 'cleanup-017' into 'develop'
...
Cleanup unused code
See merge request funkwhale/funkwhale!426
2018-09-28 20:55:37 +00:00
Eliot Berriot
f5373a9dbf
Cleanup unused code
2018-09-28 22:49:59 +02:00
Eliot Berriot
ec3fcefabf
Ensure radio tracks only return playable tracks
2018-09-28 22:19:43 +02:00
Eliot Berriot
4d425e92ee
Merge branch 'federation-cache-cleaning' into 'develop'
...
Ensure cache_cleaning only targets remote files
See merge request funkwhale/funkwhale!424
2018-09-28 19:36:38 +00:00
Eliot Berriot
428de17817
Ensure cache_cleaning only targets remote files
2018-09-28 21:30:45 +02:00
Eliot Berriot
762b9f73ad
Merge branch 'disable-federation' into 'develop'
...
Do not deliver anything to remote instances when federation is disabled
See merge request funkwhale/funkwhale!423
2018-09-28 19:25:11 +00:00
Eliot Berriot
b028f3f817
Do not deliver anything to remote instances when federation is disabled
2018-09-28 21:19:37 +02:00
Eliot Berriot
58333b5967
Failing test
2018-09-28 21:08:58 +02:00
Eliot Berriot
6572db3a83
Failing test
2018-09-28 21:05:43 +02:00
Eliot Berriot
508873dffb
Lining
2018-09-28 20:50:28 +02:00
Eliot Berriot
54972e489b
Fixed unplayable playlists (bis repetita)
2018-09-28 20:46:18 +02:00
Eliot Berriot
d000a1329f
Can now update user quota in UI
2018-09-28 20:45:31 +02:00
Eliot Berriot
c641b8f500
Linting
2018-09-28 16:48:26 +02:00
Eliot Berriot
34373d020c
Fixed unplayable playlists
2018-09-28 16:45:28 +02:00
Eliot Berriot
59337fb5d8
Fixed import issue with empty album artist
2018-09-26 19:58:08 +02:00
Eliot Berriot
0d96e75eeb
Do not silent import errors
2018-09-26 19:23:15 +02:00
Eliot Berriot
527edc1e1e
Minor fixes
2018-09-25 22:52:09 +02:00
Eliot Berriot
b6e376ed0a
0.17 release documentation initial draft and migration script
2018-09-25 20:18:02 +00:00
Eliot Berriot
125d0eed5e
Federation scanning
2018-09-24 18:44:22 +00:00
Eliot Berriot
1bee3a4675
Import trust source
2018-09-23 12:38:42 +00:00
Eliot Berriot
3e49b2057a
CLI for importing files with user libraries
2018-09-22 15:47:17 +00:00
Eliot Berriot
e49a460203
Audio federation
2018-09-22 12:29:30 +00:00
Eliot Berriot
ecd395d6b0
Library follows and user notifications
2018-09-13 15:18:23 +00:00
Eliot Berriot
2ea21994ee
Resolve "Per-user libraries" (use !368 instead)
2018-09-06 18:35:02 +00:00
Eliot Berriot
14d8224db4
Merge branch 'develop' into 'develop'
...
Add support for setting the musicbrainz hostname
Closes #471
See merge request funkwhale/funkwhale!394
2018-08-31 20:46:04 +00:00
Toke Høiland-Jørgensen
cb5b3be844
Add support for setting the musicbrainz hostname
...
Useful for using a local musicbrainz mirror.
Fixes #471 .
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-31 22:36:12 +02:00
Eliot Berriot
330d8c21b4
Merge branch 'develop' into 'develop'
...
Add support for Opus files
Closes #244
See merge request funkwhale/funkwhale!390
2018-08-31 18:58:24 +00:00
Toke Høiland-Jørgensen
7d9220ed49
subsonic: Implement getSong API endpoint
...
The getSong API endpoint is used by, e.g., the subsonic plugin to mopidy.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:21:11 +02:00
Toke Høiland-Jørgensen
8193782f68
subsonic: Don't crash when serialising artist with no name
...
If the name of an artist is not set, the serialiser will crash. Instead,
just skip such an artist when serialising a list of artists.
Also add test for serialising an artist with an empty name.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:17 +02:00
Toke Høiland-Jørgensen
2f46d83834
subsonic: Catch ValueError when casting input parameters
...
A failed cast to int will raise ValueError, which is not currently caught
by the error checking code, leading to a crash. Fix this so a proper error
message can be returned.
Also add test for getting artist with non-numeric ID.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:02 +02:00
Toke Høiland-Jørgensen
3ce3451d35
tests: Add metadata test with opus file
...
This adds a metadata test case for extracting data from an opus test
file. The added file is just converted from test.ogg and the same
metadata fields are used.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-29 21:23:50 +02:00
Toke Høiland-Jørgensen
0d128d40d5
Add support for Opus files
...
This adds support for reading metadata from Opus files. The metadata config
is copied from OggVorbis with just the 'track' field name changed.
Also make sure get_audio_file_data() in music/utils.py doesn't crash if no
bitrate information is set, since mutagen doesn't add a bitrate to Opus
info objects.
Fixes #244 .
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-29 21:23:50 +02:00
Joshua M. Boniface
4ce46ff2a0
Implement LDAP authentication
2018-08-22 18:10:39 +00:00
Eliot Berriot
9875e81c76
Version bump and changelog for 0.16.3
2018-08-21 20:34:06 +02:00
Eliot Berriot
658de6fe84
Version bump and changelog for 0.16.2
2018-08-21 19:03:00 +02:00
Eliot Berriot
19ace8dd40
Fixed #494 : CLI importer syntax error because of async reserved keyword usage
2018-08-21 18:30:31 +02:00
Eliot Berriot
123569b90b
Version bump and changelog for 0.16.1
2018-08-19 19:04:48 +02:00
Eliot Berriot
71c70cee39
Fixed #478 : Removed release date error in case of empty date
2018-08-19 17:52:04 +02:00
Eliot Berriot
b9761d6436
Fixed #397 : broken federation import on big imports due to missing transaction logic
2018-08-19 17:41:19 +02:00
Eliot Berriot
13a1c6daac
Fixed #487 : typos in scheduled tasks configuration
2018-08-19 16:25:42 +02:00
Eliot Berriot
4781e7821e
Fix #376 : Smarter date parsing during import by replacing arrow with pendulum
2018-07-24 23:07:51 +02:00
Eliot Berriot
c70a50c80d
Version bump and changelog for 0.16
2018-07-22 22:44:08 +02:00
Eliot Berriot
ba76fe9f49
Apply restrictions to username characters during signup
2018-07-22 13:05:43 +02:00
Eliot Berriot
6b16a8b963
Resolve "Have an actor for our users"
2018-07-22 10:20:16 +00:00
Eliot Berriot
25755ad39b
Fixed #384 : unfiltered results in favorites API
2018-07-22 11:56:25 +02:00
Eliot Berriot
b3ae2040ec
Fix #149 : better demo setup script, wider catalog
2018-07-22 11:26:33 +02:00
Eliot Berriot
3a94462bd6
Removed django-cacheops dependency
2018-07-21 12:57:48 +02:00
Eliot Berriot
886680ed15
Fixed weird bug with versatile imgae field
2018-07-21 11:57:37 +02:00
Eliot Berriot
27d54ee971
Merge branch 'playlist-perfs' into 'develop'
...
Use smaller images when possible to increase performance on client-side
See merge request funkwhale/funkwhale!328
2018-07-20 17:24:53 +00:00
Eliot Berriot
979c554b4a
Use cropped covers/avatars to reduce bandwidth use
2018-07-20 19:17:39 +02:00
Eliot Berriot
ba5c3bfc90
Update common.py with more blacklisted usernames
2018-07-19 10:49:01 +00:00
Eliot Berriot
99a37dcb7a
Resolve "UX, UI : Browse Library"
2018-07-17 11:09:13 +00:00
Eliot Berriot
af270f4abd
Resolve "An avatar for users"
2018-07-13 12:10:39 +00:00
Eliot Berriot
1458c084a7
Resolve "Funkwhale unable to import Albums with multiple Artists"
2018-07-09 20:47:55 +00:00
Eliot Berriot
ce5502cab7
Merge branch '351-empty-name' into 'develop'
...
Resolve "Ensure artists with empty names are not accepted"
Closes #351
See merge request funkwhale/funkwhale!312
2018-07-09 20:39:12 +00:00
Eliot Berriot
93cd72ff09
Fix #351 : Ensure we do not import artists with empty names
2018-07-09 22:35:32 +02:00
Eliot Berriot
252aa31b11
Fix #138 : Raise a warning instead of crashing when getting a broken path in file import
2018-07-08 10:33:23 +02:00
Eliot Berriot
f156b8791d
Fix #326 : Can now order tracks on federated track list
2018-07-06 21:45:51 +02:00
Eliot Berriot
6e709cdcd8
Removed non-breaking spaces and remaining gettext in templates
2018-07-06 20:44:47 +02:00
Eliot Berriot
663c6238dc
Merge branch '344-query-language' into 'develop'
...
Resolve "Smarter query language in search bar"
Closes #344
See merge request funkwhale/funkwhale!301
2018-07-04 15:37:52 +00:00
Eliot Berriot
4428d7401c
Fixed #344 : Implemented a basic but functionnal Github-like search on federated tracks list
2018-07-03 08:21:48 +02:00
Eliot Berriot
d713ad177b
See #344 : query parsing
2018-07-03 08:13:13 +02:00
Reg
14919e27c7
[doc] Arch Linux installation: OS requirements
2018-07-02 20:07:54 +02:00
Eliot Berriot
281bef48bf
Fix #339 : Subsonic API login is now case insensitive
2018-06-28 16:47:45 +02:00
Eliot Berriot
9017acdb39
Fix #328 : Validate Date header in HTTP Signatures
2018-06-24 19:17:56 +02:00
Eliot Berriot
b6ac2dc30a
Version bump and changelog for 0.15
2018-06-24 16:00:26 +02:00
Eliot Berriot
58be852a84
Merge branch '302-private-playlist-show-in-interface' into 'develop'
...
Resolve "Private playlists not shown in interface"
Closes #302
See merge request funkwhale/funkwhale!275
2018-06-24 13:04:37 +00:00
Eliot Berriot
697ea24b79
Fix #302 : Include user's current private playlists on playlist list
2018-06-24 14:53:04 +02:00
Eliot Berriot
943064791a
Merge branch '307-wrong-date' into 'develop'
...
Resolve "import date is always "a few seconds ago" on /manage/library/files"
Closes #307
See merge request funkwhale/funkwhale!273
2018-06-24 12:09:58 +00:00
Eliot Berriot
917a6fa12e
FIx #307 : Expose track files date in manage API
2018-06-24 14:03:37 +02:00
Eliot Berriot
0e1203336d
Fixed randomly failing test
2018-06-24 13:56:06 +02:00
Renon
2182227f50
Merge branch '222-update-import' into 'develop'
...
Resolve "Add flag during import to replace already present tracks with new version"
Closes #222
See merge request funkwhale/funkwhale!264
2018-06-22 22:04:06 +00:00
RenonDis
61eb8e4d61
Test for _do_import with replace
2018-06-22 23:50:46 +02:00
RenonDis
8d9499332f
Migration file for ImportJob.replace_if_duplicate
2018-06-22 20:25:15 +02:00
RenonDis
f3f07c1f8d
Updated tasks.py to process replace flag
2018-06-22 20:25:15 +02:00
RenonDis
8103ea541f
cli import files with replace option
2018-06-22 20:25:15 +02:00
RenonDis
bb79d454af
Bypassing cli skip for update flag
2018-06-22 20:24:55 +02:00
Eliot Berriot
9767c8f415
See #190 : API and serializers to manage import requests
2018-06-22 18:25:17 +02:00
Eliot Berriot
afe9ad2c91
Merge branch '248-invite' into 'develop'
...
Resolve "Invite system"
Closes #248
See merge request funkwhale/funkwhale!263
2018-06-21 17:57:54 +00:00
Eliot Berriot
7e442db524
Black/Flake8
2018-06-21 19:51:27 +02:00
Eliot Berriot
46ecc3f103
See #248 : ensure invitation codes are case insensitive
2018-06-21 19:51:26 +02:00
Eliot Berriot
7cfa61292a
See #248 : can now filter on invitation status and delete invitations
2018-06-21 19:51:26 +02:00
Eliot Berriot
7b0148a533
Fixed broken import
2018-06-21 19:51:25 +02:00
Eliot Berriot
bf8b143700
See #248 : better structure for action serializers
2018-06-21 19:51:24 +02:00
Eliot Berriot
107b1ea7dc
See #248 : can now generate and list invitations in the front-end
2018-06-21 19:51:24 +02:00
Eliot Berriot
d18f98e0f8
See #248 : can now sign up using invitation code
2018-06-21 19:29:00 +02:00
Eliot Berriot
789bef38cb
See #248 : model / migration
2018-06-21 19:28:59 +02:00
Renon
7f16491525
Merge branch '242-nargs-import' into 'develop'
...
Resolve "Make the import command accept unlimited argument"
Closes #242
See merge request funkwhale/funkwhale!261
2018-06-21 17:21:25 +00:00
RenonDis
3a2e6c3b6d
Fix #242 : can now provide multiple paths at once when importing
2018-06-21 17:45:18 +02:00
Eliot Berriot
8636b456a8
See #212 : user detail profile
2018-06-19 20:11:40 +02:00
Eliot Berriot
3ef5f29dd3
See #212 : API viewset
2018-06-19 18:48:43 +02:00
Eliot Berriot
2e4f862387
See #212 : record user last activity date
2018-06-17 17:53:40 +02:00
Eliot Berriot
cb1957a961
Version bump and changelog for 0.14.2
2018-06-16 15:04:49 +02:00
Eliot Berriot
98e3bb9cfc
Fix #311 : Ensure radios can only be edited and deleted by their owners
2018-06-16 14:47:34 +02:00
Eliot Berriot
ed305a2c7c
Fixed broken configure
2018-06-10 18:59:40 +02:00
Eliot Berriot
031784556f
Fixed #295 : broken pagination in Subsonic API
2018-06-10 13:34:15 +02:00
Eliot Berriot
77c0b2b1a2
See #297 : added black as a local dependency, more verbose check in CI
2018-06-10 12:13:02 +02:00
Eliot Berriot
d17ceec1f0
See #297 : linting of various, uncommon errors
2018-06-10 12:06:46 +02:00
Eliot Berriot
ab80dffeea
See #297 : sorted config imports
2018-06-10 11:29:24 +02:00
Eliot Berriot
799386c2b6
See #297 : removed a lot of unused variables
2018-06-10 11:27:38 +02:00
Eliot Berriot
9bea804f14
See #297 : sorted imports
2018-06-10 10:55:16 +02:00
Eliot Berriot
9427f8b56e
See #297 : removed unused imports
2018-06-10 10:39:47 +02:00
Eliot Berriot
639882bd34
See #297 : removed unused variables
2018-06-09 17:41:59 +02:00
Eliot Berriot
62ca3bd736
Blacked the code
2018-06-09 15:36:16 +02:00
Eliot Berriot
73785d451c
Version bump and changelog for 0.14.1
2018-06-06 22:03:36 +02:00
Eliot Berriot
bbae4e323b
Fix #288 : Huge performance boost during CLI import that queries MusicBrainz
2018-06-06 21:45:38 +02:00
Eliot Berriot
9d9676aa17
Fix #237 : Do not crash when importing track with an artist that do not match the release artist
2018-06-06 21:41:38 +02:00
Eliot Berriot
33ae51fc91
Merge branch '274-logging' into 'develop'
...
Resolve "Broken logging formatting in import task"
Closes #274 and #278
See merge request funkwhale/funkwhale!233
2018-06-05 18:55:17 +00:00
Eliot Berriot
b7295382e7
Fix #274 : Broken logging statement during import error
2018-06-05 20:52:03 +02:00
Eliot Berriot
7c47348855
Fix #267 : Do not crash when tag contains multiple uuids with a / separator
2018-06-05 19:44:00 +02:00
Eliot Berriot
a16bd2a409
Merge branch '273-fix-mimetypes' into 'develop'
...
Resolve "Update file_track_files command to handle bad mimetypes"
Closes #273
See merge request funkwhale/funkwhale!226
2018-06-03 17:00:54 +00:00
Eliot Berriot
18ad6cfa78
Fix #273 : fix_track_files will now update files with bad mimetype
2018-06-03 18:57:35 +02:00
Eliot Berriot
36a0a4df4f
Removed transcoding support ( #271 )
2018-06-03 18:33:28 +02:00
Eliot Berriot
5afc3e4637
Fix #266 : Ensure we do not store bad mimetypes
2018-06-03 18:07:59 +02:00
Eliot Berriot
73bde2fc9e
Version bump and changelog for 0.14
2018-06-02 18:11:15 +02:00
Eliot Berriot
290cae9a8f
Fix #231 and #219 : ensure we import covers regarless of the import method
...
Can now import covers from track metadata and track directory as well
2018-06-02 17:34:46 +02:00
Eliot Berriot
14c8073e26
Ensure we can serve images securely locally
2018-06-02 09:17:32 +02:00
Eliot Berriot
5ebaa884c1
Send proper activity when listening is created through subsonic API
2018-06-02 00:11:31 +02:00
Eliot Berriot
0f792bf75c
Fix #260 : Implemented scrobble endpoint of subsonic API
2018-06-01 23:59:08 +02:00
Eliot Berriot
8d50743b3b
Fix #258 : Implemented getCovertArt in Subsonic API to serve album covers
2018-06-01 08:42:05 +02:00
Eliot Berriot
218a92547e
Merge branch '223-management-interface' into 'develop'
...
Resolve "Add a management interface for artists/albums/tracks"
Closes #223 and #241
See merge request funkwhale/funkwhale!216
2018-05-29 21:28:32 +00:00
Eliot Berriot
540c6fb583
Fixed #240 : ignored page_size paremeter on artist and favorites list
2018-05-29 23:21:03 +02:00
Eliot Berriot
dcd150a1f1
See #223 : fixed failing test
2018-05-29 22:54:53 +02:00
Eliot Berriot
1737a75d4e
See #223 : reflect new possibilities of library permission in help text
2018-05-29 22:36:47 +02:00
Eliot Berriot
256d98b77d
See #223 : delete actions is now dangerous anc cannot be applied to all files
2018-05-29 22:22:51 +02:00
Eliot Berriot
7b84a988fd
See #223 : dangerous actions can now prevent executing an action on all objects
2018-05-29 21:55:00 +02:00
Eliot Berriot
c7782693bc
See #223 : api for listing/managing library files
2018-05-29 00:07:20 +02:00
Eliot Berriot
2569f136b7
Fix #241 : autoremove media files on model instance deletion
2018-05-28 22:17:36 +02:00
Eliot Berriot
d2c99b9f5d
Merge branch '220-fix-mp3-track-numbers' into 'develop'
...
Resolve "Track numbers from mp3 don't get imported"
Closes #220
See merge request funkwhale/funkwhale!214
2018-05-26 11:40:25 +00:00
David Magnus Henriques
8790631a65
Removed Typo which broke oggVorbis-import
2018-05-26 13:23:08 +02:00
David Magnus Henriques
e478bb923e
Improved Unit test
...
The tracknumber and the compilation number are now not identical
anymore
2018-05-26 13:16:20 +02:00
David Magnus Henriques
06a5ee939a
Changed ID3Tag for Track-Number to TRCK
...
Until now the ID3Tag for the Track-Number was read from TPOS.
The Problem is, that TPOS is the part of the set (eg disc number)
and not the track-number. TRCK is the correct tag for the track
number.
Fixes #220
2018-05-26 13:06:40 +02:00
Eliot Berriot
a9799e66d7
See #236 : backend for users default permissions
2018-05-26 12:45:55 +02:00
Eliot Berriot
2ef36928c6
See #236 : added a basic string list preference
2018-05-26 12:45:16 +02:00
Eliot Berriot
c6cd3abf9d
Merge branch '229-anonymous-access' into 'develop'
...
Resolve "Ensure anonymous users can listen to music if instance is configured accordingly"
Closes #229
See merge request funkwhale/funkwhale!211
2018-05-24 20:52:40 +00:00
Eliot Berriot
8d55040e9e
See #230 : users with upload permission can now launch import and manage their own imports
2018-05-24 22:39:43 +02:00
Eliot Berriot
dfb4f5f62a
See #230 : can now use "or" operator to check permissions
2018-05-24 22:38:26 +02:00
Eliot Berriot
ed6c1a9a5b
See #230 : added an upload permission on user model
2018-05-24 22:37:41 +02:00
Eliot Berriot
2586444db2
Fix #229 : removed last hardcoded settings to protect audio files
2018-05-24 21:34:59 +02:00
Eliot Berriot
9c02954e46
Merge branch 'action-tables' into 'develop'
...
Action table component / implementation on federation library tracks
Closes #164 and #228
See merge request funkwhale/funkwhale!210
2018-05-24 19:11:33 +00:00
Eliot Berriot
eded32c2e8
See #228 : more performante federation import launch via API
2018-05-24 18:53:12 +02:00
Eliot Berriot
4f8db661fa
See #228 : now expose library track status in API
2018-05-24 18:33:40 +02:00
David Magnus Henriques
7ae90305e3
Added test for OggTheora Import
2018-05-23 23:33:19 +02:00
David Magnus Henriques
83738e4e04
Reading the musicBrainz-Id-Fields from correct field
2018-05-23 23:32:28 +02:00
EorlBruder
dc76283ebb
Added OggTheora Metadata
...
OggTheora wasn't support up until now. Now the config is there and the
import works
fixes #216
2018-05-23 22:23:59 +02:00
Eliot Berriot
ba4b6f6ba6
See #228 : now use our new action logic for library track import
2018-05-23 21:50:23 +02:00
Eliot Berriot
f1a1b93ee5
See #228 : serializer logic
2018-05-23 19:52:47 +02:00
Eliot Berriot
b36ed8a699
Merge branch '214-flac-no-mbid' into 'develop'
...
Resolve "Flac import fails if no MusicBrainz-ID present"
Closes #214
See merge request funkwhale/funkwhale!208
2018-05-22 21:57:44 +00:00
Eliot Berriot
01ea6562a6
Fix #214 : Do not crash on flac import if musicbrainz tags are missing
2018-05-22 23:53:45 +02:00
Eliot Berriot
47cc2a3920
Fix #179 : fixed broken ordering in front-end lists
2018-05-22 23:30:37 +02:00
Eliot Berriot
54008aa37c
Merge branch '224-music-api' into 'develop'
...
Resolve "Better API for artists/album/tracks"
Closes #224 and #226
See merge request funkwhale/funkwhale!205
2018-05-22 21:04:09 +00:00
Eliot Berriot
a8baf8fa67
See #224 : updated front-end with new music API
2018-05-22 22:22:53 +02:00
Eliot Berriot
857fab526d
See #224 : less clutered music API, better serializers
2018-05-22 21:10:48 +02:00
Eliot Berriot
7b71463ef8
Removed acoustid support, as the integration was buggy and error-prone ( #106 )
2018-05-21 20:55:44 +02:00
Eliot Berriot
ae00cccf14
Fix #207 : Consistent constraints/checks for URL size
2018-05-21 19:04:28 +02:00
Eliot Berriot
f91ec0c810
Upgraded to django-allauth 0.36
2018-05-21 18:46:39 +02:00
Eliot Berriot
fc48e16e65
Fix #218 : Ensure inactive users cannot get auth tokens
2018-05-21 18:45:39 +02:00
Eliot Berriot
d299964c99
0.13: Version bump and changelog
2018-05-19 11:43:19 +02:00
Eliot Berriot
ac7db73785
See #152 : added management command to execute one-time migration scripts
2018-05-18 22:18:03 +02:00
Eliot Berriot
a57d975183
See #152 : updated admin interface
2018-05-18 22:18:02 +02:00
Eliot Berriot
6fc4275b68
See #152 : use new user permissions on relevant viewsets
2018-05-18 18:48:46 +02:00
Eliot Berriot
ff65a4b935
See #152 : added permission fields on user model and corresponding API permission
2018-05-18 18:47:35 +02:00
Eliot Berriot
e7619fd189
See #206 : minor tweaks on settings (wording, input type...)
2018-05-17 23:40:06 +02:00
Eliot Berriot
13c5219d71
See #206 : added API endpoint for managing settings
2018-05-17 23:39:34 +02:00
Eliot Berriot
6608a3153d
Merge branch '200-private-nodeinfo' into 'develop'
...
Resolve "Add a "private" property on nodeinfo"
Closes #200
See merge request funkwhale/funkwhale!198
2018-05-17 18:21:18 +00:00
Eliot Berriot
1974c17e76
Fix #200 : Instances can now indicate on the nodeinfo endpoint if they want to remain private
2018-05-16 22:24:05 +02:00
Eliot Berriot
e852c84007
Fix #197 : .well-known/nodeinfo endpoint can now answer to request with Accept: application/json
2018-05-16 22:10:11 +02:00
Eliot Berriot
a28078753b
See #195 : no update track information when fetching track from federation
2018-05-16 18:55:09 +02:00
Eliot Berriot
3290a15c88
See #195 : expose bitrate, size and duration in subsonic API
2018-05-15 22:46:01 +02:00
Eliot Berriot
8994326634
See #195 : expose bitrate, duration and size in AP audio representations
2018-05-15 22:01:53 +02:00
Eliot Berriot
4b21128e46
See #195 : fix_track_files command can now recompute size, bitrate and duration
2018-05-15 22:01:53 +02:00
Eliot Berriot
af82111ade
Missing select related on trackfile viewset
2018-05-15 22:01:53 +02:00
Eliot Berriot
1bc4ceab9e
See #195 : set bitrate, duration and size when importing file
2018-05-15 22:01:52 +02:00
Eliot Berriot
7425a8ea4d
See #195 : added bitrate and size fields on track file
2018-05-15 22:01:52 +02:00
Eliot Berriot
3415d02028
Fixed wrong mimetype for flac files
2018-05-15 22:01:52 +02:00
Eliot Berriot
b3a6c6d77f
Merge branch '205-html-renderer' into 'develop'
...
Resolve "Disable HTML API renderer in production"
Closes #205
See merge request funkwhale/funkwhale!195
2018-05-15 17:10:04 +00:00
Eliot Berriot
155a40e296
Fixed #205 : Disabled browsable HTML API in production
2018-05-15 19:06:08 +02:00
Eliot Berriot
5abac103c4
Merge branch '204-missing-dot' into 'develop'
...
Resolve "Missing dot in file name when downloading file"
Closes #204
See merge request funkwhale/funkwhale!194
2018-05-15 17:04:35 +00:00
Eliot Berriot
6e168a54ec
Fix #204 : missing dot when downloading file
2018-05-15 19:01:49 +02:00
Eliot Berriot
8a321d4abe
Fix #201 : escaping issue of track name in playlist modal
2018-05-15 18:37:44 +02:00
Eliot Berriot
ce92747d89
Fix #157 : Can now import and play flac files
...
If you ever need an empty flac file with metadata again:
1. Get a flac file (like https://archive.org/download/NineInchNailsTheSlip24bit96khz/01999999.flac )
2. Tag it with Musicbrainz Picard
3. Truncate it, keeping only tags with `ffmpeg -i in.flac -ss 0 -to 0.001 out.flac`
Thanks @HgO for the trick!
2018-05-15 18:20:24 +02:00
Eliot Berriot
2f44dd0eb7
Merge branch '199-disabled-play' into 'develop'
...
Resolve "Unplayable tracks are not disabled in the interface"
Closes #199
See merge request funkwhale/funkwhale!191
2018-05-13 11:38:11 +00:00
Eliot Berriot
2f5a13a339
Fix #199 : unplayable tracks are now properly disabled in the interface
2018-05-12 10:52:58 +02:00
Eliot Berriot
6f79dd475d
Now return proper error payload on subsonic API
2018-05-12 10:52:58 +02:00
Eliot Berriot
9c9f6708a3
Merge branch '196-fix-filepath-encoding' into 'develop'
...
Resolve "404 for files with special utf-8-chars"
Closes #196
See merge request funkwhale/funkwhale!189
2018-05-12 08:26:02 +00:00
Eliot Berriot
1937b81699
Fix #196 : In-place imported tracks non-ascii characters don't break reverse-proxy serving
2018-05-10 18:52:00 +02:00
Eliot Berriot
190a4357dc
Fix #198 : Removed Python 3.6 dependency (secrets module)
2018-05-10 16:45:45 +02:00
David Magnus Henriques
023c6f6f5e
Encode the Filepath utf-8
...
The filepath of a track gets broken when it contains special
UTF-8-characters. Encoding it UTF-8 fixes this behaviour.
2018-05-10 13:24:26 +02:00
Eliot Berriot
0997aa4b25
0.12 Version bump and changelog
2018-05-09 23:45:14 +02:00
Eliot Berriot
805f9c6bbc
Merge branch '75-subsonic-api' into 'develop'
...
Resolve "Implement the subsonic API"
Closes #75
See merge request funkwhale/funkwhale!188
2018-05-09 21:27:57 +00:00
Eliot Berriot
12638e1d82
Updated demo script
2018-05-09 23:24:51 +02:00
Eliot Berriot
24cb1d9519
See #75 : user can now manage the Subsonic API token from their settings page
2018-05-09 22:18:33 +02:00
Eliot Berriot
7595936260
See #75 : added a preference do enable/disable the subsonic API on the instance level
2018-05-09 22:13:04 +02:00
Eliot Berriot
67dc414c8a
See #75 : music direcory and indexes endpoints
2018-05-09 20:32:17 +02:00
Eliot Berriot
7c85d1ca81
See #75 : can now add multiple tracks to a playlist on creation and update
2018-05-09 20:31:47 +02:00
Eliot Berriot
1674ad919f
See #75 : implemented subsonic playlist API endpoints
2018-05-08 23:06:47 +02:00
Eliot Berriot
7e9320fc1c
Queryset methods for playlists
2018-05-08 23:06:29 +02:00
Eliot Berriot
e31099ef33
See #75 more subsonic api endpoints (star, unstar, search...)
2018-05-08 21:22:52 +02:00
Eliot Berriot
40cde0cd92
Queryset methods on artist/albums
2018-05-08 21:21:52 +02:00
Eliot Berriot
bbd273404a
See #75 : initial subsonic implementation that works with http://p.subfireplayer.net
2018-05-08 16:32:07 +02:00
Eliot Berriot
9682299480
See #75 : dedicated token for subsonic API access
2018-05-08 16:31:19 +02:00
Eliot Berriot
2ef8723485
Merge branch '192-nodeinfo' into 'develop'
...
Resolve "Use nodeinfo schema for instance statistics"
Closes #192
See merge request funkwhale/funkwhale!187
2018-05-08 07:03:47 +00:00
Eliot Berriot
cdc8388118
See #192 : renamed name to nodeName, and include anonymousCanListen value as well
2018-05-08 09:01:02 +02:00
Eliot Berriot
095b70db4b
See #192 : use proper content type for nodeinfo endpoint
2018-05-07 23:29:07 +02:00
Eliot Berriot
a679f48fcf
See #192 : removed useless localPosts and localComments
2018-05-07 23:26:48 +02:00
Eliot Berriot
d88b7869fe
See #192 : added .well-known/nodeinfo endpoint
2018-05-07 22:28:46 +02:00
Eliot Berriot
6ff8c2c8da
See #192 : use nodeinfo/2.0 namespace to be future proof
2018-05-07 22:28:21 +02:00
Eliot Berriot
b4ad7a4a71
See #192 : replaced old stats endpoint with nodeinfo
2018-05-07 22:09:03 +02:00
Eliot Berriot
23d21b0fdb
Fix #193 : broken federated import
2018-05-07 19:22:09 +02:00
Eliot Berriot
7908ae3942
Version bump and changelog
2018-05-06 16:24:12 +02:00
Eliot Berriot
82f5dc20f3
Documentation for missing DEFAULT_FROM_EMAIL setting
2018-05-06 16:23:23 +02:00
Eliot Berriot
bc2c9950e3
Fix #189 : federation cache should now delete properly, including orphaned files
2018-05-06 15:36:49 +02:00
Eliot Berriot
f343159856
Added an accessed_date field on TrackFile for easier cache deletion ( #189 )
2018-05-06 15:36:18 +02:00
Eliot Berriot
4a7105ae7e
Fix #187 : documentation and changelog for email configuration
2018-05-06 13:48:23 +02:00
Eliot Berriot
44ebb92874
See #187 : Front logic for password reset and email confirmation
2018-05-06 12:50:53 +02:00
Eliot Berriot
3b9024129d
See #187 : Front logic for password reset
2018-05-06 11:30:52 +02:00
Eliot Berriot
22f0b1a2d8
See #187 : API logic for password reset
2018-05-06 11:30:41 +02:00
Eliot Berriot
929b50183a
Now reset cookie on profile fetch, to avoid CSRF bugs
2018-05-06 11:21:36 +02:00
Eliot Berriot
4325b1be4f
Removed radios and listening recording for anonymous users as it was buggy
2018-05-06 11:18:28 +02:00
Eliot Berriot
9ec47f1ec9
Added dosctrings to fixtures
2018-04-28 18:39:48 +02:00
Eliot Berriot
29645aab1d
Added documentation page on how to reduce memory usage.
2018-04-28 16:17:29 +02:00
Eliot Berriot
7ad21b7d25
Fix #186 : moved high-level settings to database preferences
2018-04-28 12:28:13 +02:00
Eliot Berriot
a3b2125d2a
See #186 : moved api authentication required setting to preference
2018-04-28 06:11:50 +02:00
Eliot Berriot
6100b106c0
See #186 : moved federation settings to preferences
2018-04-28 05:55:21 +02:00
Eliot Berriot
7222f7b710
See #186 : moved PLAYLISTS_MAX_TRACKS to playlists__max_tracks
2018-04-28 05:30:23 +02:00
Eliot Berriot
aa3da412a7
#186 : common utils for moving settings to preferences
2018-04-28 05:28:51 +02:00
Eliot Berriot
f4899c5387
Fix #176 : Can now relaunch erored jobs and batches
2018-04-28 04:59:47 +02:00
Eliot Berriot
6dcde77b1e
Avoid fetching Actor object on every request authentication
2018-04-28 00:25:47 +02:00
Eliot Berriot
42a2ffbf24
Fix #109 : List pending requests by default, added a status filter for requests
2018-04-27 22:23:25 +02:00
Eliot Berriot
7d3da3d757
Added a fix_track_files command to run checks and fixes against library ( #183 )
2018-04-27 21:11:20 +02:00
Eliot Berriot
3d6f0b8b2c
Fix #183 : ensure in place imported files get a proper mimetype
2018-04-27 21:10:35 +02:00
Eliot Berriot
99ff8169fc
Merge branch '178-api-documentation' into 'develop'
...
Resolve "Document important API features"
Closes #178
See merge request funkwhale/funkwhale!166
2018-04-26 16:29:44 +00:00
Eliot Berriot
c4777532eb
Bundle swagger docs with sphinx docs
2018-04-26 18:22:47 +02:00
Eliot Berriot
d2c2fb837e
Now support Bearer auth in complement of JWT
2018-04-26 15:17:51 +02:00
Eliot Berriot
2477aa31f9
Initial swagger setup
2018-04-26 14:30:26 +02:00
Eliot Berriot
472e9f7605
Added q filter on artists
2018-04-26 14:26:01 +02:00
Eliot Berriot
a49d3b4251
Fixed #182 : X-sendfile not working with in-place imports
2018-04-25 18:50:06 +02:00
Eliot Berriot
7e8972a3b0
Version bump and Changelog
2018-04-23 19:44:38 +02:00
Eliot Berriot
300e24dbde
Ensure we return correct paths when using Apache as a reverse proxy
2018-04-22 16:34:07 +02:00
Eliot Berriot
ad43d160bd
Merge branch '171-import-jobs' into 'develop'
...
Resolve "Dedicated API endpoint for import jobs"
Closes #171
See merge request funkwhale/funkwhale!156
2018-04-22 13:20:07 +00:00
Eliot Berriot
6a67bc6fac
Fix #171 : dedicated endpoint to list import jobs, updated front-end
2018-04-22 15:17:06 +02:00
banana
0f7de68f0d
Update common.py to add USE_APACHE_HEADERS set to false
...
Update views.py to modify headers depending on Nginx or Apache
Update common.py with future proof REVERSE_PROXY_TYPE setting
Update views.py to adapt headers based on REVERSE_PROXY_TYPE
Update views.py, typo on apache
2018-04-22 15:11:04 +02:00
Eliot Berriot
93c57f08f9
Fixed broken youtube-dl import
2018-04-22 12:10:32 +02:00
Eliot Berriot
84c3b531ad
Pinned oauthlib2 version to prevent when fetching youtube data
2018-04-22 11:27:26 +02:00
Eliot Berriot
f4ac0b2d3f
Serve view can now serve in-place imported files
2018-04-21 18:21:15 +02:00
Eliot Berriot
58fced2640
updated import_task to support in place import
2018-04-21 18:20:56 +02:00
Eliot Berriot
de754b835e
Updated CLI to support in-place import
2018-04-21 18:16:43 +02:00
Eliot Berriot
a8bf44a494
Added dedicated settings to manage in-place import
2018-04-21 18:15:29 +02:00
Eliot Berriot
0d3eb96bec
Fixed failing tests
2018-04-21 16:33:15 +02:00
Eliot Berriot
3f3d6d88d6
Make music directory configurable in development
2018-04-21 16:16:43 +02:00
Eliot Berriot
1672230f39
More verbose/robust import_files command, also skips existing files
2018-04-21 16:16:43 +02:00
Eliot Berriot
d98c33e5ed
More efficient SQL query to compute import batch status
2018-04-21 16:02:11 +02:00
Eliot Berriot
e29cfb7301
Smarted UUID validation on metadata
2018-04-21 16:01:42 +02:00
Eliot Berriot
2be46b3320
Fix #142 : Increased max_length on TrackFile.source
2018-04-19 22:25:58 +02:00
Eliot Berriot
ced851891d
Fix #163 : Avoid downloading audio files multiple times from remote libraries
2018-04-19 21:19:40 +02:00
Eliot Berriot
c29a96f244
Fail graciously when AP representation includes a null_value for mediaType
2018-04-18 00:08:31 +02:00
Eliot Berriot
eb275b7e08
Version bump and changelog
2018-04-17 23:20:32 +02:00
Eliot Berriot
f55d2b6c9d
Updated tests
2018-04-17 23:10:46 +02:00
Eliot Berriot
c17f7eefde
Ensure follower is approved to access library
2018-04-17 23:08:15 +02:00
Eliot Berriot
899ba31162
Do not fail on library page scan if one item is invalid
2018-04-17 22:58:43 +02:00
Eliot Berriot
14cadce4a6
Allow null values for musicbrainz_id in Audio ActivityPub representation
2018-04-17 21:49:11 +02:00
Eliot Berriot
dd97a9b488
Version bump and changelog
2018-04-17 21:26:58 +02:00
Eliot Berriot
a37183f57e
Additional celery beat systemd unit file
2018-04-17 21:26:35 +02:00
Eliot Berriot
5fee42f896
Can now filter by import status on library tracks
2018-04-17 20:03:31 +02:00
Eliot Berriot
f31874edf5
Implemented followers notification on import and autoimport
2018-04-17 19:35:57 +02:00
Eliot Berriot
adcbe8852d
Tmpfile fixture
2018-04-17 19:35:57 +02:00
Eliot Berriot
5ee1f18089
Fixed failing api test
2018-04-15 11:25:35 +02:00
Eliot Berriot
fc09a3b320
Can now accept/deny follow requests
2018-04-15 11:25:35 +02:00
Eliot Berriot
ca02aca327
Ensure follower is approved for listening
2018-04-15 11:25:35 +02:00
Eliot Berriot
9b4d7165b7
Added federation libraries list, moved scan to a dedicate view
2018-04-15 11:25:34 +02:00
Eliot Berriot
c20e4d7c9a
Added task to delete unused cached files
2018-04-15 11:25:34 +02:00
Eliot Berriot
6a04779125
Will now fetch and cache federated tracks
2018-04-15 11:25:34 +02:00
Eliot Berriot
3a31248a3d
Can now import library tracks from front-end
2018-04-15 11:25:34 +02:00
Eliot Berriot
2cef58e6c1
Can now search in library tracks
2018-04-15 11:25:34 +02:00
Eliot Berriot
57bf43bb96
API Endpoint to list lirary tracks
2018-04-15 11:25:33 +02:00
Eliot Berriot
bdf9347917
Fixed serialization error
2018-04-15 11:25:33 +02:00
Eliot Berriot
64e88b83f7
Deliver is now a proper celery task
2018-04-15 11:25:33 +02:00
Eliot Berriot
2a4ce0a48c
ActorSerializer is not a modelserializer anymore
2018-04-15 11:25:33 +02:00
Eliot Berriot
dda1cd2531
Added scan endpoint to trigger a scan for a library
2018-04-15 11:25:33 +02:00
Eliot Berriot
077a17b093
Scan task can now handle until
2018-04-15 11:25:33 +02:00
Eliot Berriot
520fb9d078
Started work on library scanning
2018-04-15 11:25:33 +02:00
Eliot Berriot
472cc7e26a
Detail library view with settings update
2018-04-15 11:25:32 +02:00
Eliot Berriot
f4f75dcb4f
Can now scan and follow library from front-end
2018-04-15 11:25:32 +02:00
Eliot Berriot
fe7ca088c5
Library list endpoint
2018-04-15 11:25:32 +02:00
Eliot Berriot
e82a53da35
Added API endpoints to list library followees and followers
2018-04-15 11:25:32 +02:00
Eliot Berriot
3caa03aedf
use a dedicated serializer to handle library creation
2018-04-15 11:25:32 +02:00
Eliot Berriot
0b2fe8439a
Removed too complex FollowRequest model, we now use an aproved field on Follow
2018-04-15 11:25:32 +02:00
Eliot Berriot
c97db31cb1
Include following state in scan payload
2018-04-15 11:25:32 +02:00
Eliot Berriot
f0ef9ea561
Better error handling during scan
2018-04-15 11:25:31 +02:00
Eliot Berriot
238d849298
Can now disable SSL cerification for external requests
2018-04-15 11:25:31 +02:00
Eliot Berriot
6c0a43a0ea
We can now work on federation locally thank to traefik
2018-04-15 11:25:31 +02:00
Eliot Berriot
097707dec4
Added remote library scanning logic end endpoint
2018-04-15 11:24:47 +02:00
Eliot Berriot
836e813955
Typo in test name
2018-04-15 11:24:47 +02:00
Eliot Berriot
92fa348eac
Federation model admin
2018-04-15 11:24:47 +02:00
Eliot Berriot
206ae296b6
Ensure timeout in requests
2018-04-15 11:24:47 +02:00
Eliot Berriot
b8c7e960c3
Now validate incoming webfinger
2018-04-15 11:24:47 +02:00
Eliot Berriot
314587e2eb
Fixed pagination issue
2018-04-15 11:24:46 +02:00
Eliot Berriot
514e48d3fe
Library can now automatically accept follows
2018-04-15 11:24:46 +02:00
Eliot Berriot
4320fc77b2
Added validation on collection serializers
2018-04-15 11:24:46 +02:00
Eliot Berriot
33972f1f40
Fixed broken uuid migration
2018-04-15 11:24:46 +02:00
Eliot Berriot
6bf4d46362
Ensure we don't duplicate libray tracks
2018-04-15 11:24:46 +02:00
Eliot Berriot
e19fbf5436
Exclude federated files from library endpoint
2018-04-15 11:24:46 +02:00
Eliot Berriot
b5ff339efa
We now use a proper user agent including instance version and url during outgoing requests
2018-04-07 16:20:34 +02:00
Eliot Berriot
99200ad077
Merge branch 'federation-follow-request' into 'develop'
...
Federation follow request
See merge request funkwhale/funkwhale!123
2018-04-07 13:55:53 +00:00
Eliot Berriot
bf70fa1f53
Removed now useless private and public keys preferences
2018-04-07 15:53:10 +02:00
Eliot Berriot
e10a82060d
Ensure we delete existing actors to reset private and public keys
2018-04-07 15:39:17 +02:00
Eliot Berriot
9612b1bace
Can now serve track from remote library
2018-04-07 15:34:35 +02:00
Eliot Berriot
b29ca44797
Now store remote library tracks in a dedicated model, this is much simpler
2018-04-07 11:29:40 +02:00
Eliot Berriot
f273faf9de
Added Library model to have more granular federation management
2018-04-06 18:49:29 +02:00
Eliot Berriot
a03f0ffea5
We now have a library browsable via activitypub
2018-04-06 17:59:06 +02:00
Eliot Berriot
393110a7f0
Serializers for paginated collections
2018-04-06 17:58:43 +02:00
Eliot Berriot
4ce9f9bf08
Dedicated permission to access library data via activity pub
2018-04-06 17:58:16 +02:00
Eliot Berriot
b75872866c
Util function to manipulate url params
2018-04-06 17:57:50 +02:00
Eliot Berriot
8db832f03b
Now store source AP track file on track_file
2018-04-06 15:20:53 +02:00
Eliot Berriot
04d710e690
Library can now receive import info from followed instances
2018-04-06 14:53:57 +02:00
Eliot Berriot
80206761a3
Easy and resusable Audio and AudioCollection serializer
2018-04-06 14:33:13 +02:00
Eliot Berriot
679adfe156
See #126 : Added uuid field to all music models
2018-04-06 13:17:26 +02:00
Eliot Berriot
87daa81762
More factories
2018-04-05 23:27:19 +02:00
Eliot Berriot
feab0f98ba
Spaces > Tabs
2018-04-05 23:27:03 +02:00
Eliot Berriot
363acca53d
AudioCollection to import job and track file creation
2018-04-05 23:26:41 +02:00
Eliot Berriot
4d6e894b62
AudioCollection to import job and track file creation
2018-04-05 23:22:28 +02:00
Eliot Berriot
1ca4505e2f
Incremented version number
2018-04-05 16:05:45 +00:00
Eliot Berriot
e0dcb87f15
Follow request approve/refuse logic
2018-04-04 23:12:41 +02:00
Eliot Berriot
cb9309c298
Factorized undo follow
2018-04-04 22:40:57 +02:00
Eliot Berriot
d8f86c4fce
Factorized follow logic between system actors, Library can now accept follows
2018-04-04 19:38:55 +02:00
Eliot Berriot
b833a11fb6
FollowRequest model
2018-04-04 19:38:28 +02:00
Eliot Berriot
3ad1fe17d5
Test bot can now unfollow
2018-04-03 23:25:44 +02:00
Eliot Berriot
81e7f03f77
Now persist actors in database during auth
2018-04-03 23:25:22 +02:00
Eliot Berriot
657bd4b01a
Follow serializer
2018-04-03 23:24:51 +02:00
Eliot Berriot
f19418d2c2
Added follow model and factory
2018-04-03 21:30:15 +02:00
Eliot Berriot
6aa6f1d8f8
Test actor can now follow back
2018-04-03 19:48:50 +02:00
Eliot Berriot
2f6d3ae180
Ensure unicity on actor username and domain
2018-04-03 18:35:08 +02:00
Eliot Berriot
168c4e7d53
system_conf property on Actor instances
2018-04-03 17:36:03 +02:00
Eliot Berriot
a81c92dbf5
Additional setting to control wether music library federation needs approval
2018-04-02 22:43:59 +02:00
Eliot Berriot
48df30dbd8
We now persist system accounts to database
2018-04-02 22:12:28 +02:00
Eliot Berriot
39c5245c1b
Fix #148 : User admin now includes signup and last login dates
2018-04-02 21:08:59 +02:00
Eliot Berriot
28700270bd
Removed factory import
2018-04-02 19:46:25 +02:00
Eliot Berriot
7bb15a3aa1
Merge branch 'federation-inbox' into 'develop'
...
Federation inbox
See merge request funkwhale/funkwhale!121
2018-04-02 17:28:53 +00:00
Eliot Berriot
77c6bd5839
Fixed failing test
2018-04-02 19:15:27 +02:00
Eliot Berriot
a252051351
PoC with receiving /ping from Mastodon and replying pong
2018-04-02 18:07:46 +02:00
Eliot Berriot
3cf1a17087
We are now able to receive a toot and react to it
2018-04-01 22:11:46 +02:00
Eliot Berriot
6fbf8fa44c
Actor factory and fixture
2018-04-01 10:17:06 +02:00
Eliot Berriot
3650c3699b
Minor tweaks (logs, exceptions)
2018-03-31 18:41:53 +02:00
Eliot Berriot
741ab533b1
Added proper header when querying activity pub actor
2018-03-31 18:41:35 +02:00
Eliot Berriot
ee0341ba1a
Ensure we truncate summary
2018-03-31 18:41:15 +02:00
Eliot Berriot
f526f0c1fe
More flexible auth signature factory
2018-03-31 18:41:03 +02:00
Eliot Berriot
e1ebd4988b
Fixed inconsistencies between test and prod requests
2018-03-31 18:40:41 +02:00
Eliot Berriot
de777764da
Fake_request fixture for django requests
2018-03-31 18:39:54 +02:00
Eliot Berriot
b5a4b2ca6a
Added signature authentication on activitypub view
2018-03-31 18:39:32 +02:00
Eliot Berriot
46d40c7ffa
Util function to convert django meta to proper headers
2018-03-31 18:39:10 +02:00
Bat
c4991796e9
Add some pagination to radio details
2018-03-31 16:40:55 +01:00
Eliot Berriot
99e7e98bae
Fixed broken dev entrypoint
2018-03-31 16:25:23 +02:00
Eliot Berriot
703d70d544
Use absolute urls
2018-03-31 15:57:29 +02:00
Eliot Berriot
0c8faf83c5
Can now have multiple system actors
...
We also handle webfinger/activity serialization properly
2018-03-31 15:47:21 +02:00
Eliot Berriot
6c3b7ce154
More reserved usernames
2018-03-31 15:44:46 +02:00
Eliot Berriot
2b9a5ffe18
ActivityPub Actor model
2018-03-31 15:44:35 +02:00
Eliot Berriot
22370d1b2c
Use pytest-env plugin to manage test settings instead of settings file
2018-03-31 14:45:11 +02:00
Bat
85aef4422a
Add a detail page for radios
2018-03-31 12:59:45 +01:00
Eliot Berriot
c63b7f929d
Use own requests-http-signing to be compatible with Signature header
2018-03-30 21:59:58 +02:00
Eliot Berriot
74945759cc
Switched from Service to Person for actor representation
2018-03-30 18:34:23 +02:00
Eliot Berriot
abca719d16
More fields on instance actor repr
2018-03-30 18:02:50 +02:00
Eliot Berriot
d8b74b9556
Proper federation namespace and prefix
2018-03-30 18:02:14 +02:00
Eliot Berriot
4487eb4cca
Ensure cache cleaning in preferences fixture
2018-03-30 18:01:52 +02:00
Eliot Berriot
cde8732dfa
Use proper renderers for activity pub / webfinger
2018-03-29 23:29:56 +02:00