Commit graph

680 commits

Author SHA1 Message Date
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
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