203 Commits

Author SHA1 Message Date
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
63b74a9fda
[Mobidziennik] Add prefix and suffix for server name login field. 2021-10-11 20:23:57 +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
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
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
Kuba Szczodrzyński
71ca51e813
[Strings] Update copyright dates. 2021-06-06 16:47:10 +02:00
Kuba Szczodrzyński
85d74bec1c
[UI] Add long text for notification descriptions. 2021-05-26 19:00:09 +02:00
Kuba Szczodrzyński
fd0fc652a3
Merge pull request #47 from szkolny-eu/feature/elearning-events
[Agenda] Add e-learning event type.
2021-05-26 18:52:41 +02:00
Kuba Szczodrzyński
c85dac2e4d
[Strings] Update copyright dates. Fix event mark as done translation. 2021-05-26 18:00:37 +02:00
Kuba Szczodrzyński
a31c68e87a
[Agenda] Add e-learning event type and DB migration. 2021-04-19 14:18:28 +02:00
Kuba Szczodrzyński
e2b47db3fd
Merge branch 'develop' into feature/messages-fixes 2021-04-14 22:42:54 +02:00
Kuba Szczodrzyński
47ec1899a1
[UI/Messages] Add greeting text configuration dialog. 2021-04-14 21:08:27 +02:00
Kuba Szczodrzyński
02eb5b7ee4
[UI/Agenda] Disable not available config options. 2021-04-14 17:03:44 +02:00
Kuba Szczodrzyński
73f3ba17de
Merge branch 'develop' into feature/agenda-updates 2021-04-14 14:57:00 +02:00
Kuba Szczodrzyński
db598af28a
[UI] Add legend in event details dialog. 2021-04-14 10:20:00 +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
Mateusz Idziejczak
3eb09033bf
[Strings] Update copyright date (#26)
* Update copyright date

* Update copyright in other languages
2021-04-12 12:26:52 +02:00
Kuba Szczodrzyński
3eae8fb58b
[Agenda] Add config dialog. Add compact mode. 2021-04-10 20:51:29 +02:00
Kuba Szczodrzyński
e04bd75f1f
[UI/Login] Add version information in login chooser. 2021-04-06 18:17:24 +02:00
Kuba Szczodrzyński
b8ff649c96
[UI] Move privacy policy dialog to login chooser. 2021-04-05 19:45:57 +02:00
Marcin Kowalicki
8661ecdafb
Finish English translation (#12)
* [Feature] Espionage 0.5 speed

* [Languages] Start translating app to English

* [Languages] More English translations

* [Languages] Finish English translation

* Fix bugs in typing

* Revert "[Feature] Espionage 0.5 speed"

This reverts commit b925d3137a724cd744970eb313c4799832c50a4f.

* Remove Espionage [*]

* Another typo

* Fix things that were described in review

* Fix typo

* Hour -> Time

* Update line breaks in strings file.

* Remove unneeded whitespace.

* Update English translations.

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-04-05 19:07:25 +02:00
Kuba Szczodrzyński
e7cb699bcf [App] Fix unofficial build notice formatting. 2021-04-03 15:58:59 +02:00
Kuba Szczodrzyński
2a3b1422ef Merge branch 'develop' into feature/code-publish 2021-03-31 09:38:31 +02:00
Kuba Szczodrzyński
62fdfe754e [UI] Add requesting storage permissions when generating timetable. 2021-03-30 23:21:32 +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
b5d5685b4c [API] Add ignoring signature errors. 2021-03-28 23:50:50 +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
5242d15ebd [UI/Settings] Add build details dialog in About card. 2021-03-28 22:37: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
d9b91d6de8 [UI/Settings] Add requesting camera permissions in web push fragment. 2021-03-25 17:47:02 +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
208d097986 [UI] Add new Settings fragment. 2021-03-22 21:01:04 +01:00
Kuba Szczodrzyński
75b3485ab4 [Gradle] Extract cafebar dependency. 2021-03-20 19:26:58 +01:00
Kuba Szczodrzyński
1814fd67e1 [Strings] Update copyright date. 2021-02-21 16:39:02 +01:00
Kuba Szczodrzyński
ed3a245b51 [UI/Login] Add new easter eggs. 2020-10-18 22:14:41 +02:00
Kuba Szczodrzyński
f39d0c595d [UI/Login] Add recommended, testing and dev only badges to login modes. 2020-10-17 23:10:07 +02:00
Kuba Szczodrzyński
6ecb97b87e [Login/Podlasie] Add option to logout other devices. 2020-10-16 23:50:44 +02:00
Kacper Ziubryniewicz
5c84086f42 [Settings/Grades] Add hiding sticks from old. 2020-10-14 22:26:47 +02:00
Kuba Szczodrzyński
bd2a9524c6 [UI] Use HtmlCompat instead of Html. Fix a typo. 2020-09-05 18:47:30 +02:00
Kuba Szczodrzyński
f1570b8eb9 [4.4.1] Update build.gradle, signing and changelog. 2020-09-04 15:44:26 +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
4e1f2ed41a [UI] Update date in about card subtext. Make gradlew executable. 2020-08-27 12:07:07 +02:00
Kacper Ziubryniewicz
e40871c0d0 [UI] Update register names, again. 2020-08-26 22:15:48 +02:00
Kacper Ziubryniewicz
b74eeed994 [UI] Update register names. 2020-08-26 21:36:30 +02:00