Commit Graph

1344 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
6628b97faf
[API/Usos] Fix detecting term start and end date. 2022-10-23 23:11:49 +02:00
Kuba Szczodrzyński
8424414317
[Login] Fix configOverrides NPE during login. 2022-10-23 23:11:20 +02:00
Kuba Szczodrzyński
d8bb927703
[4.13-rc.2] Update build.gradle, signing and changelog. 2022-10-22 22:34:24 +02:00
Kuba Szczodrzyński
c8e8c172a2
[App] Rework update handling. 2022-10-22 22:10:04 +02:00
Kuba Szczodrzyński
0d4dee765a
[Lab] Allow setting custom API key. 2022-10-22 12:56:15 +02:00
Kuba Szczodrzyński
fd407b2b03
[Config] Set highest data version by default. 2022-10-22 12:31:40 +02:00
Kuba Szczodrzyński
40ed5a221f
[App] Fix crashes while deserializing AppData and Config. 2022-10-22 12:19:23 +02:00
Kuba Szczodrzyński
5150467372
[4.13-rc.1] Update build.gradle, signing and changelog. 2022-10-22 00:02:57 +02:00
Kuba Szczodrzyński
63c5720f63
[App] Move per-register settings to JSON resource. Rewrite Config to use delegates. (#150)
* [App] Add base for AppData loading.

* [UI] Fix timetable widget date navigation.

* [UI] Migrate register-specific behavior to use AppData.

* [App] Implement new delegate-based config base.

* [Config] Migrate config and profile config.

* [Config] Remove defaults from migrations.

* [App] Apply event types and config overrides from AppData.

* [Events] Change default event types for university type school.
2022-10-21 23:59:53 +02:00
Kuba Szczodrzyński
6c93cd4217
[4.13-beta.3] Update build.gradle, signing and changelog. 2022-10-20 22:02:01 +02:00
Kuba Szczodrzyński
649d4f619a
[UI] Hide unavailable settings depending on LoginType. 2022-10-20 21:59:01 +02:00
Kuba Szczodrzyński
ba10d10a10
[API] Refactor integer-based types to enum classes. (#145)
* [App] Add enum classes for common IDs.

* [App] Rename enum package names.

* [App] Migrate code to use new enums.

* [DB] Migrate loginStoreMode IDs to be unique.

* [UI] Fix minor issues after refactor.

* [API] Update sync method signature.

* [UI] Correct pop-to-home and back button drawer behavior.

* [App] Update Bundle extensions usage.

* [App] Migrate notification types to enum.

* [UI] Make Lab fragment compatible with enums.

* [API] Make EndpointTimer use FeatureType.

* [App] Migrate config & API lists to sets.
2022-10-20 21:58:10 +02:00
Kuba Szczodrzyński
1450d63fcb
[4.13-beta.2] Update build.gradle, signing and changelog. 2022-10-18 22:06:18 +02:00
Kuba Szczodrzyński
2ec06bc39a
[UI] Fix timetable lesson height. Add missing timetable settings. 2022-10-18 11:49:46 +02:00
Kuba Szczodrzyński
6f12227c2e
[4.13-beta.1] Update build.gradle, signing and changelog. 2022-10-17 22:56:22 +02:00
Kuba Szczodrzyński
3a91f87ccd
Merge pull request #142 from szkolny-eu/feature/usos
[API] Add USOS API support.
2022-10-17 22:52:08 +02:00
Kuba Szczodrzyński
52a53334ca
[Strings] Add USOS error descriptions. 2022-10-17 22:30:23 +02:00
Kuba Szczodrzyński
3ab9602865
[API/Usos] Fix re-logging in after user action. 2022-10-17 16:06:29 +02:00
kuba2k2
dc19043f73
[API/Usos] Implement basic error handling. 2022-10-17 12:56:07 +02:00
Kuba Szczodrzyński
cf25507850
[API/Usos] Save lecturers as teachers. Add team class. 2022-10-16 18:41:37 +02:00
Kuba Szczodrzyński
044cedff99
[Usos] Override lesson colors by activity type. 2022-10-16 18:13:22 +02:00
Kuba Szczodrzyński
4de066bf5f
[API/Usos] Implement Timetable. 2022-10-16 17:21:36 +02:00
Kuba Szczodrzyński
8d174bda01
Merge remote-tracking branch 'origin/develop' into feature/usos 2022-10-16 16:54:44 +02:00
Kuba Szczodrzyński
e2fd714070
[UI/Timetable] Show subject-based lesson colors. (#141)
* [UI/Timetable] Add timetable config dialog and implement UI options.

* [UI/Timetable] Fix reloading timetable after changing config.

* [UI/Timetable] Fix calculating lesson range boundaries.

* [UI/Timetable] Add coloring subject names.
2022-10-16 12:47:54 +02:00
Kuba Szczodrzyński
8097e8d06d
[API/Usos] Add syncing Courses and Terms. 2022-10-16 00:09:51 +02:00
Kuba Szczodrzyński
93ccdbdeb7
[API/Login] Make user action handling more universal. 2022-10-15 21:24:30 +02:00
Kuba Szczodrzyński
7ded400a30
[API/Usos] Implement first login. 2022-10-15 19:07:12 +02:00
Kuba Szczodrzyński
2ff784066e
[API/Usos] Implement OAuth authorization flow. 2022-10-14 21:44:58 +02:00
Kuba Szczodrzyński
6c96875c83
[API/Login] Allow passing LoginStore params in user action requests. 2022-10-14 19:44:22 +02:00
kuba2k2
9f3aaf6e86
[API] Move register platforms to new endpoint. 2022-10-14 14:43:40 +02:00
Kuba Szczodrzyński
55369eaa8b
[UI/Timetable] Add Timetable settings. (#140)
* [UI/Timetable] Add timetable config dialog and implement UI options.

* [UI/Timetable] Fix reloading timetable after changing config.

* [UI/Timetable] Fix calculating lesson range boundaries.
2022-10-14 00:25:22 +02:00
Adam Kasprzycki
c983c16907
[UI] Request notifications permission on API >= 33. (#143)
* Added requesting notifications permission on Android 13 devices

* Move permission check to PermissionManager

* Request permission on home screen
2022-10-14 00:24:00 +02:00
kuba2k2
c7362bce12
[API/Usos] Add base rest API class. 2022-10-13 21:27:55 +02:00
kuba2k2
7935d0f097
[API] Pass parameters to user action required errors. 2022-10-13 11:45:17 +02:00
Kuba Szczodrzyński
4b64277948
[API/Usos] Add basic USOS API structure. 2022-10-11 23:23:11 +02:00
Kuba Szczodrzyński
132729bbd9
[4.12.1] Update build.gradle, signing and changelog. 2022-09-23 11:32:08 +02:00
Kuba Szczodrzyński
6d36ab27d1
[UI/Login] Fix QR scanning icon not showing. 2022-09-23 11:30:23 +02:00
Kuba Szczodrzyński
11fabb231f
[4.12] Update build.gradle, signing and changelog. 2022-09-21 21:09:23 +02:00
Kuba Szczodrzyński
6fd999f88c
[UI/Widget] Fix showing lesson details dialog. 2022-09-21 21:02:09 +02:00
Kuba Szczodrzyński
7711413b30
[API/Vulcan] Fix getting MessageBoxes and changing message read status. 2022-09-21 20:43:18 +02:00
Kuba Szczodrzyński
cdc0c9d458
[4.11.9] Update build.gradle, signing and changelog. 2022-09-18 23:06:41 +02:00
Kuba Szczodrzyński
8e5f750a80
[Manifest] Remove APK install to comply with Google Play policies. 2022-09-18 23:05:46 +02:00
Kuba Szczodrzyński
f4e7e8978c
[API/Vulcan] Ensure messageBoxKey before syncing addressbook. 2022-09-18 22:52:43 +02:00
Kuba Szczodrzyński
96c542d6d2
[4.11.8] Update build.gradle, signing and changelog. 2022-09-17 18:02:11 +02:00
Kuba Szczodrzyński
77d22b87aa
[API] Move unused resources to the e-register graveyard. 2022-09-17 17:49:56 +02:00
Kuba Szczodrzyński
37c68443bd
[API] Remove EduDziennik implementation [*] 2022-09-17 17:39:45 +02:00
Kuba Szczodrzyński
9dbb5d70e9
[App] Fix PendingIntent crashing on API 31+. 2022-09-17 17:21:13 +02:00
Kuba Szczodrzyński
99afa77a63
[4.11.7] Update build.gradle, signing and changelog. 2022-09-17 16:00:38 +02:00
Kuba Szczodrzyński
a5d0f4212d
[UI/Login] Make Lab accessible from login page. 2022-09-17 15:00:34 +02:00
Kuba Szczodrzyński
a85f935eb4
[UI/Home] Improve displaying cancelled lessons in timetable card. 2022-09-17 14:58:54 +02:00