Commit graph

438 commits

Author SHA1 Message Date
Phan An
bf3ca591d1
Apply fixes from StyleCI (#694) 2017-12-09 21:10:55 +01:00
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
Phan An
2976b66fca Bump version 2017-12-03 18:24:05 +01:00
Phan An
71fa6305bf
Apply fixes from StyleCI (#691) 2017-12-03 17:54:34 +01:00
Phan An
e1b68cc53f Revamp the koel:init command 2017-12-03 17:54:11 +01:00
Phan An
edc33f99ae Set up the media path during koel:sync 2017-12-03 13:02:56 +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
8505539145 Merge branch 'master' of github.com:phanan/koel 2017-12-02 17:37:40 +01:00
Phan An
4246bcb45c Only consider an album “compiled” if albumartist != artist 2017-12-02 17:22:20 +01:00
Phan An
9987443795
Apply fixes from StyleCI (#690) 2017-12-02 17:07:53 +01:00
Phan An
d949ea9e60 Load (and parse) playlist content on demand 2017-12-02 17:05:40 +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
Fiete Börner
56799c5ffa enable foreign keys for sqlite connections (#672)
* enable foreign keys for sqlite connections

this code block enables the on delete cascade functionality for sqlite
connections

* fix code styling issues

* import the sqlite connnection class for consistency
2017-10-22 16:02:43 +01:00
Phan An
537cff716c Apply fixes from StyleCI (#644) 2017-08-27 16:53:50 +01:00
Phan An
dc7c6bec45 Refactor the remote controller into its own page 2017-08-27 16:53:17 +01:00
Phan An
ee227865be Apply fixes from StyleCI (#640) 2017-08-21 22:05:03 +01:00
Phan An
8904e4dcb6 Merge branch 'master' of github.com:phanan/koel 2017-08-21 22:04:44 +01:00
Phan An
c95d74d487 Add a memory limit setting 2017-08-21 21:45:01 +01:00
Phan An
0f1be0ae98 Refactor YouTube cache 2017-08-19 17:09:00 +01:00
Phan An
8c71bd4d04 Apply fixes from StyleCI (#639) 2017-08-19 16:28:01 +01:00
Phan An
0ebf07021c Small best practice fixes 2017-08-06 10:50:52 +01:00
Phan An
f827c63819 Make controllers slim 2017-08-06 10:43:59 +01:00
Phan An
7ec5cfb2af Apply fixes from StyleCI (#633) 2017-08-05 23:27:41 +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
d40a5ff751 Refactor Koel version cache function 2017-08-05 22:55:43 +01:00
Phan An
e16a500510 Refactor media cache 2017-08-05 22:51:59 +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
c9ec0406ff Apply fixes from StyleCI (#611) 2017-06-04 02:31:59 +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
c706391422 Apply fixes from StyleCI (#609) 2017-06-04 00:22:12 +01:00
Phan An
aa7267419d Massive refactorings 2017-06-04 00:21:50 +01:00
Phan An
9e863abdc2 Apply fixes from StyleCI (#608) 2017-06-03 17:48:13 +01:00
Phan An
7d80f1d143 Refactor and fix code styles 2017-06-03 17:35:08 +01:00
Phan An
e275a263bb Fix download bug (close #601) 2017-05-29 12:14:53 +01:00
Ryo Shibayama
70464a8977 Conditionally loading ServiceProvider (#578) 2017-05-10 16:49:12 +07:00
Phan An
eb9a1a66e3 Apply fixes from StyleCI (#588) 2017-05-02 10:23:32 +07:00
Phan An
47360bcfa6
Cleanups 2017-05-02 10:23:10 +07:00
Phan An
2e15efd1c3 Apply fixes from StyleCI (#587) 2017-05-02 00:49:44 +07:00
Phan An
0521e2e119
Merge conflicts 2017-05-02 00:49:08 +07:00
Phan An
4301682c7d Apply fixes from StyleCI (#586) 2017-05-02 00:47:23 +07: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
2e59ab0bb1
Use proper Request instance 2017-04-29 14:06:36 +08:00
Phan An
40225f9cff
Use proper Request instance 2017-04-29 14:04:23 +08:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +08:00
Phan An
a123243658
Always save contributing_artist_id for S3 put 2017-04-29 10:58:08 +08:00
Phan An
40deeb9f8b
Refactor and clean up 2017-04-29 10:55:41 +08:00
Phan An
570197d94b
Tidy the tidy function 2017-04-29 10:53:33 +08:00
Phan An
47c36f289e
Move User dependency out of Song scrobble method 2017-04-29 10:38:17 +08:00
Phan An
57157b5a57
Modify MediaCache to adapt to new changes 2017-04-28 22:36:57 +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
Phan An
3049804811 Move streamers into Services 2017-04-20 19:20:32 +08:00
Phan An
0bb8e992e2 Bump version 2017-04-19 12:24:17 +08:00
Phan An
53e2f61da4 Fix #552 2017-04-19 12:22:02 +08:00
An Phan
a30680f0bf
Bump version 2017-04-15 21:01:49 +08:00
An Phan
b966eba869
Bump version 2017-04-02 17:45:20 +08:00
An Phan
d49cdde161
Change init comment wordings 2017-03-27 18:09:05 +08:00
An Phan
96e5c62ce0
Add "Play at 128kbps on mobile" setting 2017-03-26 17:02:03 +08:00
An Phan
f2db3bac89
Attempt to fix #550 by setting Last-Modified header 2017-03-23 08:53:07 +08:00
An Phan
20db5d25bb
Update docs links 2017-03-01 19:06:07 +08:00
Phan An
ce1971b5ba Apply fixes from StyleCI (#541) 2017-02-15 11:19:25 +08:00
An Phan
bdca871b6e
Upgraded to Laravel 5.4 2017-02-15 11:16:49 +08:00
An Phan
03fe4c7e18
Bump version 2017-02-09 20:08:41 +08:00
X-Ryl669
9f11a7111e Fix HTTP error code when bad authentication to 401
…instead of 400/404, so client can deal with it correctly (#537)
2017-02-09 20:06:39 +08:00
An Phan
cdcd6bec21
Bump version 2017-01-23 00:28:38 +08:00
An Phan
cbd16f7b45
Bump version 2017-01-20 10:56:35 +08:00
An Phan
a225cb4580
Bump version 2017-01-19 12:12:47 +08:00
An Phan
f495c99a52
Remove problematic Sentry (closes #524) 2017-01-19 10:48:41 +08:00
An Phan
41baf77913
Bump version 2017-01-18 10:33:22 +08:00
An Phan
991133045d
Make media caching an option 2017-01-15 12:27:05 +08:00
An Phan
d5556f4991
Bump version 2017-01-15 12:17:18 +08:00
An Phan
4082ca77f0
Merge branch 'master' of github.com:phanan/koel 2017-01-06 11:10:38 +08:00
An Phan
4740591f3d
Emit LibraryChanged event for new directory sync 2017-01-06 11:10:03 +08:00
Phan An
c086aa255a Apply fixes from StyleCI (#514) 2017-01-06 11:04:39 +08:00
An Phan
f51e660501
Cache the media 2017-01-06 11:04:08 +08:00
An Phan
1ba00a0475
Use cache() shortcut where applicable 2016-12-12 10:43:14 +08:00
An Phan
876db46501
Cache iTunes request 2016-12-11 21:21:45 +08:00
An Phan
86ca8d40f6
Add iTunes integration 2016-12-11 21:08:30 +08:00
An Phan
09b15b9e66
Add Sentry 2016-12-09 16:23:40 +08:00
An Phan
3aefd4d592
Bump version 2016-12-04 20:41:05 +08:00
An Phan
33a787fbca
Switch to yarn 2016-12-02 16:39:31 +07:00
Phan An
b233aab976 Applied fixes from StyleCI (#486) 2016-11-25 12:32:54 +08:00
An Phan
a67a211272
Minor refactoring 2016-11-24 12:39:17 +08:00
An Phan
a70a9bfe53
Bump version 2016-11-24 12:39:04 +08:00
An Phan
b058ea5c42
Fix playlist sync bug 2016-11-18 13:41:54 +08:00
An Phan
ae8a1e5e62
Fix config 2016-11-17 16:58:29 +08:00
An Phan
ef618a611b
First steps in e2e 2016-11-13 23:05:24 +08:00
Phan An
75afd02d54 Applied fixes from StyleCI (#464) 2016-09-26 15:33:53 +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
bdgold
1d7a7602c9 Fix spelling (#454) 2016-09-19 09:08:50 +07:00
An Phan
e4f0027f6a
Add IGNORE_DOT_FILES setting
With this .env setting, user can specify Koel to ignore dot files and
folders (default) or include them during scanning.
2016-09-17 23:56:58 +08:00
An Phan
3b77163804
Take into account dot directories (#450) 2016-09-15 21:30:31 +08:00
An Phan
01308e168c
Bump version 2016-09-10 14:44:35 +07:00
bdgold
cf1a244606 Fix steaming bug typo (#439) 2016-09-10 14:39:57 +07:00
An Phan
b37fb4b145
Bump version 2016-08-22 09:39:48 +08:00
bdgold
27933d49cf move env variables to config (#415) 2016-08-21 22:19:03 +07: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
03407d5adc Applied fixes from StyleCI (#411) 2016-08-17 22:26:38 +08:00
An Phan
2504bb9a10
Add a progress bar when run koel:sync 2016-08-17 22:26:07 +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
X-Ryl669
6e80635acb Allow music library scanning to follow symbolic links whenever applicable (#401) 2016-08-11 11:52:35 +08:00
An Phan
8baf33a285
Work around getMTime() error (closes #344) 2016-08-11 11:25:17 +08:00
An Phan
1f6d272f39
Refactor 2016-08-10 09:23:52 +08:00
An Phan
089283b04c
Better logic for transcoding check 2016-08-10 09:12:20 +08:00
An Phan
8065c00f94
Fixes #396 2016-08-10 09:08:52 +08:00
An Phan
d203b8a9d7
Empty settings for non-admins 2016-08-08 10:55:15 +07: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
Phan An
cb7cebe151 Applied fixes from StyleCI (#392) 2016-08-03 18:42:39 +08:00
An Phan
65d403f857
Code style and refactor 2016-08-03 18:42:11 +08:00
bdgold
8d76859df7 Corrected spelling in Media.php (#390) 2016-08-02 15:03:19 +08:00
An Phan
23ea221d50
Optimize code 2016-07-31 11:43:01 +08:00
An Phan
3b1db41bc4
Shorten GitHub version cache life 2016-07-31 11:38:01 +08:00
An Phan
93982aa9a7
Bump version 2016-07-31 11:36:20 +08:00
Phan An
1f75e85fb6 Applied fixes from StyleCI (#386) 2016-07-30 23:34:34 +08:00
An Phan
e3ee03db24
Complete YouTube feature 2016-07-30 23:32:17 +08:00
An Phan
528469fdc4
Add YouTube service on the server side 2016-07-14 16:53:10 +08:00
An Phan
3445a0ad76
Bump version 2016-07-11 23:11:22 +08:00
An Phan
e19b5e5c79
Allow downloading from S3 (fixes #371) 2016-07-11 15:26:39 +08:00
An Phan
790622e098
Bump version 2016-07-11 09:59:25 +08:00
An Phan
339d0c464d
Fix playlist creation bug 2016-07-11 01:59:25 +08:00
An Phan
2f0d0dc042
Typo 2016-07-09 13:19:58 +08:00