128 Commits

Author SHA1 Message Date
Terry Geng
5f67517dc3
feat: use a function to convert volume set by the user to a scale of -60~0 dB. Then convert dB to a factor from 0 to 1 used as the real volume factor. 2020-06-08 17:30:37 +08:00
Terry Geng
92b3a3c7be
fix: wrong play bar behavior when dragging or clicking, #166. 2020-06-05 14:08:36 +08:00
Terry Geng
3330017586
fix: password auth error 2020-05-27 08:52:27 +08:00
Terry Geng
e61f791c82
feat: 'password' auth method: support user addition 2020-05-23 14:46:27 +08:00
Terry Geng
c8f0ccf706
feat: ban a user after too many failed attempts 2020-05-19 09:53:01 +08:00
Terry Geng
fae93d99e0
feat: add config item for maximum upload file size 2020-05-19 09:12:52 +08:00
Azlux
f8011bc506 webpage for token
+ fix
2020-05-18 17:53:51 +02:00
Azlux
23a7022bdf Improvement of #154 2020-05-18 16:59:01 +02:00
Terry Geng
174ec3e7ec
fix: bad token message 2020-05-18 14:53:35 +08:00
Terry Geng
62a115b56e
feat: record IP. refresh cookie if new token is provided 2020-05-18 13:52:04 +08:00
Terry Geng
edf5495fe5
feat: several improvements to azlux's token auth scheme #154
1. 'auth_method' in config, where users can select between
   'password' and 'token'.
2. create index for token, avoid iterating the entire user
   section when validating tokens.
3. only generate token for a user when there's no token for
   him in the db, avoid tokens fill the db.
2020-05-18 10:17:08 +08:00
Azlux
4017e7bff0 add webinterface token
#154
2020-05-17 20:28:27 +02:00
Terry Geng
0b7d0b8465
feat: huge feature: a floating player, with a movable playhead 2020-05-17 11:54:05 +08:00
Terry Geng
1a7691cd1c
fix: secure_filename not working, progress bar typo 2020-05-16 16:02:44 +08:00
Terry Geng
257fff3e92
feat: upload progress bar and error message display for each file, #146 2020-05-16 15:48:11 +08:00
Terry Geng
71e0ede51e
feat: optimized play/resume logic, add fast-forward support within song.
fix #153.
2020-05-15 10:22:44 +08:00
Terry Geng
7f8b9eab5e feat: add interface action 'next', mentioned in #130. 2020-04-24 09:25:05 +08:00
Terry Geng
d35e564681
Merge branch 'master' into master 2020-04-18 23:28:31 +08:00
Daniel Gunzinger
08c76aab9d fix typeerror when setting volume; fix processing of volume updates in client-side webinterface 2020-04-18 10:18:43 +08:00
Daniel Gunzinger
f95e07c9af implement trivial volume control slider and reporting of current volume to webinterface 2020-04-18 10:18:43 +08:00
Daniel Gunzinger
788383f65c change where we get the current volume from in the status method; adjust html input range from 0-100 to 0-1, thus remove need for scaling in javascript 2020-04-17 17:12:26 +02:00
Daniel Gunzinger
9e1f2d605d fix typeerror when setting volume; fix processing of volume updates in client-side webinterface 2020-04-16 19:36:14 +02:00
Daniel Gunzinger
82af558e5a implement trivial volume control slider and reporting of current volume to webinterface 2020-04-16 19:09:24 +02:00
Terry Geng
e86b5ca659 refactor: rewrite confusing part 2020-04-08 08:55:58 +08:00
Terry Geng
b18c70c146 fixed: playlist update problem in web interface 2020-03-28 10:45:32 +08:00
Terry Geng
732c698408 feat: fold playlist to avoid displaying too many items 2020-03-25 21:35:59 +08:00
Terry Geng
b2e5efec93 refactor: optimized playlist logic 2020-03-25 21:35:59 +08:00
Terry Geng
30dc612825 fix: 204 is not an error 2020-03-23 23:42:45 +08:00
Terry Geng
f93ac890a2 fix: 404 -> 204 2020-03-23 21:14:19 +08:00
Terry Geng
55370e1ba9 fix: strange web interface behavior, and fix attempt for #111 2020-03-23 13:04:43 +08:00
Terry Geng
d24f1095a3 fix: typo 2020-03-23 09:18:47 +08:00
Terry Geng
f65ef64a77 feat: sort library files by date 2020-03-22 22:06:32 +08:00
Terry Geng
e256d50c5c refactor: removed useless files path cache 2020-03-22 21:59:05 +08:00
Terry Geng
3fb10905b7 refactor: database logic, add type hints 2020-03-22 14:30:56 +08:00
Terry Geng
a6991943c5 fix: add svg files 2020-03-21 01:07:38 +08:00
Terry Geng
bfa64547e8 fix: button confusion 2020-03-20 21:28:00 +08:00
Terry Geng
70f358f964 feat: add tags to playlist items in web interface 2020-03-20 13:24:31 +08:00
Terry Geng
701403b1a2 fix: tag selector beautifed 2020-03-20 12:30:03 +08:00
Terry Geng
b2c416f968 fix: sql error, continue 2020-03-20 11:34:42 +08:00
Terry Geng
f6d7813d93 fix: sql error 2020-03-20 11:32:10 +08:00
Terry Geng
9a8d6d6ea1 fix: index out of range when rebuild cache 2020-03-20 11:14:27 +08:00
Terry Geng
1d1ff50a59 feat: add 'clear_when_stop_in_oneshot' option in config for azlux 2020-03-20 10:49:44 +08:00
Terry Geng
4e287d6b1b feat: tag editing feature in web interface 2020-03-20 10:35:09 +08:00
Terry Geng
7f29deba01 feat: add delete function 2020-03-20 00:09:07 +08:00
Terry Geng
fb7101a581 FEAT: MUSIC LIBRARY BROSWER 2020-03-19 22:51:32 +08:00
Terry Geng
457f1c691f fix: 'jump' doesn't play the music if paused. 2020-03-14 16:34:04 +08:00
Terry Geng
7af9d29932 fix: rebuild dir cache after uploading 2020-03-12 11:01:27 +08:00
Lartza
213a6c084b Cleanup 2020-03-10 23:07:29 +02:00
Lartza
b2ced96ba4 PEP8 2020-03-10 22:22:20 +02:00
Lartza
63aeaa4b63 Don't lookup tags unnecessarily #93 2020-03-10 21:52:16 +02:00