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

43 Commits

Author SHA1 Message Date
KenanZhu 9a925fecb6 fix(operators): fix some type hint, and add imports for LibRenew 2025-11-28 14:53:08 +08:00
KenanZhu 189fddfb6a fix(LibReserve): more fast operations of reserve v0.2.2-alpha 2025-11-28 14:46:17 +08:00
KenanZhu c2d53a8b78 chore(*): refactor the project structure 2025-11-25 08:48:18 +08:00
KenanZhu b99431476a hotfix(LibChecker): optimize the reserve records check process v0.2.1-alpha 2025-11-22 15:12:40 +08:00
KenanZhu 977c0835b7 hotfix(ALMainWindow): fix the config file paths initialization 2025-11-22 15:11:25 +08:00
KenanZhu cd565ec57d feat(gui.SeatMapWidget): add seat select map widget v0.2.0-alpha 2025-11-22 14:29:01 +08:00
KenanZhu 9f17474c1b fix(gui): optimize the config files' status management v0.1.5-alpha 2025-11-22 14:27:40 +08:00
KenanZhu 04d66346dc fix(ALConfigWidget): optimize the config window usage
add date calendar popup so that user can select
the date more easily
fix some file dialog title display issue
default max diff time change to 30 minutes
v0.1.4-alpha
2025-11-22 14:23:35 +08:00
KenanZhu f858295af1 refactor(LibChecker): refactor the code of LibChecker to make it more readable and maintainable 2025-11-22 14:16:38 +08:00
KenanZhu cd6c899388 fix(*): optimize the operators' performance when invoking webdriver
we consume the wait time of webdriver and its
implicit wait time
v0.1.3-alpha
2025-11-22 14:13:23 +08:00
KenanZhu 1038a86aff fix(ALMainWindow): fix the clean up issue of worker thread and config window (concernd commit #389ac88) v0.1.2-alpha 2025-11-22 14:11:22 +08:00
KenanZhu 15ea47dd07 docs(*): replace manual.html with new website
we build a new website for AutoLibrary, so there
is no need to keep the old manual.html
2025-11-14 22:43:41 +08:00
KenanZhu 829a8440ad chore(gui): fix some widget length to match the design v0.1.1-alpha 2025-11-11 09:14:04 +08:00
KenanZhu 389ac885d3 fix(ALMainWindow): optimize the resource usage of gui
This commit fixes memory management issues in the
ALMainWindow class where config window and
task threads were not properly deleted after use,
leading to continuously increasing memory usage.

The fix ensures that all GUI components are
deleted after close and background threads are
correctly terminated.
2025-11-11 09:05:55 +08:00
KenanZhu 68b61b5c8c feat(AutoLib): new feature 'Auto Check-in' v0.1.0-alpha 2025-11-11 09:04:11 +08:00
KenanZhu fd5abb5f1e chore(LibReserve, LibCheckin): *
We use a more clear and structured output message
of reservation.

Complete the LibCheckin for the upcoming new
feature : 'Auto Check-in'
2025-11-11 09:00:20 +08:00
KenanZhu 1f16181aeb fix(LibLogin): more clear error message v0.0.12-alpha 2025-11-09 19:52:21 +08:00
KenanZhu f0c25903a3 refactor(LibReserve): optimize the pre-check of reserve
Extract the different pre-checks of reserve to
their separate methods

More clear role of 'satisfy_duration' flag
2025-11-09 19:40:08 +08:00
KenanZhu b24e4f473f fix(LibChecker): chore(LibChecker): introduce a new method to generate more readable output
: add renew checker method for upcoming feature: 'Auto Renew'
v0.0.11-alpha
2025-11-08 18:34:38 +08:00
KenanZhu 8bb65be0b9 fix(LibChecker): remove the debug print 2025-11-08 18:32:33 +08:00
KenanZhu 631785122b fix(gui.ALConfigWidget): fix the width of web driver path line edit v0.0.10-alpha 2025-11-08 18:31:07 +08:00
KenanZhu 82ea40d3dc refactor(LibChecker): fix(AutoLib): extract reservation decode logic into separate function
: adjust default browser size to prevent page scale issues

Extract the reservation decode logic into a separate
function within LibChecker to improve code structure
and enable more structured return values for
decision-making.

Testing of the refactored LibChecker revealed that
page scaling could cause unexpected behavior.
Change the default browser size from
1280x720 to 1920x1080 to resolve this.
v0.0.9-alpha
2025-11-08 12:53:24 +08:00
KenanZhu 1244084c75 style(*): remove the spare punctuation marks ',' at the end of function parameters 2025-11-08 12:51:33 +08:00
KenanZhu 7a599c4f63 fix(LibReserve): add the check for empty value of 'seat_id' in 'reserve_info' v0.0.8-alpha 2025-11-08 11:56:21 +08:00
KenanZhu d2cef258aa refactor(LibLogin): extract the captcha recognition and input to a separate function 2025-11-08 11:54:57 +08:00
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