Commit Graph

126 Commits

Author SHA1 Message Date
Jannik 1f660bdd37
add login dialog
continuous-integration/drone/push Build is passing Details
* first step towards a working his online integration
* rework AddSubjectDialog
* activate fragment_on_login
2020-08-11 17:09:46 +02:00
Jannik be43d87b1a
fix more lint warnings
continuous-integration/drone/push Build is passing Details
2020-08-10 15:11:36 +02:00
Jannik dd5c7b3fb8
fix some lint warnings
continuous-integration/drone/push Build is passing Details
* remove unused resources
2020-08-10 14:51:40 +02:00
Jannik fb3dab6dc3
save additional subjects and load them on start
continuous-integration/drone/push Build is passing Details
* the app now saves all aditional subjects and lessons and loads them on start
* udpate gradle 6.4.0 -> 6.5.1
* update coroutines 1.3.7 -> 1.3.8
* update several androidx libraries
2020-08-10 14:31:17 +02:00
Jannik bcfdb83d14
rework CacheController and TCoRAPIController
continuous-integration/drone/push Build is passing Details
* all cache file stuff is now handled in the CacheController
* TCoRAPIController only handles API and Gson stuff
2020-08-07 12:14:50 +02:00
Jannik f6b00a8d81
additional Subject are now added to the timetable 2020-06-12 00:51:50 +02:00
Jannik 69ce9fef5a
code clean up 2020-06-11 21:51:46 +02:00
Jannik 2d753851c0
more "Additional Lessons" work
* add TimetableController, this class will handle all timetable work (main + additional Subjects)
2020-06-11 21:41:05 +02:00
Jannik 6c0624c793
make the app more tolerant about wrong API Data 2020-06-11 18:39:19 +02:00
Jannik 7779296345
change default accent color, code clean up 2020-06-07 23:41:49 +02:00
Jannik 3e2ef0521e
change primary color to reflect mosad.xyz design guidelines
* minor style fix: nav_header_main set background to black and text color to white
2020-06-07 23:30:41 +02:00
Jannik bdfeb46faf
add "Manage Lessons" Dialog to Settings, minor style fixes
* initially select the current theme in the select theme dialog
* set the correct accent color for all dialogs (needs to be done manually for every dialog)
2020-06-07 14:59:04 +02:00
Jannik 18ca435764
update TCoRAPIController to API version 1.2.0 2020-06-06 20:56:45 +02:00
Jannik 948f330ebe
TimeTableFragment clean up 2020-06-05 20:56:37 +02:00
Jannik 72e9efb9e7
fix warings in TCoRAPIController 2020-06-05 19:17:49 +02:00
Jannik bea1b47396
complete & move AddLessonDialog to separate class 2020-06-05 16:12:53 +02:00
Jannik 34a68ff75d
add courses to addLesson Dialog, read lessonSubjects from tcor 2020-05-29 16:56:15 +02:00
Jannik 48544aef2f
add a complete version of the addLesson Dialog 2020-05-15 18:58:57 +02:00
Jannik bc09e33147
update gradle, constraintlayout & coroutines
* gradle 6.2.1 -> 6.4
* constraintlayout 2.0.0-beta4 -> 2.0.0-beta6
* coroutines 1.3.5 -> 1.3.6
2020-05-14 18:27:26 +02:00
Jannik a19173b499
update kotlin
* kotlin 1.3.70 -> 1.3.71
* gradle-plugin 3.6.1 -> 3.6.2
2020-04-02 17:15:34 +02:00
Jannik 85dc3181fd
fix compatibility with tcor version 1.2.2 and higher
* update kotlin 1.3.61 -> 1.3.70
2020-03-03 20:13:47 +01:00
Jannik e46c234b6c
fix OnboardingActivity is not closed on start of MainActivity 2020-02-27 12:13:46 +01:00
Jannik faa07966da
fix crash on first start, if tcor is not reachable 2020-02-27 12:09:24 +01:00
Jannik ccc0f0f2bc
Onboarding [Part 2]
* call the onboarding activity on first start
* reworked selectCourse(() to work outside of the SettingsFragment
* closes #36
2020-02-25 15:25:45 +01:00
Jannik 01677c04ef
Onboarding [Part 1]
this Commit adds a Onboarding Activity, it is currently not usefull or fully working, see #36
2020-02-23 20:09:27 +01:00
Jannik c343735b57
fix crash on first startup 2020-02-18 15:18:36 +01:00
Jannik b186a2e96e
release version 0.5.1 2020-02-05 14:10:45 +01:00
Jannik 2cb4b72369
anko code removed, coroutines are now used for asynchronous functions
* constraintlayout 2.0.0-beta3 -> 2.0.0-beta4
* material-components-android 1.0.0 -> 1.1.0
* this is the first release candidate for version 0.5.1
2020-02-04 19:58:07 +01:00
Jannik 2d497d1a96
update gradle wrapper to version 6.0.1 2020-01-15 15:28:07 +01:00
Jannik 9d2de3fcb3
don't use deprecated Gson methods 2020-01-15 15:08:05 +01:00
Jannik bed3f5d978
added Timetable and Moodle shortcut, cleaned up activity init 2020-01-15 15:00:05 +01:00
Jannik 8f5a4dd1b3
reworked preference saving 2019-12-13 14:54:51 +01:00
Jannik 9907d083e9
added a Mensa shortcut
* added a Mensa shortcut, to directly display the Mensa-Screen
* kotlin 1.3.60 -> 1.3.61
2019-11-28 16:38:25 +01:00
Jannik 5cad924b26
removed anko dependency from PreferenceController
continuous-integration/drone/push Build encountered an error Details
2019-10-17 19:19:47 +02:00
Jannik d5adc4df51
release 0.5.0 2019-09-30 21:25:38 +02:00
Jannik b240beacc9
turns out there is a current week too
* don't debug timetable cod on Sundays, since there are no lessons on Sunday
2019-09-25 22:46:58 +02:00
Jannik aa69d2242f
fixed course name not being updated on change
* minor GUI improvements
2019-09-23 22:44:03 +02:00
Jannik 6e6c9f71a0
reworked the way the timetable date is calculated
* cleaned up some timetable gui code
* close #33
2019-09-22 20:51:36 +02:00
Jannik 4ce37b3dcf
updated desfire legal notes 2019-08-30 14:17:07 +02:00
Jannik 75168c6688
some more logging and version 0.4.99 (RC1) 2019-08-25 22:45:23 +02:00
Jannik be916a74ab
the license dialog will now follow the theme too 2019-08-25 22:19:36 +02:00
Jannik 3e909ab68f
color the selected element in the NavigationView too 2019-08-23 20:25:20 +02:00
Jannik 5f2b3aa496
clean up the layout & polished Mensa credit dialog
* don't crash if the nfc tag has been removed between triggering intent and connecting to the tag
* closes #21
2019-08-23 19:19:35 +02:00
Jannik 6cc1671a52
don't crash on devices without nfc 2019-08-21 20:43:08 +02:00
Jannik b4ed1ca927
migrated all farebot code to kotlin 2019-08-19 12:42:56 +02:00
Jannik e74c307566
cleand up the nfc part, added foreground-dispatch
* cleaned up the strings.xml files
* fixed license dialog
2019-08-18 22:09:33 +02:00
Jannik 733b675ffa
first working implementation of the mensa card reader
* based on farebot's desfire protocol implementation
* see #21
2019-08-17 18:59:28 +02:00
Jannik 3a0a31f781
first bits of the nfc reader 2019-08-17 01:51:15 +02:00
Jannik f52151fbf1
the no lesson card now has the correct text color
* updated material-dialogs to version 3.1.0
2019-07-18 00:32:31 +02:00
Jannik c6ac19bfae
fixed the Sunday-fix 2019-07-01 20:31:06 +02:00