Commit Graph

169 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
367f46fac8 [API/Librus] Fix captcha showing as incorrect login error. Add handling CSRF error. 2020-02-21 21:32:06 +01:00
Kuba Szczodrzyński
4ad826ebe8 [API] Implement Librus Captcha. Refactor notification constants. Update empty account error as a dialog. 2020-02-16 13:42:14 +01:00
Kuba Szczodrzyński
82b232d0e5 [Messages/Compose] Add dropdown icon to show all recipient categories. Add before-send confirmation dialog. 2020-02-15 14:36:36 +01:00
Kacper Ziubryniewicz
448fd0e884 [API/Librus] Fix marking removed announcements as read. 2020-02-10 23:53:04 +01:00
Kacper Ziubryniewicz
760338496c [Dialog/GenerateBlockTimetable] Add option for showing teacher names. 2020-02-08 01:33:34 +01:00
Kacper Ziubryniewicz
d48c7844a4 [UI/Settings] Add grades config dialog to settings fragment. 2020-01-25 13:31:40 +01:00
Kacper Ziubryniewicz
62f53930da [Dialog/GradesConfig] Add grades view config dialog. 2020-01-22 23:09:07 +01:00
Kuba Szczodrzyński
8e5a10f6d8 [API/Mobidziennik] Implement getting email for push registration. 2020-01-21 20:44:49 +01:00
Kuba Szczodrzyński
eedbd954bd [Updates] Add toast for error while checking and for no updates. 2020-01-19 22:35:12 +01:00
Kuba Szczodrzyński
7b2e408efc [Sync] Make sync not possible for archived profiles. Translate some error codes. 2020-01-19 22:17:57 +01:00
Kuba Szczodrzyński
b7fc6fcc38 [Structure] Refactor App class to Kotlin. Rewrite SzkolnyTask and posting notifications. Remove dependency on AppConfig. Update libraries and gradle. 2020-01-19 19:07:27 +01:00
Kacper Ziubryniewicz
e40a0ba2bb [Strings] Add missing translations. 2020-01-18 00:44:13 +01:00
Kacper Ziubryniewicz
fd48f10df9 [Dialog/EventDetails] Show toast when calendar app not found instead of crashing. 2020-01-18 00:26:26 +01:00
Kuba Szczodrzyński
6a54e7fef7 [Firebase] Implement Mobidziennik push service. 2020-01-16 09:27:30 +01:00
Kacper Ziubryniewicz
a29a534a40 [API/Edudziennik] Fix showing notifications for presence attendances. 2020-01-12 19:45:20 +01:00
Kuba Szczodrzyński
6ece6ca52a [UI/Counter] Add Bell Sync option in counter activity. 2020-01-07 09:48:24 +01:00
Kuba Szczodrzyński
ff0de8afc2 [UI/Dialogs] Remove debug toasts. Remove old Event List Dialog. 2020-01-06 16:43:31 +01:00
Kuba Szczodrzyński
52ecfba0a5 [API/Librus] Add Lessons endpoint and showing correct attendance subjects. 2020-01-06 16:27:37 +01:00
Kuba Szczodrzyński
ae42c227a8 [API/Idziennik] Add showing error on getting recipient list with no permissions. Translate some error codes. 2020-01-06 14:53:51 +01:00
Kacper Ziubryniewicz
f05b39736c [Dialogs/GenerateBlockTimetable] Add new dialog. 2020-01-06 00:11:03 +01:00
Kacper Ziubryniewicz
d626d98421 [API/Edudziennik] Fix error when limited access. Remove timetable not public. 2020-01-05 15:30:15 +01:00
Kuba Szczodrzyński
30c5b2d1c9 Refactor Profiles, Login Stores and Login activity (hoping it works). 2020-01-04 22:08:56 +01:00
Kuba Szczodrzyński
52ef24ae7b [Messages/Compose] Fix when adding duplicated recipient. 2020-01-02 20:02:48 +01:00
Kuba Szczodrzyński
eae7189981 [Messages] Add sending messages and fix stuff. 2020-01-02 18:27:58 +01:00
Kacper Ziubryniewicz
aff0b361a2 It's the new year bruh. 2020-01-02 09:02:15 +01:00
Kacper Ziubryniewicz
e9ca109c57 [Errors] Rewrite crash activity in Kotlin and add error reporting. 2019-12-31 18:48:06 +01:00
Kacper Ziubryniewicz
cc3e6d97dd [Strings/Sync] Change all "Pobieram…" to "Pobieranie…" 2019-12-29 19:01:12 +01:00
Kacper Ziubryniewicz
90d6fb56d1 [API/Librus] Add rest of the grade types and categories... 2019-12-29 18:51:47 +01:00
Kacper Ziubryniewicz
9b5cf3f636 [API/Librus] Add getting descriptive grades and its categories. 2019-12-29 17:48:54 +01:00
Kacper Ziubryniewicz
3723abbbbb [API/Idziennik] Add getting attachments. 2019-12-28 17:02:43 +01:00
Kacper Ziubryniewicz
c65872b29b [Errors] Add showing errors details. 2019-12-26 23:44:24 +01:00
Kacper Ziubryniewicz
e607577407 [Attendance] Add free attendance type. 2019-12-25 23:51:52 +01:00
Kacper Ziubryniewicz
39ff47e866 [API/Edudziennik] Fix downloading timetable out of the school year. 2019-12-25 22:19:02 +01:00
Kacper Ziubryniewicz
6c81a506e9 [API/Edudziennik] Add error reasons and add grade description. 2019-12-25 13:15:03 +01:00
Kacper Ziubryniewicz
e3741f1c75 [API/Edudziennik] Add getting timetable. 2019-12-23 18:34:39 +01:00
Kacper Ziubryniewicz
90e7b1e9c7 [Edudziennik] Implement base of the new e-register. 2019-12-23 00:46:06 +01:00
Kacper Ziubryniewicz
e85d6fbc3b [UI/Counter] Add new counter activity. 2019-12-22 20:05:01 +01:00
Kuba Szczodrzyński
0aae2174c1 [UI/Timetable] Update date selection algorithm and no lessons info. Show empty timetable info in widget. 2019-12-21 22:56:54 +01:00
Kuba Szczodrzyński
b399a3f5ad [UI/Timetable] Handle no timetable or no lessons in Home card. 2019-12-21 17:39:17 +01:00
Kacper Ziubryniewicz
2d838e7003 [Dialog/BellSync] Add coroutine timer and make some small changes. 2019-12-20 23:48:47 +01:00
Kacper Ziubryniewicz
2cf204ff79 [Dialog/BellSync] Implement bell sync dialog. 2019-12-20 00:40:14 +01:00
Kuba Szczodrzyński
3e4accb82c [UI/WebPush] Implement Web Push pairing fragment and API. Add more templates. 2019-12-19 21:57:01 +01:00
Kuba Szczodrzyński
c7e5df5c91 [UI/Dialogs] Remove old Manual Event Dialog. Disable timetable fragment refreshing on event save. Add new Event Details Dialog. 2019-12-18 23:50:24 +01:00
Kuba Szczodrzyński
16320b4486 [UI/Events] Update Day Dialog. Add Event List Adapter to Timetable Lesson Dialog. 2019-12-18 20:07:38 +01:00
Kuba Szczodrzyński
d70b0c0c3f [UI] Implement new Event Adapter and Day Dialog (partially). 2019-12-16 22:26:00 +01:00
Kuba Szczodrzyński
41cebc554f [UI] 'Cause it's winter. 2019-12-15 21:27:50 +01:00
Kuba Szczodrzyński
ad5afac174 [Login/Librus] Implement Librus JST login form. 2019-12-14 17:21:29 +01:00
Kacper Ziubryniewicz
ddb1ecaa99 [UI/Settings] Add setting for showing drawer on back pressed. 2019-12-09 17:24:41 +01:00
Kacper Ziubryniewicz
25f504cadf [APIv2/Librus] Add getting behaviour grades and its categories. 2019-12-03 23:44:55 +01:00
Kuba Szczodrzyński
7b04202a00 [Config] Add the rest of config. Migrate from AppConfig and remove most values from AppConfig. 2019-12-01 22:35:42 +01:00
Kacper Ziubryniewicz
d1265dc1f2 [Dialog/Events] Make new event list dialog. 2019-11-30 23:33:20 +01:00
Kacper Ziubryniewicz
47d395de71 [Home] Add home grades card. 2019-11-29 23:16:50 +01:00
Kuba Szczodrzyński
928b73f139 [Config] Implement per-profile config. Update timetable card. 2019-11-28 21:45:27 +01:00
Kuba Szczodrzyński
37f3d76fb8 [UI] Implement home timetable card. 2019-11-25 22:17:08 +01:00
Kacper Ziubryniewicz
867c8920a8 [APIv2/Messages] Add downloading attachments. 2019-11-24 20:55:04 +01:00
Kuba Szczodrzyński
6e6dd34872 [UI] Add new Home fragment. Add Lucky number card and number selection dialog. 2019-11-24 19:41:17 +01:00
Kacper Ziubryniewicz
07ae37167d [Notifications/Timetable] Make notifications for timetable changes 2019-11-24 11:09:45 +01:00
Kacper Ziubryniewicz
673116e27e [Settings/About] Add a new developer to about! 2019-11-23 23:09:03 +01:00
Kacper Ziubryniewicz
63960c5e05 [APIv2/Timetable] Add selecting date, marking as read and fix stepForward in Date 2019-11-23 21:27:52 +01:00
Kuba Szczodrzyński
83d123e341 [UI] New notifications view. 2019-11-22 22:41:40 +01:00
Kacper Ziubryniewicz
cd379e4175 [APIv2/Librus] Add getting grade comments 2019-11-20 21:16:18 +01:00
Kuba Szczodrzyński
62fdfa2b6f [UI] Update manual event dialog. Fix timetable errors. 2019-11-20 21:13:43 +01:00
Kuba Szczodrzyński
c907a8df37 [APIv2] Librus: better error handling. Timetable: fix widget crashing with NPE. 2019-11-17 23:16:13 +01:00
Kuba Szczodrzyński
37ea65e3fc [Timetable] Add SwipeToRefresh. Select start&end hours based on lesson ranges. 2019-11-16 21:16:18 +01:00
Kuba Szczodrzyński
dbdfc7fdd8 [Widget] Add new Timetable widget with APIv2. 2019-11-14 23:33:13 +01:00
Kuba Szczodrzyński
85b5667a7e [Sync] New manual sync dialog. Remove most APIv1 dependencies. 2019-11-13 21:57:47 +01:00
Kuba Szczodrzyński
058345b9c9 [Error] Add user friendly error strings. Add error snackbar to activity & login. 2019-11-13 19:44:08 +01:00
Kuba Szczodrzyński
729cf6f08e [Settings] New Profile removal dialog. 2019-11-13 17:19:25 +01:00
Kuba Szczodrzyński
16102de619 [Event] Add new manual event dialog 2019-11-12 23:35:47 +01:00
Kuba Szczodrzyński
74db524db6 [Timetable] Add lesson details dialog. 2019-11-11 23:59:45 +01:00
Kuba Szczodrzyński
69b512e3d1 [Timetable] Extract string resources. Increase offscreen page limit. 2019-11-11 18:32:49 +01:00
Kuba Szczodrzyński
4eeaa54a47 [Timetable] Implement Librus timetable with lesson changes and shifts. Update UI. 2019-11-10 22:57:19 +01:00
Kuba Szczodrzyński
1b75424604 [APIv2/UI] Add new Timetable module. Implement in Mobidziennik. 2019-11-10 17:53:10 +01:00
Kuba Szczodrzyński
39c8a743bb [Login/Librus] Add Librus captcha activity/dialog. 2019-11-05 21:42:16 +01:00
Kacper Ziubryniewicz
a049effa61 [APIv2/Librus] Add getting normal grade categories 2019-11-05 18:16:42 +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
07863fed6f [Sync] Implement APIv2 auto sync using WorkManager. 2019-11-03 15:01:12 +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
debb0b1507 [APIv2/Idziennik] Fix login, add timetable. List features. 2019-10-28 19:54:15 +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
Kacper Ziubryniewicz
454e8caa0d [APIv2/Librus] Add getting received and sent messages 2019-10-26 00:14:14 +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
Kacper Ziubryniewicz
bbf8f05d3c [APIv2/Vulcan] Add getting notices 2019-10-23 22:59:45 +02:00
Kuba Szczodrzyński
5d3bebfdce [APIv2] Implement swipe to refresh with ApiService. 2019-10-22 22:37:02 +02:00
Kacper Ziubryniewicz
0395598efb Merge branch 'develop' into api-v2
# Conflicts:
#	app/src/main/java/pl/szczodrzynski/edziennik/data/db/AppDb.java
2019-10-21 16:52:52 +02:00
Kacper Ziubryniewicz
929287a553 [APIv2/Vulcan] Add getting basic dictionaries (teachers and subjects) 2019-10-20 14:55:35 +02:00
Kacper Ziubryniewicz
e138ca6eab [APIv2/Librus] Add getting and showing teacher absence reason 2019-10-19 13:33:50 +02:00
Kacper Ziubryniewicz
cf8afc03bc [APIv2/Librus] Add getting teacher absences 2019-10-19 13:21:15 +02:00
Kuba Szczodrzyński
8dc358b075 [APIv2] Notifications - DB entity, move to APIv2. Add Server event sync and web push. 2019-10-18 22:12:40 +02:00
Kacper Ziubryniewicz
7b5269a1fe [APIv2/Librus] Add getting classes 2019-10-14 14:04:02 +02:00
Kuba Szczodrzyński
b35df5ef11 [APIv2] Add API first login method. Better cancellation handling. 2019-10-14 10:25:44 +02:00
Kuba Szczodrzyński
da9ccf6d29 [APIv2] Update Feature lists and progress strings. 2019-10-13 20:06:45 +02:00
Kacper Ziubryniewicz
ea36e8e9bd [Home] Add marking everything as read in the home fragment 2019-10-11 23:38:40 +02:00
Kuba Szczodrzyński
ed8ca00a85 [APIv2] Add Grades. Update Firebase push receivers. 2019-10-11 16:24:45 +02:00
Kuba Szczodrzyński
7a06593821 [APIv2] Add Vulcan login. Refactor API structure. Add request debug logging. 2019-10-06 18:13:31 +02:00
Kuba Szczodrzyński
ddf4fb0b46 [APIv2] Add Mobidziennik login & API prototype. Refactor some classes 2019-10-05 23:42:37 +02:00
Kuba Szczodrzyński
535d608829 [APIv2] Add e-register Template 2019-10-05 14:26:01 +02:00
Kuba Szczodrzyński
ce921b9b85 [APIv2] Update endpoint timer features 2019-10-05 13:12:35 +02:00