Wykres commitów

617 Commity (af53ee7c7d93f23002591583b56ea5d440b11e46)

Autor SHA1 Wiadomość Data
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