Commit graph

495 commits

Author SHA1 Message Date
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