Commit graph

219 commits

Author SHA1 Message Date
Phan An
bca8668ace Refactor and use extending request classes 2017-12-09 19:34:27 +01:00
Phan An
3270879031 Refactor File model 2017-12-09 03:24:09 +01:00
Fiete Börner
4298774e7f implement simple multi disc support (#687)
* add disc field to songs table via migration

* add disc field to song model

* collect disc information in file sync process

* sort song list by disc and track number in album context

* check the disc field in file test

* remove nullable flag from disc field in add_disc_into_songs migration

* fix php code style issues

* fix js code style

* fix sort usage in song-list

* sort songs by inserting into queue by clicking the album/artist item play button (album_id, disc, track)

* add disc to sync tags in media model
2017-12-03 11:02:31 +01:00
Phan An
4246bcb45c Only consider an album “compiled” if albumartist != artist 2017-12-02 17:22:20 +01:00
Phan An
3e3004a904 Fix the bug with lyrics fails to be read 2017-11-08 23:39:26 +01:00
Phan An
cc975996af Use file name for song title if such is missing 2017-11-08 22:35:06 +01:00
Phan An
1919df1e20
Apply fixes from StyleCI (#678) 2017-11-08 14:11:45 +01:00
Phan An
f344b4c3fa Make tests green 2017-08-05 23:27:26 +01:00
Phan An
4e273639bd Refactor album cover cache function 2017-08-05 22:58:50 +01:00
Phan An
56cbb4f8b3 Apply fixes from StyleCI (#632) 2017-08-05 19:55:53 +01:00
Phan An
39e837713f Refactor tests 2017-08-05 19:55:02 +01:00
Phan An
1560cf99d0 Add User unit tests 2017-08-05 18:44:38 +01:00
Phan An
8bb547cb4d Add tests for SongZipArchive 2017-08-05 18:28:28 +01:00
Phan An
a8f98b2377 Refactor tests 2017-08-05 17:56:11 +01:00
Phan An
9cd1e86533 Complete Setting tests 2017-08-05 17:32:16 +01:00
Phan An
fcf6c8a700 Finish Interaction unit test 2017-06-24 21:46:55 +01:00
Phan An
53c4bedf7b Remove Feature test for Artist, as it actually is Unit 2017-06-10 16:17:46 +01:00
Phan An
14b6c7154b Finish unit tests for Song 2017-06-10 16:17:46 +01:00
Phan An
6e38f96eb2 Finish unit tests for Artist and Album 2017-06-10 14:25:30 +01:00
Phan An
f448b0e8e3 Merge branch 'master' into test 2017-06-10 12:36:55 +01:00
Phan An
e96c4d5073 Remove redundant code 2017-06-10 12:36:32 +01:00
Phan An
56b5db9487 Add unit test for Album model 2017-06-10 01:40:44 +01:00
Phan An
3fccfa8963 Fix is_various attribute on Artist model 2017-06-10 00:29:01 +01:00
Phan An
03baef25bd Fix hidden preference bug 2017-06-04 09:34:21 +01:00
Phan An
259561ce74 Merge branch 'master' of github.com:phanan/koel 2017-06-04 02:31:39 +01:00
Phan An
796088944d Add more refactorings 2017-06-04 02:30:45 +01:00
Phan An
6c9e707f8b Apply fixes from StyleCI (#610) 2017-06-04 02:12:24 +01:00
Phan An
caf13fbac0 Refactor Download service 2017-06-04 02:12:08 +01:00
Phan An
aa7267419d Massive refactorings 2017-06-04 00:21:50 +01:00
Phan An
7d80f1d143 Refactor and fix code styles 2017-06-03 17:35:08 +01:00
Phan An
4a23be1afd
More refactoring 2017-05-02 00:46:45 +07:00
Phan An
fb49cd6fb1
Some refactors 2017-05-02 00:36:42 +07:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +08:00
Phan An
40deeb9f8b
Refactor and clean up 2017-04-29 10:55:41 +08:00
Phan An
47c36f289e
Move User dependency out of Song scrobble method 2017-04-29 10:38:17 +08:00
Phan An
220cb45cdb Apply fixes from StyleCI (#580) 2017-04-24 14:38:41 +08:00
Phan An
a96c0e22fb Compilation fixes getting in shape 2017-04-24 00:01:02 +08:00
An Phan
1ba00a0475
Use cache() shortcut where applicable 2016-12-12 10:43:14 +08:00
An Phan
d3843f2d5f
Fix #463 2016-09-26 15:32:16 +08:00
An Phan
fe3600670e
Simplify song tests 2016-09-26 14:49:30 +08:00
An Phan
b0f5b3d76e
Upgrade to Laravel 5.3 2016-09-26 14:30:00 +08:00
X-Ryl669
8619c40282 Allow failure reason to be reported in verbose mode 2016-08-17 22:48:18 +08:00
X-Ryl669
fa8ebeb832 Fix for cover albums not found (#413) 2016-08-17 22:46:22 +08:00
Phan An
4eeb3d577c Applied fixes from StyleCI (#407) 2016-08-16 23:12:35 +08:00
An Phan
4480ad7ccf
Make PHPStorm happy 2016-08-16 23:12:11 +08:00
An Phan
8baf33a285
Work around getMTime() error (closes #344) 2016-08-11 11:25:17 +08:00
An Phan
d580e0f9e6
Merge branch 'master' of github.com:phanan/koel 2016-08-07 19:34:13 +07:00
An Phan
34a46f1f9c
Display recently added songs/albums on Home screen (resolves #379 2016-08-07 19:33:46 +07:00
Phan An
a0ddbaf8b3 Applied fixes from StyleCI (#395) 2016-08-07 18:31:19 +08:00
An Phan
7556ba79e0
Use cover/folder.jpg/png as album cover if found (fixes #380) 2016-08-07 17:30:55 +07:00
An Phan
65d403f857
Code style and refactor 2016-08-03 18:42:11 +08:00
An Phan
e19b5e5c79
Allow downloading from S3 (fixes #371) 2016-07-11 15:26:39 +08:00
An Phan
858c4d1586
Fixes #366 2016-07-05 17:14:12 +07:00
An Phan
17eff0d246
Use albumartist/band to check for compilation as well 2016-06-16 18:17:16 +08:00
Phan An
5dc2e7faf7 Applied fixes from StyleCI (#357) 2016-06-13 17:11:41 +08:00
An Phan
c098301167
Add S3 functionality 2016-06-13 17:04:42 +08:00
An Phan
63fc810e9d Fix compilation sync 2016-06-05 02:17:27 +08:00
An Phan
b151f3f00a Typos and doc fixes 2016-06-04 22:17:24 +08:00
An Phan
6d0322f80d Finish Favorites download 2016-06-04 21:42:12 +08:00
An Phan
c8b1e253a7 Finish Artist download 2016-06-04 19:57:27 +08:00
An Phan
6b9ef7996a Convert getLastfmSessionKey() into attribute 2016-05-30 14:15:55 +08:00
An Phan
7400f81d04 Fix song update logic 2016-05-27 11:32:52 +08:00
alex-phillips
3e8191b281 Fix song title not updated. 2016-05-27 10:41:46 +08:00
Phan An
8fc5d7c287 Applied fixes from StyleCI 2016-05-21 07:32:24 -04:00
An Phan
34f70879cf Enable force updating compilation status 2016-05-21 18:52:23 +08:00
An Phan
a4b9f994bd Cast artist_id and fix test 2016-05-19 23:31:02 +08:00
An Phan
fd0defc059 Basically completed compilation feature 2016-05-19 23:21:27 +08:00
An Phan
e145d06a1b Merge with master 2016-05-05 23:05:02 +08:00
An Phan
68baf5001c html_entity_decode() tags, fixes #323 2016-05-05 23:03:30 +08:00
An Phan
13d3a86304 Second try and add tests 2016-05-02 09:55:59 +07:00
An Phan
edc4795421 Second try and add tests 2016-04-24 12:37:04 +08:00
An Phan
4dc06719b3 First try 2016-04-17 23:38:06 +08:00
An Phan
cfdb4034d1 Refactor 2016-04-05 15:49:03 +08:00
An Phan
8c862cb9cc Use root namespaces 2016-04-02 21:16:09 +08:00
An Phan
8142782766 Cast track number as int 2016-03-28 21:18:09 +08:00
An Phan
bad47db651 Fix docblock 2016-03-27 09:54:22 +07:00
An Phan
effd1cebf7 Refactor 2016-03-24 11:26:52 +08:00
An Phan
83bc54c4e5 Add some code optimization 2016-03-24 11:06:28 +08:00
alex-phillips
e3277f14ad added multiple methods to retrieve the 'track' from a file, set default sorting on the song lists 2016-03-23 10:07:50 -04:00
An Phan
d8d2dc8a5d Support force and selective-tags sync 2016-03-22 16:22:39 +08:00
alex-phillips
940cd1a914 added support for song track numbers as well as subsorting song lists
with a second sort key. track numbers are also editable via the song
edit modal interface.
2016-03-20 09:06:53 -04:00
An Phan
ca7539ea31 Minor doc fixes 2016-03-16 15:16:48 +08:00
An Phan
70a34401f6 Better lyrics handling 2016-03-06 15:44:38 +08:00
Phan An
461480f766 Applied fixes from StyleCI 2016-03-05 23:11:28 -05:00
An Phan
8a5d242122 Add edit ability (fixes #228) 2016-03-06 11:58:51 +08:00
An Phan
9068a1a530 Hide unnecesaary id from interaction JSON 2016-02-13 11:21:24 +08:00
An Phan
f86b3bfdb1 Use isUnknown 2016-02-11 00:01:44 +07:00
An Phan
b356800a32 Use isUnknown 2016-02-10 23:59:29 +07:00
An Phan
5262fee853 Doc and style 2016-02-03 23:39:15 +08:00
An Phan
46f6141fa8 Add "watch" functionality (fix #213) 2016-02-02 16:01:11 +08:00
An Phan
5532364518 Album and artist covers now use CDN too 2016-01-30 12:12:09 +08:00
An Phan
13436730c5 Indicate that Song IDs are not integers 2016-01-05 10:54:27 +08:00
An Phan
ddc56c28d6 Album and Artist image URLs are now absolute 2016-01-03 16:08:01 +08:00
An Phan
e9b45ac0c3 Update album cover and artist image right after song info loaded 2015-12-30 13:03:47 +07:00
An Phan
a8d620b83d Upgrade to Laravel 5.2 2015-12-27 20:29:03 +07:00
An Phan
056bf2c559 Trying to make it work with L52 2015-12-27 16:12:10 +07:00
Phan An
e1d0f6a2bd Applied fixes from StyleCI 2015-12-22 04:54:19 -05:00
An Phan
0dcc270d93 Support for standalone artist image 2015-12-22 17:53:03 +08:00
Phan An
54c9a88bc1 Applied fixes from StyleCI 2015-12-21 08:50:26 -05:00
An Phan
8495452762 Like/unlike now work with Last.fm 2015-12-21 21:49:00 +08:00
An Phan
3e747101a9 Easier to test Interaction code 2015-12-21 12:32:15 +08:00
An Phan
79fa62d7b0 Merge branch 'master' into 1.1 2015-12-21 10:18:23 +08:00
Phan An
857af7572b Applied fixes from StyleCI 2015-12-20 21:18:00 -05:00
An Phan
381751046e Merge branch 'master' into 1.1 2015-12-21 10:17:27 +08:00
Matthias Gutjahr
2a0bd8fcd8 Add cast to convert Song.length to float 2015-12-20 19:09:34 +01:00
Phan An
1d417221bf Applied fixes from StyleCI 2015-12-20 07:30:28 -05:00
An Phan
bdb76a3c9b Resolved conflicts 2015-12-20 20:21:40 +08:00
An Phan
f449a1a744 Add Last.fm scrobbling functionality 2015-12-20 20:17:35 +08:00
Phan An
30c63cc96d Applied fixes from StyleCI 2015-12-19 12:08:03 -05:00
An Phan
cf27ed713d First integration with Last.fm
Koel can now integrate and use the rich information from Last.fm. Now
whenever a song is played, its album and artist information will be
queried from Last.fm and cached for later use. What's better, if an
album has no cover, Koel will try to update its cover if one is found on
Last.fm.

In order to use this feature, users only need to provide valid Last.fm
API credentials (namely LASTFM_API_KEY and LASTFM_API_SECRET) in .env. A
npm and gulp rebuild is also required - just like with every update.
2015-12-20 00:36:44 +08:00
An Phan
423d1fb5c5 Replace iconv with mb_ 2015-12-18 10:11:32 +08:00
Phan An
92aefb88ab Applied fixes from StyleCI 2015-12-17 13:00:42 -05:00
An Phan
bf01bf67ef Attempts to fix UTF-16 issues 2015-12-18 01:57:23 +08:00
An Phan
a2484362c2 Fix #39 2015-12-16 13:03:48 +08:00
Phan An
5b7be5afba Merge pull request #28 from pedroborges/use-laravel-authorization
Use Laravel built-in authorization
2015-12-15 20:18:01 +08:00
Pedro Borges
5f9f7d925d Fix UserPolicy 2015-12-15 08:32:41 -02:00
An Phan
bdfada084e Fix #40 2015-12-15 08:14:31 +08:00
Phan An
f9c9a4df2d Applied fixes from StyleCI 2015-12-14 08:22:39 -05:00
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00