Commit graph

41 commits

Author SHA1 Message Date
Phan An
ef140d8819 chore: better firstOrCreate usage 2019-11-29 22:23:40 +01:00
Phan An
3e245ee13e
Apply fixes from StyleCI (#1128) 2019-11-29 21:51:39 +01:00
Phan An
872764da5a chore: clean up seeders 2019-11-29 21:50:59 +01:00
Phan An
d088561e06
Add "Smart Playlist" backend logics (#849)
This commit prepares the backend for the "Smart Playlist" feature.
2018-11-04 00:25:08 +01:00
Phan An
835d6a3449
Fix broken tests due to Laravel change (#825)
* Fix broken tests due to Laravel change

* Apply fixes from StyleCI (#824)
2018-10-06 12:46:01 +02:00
Phan An
e1b68cc53f Revamp the koel:init command 2017-12-03 17:54:11 +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
6f9a057879 Fix a potential migration bug 2017-12-01 17:50:28 +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
14b6c7154b Finish unit tests for Song 2017-06-10 16:17:46 +01:00
Phan An
26f76313a2 Modify the model factory for more flexibility 2017-06-10 14:24:52 +01:00
Phan An
56b5db9487 Add unit test for Album model 2017-06-10 01:40:44 +01:00
Phan An
e914895b76 Apply fixes from StyleCI (#584) 2017-04-29 11:53:39 +08:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +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
1c0681643f Applied fixes from StyleCI (#484) 2016-11-24 00:47:10 +08:00
An Phan
ef618a611b
First steps in e2e 2016-11-13 23:05:24 +08:00
bdgold
7434f4bbbb Password hashing. (#441)
Fixes https://github.com/phanan/koel/issues/432
2016-09-10 14:38:37 +07:00
bdgold
5d9a2ffe73 Clean UserTableSeeder (#420) 2016-09-05 21:35:13 +07:00
bdgold
27933d49cf move env variables to config (#415) 2016-08-21 22:19:03 +07:00
Phan An
2c422418e7 Applied fixes from StyleCI (#372) 2016-07-09 13:58:18 +08:00
An Phan
b8d68bd74f
Fix auto increment bug 2016-07-09 13:57:59 +08:00
Phan An
d9d4789410 Applied fixes from StyleCI (#359) 2016-06-16 21:51:39 +08:00
An Phan
5519d27e8d
Force cascade deleting playlists 2016-06-16 21:49:54 +08:00
An Phan
e2d35738fd Make sure modified artists cascade the album's artist_id field 2016-06-05 01:51:43 +08:00
Phan An
8fc5d7c287 Applied fixes from StyleCI 2016-05-21 07:32:24 -04:00
An Phan
4dc06719b3 First try 2016-04-17 23:38:06 +08:00
Phan An
e6b651b689 Applied fixes from StyleCI 2016-03-20 10:15:55 -04:00
An Phan
36b6d9e17a Fix migration scripts 2016-03-20 21:54:52 +08:00
An Phan
a9ef743b88 Fix migration scripts 2016-03-20 21:47:10 +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
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
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
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