1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-09-20 12:39:08 -05:00

Merge branch 'release/0.23.1'

This commit is contained in:
Mikołaj Pich 2020-12-16 21:19:52 +01:00
commit 3486d52a26
7 changed files with 16 additions and 17 deletions

View File

@ -14,7 +14,7 @@ cache:
branches: branches:
only: only:
- develop - develop
- 0.23.0 - 0.23.1
android: android:
licenses: licenses:

View File

@ -18,8 +18,8 @@ android {
testApplicationId "io.github.tests.wulkanowy" testApplicationId "io.github.tests.wulkanowy"
minSdkVersion 17 minSdkVersion 17
targetSdkVersion 30 targetSdkVersion 30
versionCode 76 versionCode 77
versionName "0.23.0" versionName "0.23.1"
multiDexEnabled true multiDexEnabled true
resValue "string", "app_name", "Wulkanowy" resValue "string", "app_name", "Wulkanowy"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@ -142,7 +142,7 @@ configurations.all {
} }
dependencies { dependencies {
implementation "io.github.wulkanowy:sdk:0.23.0" implementation "io.github.wulkanowy:sdk:0.23.1"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'

View File

@ -3,7 +3,6 @@ package io.github.wulkanowy.utils
import android.util.Log import android.util.Log
import com.huawei.agconnect.crash.AGConnectCrash import com.huawei.agconnect.crash.AGConnectCrash
import fr.bipi.tressence.base.FormatterPriorityTree import fr.bipi.tressence.base.FormatterPriorityTree
import fr.bipi.tressence.common.StackTraceRecorder
import io.github.wulkanowy.sdk.exception.FeatureNotAvailableException import io.github.wulkanowy.sdk.exception.FeatureNotAvailableException
import io.github.wulkanowy.sdk.scrapper.exception.FeatureDisabledException import io.github.wulkanowy.sdk.scrapper.exception.FeatureDisabledException
import java.io.InterruptedIOException import java.io.InterruptedIOException
@ -39,7 +38,9 @@ class CrashLogExceptionTree : FormatterPriorityTree(Log.ERROR) {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) { override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
if (skipLog(priority, tag, message, t)) return if (skipLog(priority, tag, message, t)) return
connectCrash.setCustomKey("priority", priority) // Disabled due to a bug in the Huawei library
/*connectCrash.setCustomKey("priority", priority)
connectCrash.setCustomKey("tag", tag.orEmpty()) connectCrash.setCustomKey("tag", tag.orEmpty())
connectCrash.setCustomKey("message", message) connectCrash.setCustomKey("message", message)
@ -47,6 +48,6 @@ class CrashLogExceptionTree : FormatterPriorityTree(Log.ERROR) {
connectCrash.recordException(t) connectCrash.recordException(t)
} else { } else {
connectCrash.recordException(StackTraceRecorder(format(priority, tag, message))) connectCrash.recordException(StackTraceRecorder(format(priority, tag, message)))
} }*/
} }
} }

View File

@ -57,7 +57,7 @@ class LoginFormPresenter @Inject constructor(
fun updateUsernameLabel() { fun updateUsernameLabel() {
view?.run { view?.run {
setUsernameLabel(if ("login" in formHostValue) nicknameLabel else emailLabel) setUsernameLabel(if ("email" !in formHostValue) nicknameLabel else emailLabel)
} }
} }

View File

@ -1,7 +1,5 @@
Wersja 0.23.0 Wersja 0.23.1
- naprawiliśmy logowanie do dziennika Gdańskiej i Koszalińskiej Platformy Edukacyjnej - naprawiliśmy opis pola na email/login przy wyborze niestandardowych dzienników
- przy logowaniu odpowiednia odmiana dziennika jest ustawiana automatycznie na podstawie wpisanego adresu email - naprawiliśmy obsługę dziennika lubelskiego i koszalińskiego na starszych urządzeniach (z Androidem 5 i starszymi)
- dodaliśmy wyświetlanie średniej w ocenach klasy (jeśli włączone przez szkołę)
- dodaliśmy wyświetlanie zebrań
Pełna lista zmian: https://github.com/wulkanowy/wulkanowy/releases Pełna lista zmian: https://github.com/wulkanowy/wulkanowy/releases

View File

@ -98,8 +98,8 @@
<plurals name="grade_number_item"> <plurals name="grade_number_item">
<item quantity="one">%d známka</item> <item quantity="one">%d známka</item>
<item quantity="few">%d známky</item> <item quantity="few">%d známky</item>
<item quantity="many">%d známky</item> <item quantity="many">%d známek</item>
<item quantity="other">%d známky</item> <item quantity="other">%d známek</item>
</plurals> </plurals>
<plurals name="grade_new_items"> <plurals name="grade_new_items">
<item quantity="one">Nová známka</item> <item quantity="one">Nová známka</item>
@ -291,7 +291,7 @@
<item quantity="other">Máte %1$d nové neutrální pozornosti</item> <item quantity="other">Máte %1$d nové neutrální pozornosti</item>
</plurals> </plurals>
<!--Homework--> <!--Homework-->
<string name="homework_no_items">Žádné informace o domácím úkolu</string> <string name="homework_no_items">Žádné informace o domácích úkolech</string>
<string name="homework_mark_as_done">Označit jako hotové</string> <string name="homework_mark_as_done">Označit jako hotové</string>
<string name="homework_mark_as_undone">Neudělané</string> <string name="homework_mark_as_undone">Neudělané</string>
<string name="homework_attachments">Přílohy</string> <string name="homework_attachments">Přílohy</string>

View File

@ -1,6 +1,6 @@
buildscript { buildscript {
ext { ext {
kotlin_version = '1.4.20' kotlin_version = '1.4.21'
about_libraries = '8.6.3' about_libraries = '8.6.3'
hilt_version = "2.30.1-alpha" hilt_version = "2.30.1-alpha"
} }