Commit graph

86 commits

Author SHA1 Message Date
Phan An
4d686e25cb
fix: drop artist name index before migration 2021-12-10 14:19:29 +01:00
Phan An
ed92eb2fde
feat: increase char limit for name fields (#1391) 2021-12-06 18:06:55 +01:00
Phan An
51130e3a20
feat: use model casting for user preferences 2021-06-04 18:19:34 +02:00
Phan An
50a94cb4b9 chore: fix static analysis problems 2020-12-23 00:01:49 +01:00
Phan An
560d41bf1d chore: fix CS 2020-12-22 21:11:22 +01:00
Phan An
6f4809ebe2 Revert "chore: change artist name DB type to text (fixes #879) (#1260)"
This reverts commit 89be90844e.
2020-11-14 19:17:51 +01:00
Phan An
febd953b05 fix: broken migration 2020-11-14 19:12:43 +01:00
Phan An
89be90844e
chore: change artist name DB type to text (fixes #879) (#1260) 2020-11-14 16:23:09 +01:00
Phan An
4b799e85a7 feat: add PHPCSFixer 2020-09-06 23:20:42 +02:00
Phan An
e356e72814 feat: upgrade Laravel to 7.x 2020-09-06 20:21:39 +02: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
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
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
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
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