105 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
1a543814f4
[UI] Implement homework searching. (#93)
* [Messages] Create message type checking methods.

* [UI] Refactor messages searching to a separate module.

* [Refactor] Move dialogs.event to modules package.

* [Refactor] Move classes from modules.messages to separate packages.

* [Homework] Implement searching homework lists.

* [Homework] Fix highlighting search query in addedBy text.

* [Homework] Workaround IconicsTextView discarding span data.

* [Messages] Make attachments searchable.

* [Events] Show icons for events with attachments.

* [Homework] Workaround IconicsTextView discarding span data, again.

* [Search] Fix serialization crashes with searchable models.

* [Messages] Fix searching in HTML body.
2021-10-10 19:21:50 +02:00
Kuba Szczodrzyński
50ae767fcd
[Messages] Add saving messages as draft. (#92)
* [Messages/Compose] Move original message handling code to MessageManager.

* [Messages/Compose] Add draft saving dialog on back button press.

* [Messages/Compose] Implement saving messages as draft.

* [Messages/Compose] Fix missing line breaks when saving/loading HTML.

* [Messages] Fix download button icon padding.

* [Messages] Fix showing correct message read date.

* [Messages] Improve (and fix) scrolling to previous list position.

* [Messages] Fix message body trimming.

* [Messages/Compose] Add draft-related bottom sheet items.

* [Refactor] Cleanup MainActivity code.

* [Messages/Compose] Set htmlCompatible to true by default.

* [Messages/Compose] Show confirmation dialog when navigating with unsaved changes.

* [Messages] Restore message body bottom padding.

* [Messages] Fix download button icon padding, again.
2021-10-09 22:48:41 +02:00
Kuba Szczodrzyński
80dcd9aa69
[API] Refactor register availability checking module. 2021-09-18 16:36:17 +02:00
Mateusz Idziejczak
b48b5589f4
[UI] Add eggfall. (#22)
* Add eggfall

* Add egg.png

* Add more eggs

* [Gradle] Update android-snowfall to a fork.

* [Eggfall] Add randomizing egg images.

* [UI] Restore snowfall icon. Add separate eggfall setting.

* [Eggfall] Limit eggfall to near-easter date only.

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-04-12 17:18:53 +02:00
Kuba Szczodrzyński
2a3b1422ef Merge branch 'develop' into feature/code-publish 2021-03-31 09:38:31 +02:00
Kuba Szczodrzyński
4bea803220 Merge branch 'develop' into feature/code-cleanup 2021-03-31 08:52:05 +02:00
Kuba Szczodrzyński
4469323fe0 [Refactor] Remove unused classes and resources. 2021-03-30 11:01:18 +02:00
Kuba Szczodrzyński
ebbb9e4904 [UI] Update UI to maintain icon size consistency. 2021-03-29 22:55:56 +02:00
Kuba Szczodrzyński
2808c66840 [UI/Login] Fix ignoring API signature errors in login chooser. 2021-03-29 09:41:50 +02:00
Kuba Szczodrzyński
b5d5685b4c [API] Add ignoring signature errors. 2021-03-28 23:50:50 +02:00
Kuba Szczodrzyński
fe90fc6442 Merge branch 'develop' into feature/code-publish 2021-03-28 22:22:37 +02:00
Kuba Szczodrzyński
f72f8228f0
Merge branch 'develop' into hotfix/android-4-fixes 2021-03-28 22:16:11 +02:00
Kuba Szczodrzyński
6824960731 [App] Implement basic app validation and related UI. 2021-03-27 16:28:09 +01:00
Kuba Szczodrzyński
bf5fb5f623 [UI] Update main activity badge. 2021-03-27 14:06:30 +01:00
Kuba Szczodrzyński
e721261e84 [UI/Profile] Add showing profile config on long click in drawer. 2021-03-25 19:53:11 +01:00
Kuba Szczodrzyński
c5eb67271e [UI] Fix debugging fragment icon missing. 2021-03-25 19:38:00 +01:00
Kuba Szczodrzyński
d191982da6 [UI] Remove old SettingsNewFragment. 2021-03-25 17:59:31 +01:00
Kuba Szczodrzyński
0f84732f80 [UI/Settings] Add new profile config dialog. Implement choosing background images. 2021-03-25 16:40:18 +01:00
Kuba Szczodrzyński
2d01a8c4d4 [UI] Fix nightly badge background tint. 2021-03-25 12:59:42 +01:00
Kuba Szczodrzyński
208d097986 [UI] Add new Settings fragment. 2021-03-22 21:01:04 +01:00
Kuba Szczodrzyński
da953c9b1c [Gradle] Update CommunityMaterial to v5.8.55. 2021-03-21 23:39:51 +01:00
Kuba Szczodrzyński
e91d99652c [Gradle] Extract szkolny-font dependency. Migrate Iconics to v5. 2021-03-21 20:11:24 +01:00
Kuba Szczodrzyński
75b3485ab4 [Gradle] Extract cafebar dependency. 2021-03-20 19:26:58 +01:00
Kuba Szczodrzyński
13c2640ed5 [UI] Hide API deprecation message on other profiles. 2021-02-22 17:43:34 +01:00
Kuba Szczodrzyński
80333cdea4 [Vulcan] Add API deprecation message. 2021-02-21 23:52:45 +01:00
Kuba Szczodrzyński
a0c302b663 [App] Swap devMode with debugMode. Fix hiding sticks from old. 2020-10-16 17:18:19 +02:00
Kuba Szczodrzyński
810cfd8092 [API] Rename response parameters to fix compatibility. 2020-09-05 19:13:37 +02:00
Kuba Szczodrzyński
7bcd6bf038 [Sync] Implement checking register availability. Improve app updates. 2020-09-03 13:39:46 +02:00
Kuba Szczodrzyński
281b6a95ef [API] Fix for syncing new profiles after archiving. 2020-08-27 00:10:19 +02:00
Kuba Szczodrzyński
a02033d0f3 [API] Fix archiving compatibility for older app versions. 2020-08-25 22:25:21 +02:00
Kuba Szczodrzyński
6c6bc89f57 [UI] Improve archive-related UI. Add archived info home card. 2020-08-25 19:14:11 +02:00
Kuba Szczodrzyński
0d366adddb [UI] Implement showing archived profiles in drawer. 2020-08-25 16:01:11 +02:00
Kuba Szczodrzyński
2c24eba46d [UI] Show bottom bar badge in debug versions. 2020-08-25 12:05:58 +02:00
Kuba Szczodrzyński
7c6dbca986 [API] Implement basic profile archiving. 2020-08-25 10:46:50 +02:00
Kuba Szczodrzyński
5ab5dbe940 [UI] Show nightly version badge in main activity. 2020-05-03 13:11:04 +02:00
Kuba Szczodrzyński
d56afb034b [API] Add Vulcan OneDrive attachment downloading. Add asking for permissions on demand. 2020-04-07 12:16:48 +02:00
Kuba Szczodrzyński
12a54e58b5 [API] Add Vulcan message & homework attachments. Fix Mobidziennik homework attachments. 2020-04-06 22:50:00 +02:00
Kuba Szczodrzyński
0413dbffa2 [Messages] Implement saving list position on message open. 2020-04-05 21:40:12 +02:00
Kuba Szczodrzyński
f98b174857 [UI] Refactor Messages fragment. 2020-04-04 21:31:14 +02:00
Kuba Szczodrzyński
c0aeb0d2f3 [UI] Add showing unseen events. Add Lab fragment. 2020-04-03 20:58:51 +02:00
Kuba Szczodrzyński
7f0aea29cd [API/Librus] Fix HTML to string conversion in homework. Add force download homework button in debug mode. 2020-04-02 12:56:24 +02:00
Kuba Szczodrzyński
b004ec048e [UI] Refactor Grades, Notifications, Homework fragments to better match unified templates. 2020-03-30 18:55:28 +02:00
Kuba Szczodrzyński
8c869d082b [UI] Add pager fragment templates. Move all templates to 'template' module. Fix swipe to refresh with pager fragments. 2020-03-30 12:50:21 +02:00
Kuba Szczodrzyński
37a5bea79b [Libraries] Update gradle, NavLib and Firebase. 2020-03-24 16:29:45 +01:00
Kacper Ziubryniewicz
87ae5787ee [UX] Fix app quiting in home when back button opens drawer function active. 2020-03-20 21:39:38 +01:00
Kacper Ziubryniewicz
6f1ec79d9b [UX] Fix back button opens drawer function always opening the drawer. 2020-03-20 14:21:13 +01:00
Kuba Szczodrzyński
c95bc656ea [UI] Add context menus in messages and events to quickly run an action. 2020-03-19 17:55:12 +01:00
Kuba Szczodrzyński
7c7dff743b [API] Optimize App Sync a bit. 2020-03-13 16:22:43 +01:00
Kuba Szczodrzyński
715f536b23 [MainActivity] Fix some critical errors. 2020-03-10 20:57:04 +01:00
Kuba Szczodrzyński
67be456bb0 [Firebase/Librus] Implement Librus push registration and receiving. Fix not passing lastSync to endpoint. 2020-02-21 22:49:24 +01:00