Commit Graph
103 Commits
Author SHA1 Message Date
Deniz Düzgören 1a4b8ce142 Renamed HelperFunctions to SubstUtil, played around with Kotlin extensions 2019-10-19 19:48:21 +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 cad72fb90a Bumped version code to allow upload of new version to the Play Store 2019-10-13 21:23:54 +02:00
Deniz Düzgören 28656db878 Removed redundant AsyncTasks from repository calls as they are only accessed asynchronously in DataFetcher.kt 2019-10-13 21:22:46 +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 f6283c8221 Food menu now splits up holiday messages; added documentation 2019-10-01 10:38:41 +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 2e4f423586 Fixed a bug in HelperFunctions#assignRanking 2019-09-25 10:57:21 +02:00
Deniz Düzgören da49e740ff Fixed a bug in HelperFunctions#assignRanking 2019-09-25 10:56:58 +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 1882034ec5 Added custom sorting algorithm to restore the old sorting system of the school's substitution plan that ordered by group first, then time, instead of the other way around 2019-09-23 22:25:05 +02:00
Deniz Düzgören 7243d35cf2 Added a bug to not have the page reload when wrong credentials have been entered; substitution URL changed in last commit 2019-09-23 17:52:51 +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 1414cdbb38 Notifications can now show type when additional string is empty 2019-09-18 16:24:12 +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 797a634da4 Restored priority variable because an update would mess up the order of the items temporarily 2019-09-15 15:02:26 +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 48ec7f8829 Wrapped notification channel getter method in sdk if statement to fix notifications not arriving on Android 5-7 2019-09-09 16:18:33 +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 c1c025f616 Fixed a bug that caused the background refresh to not work when a data notification has been received 2019-09-01 21:02:17 +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 0455cae88f Removed redundant String ArrayLists in DataFetcher, made notifications simpler to glance at, changed accent colour of notifications 2019-08-25 13:19:11 +02:00
Deniz Düzgören e1f091d308 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-23 13:13:52 +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 8a659918a7 Fixed a bug that would cause the drawable integers in the database to desync from the ones stored in R.drawable, cleaned up a bunch of code 2019-08-18 17:53:22 +02:00
Deniz Düzgören f41f1a7349 Added ProGuard rules for properly deobfuscating crash logs 2019-08-16 10:31:22 +02:00
Deniz Düzgören 18285f83a6 Simplified the code for splitting up the data for the food menu 2019-08-16 07:57:13 +02:00
Deniz Düzgören e0f39c5584 Now using Repository instead of ViewModel in DataFetcher as a fix for the database not persisting once updated from Firebase notification responder 2019-08-14 18:53:56 +02:00