Commit Graph

67 Commits

Author SHA1 Message Date
18870
81c20a0b5c
Opt: Remove log output to stdout when using electron
Try to avoid #2051
2023-02-08 16:37:11 +08:00
18870
778cd44b3d Opt: Able to run alas on GUI startup (#1414) 2022-07-26 15:33:46 +08:00
hgjazhgj
e779fd7e64 Fix: Misspelling & Line-end spaces 2022-06-25 20:04:45 +08:00
18870
50bbba5672 Fix: Option to disable reloader
Fix: Require password when password is null
2022-06-04 17:40:26 +08:00
18870
3e91ca7fcc Opt: Refactor discord rpc 2022-06-03 23:00:54 +08:00
18870
5fa62d8144 Opt: Refactor deploy config 2022-06-03 21:28:44 +08:00
18870
97302ff8a2 Fix: Reloader should exit when webui stop without setting event 2022-06-03 18:54:54 +08:00
18870
9c7f21b2ac Opt: Replace uvicorn reloader with custom one
Fix: "True" in logs doesn't highlights properly
2022-06-03 16:00:33 +08:00
18870
1531808b6f Opt: Set reload checker delay to 1 2022-01-16 00:25:25 +08:00
18870
5d5ca5f299 Opt: Rename class, move public variables to a file 2022-01-15 17:55:44 +08:00
18870
c808a7bc9f Opt: Add an option to disable reload 2022-01-14 21:34:54 +08:00
18870
ceef127192 Opt: Add an option to disable address reuse 2022-01-13 22:26:32 +08:00
18870
762f1971c4 Opt: Change directories of reload listening 2022-01-13 17:27:05 +08:00
18870
abf6e94510 Fix: Can bind same address multiple time
Monkey patched uvicorn.config.Config.bing_socket

- Fix: task_handler in app does not stop when clearup
2022-01-10 03:32:12 +08:00
18870
d2b7eec381 Fix: .* can trigger reload 2022-01-10 00:53:12 +08:00
18870
838e1a6ca9 Opt: Arrange code 2022-01-08 21:45:05 +08:00
18870
33843ccbc7 Opt: Able to hot reload 2022-01-07 22:06:28 +08:00
18870
0572d2df08 Mov: gui.py -> module/webui/app.py 2022-01-07 15:16:20 +08:00
18870
d0dd24bd59 Add: IPv6 support 2022-01-07 00:04:40 +08:00
18870
1263d72d53 Opt: Ensure no-cache 2022-01-06 23:04:56 +08:00
18870
907d37e501 Refactor: Switch
- Fix: Scheduler not refresh instantly when window back to foreground
2022-01-06 18:37:54 +08:00
18870
bea1f78df7 Fix: Button hover color 2022-01-06 13:47:02 +08:00
18870
65ce0f359f Add: Navigation bar 2022-01-06 03:39:38 +08:00
18870
952f8c1eb6 Opt: Refactor GUI
Using new scope methods due to output() being deprecated in pywebio v1.5 (3a433cda0a)

- Opt: Combine on/off button into a single switch, this effect scheduler and log auto scroll
2022-01-06 01:55:24 +08:00
18870
70200c1e9a Opt: Self host assets 2021-12-31 20:49:48 +08:00
18870
8ab9b14b17 Fix: Convert null to empty string
DeployConfig.to_bool() can't convert None

dbc44aa296
2021-12-17 21:22:58 +08:00
18870
dbc44aa296 Add: Remember the last used theme (#821)
- Add: Password in deploy config
- Opt: Parse yaml value null into None
2021-12-17 19:43:47 +08:00
SaigyoujiYukon
ffd2ed1e25 Add Game Manager (WIP), currently only force close and restart games are implemented. 2021-12-14 21:38:05 +08:00
18870
db5f7d8363 Upd: Migrate to PyWebIO 1.5
- Force debug=True to show error log in popup directly
- Theme support now available
- Hide setting button
2021-12-03 18:43:51 +08:00
LmeSzinc
dc3f10dc6e Doc: Add FOSS declaration at home page 2021-11-27 01:27:51 +08:00
18870
98863cfc3e Fix: 0 is considered as clearing input box
3cbdeb8f44
2021-11-16 12:25:55 +08:00
18870
3cbdeb8f44 Fix: Set to default value when clearing input box 2021-11-15 12:40:13 +08:00
18870
35a02d6d30 Fix: Set server before run any script 2021-11-15 00:17:52 +08:00
18870
e84f7c3153 Opt: Validate value before save into config 2021-11-14 23:57:28 +08:00
18870
f64de3794d Del: Revert auto refresh page when connection lost
This reverts commit 9c75d2388e.
2021-11-08 23:29:40 +08:00
18870
c42691aeaa Opt: Styles for dark mode
Theme support is not available in pywebio 1.4
You need to upgrade to 1.5 dev version manually by run
pip install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip
2021-11-08 23:28:49 +08:00
18870
9c75d2388e Opt: Auto refresh page when connection lost 2021-11-07 15:59:42 +08:00
18870
392c5ef3dc Fix: Language change did not take effect in button setting
d7a61c83a9
2021-11-07 12:17:48 +08:00
18870
1b20dd05cc Opt: Read args/translations only once at startup 2021-11-07 12:14:06 +08:00
18870
a18a7f81f9 Opt: Stop refreshing tasks when the window is not visible (#710)
May fix #710
2021-11-06 21:26:42 +08:00
18870
d7a61c83a9 Opt: Set language without reload page
- Also work when go to translate page
- Add a button to return to home page
- Change lightgray to lightgrey
2021-10-30 21:48:05 +08:00
18870
d314dbd41f Add: GUI for tools 2021-10-29 13:37:26 +08:00
LmeSzinc
8e065983b5 Opt: Disable DPI scaling and corresponding style changes 2021-10-26 02:00:35 +08:00
18870
721aa9e333 Opt: Improve code
- Delete unnecessary import
- Rename Alas to AlasManager
- Move global var/function into class var/method
- Resolve some IDE warning
2021-10-24 20:54:06 +08:00
18870
25777093c3 Add: Able to create new config in GUI 2021-10-24 16:54:07 +08:00
LmeSzinc
5c034edef9 Add: Auto installer 2021-10-23 21:28:07 +08:00
18870
ea4df56b1b Opt: Filelock config when stop scheduler 2021-10-23 20:32:19 +08:00
18870
65d64afa0c Opt: Hide disabled configs 2021-10-23 02:34:11 +08:00
18870
eb27bd2228 Opt: Reduce font-size of logs in mobile
- Opt: other small padding/margin change on overview
- Fix: show develop menu
2021-10-23 00:58:41 +08:00
18870
36e22699a3 Opt: Split AlasGUI
- Add: TaskHandler for gui, use for running background functions in one thread
- Opt: Reduce numbers of process and thread
- Opt: Type hinting
2021-10-23 00:34:57 +08:00