Commit Graph
7 Commits
Author SHA1 Message Date
denizk0461 509a0434c5 Possibly fixed-for-good a bug that caused events to be fetched but not stored properly in the database; I believe this was caused by FetcherActivity.kt sequentially executing nukeEvents() and insertEvents(), but doing both asynchronously, and individually, which could mean that insertEvents() finishes before nukeEvents() and therefore nukeEvents() would delete the old events as well as the new ones. This doesn't seem entirely logical to me, as no ConflictStrategy has been configured, and inserting new events before the old ones have been cleared (since they both start their primary keys at 0) would have crashed the app. 2023-04-28 15:14:50 +02:00
denizk0461 ee0934f29b Fixed a bug hiding all Stud.IP events from the user's view by... renaming the database table. yeah. i don't even know anymore. 2023-04-28 10:30:30 +02:00
denizk0461 ccd77a5daf Made further documentation and safety changes. Scraper classes (StudIPParser.kt, StwParser.kt) still need to be checked for safety. 2023-04-27 20:27:42 +02:00
denizk0461 6b1d77dfb3 Implemented functionality to switch canteens. UI for this is not fully implemented. 2023-04-25 15:38:30 +02:00
denizk0461 840c8f1db7 Implemented snackbar telling the user that an error has occurred when fetching their schedule through FetcherActivity.kt. Also made some slight additions to the documentation 2023-04-25 12:02:25 +02:00
denizk0461 2534849329 Added comments and cleaned up code in activities and StudIPEvent.kt 2023-04-21 15:42:21 +02:00
denizk0461 d55a304cec Moved the fetching task to a separate activity; changed the time attributes in StudIPEvent.kt to strings 2023-04-12 18:58:10 +02:00