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
7e0f69d95d
[Gradle] Migrate JCenter dependencies to JitPack. ( #97 )
...
* [Gradle] Replace JCenter-based dependencies with JitPack.
* [API] Fix Jsoup usage after dependency update.
2021-10-15 22:37:46 +02:00
Kuba Szczodrzyński
fa318d4509
[UI] Update Iconics to remove the span workaround.
2021-10-13 19:23:17 +02:00
Kuba Szczodrzyński
63b74a9fda
[Mobidziennik] Add prefix and suffix for server name login field.
2021-10-11 20:23:57 +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
83daae46b8
[Messages] Fix multiplied recipients with more than one profile.
2021-10-07 11:57:23 +02:00
Kuba Szczodrzyński
6611fc5843
[Messages] Disable showing 0-byte attachment sizes.
2021-10-07 11:43:54 +02:00
Kuba Szczodrzyński
fe82c86c93
[Messages/Compose] Fix recipient adding dialog empty.
2021-10-07 11:28:56 +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
Kuba Szczodrzyński
d59286bb05
Merge pull request #84 from szkolny-eu/feature/mobidziennik-homework-attachments
...
[API/Mobidziennik] Fix showing homework attachments.
2021-10-03 16:02:58 +02:00
Kuba Szczodrzyński
91cfa7e945
[API/Mobidziennik] Implement syncing extra lessons. ( #83 )
2021-10-03 16:02:36 +02:00
Kuba Szczodrzyński
2d277e80cc
[UI] Restore showing message attachment size.
2021-10-02 16:15:32 +02:00
Kuba Szczodrzyński
3cdca5eb33
[API/Mobidziennik] Fix showing homework attachments.
2021-10-02 16:15:02 +02:00
Kuba Szczodrzyński
0b4421c7a7
[API/Mobidziennik] Implement getting full event description.
2021-10-01 21:06:48 +02:00
Kuba Szczodrzyński
325efd8b14
[Data] Refactor checking homework event type.
2021-10-01 19:46:11 +02:00
Antoni Czaplicki
959168771b
[UI] Add secret features. ( #73 )
...
* Add easter egg
* Remove big file
* Reformat code
* Remove unneded blank lines, optimize some code
* Fix small issue
* Update easter egg logic
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-10-01 18:40:44 +02:00
Kuba Szczodrzyński
18c306b9ea
[4.10] Update build.gradle, signing and changelog.
2021-09-22 13:55:01 +02:00
Kuba Szczodrzyński
c6be1a7954
[Strings] Update copyright dates.
2021-09-22 13:52:06 +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
60f0628f5e
[Lab] Fix disabling Chucker and Dev Mode. Add new Lab options.
2021-09-18 16:37:24 +02:00
Kuba Szczodrzyński
80dcd9aa69
[API] Refactor register availability checking module.
2021-09-18 16:36:17 +02:00
Kuba Szczodrzyński
91b685576b
[4.9] Update build.gradle, signing and changelog.
2021-09-10 23:54:09 +02:00
Antoni Czaplicki
2e3e3dcf3c
[Lab] Add button to disable devmode and Chucker toggle. ( #70 )
...
* Add option to disable/enable chucker and option to disable dev mode from lab page
* Change "chucker" to "enableChucker"
* Update App.kt
2021-09-10 23:47:46 +02:00
Kuba Szczodrzyński
118f5e1794
[API/Vulcan] Fix missing attendance. ( #72 )
2021-09-10 23:45:29 +02:00
Kuba Szczodrzyński
e902352a4b
Merge pull request #69 from szkolny-eu/hotfix/message-attachments
...
[Messages] Fix downloading and displaying attachment on API 30+.
2021-09-10 23:44:26 +02:00
Kuba Szczodrzyński
2f7fcb6dc3
[API/Mobidziennik] Fix Web timetable scrapper.
2021-09-10 17:41:39 +02:00
Kuba Szczodrzyński
83f84de019
[UI] Fix attachments view cut off on API 30+.
2021-09-10 17:11:21 +02:00
Kuba Szczodrzyński
b9aca981e5
[App] Change app-wide storage dir to Download subfolder.
2021-09-10 16:56:52 +02:00
Antoni Czaplicki
5913707519
[UI] Use number keyboard in the PIN field in Vulcan. ( #68 )
2021-09-10 06:49:17 +02:00
Kuba Szczodrzyński
dd6a2c0979
[API/Mobidziennik] Add Web timetable scrapper. ( #66 )
...
* [API] Add utils for getting teacher, subject and team by name.
* [API/Mobidziennik] Add Web timetable scrapper.
* [API/Mobidziennik] Add missing Regexes.
2021-09-09 23:14:24 +02:00
Kuba Szczodrzyński
9fdee6e0c7
[UI] Fix restoring header background dialog. ( #65 )
2021-09-09 23:14:07 +02:00
Czapla
b31bf5c1ab
[API/Vulcan] Fix missing timetable entries. ( #67 )
2021-09-09 23:13:39 +02:00
Czapla
cf4906f2f4
[API/Vulcan] Fix sending messages. ( #64 )
...
* Fix sending message
* Add checking for address name/hash when sending message.
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-09-09 18:52:04 +02:00
Kuba Szczodrzyński
680a5dfea3
[Mobidziennik] Fix missing linebreaks when sending messages. ( #63 )
2021-09-08 22:49:14 +02:00
Kuba Szczodrzyński
c1062cd7ed
[UI] Update drawer header background. ( #62 )
2021-09-08 22:49:00 +02:00
Kuba Szczodrzyński
ea9d801d08
[DB] Workaround missing event types after profile archiving. ( #60 )
2021-09-08 22:48:35 +02:00
Kuba Szczodrzyński
8f72e11d0c
[UI] Center "no data" text view. ( #59 )
2021-09-08 22:48:21 +02:00
Tomasz F
452271e8c0
[UI] Add list of contributors in Settings. ( #15 )
...
* Contributors item in settings
* Move contributors activity to settings package && actualize branch
* Update AndroidManifest.xml
* Getting contributors from github api
* Cleaning code
* Fetching data from szkolny api, displaying content, a lot of changes :D
* Strings
* Remove androidx legacy library
* Revert manifest changes
* Remove logging in SzkolnyApi
* Fix app name spelling
* Revert changes to dimens.xml
* Refactor contributors code
* Revert changes to dimens.xml
Again
* Revert changes to build.gradle
* Revert changes to gradle-wrapper.properties
* Revert changes to gradle.properties
* Make user name nullable
* Add caching, refactor plurals, add progress bar
* Update contributors UI
* Shorten activity name in manifest
* Remove unneeded line break
* Remove fragment_translators.xml
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-09-08 19:11:14 +02:00
doteq
7b4effe889
[UI] Fix block timetable export. ( #57 )
...
* Use MediaStore on SDK level >= 29 for timetable export
* Fix imports
* Use subdirectory in the Photos folder
* Use MediaStore for all API levels
* Remove not-null assertion
* Remove unnecessary outputStream close.
* Use File constructor for directory path
* Use File(File, String) constructor
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-09-07 22:11:29 +02:00
Kuba Szczodrzyński
96dbb0a057
[Gradle] Update Kotlin to v1.5.20.
2021-09-02 17:48:02 +02:00
Kuba Szczodrzyński
5a217aca01
[4.8.2] Update build.gradle, signing and changelog.
2021-06-15 18:13:18 +02:00
doteq
4bed62aa6f
[UI] Fix timetable crash when syncing ( #54 )
...
* Fix removeView
* Use removeView() instead of removeAllViews()
* Remove dayView from layout file
2021-06-11 22:06:07 +02:00
arin
a4d604e146
[API/Librus] Update JST Client ID ( #53 )
...
@6Arin9
2021-06-11 00:05:54 +02:00
Kuba Szczodrzyński
ae4405ef78
[4.8.1] Update build.gradle, signing and changelog.
2021-06-06 16:50:04 +02:00
Kuba Szczodrzyński
71ca51e813
[Strings] Update copyright dates.
2021-06-06 16:47:10 +02:00
B.O.S.S
1bf07d736f
[API/Librus] Update client ID ( #51 )
...
@BxOxSxS
2021-06-02 22:59:57 +02:00
Kuba Szczodrzyński
75010c0771
[4.8] Update build.gradle, signing and changelog.
2021-05-26 20:01:08 +02:00