Commit Graph

1276 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
519d75d9d9 [API/Vulcan] Force presence of a TeamClass. 2021-10-30 21:55:47 +02:00
Kuba Szczodrzyński
cb953ea8a8 [Config] Fix only notes card visible on new profiles. 2021-10-30 21:55:47 +02:00
Kuba Szczodrzyński
52968cafad [Proguard] Add a rule for Note. 2021-10-30 21:55:47 +02:00
Kuba Szczodrzyński
b7755dae96
[4.11-rc.1] Update build.gradle, signing and changelog. 2021-10-29 17:32:53 +02:00
Kuba Szczodrzyński
113ecc0ef1
[Gradle] Fix showing correct app version on debug builds. 2021-10-29 17:32:05 +02:00
Kuba Szczodrzyński
23bd9b8e05
[Strings] Update copyright dates. 2021-10-29 16:51:55 +02:00
Kuba Szczodrzyński
decfd2068a
[Signing] Fix incorrect version name for debug builds. 2021-10-29 16:48:53 +02:00
Kuba Szczodrzyński
a88cfb8ae3 [Notes] Hide notes button in day dialog. 2021-10-29 16:48:12 +02:00
Kuba Szczodrzyński
50cb0acc7d [Notes] Fix home card on click target fragment. 2021-10-29 16:48:12 +02:00
Kuba Szczodrzyński
27413a9745
[Messages] Fix HTML line break decoding and encoding. 2021-10-29 16:46:32 +02:00
Kuba Szczodrzyński
49a093201b
[Teachers] Make the list action buttons bigger. 2021-10-29 15:39:58 +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
8745d7d526
[API/Szkolny] Fix user/device registration after API errors. (#111) 2021-10-28 12:11:00 +02:00
Antoni Czaplicki
e02246f97d
[UI] Add teacher list action buttons. (#105)
* Update code

TODO: Change icons color

* Change "More" icon, update teachers list

* Update code

* Update code

* Reformat code

* Apply suggestions from code review

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update code

* Update app/src/main/java/pl/szczodrzynski/edziennik/ui/teachers/TeachersListFragment.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update code

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-10-24 18:29:04 +02:00
Antoni Czaplicki
e629e03b33
[UI/Login] Implement login QR code scanning. (#100)
* Enable Vulcan QR login [WiP]

* [UI/Login] Implement login QR scanning.

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-10-23 17:23:42 +02:00
Kuba Szczodrzyński
e2ad3758e0
[Config] Fix notification filter setting not loading. 2021-10-22 17:03:20 +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
fd62653d79
[Hotfix] Fix merge problems and migration 96 crashing. 2021-10-19 17:06:26 +02:00
Kuba Szczodrzyński
d8abac1917
Merge branch 'develop' into feature/structure-refactor
# Conflicts:
#	app/src/main/java/pl/szczodrzynski/edziennik/Extensions.kt
#	app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt
#	app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Teacher.kt
#	app/src/main/java/pl/szczodrzynski/edziennik/ui/teachers/TeachersAdapter.kt
#	app/src/main/java/pl/szczodrzynski/edziennik/ui/teachers/TeachersListFragment.kt
2021-10-19 13:45:29 +02:00
Antoni Czaplicki
2807659da3
[UI] Add teachers list feature. (#94)
* Add teachers list feature

* Fix

* some fixes

* Auto stash before merge of "develop" and "origin/develop"

* Add teachers list feature

* Fix

* some fixes

* [UI] Fix updating badges crashing with expanded items.

* Add support for fetching teachers from vulcan, fix some code

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Teacher.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update some code

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Teacher.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/hebe/VulcanHebeTeachers.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Teacher.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/db/migration/Migration96.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/hebe/VulcanHebeTeachers.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Optimize code

* Fix loadTarget algorithm

* Apply suggestions from code review

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

* Update app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-10-18 23:46:39 +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
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
efa63452e7
[App] Fix Apply Changes not working due to manifest changes. 2021-09-10 17:17:31 +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
8edc581f0b
[UI] Fix multiplicated day dialog in Agenda. (#61) 2021-09-08 22:48:48 +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
c88056ddb9
[Gradle] Update library dependencies. 2021-09-02 17:49:01 +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
Kuba Szczodrzyński
5562498e84
Merge pull request #48 from szkolny-eu/feature/notification-long-text
[Notifications] Add long description text
2021-05-26 20:00:08 +02:00
Kuba Szczodrzyński
c2d0940a80
Merge pull request #46 from szkolny-eu/hotfix/mobidziennik-message-list
[Mobidziennik] Fix sending messages returning a not found error
2021-05-26 19:59:49 +02:00
Kuba Szczodrzyński
baa98f25c5
[UI] Fix easter egg prize receiving. 2021-05-26 19:09:10 +02:00
Kuba Szczodrzyński
26645ee83c
[DB] Add migration 93. 2021-05-26 19:00:24 +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
c855f08f9c
[API/Mobidziennik] Update messages search query to contain student name. 2021-05-26 17:46:03 +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
8609956ae7
[UI/Timetable] Add current time marker line. (#30) 2021-04-14 22:41:06 +02:00
Kuba Szczodrzyński
47ec1899a1
[UI/Messages] Add greeting text configuration dialog. 2021-04-14 21:08:27 +02:00
Kuba Szczodrzyński
1e8fb6a9ae
[UI/Messages] Restore search string after closing a message. Add message counter. 2021-04-14 20:19:04 +02:00
Kuba Szczodrzyński
02eb5b7ee4
[UI/Agenda] Disable not available config options. 2021-04-14 17:03:44 +02:00
Kuba Szczodrzyński
776806caef
[UI/Agenda] Update DayDialog for showing event group. 2021-04-14 17:03:30 +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
Kuba Szczodrzyński
db598af28a
[UI] Add legend in event details dialog. 2021-04-14 10:20:00 +02:00
Kuba Szczodrzyński
ec765c9070
[UI] Fix updating event dialog when editing or removing. 2021-04-14 10:16:22 +02:00
Kuba Szczodrzyński
5eaa754401
[UI] Add icons for done and manual events. 2021-04-13 20:50:51 +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
634ef16bc5
[UI] Add notification icons. (#23)
* Add notification icons

* Change color of icons

* [Notifications] Update icon colors.

* [Notifications] Update lucky number icon.

* Add icons to Notifications List Fragment

* Update notifications_list_item.xml

* Move the gravity to the LinearLayout

* add paddingLeft

* Change IconicsImageView to View.

* Rearrange XML attributes.

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2021-04-12 17:17:52 +02:00
Kuba Szczodrzyński
ccf0bdaf05
[4.7.1] Update build.gradle, signing and changelog. 2021-04-12 14:35:43 +02:00
Kuba Szczodrzyński
8b1529f240
[App] Make registerAvailability flavor-aware. 2021-04-12 13:13:10 +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
12619f6bde
[Agenda] Update scroll listeners code. 2021-04-12 11:50:54 +02:00
Kuba Szczodrzyński
f5ceaa9afe
[Agenda] Add unread badges to events and groups. 2021-04-11 22:08:33 +02:00
Kuba Szczodrzyński
777ae945e0
[Agenda] Implement grouping events by type. 2021-04-10 22:26:43 +02:00
Kuba Szczodrzyński
3eae8fb58b
[Agenda] Add config dialog. Add compact mode. 2021-04-10 20:51:29 +02:00
Kuba Szczodrzyński
b14ef5cd78
[Agenda] Limit event text to 3 lines max. 2021-04-10 18:49:24 +02:00
Kuba Szczodrzyński
98bf4f3bdc
[Agenda] Implement updating event list when changed. 2021-04-09 21:52:04 +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
d17f6297d3
[4.7] Update build.gradle, signing and changelog. 2021-04-07 18:22:54 +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
929ccb53db
[Strings] Fix invalid format exception in attendance. 2021-04-05 21:59:23 +02:00
Kuba Szczodrzyński
72319a4613
[API] Disable API caching for signed builds. 2021-04-05 21:52:38 +02:00
Kuba Szczodrzyński
e389e6c073
[4.7-rc.2] Update build.gradle, signing and changelog. 2021-04-05 21:04:29 +02:00
Kuba Szczodrzyński
cd6951dcbb
[UI] Add highlighting user mentions in changelog. 2021-04-05 21:02:49 +02:00
Kuba Szczodrzyński
02d60754b6
[UI] Fix changelog dialog link highlighting. 2021-04-05 20:38:51 +02:00
Kuba Szczodrzyński
6884251646
[UI] Fix English translation typo. 2021-04-05 20:12:38 +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
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 b925d3137a.

* 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
e9a2dae1e4 [Gradle] Fix moving artifacts to release folder, again. 2021-04-05 10:56:13 +02:00
Kuba Szczodrzyński
8b0f3490e3 [UI/Settings] Fix hiding hiding sticks from old without devMode. 2021-04-04 22:41:20 +02:00
Kuba Szczodrzyński
5b35e3500e [Gradle] Fix moving app bundles to release folder. 2021-04-04 20:37:02 +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
e7cb699bcf [App] Fix unofficial build notice formatting. 2021-04-03 15:58:59 +02:00
Kuba Szczodrzyński
5301b4efad [Gradle] Add moving app bundles to release folder. 2021-04-03 15:35:00 +02:00
Kuba Szczodrzyński
bf595dd09c [App] Fix detecting correct remote repository name. 2021-04-03 15:13:10 +02:00
Kuba Szczodrzyński
df7982d11b [4.7-rc.1] Update build.gradle, signing and changelog. 2021-04-01 19:47: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
1108f2eb71 [Gradle] Add configuration to store output files in release directory. 2021-03-31 10:51: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
4bea803220 Merge branch 'develop' into feature/code-cleanup 2021-03-31 08:52:05 +02:00
Kuba Szczodrzyński
5ac1f94302
Merge pull request #6 from szkolny-eu/feature/iconics-update
Iconics update
2021-03-31 08:49:47 +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
9ba1bf130f [UI] Migrate MaterialDateTimePicker to material-components. 2021-03-30 22:55:46 +02:00
Kuba Szczodrzyński
37c0ff2ac7 [UI] Migrate MaterialDialogs to material-components. 2021-03-30 15:26:52 +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
ebbb9e4904 [UI] Update UI to maintain icon size consistency. 2021-03-29 22:55:56 +02:00
Kuba Szczodrzyński
7e38445c98 [Gradle] Update NavLib and Iconics. 2021-03-29 22:51:48 +02:00
Kuba Szczodrzyński
bf03601e83 [UI/Profile] Fix profile image icon button ripple. 2021-03-29 21:16:15 +02:00
Kuba Szczodrzyński
e6dec4c6c0 [Api] Move FSLogin realms URL to GitHub sites. 2021-03-29 20:15:14 +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
1f6da2babe [Api] Add sending app build type and flavor headers. 2021-03-29 10:32:59 +02:00
Kuba Szczodrzyński
cce47ed472 [Api] Implement caching invalid API signature response. 2021-03-29 10:21:20 +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
17351066d1 Revert "Librus 2021 Hack Working 100% Legit."
This reverts commit 9ccb6e0a24.
2021-03-29 09:31:01 +02:00
Kuba Szczodrzyński
b5d5685b4c [API] Add ignoring signature errors. 2021-03-28 23:50:50 +02:00
Kuba Szczodrzyński
3093850a4a [API] Add API error codes and descriptions. 2021-03-28 23:29:38 +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
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
f72f8228f0
Merge branch 'develop' into hotfix/android-4-fixes 2021-03-28 22:16:11 +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
704a55d789 [UI] Update version info in Settings. 2021-03-27 14:09:38 +01:00
Kuba Szczodrzyński
bf5fb5f623 [UI] Update main activity badge. 2021-03-27 14:06:30 +01:00
Kuba Szczodrzyński
1af65de548 [App] Implement BuildManager. 2021-03-27 14:04:37 +01:00
Kuba Szczodrzyński
06407ee439 [Gradle] Add build flavors. 2021-03-27 14:00:06 +01:00
Kuba Szczodrzyński
db265fa12b [Gradle] Include Git info in build config. 2021-03-27 12:55:05 +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
a5f5c740c9 [UI/Licenses] Update list of open source licenses. 2021-03-25 19:37:25 +01:00
Kuba Szczodrzyński
1b271bd20e [EventBus] Fix crash when opening EventManualDialog. 2021-03-25 19:02:23 +01:00
Kuba Szczodrzyński
d191982da6 [UI] Remove old SettingsNewFragment. 2021-03-25 17:59:31 +01:00
Kuba Szczodrzyński
6e9a0b217d [UI] Remove unused permission checking. 2021-03-25 17:57:05 +01:00
Kuba Szczodrzyński
df4b6ec3e5 [UI/Profile] Fix new profile image not showing. 2021-03-25 17:51:25 +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
dd6e536f88 [UI/Settings] Add requesting camera permissions to pick image. 2021-03-25 17:43:43 +01:00
Kuba Szczodrzyński
a5cbee2b45 [UI/Settings] Fix profile image button icon background. 2021-03-25 17:29:43 +01:00
Kuba Szczodrzyński
7a43ef4dee [App] Remove unneeded profile settings. 2021-03-25 16:45:14 +01:00
Kuba Szczodrzyński
549a542879 [UI/Settings] Fix picking images from camera app. 2021-03-25 16:40:30 +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
4045da7fc5 [App] Disable TLSv1.3 requirement for SSLProvider. 2021-03-25 13:19:52 +01:00
Kuba Szczodrzyński
ae6af77aef [UI] Fix message buttons margin. 2021-03-25 13:13:11 +01:00
Kuba Szczodrzyński
fdad2d9e1a [UI] Fix timetable lesson colors. 2021-03-25 13:06:23 +01:00
Kuba Szczodrzyński
2d01a8c4d4 [UI] Fix nightly badge background tint. 2021-03-25 12:59:42 +01:00
Kuba Szczodrzyński
6c4a1b54ba [Layout] Migrate marginTop/marginBottom to marginVertical. 2021-03-25 12:51:37 +01:00
Kuba Szczodrzyński
37879ca07e [Layout] Migrate marginLeft/marginRight to marginHorizontal. 2021-03-25 12:48:28 +01:00
Kuba Szczodrzyński
2834ab1050 [Layout] Migrate marginStart/marginEnd to marginHorizontal. 2021-03-25 12:45:07 +01:00
Kuba Szczodrzyński
9ef37c46ef [Layout] Migrate paddingTop/paddingBottom to paddingVertical. 2021-03-25 11:54:52 +01:00
Kuba Szczodrzyński
1364691a46 [Layout] Migrate paddingLeft/paddingRight to paddingHorizontal. 2021-03-25 11:49:22 +01:00
Kuba Szczodrzyński
2933e214c6 [Layout] Migrate paddingStart/paddingEnd to paddingHorizontal. 2021-03-25 11:37:40 +01:00
Kuba Szczodrzyński
a58a557fd0 [UI] Fix action switch/checkbox item padding. 2021-03-25 11:18:40 +01:00
Kuba Szczodrzyński
43d71c082b [App] Fix internet and SSL connection. 2021-03-24 23:02:18 +01:00
Kuba Szczodrzyński
3eb99a4bf5 [App] Change companion values to lateinit. 2021-03-24 22:41:28 +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
Kuba Szczodrzyński
efcd2d80da [Gradle] Assign strict versions where required. 2021-03-21 23:47:14 +01:00
Kuba Szczodrzyński
da953c9b1c [Gradle] Update CommunityMaterial to v5.8.55. 2021-03-21 23:39:51 +01:00
Kuba Szczodrzyński
177ffd92f7 [Proguard] Remove unneeded rules. Move app proguard rules. 2021-03-21 22:49:43 +01:00
Kuba Szczodrzyński
85379b0beb [Gradle] Remove unused dependencies. 2021-03-21 22:42:37 +01:00
Kuba Szczodrzyński
cf4aa552e7 [Gradle] Update NavLib to fix multiple item selection issue. 2021-03-21 22:30:19 +01:00
Kuba Szczodrzyński
b6d625a1fc [Gradle] Update most libraries. Rearrange dependencies. 2021-03-21 21:01:28 +01:00