Commit graph

49 commits

Author SHA1 Message Date
Jannover
711c014bda
Update README.md 2026-08-22 22:02:52 +00:00
Jannover
e334aaf413
Temp timezone fix (#11)
* times for notification changed

* timezone adjustment

* changes to readme

* changed -1 to +1

* changed message and added toggle for default message

* !WebHook works now

* removed unnecessary else bracket

* changed readme

* main.go aktualisieren

* main.go aktualisieren

* detailed changed lessons message

* removed git error

* delete unused

* new changes to notification system

* Accounts.json will now be saved in the accounts directory

* fixed the account creation

* new

* manual timetable update with !update

* WebHook command now also toggles Lesson update message

* added timezonemanagment to timezone fix

* modified README
2026-08-22 22:02:29 +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
1b47e7ac04
Fix URL structure in README for clarity 2025-12-05 08:54:59 +00:00
Jannover5000r
b2833ad503
main.go aktualisieren 2025-11-03 14:27:05 +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
Jannover5000r
c7f84799b1 updated readme 2025-10-11 02:26:14 +02:00
Jannover5000r
ad1aee05d2
Merge pull request #2 from Jannover5000r/feature/multi-user-support
changes to gomod and gosum
2025-10-11 02:00:05 +02:00
Jannover5000r
bc22180e10 changes to gomod and gosum 2025-10-11 01:57:08 +02:00
Jannover5000r
8cd7637f33
Merge pull request #1 from Jannover5000r/feature/multi-user-support
feat: Implement multi-user timetable tracking and notifications
2025-10-10 23:00:28 +02:00
Jannover5000r
f91674daa1 new readme 2025-10-10 13:00:13 +02:00
Jannover5000r
2c0c1b289b changed readme and gitignore to updated features
-added deleteaccount command with alias removeaccount
2025-10-10 12:53:43 +02:00
google-labs-jules[bot]
6c33d1a410 feat: Implement multi-user timetable tracking and notifications
Refactors the application to support multiple users for timetable logging.

- User accounts added via a Discord command are now stored in `accounts.json`.
- The main scheduling loop now fetches timetables for all registered users, in addition to the default user defined in the `.env` file.
- Notifications for registered users are now sent as direct messages, providing personalized updates. The default user continues to use the existing webhook.
- User-specific data files (e.g., `timetable_filled_<userID>.json`) are now used to keep each user's data separate.
- Error handling has been improved to prevent the application from crashing if an operation fails for a single user.
2025-10-10 10:10:15 +00:00
Jannover5000r
65d88f8c27 fixed .env loading 2025-08-26 01:47:23 +02:00
Jannover5000r
87887832c8 updated room discord message 2025-08-19 08:54:31 +02:00
Jannover5000r
d601ccc789 updated readme 2025-08-10 12:47:32 +02:00
Jannover5000r
6f70e044fd updated readme 2025-08-10 12:25:48 +02:00
Jannover5000r
3ee37f6dbf changed .gitignore to include all files now with the new json files 2025-08-10 11:42:39 +02:00
Jannover5000r
81c9a496c0 Full bot functionality and multi user support 2025-08-10 11:38:31 +02:00
Jannover5000r
ac69fb6780 added encryption based pasword storing 2025-08-05 00:10:38 +02:00
Jannover5000r
b8d9cb5c82 Bot start 2025-07-27 19:25:35 +02:00
Jannover5000r
42ec5bd9b9 executable added 2025-07-04 09:53:58 +02:00
Jannover5000r
1952c93a40 all working 2025-07-04 09:20:43 +02:00
Jannover5000r
9bb9c29ee2 creating login.json 2025-07-03 20:22:46 +02:00
Jannover5000r
3dd0788a84 test 2025-07-03 20:16:13 +02:00
Jannover5000r
bf3c41113a go version 1.24 2025-07-03 20:04:32 +02:00
Jannover5000r
3716c6dbf6 resolved small error 2025-07-03 15:25:56 +02:00
Jannover5000r
056fda8cff automatic Logging 2025-07-03 14:13:59 +02:00
Jannover5000r
0308cf0985 posting as text 2025-07-02 07:51:25 +02:00
Jannover5000r
04acd01078 Next time to room 2025-06-27 12:55:28 +02:00
Jannover5000r
71d83a6ada fixed decleration problem 2025-06-25 10:16:44 +02:00
Jannover5000r
58415419bc Working timetable 2025-06-25 01:04:31 +02:00
Jannover5000r
1bd4de6bf4 Getting Data from api 2025-06-24 14:45:59 +02:00
Jannover5000r
8b94cac5ba working rooms request 2025-06-23 18:58:04 +02:00
Jannover5000r
b54e97a99f get rooms post 2025-06-23 13:48:12 +02:00
Jannover5000r
d8d1fc3679 as 2025-06-16 23:11:42 +02:00
Jannover5000r
037cdbbcaf no webhook message 2025-06-16 21:20:22 +02:00
Jannover5000r
ca1d1383d7 Api calls 2025-06-16 13:39:35 +02:00
Jannover5000r
cf6f7ed843 more testing 2025-06-13 15:59:23 +02:00
Jannover5000r
a312f1d7ed Bot setup 2025-06-12 15:14:20 +02:00
Jannover5000r
cadd31aaa6 new 2025-06-12 11:20:35 +02:00