denizk0461
2f9ecbafe7
Tweaks to the timetable/schedule feature so that it works properly now:
...
- adding events without any schedules present is prohibited
- events are now properly assigned to the currently active schedule
- changed top bar text in schedule fragment
- changed order of headers in allergen detail sheet
2023-09-04 21:18:33 +02:00
denizk0461
7f9b07489b
Fixed a bug that caused the status bar to be coloured wrong
2023-07-31 22:45:46 +02:00
denizk0461
ae5b0fabc1
A message now informs the user of the new timetables feature
2023-07-31 22:30:33 +02:00
denizk0461
453e65ec48
User can now add, edit, and delete timetables without crashing (hopefully)
2023-07-31 22:09:04 +02:00
denizk0461
1f05fad84c
Links in canteen news are now fetched and can be clicked
2023-07-04 15:06:40 +02:00
denizk0461
a5d8e157de
Timetables can now be edited and deleted via sheet from SettingsFragment.kt
2023-07-04 14:47:19 +02:00
denizk0461
ca2cfe071f
Updated dependencies
2023-07-04 12:54:42 +02:00
denizk0461
0d0bc1d1a2
Stud.IP events now get added to their proper timetable rather than being nuked on every refresh; users can now switch between timetables through the settings app
2023-07-04 12:51:12 +02:00
denizk0461
694d962896
Added Timetable.kt which was a PAIN because SQLite does not support ADD FOREIGN KEY on ALTER TABLE, and as such, the required workaround is to create a temporary table with the new constraint added, insert the values from the old table into the new table, drop the old table, and finally rename the new table to the name of the old table so that the app thinks that nothing ever happened... UGH
2023-07-03 15:47:55 +02:00
denizk0461
97b713a578
WeserPlaner 1.1.0: implemented canteen view in CompactOverviewFragment.kt
2023-06-04 20:45:38 +02:00
denizk0461
35283f3544
Compact layout: back stack now gets popped every time the user navigates back using the back button embedded in the fragment layout
2023-06-04 17:51:40 +02:00
denizk0461
8f612d3c31
Added back buttons on all user-facing fragments that show when compact layout is used
2023-06-04 17:42:30 +02:00
denizk0461
6d1ab773dc
Added navigation graph and corresponding user preference for additional app layout option
2023-06-04 16:59:04 +02:00
denizk0461
26c89108bf
Finished IntroductionActivity.kt; fixed a bug in StwParser.kt that would throw an error upon accessing the UI due to a missing withContext() call. This error seemed to (visibly?) happen on API level 24, but not on 30+
2023-06-04 15:34:32 +02:00
denizk0461
01acb1c4b5
Moved first launch preference out of EventFragment.kt to be moved into the newly created tutorial/introductory screen IntroductionActivity.kt
2023-06-04 12:39:54 +02:00
denizk0461
36bede6201
Enabled Jetifier since third-party libraries may require it; in-development options for events are now hidden if the user has not explicitly enabled them
2023-06-04 12:27:21 +02:00
denizk0461
98a3a13623
Added TimetableOverviewActivity.kt and a means to launch via a button through EventFragment.kt; implementation unfinished
2023-05-25 12:32:10 +02:00
denizk0461
e52a055cf1
Added FormattedDate.kt to produce formatted strings more easily; TaskOverviewAdapter.kt now produces expandable items
2023-05-23 12:39:43 +02:00
denizk0461
ce0667300d
Added ReminderStatus.kt to keep track of the status of a future notification implementation; moved enums and similar classes to values directory
2023-05-23 08:35:34 +02:00
denizk0461
a1f18b3548
Task overview now has a RecyclerView adapter and displays dummy data in empty items; added database queries to retrieve tasks
2023-05-22 15:32:19 +02:00
denizk0461
61155eaec4
Added button to change order for tasks (functionality unimplemented); moved options menu for events to long press, single click is now functionless
2023-05-22 14:16:56 +02:00
denizk0461
75724ace18
Added an options menu for events; moved delete option to the new options menu
2023-05-21 22:16:20 +02:00
denizk0461
e99a58de54
Added a floating action button to add tasks in TaskOverviewFragment.kt
2023-05-21 19:59:38 +02:00
denizk0461
b21953c571
Added data type EventTask.kt for the task fragment; added timetableId to StudIPEvent.kt to assign events with a specific timetable, for a future implementation of being able to store multiple timetables simultaneously; database scheme will now be exported to allow for automatic migrations
2023-05-21 15:29:34 +02:00
denizk0461
2675e5b7f3
Added measures to make sure the user logs into their schedule before fetching can commence
2023-05-21 09:16:27 +02:00
denizk0461
059502242b
Migrated build.gradle files to Kotlin DSL
2023-05-20 23:49:06 +02:00
denizk0461
fb155550b3
New fragments can now be accessed via an experimental setting. They tell the user via snack message that their functionality is not yet implemented
2023-05-20 23:01:53 +02:00
denizk0461
ff930b89c0
Added ExamOverviewFragment.kt and RoomFinderFragment.kt as well as respective layouts and view models to implement later; minor reformatting
2023-05-20 22:03:51 +02:00
denizk0461
cbea5f124d
Fixed colours for icons to tell the user that canteen offers are hidden or that they have no events; added tooltips to buttons in canteen fragment; edited README.md to use new iamge paths
2023-05-20 19:12:03 +02:00
denizk0461
1c31d422fa
WeserPlaner 1.0.3: adjusted layout of AllergenSheet.kt to display allergens and additives separately; FetcherActivity.kt now features a button to go directly to the user's schedule, if logged in; replaced toast messages with snack bars; ScheduleUpdateSheet.kt now notifies the user about database transactions via snack bar; schedule view now tells the user if there are no events scheduled for a day
2023-05-14 23:09:06 +02:00
denizk0461
8f69b5f381
Adjusted layout of AllergenSheet.kt to display allergens and additives separately
2023-05-14 21:44:05 +02:00
denizk0461
559ec22734
Adjusted close buttons for sheets to be slightly highlighted
2023-05-14 20:16:02 +02:00
denizk0461
14e379eebf
CanteenPageFragment.kt now displays the count of offers that have been hidden due to allergen and dietary preferences
2023-05-14 19:49:09 +02:00
denizk0461
d4e64018d2
Refactored preference functions so that view models cannot access preferences directly, instead having to use get/set methods, which also solves a potential bug source of defining different default values for certain properties in different view models
2023-05-14 13:10:47 +02:00
denizk0461
d9a4ead7ec
Flattened structure of StwParser.kt somewhat; CanteenFragment.kt now shows an error snack if the user tries to switch canteens while another one is being fetched; made slight adjustments to the translations
2023-05-14 09:00:08 +02:00
denizk0461
2311cc46ad
Adjusted UI elements in CanteenFragment.kt to clean up the UI
2023-05-13 19:45:36 +02:00
denizk0461
2798e0ecbb
Moved development codes from DevCodeSheet.kt to a (by default) hidden section of SettingsFragment.kt; added further information about the build in that section
2023-05-13 19:31:27 +02:00
denizk0461
7ed230b4b9
Changed FABs into Extended FABs that collapse on scroll; updated FABs and scrolling behaviour of app bars; removed dimens.xml files for landscape and larger widths that had been generated by Android Studio
2023-05-13 10:00:40 +02:00
denizk0461
1177b8b14e
FABs in canteen fragment now dodge away from snack bars; snack bar now used to tell the user that no news are available for a canteen
2023-05-12 18:51:36 +02:00
denizk0461
6053e8a9c4
WeserPlaner 1.0.2: canteen news button is now highlighted if news are available, and the news sheet will now only be shown if there are any news available. Otherwise, a toast will tell the user that no news are available.
2023-05-12 11:40:43 +02:00
denizk0461
2d3dd390bf
Fixed StwParser.kt not fetching all required data to show opening hours of the canteens; small further tweaks to the structure and KDoc of StwParser.kt
2023-05-12 11:03:56 +02:00
denizk0461
b88c831530
Modified logic to more consistently show the fetch button if the schedule is empty, and hide it if there are schedule items
2023-05-11 22:10:08 +02:00
denizk0461
1e8cc694a3
Fixed some slight issues with the German translation: 2nd person singular "du" was only sometimes capitalised "Du", now it never is; one instance where "The" was used in place of "Die"
2023-05-11 21:38:38 +02:00
denizk0461
a61f072055
Added a button to direct the user to download their schedule from Stud.IP if they have not done any modifications to their schedule; fixed a bug that would show opening hours of the currently selected canteen or crash the app whenever the info button in FetcherActivity.kt was clicked
2023-05-11 21:31:41 +02:00
denizk0461
91ffcf0637
CanteenFragment.kt now refreshes automatically on initial launch
2023-05-11 15:13:43 +02:00
denizk0461
6dccb287ab
Adjusted text to show the user when they have changed their allergen preferences; changed licences text
2023-05-11 14:56:33 +02:00
denizk0461
81765db0db
Quick fix before publishing: adjusted colours for new MaterialButtonGroup to fit in with the other elements
2023-05-10 21:31:26 +02:00
denizk0461
e33414b7e9
WeserPlaner 1.0.1: pricing can now be adjusted - users can pick whether they want to see pricing for students or for employees; fragment launch settings has been changed to use a MaterialButtonGroup to support adding more options down the line
2023-05-10 21:14:17 +02:00
denizk0461
9ada2ca462
AllergenConfigSheet.kt now updates SettingsFragment.kt to display the count of allergens the user has set; made changes to several strings and minor UI tweaks
2023-05-10 18:43:06 +02:00
denizk0461
218bc89873
Changed TextSheet to use a ViewModel for showing content that is fetched from the database. Uses TextSheetContentId to determine which LiveData to observe.
2023-05-09 14:19:45 +02:00