Commit graph

128 commits

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