Kuba Szczodrzyński
6c96875c83
[API/Login] Allow passing LoginStore params in user action requests.
2022-10-14 19:44:22 +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
9dbb5d70e9
[App] Fix PendingIntent crashing on API 31+.
2022-09-17 17:21:13 +02:00
Antoni Czaplicki
bb44fa066c
[API/Vulcan] Migrate to new MessageBox API. ( #134 )
...
* Implement fetching vulcan messages from new api
* Bump kotlin version and fix timetable card lessons size display
* Revert formatting changes
* Revert disabling message composing
* Revert MultiDex changes and dependency upgrades
* Add missing MultiDex dependency, update Google Services
* Separate MessageBoxes sync, revert API data behavior changes
* Revert migrating MessageRecipient to Kotlin
* Use loginId from MessageBox address book
* Revert using compatible HTML mode in Vulcan
* Implement message meta and read status changing
* Always set attachment lists
* Fix setting tutor role description
* Implement sending messages
* Replace millis constant with WEEK
* Revert timetable changes
* Remove unused DataVulcan properties
* Ensure UUID-format recipient IDs
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2022-09-17 12:31:35 +02:00
Sylwester Zinkiewicz
745523c620
[UI] Fix touch events on swipe refresh pages (API 32+). ( #129 )
...
* [Hotfix] Fix touch events on swipe refresh pages (API 32)
* Add API SDK version check
2022-04-18 11:28:34 +02:00
Kuba Szczodrzyński
148597e578
[UI/Messages] Fix sending message not showing the message fragment.
2022-02-21 21:46:16 +01:00
Kuba Szczodrzyński
27413a9745
[Messages] Fix HTML line break decoding and encoding.
2021-10-29 16:46:32 +02:00
Kuba Szczodrzyński
7c925cb88a
[UI] Add Notes feature. ( #99 )
...
* [DB] Add Room schema export location.
* [DB] Add Note entity and migration 96.
* Add correct database schema
* [Notes] Implement basic note list UI.
* [DB] Implement Noteable in Full entities. Add note relation and filtering.
* [Notes] Make Note searchable.
* [UI] Disable onClick listeners in adapters when null.
* [UI] Implement showing note list in dialog.
* [UI] Update note dialogs UI.
* [Notes] Add note details dialog.
* [Notes] Extract note dialogs header into a separate layout.
* [Notes] Add note editor dialog.
* [Notes] Show note icons in dialogs and lists.
* [Notes] Add showing substitute text.
* [Notes] Add replacing notes icon.
* [Notes] Add sharing and receiving notes.
* [Notes] Add notes list UI fragment.
* [Notes] Implement adding notes without owner.
* [Notes] Add color names.
* [Notes] Add notes card on home screen.
* [Notes] Add notes card migration.
2021-10-28 22:35:30 +02:00
Kuba Szczodrzyński
f3e2d21b89
[UI] Refactor app dialogs. ( #103 )
...
* [UI] Add new base dialog classes.
* [UI] Migrate dialogs to the new base classes.
2021-10-22 16:57:10 +02:00
Kuba Szczodrzyński
7884bf4077
[Refactor] Cleanup most compilation warnings.
2021-10-17 23:02:27 +02:00
Kuba Szczodrzyński
59f80c049c
[Refactor] Split Extensions into separate files.
2021-10-17 22:18:00 +02:00
Kuba Szczodrzyński
f1e58db151
[Refactor] Flatten .ui package.
2021-10-17 21:02:35 +02:00
Kuba Szczodrzyński
74b766f18a
[UI] Add text styling to manual events. ( #96 )
...
* [UI] Move text styling outside of messages module.
* [UI] Add text styling to event manual dialog.
* [UI/Events] Implement showing HTML-formatted content.
* [UI] Fix searching in styled event topic. Create HtmlMode enum.
* [UI] Add HTML Simple mode to text styling manager. Fix CharSequence replacing.
* [Events] Disable self-shared event notifications.
* [UI] Fix simple HTML mode format. Fix HTML in notifications.
* [HTML] Replace usages of Html and HtmlCompat with BetterHtml.
* [Events] Fix editing self-added events from other devices.
* [Events] Implement receiving and fix showing HTML-formatted events.
* [UI/Events] Add observing changes in event details dialog.
* [Firebase] Disable self-shared event notifications.
2021-10-16 19:37:41 +02:00
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
44263ac95f
[Messages] Add support for starring messages. ( #86 )
...
* [UI/Messages] Add stars to message list layout.
* [Messages] Move text styling-related code to a manager.
* [Messages] Implement starring messages. Move more code to the manager. Update UI.
* [UI] Add padding to the no data text.
* [Messages] Fix checking sent message recipient read state.
* [Messages] Add star icon padding.
2021-10-08 21:43:11 +02:00
Kuba Szczodrzyński
692555732d
[Messages/Compose] Add text styling support. ( #85 )
...
* [UI/Messages] Add draft text styling support.
* [UI/Messages] Improve mid-word span styling. Restore subscript and superscript styles.
* [UI/Messages] Replace framework spans with custom classes on replying.
* [Messages/Compose] Move UI-related code to separate classes.
* [UI/Messages] Disable text style buttons when not in focus.
* [Messages/Compose] Disable text styling on Vulcan.
* [UI/Messages] Add hint toasts to text style toggles.
* [UI/Messages] Add button to clear text styling.
* [Messages/Compose] Fix XML formatting.
2021-10-05 20:28:29 +02:00
Antoni Czaplicki
e8e9f04050
[UI] Show attendance info in timetable and lesson dialog. ( #74 )
...
* Show attendance in timetable view
* Optimize code and UX
* Update some code
* Update attendance layout
* Fix timetable view
* Bump iconics version
* Change umbrella icon
* Update app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/timetable/TimetableDayFragment.kt
* Update app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/timetable/TimetableDayFragment.kt
* Update app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/timetable/TimetableDayFragment.kt
* Update app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/timetable/TimetableDayFragment.kt
* Update lesson cell margins
* Add attendance info in lesson dialog
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-09-22 00:03:31 +02:00
Kuba Szczodrzyński
80dcd9aa69
[API] Refactor register availability checking module.
2021-09-18 16:36:17 +02:00
Kuba Szczodrzyński
b9aca981e5
[App] Change app-wide storage dir to Download subfolder.
2021-09-10 16:56:52 +02:00
Kuba Szczodrzyński
755b846b50
[UI/Agenda] Move common code to EventManager.
2021-04-14 16:34:31 +02:00
Kuba Szczodrzyński
73f3ba17de
Merge branch 'develop' into feature/agenda-updates
2021-04-14 14:57:00 +02:00
Kuba Szczodrzyński
07fb1e0e12
[UI] Refactor dropdown inputs code.
2021-04-14 11:59:58 +02:00
Kuba Szczodrzyński
297867cbf3
[UI] Add event type colors to type dropdown.
2021-04-14 11:21:45 +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
2d6cf50ca7
[Agenda] Refactor agenda UI code.
2021-04-09 15:32:44 +02:00
Kuba Szczodrzyński
95baf9fb9c
[UI/Dialogs] Add context menu for teachers' names. ( #21 )
...
* [UI] Rearrange BetterLink code.
* [UI/Dialogs] Add context menu for teachers' names.
* [Proguard] Update rules for BetterLink reflection.
* [Proguard] Fix rules for BetterLink reflection.
2021-04-08 00:39:59 +02:00
Kuba Szczodrzyński
582e2059d8
[App] Move buildTimestamp to manifest to improve build performance.
2021-04-05 20:00:38 +02:00
Kuba Szczodrzyński
ea2974bfae
[App] Improve unofficial build type info on debug.
2021-04-05 19:46:22 +02:00
Kuba Szczodrzyński
fc4c297bef
[App] Add more info to build details dialog.
2021-04-03 22:22:18 +02:00
Kuba Szczodrzyński
b9e7e80e11
[App] Add browsing commit file tree in Open repo button.
2021-03-31 11:23:02 +02:00
Kuba Szczodrzyński
114d855c81
[App] Fix detecting signed builds.
2021-03-31 11:09:21 +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
9ba1bf130f
[UI] Migrate MaterialDateTimePicker to material-components.
2021-03-30 22:55:46 +02:00
Kuba Szczodrzyński
6287f694f4
[UI] Replace dropdown arrow drawable with Iconics.
2021-03-30 11:11:17 +02:00
Kuba Szczodrzyński
4469323fe0
[Refactor] Remove unused classes and resources.
2021-03-30 11:01:18 +02:00
Kuba Szczodrzyński
891be2f9dd
[UI/App] Add build date field to build info dialog.
2021-03-29 10:43:34 +02:00
Kuba Szczodrzyński
93233f6afa
[UI/App] Add Open repo button in build info dialog.
2021-03-28 22:54:18 +02:00
Kuba Szczodrzyński
76838fcc41
[App] Change official version validation requirement.
2021-03-28 22:47:19 +02:00
Kuba Szczodrzyński
34e44a7a36
[UI/App] Update build info dialog colors and text style.
2021-03-28 22:45:20 +02:00
Kuba Szczodrzyński
fe90fc6442
Merge branch 'develop' into feature/code-publish
2021-03-28 22:22:37 +02:00
Kuba Szczodrzyński
abcd6916b3
[App] Add remote repository validation.
2021-03-27 17:03:17 +01:00
Kuba Szczodrzyński
6824960731
[App] Implement basic app validation and related UI.
2021-03-27 16:28:09 +01:00
Kuba Szczodrzyński
726a37d5d6
[UI] Add build details dialog.
2021-03-27 14:33:10 +01:00
Kuba Szczodrzyński
1af65de548
[App] Implement BuildManager.
2021-03-27 14:04:37 +01:00
Kuba Szczodrzyński
dd6e536f88
[UI/Settings] Add requesting camera permissions to pick image.
2021-03-25 17:43:43 +01:00
Kuba Szczodrzyński
ea7b4438e8
[Refactor] Remove unused class and resources.
2021-03-23 15:50:27 +01:00
Kuba Szczodrzyński
208d097986
[UI] Add new Settings fragment.
2021-03-22 21:01:04 +01:00