Commit Graph
71 Commits
Author SHA1 Message Date
Deniz Düzgören 2561453811 Started work on SettingsViewModel with discrete SettingsRepository; switched out some icons for the substitution plan 2019-10-26 20:06:02 +02:00
Deniz Düzgören 10033d999f Started converting the app to a true MVVM architecture; fixed 7 month old bug that would cause substitution items to not be shown on the personal plan if they contained a question mark (e.g. 'INF7?inf999') 2019-10-23 21:15:12 +02:00
Deniz Düzgören da652edfdf Added empty plan/food menu cards to replace the previous "No substitutions for you" presentation and gain feature parity with the iOS version 2019-10-18 22:19:42 +02:00
Deniz Düzgören 0c5f075fd0 Info table now recognises line breaks from the website and shows them in the dialog; implemented debug dialog that presents the most recent exception caused in DataFetcher.kt 2019-10-18 21:25:54 +02:00
Deniz Düzgören b332381342 Unified app translation with iOS version, added "Follow system" theming option to API 28 2019-10-15 09:50:00 +02:00
Deniz Düzgören 3b239fc22d Changed colour picker from a single palette dialog to recycler view to gain parity with iOS-version 2019-10-15 08:29:53 +02:00
Deniz Düzgören bbecb640ea Dialogs now use MaterialComponents styling, many elements now have rounded borders 2019-10-13 19:27:06 +02:00
Deniz Düzgören 37cf130ba0 Refactoring, using view binding in all fragments, app now targets API 29, replaced deprecated support library PreferenceManager and Custom Tabs with AndroidX equivalents, version bump to 2.3.3 2019-10-12 21:03:34 +02:00
Deniz Düzgören f5666a20c6 Fixed a bug that would stop the fetch when a date field is empty; version bump to 2.3.2 2019-10-02 11:16:00 +02:00
Deniz Düzgören 56c7e8ba53 Removed Terms and Conditions as well as the Privacy Policy from SettingsFragment.kt, added little easter egg 2019-09-28 18:09:43 +02:00
Deniz Düzgören 54acd982dc Implemented null check for cookies to prevent app crash, tweaked HelperFunctions#assignRanking to prepare for future years 2019-09-27 21:49:39 +02:00
Deniz Düzgören 87d4f11cba Added drop down menu in the settings to switch between app-specific and website original sorting procedures 2019-09-24 09:32:25 +02:00
Deniz Düzgören fd40115549 Login page now disallows visiting a domain other than the school's login page to prevent a successful login from another domain allowing access to the app's content 2019-09-23 17:23:59 +02:00
Deniz Düzgören 088aa90aa4 Added further documentation, fixed slight spacing issue on course_card.xml when icon is set to R.drawable.ic_empty 2019-09-22 19:46:20 +02:00
Deniz Düzgören 49eefe8131 Refactored string resources 2019-09-22 13:39:20 +02:00
Deniz Düzgören 8684e763b1 Implemented login functionality at the school's request 2019-09-20 15:49:09 +02:00
Deniz Düzgören 8aec4ec4cd Refactored some resources, centralised Firebase topics by creating an emun 'Topic' 2019-09-19 07:33:16 +02:00
Deniz Düzgören be810e5bfb Changed a few strings, made use of the ViewModels for substitution plan and food menu fragments, fixed a visual bug in the course_card.xml 2019-09-18 11:12:10 +02:00
Deniz Düzgören b891a48b30 Notifications now show up to four items and are then abbreviated to "and x more messages", removed redundant priority variables in DataFetcher.kt 2019-09-15 14:59:04 +02:00
Deniz Düzgören 8f4c604eed Project cleanup; removed unused resources and test classes. Fixed memory leak bug in DataFetcher.kt 2019-09-15 12:01:17 +02:00
Deniz Düzgören bf52312d99 Adapter now accepts "type" strings from database and can display information accordingly; app bar title font enlargened 2019-09-13 12:03:14 +02:00
Deniz Düzgören 78dd498a63 Fixed computer science not being tinted due to a spelling mistake; fixed greeting text label not obeying the right margin and clipping near the right side of the toolbar 2019-09-12 16:55:49 +02:00
Deniz Düzgören 81b4c04159 Removed "Android Device Names" dependency -> aab size shrunk by about 200kb 2019-09-11 21:16:50 +02:00
Deniz Düzgören 0398b846e5 Visual bugfixes: first time screen now shows status bar icons in dark mode, long names now don't cut off anymore in toolbar, status bar colour corrected on some devices. First time screen hides dark mode toggle and defaults to "conform to system setting" on Android 10 and above 2019-09-11 20:59:55 +02:00
Deniz Düzgören 47a4a51b44 Added option to force a refresh, added fallBackToDestructiveMigration as possible migration strategy for substitution table 2019-09-08 21:07:20 +02:00
Deniz Düzgören 371221a092 Added support for obeying system dark mode toggle on Android 10 2019-09-05 18:20:30 +02:00
Deniz Düzgören 9b5dfd9c60 Added support for teacher column 2019-09-04 18:46:25 +02:00
Deniz Düzgören 792f3c6400 Added a dialog providing help for those not receiving notifications 2019-09-03 20:15:08 +02:00
Deniz Düzgören 152004026c Firebase topic subscription changes are now immediate, added backup option in experimental dialog 2019-09-03 18:18:21 +02:00
Deniz Düzgören 82b5fa1b97 Refactor to organise the project and change visibility modifiers 2019-09-01 11:54:12 +02:00
Deniz Düzgören d4e69462b6 External storage permission is now only required below API level 26, added shadows to cards in notification sound picker and colour picker 2019-08-31 16:56:00 +02:00
Deniz Düzgören f139f28137 Code optimisations, using ArrayList#filter for performance improvements and code reductions, fixed notification channel not having been created before opening ringtone settings 2019-08-31 16:12:36 +02:00
Deniz Düzgören 8ee0288c46 Ringtones may be customised; settings intent for Oreo+, custom solution otherwise 2019-08-27 18:38:49 +02:00
Deniz Düzgören fce4c949b3 Ping service now subscribes to Firebase topics every 15 minutes to keep the app alive, courses and rooms are now struck through if the course is cancelled 2019-08-21 10:26:54 +02:00
Deniz Düzgören 561d06aa5b Added Crashlytics 2019-08-14 12:36:54 +02:00
Deniz Düzgören 2dfa8a0407 Edited some strings to indicate the change in notifications 2019-08-12 14:52:52 +02:00
Deniz Düzgören eb758ed077 Added scrollbars to recyclerview dialog, fixed a crash on Marshmallow caused by casting to AnimatedVectorDrawable instead of AnimatedVectorDrawableCompat, fixed a bug that tinted the status bar blue instead of white/dark on certain devices while in light mode 2019-08-11 20:25:01 +02:00
Deniz Düzgören c2561b8354 More strings can be struck through, optimised strikethrough method, added "_TESTURLS" debug flag, version bump to name 2.1.3, code 20 2019-08-09 09:52:05 +02:00
Deniz Düzgören 52db4b20bb Added PSA feature that allows for delivering a message or a link to users 2019-08-06 17:08:43 +02:00
Deniz Düzgören f9cac0b123 Added iOS colours for user customisation, "No internet available" snackbar now tinted red 2019-08-06 11:56:44 +02:00
Deniz Düzgören 6ed3257ca1 Edited greetings and course card layout in preparation for release 2.1.0 2019-08-02 13:35:54 +02:00
Deniz Düzgören a2721aabcd Fixed visual bugs for API levels 21-22, removed "Open info panel automatically" feature due to visual bugs, switched out test URLs for real URLs again 2019-08-01 15:36:21 +02:00
Deniz Düzgören 6cf4c44880 Refactored string and colour resources 2019-07-31 19:48:21 +02:00
Deniz Düzgören dbea6a60eb Added "Last updated" string to FoodFragment and info dialog, simplified "if-else" branch in MiscData.getIcon() to when-statement 2019-07-31 11:27:46 +02:00
Deniz Düzgören 47cbaaf53c Minor interface redesign, including First Time activity 2019-07-30 22:48:13 +02:00
Deniz Düzgören b82f595bdf Fragment transition animations, information dialog, SettingsFragment implements OnCheckedChangeListener 2019-07-30 16:58:51 +02:00
Deniz Düzgören 14477c8f55 Fixed some visual and UX bugs in the colour picker 2019-07-26 21:43:52 +02:00
Deniz Düzgören 351845c4df Revised colour picker dialog to show colour change without closing and re-opening the dialog 2019-07-26 13:31:31 +02:00
Deniz Düzgören 2b5d03093b Removed outdated Q1 Matchmaker easter egg, fixed a few warnings in the SettingsFragment 2019-07-23 21:42:56 +02:00
Deniz Düzgören 0576ca0d1a Adapted PlanFragment into a superclass inherited by GeneralPlanFragment and PersonalPlanFragment, changed text layout attribute for dialogues 2019-07-22 19:10:25 +02:00