Compare commits

..

3 commits

Author SHA1 Message Date
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
7 changed files with 9 additions and 15 deletions

View file

@ -1,7 +1,7 @@
<h3>Wersja 4.8.1, 2021-06-06</h3>
<h3>Wersja 4.8.2, 2021-06-15</h3>
<ul>
<li>Poprawiono funkcje logowania. @BxOxSxS</li>
<li>MobiDziennik: naprawiono wysyłanie wiadomości (błąd "nie znaleziono wiadomości").</li>
<li>Poprawiono funkcje logowania. @6Arin9</li>
<li>Naprawiono zatrzymanie aplikacji na ekranie planu lekcji. @doteq</li>
</ul>
<br>
<br>

View file

@ -9,7 +9,7 @@
/*secret password - removed for source code publication*/
static toys AES_IV[16] = {
0x90, 0x44, 0x08, 0xb8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
0x1d, 0xa7, 0x6e, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
unsigned char *agony(unsigned int laugh, unsigned char *box, unsigned char *heat);

View file

@ -43,7 +43,7 @@ const val LIBRUS_API_TOKEN_URL = "https://api.librus.pl/OAuth/Token"
const val LIBRUS_API_TOKEN_JST_URL = "https://api.librus.pl/OAuth/TokenJST"
const val LIBRUS_API_AUTHORIZATION = "Mjg6ODRmZGQzYTg3YjAzZDNlYTZmZmU3NzdiNThiMzMyYjE="
const val LIBRUS_API_SECRET_JST = "18b7c1ee08216f636a1b1a2440e68398"
const val LIBRUS_API_CLIENT_ID_JST = "49"
const val LIBRUS_API_CLIENT_ID_JST = "59"
//const val LIBRUS_API_CLIENT_ID_JST_REFRESH = "42"
const val LIBRUS_JST_DEMO_CODE = "68656A21"

View file

@ -46,6 +46,6 @@ object Signing {
/*fun provideKey(param1: String, param2: Long): ByteArray {*/
fun pleaseStopRightNow(param1: String, param2: Long): ByteArray {
return "$param1.MTIzNDU2Nzg5MDOlSskDmW===.$param2".sha256()
return "$param1.MTIzNDU2Nzg5MDn7mcwDD+===.$param2".sha256()
}
}

View file

@ -151,7 +151,7 @@ class TimetableDayFragment : LazyFragment(), CoroutineScope {
}
b.scrollView.isVisible = true
b.dayFrame.removeView(b.dayView)
b.dayFrame.removeView(dayView)
b.dayFrame.addView(dayView, 0)
// Inflate a label view for each hour the day view will display

View file

@ -36,12 +36,6 @@
android:layout_marginHorizontal="8dp"
android:background="@color/md_red_500"
tools:layout_marginTop="100dp" />
<com.linkedin.android.tachyon.DayView
android:id="@+id/dayView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:layout_height="match_parent" />
</FrameLayout>
</pl.szczodrzynski.edziennik.utils.ListenerScrollView>

View file

@ -5,8 +5,8 @@ buildscript {
kotlin_version = '1.4.31'
release = [
versionName: "4.8.1",
versionCode: 4080199
versionName: "4.8.2",
versionCode: 4080299
]
setup = [