Commit Graph

91 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
77e1acbb1e
[App] Disable R8 full mode, support devModePassword, fix build timestamp 2024-07-01 11:53:14 +02:00
Kuba Szczodrzyński
6e19f37d79
[Actions] Refactor build workflows, fix Gradle rename task
Some checks failed
Schedule/dispatch / Check new changes (push) Failing after 1m11s
Schedule/dispatch / Build nightly release (APK) (push) Has been skipped
2024-06-30 19:51:21 +02:00
0823e72328
[UI] Upgrade to Material 3 design, refactor some core elements (#201)
* Material 3 theme and color support, filled cards

* Change drawer header, dark bottombar color

* Replace MaterialComponents with Material3

* wielki powrót pr m3 do szkolnego (nie czytajcie tego kodu)

* fix M3 UI code & upgrade kotlin

* update dependencies

* fix missing Intent receiver flags for Tiramisu+

* fix kapt errors related to SelectiveDAO + migrate BuildConfig

* adapt code to updated dependencies + align lessons (based by szkolny-eu/szkolny-android#196)

* fix: no query filtering

* fix: duplicated items in about card

* fix: "Back button opens drawer" (redundant super call)

* fix: too small heading in agenda dialog

* adapt notes fragment to MD3

* add lock layout function (szkolny-eu/szkolny-android#199)

* hide classroom heading when no classroom is specified

* add support for grade column codes

* grades: join code and category together

* add cosmetic ui changes + fix build issues

* fix proguard rules (attempt 1)

* add new Retrofit2 rules

* add new ProGuard rules + fix QR scanning

* fix agenda view crash when building release variant

* improve LessonDetailsDialog

* remove duplicated string extension

* set separate app ID & icon for debug version

* remove unneeded import statement

* fix collapsing toolbar title when doing back gesture

* remove useless dependencies

* fix UI issues on old Android versions

* fix missing color resources + cleanup dependencies

* fix release building issue

* fix release building issue & remove ripple from NavView

* move version badge to the top bar

* Revert changes introduced by rebase

* Update NavLib from sadorowo/NavLib

* Revert "add lock layout function (szkolny-eu/szkolny-android#199)"

This reverts commit 2fd7038d0c.

* Revert "add support for grade column codes"

* Revert unnecessary code changes, part 1

* Lower minSdk to 19

* Revert unnecessary code changes, part 2

* Add new application logo

* Restore bottom bar support in NavLib, revert unnecessary changes

* Use new IconicsMaterialButton in MessageFragment

* Migrate NavView to view binding

* Support IconButton in IconicsMaterialButton

* Cleanup NavLib w600dp styles

* Remove NavLib text styles

* Refactor all application themes, update styles in layouts

* Move enums and config entry to .data, fix app crashing

* Rename non-theme styles to AppStyle

* Restructure app config classes, move config to .data

* Add Theme enum and UiManager, support basic theme changing

* Actually support basic theme changing

* Serialize enum as string, fix config migration, bring back DebugDb

* Fix changing themes, apply night mode in App

* Fix resolving ColorStateList attributes, add LabPlaygroundFragment

* add Iconics methods into ProGuard rules

* Replace home card icon buttons, remove unused icons

* Update gradle properties

* Update build.gradle

* Remove unnecessary dependencies

* Remove playstore icon

* Apply fixes after review

---------

Co-authored-by: Adam Kasprzycki <66315787+santoni0@users.noreply.github.com>
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2024-06-30 16:12:07 +02:00
Kuba Szczodrzyński
fadf1d7754
[Gradle] Add NavLib 0.8.0 as local module
Some checks failed
Nightly build / Prepare build environment (push) Has been cancelled
Nightly build / Build APK (push) Has been cancelled
Nightly build / Sign APK (push) Has been cancelled
Nightly build / Publish APK (push) Has been cancelled
2024-06-18 17:45:26 +02:00
Kuba Szczodrzyński
12c0c6f2ec
[UI] Always show event subject dropdown for university school. 2022-12-26 14:43:42 +01:00
Kuba Szczodrzyński
cac8f94407
[Gradle] Update Chucker to fix Android 12 crash issue. 2022-10-23 23:16:08 +02:00
Kuba Szczodrzyński
8e5f750a80
[Manifest] Remove APK install to comply with Google Play policies. 2022-09-18 23:05:46 +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
Kuba Szczodrzyński
54a61c6254
[Gradle] Update dependencies, update target SDK to 33 2022-09-09 12:47:20 +02:00
Kuba Szczodrzyński
1bf0679e92
[App] Disable SSLProvider in Google Play builds. 2022-02-21 20:36:17 +01:00
Kuba Szczodrzyński
5b5dc5cade
[Gradle] Add non-Play flavor without self-updater. 2022-02-21 20:19:29 +01: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
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
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
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
efa63452e7
[App] Fix Apply Changes not working due to manifest changes. 2021-09-10 17:17:31 +02:00
Kuba Szczodrzyński
8edc581f0b
[UI] Fix multiplicated day dialog in Agenda. (#61) 2021-09-08 22:48:48 +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
c88056ddb9
[Gradle] Update library dependencies. 2021-09-02 17:49:01 +02:00
Kuba Szczodrzyński
73f3ba17de
Merge branch 'develop' into feature/agenda-updates 2021-04-14 14:57: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
Kuba Szczodrzyński
12619f6bde
[Agenda] Update scroll listeners code. 2021-04-12 11:50:54 +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
e9a2dae1e4 [Gradle] Fix moving artifacts to release folder, again. 2021-04-05 10:56:13 +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
5301b4efad [Gradle] Add moving app bundles to release folder. 2021-04-03 15:35:00 +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
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
7e38445c98 [Gradle] Update NavLib and Iconics. 2021-03-29 22:51:48 +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
bf5fb5f623 [UI] Update main activity badge. 2021-03-27 14:06:30 +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
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
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
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
Kuba Szczodrzyński
ea3598bb6d [Gradle] Extract selective-dao dependency. 2021-03-21 20:11:37 +01:00