Commit graph

414 commits

Author SHA1 Message Date
Martin Charles
505397aa2b Changed pos: abs to translateX
According to [Paul Irish][1], using `transform` instead of `left`, `right`,
etc. is better for multiple reasons. This will be useful when adding better
touch support.

[1]: http://www.paulirish.com/2012/why-moving-elements-with-translate-is-better-than-posabs-topleft/
2016-05-21 16:54:50 -04:00
An Phan
fd0defc059 Basically completed compilation feature 2016-05-19 23:21:27 +08:00
An Phan
22b228f338 Merge branch 'master' into compilation 2016-05-08 17:52:51 +08:00
An Phan
3d46e73e8b Auto log out when session expires (fixes #320) 2016-05-06 13:04:59 +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
80900f17cb Fixes #325 2016-05-05 11:42:28 +08:00
An Phan
2aa45bce03 Optimize some code 2016-05-03 11:08:24 +07:00
An Phan
6cc36b39ee Merge branch 'master' into compilation 2016-05-02 10:33:16 +07:00
An Phan
13d3a86304 Second try and add tests 2016-05-02 09:55:59 +07:00
loganfreeman
6edfbc08c7 app.scss compiled failed
SASS ignores variables, defined in if-statement

http://stackoverflow.com/questions/15371332/sass-ignores-variables-defined-in-if-statement
2016-04-25 22:41:41 -06:00
An Phan
edc4795421 Second try and add tests 2016-04-24 12:37:04 +08:00
Bartek Iwańczuk
d46bf5d8ce Fix #308 2016-04-18 22:26:27 +02:00
An Phan
4dc06719b3 First try 2016-04-17 23:38:06 +08:00
An Phan
dc27eeba8a Clean drop effects after dropping songs (fix #298) 2016-04-13 14:10:18 +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
8c0694c66a Remove separator from context menu if no playlists 2016-04-07 17:36:20 +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
1fb535b89f Update the db diagram 2016-04-05 14:47:12 +08:00
An Phan
1751600824 Add a "Back to Top" button for long-scrolling pages 2016-04-04 21:01:55 +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
9361b052ff Attempt to fix #120 2016-04-01 17:33:14 +08:00
An Phan
0e13447af1 Remove logging code 2016-04-01 15:53:21 +08:00
An Phan
aad18642e7 Code refactor 2016-04-01 15:44:11 +08:00
An Phan
ec6cd1bb08 Properly activate a playlist after creation 2016-04-01 15:10:02 +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
b2d0bce09b Make song's fmtLength one-time binding 2016-03-31 14:51:42 +08:00
An Phan
5729e69a7a Better style for artist/album fillers 2016-03-31 12:05:07 +08:00
An Phan
b71066d2f9 Top artist/album listing now inherit view mode settings 2016-03-31 12:03:12 +08:00
An Phan
6377c0d948 Remove redundant code 2016-03-30 11:46:18 +08:00
An Phan
517c71e26c Let track's minimum value be 0 2016-03-28 22:36:59 +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
Timothy Cyrus
408e086751 Update index.blade.php 2016-03-26 19:05:16 -04:00
An Phan
daa2309368 Restore .item placeholders 2016-03-24 17:18:43 +08:00
An Phan
8467a4b133 Make jslint happy 2016-03-24 16:47:27 +08:00
An Phan
028aae9502 Move filters into their own folder 2016-03-24 12:37:39 +08:00
alex-phillips
e3277f14ad added multiple methods to retrieve the 'track' from a file, set default sorting on the song lists 2016-03-23 10:07:50 -04:00
An Phan
e5778d1896 Remove redundant .item elements 2016-03-23 21:04:41 +08:00
An Phan
c2e04bc69b Remove redundant styles 2016-03-22 18:11:46 +08:00
An Phan
d090557dff Trying to (prematurally) optimize sound bars 2016-03-22 18:06:40 +08:00
An Phan
6aac47112c Merge branch 'feature/advanced-subsort' of git://github.com/alex-phillips/koel into alex-phillips-feature/advanced-subsort 2016-03-21 21:20:05 +08:00
alex-phillips
02448bbb06 added album and artist navigation via song list context menu 2016-03-21 08:38:10 -04:00
alex-phillips
e758503b0d added advanced subsort support - can now subsort with any arbitrary number of keys 2016-03-20 11:22:58 -04:00
An Phan
e51d4baef4 More style for track number 2016-03-20 22:24:58 +08:00
An Phan
438e264d32 Fix track number style 2016-03-20 22:23:01 +08:00
An Phan
6b0575d033 Revert #272 2016-03-20 22:06:57 +08:00
An Phan
bf56b740c1 Add a Track # column into song list 2016-03-20 22:05:42 +08:00
An Phan
1c15a56c68 Fix subsort error 2016-03-20 21:56:10 +08:00
An Phan
36b6d9e17a Fix migration scripts 2016-03-20 21:54:52 +08:00
An Phan
69a36f7bad Better Users screen 2016-03-20 21:42:33 +08:00
Phan An
1207ea2e0b Merge pull request #273 from alex-phillips/feature/sort-by-track
Sort by Track
2016-03-20 21:40:36 +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
87a938329a Merge pull request #272 from alex-phillips/feature/links
Added navigation links
2016-03-20 20:40:19 +08:00
alex-phillips
8c7dae6a32 fixed reference to song's artist 2016-03-19 13:45:23 -04:00
alex-phillips
1e7f1eaaf8 each song item can now be used to navigate to its artist or album view 2016-03-19 12:37:58 -04:00
An Phan
f341987e33 Fix contains() method 2016-03-19 03:41:46 +08:00
An Phan
9cd74a75f8 Very minor style fix 2016-03-18 12:45:23 +08:00
An Phan
e0d783f366 Use getters/setters 2016-03-18 12:45:12 +08:00
An Phan
3500ee7b33 Set media queries to viewport, not device 2016-03-17 17:46:24 +08:00
An Phan
86ea370cf4 Style fix for dashboard 2016-03-17 17:33:20 +08:00
An Phan
ae65809ec5 Better responsiveness for album and artist listing 2016-03-17 17:28:43 +08:00
An Phan
1fa9e0b78c Spelling fix 2016-03-16 17:08:36 +08:00
An Phan
a691825fdb Optimize some code 2016-03-16 11:52:26 +08:00
An Phan
f6d0db1b4f Make let, not var 2016-03-16 11:51:07 +08:00
An Phan
ddfe9ccb03 Simplify "confirm before closing" preference 2016-03-15 20:59:12 +08:00
An Phan
16283112b3 Code cleaning service 2016-03-15 01:16:38 +08:00
An Phan
48c06592ab Fix stop() method when there's no current song 2016-03-14 20:47:45 +08:00
An Phan
07109ad5d2 Fix wrong button colors on playlist 2016-03-14 20:22:18 +08:00
An Phan
01480432a8 Massive jslint fix 2016-03-14 01:00:32 +08:00
An Phan
ed795b2b0b Move overlay functions into, duh, overlay.vue 2016-03-13 12:50:25 +08:00
An Phan
313d9c8fc1 Simplify OS detection code 2016-03-13 11:32:37 +08:00
An Phan
1b81312893 Better scrollbars on non-Mac systems 2016-03-13 11:28:43 +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
b4f8ac2e8f (Trying to) reduce flickering with main panels 2016-03-06 21:11:04 +08:00
An Phan
2c832af80a Reduce flickering with the sound bar 2016-03-06 17:26:17 +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
70a34401f6 Better lyrics handling 2016-03-06 15:44:38 +08:00
An Phan
29e5eea323 Remove references to select2 2016-03-06 15:34:29 +08:00
An Phan
078a514769 Load lyrics into edit form properly 2016-03-06 13:41:31 +08:00
An Phan
e12d723e8d Refresh song info after editing 2016-03-06 13:02:03 +08:00
An Phan
ced14bbfff Little CSS tweaks 2016-03-06 12:07:05 +08:00
An Phan
8a5d242122 Add edit ability (fixes #228) 2016-03-06 11:58:51 +08:00
An Phan
3dadb7d741 Merge branch 'master' into edit 2016-03-01 00:52:56 +08:00
An Phan
29ac291340 Remove obsolete comments 2016-03-01 00:52:49 +08:00
An Phan
a7e5cdcb00 Eliminate Vue.http deprecated warning 2016-03-01 00:50:25 +08:00
An Phan
97b89fe343 Merge branch 'master' into edit 2016-02-24 21:29:56 +08:00
An Phan
1268a8987f Hide scrollbars on Windows 2016-02-24 21:29:23 +08:00
An Phan
19eea0e27c Fix preset style on Windows (#250) 2016-02-24 21:21:12 +08:00
An Phan
331c9711fe Better CSS 2016-02-21 19:04:57 +08:00
An Phan
921b8a66c7 Manually set media src to fix equalizer bug 2016-02-21 15:03:48 +08:00
An Phan
15af325370 Upgrade plyr to fix player bugs 2016-02-21 14:28:22 +08:00
An Phan
b0a7329a57 Fix all kinds of bug after the poor merge at #243 2016-02-20 21:39:17 +08:00
An Phan
640d8fc8dc Close menu with clickaway 2016-02-19 15:20:34 +08:00
An Phan
e78f498e13 Resolve issues after merge 2016-02-18 22:59:09 +08:00
rundef
a2aae4b6e4 Forgot to remove the player controls padding 2016-02-17 20:41:59 -05:00
rundef
bd937f6d07 Remove bower. Fetch plyr from npm instead 2016-02-17 10:53:53 -05:00
An Phan
7e61115755 Use events instead of computed props for dashboard 2016-02-14 21:45:07 +08:00
An Phan
07f7a75f77 Hide drag ghost on touch devices 2016-02-14 21:07:07 +08:00
An Phan
3b04962a9c Fix dashboard display bug on Safari 2016-02-14 21:04:09 +08:00
An Phan
2f8a79c82d Better line height for play/pause button 2016-02-14 18:40:35 +08:00
An Phan
b9d25ccad6 Allow dragging and dropping artists/albums (fix #229) 2016-02-14 16:34:14 +08:00
An Phan
661041cb10 Ctrl/Cmd+click album/artist now queues the songs 2016-02-14 16:20:33 +08:00
An Phan
6a382c51b2 Use configured app name 2016-02-14 15:38:00 +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
28f2714a80 Use a custom filter for songs 2016-02-14 00:59:11 +08:00
An Phan
2afe0e36f9 Fix player controls style on phones 2016-02-13 22:09:15 +08:00
An Phan
b6b2ab2de8 Fix progress color 2016-02-13 13:18:04 +08:00
An Phan
e7c3b78f20 Use npm's font-awesome instead of bower, and some optimizations 2016-02-13 13:09:45 +08:00
An Phan
9a84943f39 Artist and album in progress pane now clickable 2016-02-13 11:18:59 +08:00
An Phan
f6733dcae6 Fix typo 2016-02-10 23:54:55 +07:00
An Phan
2d5dd4f0ab Fix AudioContext detection 2016-02-10 08:22:39 +07:00
An Phan
cb23591f70 Use Vue in a modular way 2016-02-09 11:57:08 +07:00
An Phan
1d28c24c0b Better top-songs list 2016-02-08 21:33:07 +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
e0004718e5 Remove unused csrf-token meta 2016-02-03 00:38:57 +08:00
An Phan
f1f05e98fd No need to handle backspace in Mac, following Vue@1.0.16 2016-02-01 00:02:46 +08:00
An Phan
483c996aa5 Fix method name 2016-01-31 23:59:06 +08:00
An Phan
7e67d5db59 Add title to audio element 2016-01-30 23:38:55 +08:00
An Phan
5b496915a6 Song now properly skips when error 2016-01-30 23:14:15 +08:00
An Phan
20157e489e Fix playback path 2016-01-28 15:58:41 +08:00
An Phan
24cb32ceea Serve static assets via CDN if possible 2016-01-28 13:35:51 +08:00
An Phan
9a4ee6b8c6 Change parameter names 2016-01-26 14:25:31 +08:00
An Phan
660700e23f Another song for another version 2016-01-26 14:24:23 +08:00
An Phan
8476a042e3 Add CDN support 2016-01-25 21:10:10 +08:00
An Phan
190c2c117f Invalidate token before logging out 2016-01-25 18:38:41 +08:00
An Phan
bbce9d9adf Fix repeat-one logic 2016-01-25 15:21:00 +08:00
An Phan
426b90d210 Refactor and optimize 2016-01-21 18:21:46 +08:00
An Phan
e00a91fe31 Fix equalizer style on mobile devices 2016-01-20 21:49:06 +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
d32fda6342 Song playback status is kept during filtering 2016-01-17 22:08:39 +08:00
An Phan
aa9449e786 Restore the drag and drop func 2016-01-17 18:10:49 +08:00
An Phan
adc77e882f Use proper Vue components and methods for selection 2016-01-17 18:05:49 +08:00
An Phan
f3355746cd Bug fix 2016-01-17 14:00:54 +08:00
An Phan
1e6367a4c2 Little style fix 2016-01-17 13:39:12 +08:00
An Phan
9f35be6de6 Equalizer style overhaul 2016-01-17 13:14:12 +08:00
An Phan
c65414c3bf Refactor and restyle 2016-01-17 02:11:24 +08:00
An Phan
5f70dee097 Optimization 2016-01-16 13:55:16 +08:00
An Phan
c288968173 Little style tweaks 2016-01-16 13:26:31 +08:00
An Phan
c009327921 A fancy equalizer bgr 2016-01-16 13:15:33 +08:00
An Phan
2385ba0cd2 Fix the mute action and refactor 2016-01-16 11:47:28 +08:00
An Phan
346aedd1c0 Allow drag and drop to rearrange queued songs 2016-01-16 09:37:29 +08:00
An Phan
a45222518a Use proper Vue pluralize filter 2016-01-15 18:05:54 +08:00
An Phan
d65490ed04 Artist/album details covers for handheld devices 2016-01-15 16:26:02 +08:00
An Phan
03017604ae Refactor 2016-01-15 16:13:23 +08:00
An Phan
d449076e2b Fix playlist/favorite item deactivation 2016-01-15 15:34:42 +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
cbf327c9e6 Fix equalizer CSS 2016-01-13 23:09:11 +08:00
An Phan
545c5b9ced Disable equalizer on Apple devices 2016-01-13 21:27:42 +08:00
An Phan
4ec406934e Add a setting to confirm Koel before closing 2016-01-12 23:39:50 +08:00
An Phan
a2ca422adb Some tweaks for login form 2016-01-12 23:09:30 +08:00
An Phan
6d0f9fac99 Smooth scrolling 2016-01-12 23:00:04 +08:00
An Phan
6b3fe4bddb Make equalizer responsive 2016-01-12 22:53:15 +08:00
An Phan
47064547f9 Add a (basic) equalizer 2016-01-11 23:25:58 +08:00
An Phan
9303145122 Move playback action up to td for better accessibility 2016-01-11 22:06:42 +08:00
An Phan
9c9596ac9c Fix a stupid playback bug 2016-01-08 10:36:04 +08:00
An Phan
4dc6ac6cfa Use proper icon for burger 2016-01-07 18:58:06 +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
6ac4093268 Serve Google fonts locally 2016-01-07 14:33:58 +08:00
An Phan
4d8210bba5 Search form now works universally 2016-01-07 14:15:25 +08:00
An Phan
96c91d248b Better play control on mobile 2016-01-07 12:22:02 +08:00
An Phan
7f3f20ac93 Add and use Modernizr touchevent 2016-01-07 09:39:38 +08:00
An Phan
b45d5d8bce Bug fixes 2016-01-07 09:11:16 +08:00
An Phan
d17b9d8103 Allow song selection on mobile devices 2016-01-07 00:41:59 +08:00
An Phan
5a085e2bed Bug fix 2016-01-06 21:21:41 +08:00
An Phan
bca0e690f6 Users screen button fix 2016-01-06 19:19:00 +08:00
An Phan
edfc1750f0 CSS fixes 2016-01-06 18:57:45 +08:00
An Phan
aa3b8bd52a Somehow v-else wasnt recognized 2016-01-06 17:21:38 +08:00
An Phan
9cad5fa280 Use a mixin for some addTo-related actions 2016-01-06 17:12:10 +08:00
An Phan
ba81775135 Add missing component 2016-01-06 15:45:02 +08:00
An Phan
4a6331db22 Correct the app name 2016-01-06 15:44:37 +08:00
An Phan
0460d69f65 Bug fixes and enhancements 2016-01-06 15:17:52 +08:00
An Phan
8a7bf290f9 Add To... now available in all song list screens 2016-01-05 22:04:00 +08:00
An Phan
39e073a614 Fix byIds() returning songs in wrong order 2016-01-05 22:01:46 +08:00
An Phan
614e6267bf Moving the icons and add a manifest 2016-01-05 19:17:00 +08:00
An Phan
098e59d912 No auto focus for Add To menu 2016-01-05 10:55:12 +08:00
An Phan
ffbcc7ca96 Mobile style fix 2016-01-05 10:54:50 +08:00
An Phan
012606d267 Modified media path label 2016-01-04 01:04:52 +08:00
An Phan
518d1e03f3 Optimization 2016-01-03 19:48:19 +08:00
An Phan
4464d7433d Make mocha happy 2016-01-03 19:45:52 +08:00