diff --git a/.github/workflows/build-nightly-apk.yml b/.github/workflows/build-nightly-apk.yml
index bca267be..c64dba12 100644
--- a/.github/workflows/build-nightly-apk.yml
+++ b/.github/workflows/build-nightly-apk.yml
@@ -51,10 +51,12 @@ jobs:
androidHome: ${{ env.ANDROID_HOME }}
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
steps:
- - name: Setup JDK 1.8
- uses: actions/setup-java@v1
+ - name: Setup JDK 11
+ uses: actions/setup-java@v2
with:
- java-version: 1.8
+ distribution: 'zulu'
+ java-version: '11'
+ cache: 'gradle'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Clean build artifacts
diff --git a/.github/workflows/build-release-aab-play.yml b/.github/workflows/build-release-aab-play.yml
index ec0a7069..5f3026e6 100644
--- a/.github/workflows/build-release-aab-play.yml
+++ b/.github/workflows/build-release-aab-play.yml
@@ -43,10 +43,12 @@ jobs:
androidHome: ${{ env.ANDROID_HOME }}
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
steps:
- - name: Setup JDK 1.8
- uses: actions/setup-java@v1
+ - name: Setup JDK 11
+ uses: actions/setup-java@v2
with:
- java-version: 1.8
+ distribution: 'zulu'
+ java-version: '11'
+ cache: 'gradle'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Clean build artifacts
diff --git a/.github/workflows/build-release-apk.yml b/.github/workflows/build-release-apk.yml
index 169704c1..4816ee73 100644
--- a/.github/workflows/build-release-apk.yml
+++ b/.github/workflows/build-release-apk.yml
@@ -43,10 +43,12 @@ jobs:
androidHome: ${{ env.ANDROID_HOME }}
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
steps:
- - name: Setup JDK 1.8
- uses: actions/setup-java@v1
+ - name: Setup JDK 11
+ uses: actions/setup-java@v2
with:
- java-version: 1.8
+ distribution: 'zulu'
+ java-version: '11'
+ cache: 'gradle'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Clean build artifacts
diff --git a/.gitignore b/.gitignore
index 07e9f679..375b15e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -265,3 +265,4 @@ fabric.properties
# End of https://www.toptal.com/developers/gitignore/api/android,androidstudio,gradle,java,kotlin
signatures/
+.idea/*.xml
diff --git a/.idea/discord.xml b/.idea/discord.xml
deleted file mode 100644
index a04e4e5f..00000000
--- a/.idea/discord.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml
deleted file mode 100644
index 0dd4b354..00000000
--- a/.idea/kotlinc.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
deleted file mode 100644
index e497da99..00000000
--- a/.idea/runConfigurations.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index c0af6190..62f4c95c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,6 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
+apply plugin: 'kotlin-parcelize'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
@@ -35,6 +36,9 @@ android {
buildTypes {
debug {
minifyEnabled = false
+ manifestPlaceholders = [
+ buildTimestamp: 0
+ ]
}
release {
minifyEnabled = true
@@ -120,25 +124,25 @@ dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
// Android Jetpack
- implementation "androidx.appcompat:appcompat:1.2.0"
+ implementation "androidx.appcompat:appcompat:1.3.1"
implementation "androidx.cardview:cardview:1.0.0"
- implementation "androidx.constraintlayout:constraintlayout:2.0.4"
- implementation "androidx.core:core-ktx:1.3.2"
- implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.0"
- implementation "androidx.navigation:navigation-fragment-ktx:2.3.4"
- implementation "androidx.recyclerview:recyclerview:1.1.0"
- implementation "androidx.room:room-runtime:2.2.6"
- implementation "androidx.work:work-runtime-ktx:2.5.0"
- kapt "androidx.room:room-compiler:2.2.6"
+ implementation "androidx.constraintlayout:constraintlayout:2.1.0"
+ implementation "androidx.core:core-ktx:1.6.0"
+ implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"
+ implementation "androidx.navigation:navigation-fragment-ktx:2.3.5"
+ implementation "androidx.recyclerview:recyclerview:1.2.1"
+ implementation "androidx.room:room-runtime:2.3.0"
+ implementation "androidx.work:work-runtime-ktx:2.6.0"
+ kapt "androidx.room:room-compiler:2.3.0"
// Google design libs
- implementation "com.google.android.material:material:1.3.0"
+ implementation "com.google.android.material:material:1.4.0"
implementation "com.google.android:flexbox:2.0.1"
// Play Services/Firebase
- implementation "com.google.android.gms:play-services-wearable:17.0.0"
- implementation "com.google.firebase:firebase-core:18.0.2"
- implementation "com.google.firebase:firebase-crashlytics:17.4.0"
+ implementation "com.google.android.gms:play-services-wearable:17.1.0"
+ implementation "com.google.firebase:firebase-core:19.0.1"
+ implementation "com.google.firebase:firebase-crashlytics:18.2.1"
implementation("com.google.firebase:firebase-messaging") { version { strictly "20.1.3" } }
// OkHttp, Retrofit, Gson, Jsoup
@@ -153,7 +157,7 @@ dependencies {
// Szkolny.eu libraries/forks
implementation "eu.szkolny:android-snowfall:1ca9ea2da3"
- implementation "eu.szkolny:agendacalendarview:5431f03098"
+ implementation "eu.szkolny:agendacalendarview:ac0f3dcf42"
implementation "eu.szkolny:cafebar:5bf0c618de"
implementation "eu.szkolny.fslogin:lib:2.0.0"
implementation "eu.szkolny:material-about-library:1d5ebaf47c"
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index af4b653a..cbe7bd48 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -146,6 +146,7 @@
android:configChanges="orientation|keyboardHidden"
android:theme="@style/Base.Theme.AppCompat" />
+
-
@@ -38,6 +39,12 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />-->
+
+
+
+
diff --git a/app/src/main/res/layout/message_fragment.xml b/app/src/main/res/layout/message_fragment.xml
index 1bae5bb5..2ca32c3d 100644
--- a/app/src/main/res/layout/message_fragment.xml
+++ b/app/src/main/res/layout/message_fragment.xml
@@ -57,7 +57,7 @@
android:visibility="visible"
tools:visibility="gone"/>
-
-
+
diff --git a/app/src/main/res/layout/messages_list_fragment.xml b/app/src/main/res/layout/messages_list_fragment.xml
index 0399af9b..78de5194 100644
--- a/app/src/main/res/layout/messages_list_fragment.xml
+++ b/app/src/main/res/layout/messages_list_fragment.xml
@@ -24,6 +24,7 @@
android:layout_gravity="center"
android:drawablePadding="16dp"
android:fontFamily="sans-serif-light"
+ android:gravity="center"
android:text="@string/messages_no_data"
android:textSize="24sp"
android:visibility="gone"
diff --git a/app/src/main/res/layout/notifications_list_fragment.xml b/app/src/main/res/layout/notifications_list_fragment.xml
index a5c9aa90..e73d45d5 100644
--- a/app/src/main/res/layout/notifications_list_fragment.xml
+++ b/app/src/main/res/layout/notifications_list_fragment.xml
@@ -24,6 +24,7 @@
android:layout_gravity="center"
android:drawablePadding="16dp"
android:fontFamily="sans-serif-light"
+ android:gravity="center"
android:text="@string/notifications_no_data"
android:textSize="24sp"
android:visibility="gone"
diff --git a/app/src/main/res/layout/template_list_fragment.xml b/app/src/main/res/layout/template_list_fragment.xml
index 79646608..19c7221c 100644
--- a/app/src/main/res/layout/template_list_fragment.xml
+++ b/app/src/main/res/layout/template_list_fragment.xml
@@ -29,6 +29,7 @@
android:layout_gravity="center"
android:drawablePadding="16dp"
android:fontFamily="sans-serif-light"
+ android:gravity="center"
android:text="@string/grades_no_data"
android:textSize="24sp"
android:visibility="gone"
diff --git a/app/src/main/res/layout/template_list_page_fragment.xml b/app/src/main/res/layout/template_list_page_fragment.xml
index 09f8bfda..062b4c89 100644
--- a/app/src/main/res/layout/template_list_page_fragment.xml
+++ b/app/src/main/res/layout/template_list_page_fragment.xml
@@ -24,6 +24,7 @@
android:layout_gravity="center"
android:drawablePadding="16dp"
android:fontFamily="sans-serif-light"
+ android:gravity="center"
android:text="@string/grades_no_data"
android:textSize="24sp"
android:visibility="gone"
diff --git a/app/src/main/res/layout/timetable_day_fragment.xml b/app/src/main/res/layout/timetable_day_fragment.xml
index 5464482d..041f6e1f 100644
--- a/app/src/main/res/layout/timetable_day_fragment.xml
+++ b/app/src/main/res/layout/timetable_day_fragment.xml
@@ -36,12 +36,6 @@
android:layout_marginHorizontal="8dp"
android:background="@color/md_red_500"
tools:layout_marginTop="100dp" />
-
-
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 431fd960..b86e42af 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -856,7 +856,7 @@
Open-Source-Lizenzen
Datenschutzrichtlinie
E-Klassenbuch
- © Kuba Szczodrzyński && Kacper Ziubryniewicz\nSeptember 2018 - Mai 2021
+ © Kuba Szczodrzyński && Kacper Ziubryniewicz\nSeptember 2018 - Juni 2021
Klicken Sie hier, um nach Aktualisierungen zu suchen
Aktualisierung
Version
@@ -1234,4 +1234,6 @@
Netzwerkverbindung
(Kind)
(Elternteil)
+ Anwendungsentwickler
+ Liste der Szkolny-Entwickler
diff --git a/app/src/main/res/values-en/plurals.xml b/app/src/main/res/values-en/plurals.xml
index 1bada092..a600f325 100644
--- a/app/src/main/res/values-en/plurals.xml
+++ b/app/src/main/res/values-en/plurals.xml
@@ -55,4 +55,13 @@
- %1$s - %2$d unread
- %1$s - %2$d unread
-
\ No newline at end of file
+
+
+ - %d contribution
+ - %d contributions
+
+
+ - %d translation
+ - %d translations
+
+
diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml
index e519d272..a557681a 100644
--- a/app/src/main/res/values-en/strings.xml
+++ b/app/src/main/res/values-en/strings.xml
@@ -858,7 +858,7 @@
Open-source licenses
Privacy policy
E-register
- © Kuba Szczodrzyński && Kacper Ziubryniewicz\nSeptember 2018 - May 2021
+ © Kuba Szczodrzyński && Kacper Ziubryniewicz\nSeptember 2018 - June 2021
Click to check for updates
Update
Version
@@ -1237,6 +1237,10 @@
In order to download the file, you have to grant file storage permission for the application.\n\nClick OK to grant the permission.
You denied the required permissions for the application.\n\nIn order to grant the permission, open the Permissions screen for Szkolny.eu in phone settings.\n\nClick OK to open app settings now.
Required permissions
+ App contributors
+ List of Szkolny.eu contributors
+ Contributors
+ Translators
Hide sticks from old
Official build
Google Play
diff --git a/app/src/main/res/values/errors.xml b/app/src/main/res/values/errors.xml
index d90af9ed..827227c5 100644
--- a/app/src/main/res/values/errors.xml
+++ b/app/src/main/res/values/errors.xml
@@ -165,6 +165,7 @@
ERROR_VULCAN_HEBE_CERTIFICATE_GONE
ERROR_VULCAN_HEBE_SERVER_ERROR
ERROR_VULCAN_HEBE_ENTITY_NOT_FOUND
+ ERROR_VULCAN_HEBE_MISSING_SENDER_ENTRY
ERROR_VULCAN_API_DEPRECATED
ERROR_LOGIN_EDUDZIENNIK_WEB_INVALID_LOGIN
@@ -363,6 +364,7 @@
VULCAN®: urządzenie usunięte. Zaloguj się ponownie do dziennika.
VULCAN®: błąd serwera. Dziennik może być przeciążony.
VULCAN®: nie znaleziono bytu
+ Błąd wysyłania wiadomości - brak informacji o nadawcy.
W związku z wygaszeniem aplikacji Dzienniczek+ przez firmę Vulcan, należy zalogować się ponownie.\n\nAby móc dalej korzystać z aplikacji Szkolny.eu, otwórz Ustawienia i wybierz opcję Dodaj nowego ucznia.\nNastępnie zaloguj się do dziennika Vulcan zgodnie z instrukcją.\n\nPrzepraszamy za niedogodności.
Błędny email lub hasło
diff --git a/app/src/main/res/values/plurals.xml b/app/src/main/res/values/plurals.xml
index bb74ba85..bcd87eca 100644
--- a/app/src/main/res/values/plurals.xml
+++ b/app/src/main/res/values/plurals.xml
@@ -159,4 +159,15 @@
- %d oceny
- %d ocen
+
+
+ - %d commit
+ - %d commity
+ - %d commit\'ów
+
+
+ - %d tłumaczenie
+ - %d tłumaczenia
+ - %d tłumaczeń
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 5aa206af..b11631b5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -921,7 +921,7 @@
Licencje open-source
Polityka prywatności
E-dziennik
- © Kuba Szczodrzyński && Kacper Ziubryniewicz\nwrzesień 2018 - maj 2021
+ © Kuba Szczodrzyński && Kacper Ziubryniewicz\nwrzesień 2018 - czerwiec 2021
Kliknij, aby sprawdzić aktualizacje
Aktualizacja
Wersja
@@ -1391,6 +1391,10 @@
Zobacz także
Wejdź na stronę aplikacji
Uzyskaj pomoc lub wesprzyj autorów
+ Twórcy aplikacji
+ Lista twórców Szkolnego
+ Współtwórcy
+ Tłumacze
Kod źródłowy
Pomóż w rozwoju aplikacji na GitHubie
Nazwa profilu
@@ -1457,4 +1461,6 @@
Ocena: %s (waga %s)\nPrzedmiot: %s\nKategoria: %s\nOpis: %s\nNauczyciel: %s
Rodzaj: %s\nNauczyciel: %s\nTreść: %s
Rodzaj: %s\nTermin: %s, %s\nNr lekcji: %s\nPrzedmiot: %s\nNauczyciel: %s\nTemat lekcji: %s
+ \@%s - %s
+ Najłatwiejszy sposób na korzystanie z e-dziennika.
diff --git a/build.gradle b/build.gradle
index a2eb932b..7e6fb9f9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,11 +2,11 @@
buildscript {
ext {
- kotlin_version = '1.4.31'
+ kotlin_version = '1.5.20'
release = [
- versionName: "4.8",
- versionCode: 4080099
+ versionName: "4.9",
+ versionCode: 4090099
]
setup = [
@@ -21,10 +21,10 @@ buildscript {
jcenter()
}
dependencies {
- classpath "com.android.tools.build:gradle:4.2.0-beta06"
+ classpath 'com.android.tools.build:gradle:7.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'com.google.gms:google-services:4.3.5'
- classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1'
+ classpath 'com.google.gms:google-services:4.3.10'
+ classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
}
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 9bd0ad16..80cea62c 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Wed Feb 17 14:04:38 CET 2021
distributionBase=GRADLE_USER_HOME
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME