706 Commits

Author SHA1 Message Date
Terry Geng
0080e9b4cd
fix: file size bug, upload bug 2020-05-19 09:23:19 +08:00
Terry Geng
fae93d99e0
feat: add config item for maximum upload file size 2020-05-19 09:12:52 +08:00
Terry Geng
aca002d08d
fix: beautify token-needed page, remove ref to custom.js to avoid error 2020-05-19 08:33:02 +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
azlux
390c0034f6
Merge pull request #156 from TerryGeng/token
Several improvements to azlux's token auth scheme #154
2020-05-18 16:37:38 +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
1d97fe654e
fix: URL item duration unit in seconds, bad skip button in floating player 2020-05-18 00:07:56 +08:00
Terry Geng
0b7d0b8465
feat: huge feature: a floating player, with a movable playhead 2020-05-17 11:54:05 +08:00
Terry Geng
b050546e39
feat: safeguard against mistakenly cancelling uploading. 2020-05-16 22:24:10 +08:00
Terry Geng
b827ada7a8
fix: playlist expand bug 2020-05-16 17:26:59 +08:00
Terry Geng
465ab39c7a
fix: rollback to popper.js v1, fix playmode dropdown, and now volume popover can be closed by clicking outside. 2020-05-16 16:52:32 +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
0c47850fbc
refactor: change var into let and const 2020-05-16 10:44:57 +08:00
Terry Geng
aca3602511
fix: initialize the web interface after the bot is connected to murmur server 2020-05-15 12:57:32 +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
7e38c191f6
fix: refine database migration 2020-05-14 23:58:03 +08:00
Terry Geng
8fdfc90730
fix: error when expanding playlist in the web interface 2020-05-14 21:48:07 +08:00
azlux
140c523a39
Refactor: move music db into a separated file (#151)
Merge pull request #152 from TerryGeng/separate-music-db
2020-05-14 00:14:05 +02:00
Terry Geng
5fe8b266c2
feat: generate default settings db name according to bot name 2020-05-13 22:39:49 +08:00
Terry Geng
40ea744e7f
refactor: move music db into a separated file.
IMPORTANT NOTE:
The default database path has changed. It was database.db, but
now they ARE settings.db and music.db.

Database migration will detect music table in settings.db, and
move it out of settings.db.

To update from old version, you need to
 1. if you use your own db path settings in the command
    line or in configuration.ini, you don't have to change
    anything;
 1. or,if you use default database path, rename database.db
    into settings.db.
2020-05-13 10:43:40 +08:00
Terry Geng
4c27bb28a1 fix: color of filter section on dark theme 2020-05-13 08:44:32 +08:00
Terry Geng
612d633ff9 feat: volume slider inside popover 2020-05-13 08:44:32 +08:00
azlux
e2254cf89f
remove google dependencies 2020-05-12 14:44:18 +02:00
Tyler Vigario
4f2dcf0620
Fix for directory filter as well as some improvements (#147)
* Update for efficacy

* Fix some styling in js

* Remove outer library card

* Fix for directory filter

* Use bootstrap spacing utilities for button spacing

* Update button activation logic

* Readd responsiveness to playlist button toolbar

* Remove pymumble folder
2020-05-12 12:54:00 +08:00
azlux
03da8fe20d
fix dark theme 2020-05-11 11:36:53 +02:00
azlux
d288bfa658
New version 2020-05-11 10:24:27 +02:00
Terry Geng
1f93c6450f
feat: add fast-forward button to the web interface 2020-05-11 08:32:25 +08:00
Terry Geng
fbe3383b66 fix: avoid confusing error message when connection to the murmur server fails. 2020-05-09 20:49:52 +08:00
Terry Geng
a58af46f15 feat: enhanced logging to file support, redirecting all stdout and stderr to log file.
This feature woulb be useful for troubleshooting daemonized bots since now all exceptions are also wrote to log file.
2020-05-09 10:44:01 +08:00
Tyler Vigario
aba9eea336
Further improvements to web interface (#139)
* Implement button toolbar

* Fix filters logic

* Switch to btn-primary for active filters

* Reduce playlist table columns on mobile

* Cleanup playlist area

* Reduce volume spacing

* Hide items in playlist as well for mobile

* Use text utility classes vs style

* Filter use checkbox instead of radio

* Hide library file column on mobile

* Update jQuery and FontAwesome to latest
2020-05-07 09:14:38 +08:00
Azlux
529527c1c0 fix css path for Dark theme 2020-04-30 10:04:52 +02:00
azlux
a0d12703ca
README: remove trailing whitespace and extra backtick
Merge pull request #137 from bsima/readme
2020-04-30 09:08:14 +02:00
Ben Sima
625c1bbc4d README: remove trailing whitespace and extra backtick 2020-04-29 18:31:23 -07:00
Terry Geng
9879bcc7be fix: hot fix: wrong type for tags 2020-04-29 13:37:37 +08:00
Tyler Vigario
d878dd8e1a
Add Popper.js link in HTML (#136) 2020-04-29 13:25:12 +08:00
Terry Geng
f900f1c605
Merge pull request #135 from TylerVigario/update-web-assets
Update web assets
2020-04-29 11:27:32 +08:00
Tyler Vigario
1e62cc871f
Merge branch 'update-web-assets' of https://github.com/TylerVigario/botamusique into update-web-assets 2020-04-28 19:55:47 -07:00
Tyler Vigario
3c717397a4
Update Bootstrap and add Popper 2020-04-28 19:55:20 -07:00
Terry Geng
984309409a feat: web interface: mode icon instead of 'Mode' 2020-04-29 10:24:57 +08:00
Tyler Vigario
2beb404e13
Update Bootstrap and add Popper 2020-04-28 19:17:11 -07:00
Terry Geng
5617268270 feat: web interface: put mode dropdown to the right 2020-04-29 09:47:15 +08:00
Terry Geng
3073258918
Merge pull request #130 from TylerVigario/improve-web-interface
Improve web interface
2020-04-29 09:09:55 +08:00
Tyler Vigario
e0185cde35
Correct pathing... (sigh) 2020-04-28 09:16:37 -07:00
Tyler Vigario
754c02305f
Correct play mode random action name 2020-04-28 09:15:52 -07:00
Tyler Vigario
94db22bd2a
Correct pathing 2020-04-27 20:22:18 -07:00