Commit graph

680 commits

Author SHA1 Message Date
Phan An
e2b5a18c23 Remove unused import 2017-12-10 22:39:53 +01:00
Phan An
60d95e95de Turn event bus into a class 2017-12-10 22:14:18 +01:00
Phan An
e1f9bcc84c Merge two test setup scripts 2017-12-10 01:35:49 +01:00
Phan An
f9ca76076e Add tests for album-info 2017-12-10 01:22:57 +01:00
Phan An
ec80ec49e9 Add test for login form 2017-12-10 01:22:37 +01:00
Phan An
93f6050858 Prepare for component testing 2017-12-10 01:21:39 +01:00
Phan An
6fc430365b Remove leftover comment 2017-12-03 18:00:43 +01:00
Phan An
9dbf32967b Fix song removal from playlist 2017-12-03 18:00:32 +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
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
Phan An
3d51ce02ce Fix #689 2017-12-01 17:50:52 +01:00
Fiete Börner
28a98089b5 fix pusher auth endpoint path (#674)
convert static string to template string to use the variable
2017-10-27 23:49:08 +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
06c73a5f20 Fix drag and drop event 2017-10-22 15:25:53 +01:00
Phan An
f18b21a4e6 Remove debug code 2017-10-22 00:49:43 +01:00
Phan An
0eb46b757e Cover position fix for album/artist 2017-10-22 00:27:29 +01:00
Phan An
660d333a6c Fix drag and drop 2017-10-22 00:12:35 +01:00
Phan An
4a2f59a15e Fix the edit song form bug 2017-10-21 23:10:50 +01:00
Phan An
44b95b3490 Merge branch 'master' of github.com:phanan/koel 2017-10-21 17:56:42 +01:00
Phan An
27a6b77db0 Add the remote control design 2017-10-20 16:05:33 +01:00
Phan An
c5b0ba98e8 Use babel-plugin-root-import 2017-10-03 00:01:37 +01:00
Phan An
991acd5f52 Refactor and fix typeahead 2017-10-02 23:20:08 +01:00
Phan An
b461955115 Fix the edit form display logic issue 2017-10-02 23:13:34 +01:00
Phan An
bb9e2082ea Remove unused prop 2017-10-02 23:01:20 +01:00
Phan An
deecdeb63a Use full props declaration 2017-10-02 22:55:16 +01:00
Phan An
4761926a78 Fix some styles 2017-10-02 19:51:15 +01:00
Phan An
b45a2f2d36 Make tests green 2017-10-02 19:44:44 +01:00
Phan An
2105a0b095 Set maximum number of retried scans 2017-10-02 19:39:00 +01:00
Phan An
f8ed3a1ee5 Use global variables for pusher config instead of dotenv-webpack 2017-10-02 19:38:42 +01:00
Phan An
d9d14b43a4 Make remote app work agaiin 2017-10-02 18:51:13 +01:00
Phan An
e689dde778 Import process as a workaround for Babel transforms 2017-10-02 18:20:25 +01:00
Phan An
5e0dcf2078 Make tests green 2017-10-02 02:01:39 +01:00
Phan An
b8b8ca0ee8 Use proper key field for virtual scroller 2017-10-02 01:39:03 +01:00
Phan An
c22a93d23f Set explicit key for v-for 2017-10-02 01:38:30 +01:00
Phan An
a06573c116 Make it work with yarn v1 2017-10-02 01:32:32 +01:00
Phan An
4140780f0e Make volume controller work 2017-09-08 23:15:27 +01:00
Phan An
f65c2082fd Fix dialog text color 2017-09-03 21:05:44 +01:00
Phan An
05888b0b62 Fix JS styles 2017-08-28 12:13:00 +01:00
Phan An
1dea2d87c6 Display a message if no song is playing 2017-08-28 12:05:52 +01:00
Phan An
515988ad91 Keep scanning for a desktop Koel 2017-08-28 12:05:41 +01:00
Phan An
64ba873313 Add a loader 2017-08-28 11:58:09 +01:00
Phan An
f0d86ac68b Optimize for standalone mode 2017-08-27 22:38:59 +01:00
Phan An
d099edf3cf Fix user login bug 2017-08-27 22:38:52 +01:00
Phan An
06c96e9e92 Attempt to fix the heartbeat function 2017-08-27 22:13:49 +01:00
Phan An
62a62d29ed Fix the album cover 2017-08-27 22:13:37 +01:00
Phan An
cb170ab5b8 Fix styles 2017-08-27 17:25:01 +01:00
Phan An
dc7c6bec45 Refactor the remote controller into its own page 2017-08-27 16:53:17 +01:00
Phan An
f71d298a02 Add functionalities and refactor remote controller 2017-08-26 22:43:06 +01:00
Phan An
58b4e8dbbf Move socket listeners to playback service 2017-08-26 22:42:36 +01:00
Phan An
75b0200633 Make socket.init() async 2017-08-26 22:42:14 +01:00
Phan An
9c39ef9e80 First Pusher actions 2017-08-25 01:38:02 +01:00
Phan An
cfb3df2bcc Add a remote controller view 2017-08-25 01:37:21 +01:00
Phan An
77d1e467b8 Remove redundant method 2017-08-21 22:31:49 +01:00
Phan An
e3de7692a2 Restore play/pause button on mobile 2017-08-21 22:20:59 +01:00
Phan An
48c67fff5e Display YouTube title 2017-08-19 17:53:37 +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
865dd429f3 Fix the scanning error display 2017-05-29 14:29:48 +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
d83ee5e012
Refactoring 2017-05-05 23:20:51 +07:00
Phan An
3878c1fcbf
Fix a bug with multiple current songs 2017-05-04 19:55:46 +07:00
Phan An
94c1365d2a
Use ES2015 string literal 2017-05-04 19:55:27 +07:00
Phan An
33ae521df3
Use async/await 2017-05-02 12:46:06 +07:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +08:00
Phan An
c453af3dea Add test for songStore.guess 2017-04-25 22:16:39 +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
Phan An
59a59deb40 Fix wrong config path 2017-04-22 23:42:45 +08:00
Phan An
c85865418b Fix #551 2017-04-20 17:39:40 +08:00
An Phan
024caa40e1
Fix the typo 2017-04-05 11:10:03 +08:00
An Phan
c8d67bd472
Cleanup and refactor 2017-03-28 18:25:24 +08:00
An Phan
51e2b8e78b
Link YouTube videos to YouTube 2017-03-27 18:06:21 +08:00
An Phan
65400d40ee
Comment fix 2017-03-27 18:05:43 +08:00
An Phan
f4edd54af0
Fix Last.fm doc link 2017-03-26 17:04:50 +08:00
An Phan
96e5c62ce0
Add "Play at 128kbps on mobile" setting 2017-03-26 17:02:03 +08:00
An Phan
52cc7ea884
Fix minor error in typeahead component 2017-03-26 16:20:47 +08:00
An Phan
632c6272fe
Make estlint happy 2017-03-26 16:13:13 +08:00
An Phan
43ef5cad26
Roll back the previous change 2017-03-26 11:53:04 +08:00
An Phan
26e57bd643
Fix play/pause handling bug 2017-03-26 11:46:17 +08:00
An Phan
cc43d5133a
Override playState of mediaSession for Chrome Android
Per Google Developers official doc:

> Note: The browser may consider that the web app is not playing media
> when files are seeking or loading. You can override this behaviour by
> setting navigator.mediaSession.playbackState to "playing" or "paused".
> This comes in handy when you want to make sure your web app UI stays in
> sync with the media notification controls.
2017-03-26 11:31:30 +08:00
An Phan
4618c8744e
Add media notif handlers on Android 2017-03-26 11:25:56 +08:00
An Phan
c1b611b357
Properly close tags (fixes #564) 2017-03-25 15:18:06 +08:00
An Phan
80e55ce6b3
Clean up 2017-03-24 16:47:06 +08:00
An Phan
221579c6e7
Allow searching specifically in title, album, and artist 2017-03-23 12:18:17 +08:00
An Phan
3fc10e3043
Preload the next song as soon as we can 2017-03-22 15:44:13 +08:00
An Phan
88e3a6add8
Fix footer album thumb display 2017-03-14 16:16:43 +08:00
An Phan
bdca871b6e
Upgraded to Laravel 5.4 2017-02-15 11:16:49 +08:00
An Phan
f5e1665482
Make playlist sorting persistent, too 2017-02-12 18:58:59 +08:00
An Phan
50ccd75deb
Make album/artist sorting order persistent (fixes #530) 2017-02-12 17:57:44 +08:00
X-Ryl669
2bd4b79a04 Fix equalizer bug upon Koel starting if a preset was used in the previous session. (#538)
Now the application starts (before, it triggered an exception)
2017-02-09 20:06:00 +08:00
An Phan
57477189d9
Disable ESLint camelcase rule for properties in stores 2017-02-09 15:02:22 +08:00
An Phan
bf31148f69
Disable ESLint camelcase rule in stubs 2017-02-09 14:53:37 +08:00
An Phan
86de2a3059
Fix shuffle bug in Artist and Album view 2017-01-23 00:27:30 +08:00
An Phan
13138d8837
Use pattern for song track 2017-01-20 10:55:33 +08:00
An Phan
37e5c3853a
Fix song edit form open bug 2017-01-20 10:55:10 +08:00
An Phan
936dae09ec
Refactor the "Back to Top" button component 2017-01-19 16:35:20 +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
f495c99a52
Remove problematic Sentry (closes #524) 2017-01-19 10:48:41 +08:00
An Phan
94a54bd182
Arrayify querySelectorAll() results 2017-01-18 09:27:03 +08:00
An Phan
84d523d240
Refactor 2017-01-17 22:09:27 +08:00
An Phan
d27f7aa7c3
Remove unnecessary argument 2017-01-17 16:20:40 +08:00
An Phan
1296837b3d
Use proper drag events 2017-01-17 16:19:00 +08:00
An Phan
9537ad26b1
Refactor 2017-01-17 15:32:03 +08:00
An Phan
cd94c4e38a
Eliminate dead code 2017-01-16 15:08:04 +08:00
An Phan
6ccf2af37a
Use lodash's each because performance 2017-01-16 00:20:55 +08:00
An Phan
14cf0330ea
Add the observer polyfill 2017-01-15 18:05:39 +08:00
An Phan
01f3e77fb3
Fix back to top button z-index 2017-01-15 12:15:13 +08:00
An Phan
891dc74556
Properly select song when right-click 2017-01-14 22:46:04 +08:00
An Phan
742967be95
Refactor the song item component 2017-01-14 21:55:33 +08:00
An Phan
184e63c54d
Merge branch 'virtualscroll' 2017-01-14 21:42:23 +08:00
An Phan
8c14092c41
Fix object destructuring for song update 2017-01-14 21:42:11 +08:00
An Phan
6d94cdea1c
Adapt virtual scroller on responsive layouts 2017-01-14 21:39:08 +08:00
An Phan
086f52761a
Implemented virtual scroll for desktop 2017-01-14 21:09:38 +08:00
An Phan
1a3e1e7f1c
Refactor, mostly using destructuring 2017-01-13 00:50:00 +08:00
An Phan
dc67de8335
Better copy 2017-01-09 16:11:26 +08:00
An Phan
43d2958ac6
Add minor style enhancements 2017-01-06 10:05:29 +08:00
An Phan
3d827817fb
Add some comments 2016-12-21 11:30:22 +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
10d2492232
Really fix tests 2016-12-17 16:16:11 +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
c842ef4db0
Tiny tweaks for song list elements 2016-12-11 21:26:50 +08:00
An Phan
86ca8d40f6
Add iTunes integration 2016-12-11 21:08:30 +08:00
An Phan
27793adefd
Some image optimization 2016-12-10 17:53:00 +08:00
An Phan
0921b59ed0
Add <noscript> 2016-12-10 17:39:02 +08:00
An Phan
09b15b9e66
Add Sentry 2016-12-09 16:23:40 +08:00
An Phan
9f0675bb58
Fix edit songs form issue 2016-12-04 20:40:25 +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
f22b108bfb
Normalize artist items playorder (closes #374) 2016-12-01 18:32:11 +07:00
An Phan
2d6d0fd8fb
Replace sweetalert with alertify 2016-12-01 17:54:28 +07:00
An Phan
8db4aa696f
Hide Delete button on self 2016-11-30 16:51:05 +07:00
An Phan
4595f0bff4
Revamp user add/edit forms 2016-11-30 16:24:05 +07:00
An Phan
30237d27ad
Refactor Edit songs form 2016-11-28 17:27:59 +07:00
An Phan
c3b0cbe361
Only show Like button when applicable 2016-11-28 17:12:48 +07:00
X-Ryl669
bb06cd6b63 Fix scrollable issue with Firefox. (#459) 2016-11-28 16:55:32 +07:00
An Phan
75af93e7ce
Rename Download to explicit "Download All" 2016-11-28 16:00:32 +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
a209c93a5b
Fix Artist and Album components 2016-11-28 11:44:56 +07:00
An Phan
4b96dad5a3
Fix Delete playlist button 2016-11-28 11:42:22 +07:00