1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00
Commit Graph

18 Commits

Author SHA1 Message Date
KenanZhu a4c5ee299e refactor(AutoLib): extract the initialization of LibOperators to a separate method 2025-11-08 11:53:49 +08:00
KenanZhu 7d92717136 style(*): unify punctuation marks from Chinese to English
Replace the ',' with ',' and ':' with ':'.
2025-11-08 11:49:30 +08:00
KenanZhu 3ef301f199 fix(ALMainWindow): remove the unused 'self.__auto_lib' variable v0.0.7-alpha 2025-11-08 00:23:17 +08:00
KenanZhu b10d333eb2 style(LibLogout): unify the format style of LibLogout.py 2025-11-08 00:14:27 +08:00
KenanZhu d5dc012ade chore(license): add MIT license 2025-11-07 23:28:52 +08:00
KenanZhu dac87068ef chore(AutoLib, LibReserve): remove the 'canReserve' method in LibReserve and replace it with 'canReserve' of LibChecker in AutoLib 2025-11-07 23:05:09 +08:00
KenanZhu f13d983124 fix(AutoLib): correct config key from 'run/mode' to 'mode/run_mode'
Update dictionary key retrieval to use the correct
key 'mode/run_mode' instead of the outdated 'run/mode'.

This aligns the code with the recent configuration changes.
v0.0.6-alpha
2025-11-07 22:58:43 +08:00
KenanZhu 30db2fbf9a chore(LibChecker): add new LibOperator: LibChecker.py
We introduce a new LibOperator which is used to check
if a given user date is available for reserve or check-in.

This is ready for the upcoming feature: 'Auto Check-In'.
2025-11-07 22:48:46 +08:00
KenanZhu 11bcd77208 chore(*, .gitignore): rename some folders, correct expressions in their readme.md files, and update the .gitignore 2025-11-07 13:40:04 +08:00
KenanZhu 833e5576da docs(readme): update the mistaken suffix of readme.md 2025-11-07 12:35:01 +08:00
KenanZhu efa211761d refactor(AutoLib): optimize run mode handling for extensibility
Refactor run mode processing logic to improve
adaptability for new operations.

Introduce a dedicated "passed" status to
distinguish passed users instead of classifying
them as failed.
2025-11-06 23:30:08 +08:00
KenanZhu 269eed1cac fix(LibReserve): remove spare wait in reserve operate and checking reserve list 2025-11-06 22:44:18 +08:00
KenanZhu 99975ebeee docs(manual.html): complete the user manual 2025-11-06 22:43:43 +08:00
KenanZhu a8789ad743 fix(LibReserve): fix the failure to select nearest reserve time when the max time difference is 0
The previous implementation only considered the case when more than one nearest time exists,
so we introduced the prefer_early flag to decide which one to be selected.But the comparsion
mistakenly omitted the edge case when the difference is 0.
v0.0.5-alpha
2025-11-06 20:07:43 +08:00
KenanZhu bf106ea234 fix(AutoLib): fix the missed user counter while running the task v0.0.4-alpha 2025-11-06 20:07:43 +08:00
KenanZhu c67a7e3773 fix(gui.ALConfigWidget): allow earlier selection of next day and fix dialog title on config load
previous time that you can select the next day is 19:00, this may be
tensive, because the time rested to modify the reserve date is limited.
So in current commit, we change this into 18:00.
v0.0.3-alpha
2025-11-06 20:07:43 +08:00
KenanZhu bdc700d3da fix(ALConfigWidget): prevent config load from overriding unsaved UI changes
The previous implementation directly replaced the current
in-memory state of system and user configurations during
file loading. This behavior did not align with user
expectations, as it could discard unsaved changes made in the UI.

The fix ensures that loading a configuration file only
updates the internal in-memory state of system and user
configurations, preserving any unsaved UI modifications.
v0.0.2-alpha
2025-11-06 19:55:54 +08:00
KenanZhu 7b4b2ae86c chore(*): first commit v0.0.1-alpha 2025-11-04 00:14:45 +08:00