Commit Graph

289 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
ae89b33fb7 [Events/Manual] Implement syncing timetable when no lessons for the selected date. 2020-03-10 21:49:02 +01:00
Kuba Szczodrzyński
acd5e9b998 [Timetable] Implement lazy day loading. Introduce TimetableManager class. 2020-03-10 19:27:18 +01:00
Kuba Szczodrzyński
fcd7a7f349 [Grades] Make home card use GradeView. Update GradeDetailsDialog text color. Remove deprecated items. 2020-03-09 20:39:48 +01:00
Kuba Szczodrzyński
42ef40439e [Grades] Implement showing unseen badges and marking as seen. Change default "hide improved" config value. 2020-03-09 20:18:11 +01:00
Kuba Szczodrzyński
098beb14fe [Timetable/Generate] Add automatic timetable sync when no timetable for the selected week. 2020-03-09 14:57:14 +01:00
Kuba Szczodrzyński
e282af0e80 [Grades] Add option to hide improved grades. Make counting average without weight configurable. 2020-03-08 17:57:44 +01:00
Kuba Szczodrzyński
630361849c [Notifications] Implement Quiet hours. Add missing timetable manual strings. 2020-03-08 17:22:14 +01:00
Kuba Szczodrzyński
611ab0f100 [Events/Manual] Create custom views for dropdowns. Simplify dialog code. Fix wrong start time saving. 2020-03-07 20:03:47 +01:00
Kuba Szczodrzyński
70c307b796 [UI/Grades] Change some fonts. 2020-03-07 11:54:47 +01:00
Kuba Szczodrzyński
054a233ad6 [API/Librus] Handle some more maintenance cases. 2020-03-07 09:45:45 +01:00
Kuba Szczodrzyński
f17a02be54 [Grades] Implement new Grades module (UI & API changes). 2020-03-06 21:09:05 +01:00
Kuba Szczodrzyński
673378d8d9 [UI/Home] Improve no data text font in home cards. 2020-03-04 19:02:50 +01:00
Kuba Szczodrzyński
ee43d40680 [API/Librus] Fix device not registered error in push config. 2020-03-03 10:35:48 +01:00
Kacper Ziubryniewicz
1354faf8c7 [Dialog/GenerateBlockTimetable] Make better dialog layout. 2020-02-29 00:43:38 +01:00
Kuba Szczodrzyński
1bfb3781ab [UI/Lists] Add missing item dividers. Try to improve attendance & grades design. 2020-02-28 23:45:46 +01:00
Kuba Szczodrzyński
d7d0c6f822 [UI/Events] Add button tooltips in dialogs. Add showing weekday in home card. Add 'go to timetable' button in details dialog. 2020-02-28 23:01:38 +01:00
Kuba Szczodrzyński
2bea18dc3c [Home/Events] Add new card to home fragment. Disable debug card swapping. 2020-02-28 22:38:03 +01:00
Kuba Szczodrzyński
54121c99a3 [Login/Captcha] Update captcha to fit smaller screens. Fix Librus invalid login error with captcha. 2020-02-26 21:27:03 +01:00
Kuba Szczodrzyński
f6f1370edf [Debug] Add new debug mode. Include hidden Chucker in release. 2020-02-26 20:37:55 +01:00
Kuba Szczodrzyński
b141279811 [API/Librus] Update Client ID. Add handling of invalid Client ID error. 2020-02-24 18:06:53 +01:00
Kuba Szczodrzyński
f4b49eecd4 [UI] Update theme accent colors. 2020-02-24 15:29:18 +01:00
Kuba Szczodrzyński
a4493ec964 [Notifications] Add filtering notifications to show during sync. 2020-02-24 15:29:18 +01:00
Kacper Ziubryniewicz
af8bda9e92 [Dialog/Day] Add showing lessons count and length. 2020-02-23 23:17:28 +01:00
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
54363ee919 [UI/Timetable] Add lesson type annotation in LessonDetailsDialog. 2020-02-16 14:12:55 +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
Kuba Szczodrzyński
71128e0244 [Messages/Compose] Fix text layout jumping and scrolling off-screen when typing a long message. 2020-02-14 22:28:58 +01:00
Kacper Ziubryniewicz
453bcaa1f6 [Dialog/Day] Show lesson changes and teacher absences in the day dialog. 2020-02-13 23:04:29 +01:00
Kacper Ziubryniewicz
df8094c39c [Dialog/LessonChanges] Add a new lesson changes dialog. 2020-02-11 16:34:40 +01:00
Kacper Ziubryniewicz
448fd0e884 [API/Librus] Fix marking removed announcements as read. 2020-02-10 23:53:04 +01:00
Kuba Szczodrzyński
bcf3fef303 [Widget/Timetable] Fix no lessons text not legible on dark background. 2020-02-09 14:34:38 +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
Kacper Ziubryniewicz
9a45cbb679 [UI] Add keepScreenOn in counter activity and bell sync dialog. 2020-01-22 23:08:23 +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
92ba7248ef [UI] Fix vector drawables crashing on API < 21. 2020-01-11 13:56:09 +01:00
Kacper Ziubryniewicz
53675122c6 [Dialog/EventDetails] Add feature for saving events in calendar app. 2020-01-08 20:51:06 +01:00
Kuba Szczodrzyński
19c446d267 [Widgets/LuckyNumber] Implement a widget. Not knowing if it works or not, sorry. 2020-01-07 11:42:51 +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
878de34546 [Widgets] Implement new Notifications widget. 2020-01-06 22:26:54 +01:00
Kacper Ziubryniewicz
7b97ef316d [Structure] Change database file structure. Rewrite converters to Kotlin. 2020-01-06 21:25:34 +01:00
Kacper Ziubryniewicz
aafa87c661 [Deprecated] Remove deprecated home fragment. 2020-01-06 19:17:28 +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
ddf66ef061 [UI/Dialogs] Fix "No events" text alignment. 2020-01-06 16:36:48 +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
e123ff1bec [Timetable] Fix Timetable crashing with Swipe Refresh Layout and no parent. 2020-01-06 15:57:15 +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
Kuba Szczodrzyński
21ad38d33f [UI/Login] Fix login summary list not showing all profiles. 2020-01-05 18:29:49 +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
ec14ba76c9 [Edudziennik] Add first login. 2019-12-23 15:15:38 +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
62a9604bd2 [UI/Home] Debug card is bacc. 2019-12-22 15:36:57 +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
Kacper Ziubryniewicz
b66bd6fec9 [Dialog/BellSync] Add showing info when there are no lessons. 2019-12-21 21:19:29 +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
99006d7923 [UI/Dialogs] Update Lesson Details dialog when no classroom/teacher. Fix double events when metadata duplicated for different type. 2019-12-18 22:06:43 +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
c1ca104021 [UI/Announcements] Make better announcements look. 2019-12-07 20:46:00 +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
6a161b3c97 [UI/Timetable] Add showing event indicators on lessons. 2019-12-02 21:25:18 +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
4e88efae94 [Home/Grades] Fix padding. 2019-12-01 20:25:50 +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
Kuba Szczodrzyński
9d590508ad [APIv2/Librus] Fix messages session ID extraction. 2019-11-25 15:00:51 +01:00
Kuba Szczodrzyński
f116c4f1f4 [Home] Implement basic timetable card. 2019-11-24 21:15:01 +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
cd76f99bbf [APIv2/Timetable] Add showing unread lesson changes 2019-11-23 22:26:21 +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
6ec3d062df [UI] Update header image. Fix fragment bundle passing. 2019-11-23 19:37:00 +01:00
Kuba Szczodrzyński
83d123e341 [UI] New notifications view. 2019-11-22 22:41:40 +01:00
Kuba Szczodrzyński
34061695f9 [UI] Update colored placeholder icons. 2019-11-22 19:23:49 +01:00
Kuba Szczodrzyński
de68476442 [UI/Event] Add Sync text to manual event dialog. 2019-11-22 18:42:45 +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
c83abe57d5 [Messages] Implement APIv2 in MessageFragment. 2019-11-12 14:11:35 +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
d4e9e1730f [APIv2] Implement getting timetable for one week. Support arguments in EdziennikTask. Create new DataRemoveModel. 2019-11-11 14:11:05 +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
0bcd190714 [APIv2] Add Librus Fake login. 2019-11-10 20:27:26 +01:00
Kuba Szczodrzyński
563f08b0ab [UI] Update Timetable lesson layout. Add lesson number text. 2019-11-10 18:53:45 +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
434ddd1342 [3.9.2-dev] Add persistent debug logging. 2019-11-06 22:49:26 +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
aa161b5b0e [Login] Remove Login migration fragment. 2019-11-02 19:20:39 +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
28e0f3487c [APIv2/Debug] Add debug button for marking all announcements as read 2019-10-26 15:13:03 +02: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
7822810b91 [APIv2] Implement APIv2 in first login activity. 2019-10-23 19:13:54 +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