155 Commits
Author SHA1 Message Date
Stone_RedandClaude Opus 5.5 12c5808dd0 Add Check Now button to skip the current wait
- "Check Now" in the tray menu and in the log window ends the current
  wait (the check_every_second interval, the auto mode network wait and
  the session expiry wait), so the connection is checked and the login
  is sent right away if needed.
- Document it in the README.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-07 21:13:13 +02:00
Stone_RedandClaude Opus 5.5 e9428675e9 Check quickly around the expected session expiry
Many portals log you out a fixed time after login (e.g. every 24 hours).
With check_every_second at 600, it could take up to 10 minutes to notice.

- New optional profile setting "session_hours" (also in the Add new dialog).
- The time of each successful login is saved per profile in
  session_state.json, so it survives restarts.
- While connected, the next check is timed to land 2 minutes before the
  expected expiry, then the connection is checked every 5 seconds until
  10 minutes after it, so the program logs in again within seconds.
- If still connected after that window, the session was renewed some
  other way and the normal interval is used again.
- Ignore runtime files (log.txt, session_state.json) in git.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-07 21:09:42 +02:00
Stone_RedandClaude Opus 5.5 53bf01733e Add Auto mode (network auto-detection) and Start with Windows
- Auto mode (Auto button or --auto): picks the profile matching the
  connected network instead of forcing one profile's SSID. Wi-Fi is
  matched by SSID; Ethernet profiles by whether their portal is reachable.
  Unknown networks are left alone. config.json is reloaded each check.
- Watches for network changes every 5 seconds while waiting, so switching
  between Ethernet and Wi-Fi is handled right away.
- Auto mode backs off instead of exiting after repeated errors.
- Start with Windows checkbox (HKCU Run key, --auto --background).
- --background flag to start without the log window.
- Resolve the program directory for both script and PyInstaller builds,
  so startup launches find config.json.
- Ignore Hyper-V/WSL vEthernet adapters when detecting Ethernet.
- Fix crash when pressing Enter in the profile list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-07 19:30:29 +02:00
Deniz Şafak bbbb76d577 add .gitignore 2025-02-03 01:07:19 +03:00
Deniz Şafak 8c7b735cb1 Update README.md 2025-01-04 02:09:33 +01:00
Deniz Şafak 9b6d42aff5 v1.90fix4 hotspotautologin-v1.90fix4 2025-01-03 18:28:30 +03:00
Deniz Şafak 337c84e9a4 v1.90fix3 hotspotautologin-v1.90fix 2025-01-01 18:56:54 +03:00
Deniz Şafak bcbad5b8f8 Update README.md hotspotautologin-v1.90 2025-01-01 04:02:31 +03:00
Deniz Şafak f55f09079a v1.90 2025-01-01 04:00:39 +03:00
Deniz Şafak 7ec6601554 v1.90fix2 2025-01-01 03:45:45 +03:00
Deniz Şafak 10c3b7f233 Add files via upload 2025-01-01 03:45:22 +03:00
Deniz Şafak bbc9be3b93 v.190fix 2025-01-01 03:39:27 +03:00
Deniz Şafak 2ff513099f v1.90 2025-01-01 03:11:00 +03:00
Deniz Şafak 54eea0ad63 Update README.md 2024-10-26 01:07:10 +03:00
Deniz Şafak fee77034f4 Update README.md 2024-10-26 01:06:56 +03:00
Deniz Şafak af880b0e92 Update README.md 2024-10-26 00:57:16 +03:00
Deniz Şafak c495415df9 v1.83 2024-10-26 00:48:35 +03:00
Deniz Şafak 10436f0b4f v1.83 hotspotautologin-v1.83 2024-10-26 00:19:34 +03:00
Deniz Şafak 95e62523f4 v1.83 2024-10-25 23:52:59 +03:00
Deniz Şafak 05471f19ac v1.83 2024-10-25 23:52:43 +03:00
Deniz Şafak dcf2b5426f v1.83 2024-10-25 23:52:08 +03:00
Deniz Şafak 79f792f0b0 Update README.md 2024-08-23 18:15:18 +03:00
Deniz Şafak 1f0b3d7de1 Add files via upload 2024-07-22 23:11:58 +03:00
Deniz Şafak c7fec03add Update run.bat 2024-07-22 23:11:18 +03:00
Deniz Şafak cb6c8d5ffd Add files via upload hotspotautologin-v1.82 2024-07-22 11:23:48 +03:00
Deniz Şafak 638e888e83 Delete HotspotAutoLogin.pyw 2024-07-22 11:10:05 +03:00
Deniz Şafak ff2ac683bf Delete requirements.txt 2024-07-22 11:09:52 +03:00
Deniz Şafak 585d8d11d7 Delete log.txt 2024-07-22 11:09:45 +03:00
Deniz Şafak ed01a946b6 Delete icon.ico 2024-07-22 11:09:36 +03:00
Deniz Şafak 224e5625a7 Delete config.json 2024-07-22 11:09:27 +03:00
Deniz Şafak 37fc8a6a76 Delete main/last_known_directory.txt 2024-07-22 11:09:06 +03:00
Deniz Şafak 9d511650f6 v1.82 2024-07-22 11:08:46 +03:00
Deniz Şafak bad72f479a Add files via upload 2024-03-31 22:27:42 +03:00
Deniz Şafak 55bfb8c07d Add files via upload 2024-03-31 18:39:04 +03:00
Deniz Şafak dd966d353d Add files via upload 2024-03-31 18:15:28 +03:00
Deniz Şafak 89d6f1017d Update config.json hotspotautologin-v1.80 2024-03-31 12:24:17 +03:00
Deniz Şafak 90fbc78b85 Update config.json 2024-03-31 12:15:27 +03:00
Deniz Şafak 101ed1c714 v.180 update 2024-03-31 12:02:44 +03:00
Deniz Şafak f59a79070b Add files via upload 2024-03-17 03:21:28 +03:00
Deniz Şafak feeb41098a Bug fixes, improvements hotspotautologin-v1.70 2024-03-17 02:40:13 +03:00
Deniz Şafak c09c5e02d3 Update run.bat 2024-03-15 18:10:37 +03:00
Deniz Şafak a35974a622 Add files via upload 2024-03-15 18:08:04 +03:00
Deniz Şafak 5b24bb2b0d Add files via upload 2024-03-15 18:01:31 +03:00
Deniz Şafak 40e91f2b72 Add files via upload 2024-03-15 02:01:57 +03:00
Deniz Şafak d88e46d4ec Create LICENSE 2024-03-14 05:56:25 +03:00
Deniz Şafak 5f0a76689a Add files via upload 2024-03-14 03:43:45 +03:00
Deniz Şafak 06d309e563 Add files via upload 2024-03-14 01:23:02 +03:00
Deniz Şafak a542448e8e Update HotspotAutoLogin.pyw 2024-03-13 05:04:06 +03:00
Deniz Şafak ecfa986dc0 Update README.md 2024-03-13 02:26:43 +03:00
Deniz Şafak 3daf637a17 Add files via upload 2024-03-13 02:25:36 +03:00