Commit graph

710 commits

Author SHA1 Message Date
Phan An
0c40b16359 Add tests for song-list-controls 2018-01-04 01:47:35 +01:00
Phan An
b34853edf4 Add tests for song-list-controls-toggler.vue 2018-01-04 00:54:59 +01:00
Phan An
64be4f52b4 Simplify tests 2018-01-02 00:40:38 +01:00
Phan An
892891c9cd Add tests for song-item component 2018-01-02 00:23:21 +01:00
Phan An
52c4393f02 Add tests for overlay.vue 2018-01-01 22:38:56 +01:00
Phan An
ff37d7aaaf Add tests for to-top-button.vue 2017-12-29 15:23:00 +01:00
Phan An
5ca8d90a82 Fix formating 2017-12-29 14:49:34 +01:00
Phan An
e7961d4223 Add tests for home-song-item.vue 2017-12-29 14:48:15 +01:00
Phan An
8a0c6752dc Add tests for artist-item 2017-12-29 13:55:56 +01:00
Phan An
a32d796d12 Refactor 2017-12-29 13:55:47 +01:00
Phan An
fd562632da Add tests for album-item.vue 2017-12-28 22:21:33 +01:00
Phan An
87f318a542 Use factoria 2017-12-28 21:48:34 +01:00
Phan An
29f72a008d Add tests for add-to-menu component 2017-12-26 17:21:14 +01:00
Phan An
97d86e9aff Add tests form edit user form 2017-12-26 01:48:13 +01:00
Phan An
b0306048e0 Add tests for edit songs form 2017-12-25 01:03:04 +01:00
Phan An
544b56ebbb Make song factory's artist and album consistent 2017-12-24 23:55:40 +01:00
Phan An
d8dc6cf8b3 Fix add-user-form tests 2017-12-24 23:18:56 +01:00
Phan An
9dc24eb7c4 Add tests for add-user-form 2017-12-24 23:00:51 +01:00
Phan An
e8786b0d0d Add tests for mainwrapper/index 2017-12-23 19:48:36 +01:00
Phan An
f26739ee50 Add tests for playlist-item 2017-12-23 19:48:12 +01:00
Phan An
07556d35f3 Add playlist-item component test 2017-12-20 23:54:11 +01:00
Phan An
21b57ba1ef Refactor tests 2017-12-19 23:45:11 +01:00
Phan An
c48e09f4c3 Fix styling 2017-12-18 23:54:36 +01:00
Phan An
564425e3ed Add tests for playlist-item.vue 2017-12-18 23:53:35 +01:00
Phan An
af01b0b1b6 Add tests for youtube-player.vue 2017-12-18 23:28:49 +01:00
Phan An
1ea443c727 Add tests for sidebar index 2017-12-18 23:28:35 +01:00
Phan An
66e073e6de Add tests for users.vue 2017-12-17 20:26:48 +01:00
Phan An
3bf49f5dbc Make eslint happy 2017-12-17 02:06:33 +01:00
Phan An
fe79e53558 Fix equalizer by using new audio API 2017-12-17 01:55:17 +01:00
Phan An
566e2067b5 Move file to correct dir 2017-12-17 00:14:24 +01:00
Phan An
fa3a8e0c78 Add tests for songs.vue 2017-12-17 00:13:03 +01:00
Phan An
9547969101 Remove swap files 2017-12-17 00:07:59 +01:00
Phan An
fac40bc501 Add tests for settings.vue 2017-12-16 23:57:32 +01:00
Phan An
648fc9f232 Add tests for queue.vue 2017-12-16 22:42:40 +01:00
Phan An
56cd86291e Super minor format fix 2017-12-16 22:16:13 +01:00
Phan An
1f6bd29cf9 Add tests for profile.vue 2017-12-16 22:15:02 +01:00
Phan An
eabfef0044 Add tests for playlist.vue 2017-12-16 22:14:34 +01:00
Phan An
ad00bb07f1 Fix tests 2017-12-16 22:14:25 +01:00
Phan An
520807200f Add factories 2017-12-16 22:13:45 +01:00
Phan An
0e85027668 Flag Unit test 2017-12-16 22:13:19 +01:00
Phan An
a057479635 Rename tests 2017-12-16 22:12:51 +01:00
Phan An
7c9518125b Add main-wrapper/main-content/index tests 2017-12-15 00:57:51 +01:00
Phan An
f86f5f9a6f Fix home test 2017-12-15 00:57:37 +01:00
Phan An
95c7953e8f Replace spies with stubs 2017-12-15 00:13:47 +01:00
Phan An
516adb6110 Add tests for home 2017-12-14 23:36:32 +01:00
Phan An
b2dfd823d5 Fix JS style 2017-12-13 00:22:05 +01:00
Phan An
353cd4accd Add tests for favorites 2017-12-13 00:21:15 +01:00
Phan An
5b691d6214 Throw an error if model factory is not found 2017-12-13 00:21:05 +01:00
Phan An
eab3212bb2 Fix artists/albums tests 2017-12-12 23:53:11 +01:00
Phan An
faf5b2219e Add tests for artists 2017-12-12 23:41:49 +01:00
Phan An
4b97daafc1 Use factory for test 2017-12-12 23:15:04 +01:00
Phan An
e54aa480fb Add tests for album 2017-12-12 01:25:31 +01:00
Phan An
ce66f06a26 Use finally 2017-12-12 00:05:51 +01:00
Phan An
9b637c0726 Add tests for lyrics sidebar 2017-12-11 21:49:48 +01:00
Phan An
282fd2cd15 Add tests for YouTube video sidebar 2017-12-11 21:49:34 +01:00
Phan An
aeefa21752 Use should 2017-12-11 00:54:37 +01:00
Phan An
77fdc4119f Add tests for extra/artist-info 2017-12-11 00:31:27 +01:00
Phan An
66e1329cc8 Add tests for extra/album-info 2017-12-11 00:31:18 +01:00
Phan An
c198ce88c6 Add tests for extra/index 2017-12-11 00:30:58 +01:00
Phan An
8eb9489533 Make sure polyfill is loaded before generators 2017-12-11 00:30:29 +01:00
Phan An
f70552d026 Global require lodash before tests 2017-12-11 00:29:55 +01:00
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
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
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