-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* define basic timetable UI and event model * handle rrules * skip holidays * add custom event provider * remove add event button * prevent UniEventProvider disposal for now, we prevent the provider from being disposed _at all_, because we don't yet have a better solution that prevents Timetable from disposing its EventProvider * fetch events from firestore * give event instances different IDs * make event json numeric values numbers instead of strings * set default event fields and ignore invalid events * add classHeader field to event * rename AuthProvider to AuthenticationProvider the previous name clashed with the Firebase API * filter events by user classes * limit maximum selected nodes in filter firestore 'in' queries have a limit of 10 elements: https://firebase.google.com/docs/firestore/query-data/queries#in_and_array-contains-any * filter events based on selected filter nodes * wait for filter to be fetched in the event provider * different colours for event types * generate event instances lazily * change test holidays * define academic calendar with DateIntervals * store rrules as RFC-5545-compliant strings * handle week parity and odd-week holidays * fix last day of holiday not showing on calendar * rename AuthProvider again calling it AuthenticationProvider is way too long and causes unnecessary conflicts, we can just solve the name collision with the Firebase API by importing selectively if the need arises * make calendar a property of event * read calendar from database * show event details on tap * add exam sessions to academic calendar * make calendar intervals events * improve date format on event view * show class on event page * show relevance information on event page * show recurrence on event view in English * fix tests * Show month name as timetable scaffold title * Handle null-relevance events * Fix tests * Reformat code * Fix fetchHeader to use the new class ID * Fix some linter issues * Don't show month name when user is not authenticated * Filter events by degree field * Specify button to press in classes startup page * Show dialog if there are no events to display * Show different dialog when filter is not selected * Fix analysis issues * Reorganise event widgets * Fix tests * Filter calendar events by relevance * Show localized degree name on event page * Use `then` calls in event provider instead of async methods * Minor formatting/dartdoc improvements * Make filter page named * Localize week names in date header * Fix tests * Cache events read from firebase * Show progress indicator while events are loading * Remove 'All' from relevance query * Move progress indicator in stack I will forever find it confusing that the Stack order is top-to-bottom * Bump major version * Fix tests and formatting * Fix error when nothing is selected in filter * More dialogs when there are no events * Fix formatting * Fix reversed parity * Fix all recurrences being set on Monday * Create add event page * Add class selector * Add calendar/semester picker * Check if user has permission to add event * Add (WIP) relevance picker on add event page * Add time picker * Add week parity picker * Add weekday picker * Show details when event type is selected * Open edit event page This also fixes #65 * Implement event deletion * Implement add event functionality * Add "until" field to rrule * Implement event editing * Write calendar field when adding/updating event * Fix bad rebase * Fix all events being set on Monday * Select default day of week based on what the user taps * Don't show 'Anyone' relevance option on add event page * Force users to pick at least one relevance node * Validate class and event type * Move helper methods after build * Validate relevance * Validate week type * Validate week days * Get error color from theme * Bump version * Fix bad merge in test
- Loading branch information
1 parent
1b92b95
commit cfe2332
Showing
25 changed files
with
1,249 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.