Commit graph

39 commits

Author SHA1 Message Date
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
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
5262fee853 Doc and style 2016-02-03 23:39:15 +08:00
Phan An
9dc423f430 Applied fixes from StyleCI 2016-01-31 09:00:15 -05: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
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
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
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
a083696289 Add updateNowPlaying for Last.fm 2015-12-23 14:26:16 +08:00
Phan An
54c9a88bc1 Applied fixes from StyleCI 2015-12-21 08:50:26 -05:00
An Phan
3e747101a9 Easier to test Interaction code 2015-12-21 12:32:15 +08:00
An Phan
71b8001978 Shortenend code 2015-12-21 10:17:12 +08: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
f449a1a744 Add Last.fm scrobbling functionality 2015-12-20 20:17:35 +08: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
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
Pedro Borges
830718f396 Update docblocks 2015-12-15 08:35:46 -02:00
Pedro Borges
dab4486eee Fix after merge issues 2015-12-14 22:45:10 -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
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
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00