Commit graph

248 commits

Author SHA1 Message Date
Phan An
01175d14dd Make ES lint happy happy 2017-12-02 17:22:34 +01:00
Phan An
d949ea9e60 Load (and parse) playlist content on demand 2017-12-02 17:05:40 +01:00
Fiete Börner
c970481f19 add support for non root installations (#673)
* remove all absolute forward slashes to make relative urls

* set global baseUrl in common blade template

use this variable in all api calls

* fix absolute url paths in scss

set a base href in app index files for all relative resource paths

* rename baseUrl to BASE_URL
2017-10-26 15:59:53 +01:00
Phan An
44b95b3490 Merge branch 'master' of github.com:phanan/koel 2017-10-21 17:56:42 +01:00
Phan An
c5b0ba98e8 Use babel-plugin-root-import 2017-10-03 00:01:37 +01:00
Phan An
dc7c6bec45 Refactor the remote controller into its own page 2017-08-27 16:53:17 +01:00
Phan An
9c39ef9e80 First Pusher actions 2017-08-25 01:38:02 +01:00
Phan An
24eeebde06 Only count a song as played after 10s (closes #619) 2017-08-06 10:55:02 +01:00
Phan An
fbeef63255
More refactoring 2017-05-11 09:32:32 +07:00
Phan An
1f110ddff6
Various refactors and cleanups 2017-05-08 00:41:12 +07:00
Phan An
84e9ba269e
Optimize preference store 2017-05-06 09:11:06 +07:00
Phan An
3878c1fcbf
Fix a bug with multiple current songs 2017-05-04 19:55:46 +07:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +08:00
Phan An
4b75be5c22 Remove unnecessary import 2017-04-25 22:09:52 +08:00
Phan An
32430411f6 Fix tests 2017-04-25 22:09:32 +08:00
Phan An
15eb5a1596 Clean up 2017-04-24 14:38:25 +08:00
Phan An
a96c0e22fb Compilation fixes getting in shape 2017-04-24 00:01:02 +08:00
An Phan
96e5c62ce0
Add "Play at 128kbps on mobile" setting 2017-03-26 17:02:03 +08:00
An Phan
57477189d9
Disable ESLint camelcase rule for properties in stores 2017-02-09 15:02:22 +08:00
An Phan
5d8bb16c5e
Remove redundant import 2017-01-19 14:06:32 +08:00
An Phan
bbfa478d3f
Fix the bug with share state (fixes #523) 2017-01-19 12:11:25 +08:00
An Phan
84d523d240
Refactor 2017-01-17 22:09:27 +08:00
An Phan
9537ad26b1
Refactor 2017-01-17 15:32:03 +08:00
An Phan
6ccf2af37a
Use lodash's each because performance 2017-01-16 00:20:55 +08:00
An Phan
8c14092c41
Fix object destructuring for song update 2017-01-14 21:42:11 +08:00
An Phan
1a3e1e7f1c
Refactor, mostly using destructuring 2017-01-13 00:50:00 +08:00
An Phan
600e937e4e
Fix link 2016-12-21 00:02:58 +08:00
An Phan
9dc0ddebb5
Remove jQuery 2016-12-20 23:48:37 +08:00
An Phan
d43c62a7b9
Keep recently played songs between sessions 2016-12-19 15:34:51 +08:00
An Phan
226c5e5bdb
Utilize pluralize filter 2016-12-19 13:53:09 +08:00
An Phan
796ca1f413
Fix tests 2016-12-17 16:10:08 +08:00
An Phan
ba612f5dcc
Cache artists/albums for performance (fix) 2016-12-17 15:41:45 +08:00
An Phan
ddabe880e5
Cache artists/albums for performance 2016-12-17 15:31:08 +08:00
An Phan
86ca8d40f6
Add iTunes integration 2016-12-11 21:08:30 +08:00
An Phan
d769860582
Fix return type 2016-12-01 20:42:00 +07:00
An Phan
2a3bdb1ef4
Fix lint 2016-12-01 20:06:52 +07:00
An Phan
f96518d8dc
Guess and match songs in album info panels 2016-12-01 19:43:44 +07:00
An Phan
2d6d0fd8fb
Replace sweetalert with alertify 2016-12-01 17:54:28 +07:00
An Phan
4595f0bff4
Revamp user add/edit forms 2016-11-30 16:24:05 +07:00
An Phan
1293d7e278
Show loading when songs are added/removed from playlist/favorite (closes #477) 2016-11-28 15:48:55 +07:00
An Phan
adfebd0167
Lint everything 2016-11-26 10:25:35 +07:00
An Phan
a0f72aa396
Properly warn user when saving media path 2016-08-13 18:43:25 +08:00
An Phan
7bf47b2d50
Fix latest songs/albums 2016-08-13 10:52:09 +08:00
An Phan
34a46f1f9c
Display recently added songs/albums on Home screen (resolves #379 2016-08-07 19:33:46 +07:00
An Phan
e3ee03db24
Complete YouTube feature 2016-07-30 23:32:17 +08:00
An Phan
d2a6e04bb0
Add byId() into playlist store 2016-07-11 00:56:09 +08:00
An Phan
9becc85bdd
Replace vue-resource with jQuery and save a lib 2016-07-09 12:06:14 +08:00
An Phan
56045ef06c
Add the ability to share song URLs 2016-07-07 21:54:20 +08:00
An Phan
0dfbf4020a
Fix equalizer bugs 2016-06-28 14:39:42 +08:00
An Phan
200b434122
Typo in code 2016-06-27 17:44:37 +08:00
An Phan
405923315f
Use promises 2016-06-27 14:11:35 +08:00
An Phan
132e66213f
Fix song artist updating 2016-06-27 11:51:52 +08:00
An Phan
8657387f0a
A change of heart re:indent size 2016-06-26 00:05:24 +08:00
An Phan
7f4bb0706d
Better organizing services and stores 2016-06-25 18:15:57 +08:00
An Phan
0d404d6f29
Rewrite utils and filters, prepare for Vue 2.x 2016-06-24 23:55:44 +08:00
An Phan
d4a2e93764
Fix queue shuffle bug 2016-06-06 18:05:39 +08:00
An Phan
fc325e5262 Refactor media info services 2016-06-05 19:29:49 +08:00
An Phan
83f421f990 Add ability to view artist individually 2016-06-05 19:06:24 +08:00
An Phan
db340438ad Add ability to view album info individually 2016-06-05 18:46:40 +08:00
An Phan
bec05931b3 Standardize useLastfm reference 2016-06-05 12:13:56 +08:00
An Phan
0605e20735 Disallow downloading on mobile altogether 2016-06-04 22:22:28 +08:00
An Phan
970981ccc1 Finish Playlist download, starting Fav download 2016-06-04 20:29:23 +08:00
An Phan
774ae68efb Finish Album download, starting Artist download 2016-06-04 19:20:11 +08:00
An Phan
667175c23d Merge branch 'master' into compilation 2016-05-05 18:39:13 +08:00
An Phan
f8c7233cd9 More code optimization 2016-05-05 18:38:54 +08:00
An Phan
2aa45bce03 Optimize some code 2016-05-03 11:08:24 +07:00
An Phan
13d3a86304 Second try and add tests 2016-05-02 09:55:59 +07: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
An Phan
6f6e3ac2bf Reserve chosen preset name after reloads (fix #297) 2016-04-13 14:00:38 +08:00
An Phan
0cb5ae265f Export modules from utils 2016-04-10 16:51:06 +07:00
An Phan
c9ebda016a Refactor 2016-04-10 16:41:10 +07:00
An Phan
7d9768b846 Add "Queue after current song" action 2016-04-07 17:49:08 +07:00
An Phan
1efe92f7b8 Revamp preference store 2016-04-05 17:19:20 +08:00
An Phan
cfdb4034d1 Refactor 2016-04-05 15:49:03 +08:00
An Phan
35b8c86b06 Fix left over lodash migration bug 2016-04-04 15:05:44 +08:00
An Phan
5eb7e3014d Refactor 2016-04-04 14:50:33 +08:00
An Phan
0186cefa32 Fix #292 2016-04-04 13:13:26 +08:00
An Phan
986cfe6e84 Fix delete playlist bug 2016-03-31 17:53:10 +08:00
An Phan
e9360e4600 Upgrade lodash to 4.x 2016-03-31 16:58:46 +08:00
An Phan
481d012d6c Use explicit imports for lodash functions 2016-03-31 15:44:36 +08:00
An Phan
be4378d33f Use proper const wherever applicable 2016-03-28 21:38:14 +08:00
An Phan
b943965043 Sync track number after updating song 2016-03-28 20:16:03 +08:00
An Phan
f43e72355c Add thumbnails/listing view mode (close #278)
This commit adds an option to change view mode (thumbnails/listing) for
artists and albums views.
2016-03-28 19:51:49 +08:00
An Phan
69a36f7bad Better Users screen 2016-03-20 21:42:33 +08:00
An Phan
f341987e33 Fix contains() method 2016-03-19 03:41:46 +08:00
An Phan
e0d783f366 Use getters/setters 2016-03-18 12:45:12 +08:00
An Phan
f6d0db1b4f Make let, not var 2016-03-16 11:51:07 +08:00
An Phan
01480432a8 Massive jslint fix 2016-03-14 01:00:32 +08:00
An Phan
6e1c617d62 Upgrade libraries 2016-03-13 00:15:14 +08:00
An Phan
6b2efbf12a Move nprogress logic to main.js 2016-03-11 18:49:54 +08:00
An Phan
03e8dbd6b9 Add a loading progress bar 2016-03-11 17:55:40 +08:00
An Phan
82ce986405 Exclude unknown artist/album from most-played 2016-03-06 17:06:28 +08:00
An Phan
2d08223106 Attempt to preload the next song (resolves #232) 2016-03-06 16:19:37 +08:00
An Phan
caff687bdd Reset recent songs between sessions (fixes #249) 2016-03-06 15:51:50 +08:00
An Phan
913f21c9e5 Remove an empty useless method 2016-03-06 15:46:46 +08:00
An Phan
e12d723e8d Refresh song info after editing 2016-03-06 13:02:03 +08:00
An Phan
8a5d242122 Add edit ability (fixes #228) 2016-03-06 11:58:51 +08:00
An Phan
a7e5cdcb00 Eliminate Vue.http deprecated warning 2016-03-01 00:50:25 +08:00
An Phan
5066a14858 Revamp dashboard, fix #231 2016-02-14 15:18:40 +08:00
An Phan
1c84cb93ec Use native array methods 2016-02-14 00:59:57 +08:00
An Phan
f6733dcae6 Fix typo 2016-02-10 23:54:55 +07:00
An Phan
cb23591f70 Use Vue in a modular way 2016-02-09 11:57:08 +07:00
An Phan
03d3480137 Reactive extra panels 2016-02-08 20:14:51 +07:00
An Phan
3ca0009f73 Add a home (dashboard) view
A home/dashboard view has been added, which contains most
recently-played songs (in the current session), top songs, albums, and
artists. Song playback has also been revised with proper Vue's
reactivity, resulting in a much better and cleaner code base.
2016-02-08 19:25:44 +07:00
An Phan
0441c45bb2 Make user avatar reactive 2016-02-07 11:23:12 +07:00
An Phan
9a4ee6b8c6 Change parameter names 2016-01-26 14:25:31 +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
426b90d210 Refactor and optimize 2016-01-21 18:21:46 +08:00
An Phan
c2aef059ce Add a preamp into the equalizer 2016-01-19 19:00:23 +08:00
An Phan
c017a8dab6 Better jsdoc 2016-01-17 22:26:24 +08:00
An Phan
adc77e882f Use proper Vue components and methods for selection 2016-01-17 18:05:49 +08:00
An Phan
5f70dee097 Optimization 2016-01-16 13:55:16 +08:00
An Phan
346aedd1c0 Allow drag and drop to rearrange queued songs 2016-01-16 09:37:29 +08:00
An Phan
f63400ec65 Add artist and song browsing 2016-01-15 15:27:25 +08:00
An Phan
eb9e9a2317 Display playlist meta 2016-01-14 16:02:59 +08:00
An Phan
4ec406934e Add a setting to confirm Koel before closing 2016-01-12 23:39:50 +08:00
An Phan
47064547f9 Add a (basic) equalizer 2016-01-11 23:25:58 +08:00
An Phan
52b115aabd Better jsdoc 2016-01-07 17:03:38 +08:00
An Phan
08936f64c8 Dblclicking a song now queue it too 2016-01-07 16:11:11 +08:00
An Phan
9cad5fa280 Use a mixin for some addTo-related actions 2016-01-06 17:12:10 +08:00
An Phan
39e073a614 Fix byIds() returning songs in wrong order 2016-01-05 22:01:46 +08:00
An Phan
5ac6c4dd1e Add "Add To..." button 2016-01-03 18:32:21 +08:00
An Phan
8a247e1ed7 Bug fixes and enhancements 2016-01-01 14:47:03 +07:00
An Phan
739a447ce9 Error class on login form 2016-01-01 13:16:17 +07:00
An Phan
e9b45ac0c3 Update album cover and artist image right after song info loaded 2015-12-30 13:03:47 +07:00
An Phan
e7aac3ea16 Merged 1.1 2015-12-30 11:37:29 +07: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
Merccy
2b931a62c2 Fixed a type in song.js 2015-12-29 20:04:58 +01:00
Merccy
a959581a40 Fixed a typo in queue.js 2015-12-29 20:03:44 +01:00
An Phan
3193351499 Fixes #151 2015-12-29 08:22:38 +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
333f22513a Favorite toggle is now async 2015-12-24 16:59:04 +07:00
An Phan
5e79a2737e Refactor and docs 2015-12-23 01:46:54 +08:00
An Phan
c071827fd5 Typo 2015-12-23 01:14:47 +08:00
An Phan
0dcc270d93 Support for standalone artist image 2015-12-22 17:53:03 +08: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
An Phan
3aa7cb5ec4 Better error handling for settings saving 2015-12-16 00:28:54 +08:00
An Phan
28103d3754 Oppa ES6 style 2015-12-14 21:13:12 +08:00
An Phan
2450df7be6 Fix newly created playlist songs 2015-12-14 12:29:16 +08:00
An Phan
e5f0b63bfb Typos 2015-12-14 00:52:35 +08:00
An Phan
22d72e25c6 Typos 2015-12-14 00:50:30 +08:00
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00