Commit graph

195 commits

Author SHA1 Message Date
Phan An
659e7eea8a
feat: warn if closing window during upload 2022-08-04 12:39:03 +02:00
Phan An
6db38fa25b
feat: better resolve shared song 2022-08-01 13:40:52 +02:00
Phan An
89db90dafb
fix: broken tests on node 17 2022-07-27 20:29:57 +02:00
Phan An
ddafc0144b
fix: case-sensitive import 2022-07-27 20:23:17 +02:00
Phan An
be68021723
fix(test): fix playbackService tests 2022-07-25 20:23:30 +02:00
Phan An
235362ba30
feat(test): add mediaInfoService tests 2022-07-25 15:44:17 +02:00
Phan An
2fae65bb91
feat(test): add cache tests 2022-07-25 15:25:27 +02:00
Phan An
5a6ddb226e
fix: make remote controller great again 2022-07-24 12:53:49 +02:00
Phan An
d15d5570dc
fix(test): fix YouTubeVideoList tests 2022-07-22 17:03:45 +02:00
Phan An
3085a4fcf2
feat: make injects immutable 2022-07-20 10:00:02 +02:00
Phan An
878815659f
feat: integrate with Spotify 2022-07-17 00:42:29 +02:00
Phan An
08e4953217
feat: decouple artist/album and the media information 2022-07-08 16:53:04 +02:00
Phan An
2b09e1e855
feat: decouple YouTube from Song 2022-07-08 01:15:38 +02:00
Phan An
718bad9771
chore: only lazyload components when necessary 2022-07-07 20:05:46 +02:00
Phan An
d59c0c8bfe
feat: do not manually emit selected songs 2022-07-04 16:18:41 +02:00
Phan An
94f0528fca
feat: use Cache 2022-07-04 12:38:06 +02:00
Phan An
fbbe434204
feat!: make app progressive 2022-07-04 10:36:39 +02:00
Phan An
2bdd2ff021
refactor: make http and router classes 2022-05-15 01:37:16 +02:00
Phan An
3b9f2febd0
feat(test): add auth service tests 2022-05-14 20:49:45 +02:00
Phan An
9e1e708782
feat(test): add Playback service tests 2022-05-14 16:45:48 +02:00
Phan An
cc36f49796
feat(test): add several service tests 2022-05-13 19:58:38 +02:00
Phan An
621c869a82
feat (test): add Volume component tests 2022-05-12 19:03:06 +02:00
Phan An
93073814ca
feat(test): add AppHeader component tests 2022-05-07 10:12:16 +02:00
Phan An
c85564bf0a
feat(test): add ExtraPanel component tests 2022-05-06 12:28:02 +02:00
Phan An
4ddb6c6a44
test: add FooterPlayerControls component tests 2022-05-05 17:30:10 +02:00
Phan An
c0703583cb
chore: clean up playback service 2022-04-30 12:36:35 +02:00
Phan An
ef911c7f06
migration: uploading integration tests 2022-04-28 11:00:42 +02:00
Phan An
734a9936c2
chore: remove unnecessary reactive() calls 2022-04-25 19:13:18 +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
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
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
ac83736192
more good stuff 2022-04-20 11:37:22 +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
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
95c7953e8f Replace spies with stubs 2017-12-15 00:13:47 +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
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
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
f8ed3a1ee5 Use global variables for pusher config instead of dotenv-webpack 2017-10-02 19:38:42 +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
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
dc7c6bec45 Refactor the remote controller into its own page 2017-08-27 16:53:17 +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
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
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
d83ee5e012
Refactoring 2017-05-05 23:20:51 +07:00
An Phan
65400d40ee
Comment fix 2017-03-27 18:05:43 +08:00
An Phan
96e5c62ce0
Add "Play at 128kbps on mobile" setting 2017-03-26 17:02:03 +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
3fc10e3043
Preload the next song as soon as we can 2017-03-22 15:44:13 +08:00
An Phan
84d523d240
Refactor 2017-01-17 22:09:27 +08:00
An Phan
9537ad26b1
Refactor 2017-01-17 15:32:03 +08:00
An Phan
086f52761a
Implemented virtual scroll for desktop 2017-01-14 21:09:38 +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
f22b108bfb
Normalize artist items playorder (closes #374) 2016-12-01 18:32:11 +07:00
An Phan
adfebd0167
Lint everything 2016-11-26 10:25:35 +07:00
An Phan
cab2ab163d
Remove redundant import 2016-10-18 14:53:23 +08:00
An Phan
e3ee03db24
Complete YouTube feature 2016-07-30 23:32:17 +08:00
An Phan
444d07ec8f
Remove obsolete param docs 2016-07-16 11:31:51 +07:00
An Phan
11712932b3
A better router.go 2016-07-11 09:41:35 +08:00
An Phan
032b9bee7c
Enable navigation with a basic router 2016-07-11 01:55:20 +08:00
An Phan
77fa77081d
Fix login URL regex 2016-07-09 13:20:27 +08:00
An Phan
fad1d2f335
Remove redundant method 2016-07-09 12:07:55 +08:00
An Phan
04959d8eb4
Better test for failed login requests 2016-07-09 12:06:49 +08:00
An Phan
9becc85bdd
Replace vue-resource with jQuery and save a lib 2016-07-09 12:06:14 +08:00
An Phan
405923315f
Use promises 2016-06-27 14:11:35 +08:00
An Phan
8657387f0a
A change of heart re:indent size 2016-06-26 00:05:24 +08:00
An Phan
7f4bb0706d
Better organizing services and stores 2016-06-25 18:15:57 +08:00
An Phan
4de0a8456b
Fix the artist loading & info bug 2016-06-25 16:24:56 +08:00
An Phan
2f8a152c98
Switching to Vue2.0 2016-06-25 16:21:39 +08:00
An Phan
0d404d6f29
Rewrite utils and filters, prepare for Vue 2.x 2016-06-24 23:55:44 +08:00
An Phan
fc325e5262 Refactor media info services 2016-06-05 19:29:49 +08:00
An Phan
774ae68efb Finish Album download, starting Artist download 2016-06-04 19:20:11 +08:00
An Phan
5185f3dc6b Finish structure and song download 2016-06-03 01:53:26 +08:00
An Phan
9a302fd111 Album item's Play button should play by order (fixes #314) 2016-05-30 14:31:12 +08:00
An Phan
4dc06719b3 First try 2016-04-17 23:38:06 +08:00
An Phan
0cb5ae265f Export modules from utils 2016-04-10 16:51:06 +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