Commit Graph

215 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
385fe21d16 [APIv2/Librus] Implement error handling. Catch exceptions in ApiService. 2019-11-05 11:27:29 +01:00
Kuba Szczodrzyński
399ae7e3dc [APIv2/Idziennik] Update Web login expiry time. 2019-11-03 21:30:51 +01:00
Kuba Szczodrzyński
22726f8566 [ApiService] Refactor the service, requesting, cancelling. Make compatible with other API tasks. 2019-11-03 21:26:48 +01:00
Kuba Szczodrzyński
d789d08f31 [Sync] Fix auto sync when screen is off/device is in Doze mode. 2019-11-03 16:10:30 +01:00
Kuba Szczodrzyński
07863fed6f [Sync] Implement APIv2 auto sync using WorkManager. 2019-11-03 15:01:12 +01:00
Kuba Szczodrzyński
dcd355851d [Login] Remove Login migration fragment (fix). 2019-11-02 19:25:44 +01:00
Kuba Szczodrzyński
aa161b5b0e [Login] Remove Login migration fragment. 2019-11-02 19:20:39 +01:00
Kuba Szczodrzyński
99ab9d586f [APIv2] Revert changes in Data. 2019-11-02 13:31:24 +01:00
Kacper Ziubryniewicz
33c009befe [APIv2/Vulcan] Add getting received messages 2019-11-02 00:06:23 +01:00
Kuba Szczodrzyński
64019dccf7 [APIv2/Vulcan] Update uonet-request-signer. Update removing profile. Fix minor issues. 2019-11-01 22:30:39 +01:00
Kuba Szczodrzyński
e3bb607303 [APIv2/Vulcan] Use Wulkanowy uonet-request-signer. 2019-11-01 21:31:26 +01:00
Kuba Szczodrzyński
0b211c4f12 [APIv2/Vulcan] Fix first login. Add Attendance, Proposed grades. Complete Dictionaries. 2019-11-01 21:21:25 +01:00
Kuba Szczodrzyński
38d0a173af [Gradle] Fix AgendaCalendarView dependencies. 2019-11-01 21:19:30 +01:00
Kuba Szczodrzyński
bf73c75872 [APIv2/Librus] Change teacher free day types sync frequency. 2019-10-31 15:36:12 +01:00
Kuba Szczodrzyński
dd99771c0b [APIv2/Idziennik] Add Messages - received and sent. 2019-10-30 21:13:49 +01:00
Kuba Szczodrzyński
01657ca002 [APIv2/Mobidziennik] Reformat Grades a bit. 2019-10-29 23:20:03 +01:00
Kuba Szczodrzyński
f2b3603531 [APIv2/Idziennik] Fix Attendance and Exams. Add Lucky number. 2019-10-29 23:17:13 +01:00
Kuba Szczodrzyński
d6d73b19ec [APIv2/Mobidziennik] Fix a terrible mistake. 2019-10-29 23:01:11 +01:00
Kuba Szczodrzyński
2ad8a308b3 [APIv2/Idziennik] Better request parameter adding. 2019-10-28 23:21:57 +01:00
Kuba Szczodrzyński
81c6275255 [APIv2/Idziennik] Add Proposed grades, Exams, Notices, Announcements and broken Attendance. 2019-10-28 23:18:59 +01:00
Kuba Szczodrzyński
cfc5db2fe8 [APIv2/Idziennik] Add Grades. 2019-10-28 22:12:04 +01:00
Kuba Szczodrzyński
5e90e9aa71 [APIv2/Mobidziennik] Make use of String.fixName() 2019-10-28 19:54:53 +01:00
Kuba Szczodrzyński
debb0b1507 [APIv2/Idziennik] Fix login, add timetable. List features. 2019-10-28 19:54:15 +01:00
Kuba Szczodrzyński
f452a1b81c [Utils] Update CRC16 generation method. 2019-10-27 21:25:01 +01:00
Kuba Szczodrzyński
42f70da162 [UI/Settings] Add option to change app language. 2019-10-27 21:00:23 +01:00
Kuba Szczodrzyński
4e8b80822b [APIv2/Idziennik] Add Idziennik implementation (Web, Api login + first login) 2019-10-27 19:45:14 +01:00
Kuba Szczodrzyński
7ce7859a5f [UI/Login] Display class and school year in summary, show e-register logo icon. 2019-10-27 19:43:43 +01:00
Kuba Szczodrzyński
13b970f4e8 [APIv2] Optimize first login. Add extracting account name, class name, school year. Add Vulcan error handling. Fix Vulcan first login. 2019-10-27 19:40:50 +01:00
Kuba Szczodrzyński
054426c9cc [APIv2/DB] Add profile account name, class, school year fields. 2019-10-27 18:03:58 +01:00
Kuba Szczodrzyński
10c439afad [APIv2/Template] Add first login template. 2019-10-27 15:38:43 +01:00
Kuba Szczodrzyński
46dd543b48 [APIv2] Librus/Synergia request: error handling. Mobidziennik: fix login error code. 2019-10-27 15:30:24 +01:00
Kacper Ziubryniewicz
28e0f3487c [APIv2/Debug] Add debug button for marking all announcements as read 2019-10-26 15:13:03 +02:00
Kacper Ziubryniewicz
ca10ee2fe5 [Debug] Make debug mode for debug build 2019-10-26 15:04:11 +02:00
Kacper Ziubryniewicz
3e99c111bd [APIv2/Librus] Add marking all announcements as read using Synergia 2019-10-26 14:36:21 +02:00
Kacper Ziubryniewicz
843a8e4298 [APIv2/Librus] Make getting received messages sync always 2019-10-26 00:22:14 +02:00
Kacper Ziubryniewicz
454e8caa0d [APIv2/Librus] Add getting received and sent messages 2019-10-26 00:14:14 +02:00
Kacper Ziubryniewicz
e38dc011bd [APIv2/Librus] Fix new homework notifications (Synergia) 2019-10-26 00:11:23 +02:00
Kacper Ziubryniewicz
9aef3d56df [APIv2/Librus] Fix Librus messages requests 2019-10-25 22:12:45 +02:00
Kacper Ziubryniewicz
8c099bc137 [APIv2/Librus] Add handling denied access in messages 2019-10-25 00:24:55 +02:00
Kacper Ziubryniewicz
de82bc7e4d [APIv2/Librus] Add Librus Messages endpoint 2019-10-25 00:15:26 +02:00
Kacper Ziubryniewicz
5166228915 [APIv2/Librus] Parse document in LibrusSynergia instead of endpoints 2019-10-25 00:14:25 +02:00
Kuba Szczodrzyński
35ed31f6b9 [APIv2/Librus] Add Attendance types, Classrooms, Event types, Notices, Notice types, PT meetings. Simplify JSON array iteration. 2019-10-24 22:15:35 +02:00
Kuba Szczodrzyński
05ce790587 [APIv2] Add Librus Units. Add Classroom, NoticeType, AttendanceType entities. 2019-10-23 23:02:02 +02:00
Kacper Ziubryniewicz
ff7f015146 [APIv2/Librus] Add getting student info (student number) using Synergia 2019-10-23 22:59:45 +02:00
Kacper Ziubryniewicz
e2150e3018 [APIv2/Librus] Add Synergia endpoint template 2019-10-23 22:59:45 +02:00
Kacper Ziubryniewicz
bbf8f05d3c [APIv2/Vulcan] Add getting notices 2019-10-23 22:59:45 +02:00
Kuba Szczodrzyński
36c810fdbe [APIv2/Librus] Add Virtual classes, Users, Subjects. 2019-10-23 21:11:39 +02:00
Kuba Szczodrzyński
7822810b91 [APIv2] Implement APIv2 in first login activity. 2019-10-23 19:13:54 +02:00
Kuba Szczodrzyński
9fefae3da3 [APIv2] Improve Librus sync timers. Make saveData update app.profile. Decide when to sync lucky number. 2019-10-23 19:12:28 +02:00
Kacper Ziubryniewicz
74ce9cd38d [APIv2/Librus] Add getting homework using Synergia 2019-10-23 00:05:35 +02:00