Commit graph

1121 commits

Author SHA1 Message Date
Phan An
4e20d7bf21
feat(test): add ScreenHeader component tests 2022-05-12 11:03:40 +02:00
Phan An
69ce0f5f9d
feat(test): add ScreenEmptyState component tests 2022-05-12 10:46:41 +02:00
Phan An
3196d138c1
feat(test): add ScreenControlsToggler component tests 2022-05-11 19:16:31 +02:00
Phan An
45669aa9de
feat(test): add RepeatModeSwitch component tests 2022-05-11 19:10:18 +02:00
Phan An
3a4eda4ab8
feat(test): add Overlay component tests 2022-05-11 17:59:43 +02:00
Phan An
66248303e6
fix: broken tests 2022-05-11 17:24:28 +02:00
Phan An
e3145d2a97
feat(test): add LyricsPane component tests 2022-05-11 11:12:26 +02:00
Phan An
9805ad1e44
refactor: TS improvements and usage of dom.iterable 2022-05-11 10:40:43 +02:00
Phan An
a111c51413
feat(test): add BtnGroup component tests 2022-05-11 09:59:26 +02:00
Phan An
b8560825a9
feat(test): add Btn component tests 2022-05-11 09:51:30 +02:00
Phan An
53856657f3
feat(test): add BtnCloseModal component tests 2022-05-11 09:51:24 +02:00
Phan An
f3ca1ca5e3
feat(test): add AppleMusicButton component tests 2022-05-11 09:51:01 +02:00
Phan An
c4507b1555
feat(test): add AlbumArtOverlay component tests 2022-05-11 09:21:57 +02:00
Phan An
5cf365879e
chore: replace data-test wit data-testid 2022-05-11 01:01:48 +02:00
Phan An
0e82647540
feat(test): add AlbumArtistThumbnail component tests 2022-05-11 00:35:34 +02:00
Phan An
c1b6cb335b
feat(test): add UploadItem component tests 2022-05-10 18:05:03 +02:00
Phan An
2c375ec285
feat(test): add SongListItem component tests 2022-05-10 14:09:31 +02:00
Phan An
65f353b9cd
feat(test): add SongListControl component tests 2022-05-09 17:09:55 +02:00
Phan An
ff672fbc30
feat(test): add SongList component tests 2022-05-09 16:27:41 +02:00
Phan An
8c94b58a47
feat(test): add SongLikeButton component tests 2022-05-09 15:04:24 +02:00
Phan An
75c45584dd
feat(test): add SongCard component tests 2022-05-09 14:54:41 +02:00
Phan An
15445e0850
feat(test): add AddToMenu component tests 2022-05-09 14:25:19 +02:00
Phan An
7c70d4bbdc
feat(test): add SearchSongResultsScreen component tests 2022-05-09 13:21:02 +02:00
Phan An
719b3e7f18
feat(test): add SearchExcerptsScreen component tests 2022-05-09 13:12:06 +02:00
Phan An
f69a08182b
feat(test): add ThemeList component tests 2022-05-09 12:36:57 +02:00
Phan An
3a6a91cfeb
feat(test): add ThemeCard component tests 2022-05-09 12:33:08 +02:00
Phan An
bf7a3130ae
feat(test): add PreferencesForm component tests 2022-05-09 12:21:21 +02:00
Phan An
e811509176
feat(test): add LastfmIntegration component tests 2022-05-09 12:11:38 +02:00
Phan An
f43a495f1a
refactor(test): turn tests into classes 2022-05-09 11:59:31 +02:00
Phan An
d75223616e
feat(test): add PlaylistSidebarList component tests 2022-05-09 10:14:56 +02:00
Phan An
52b683813d
feat(test): add PlaylistSidebarItem component tests 2022-05-08 21:02:38 +02:00
Phan An
3f93d68f95
feat(test): add PlaylistNameEditor component tests 2022-05-08 20:18:27 +02:00
Phan An
1a26ad1ac1
feat(test): add SupportKoel component tests 2022-05-07 12:14:35 +02:00
Phan An
56d178ff47
feat(test): add AboutKoel component tests 2022-05-07 11:26:32 +02:00
Phan An
6078a86583
feat(test): add ModalWrapper component tests 2022-05-07 10:51:01 +02:00
Phan An
93073814ca
feat(test): add AppHeader component tests 2022-05-07 10:12:16 +02:00
Phan An
93c02a6b58
feat(test): add Sidebar component tests 2022-05-06 17:58:51 +02:00
Phan An
3cf31b2c6e
feat(test): add MainContent component tests 2022-05-06 17:52:37 +02:00
Phan An
c85564bf0a
feat(test): add ExtraPanel component tests 2022-05-06 12:28:02 +02:00
Phan An
e51d8de337
feat: split and rename Apple Music button component 2022-05-06 10:44:10 +02:00
Phan An
4ddb6c6a44
test: add FooterPlayerControls component tests 2022-05-05 17:30:10 +02:00
Phan An
4e2351c85e
test: add FooterMiddlePane unit tests 2022-05-05 17:08:48 +02:00
Phan An
4db8362c79
test: add FooterExtraControl.vue unit test 2022-05-05 00:49:53 +02:00
Phan An
09534722dc
test: add login unit test 2022-05-04 23:45:51 +02:00
Phan An
b94c3de3b6
test: add artist info unit tests 2022-05-04 23:01:35 +02:00
Phan An
e2dbfd7853
test: add artist unit tests 2022-05-04 22:47:12 +02:00
Phan An
17e3728023
test: add album tests 2022-05-03 19:39:46 +02:00
Phan An
806297fcb1
migration: unit/component tests 2022-05-03 18:51:59 +02:00
Phan An
67b2bae7da
fix(test): make it type-compliant 2022-05-02 20:53:19 +02:00
Phan An
4a24abff43
feat(test): set up Vitest 2022-05-02 09:21:14 +02:00
Phan An
177e61fda6
fix: dev command 2022-05-01 14:14:48 +02:00
Phan An
7a9c537f87
chore: rename event listener component 2022-04-30 23:08:25 +02:00
Phan An
0d3d0f5a1d
feat: more appropriate actions for song queuing 2022-04-30 22:57:04 +02:00
Phan An
8a8a9de14a
refactor: 3rd party service and auth into composables 2022-04-30 16:05:02 +02:00
Phan An
6e11928402
feat: more balanced empty screen visual 2022-04-30 15:21:05 +02:00
Phan An
099ab12a15
feat: mark playlists not accepting song drops 2022-04-30 15:20:47 +02:00
Phan An
223cfd42e5
fix: Last.fm button gap 2022-04-30 13:59:37 +02:00
Phan An
09f4b506fa
fix: context menu behavior 2022-04-30 13:55:54 +02:00
Phan An
c0703583cb
chore: clean up playback service 2022-04-30 12:36:35 +02:00
Phan An
65cbf68071
fix: unobserve scroller before unmount 2022-04-30 12:36:09 +02:00
Phan An
ec5ee16ad5
fix: edit song form close confirmation 2022-04-30 10:16:28 +02:00
Phan An
1588551d08
refactor: remove click event on Btn 2022-04-30 10:11:01 +02:00
Phan An
66d1008345
refactor: better binding for ViewModeSwitch 2022-04-30 00:06:13 +02:00
Phan An
e7c3d603b5
chore: clean up types 2022-04-30 00:05:30 +02:00
Phan An
c156e7342b
fix: demo build 2022-04-29 22:15:10 +02:00
Phan An
2fd5ba1d17
chore: make app buildable 2022-04-29 20:26:07 +02:00
Phan An
16ba83f12a
chore: clean up for production 2022-04-29 15:32:12 +02:00
Phan An
d21388128f
feat: improve Virtual Scroller with .passive 2022-04-29 12:43:44 +02:00
Phan An
a363cdd67e
fix: selecting songs failed after dblclick 2022-04-29 11:52:55 +02:00
Phan An
93ddbe7c13
chore: remove unused util function 2022-04-29 11:50:43 +02:00
Phan An
55a53a1275
chore: use lodash's orderBy instead of home-grown function 2022-04-29 11:07:14 +02:00
Phan An
dcdac5cb32
fix: do not re-generate song rows 2022-04-29 11:06:18 +02:00
Phan An
b95865e4c1
refactor!: move actions from song row to list 2022-04-29 10:46:39 +02:00
Phan An
636ab85ba4
fix: reordering queue 2022-04-28 18:04:52 +02:00
Phan An
517381bd0c
chore: fix up song list onMounted 2022-04-28 16:46:38 +02:00
Phan An
293e709d0f
refactor: minor refactoring for VirtualScroller 2022-04-28 16:17:22 +02:00
Phan An
ef911c7f06
migration: uploading integration tests 2022-04-28 11:00:42 +02:00
Phan An
1607f7dc03
fix: song editing tests 2022-04-28 00:23:05 +02:00
Phan An
36cbd7e325
fix: hotkey tests 2022-04-28 00:00:08 +02:00
Phan An
894adca22b
chore: use locale string for play count 2022-04-27 23:46:49 +02:00
Phan An
20693759f6
migration: queue integration tests 2022-04-27 23:43:00 +02:00
Phan An
9cf7a09cde
feat: use home-grown virtual scroller 2022-04-27 23:32:41 +02:00
Phan An
34f7be5151
fix: playlist integration tests 2022-04-26 16:36:26 +03:00
Phan An
c2426c1f20
fix: artist side panel 2022-04-26 14:32:13 +03:00
Phan An
bc5f8e403a
migration: cypress 2022-04-26 12:46:31 +03:00
Phan An
7cb3e27ad8
chore: linting 2022-04-25 19:38:33 +03:00
Phan An
734a9936c2
chore: remove unnecessary reactive() calls 2022-04-25 19:13:18 +03:00
Phan An
905fe640e9
chore: better cursor for sliders 2022-04-25 16:08:00 +03:00
Phan An
f0d14d4ed3
migration: remote controller 2022-04-25 16:07:38 +03:00
Phan An
43f4547871
chore: rename remaining kebab-case files 2022-04-24 23:24:49 +03:00
Phan An
8568b7a39c
migration: search form 2022-04-24 23:23:20 +03:00
Phan An
5e96e5a0b9
feat: replace time header with icon 2022-04-24 21:44:48 +03:00
Phan An
ebe1306e19
chore!: replace getDefaultCover() with const asset import 2022-04-24 21:07:14 +03:00
Phan An
58e830984d
feat: remove alert from services and stores 2022-04-24 20:58:12 +03:00
Phan An
063bbbaad4
chore: rename services and stores 2022-04-24 11:50:45 +03:00
Phan An
853e40f02c
chore: rename components 2022-04-24 11:29:14 +03:00
Phan An
64d63baf4b
migration: login form 2022-04-24 02:11:37 +03:00
Phan An
4df19abc4a
fix: refresh smart playlist after criteria update 2022-04-24 02:11:21 +03:00
Phan An
ce5b320b14
migration: album art overlay 2022-04-24 01:49:26 +03:00
Phan An
6e5d0aa2c7
migration: album art overlay 2022-04-24 01:47:21 +03:00
Phan An
640c2c7cca
migration: song list item & youtube list 2022-04-24 01:31:40 +03:00
Phan An
4870422b79
migration: song card 2022-04-24 01:15:08 +03:00
Phan An
a986f50cba
migration: YouTube screen 2022-04-24 01:10:46 +03:00
Phan An
fd2ac2dba5
migration: user list screen 2022-04-24 01:04:16 +03:00
Phan An
bf1b62493e
migration: home screen 2022-04-24 01:01:40 +03:00
Phan An
aecdee4cd8
migration: search excerpts 2022-04-24 00:53:56 +03:00
Phan An
817ffd4c8a
migration: user card 2022-04-24 00:50:05 +03:00
Phan An
3d9fc2af3e
migration: user badge 2022-04-24 00:48:19 +03:00
Phan An
43d8e1fad9
migration: edit user 2022-04-24 00:46:25 +03:00
Phan An
2485346f3c
migration: add user 2022-04-24 00:36:19 +03:00
Phan An
a5eebd10fa
feat: better song list meta 2022-04-24 00:24:02 +03:00
Phan An
41cb8bffee
chore: CS 2022-04-22 01:08:06 +02:00
Phan An
dc4601cca3
migration: about Koel 2022-04-22 00:58:32 +02:00
Phan An
f357060f6b
migration: profile screen 2022-04-22 00:51:48 +02:00
Phan An
f0f1d975c9
migration: settings screen 2022-04-22 00:20:21 +02:00
Phan An
43be702dfb
fix: infinite scroll 2022-04-22 00:01:35 +02:00
Phan An
aee6241e15
chore: prepend instead of append uploaded media 2022-04-21 20:42:19 +02:00
Phan An
28ad135808
migration: upload 2022-04-21 20:39:18 +02:00
Phan An
e784763729
chore: update the default empty queue state text 2022-04-21 20:14:24 +02:00
Phan An
ae3959f22e
migration: better handling for song list events 2022-04-21 20:12:40 +02:00
Phan An
3edf8e9b5b
migration: fix song list control behaviors 2022-04-21 18:28:12 +02:00
Phan An
c3880df2bc
migration: song list controls 2022-04-21 18:06:45 +02:00
Phan An
6a06e5ef9b
migration: album track list 2022-04-21 12:43:10 +02:00
Phan An
35d2a02b74
migration: album/artist thumbnails 2022-04-21 12:18:11 +02:00
Phan An
1c8fd90118
migration: song editing 2022-04-21 11:38:24 +02:00
Phan An
a91affaa7d
migration: footer 2022-04-20 17:57:53 +02:00
Phan An
8686bd5339
fix: update playlist back to ref 2022-04-20 17:35:00 +02:00
Phan An
747360cdfc
migration: make playlists reactive 2022-04-20 14:46:39 +02:00
Phan An
82fe7e17a1
migration: make create smart playlist work again 2022-04-20 14:38:38 +02:00
Phan An
b636a4519d
fix: focus directive 2022-04-20 13:51:40 +02:00
Phan An
30071fa470
migration: make playlist contexts work again 2022-04-20 12:35:36 +02:00
Phan An
efac19bcf0
migration: make album and artist contexts work again 2022-04-20 12:27:10 +02:00
Phan An
d8a9211898
fix: make song context work again 2022-04-20 12:20:09 +02:00
Phan An
ac83736192
more good stuff 2022-04-20 11:37:22 +02:00
Phan An
014e109b3a
fix: themes 2022-04-20 11:34:15 +02:00
Phan An
197b14e849
fix artist/album list mode 2022-04-19 23:48:56 +02:00
Phan An
6f07f6d796
fix props for SongCard 2022-04-19 23:34:22 +02:00
Phan An
eb66676e74
fix default cover 2022-04-19 22:53:36 +02:00
Phan An
7c88e96206
chore: vue3-ify 2022-04-19 21:26:06 +02:00
Phan An
1ab5837c76
chore: refactor event bus and mixins 2022-04-15 16:24:30 +02:00
Phan An
7292b94724 Extract core to submodule 2018-02-02 22:12:19 +01:00
Phan An
a045c4f04e Reorganize the structure 2018-02-02 21:51:04 +01:00
Phan An
3e42662143 Fix blurry sidebar icons 2018-02-02 11:45:17 +01:00
Phan An
5f5f267894 Refactor and fix 2018-02-01 22:07:13 +01:00
Phan An
a2ee56df4d Big refactor 2018-01-30 00:13:54 +01:00
Phan An
2f65fe6642 Refactor 2018-01-29 23:36:40 +01:00
Phan An
09fd37b07e Add tests for search form 2018-01-29 22:40:44 +01:00
Phan An
21386010fb Make tests pass simply 2018-01-21 21:18:04 +01:00
Phan An
aa19a16bcd Can't fail a test if you don't have tests 2018-01-21 21:14:47 +01:00
Phan An
8e9b021aa0 Use vue-test-helpers 2018-01-21 00:27:56 +01:00
Phan An
395fd8cb27 Add tests for search-form.vue 2018-01-15 17:25:04 +01:00
Phan An
566145678a Add tests for volume.vue 2018-01-14 20:44:36 +01:00
Phan An
af6c92b8bc Add tests for view-mode-switch.vue 2018-01-14 19:06:04 +01:00
Phan An
26fe41c2bd Fix song-menu tests 2018-01-14 14:32:46 +01:00
Phan An
d6e7b9f51c Add tests for user-item.vue 2018-01-14 14:17:05 +01:00
Phan An
8d21d8a94a Add tests for track-list-item.vue 2018-01-14 13:30:57 +01:00
Phan An
a654164412 Add tests for song-menu component 2018-01-11 01:30:49 +02:00
Phan An
693d2dc6d9 Revert "Add tests for song-item component"
This reverts commit 892891c9cd.

# Conflicts:
#	resources/assets/js/tests/components/shared/song-item.spec.js
2018-01-09 23:54:33 +02:00
Phan An
3ad4b8742f Add tests for song-list component 2018-01-07 22:38:30 +01:00
Phan An
c329c434a5 Remove trailing spaces 2018-01-07 01:43:01 +01:00
Phan An
e0e6119331 Refactor song-related stuff 2018-01-07 01:33:33 +01:00
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
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
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
An Phan
a60f15ca3c
Hide lyrics hint if no song 2016-11-28 11:32:09 +07:00
An Phan
8bf5491912
Tiny tweaks on the sound bar 2016-11-28 11:28:07 +07:00
An Phan
231ad2600c
Make heading meta a bit smaller 2016-11-26 10:46:06 +07:00
An Phan
ac16429e16
Fix Album & Artist shuffle bug 2016-11-26 10:38:36 +07:00
An Phan
85b7f97289
Fix Favorites shuffle bug 2016-11-26 10:34:42 +07:00
An Phan
adfebd0167
Lint everything 2016-11-26 10:25:35 +07:00
An Phan
449fac97fc
Remove leftover files 2016-11-25 15:16:40 +08:00
An Phan
0448214abd
Turn volume into a component 2016-11-24 16:50:22 +08:00
An Phan
645bf9e3c7
Correctly unmute when volume track is dragged 2016-11-24 16:28:32 +08:00
An Phan
46266409d5
Untrack .idea folder 2016-11-24 09:34:53 +08:00
An Phan
92da6df5ab
Add Profile screen e2e test 2016-11-23 23:57:41 +08:00
An Phan
5a3627c3d6
Fix auto focus directive 2016-11-23 23:34:44 +08:00
An Phan
21d23755be
Fix controls visibility in song list screens 2016-11-18 15:17:03 +08:00
An Phan
08b37d532d
Show delete button on Playlist 2016-11-18 14:32:18 +08:00
An Phan
3bd6f574fd
Various refactor 2016-11-18 14:30:54 +08:00
An Phan
2e2c0515f3
HTML changes for better E2E tests 2016-11-17 17:25:58 +08:00
An Phan
4ca08c903d
Merge test 2016-11-17 16:45:51 +08:00
An Phan
ddf76671db
Bump 2016-11-17 16:41:57 +08:00
An Phan
d25670a50d
On the way 2016-11-17 16:37:12 +08:00
An Phan
5185e547b0
Merge branch 'master' into song-controls 2016-11-17 15:15:46 +08:00
An Phan
d753811045
Replace CPU-hogging anim with GIF (fixes #481) 2016-11-17 15:13:56 +08:00
An Phan
6aea53cb22
Rewriting song controls 2016-11-17 15:07:12 +08:00
An Phan
43467e3393
Properly keep track of song items (fixes #427) 2016-11-16 10:48:36 +08:00
An Phan
8b7c226343
More tests 2016-11-15 15:54:41 +08:00
An Phan
98b633df57
Fix sorting by time bug (close #478) 2016-11-14 12:55:54 +08:00
An Phan
09ca3a4b9a
Merge master 2016-11-13 09:59:59 +08:00
An Phan
8d3280fcac
Revert ES6 string literal due to uglify cockup 2016-10-31 17:00:36 +07:00
An Phan
91a20d8be8
Optimization and fix 2016-10-31 15:15:32 +07:00
An Phan
23049112d1
Use computed for playlist/favorite url 2016-10-31 14:38:59 +07:00
An Phan
4e1ff0fc7a
Use computed for wiki panel 2016-10-31 12:00:26 +07:00
An Phan
2df42065f7
Use ES6 string literals in templates 2016-10-31 11:55:07 +07:00
An Phan
4f93879e1c
Merge class and :class 2016-10-31 11:41:08 +07:00