Commit graph

148 commits

Author SHA1 Message Date
An Phan
e359c96a7a Simplify Playlist test 2016-06-04 23:15:14 +08:00
An Phan
aff2c9f9d2 Simplify Scrobble test 2016-06-04 22:36:45 +08:00
An Phan
9b7c166356 Refactor tests 2016-05-31 00:19:52 +08:00
An Phan
6b9ef7996a Convert getLastfmSessionKey() into attribute 2016-05-30 14:15:55 +08:00
An Phan
76481a040b Minor refactoring 2016-05-30 13:57:51 +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
2ca5047a9d Add setting route test 2016-05-27 17:07:52 +08:00
An Phan
e5f77399fd Add song scrobble test 2016-05-27 16:45:45 +08:00
An Phan
efe8b937d2 Add test for song info 2016-05-27 16:34:38 +08:00
An Phan
7400f81d04 Fix song update logic 2016-05-27 11:32:52 +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
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
Phan An
20424f2b85 Applied fixes from StyleCI 2016-04-04 10:41:12 -04:00
An Phan
d8d2dc8a5d Support force and selective-tags sync 2016-03-22 16:22:39 +08:00
An Phan
8e0bc532b9 Add track # test 2016-03-20 22:14:02 +08:00
alex-phillips
dde55879a0 fixed tests by referencing new track column in database 2016-03-20 09:18:34 -04:00
An Phan
969fca6066 Return full asset URLs 2016-03-14 10:36:03 +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
8143ea0c2f No need to manually call Mockery::close 2016-03-06 11:58:11 +08:00
An Phan
5d690f272d Ditch fswatch for inotify 2016-02-04 23:04:53 +08:00
An Phan
f10fc5fa7d Add "watch" functionality 2016-02-02 15:47:00 +08:00
Phan An
9dc423f430 Applied fixes from StyleCI 2016-01-31 09:00:15 -05:00
An Phan
24cb32ceea Serve static assets via CDN if possible 2016-01-28 13:35:51 +08:00
An Phan
8453c8e30b Several methods for API 2016-01-26 14:32:29 +08:00
An Phan
bb4187b61a Add test for incase-sensitive file extensions 2016-01-26 14:30:48 +08:00
An Phan
12e4bd473f Basically completed jwt 2015-12-30 11:29:35 +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
8495452762 Like/unlike now work with Last.fm 2015-12-21 21:49:00 +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
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
An Phan
79e441646e Fix test class name 2015-12-17 15:16:36 +08:00
An Phan
f19afff184 Add artist test 2015-12-17 15:02:44 +08:00
Pedro Borges
5f9f7d925d Fix UserPolicy 2015-12-15 08:32:41 -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
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00