Jannover5000r
1f5f10f545
added initupdate as a go routine
2026-08-25 23:28:46 +02:00
Jannover5000r
d2a84a8435
Removed Fatalf
...
in order to prevent a huge amount of restarts i removed Fatalf and made it return normally
I also made GetTime load the timezone once and just return the correct value as well as default to utc
made the Auth function retry 3 times per account and send an error after that
put time.Sleep into the correct loop in main.go
initUpdate is in main now
2026-08-25 23:27:37 +02:00
Jannover5000r
1d57e8a867
made a lot of changes for the workflow of the bot
...
- Timezone handling got updated
- Logs have been deleted to avoid duplicates and clean up the terminal
- removed unused code
- fixed an issue where the updating time threw errors
- improvements to the updateting of timetable data, only using a single api call now
- improved init to intitialize all needed files (classrooms, subjects etc.)
2026-08-25 22:53:59 +02:00
Jannover5000r
ae5b1f7b28
Merge branch 'main' of https://github.com/Jannover5000r/Untis-Logger
2026-08-24 18:41:36 +02:00
Jannover5000r
fb503f6a9e
added a few things to
...
ticker will now only update timetable not send all requests to avoid rate limiting
Untis.go Main() will only be used in initial startup
ticker cleanup in botstart since that isnt being used anymore
2026-08-24 18:37:25 +02:00
Jannover
0de661c88f
Merge pull request #15 from Jannover5000r/feature-UpdateAt2Am
...
fix 2
2026-08-24 01:10:14 +00:00
Jannover5000r
5f8f21732c
fix 2
2026-08-24 03:09:29 +02:00
Jannover
5e247cc87c
Merge pull request #14 from Jannover5000r/feature-UpdateAt2Am
...
fix
2026-08-24 00:54:15 +00:00
Jannover5000r
6cfe550bed
fix
2026-08-24 02:53:25 +02:00
Jannover
0444051dcf
Merge pull request #13 from Jannover5000r/feature-UpdateAt2Am
...
Feature update at2 am
2026-08-24 00:44:27 +00:00
Jannover5000r
7f3b8b2672
added the file since i forgot
2026-08-24 02:43:07 +02:00
Jannover5000r
ffd83811ab
made update stop sending before 1am
...
since i fixed the update time i can make the deadline 1am
2026-08-24 02:39:26 +02:00
Jannover5000r
9357f7381b
Fixed timezone management
...
timezones now get loaded by a function in /Untis
Should make fetching happen at 0 am
2026-08-24 02:36:41 +02:00
Jannover
3fc436fe93
Update README.md
2026-08-22 23:59:47 +00:00
Jannover
bf0b89e024
Merge pull request #12 from Jannover5000r/feature-newDayUpdate
...
added a new if clause to check if the time is past or before 3am before sending the class update message
2026-08-22 23:41:54 +00:00
Jannover5000r
2659237b3f
added a new if clause to check if the time is past or before 3am before
...
sending the class update message
This will hopefully remove the spam everyday
2026-08-23 01:39:17 +02:00
Jannover
6051141d91
Merge branch 'main' into temp-timezoneFix
2026-08-22 22:01:19 +00:00
Jannover5000r
18f953e444
modified README
2026-08-22 23:52:44 +02:00
Jannover5000r
a62e91b30b
added timezonemanagment to timezone fix
2026-04-13 07:58:48 +00:00
Jannover5000r
17baaaf087
timezone database added
2026-03-31 03:36:19 +02:00
Jannover5000r
8d243869ea
added timezone managment
2026-03-30 05:24:33 +02:00
Jannover5000r
3bf0158260
WebHook command now also toggles Lesson update message
2026-01-28 09:47:06 +00:00
Jannover5000r
110e4a5104
manual timetable update with !update
2026-01-20 09:25:43 +01:00
Jannover5000r
1b47e7ac04
Fix URL structure in README for clarity
2025-12-05 08:54:59 +00:00
Jannover5000r
b3628700ae
new
2025-11-19 13:03:05 +01:00
Jannover5000r
c9a5dd2ff5
fixed the account creation
2025-11-14 09:10:35 +01:00
Jannover5000r
74297067d8
Accounts.json will now be saved in the accounts directory
2025-11-14 08:44:40 +01:00
Jannover5000r
c29389e8f2
new changes to notification system
2025-11-13 10:13:54 +01:00
Jannover5000r
6c07bd9d13
delete unused
2025-11-11 09:46:15 +01:00
Jannover5000r
f05157916d
removed git error
2025-11-11 09:12:04 +01:00
Jannover5000r
b45ac423b0
detailed changed lessons message
2025-11-11 09:08:10 +01:00
Jannover5000r
a718e700c3
main.go aktualisieren
2025-11-03 14:34:34 +01:00
Jannover5000r
3ba05a64ce
main.go aktualisieren
2025-11-03 14:27:42 +01:00
Jannover5000r
b2833ad503
main.go aktualisieren
2025-11-03 14:27:05 +01:00
Jannover5000r
3d64a4947d
changed readme
2025-11-03 03:12:10 +01:00
Jannover5000r
c3f73b99d5
removed unnecessary else bracket
2025-11-03 03:05:33 +01:00
Jannover5000r
4d04da7f78
!WebHook works now
2025-10-31 10:16:47 +01:00
Jannover5000r
7646684136
changed message and added toggle for default message
2025-10-30 20:00:58 +01:00
Jannover5000r
f3636c15c9
changed -1 to +1
2025-10-29 14:22:04 +01:00
Jannover5000r
39de95e3ce
changes to readme
2025-10-29 13:02:23 +01:00
Jannover5000r
68d358e1e4
timezone adjustment
2025-10-29 12:56:03 +01:00
Jannover5000r
0613d88b28
times for notification changed
2025-10-29 08:46:19 +01:00
Jannover5000r
4a7028e332
new README
2025-10-29 03:04:02 +01:00
Jannover5000r
752aea4b0f
new new new, works here
2025-10-28 10:25:26 +01:00
Jannover5000r
909783373c
works?
2025-10-28 08:42:22 +01:00
google-labs-jules[bot]
8b42761cf0
feat: Implement timetable fetching in checkTimetableChangesForUser
...
This commit resolves the TODO in the `checkTimetableChangesForUser` function in `Botrun/BotStart.go`.
The new implementation fetches the user's timetable by calling the `Untis.Auth` and `Untis.Timetable` functions. It then compares the new timetable with the previous one and sends a notification if there are any changes.
As part of this change, the `Bot` directory was renamed to `Untis` to follow Go conventions, and the import paths were updated in `Botrun/BotStart.go` and `main.go`. The `.gitignore` file was also updated to ignore the build artifact.
2025-10-20 02:17:00 +00:00
Jannover5000r
b76b2c72f1
cahnges to gitignore
2025-10-20 03:45:14 +02:00
Jannover5000r
6cbf1153c2
Stop tracking login_*.json
2025-10-20 03:44:25 +02:00
Jannover5000r
f0c860dde8
changes to .gitignore
2025-10-20 03:05:49 +02:00
Jannover5000r
70b2961cee
Merge branch 'main' of https://github.com/Jannover5000r/Untis-Logger
2025-10-11 02:27:04 +02:00