Eliot Berriot
81349e2b57
Fix #865 : Performance optimization on /artists, /albums and /tracks endpoints
2019-09-24 09:48:04 +02:00
Eliot Berriot
94ee3c4360
Fixed unkwown typo :D
2019-09-23 11:30:37 +02:00
Eliot Berriot
921317a217
Implemented missing getSongsByGenre subsonic endpoint
2019-09-19 21:09:18 +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
c9a9615be8
See #890 : web UI and email notifications on new reports
2019-09-13 06:09:48 +02:00
Eliot Berriot
e133130176
Playlist embed
2019-09-12 09:48:28 +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
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
be0b120cea
Ensure we can transcode from video/ogg files too
2019-07-25 15:43:46 +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
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
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
22bd1512c7
Ensure owner of tracks/albums/artists can approve suggestions
2019-07-18 14:24:18 +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
bd271c8ead
See #432 : Moved tag validation in the tags app
2019-07-15 11:32:14 +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
7bc8109732
See #432 : tags acquisition (from audio files)
2019-07-12 15:06:39 +02:00
Eliot Berriot
9f3076f4db
See #432 : API endpoint to query tags
2019-07-09 16:03:41 +02:00
Eliot Berriot
6dde4b73cd
Implement tag models
2019-07-08 15:26:14 +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
Reg
a1d01105a1
Fixed typo refrence => reference
2019-06-25 11:03:45 +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
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
1f3f790f63
Fix #819 : Fixed invalid required fields in Upload django's admin
2019-05-09 12:13:00 +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
119df01335
Fix #808 : Advertise the list of supported upload extensions in the Nodeinfo endpoint
2019-05-02 13:15:33 +02:00
Eliot Berriot
a2c52abb4f
See #565 : fixed path issues with external storage
2019-04-24 15:27:07 +02:00
Eliot Berriot
6135d427e7
Fixed some issues
2019-04-24 12:56:15 +02:00
Eliot Berriot
101ae27885
Fix #565 : store media files in S3 bucket
2019-04-23 18:01:42 +02:00
Eliot Berriot
0b94227782
Fix #799 : Removed broken/instable lyrics feature
2019-04-23 10:32:51 +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
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
a3ad476c88
More configurable pagination
2019-04-09 11:15:43 +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
2a82367667
Fix #788 : fixed crashing import with empty album artist
2019-04-05 15:41:28 +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
5916a1ba99
Fix #777 : Added a prune_library management command to remove obsolete metadata
2019-03-27 17:04:10 +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
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
9a162c57ca
Merge branch 'master' into develop
2019-03-20 20:45:06 +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
da3710ff08
Fix #758 : Ensure all our ActivityPub fetches are authenticated
2019-03-15 12:08:45 +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
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
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
jake
7a34c297ed
Resolve "add a view to list albums"
2019-02-13 08:46:38 +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
3b87580a69
Reduced number of SQL queries when loading /api/admin/music/tracks/
2019-01-24 11:06:37 +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
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
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
d4eff5aa32
Less DB queries in test factories
2019-01-04 14:36:08 +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
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
060543f62c
Fixed logging issues
2018-12-26 20:24:42 +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
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
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
837d6ad0e1
Fix #473 : ".None" extension when downloading Flac file
2018-11-19 23:49:43 +01:00
Eliot Berriot
4976981926
Broadcast library updates (name, description, visibility) over federation
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
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
77973ba6f9
See #574 : linting
2018-10-21 20:33:41 +02:00
Eliot Berriot
8c5924d6e3
Ensure distinct is applied on all playable_by querysets
2018-10-21 20:30:16 +02:00
Eliot Berriot
2b70f3ba42
Fix #581 : missing track count on various library cards
2018-10-21 17:38:29 +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
47aa209df2
See !368 : ensure we filter playable entities in subsonic API
2018-10-01 21:16:11 +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
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
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
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
Eliot Berriot
71c70cee39
Fixed #478 : Removed release date error in case of empty date
2018-08-19 17:52:04 +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
3a94462bd6
Removed django-cacheops dependency
2018-07-21 12:57:48 +02:00
Eliot Berriot
979c554b4a
Use cropped covers/avatars to reduce bandwidth use
2018-07-20 19:17:39 +02:00
Eliot Berriot
1458c084a7
Resolve "Funkwhale unable to import Albums with multiple Artists"
2018-07-09 20:47:55 +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
d713ad177b
See #344 : query parsing
2018-07-03 08:13:13 +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
d17ceec1f0
See #297 : linting of various, uncommon errors
2018-06-10 12:06:46 +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
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
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
8d50743b3b
Fix #258 : Implemented getCovertArt in Subsonic API to serve album covers
2018-06-01 08:42:05 +02:00
Eliot Berriot
c7782693bc
See #223 : api for listing/managing library files
2018-05-29 00:07:20 +02:00
David Magnus Henriques
8790631a65
Removed Typo which broke oggVorbis-import
2018-05-26 13:23:08 +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
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
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
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
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
6fc4275b68
See #152 : use new user permissions on relevant viewsets
2018-05-18 18:48:46 +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
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
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
1937b81699
Fix #196 : In-place imported tracks non-ascii characters don't break reverse-proxy serving
2018-05-10 18:52:00 +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
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
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
23d21b0fdb
Fix #193 : broken federated import
2018-05-07 19:22:09 +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
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
f4899c5387
Fix #176 : Can now relaunch erored jobs and batches
2018-04-28 04:59:47 +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
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
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
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
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
f31874edf5
Implemented followers notification on import and autoimport
2018-04-17 19:35:57 +02:00
Eliot Berriot
ca02aca327
Ensure follower is approved for listening
2018-04-15 11:25:35 +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
238d849298
Can now disable SSL cerification for external requests
2018-04-15 11:25:31 +02:00
Eliot Berriot
206ae296b6
Ensure timeout in requests
2018-04-15 11:24:47 +02:00
Eliot Berriot
33972f1f40
Fixed broken uuid migration
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
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
8db832f03b
Now store source AP track file on track_file
2018-04-06 15:20:53 +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
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
5e901dc5a4
Fixed a bunch of failing tests
2018-03-28 23:54:08 +02:00
Eliot Berriot
e99d757b57
Fix #120 : Better error handling during file import
2018-03-25 15:44:48 +02:00
Eliot Berriot
4298c4236e
Fixed #119 : forced redirection to login even with API_AUTHENTICATION_REQUIRED=False
2018-03-15 22:34:20 +01:00
Eliot Berriot
bfeb86865d
Fix #114 : can now filter artists and albums with no listenable tracks
2018-03-07 23:08:28 +01:00
Eliot Berriot
17bda77efb
Fix #111 : allow skipping of acoustid matching
2018-03-06 20:29:32 +01:00
Eliot Berriot
2354721cd9
Fixed import crashing when no acoustid found
2018-03-04 18:14:37 +01:00
Eliot Berriot
a6da10be41
API refinements for activity stream
2018-03-01 23:41:51 +01:00
Eliot Berriot
d509c090d3
Basic working poc with favorites send over websocket
2018-03-01 21:51:20 +01:00
Eliot Berriot
691665e3cf
Activity stream representations for user and favorites
2018-03-01 18:38:32 +01:00
Eliot Berriot
e13ac32370
Fixed #80 : Added admin interface for radios, track files, favorites...
2018-02-27 23:01:55 +01:00
Eliot Berriot
62d0381f91
Fixed #81 : Search now unaccent letters for queries
2018-02-27 19:56:02 +01:00
Eliot Berriot
b5226367a5
Fixed broken import because of missing transaction
2018-02-27 18:12:23 +01:00
Eliot Berriot
8c7e943013
Fixed #73 : broken file upload
2018-02-26 18:27:41 +01:00
Eliot Berriot
dcb1915a7b
Can now bind batch to request via API
2018-02-22 23:33:44 +01:00
Eliot Berriot
f3d77ef7d9
Update request status based on batch status
2018-02-21 00:09:15 +01:00
Eliot Berriot
b492e133c6
Job signal to update batch status
2018-02-21 00:08:46 +01:00
Eliot Berriot
24e2555793
Added status field to import batch, it's synced based on jobs
2018-02-21 00:02:09 +01:00
Eliot Berriot
1cfdf31e00
Can now stream transcoded version of audio tracks \o/
2018-02-18 23:49:42 +01:00
Eliot Berriot
ddea5f1825
Now store track file mimetype in database
2018-02-18 23:46:15 +01:00
Eliot Berriot
50af04345b
Use webpack dev proxy to serve api/media
2018-02-18 14:42:17 +01:00
Eliot Berriot
e4edf55c47
Replaced vue-resource by axios
2018-01-11 21:35:51 +01:00