Commit graph

335 commits

Author SHA1 Message Date
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
Phan An
75967cb4e0 Applied fixes from StyleCI 2016-01-03 06:32:38 -05: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
92b81c7b5b Progressing 2015-12-29 08:16:36 +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
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
dab4486eee Fix after merge issues 2015-12-14 22:45:10 -02: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
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00