18870
ab3c8531f4
Opt: Reformat codes using Black
...
goodbye autopep8
2022-02-24 22:09:59 +08:00
18870
7bc84627fd
Opt: Stop thread gracefully
...
#883 #921
2022-02-24 21:45:36 +08:00
LmeSzinc
fa4d70ccbf
Fix: Failed to update if GitExecutable contains a space
2022-02-12 00:16:36 +08:00
LmeSzinc
58ffdd7b0d
Dep: Requirements.txt for AidLux
2022-02-03 22:16:18 +08:00
18870
aea4c81b0b
Opt: Limit max width of log
2022-01-21 15:14:26 +08:00
18870
f134dae3ab
Opt: Replace benchmark table with rich
2022-01-21 04:59:50 +08:00
18870
9aa383ad64
Fix: Sync changes in daemon overview
2022-01-21 04:11:51 +08:00
18870
6d7374945c
Opt: Rich logging
2022-01-21 03:55:30 +08:00
LmeSzinc
4bf8455ae8
Fix: Split installer to avoid importing winreg on other platforms
...
- Fix: Handle a random wmic exception
2022-01-17 21:50:40 +08:00
18870
445877e43b
Fix: Logging error when update failed
...
When retry failed, It calls logger.exception() which use traceback.print_exception() which use print(msg, file=file) to output. In Updater.update(), we monkey patch builtin.print() to logger.info() which don't have keyword argument `file`.
Set logger=None in retry decorator to avoid calling logger.exception()
2022-01-16 19:51:48 +08:00
18870
4d46ab45e8
Fix: Missing type check on log queue handler thread
2022-01-16 16:24:02 +08:00
18870
701d4bf955
Opt: Catch and print all exception
2022-01-16 15:58:36 +08:00
18870
918d06a893
Fix: Invalid isoformat string: ''
...
#883
2022-01-16 00:57:32 +08:00
18870
7c31ddc04c
Opt: Get rid of my import sorter
2022-01-15 23:16:10 +08:00
18870
d3e14e1174
Fix: Don't use join
2022-01-15 18:12:46 +08:00
18870
5954b4acef
Fix: Forgot to replace
2022-01-15 18:00:26 +08:00
18870
3253d9e2fc
Opt: Allow update without reload
2022-01-15 17:55:54 +08:00
18870
5d5ca5f299
Opt: Rename class, move public variables to a file
2022-01-15 17:55:44 +08:00
18870
d755d74c92
Opt: Disable updater when reload disabled
2022-01-14 22:42:33 +08:00
18870
c808a7bc9f
Opt: Add an option to disable reload
2022-01-14 21:34:54 +08:00
LmeSzinc
803e7a5813
Opt: Show exceptions under retry decorator
2022-01-13 17:47:17 +08:00
18870
762f1971c4
Opt: Change directories of reload listening
2022-01-13 17:27:05 +08:00
18870
c8a95970d5
Opt: Show commit info in updater
2022-01-12 22:27:56 +08:00
18870
bff8296af5
Opt: State in dev page and update toast
2022-01-11 23:28:40 +08:00
18870
37e9df5d69
Fix: Update cancel
2022-01-11 18:06:06 +08:00
18870
9261934751
Fix: Missing stop_event
2022-01-11 15:00:28 +08:00
18870
0014c18920
Opt: Check update event when switching task
2022-01-11 14:26:56 +08:00
18870
d74e4b5c8c
Fix: Cannot trigger reload after clearup
...
In scheduled restart, update function runs in task_handler thread, clearup will stop it before it trigger reload.
2022-01-11 13:44:33 +08:00
18870
3acdfc95f5
Fix: State not update when invisible
2022-01-11 13:40:56 +08:00
18870
d4d9bc9c34
Opt: Some message not shown
2022-01-11 02:51:00 +08:00
18870
1c460bd7a9
Add: Updater in GUI
2022-01-11 02:36:45 +08:00
18870
1d716b27f1
Opt: Remake updater
2022-01-10 22:24:51 +08:00
18870
8a6ca13af6
Fix: Sometime scheduler shows nothing
2022-01-10 16:03:00 +08:00
18870
a0b7dbbd5e
Fix: Use config None at first run
2022-01-10 15:21:01 +08:00
18870
3055ab1536
Add: API Token
2022-01-10 15:05:34 +08:00
18870
b34f11dca4
Add: Pip updater
2022-01-10 14:04:02 +08:00
18870
a20f312424
Opt: Arrange code
2022-01-10 13:23:22 +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
cb3249deb6
Add: Auto update
2022-01-10 00:42:40 +08:00
18870
5821ddcbbe
Add: Update and auto restart
...
- Opt: Enter previous page when login
- Opt: Auto refresh page when lost connection
2022-01-09 20:49:05 +08:00
18870
171a586afd
Add: Discord RPC icon
2022-01-09 19:31:40 +08:00
18870
fdfbfd0b9d
Add: Alas stop when have update
2022-01-09 19:01:31 +08:00
18870
e0d38cfff4
Add: Check update
2022-01-09 18:59:25 +08:00
18870
538c26f265
Add: Discord presence
...
Not finished yet, but i think there is nothing more i can do
2022-01-09 12:48:37 +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
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
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
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
18870
54b11bdc94
Fix: Incorrect scrolling behavior of the aside button box
2021-11-16 12:23:11 +08:00
18870
e84f7c3153
Opt: Validate value before save into config
2021-11-14 23:57:28 +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
LmeSzinc
5d75391e06
Add: Remember the last used translation
2021-11-07 17:22:32 +08:00
18870
e64e286581
Opt: Save password in browser
2021-11-07 16:01:48 +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
ddecb1ce57
Opt: Catch and show exception when load config
2021-10-28 23:18:01 +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
18870
ea4df56b1b
Opt: Filelock config when stop scheduler
2021-10-23 20:32:19 +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
18870
80b9ab73a7
Opt: Rework overview
...
- Opt: Optimize for mobile
2021-10-21 01:21:05 +08:00
18870
79f686cf98
Opt: Highlight current button
...
- Fix: Save config to correct file
- Opt: Only translate mode reload languages
- Del: UI install
- Fix: Forgot to set current status
- Fix: Add newline to log after stop alas
2021-10-14 23:10:03 +08:00
18870
5b1362cdf8
Add: Display alas running status
2021-10-14 13:31:54 +08:00
18870
ddafa5b309
Opt: Delete unnecessary output()
2021-10-12 13:55:24 +08:00
LmeSzinc
c68f9c1ccd
Opt: GUI i18n generation
2021-10-10 23:19:25 +08:00
18870
9eee0feccf
Fix: Log area exceed its size limit
2021-10-09 19:14:42 +08:00
18870
ba588f3a94
Add: Password for Web app
2021-10-09 17:20:59 +08:00
18870
7d28d06764
Upd: Migrate to PyWebIO 1.4
2021-10-09 01:12:04 +08:00
18870
abbf735fa3
Opt: Format code
2021-10-03 21:40:05 +08:00
18870
deeb8449be
Add: New UI
...
run `python gui.py` to start webserver
open `http://127.0.0.1 ` in your browser
2021-10-03 19:18:47 +08:00