Commit graph

748 commits

Author SHA1 Message Date
Phan An
94f56648c2 Use a package to handle CORS 2018-08-29 16:54:13 +07:00
Phan An
fe34592e66
Apply fixes from StyleCI (#793) 2018-08-29 11:42:11 +02:00
Phan An
1558062428 Rewrite the file synchronization handling logic 2018-08-29 16:41:42 +07:00
Phan An
a31664adf7 Fix get preferences error 2018-08-29 15:01:53 +07:00
Phan An
ca2e737554 Use observers for model events 2018-08-29 14:58:59 +07:00
Phan An
3825452658
Apply fixes from StyleCI (#790) 2018-08-29 09:07:44 +02:00
Phan An
b227ece517 Refactor Lastfm and iTunes services 2018-08-29 14:05:24 +07:00
Phan An
0ad670ffff Use repositories 2018-08-29 13:30:39 +07:00
Phan An
bf1d158c90 Refactor S3 2018-08-29 13:15:24 +07:00
Phan An
3daa79afce Autoload command 2018-08-29 13:15:24 +07:00
Phan An
ffa05696c8 Upgrade to Larave 5.5 and PHP 7 2018-08-29 13:15:23 +07:00
Phan An
20282ed633 Use repositories 2018-08-29 13:15:11 +07:00
Phan An
f4ca7cf09f Refactor S3 2018-08-29 11:06:17 +07:00
Phan An
3473a12d44 Autoload command 2018-08-24 17:34:06 +02:00
Phan An
1dd5457084 Upgrade to Larave 5.5 and PHP 7 2018-08-24 17:27:19 +02:00
Phan An
3ab55d438b
Apply fixes from StyleCI (#788) 2018-08-23 08:58:43 +02:00
Phan An
02d36c692e Refactor InitCommand 2018-08-23 08:58:22 +02:00
Phan An
6a2a2263fa
Apply fixes from StyleCI (#786) 2018-08-22 22:25:23 +02:00
Phan An
a340a64748 Better download tests 2018-08-22 22:25:01 +02:00
Phan An
1be4678b25 DI for ProfileController 2018-08-22 21:46:36 +02:00
Phan An
61bc21c303 Better tests for User Controller 2018-08-22 21:40:04 +02:00
Phan An
6cadfc5ac3 Tests for streamer factory 2018-08-22 21:14:28 +02:00
Phan An
eed836bcb9
Apply fixes from StyleCI (#784) 2018-08-22 19:59:36 +02:00
Phan An
7c7693179d Refactor streamers 2018-08-22 19:59:14 +02:00
Phan An
040afa393d Remove leftover facades 2018-08-20 08:26:18 +02:00
Phan An
466cfdcd9f Remove Media service provider 2018-08-19 23:21:41 +02:00
Phan An
f82f1f42ad Remove Lastfm service provider 2018-08-19 23:19:42 +02:00
Phan An
86915c9280
Apply fixes from StyleCI (#782) 2018-08-19 23:17:24 +02:00
Phan An
8f7654a220 Refactor scrobble 2018-08-19 23:17:05 +02:00
Phan An
49daef32ba
Apply fixes from StyleCI (#781) 2018-08-19 23:03:21 +02:00
Phan An
2c7b6765d2 Rename init cmd and make it DI 2018-08-19 23:03:02 +02:00
Phan An
a96bd3e326 Add test for GenerateJWTSecretCommand 2018-08-19 23:03:02 +02:00
Phan An
f087dc71a2
Apply fixes from StyleCI (#780) 2018-08-19 18:05:54 +02:00
Phan An
69d68727b9 Rewrite Lastfm tests 2018-08-19 18:05:10 +02:00
Phan An
5cf19b09aa
Apply fixes from StyleCI (#779) 2018-08-19 17:26:52 +02:00
Phan An
f3887e6276 Rewrite Sync command 2018-08-19 17:26:34 +02:00
Phan An
a837432a4e Use proper DI for cache service 2018-08-19 16:58:14 +02:00
Phan An
1c76ff6d76 Use a service for iTunes 2018-08-19 16:40:25 +02:00
Phan An
6181041331
Apply fixes from StyleCI (#778) 2018-08-19 13:13:29 +02:00
Phan An
67357316bc Big revamp for lastfm and youtube services 2018-08-19 13:13:08 +02:00
Phan An
d4d2b0aff3
Apply fixes from StyleCI (#777) 2018-08-19 11:06:59 +02:00
Phan An
5fbec01c50 Big revamp for artist and album info 2018-08-19 11:06:31 +02:00
Phan An
cedb9f9922
Apply fixes from StyleCI (#776) 2018-08-18 15:20:02 +02:00
Phan An
4fc5117509 Use a service for media info 2018-08-18 15:19:40 +02:00
Phan An
1d5c8e84b6 Use a service for Interaction 2018-08-18 14:27:44 +02:00
Phan An
181357f3de Rename Download service 2018-08-18 14:27:17 +02:00
Phan An
f4c00abe02 Use DI in Download controllers 2018-08-18 13:53:15 +02:00
Phan An
168f70481c Fix download issues 2018-08-18 12:35:42 +02:00
N.Yanbe
064d6f8615 Fix AWS S3 related issues. (#757)
* Avoid an error from MySQL, "Column cannot be null".

Similar to this issue: https://stackoverflow.com/questions/43860634/laravel-5-4-upgrade-integrity-constraint-violation-column-cannot-be-null

* Clears the media cache after storing a new song.
2018-06-16 11:29:41 +02:00
Phan An
1a8ab06db7 Revert changes to lyrics tag 2018-04-14 23:16:04 +02:00
Phan An
b1165c2f0f Fix broken PHPStream logic (fixes #707) 2018-04-14 23:03:04 +02:00
Phan An
77812d0070 Fix lyric tag (closes #716) 2018-04-14 22:59:45 +02:00
Phan An
e11e9d1392 Optimize PHPStreamer (closes #708) 2018-04-14 22:46:08 +02:00
Phan An
cdf9faafbf Use correct Last-Modified date (fixes #709) 2018-04-14 22:36:41 +02:00
Phan An
f472ff9ac8 Fix tests 2018-02-05 09:52:14 +01:00
Phan An
4ad5020b58 Fix image stealing logic 2018-02-04 16:53:40 +01:00
Phan An
cd67609c9e Bump version 2018-01-28 22:24:56 +01:00
Yohann Leon
024c87461a Dabase driver typo for koel:init (#698) 2017-12-11 21:50:32 +01:00
Phan An
1b8bd96b9b
Apply fixes from StyleCI (#697) 2017-12-10 22:22:12 +01:00
Phan An
c276d1ab04 Fix song playing request 2017-12-10 22:21:54 +01:00
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
An Phan
3ab6780761
Bump version 2016-07-08 16:38:03 +08:00
An Phan
fb57e229f2
Bump Koel version 2016-07-08 11:05:45 +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
An Phan
b66a7835ca
Fix the bug where artists cannot be removed 2016-06-16 18:08:36 +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
ad150daa5e
Fix syntax (!) bug 2016-06-10 15:51:08 +08:00
An Phan
da5d0e22f3
Refactor 2016-06-10 15:33:27 +08:00
An Phan
efcdac82e3
Refactor 2016-06-08 18:10:20 +08:00
An Phan
d5b83d53ef Allow downloading files with non-ascii names (fixes #351) 2016-06-06 01:23:03 +08:00
An Phan
080b0aac64 Resolve unresolved conflicts 2016-06-05 19:12:43 +08:00
An Phan
91f978c753 Resolve conflicts 2016-06-05 19:09:54 +08:00
An Phan
83f421f990 Add ability to view artist individually 2016-06-05 19:06:24 +08:00
An Phan
db340438ad Add ability to view album info individually 2016-06-05 18:46:40 +08:00
An Phan
27b44ec79c Refactor useLastfm config 2016-06-05 18:44:13 +08:00
An Phan
48023f52be Refactor useLastfm config 2016-06-05 12:38:47 +08:00
An Phan
63fc810e9d Fix compilation sync 2016-06-05 02:17:27 +08:00
Phan An
b8bcff0842 Applied fixes from StyleCI 2016-06-04 13:10:29 -04:00
An Phan
e334ec20d6 Add download tests 2016-06-05 00:56:38 +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
44e184454c Authorize playlist before downloading 2016-06-04 21:29:45 +08:00
An Phan
970981ccc1 Finish Playlist download, starting Fav download 2016-06-04 20:29:23 +08:00
An Phan
c8b1e253a7 Finish Artist download 2016-06-04 19:57:27 +08:00
An Phan
774ae68efb Finish Album download, starting Artist download 2016-06-04 19:20:11 +08:00
An Phan
5185f3dc6b Finish structure and song download 2016-06-03 01:53:26 +08:00
alex-phillips
b2ffb28fd3 added support for determining to transcode or not via the URL as well as specifying the bitrate, also added support for starting transcode stream at specific point in time of the file 2016-06-02 08:47:48 -04:00
An Phan
6b9ef7996a Convert getLastfmSessionKey() into attribute 2016-05-30 14:15:55 +08:00
Phan An
1343eda239 Applied fixes from StyleCI 2016-05-30 01:52:02 -04:00
An Phan
aba3740567 Refactor 2016-05-30 13:50:59 +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
afbc65c2d5 Bump version 2016-05-21 19:10:59 +08: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
22b228f338 Merge branch 'master' into compilation 2016-05-08 17:52:51 +08:00
An Phan
a5b32442cf Fix version 2016-05-08 17:31:59 +08:00
An Phan
dcc3f4b19c Bump version 2016-05-08 17:24:34 +08:00
An Phan
3d46e73e8b Auto log out when session expires (fixes #320) 2016-05-06 13:04:59 +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
fe40980f89 Spelling fix 2016-04-02 21:09:09 +08:00
An Phan
8142782766 Cast track number as int 2016-03-28 21:18:09 +08:00
An Phan
f4e5a4501d Bump version 2016-03-28 20:22:18 +08:00
An Phan
bad47db651 Fix docblock 2016-03-27 09:54:22 +07:00
An Phan
42f120599b Fix docblock 2016-03-26 08:46:54 +07:00
An Phan
1a8927e5ac Fix comments 2016-03-26 08:44:55 +07:00
An Phan
f43a617f20 Ignore unreadable dirs when sync 2016-03-24 11:34:28 +08: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
An Phan
40c4dfbc78 Merge branch 'fix/default-sorting-track-parsing' of git://github.com/alex-phillips/koel into alex-phillips-fix/default-sorting-track-parsing 2016-03-24 11:01:33 +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
Phan An
a5918900cb Applied fixes from StyleCI 2016-03-23 09:23:13 -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
969fca6066 Return full asset URLs 2016-03-14 10:36:03 +08:00
Edvin Hultberg
b108af5d7c Removed metion of bower in koel:init command 2016-03-13 13:29:23 +01:00
An Phan
1386b0b809 Use abort_unless instead of abort_if where applicable 2016-03-11 18:17:54 +08:00
An Phan
587d587bc9 Bump Laravel version and use some syntax sugar 2016-03-11 18:13:13 +08:00
An Phan
37b46eb922 Bump version 2016-03-06 16:28:47 +08:00
An Phan
70a34401f6 Better lyrics handling 2016-03-06 15:44:38 +08:00
Phan An
89b8e37880 Merge pull request #248 from UrbanCMC/inotifywait_create
Support INotifyWait CREATE event
2016-03-06 12:12:04 +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
UrbanCMC
b6e44a116d Support INotifyWait CREATE event
INotifyWait's CLOSE_WRITE and MOVED_TO events don't work on all
operating systems. For those, the CREATE event looks like the
best option.
2016-02-20 18:54:48 +01:00
An Phan
90b87d6acf Typo in docs 2016-02-16 00:39:13 +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
516b78d9b0 Minor bug fix 2016-02-10 22:30:48 +07:00
An Phan
df5f26d6e9 Bump version 2016-02-09 07:33:21 +07:00
An Phan
82b7564472 Removed fswatch's trace 2016-02-06 17:40:02 +07:00
Phan An
39d726c5ec Applied fixes from StyleCI 2016-02-04 10:48:15 -05:00
An Phan
4c90c35c28 Fix log message 2016-02-04 23:47:02 +08:00
An Phan
3d5c77d032 Fix syngle 2016-02-04 23:37:12 +08:00
An Phan
50046a3485 Merge watcher 2016-02-04 23:10:36 +08:00
An Phan
5d690f272d Ditch fswatch for inotify 2016-02-04 23:04:53 +08:00
An Phan
5262fee853 Doc and style 2016-02-03 23:39:15 +08:00
An Phan
a3e667fcab Add recursive flag into file watcher doc 2016-02-02 19:09:32 +08:00
An Phan
eff010149e Better doc for file watcher 2016-02-02 18:26:38 +08:00
An Phan
03d6c06aef Refactor and fix the file watcher 2016-02-02 18:04:10 +08:00
An Phan
34c4a8e369 Rename BaseStreamer to Streamer 2016-02-02 16:01:47 +08:00
An Phan
46f6141fa8 Add "watch" functionality (fix #213) 2016-02-02 16:01:11 +08:00
An Phan
f10fc5fa7d Add "watch" functionality 2016-02-02 15:47:00 +08:00
An Phan
21567032ab Fix length 2016-02-01 15:04:16 +08:00
An Phan
e317d2d955 Bump and set version 2016-02-01 11:00:39 +08:00
An Phan
109a955044 Fix #209 2016-02-01 09:58:31 +08:00
Phan An
9dc423f430 Applied fixes from StyleCI 2016-01-31 09:00:15 -05:00
An Phan
61ad09bcd4 User feedback for JWT cmd 2016-01-31 21:46:05 +08:00
An Phan
5532364518 Album and artist covers now use CDN too 2016-01-30 12:12:09 +08:00
An Phan
65fb45f08a Add FLAC support 2016-01-28 23:19:06 +08:00
An Phan
24cb32ceea Serve static assets via CDN if possible 2016-01-28 13:35:51 +08:00
Phan An
9309c4a99f Applied fixes from StyleCI 2016-01-26 10:49:03 -05:00
An Phan
57b6cc022e Quick route fix 2016-01-26 23:23:55 +08:00
An Phan
8453c8e30b Several methods for API 2016-01-26 14:32:29 +08:00
An Phan
278fb7c8bf Remove obsolete comment regarding type support 2016-01-26 14:31:56 +08:00
An Phan
3827545037 Merge branch '1.1' into 2.0 2016-01-26 14:29:37 +08:00
An Phan
2aa3efa19e Merge branch '1.1' of github.com:phanan/koel into 1.1 2016-01-26 14:28:13 +08:00
Joan Font
a124a97cd3 case insentive file extension when looking up for files to add into the library 2016-01-25 18:48:33 +01:00
An Phan
3e0c3ab809 Add CDN support 2016-01-25 18:55:00 +08:00
An Phan
190c2c117f Invalidate token before logging out 2016-01-25 18:38:41 +08:00
An Phan
c5bf034c7f A little backward compatibility 2016-01-17 10:45:59 +08:00
An Phan
40bb29dde7 Bump version 2016-01-17 10:44:06 +08:00
Phan An
3bc1bae5b0 Applied fixes from StyleCI 2016-01-15 02:28:34 -05:00
An Phan
dde43d6184 A more intuitive init command 2016-01-15 10:16:58 +08:00
An Phan
946f335cc2 Disable sync time limit in console 2016-01-15 09:53:31 +08:00
An Phan
474e9b945b Shouldnt have removed that use statement... 2016-01-05 22:08:11 +08:00
An Phan
ffbcc7ca96 Mobile style fix 2016-01-05 10:54:50 +08:00
An Phan
13436730c5 Indicate that Song IDs are not integers 2016-01-05 10:54:27 +08:00
Phan An
75967cb4e0 Applied fixes from StyleCI 2016-01-03 06:32:38 -05:00
An Phan
ddc56c28d6 Album and Artist image URLs are now absolute 2016-01-03 16:08:01 +08:00
An Phan
2db70a9d00 Merge branch 'master' into jwt 2016-01-01 11:54:10 +07:00
Chris
aca3677500 Change songs(s) to song(s)
This makes more sense as all the other ouput handles plural this way in the file.
2015-12-29 23:56:19 -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
e7aac3ea16 Merged 1.1 2015-12-30 11:37:29 +07:00
An Phan
12e4bd473f Basically completed jwt 2015-12-30 11:29:35 +07:00
An Phan
950772a701 Bump version 2015-12-30 11:15:21 +07:00
An Phan
ea18806f09 Fixes #151 2015-12-30 11:15:21 +07:00
An Phan
e1279ba5c6 Bump version 2015-12-29 13:27:40 +07:00
An Phan
ccfea1fa42 Fix playlist store bug 2015-12-29 13:26:09 +07:00
An Phan
3bbb4375e7 Bump version 2015-12-29 08:35:22 +07:00
An Phan
3193351499 Fixes #151 2015-12-29 08:22:38 +07:00
An Phan
92b81c7b5b Progressing 2015-12-29 08:16:36 +07:00
An Phan
15c70dc6e1 Bump correct ver 2015-12-28 08:47:32 +07:00
Phan An
36b5eb29de Applied fixes from StyleCI 2015-12-27 09:07:37 -05:00
An Phan
b3a93e4038 Add a version check 2015-12-27 21:06:10 +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
An Phan
a083696289 Add updateNowPlaying for Last.fm 2015-12-23 14:26:16 +08: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
An Phan
15e1acbeae Merge branch 'master' into 1.1 2015-12-22 09:39:14 +08:00
An Phan
d64043e44b Added support for AAC (m4a) 2015-12-22 09:38:59 +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
An Phan
71b8001978 Shortenend code 2015-12-21 10:17:12 +08:00
Matthias Gutjahr
2a0bd8fcd8 Add cast to convert Song.length to float 2015-12-20 19:09:34 +01:00
An Phan
074294f6a2 Fix docblock 2015-12-21 00:07:20 +08: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
Phan An
14cf272030 Applied fixes from StyleCI 2015-12-16 12:25:25 -05:00
An Phan
7888c52355 Fix doc 2015-12-17 01:24:33 +08:00
Phan An
ed5c817941 Applied fixes from StyleCI 2015-12-16 11:15:20 -05:00
An Phan
9a806632cb Add X-Accel-Redirect stream support 2015-12-16 23:52:43 +08:00
An Phan
a2484362c2 Fix #39 2015-12-16 13:03:48 +08:00
An Phan
3aa7cb5ec4 Better error handling for settings saving 2015-12-16 00:28:54 +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
830718f396 Update docblocks 2015-12-15 08:35:46 -02:00
Pedro Borges
5f9f7d925d Fix UserPolicy 2015-12-15 08:32:41 -02:00
Pedro Borges
8f34dad27d Satisfy StyleCI 2015-12-14 22:48:48 -02:00
Pedro Borges
dab4486eee Fix after merge issues 2015-12-14 22:45:10 -02:00
An Phan
bdfada084e Fix #40 2015-12-15 08:14:31 +08:00
Phan An
5c9653cae0 Merge pull request #41 from mattstauffer/easy-init
Add an init command
2015-12-15 08:06:46 +08:00
Matt Stauffer
ba7559570c Add an init command 2015-12-14 17:43:16 -05:00
Henrique
ec4ff83fd9 Fix #26 by correcting HTTP Header 2015-12-14 16:28:33 -02:00
Pedro Borges
d21736d59d Fix conflicts 2015-12-14 16:12:20 -02:00
Pedro Borges
899c7176c1 Use Laravel built-in authorization
The comment below motivated me to find a better solution for the
repeated authorisation checks:

```php
// This can't be put into a Request authorize(), due to Laravel(?)'s
limitation.
```

This is the result.
2015-12-14 14:27:26 -02:00
An Phan
0779ff6d2a Merge branch 'clean-resource-routes' of https://github.com/pedroborges/koel into pedroborges-clean-resource-routes 2015-12-14 22:14:25 +08:00
Pedro Borges
7fcad32032 Clean resource routes 2015-12-14 11:34:34 -02:00
Phan An
f9c9a4df2d Applied fixes from StyleCI 2015-12-14 08:22:39 -05:00
An Phan
daaa7ba747 Disable auto discovering mod_xsendfile.
The reason being, there might be cases that user have installed but not
configured the module. Auto discovery here will cause the streaming to
fail. With auto discovery removed, Koel will only stream using
mod_xsendfile if MOD_X_SENDFILE_ENABLED env var is found. Hence, users
can disable it in .htaccess if they're not ready.
2015-12-14 12:32:29 +08:00
An Phan
f9edb8af7b Tmp. disabling XAccelRedirect streamer 2015-12-14 12:31:06 +08:00
An Phan
c3ec0e1198 Move touch and tile icons to img folder 2015-12-14 11:39:06 +08:00
Phan An
3848552baf Merge pull request #3 from icewind1991/patch-1
Ignore files that dont have a playtime
2015-12-14 01:08:47 +08:00
An Phan
3f65c8ad3d Remove unused property 2015-12-14 00:42:55 +08:00
Robin Appelman
6810548490 Ignore files that dont have a playtime
They probably aren't music files

Prevents

> Undefined index: playtime_seconds

while scanning
2015-12-13 17:29:26 +01:00
An Phan
0c4df50fa9 Typos 2015-12-14 00:13:08 +08:00
An Phan
a4335bff52 Fix publicPath in to allow php artisan serve 2015-12-13 14:29:32 +08:00
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00