Commit Graph
19 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 9d6489f83b Implemented ability to change the fragment opened on app start; made some optimisations to DietaryPreferences.kt. BUG: tab layout mediator is annoying af 2023-04-27 15:15:29 +02:00
denizk0461 939bc06441 BUGFIX: opening CanteenFragment.kt more than once would disallow refreshing from working properly
BUGFIX: fragments launch slowly when quickly clicking through the bottom navigation view
2023-04-26 19:49:29 +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 fbad84aa09 Fully documented all Kotlin files and added TODOs to functions that need to be updated in some way 2023-04-23 11:57:03 +02:00
denizk0461 2534849329 Added comments and cleaned up code in activities and StudIPEvent.kt 2023-04-21 15:42:21 +02:00
denizk0461 5543eb4e32 Implemented canteen scraper/parser functionality 2023-04-16 18:19:06 +02:00
denizk0461 2117535f63 Added German translation 2023-04-14 13:21:24 +02:00
denizk0461 fb50711d36 Changing fragments via bottom navigation view works well now! Also started work on SettingsFragment.kt 2023-04-13 12:25:43 +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
denizk0461 8b690a4593 Minor changes; about to try and implement ViewPager2 instead of the RecyclerView to show different days. This is for better UX and compatibility with the TabLayout 2023-04-12 15:36:35 +02:00
denizk0461 7b33c68db9 Added tabs to indicate which day is selected; not fully implemented. Tabs don't show which day is selected after certain user action 2023-04-11 16:50:45 +02:00
denizk0461 97bc2b1068 App can now retrieve HTML 2023-04-10 14:50:57 +02:00
denizk0461 03b86c8ab9 TODO implement custom Chrome tabs 2023-04-08 18:53:51 +02:00
denizk0461 3c65ccddb1 Added database persistence ability 2023-04-08 17:30:05 +02:00
denizk0461 73ea48626d Initial push 2023-04-08 11:41:02 +02:00