Compare commits
No commits in common. "master" and "gh-pages" have entirely different histories.
40 changed files with 23 additions and 3240 deletions
|
@ -1,16 +0,0 @@
|
|||
[*]
|
||||
charset=utf-8
|
||||
end_of_line=lf
|
||||
insert_final_newline=true
|
||||
indent_style=space
|
||||
indent_size=4
|
||||
|
||||
[*.json]
|
||||
indent_size=2
|
||||
|
||||
[*.yml]
|
||||
indent_size=2
|
||||
|
||||
[*.{kt,kts}]
|
||||
disabled_rules=import-ordering,no-wildcard-imports
|
||||
max_line_length=177
|
65
.github/workflows/deploy.yml
vendored
65
.github/workflows/deploy.yml
vendored
|
@ -1,65 +0,0 @@
|
|||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: fkirc/skip-duplicate-actions@master
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 11
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
||||
- name: Generate messages
|
||||
run: ./gradlew run
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: ./dist
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
pages: write
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
|
||||
purge-cache:
|
||||
runs-on: ubuntu-latest
|
||||
needs: deploy
|
||||
steps:
|
||||
- name: "Call Cloudflare API"
|
||||
uses: indiesdev/curl@v1
|
||||
with:
|
||||
method: "POST"
|
||||
url: https://api.cloudflare.com/client/v4/zones/0dd93531047ba376c2a1167f841c2bfd/purge_cache
|
||||
headers: ${{ secrets.custom_headers }}
|
||||
bearer-token: ${{ secrets.bearer_token }}
|
||||
body: '{"files": ["https://messages.wulkanowy.net.pl/", "https://messages.wulkanowy.net.pl/v1.json", "https://messages.wulkanowy.net.pl/mapping1.json", "https://messages.wulkanowy.net.pl/mapping2.json", "https://messages.wulkanowy.net.pl/mapping3.json", "https://messages.wulkanowy.net.pl/mapping4.json", "https://messages.wulkanowy.net.pl/end.json"]}'
|
||||
accept: 200
|
||||
log-response: false
|
||||
retries: 3
|
79
.gitignore
vendored
79
.gitignore
vendored
|
@ -1,79 +0,0 @@
|
|||
# Compiled class file
|
||||
*.class
|
||||
|
||||
# Log file
|
||||
*.log
|
||||
|
||||
# BlueJ files
|
||||
*.ctxt
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
.mtj.tmp/
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
*.war
|
||||
*.nar
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
# IntelliJ configurations
|
||||
*.iml
|
||||
.idea/workspace.xml
|
||||
.idea/tasks.xml
|
||||
#.idea/gradle.xml
|
||||
.idea/assetWizardSettings.xml
|
||||
.idea/dictionaries
|
||||
.idea/libraries
|
||||
.idea/caches
|
||||
.idea/modules.xml
|
||||
.idea/navEditor.xml
|
||||
.idea/caches/
|
||||
.idea/libraries/
|
||||
.idea/shelf/
|
||||
.idea/.name
|
||||
.idea/compiler.xml
|
||||
.idea/copyright/profiles_settings.xml
|
||||
.idea/encodings.xml
|
||||
.idea/misc.xml
|
||||
.idea/scopes/scope_settings.xml
|
||||
.idea/vcs.xml
|
||||
.idea/jsLibraryMappings.xml
|
||||
.idea/datasources.xml
|
||||
.idea/dataSources.ids
|
||||
.idea/sqlDataSources.xml
|
||||
.idea/dynamic.xml
|
||||
.idea/uiDesigner.xml
|
||||
.idea/runConfigurations.xml
|
||||
.idea/discord.xml
|
||||
.idea/jarRepositories.xml
|
||||
.gradle
|
||||
build/
|
||||
out/
|
||||
|
||||
# Ignore Gradle GUI config
|
||||
gradle-app.setting
|
||||
|
||||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||
!gradle-wrapper.jar
|
||||
|
||||
# Cache of project
|
||||
.gradletasknamecache
|
||||
|
||||
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||
# gradle/wrapper/gradle-wrapper.properties
|
||||
|
||||
*iml
|
||||
classes
|
||||
.DS_Store
|
||||
.idea/libraries-with-intellij-classes.xml
|
||||
dist/
|
||||
!dist/favicon.ico
|
||||
.idea/jsonSchemas.xml
|
||||
.idea/kotlinc.xml
|
||||
.idea/jpa-buddy.xml
|
8
.idea/.gitignore
vendored
8
.idea/.gitignore
vendored
|
@ -1,8 +0,0 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
|
@ -1,10 +0,0 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<JetCodeStyleSettings>
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</JetCodeStyleSettings>
|
||||
<codeStyleSettings language="kotlin">
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
|
@ -1,5 +0,0 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</state>
|
||||
</component>
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="delegatedBuild" value="true" />
|
||||
<option name="testRunner" value="GRADLE" />
|
||||
<option name="distributionType" value="WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="corretto-17" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/generator" />
|
||||
<option value="$PROJECT_DIR$/pojos" />
|
||||
</set>
|
||||
</option>
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
1
CNAME
Normal file
1
CNAME
Normal file
|
@ -0,0 +1 @@
|
|||
messages.wulkanowy.net.pl
|
21
LICENSE
21
LICENSE
|
@ -1,21 +0,0 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Wulkanowy 2021 - now
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -1,6 +0,0 @@
|
|||
# Wulkanowy Messages
|
||||
|
||||
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/wulkanowy/messages/deploy.yml?branch=master&style=flat-square)](https://github.com/wulkanowy/messages/actions)
|
||||
[![GitHub deployments](https://img.shields.io/github/deployments/wulkanowy/messages/github-pages?style=flat-square)](https://messages.wulkanowy.net.pl/)
|
||||
|
||||
Wiadomości znajdują się w pliku [messages.kt](https://github.com/wulkanowy/messages/blob/master/generator/src/main/kotlin/messages.kt).
|
24
build.gradle
24
build.gradle
|
@ -1,24 +0,0 @@
|
|||
buildscript {
|
||||
ext {
|
||||
kotlin_version = "1.9.0"
|
||||
serialization_version = "1.6.0"
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
|
||||
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
|
||||
}
|
||||
|
||||
version = "0.1.0-SNAPSHOT"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven" }
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
|
@ -1,24 +0,0 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id 'org.jetbrains.kotlin.jvm'
|
||||
id 'org.jetbrains.kotlin.plugin.serialization'
|
||||
}
|
||||
|
||||
mainClassName = 'MainKt'
|
||||
|
||||
dependencies {
|
||||
implementation project(":pojos")
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version"
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-html-jvm:0.9.1'
|
||||
|
||||
testImplementation platform('org.junit:junit-bom:5.10.0')
|
||||
testImplementation "org.junit.jupiter:junit-jupiter"
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
import io.github.wulkanowy.messages.pojo.EndMessage
|
||||
|
||||
val endMessage = EndMessage(
|
||||
isVisible = false,
|
||||
title = "Koniec aplikacji Wulkanowy",
|
||||
content = "W związku z ostatnimi ograniczeniami w dostępie do strony dziennika VULCAN, z przykrością informujemy, że aplikacja Wulkanowy zostaje zakończona. Była to trudna decyzja, ale okoliczności nas do tego zmusiły.<br /><br />Serdecznie dziękujemy za zaufanie i wsparcie przez te lata. Wasze zaangażowanie, uwagi i pozytywne opinie były dla nas nieocenione. Mamy nadzieję, że nasza aplikacja przyczyniła się do usprawnienia Waszej pracy i nauki.<br /><br />Informujemy, że dostęp do dziennika będzie możliwy poprzez oficjalną aplikację Dzienniczek VULCAN lub bezpośrednio przez stronę internetową dziennika.<br /><br />Zespół Wulkanowy",
|
||||
)
|
|
@ -1,44 +0,0 @@
|
|||
import io.github.wulkanowy.messages.pojo.Message
|
||||
import kotlinx.html.*
|
||||
import kotlinx.html.stream.appendHTML
|
||||
import java.time.LocalDate
|
||||
import java.time.LocalDateTime
|
||||
|
||||
fun generateHtml(messages: List<Message>): String = buildString {
|
||||
appendLine("<!DOCTYPE html>")
|
||||
appendHTML().html {
|
||||
lang = "pl"
|
||||
head {
|
||||
meta { charset = "UTF-8" }
|
||||
title("Wulkanowy Messages")
|
||||
}
|
||||
body {
|
||||
h1 { +"Wulkanowy Messages" }
|
||||
ul {
|
||||
messages.forEach {
|
||||
li {
|
||||
b {
|
||||
+"${it.id}. "
|
||||
if (!it.destinationUrl.isNullOrBlank()) {
|
||||
a(it.destinationUrl) {
|
||||
+it.title
|
||||
}
|
||||
} else +it.title
|
||||
}
|
||||
br
|
||||
span {
|
||||
+it.content
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
footer {
|
||||
+"© ${LocalDate.now().year} by Wulkanowy | "
|
||||
+"wygenerowano ${LocalDateTime.now()} | "
|
||||
a("v1.json") {
|
||||
+"raw json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,78 +0,0 @@
|
|||
import io.github.wulkanowy.messages.pojo.Message
|
||||
import io.github.wulkanowy.messages.pojo.MessageType
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.json.Json
|
||||
import mapping.Mapping
|
||||
|
||||
@OptIn(ExperimentalSerializationApi::class)
|
||||
val json = Json {
|
||||
encodeDefaults = true
|
||||
explicitNulls = false
|
||||
}
|
||||
|
||||
fun generateMessagesJson(messages: List<Message>): String {
|
||||
return json.encodeToString(messages.addNewTypeMigration())
|
||||
}
|
||||
|
||||
fun generateMappingJson(
|
||||
endpoints: Map<String, Map<String, Map<String, String>>>,
|
||||
vTokenMap: Map<String, Map<String, Map<String, String>>>,
|
||||
vTokenSchemeMap: Map<String, Map<String, String>>,
|
||||
vHeaders: Map<String, Map<String, Map<String, String>>> = mapOf(),
|
||||
responseMap: Map<String, Map<String, Map<String, Map<String, String>>>> = mapOf(),
|
||||
): String {
|
||||
return json.encodeToString(
|
||||
Mapping(
|
||||
endpoints = endpoints,
|
||||
vTokens = vTokenMap,
|
||||
vTokenScheme = vTokenSchemeMap,
|
||||
vHeaders = vHeaders,
|
||||
responseMap = responseMap,
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
private val supportedTypes130 = listOf(
|
||||
MessageType.DASHBOARD_MESSAGE,
|
||||
)
|
||||
|
||||
private val supportedTypes157 = listOf(
|
||||
MessageType.GENERAL_MESSAGE,
|
||||
MessageType.DASHBOARD_MESSAGE,
|
||||
MessageType.LOGIN_MESSAGE,
|
||||
MessageType.PASS_RESET_MESSAGE,
|
||||
MessageType.ERROR_OVERRIDE,
|
||||
)
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
private fun List<Message>.addNewTypeMigration(): List<Message> {
|
||||
return map { item ->
|
||||
item.copy(
|
||||
type = when {
|
||||
MessageType.DASHBOARD_MESSAGE in item.types.orEmpty() -> MessageType.DASHBOARD_MESSAGE
|
||||
// default value up to version 130
|
||||
item.messageTypes.isNullOrEmpty() -> MessageType.DASHBOARD_MESSAGE
|
||||
else -> item.type ?: item.messageTypes
|
||||
?.firstOrNull { it in supportedTypes130 }
|
||||
},
|
||||
types = item.types ?: item.messageTypes
|
||||
?.filter { it in supportedTypes157 }
|
||||
?.takeIf { it.isNotEmpty() },
|
||||
versionMin = item.versionMin ?: when {
|
||||
// limit new message types to first version that will support it
|
||||
(item.messageTypes.orEmpty().let { types ->
|
||||
types.isNotEmpty() && types.all { it !in supportedTypes157 }
|
||||
}) -> 158
|
||||
// first app version, which correctly handles other types
|
||||
(item.messageTypes.orEmpty() - supportedTypes130).isNotEmpty() -> 131
|
||||
else -> null
|
||||
},
|
||||
// used up to version 145
|
||||
isDismissible = when {
|
||||
item.isXVisible -> true
|
||||
else -> item.isDismissible
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
import kotlinx.serialization.encodeToString
|
||||
import mapping.*
|
||||
import java.io.File
|
||||
|
||||
fun main() {
|
||||
checkIdUniqueness(messages)
|
||||
|
||||
val filteredMessages = messages.filter { it.isVisible }
|
||||
|
||||
val messagesV1 = generateMessagesJson(filteredMessages)
|
||||
val mappingV1 = generateMappingJson(
|
||||
endpoints = ApiEndpointsMap,
|
||||
vTokenMap = ApiEndpointsVTokenMap,
|
||||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
)
|
||||
val mappingV2 = generateMappingJson(
|
||||
endpoints = ApiEndpointsMap,
|
||||
vTokenMap = ApiEndpointsVTokenMap,
|
||||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
vHeaders = ApiEndpointsVHeaders,
|
||||
)
|
||||
val mappingV3 = generateMappingJson(
|
||||
endpoints = ApiEndpointsMapV3,
|
||||
vTokenMap = ApiEndpointsVTokenMap,
|
||||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
vHeaders = ApiEndpointsVHeaders,
|
||||
)
|
||||
val mappingV4 = generateMappingJson(
|
||||
endpoints = ApiEndpointsMapV4,
|
||||
vTokenMap = ApiEndpointsVTokenMap,
|
||||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
vHeaders = ApiEndpointsVHeaders,
|
||||
responseMap = ApiEndpointsResponseMapping,
|
||||
)
|
||||
val html = generateHtml(filteredMessages)
|
||||
val end = json.encodeToString(endMessage)
|
||||
|
||||
File("../dist/v1.json").writeText(messagesV1)
|
||||
File("../dist/end.json").writeText(end)
|
||||
File("../dist/mapping1.json").writeText(mappingV1)
|
||||
File("../dist/mapping2.json").writeText(mappingV2)
|
||||
File("../dist/mapping3.json").writeText(mappingV3)
|
||||
File("../dist/mapping4.json").writeText(mappingV4)
|
||||
File("../dist/index.html").writeText(html)
|
||||
}
|
|
@ -1,656 +0,0 @@
|
|||
package mapping
|
||||
|
||||
private val ApiEndpoints0006Student = mapOf(
|
||||
"Autoryzacja" to "48000dd3-47f4-420c-be20-02f2f8ea7519",
|
||||
"DostepOffice" to "e2521d26-8247-4aa7-a30d-74957530e9d6",
|
||||
"EgzaminySemestralne" to "37fd9e21-5d07-4f37-a84c-985fa219400d",
|
||||
"EgzaminyZewnetrzne" to "1e7839ea-d736-4408-ba9a-2f0e5ef4e481",
|
||||
"EwidencjaObecnosci" to "a894cd94-9107-49f5-b4b7-1db873bc72ff",
|
||||
"FormularzeSzablony" to "8114ebf1-3d3f-45d9-b0f6-b964bf7c76fe",
|
||||
"FormularzeWysylanie" to "84f76c91-a7c2-481b-94d0-5cd51764d1e1",
|
||||
"Frekwencja" to "ab864850-7fbc-4699-bd2b-f4d14a1c6dfc",
|
||||
"FrekwencjaStatystyki" to "24f19397-4859-405f-8574-0ea44f13ad32",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "79ef0465-026d-4a5b-a0af-2a5f375a1089",
|
||||
"Homework" to "d3f909d5-63d0-44c2-a404-132e0ddac121",
|
||||
"Jadlospis" to "61c0e909-c307-402b-8cb1-67029ffdeca6",
|
||||
"LekcjeZaplanowane" to "0fe7707d-fbbd-4757-ac94-a6f58335eaea",
|
||||
"LekcjeZrealizowane" to "13ac9c1d-a53d-4250-9111-ebccbd44e28b",
|
||||
"Oceny" to "1bb0dc78-acef-4430-8f66-46f482259142",
|
||||
"Ogloszenia" to "c30df593-1907-48ce-a752-5cfd5ed03f24",
|
||||
"Oplaty" to "51ae0f70-6327-430c-a7f1-be036e8e44e2",
|
||||
"PlanZajec" to "01c94be1-ac72-4aca-95e4-29342dc57782",
|
||||
"Platnosc" to "6d4957dc-1418-41db-9598-18d12a870217",
|
||||
"PlatnoscMetadata" to "9d2cc24a-c022-4a40-9e7c-662e398b797c",
|
||||
"PodrecznikiLataSzkolne" to "e278e2c3-6fd9-472e-9963-60e1a10290d6",
|
||||
"PodrecznikiUcznia" to "568a3da1-2c5c-4ea2-8f24-f1fbc0d3bae4",
|
||||
"Pomoc" to "db34bd5f-1417-4479-ba4b-2e847dc7781e",
|
||||
"RejestracjaUrzadzeniaToken" to "0d7ec4e7-afcb-4fca-9b9b-7102804f4af9",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "9c675268-4e7f-43ba-924d-cbe0bbe20321",
|
||||
"RozpoczeciePlatnosci" to "f2ba09db-727b-4c61-927e-6e7b7b350926",
|
||||
"ScalanieKont" to "ea1f58ea-2f27-41bb-b94d-818a8fbecabc",
|
||||
"Sprawdziany" to "6f43a00d-2846-4be3-b8d3-49a42f18acd9",
|
||||
"Statystyki" to "59a8772d-8082-4927-8351-a711da917995",
|
||||
"SzkolaINauczyciele" to "4aafbcb8-0b92-4dcb-849a-1a69f8d0cf63",
|
||||
"Uczen" to "badb2896-942f-4c80-8eeb-a6c0cdaada96",
|
||||
"UczenCache" to "be5e0cdc-b442-41ea-8079-1fc2ebde99a8",
|
||||
"UczenDziennik" to "1c462d92-8b30-4c3d-9803-cc1caac26da0",
|
||||
"UczenZdjecie" to "8923cafb-ff76-4305-84c3-d2ae4891306c",
|
||||
"Usprawiedliwienia" to "982537df-6fb1-47ef-a9e0-1ee68e3b868f",
|
||||
"UwagiIOsiagniecia" to "e5cd2a74-a930-46a4-81db-66cd05506cff",
|
||||
"ZarejestrowaneUrzadzenia" to "77d0875d-4c5e-4903-94cc-5757e6081288",
|
||||
"Zebrania" to "f455060f-76e6-4d43-9708-0ba51a4778f6",
|
||||
"ZebraniaObecnosc" to "638ed2ad-0cce-4736-bd55-40b8f6977767",
|
||||
"ZgloszoneNieobecnosci" to "5e394724-80f5-4472-9858-b769cdc3c4fd",
|
||||
)
|
||||
|
||||
private val ApiEndpoints0010StudentPlus = mapOf(
|
||||
"Context" to "99f04f67-d7f6-4f30-9d02-61cdd656612f",
|
||||
"AutoryzacjaPesel" to "febb23ab-090b-45d0-9c86-b65f44c2baf0",
|
||||
"Frekwencja" to "604fd0c1-ce58-4b60-9603-6e219b473676",
|
||||
"Usprawiedliwienia" to "640531d3-f986-4c1d-a6dd-d57847ca9cd8",
|
||||
"FrekwencjaStatystyki" to "1d15fb9f-dda6-42e4-a571-e8e0c2ecad72",
|
||||
"ZarejestrowaneUrzadzenia" to "ca848077-9fbc-4716-b0ed-17c84b4fc86b",
|
||||
"RejestracjaUrzadzeniaToken" to "2c9fc7e4-aa35-4346-9cf1-ae50008a95cb",
|
||||
"Zebrania" to "374625d5-fd26-4082-9fc2-dcf960e6c718",
|
||||
"RealizacjaZajec" to "0fc3ce8b-efa0-434a-b1a6-e23580ce7e0e",
|
||||
"SprawdzianyZadaniaDomowe" to "a5371f1b-db92-48a5-88e8-604c716c36a3",
|
||||
"SprawdzianSzczegoly" to "3365341e-56ce-42e4-a5ee-3f5e30599e02",
|
||||
"ZadanieDomoweSzczegoly" to "f636feab-3bdf-429d-8837-fec248ac6a27",
|
||||
"PlanZajec" to "79ad9207-6132-427d-bbfa-62a7cff7735f",
|
||||
"DniWolne" to "c537e0ea-3a28-40a0-b1d0-4cb051588727",
|
||||
"Uwagi" to "281cb35f-3943-43a3-910d-32c9198da099",
|
||||
"Nauczyciele" to "298c16b8-a257-4420-aa96-627c1d8957bf",
|
||||
"Informacje" to "6773b9c9-bd7c-47fd-9df6-9501d29c40d7",
|
||||
"DaneUcznia" to "c40b5a6f-4eb5-4b10-b35c-dc8e063ec6f8",
|
||||
"UczenZdjecie" to "c031961d-3700-494f-bb29-522a54a7097f",
|
||||
"OkresyKlasyfikacyjne" to "18428deb-8f85-4f97-99b0-0ec35178edcc",
|
||||
"Oceny" to "83cbb389-f3ab-404d-8ecc-9e687b1b958c",
|
||||
)
|
||||
|
||||
private val ApiEndpoints00010Messages = mapOf(
|
||||
"Skrzynki" to "99d282b8-c52a-486f-b182-081f17ab575b",
|
||||
"Odebrane" to "9a3adc9d-57c0-489a-96f4-17216ad7f39b",
|
||||
"OdebraneSkrzynka" to "87002a35-79b5-4098-9217-2f4580ed5c4f",
|
||||
"Wyslane" to "813de405-818e-4bea-bb27-bb9ca58e4b35",
|
||||
"WyslaneSkrzynka" to "20fe222f-93ab-4862-ae1c-df4c6b91eed9",
|
||||
"Usuniete" to "b7c90b28-9e16-4631-859b-416dc67988f4",
|
||||
"UsunieteSkrzynka" to "845deb00-e600-420a-bec4-7f8424a09024",
|
||||
"WiadomoscSzczegoly" to "69f036da-5615-4b31-af18-cec2f10d2f0e",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "05301b98-99e9-405e-b373-b6b475848191",
|
||||
"WiadomoscNowa" to "47625b4d-8492-4177-bf98-e471e1e8345f",
|
||||
"Pracownicy" to "89c9a7c2-e062-4d68-a66b-fb8406712351",
|
||||
"MoveTrash" to "85be0a03-b0c0-4f2c-bd0c-660bb8ed7262",
|
||||
"RestoreTrash" to "8aec05e6-218e-4917-9f0b-8baed1560435",
|
||||
"Delete" to "c2a7feca-f2f8-4c29-8182-ee60d8dc0f8f",
|
||||
)
|
||||
|
||||
val ApiEndpointsMap = mapOf(
|
||||
"24.04.0002.58666" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja" to "00b61915-f3ec-421d-b7af-07aa8c4c162f",
|
||||
"DostepOffice" to "efa4a7ac-27bf-49af-90ff-ae0852339dd3",
|
||||
"EgzaminySemestralne" to "32915d4e-e542-4756-8c4b-c600f674f488",
|
||||
"EgzaminyZewnetrzne" to "9b48403a-cc4f-46a5-a51b-f04fea8753ee",
|
||||
"EwidencjaObecnosci" to "4ae4c4f5-209e-40e0-80db-3d77c484d528",
|
||||
"FormularzeSzablony" to "e36648d3-83fa-491b-8e91-5bea927120f1",
|
||||
"FormularzeSzablonyDownload" to "e1a812dd-9399-4354-aa5e-77304e042602",
|
||||
"FormularzeWysylanie" to "aa2d4eca-517c-4b53-ac44-8d5ea315bb7f",
|
||||
"Frekwencja" to "cc65835b-721d-4f4b-a316-799aed29c56f",
|
||||
"FrekwencjaStatystyki" to "a3ebd829-ee89-41c5-81c3-35a812c98640",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "4c4133e2-cac7-444e-ab26-83501e5ddce5",
|
||||
"Homework" to "1dfb0cc9-584c-46c9-8f8b-bad061f9ebee",
|
||||
"Jadlospis" to "0c746ff5-f4cb-4537-b269-e3a4ac215eea",
|
||||
"LekcjeZaplanowane" to "3e8440cc-c832-45d9-abb4-3046977adb14",
|
||||
"LekcjeZrealizowane" to "9155e959-b2e7-4e05-9f2b-4773916b6dc2",
|
||||
"Oceny" to "42fd0eae-afaa-4772-ab73-66cdc1577649",
|
||||
"Ogloszenia" to "7e92f621-b90d-462e-ba6c-8b0110eb6494",
|
||||
"Oplaty" to "590bff89-a3ed-4bae-b0df-a18bdb1614e3",
|
||||
"PlanZajec" to "f6495353-4047-4752-91b6-ca202990e9e0",
|
||||
"Platnosc" to "4ba184c1-4419-4423-8864-8a6d7d1261c3",
|
||||
"PlatnoscMetadata" to "65c91912-8925-4bf2-b150-504324d781b8",
|
||||
"PodrecznikiLataSzkolne" to "862000c9-06a1-4505-b730-7fc3ed194007",
|
||||
"PodrecznikiUcznia" to "f65af6b8-1d86-4a47-9324-2c941eeb0140",
|
||||
"Pomoc" to "3380c914-a20d-44cd-9480-b2a64a3b5cf7",
|
||||
"RejestracjaUrzadzeniaToken" to "f51b7f8e-27fc-4522-aa87-fa881ee3afb8",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "9fd15a23-2ec0-48be-8596-c46b7c30daac",
|
||||
"RozpoczeciePlatnosci" to "cd025374-b202-4efe-996c-18e074083775",
|
||||
"ScalanieKont" to "e4ac68c9-cf32-4ff6-be19-677cb5e5c255",
|
||||
"Sprawdziany" to "9bf0410c-aae5-447c-947e-49c815edbcb3",
|
||||
"Statystyki" to "dfa2d512-6682-414b-908b-6e208dfa0c6e",
|
||||
"SzkolaINauczyciele" to "b59d07c6-1146-4a50-ba6b-763ee8b151a3",
|
||||
"Uczen" to "a465bde1-9509-4706-bad2-658578482e04",
|
||||
"UczenCache" to "f18ddca0-400e-47cc-89a1-4bbe6685810b",
|
||||
"UczenDziennik" to "bef3daf1-07cd-4de6-b059-ee5909a7beb9",
|
||||
"UczenZdjecie" to "c1ba3b01-d53c-4577-98ab-4f1a620a3a35",
|
||||
"Usprawiedliwienia" to "863af74c-79aa-48f4-a0e6-aad168720dfd",
|
||||
"UwagiIOsiagniecia" to "6d869250-f637-4da0-a44b-c981299a55ce",
|
||||
"ZarejestrowaneUrzadzenia" to "bc9c2af4-fb13-4f9b-86e4-59ee12bfff85",
|
||||
"Zebrania" to "13fc67ca-19fc-4128-b8f0-41eed7f29838",
|
||||
"ZebraniaObecnosc" to "6ef8e1de-1234-4f39-9cd4-f68dabb8a440",
|
||||
"ZgloszoneNieobecnosci" to "80fe9dc2-8c36-41ea-8009-82503ff3c810",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "7fbcc3fc-1021-444e-86ec-506683e02337",
|
||||
"AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "c1fc4853-7216-4fd1-9957-4426278bb0bc",
|
||||
"Usprawiedliwienia" to "e3ae5a25-40ba-46f6-8e3f-fa325c68a300",
|
||||
"FrekwencjaStatystyki" to "85ec4b45-092b-49ff-a280-89c8439d2e09",
|
||||
"ZarejestrowaneUrzadzenia" to "eca2a314-4aa1-4242-a032-82915863b00e",
|
||||
"RejestracjaUrzadzeniaToken" to "RejestracjaUrzadzeniaToken",
|
||||
"Zebrania" to "358477c6-2917-4a11-9208-8abdcde4d05c",
|
||||
"RealizacjaZajec" to "25c2155a-ee89-4f0b-b1e2-000f7eebbf06",
|
||||
"SprawdzianyZadaniaDomowe" to "65b13621-cafd-4e86-b7a2-093acc60f618",
|
||||
"SprawdzianSzczegoly" to "81ee73f9-9b4f-415f-aa6a-2cb7edaae3cd",
|
||||
"ZadanieDomoweSzczegoly" to "fd6a4f90-5cb2-44f1-991b-fc4fbba8acbe",
|
||||
"PlanZajec" to "b08b6215-ebac-481d-81b9-14807a098731",
|
||||
"DniWolne" to "457deb32-212c-4564-8c2b-7941a1f091c9",
|
||||
"Uwagi" to "f0dcdc6d-cccf-42b9-86e3-02e7e9c5bb8d",
|
||||
"Nauczyciele" to "4e68fe23-18d2-42ef-94c4-27acbd4ab16c",
|
||||
"Informacje" to "dcae87e5-17a7-40d5-b362-f6caa9162715",
|
||||
"DaneUcznia" to "d7ff4abc-3a93-45d3-b28d-f4fb82fcd565",
|
||||
"UczenZdjecie" to "86e7b08f-de0c-4cc7-8042-e3a3796f7090",
|
||||
"OkresyKlasyfikacyjne" to "0669f1fd-e6f0-4007-ba4a-1d99c9107bb4",
|
||||
"Oceny" to "587b18fa-0cdd-4db9-9bc8-e2d67094b385",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "787817a4-bfa8-472c-b1ce-bbe324b308cf",
|
||||
"Odebrane" to "fa8d0cb9-742e-4f9f-b3e2-65b7d5cd7aa6",
|
||||
"OdebraneSkrzynka" to "9545648d-6534-4282-acb7-6e9cc52ab402",
|
||||
"Wyslane" to "962f3256-b82a-42bd-8f20-f03d79723516",
|
||||
"WyslaneSkrzynka" to "a046f45d-42ae-4072-9684-e957a797a22b",
|
||||
"Usuniete" to "94c2e642-b8e3-41f7-8428-27c3f213cb5d",
|
||||
"UsunieteSkrzynka" to "bae7f54c-f18e-4553-92d6-9a5f93392b39",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "44444524-ba04-4259-8853-88343cf294be",
|
||||
"WiadomoscNowa" to "4f02e91e-b9ad-4da1-b4d9-84f258ad1d12",
|
||||
"MoveTrash" to "b2131c71-8d76-4d93-9274-1d5b4f30c915",
|
||||
"Delete" to "cd379bae-9700-48b4-a0d0-9eca08ee908f",
|
||||
"RestoreTrash" to "e6de58f9-4db1-4cd2-afdf-ac9fcca37e43",
|
||||
),
|
||||
),
|
||||
"24.04.0003.58698" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja" to "b82c987d-8e94-4ed3-b46e-2d1818f2e0f8",
|
||||
"DostepOffice" to "9d9b5874-68f4-4f1e-bef5-372f1cb11d29",
|
||||
"EgzaminySemestralne" to "99b62670-2adc-4c17-9abc-6e3d42eec773",
|
||||
"EgzaminyZewnetrzne" to "4db8f093-352a-4a00-a299-0e9b819c8c58",
|
||||
"EwidencjaObecnosci" to "02429d97-5877-42ae-a44e-5dd7531e20b4",
|
||||
"FormularzeSzablony" to "e02fac63-909e-450c-a4ab-75bfd4865189",
|
||||
"FormularzeSzablonyDownload" to "FormularzeSzablonyDownload",
|
||||
"FormularzeWysylanie" to "b97e880e-ae8d-44b6-a48d-92c9be7d22f5",
|
||||
"Frekwencja" to "80dc9527-386d-4da5-b688-3c3a9c4c49a9",
|
||||
"FrekwencjaStatystyki" to "a6d0fa58-5613-45e4-8f37-e2e5cba26dd3",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "baa947c6-915b-4498-afdb-11ec6b088d36",
|
||||
"Homework" to "302944cd-7f41-4de8-8c9f-02dd00990f62",
|
||||
"Jadlospis" to "738a6eff-3bb3-4ff7-9443-70e6e96b61ab",
|
||||
"LekcjeZaplanowane" to "59874a90-98f2-4aa2-a857-f029b88a667c",
|
||||
"LekcjeZrealizowane" to "23f18c73-b0eb-4a1a-b9d3-67b9f3513a12",
|
||||
"Oceny" to "1e1ecd09-aa17-46ac-8cf4-90b1bf0c837d",
|
||||
"Ogloszenia" to "ba99b004-dca2-41b4-af6b-13969546ce65",
|
||||
"Oplaty" to "d58b34e4-0220-4363-b08f-fa307230898d",
|
||||
"PlanZajec" to "e59d0f63-92e1-47d9-a8e1-293eed48e4b4",
|
||||
"Platnosc" to "2b5d4da7-8b0f-45e0-923d-0b20d327800a",
|
||||
"PlatnoscMetadata" to "ca5a0fa1-78f1-4fad-b7ac-59fbdf6bdaf4",
|
||||
"PodrecznikiLataSzkolne" to "0c3f9d64-9561-42ab-825e-e73b4097c2d0",
|
||||
"PodrecznikiUcznia" to "2e7a1def-cdc3-4944-862c-5e94207ae891",
|
||||
"Pomoc" to "0cde801a-9290-4780-9099-96f7a130308e",
|
||||
"RejestracjaUrzadzeniaToken" to "17786f90-2725-477f-98ac-f0e1bff11d7d",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "de16ca24-4638-4b11-8b2d-6ed09ec82b8a",
|
||||
"RozpoczeciePlatnosci" to "90273adc-6308-47b1-be2b-b8d2297a1530",
|
||||
"ScalanieKont" to "95661b3e-b9ac-416c-bf35-f195994f8af5",
|
||||
"Sprawdziany" to "d6404626-e7e4-4093-8477-4eb964da19db",
|
||||
"Statystyki" to "f8308032-0674-4bf7-a7d5-2642d064ef24",
|
||||
"SzkolaINauczyciele" to "a5ec0ae3-f7eb-4548-a484-f725e0164634",
|
||||
"Uczen" to "f8aa0d01-bd77-44d5-aa23-2606afbc27f5",
|
||||
"UczenCache" to "21a5186d-2aab-4123-bad7-269aa7173bb2",
|
||||
"UczenDziennik" to "a01ea13f-14f0-4c56-8b91-790e5aeecdf1",
|
||||
"UczenZdjecie" to "b4a0f9aa-2a45-4e3d-bd9a-f1513e949f83",
|
||||
"Usprawiedliwienia" to "81db3fa0-fb76-401a-ae9e-0fdffc86d2ff",
|
||||
"UwagiIOsiagniecia" to "f63b7ca7-cfe2-4b0b-80cf-1ef1baed597d",
|
||||
"ZarejestrowaneUrzadzenia" to "5a98cd83-f542-4bd2-a1eb-c53d75360aa7",
|
||||
"Zebrania" to "fb20a581-5ad7-49ab-b640-ccdd3f74b0ea",
|
||||
"ZebraniaObecnosc" to "a057e980-c662-4573-b485-01072dab2c14",
|
||||
"ZgloszoneNieobecnosci" to "5c63a985-2149-4e7b-a30f-3692b16b69e3",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "308f5f36-16cb-45c8-8a43-1e038de2b30a",
|
||||
"AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "60c348e6-ed6d-4308-a08d-e6dfdf5a95b8",
|
||||
"Usprawiedliwienia" to "9ab082c9-1d77-421e-8701-8bb68903cfe4",
|
||||
"FrekwencjaStatystyki" to "5cffb3be-5474-41a4-bb56-4abc38551865",
|
||||
"ZarejestrowaneUrzadzenia" to "e8f02f74-073d-4cb2-81dd-9bbb674d0d94",
|
||||
"RejestracjaUrzadzeniaToken" to "RejestracjaUrzadzeniaToken",
|
||||
"Zebrania" to "f780e794-adf0-4e57-9c56-a1e00fd77fe3",
|
||||
"RealizacjaZajec" to "0c070a15-a2ef-451a-8632-33f2150d0aec",
|
||||
"SprawdzianyZadaniaDomowe" to "6e4f701b-4022-4795-9eba-f749e3507886",
|
||||
"SprawdzianSzczegoly" to "764823c2-07d5-49a7-8d32-c643518e7ddb",
|
||||
"ZadanieDomoweSzczegoly" to "f19eac86-5b3a-4b76-b1c3-c3ce8d6a4e21",
|
||||
"PlanZajec" to "1cb14e17-8147-40d3-a6e9-1c6aa9549172",
|
||||
"DniWolne" to "45d009c7-d378-4247-8dbd-320ee5a760ff",
|
||||
"Uwagi" to "b4ba909b-e445-45ee-b94d-637b03f93089",
|
||||
"Nauczyciele" to "d551eb83-8b76-4b8a-931c-a9a4e7edaaf8",
|
||||
"Informacje" to "ebddc034-9716-4d2c-8dce-00f0554a5c99",
|
||||
"DaneUcznia" to "394d2738-b609-4488-b08f-f16343e25289",
|
||||
"UczenZdjecie" to "28e411f0-cc96-4f58-ae7f-ac77b7665cf9",
|
||||
"OkresyKlasyfikacyjne" to "c4ef1a36-b928-428f-8a9e-184ea0185c2f",
|
||||
"Oceny" to "1b1bfd67-6681-47b0-b5d1-c4941be2f3dd",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "a04c1b46-48f5-4856-9eae-1efe9fface1a",
|
||||
"Odebrane" to "be2f38a5-f090-4d38-b78a-1e776d304b20",
|
||||
"OdebraneSkrzynka" to "4e096df8-70e9-4a7c-b72d-486d6d05d87d",
|
||||
"Wyslane" to "dee02521-890a-4701-9699-de9b1080f30a",
|
||||
"WyslaneSkrzynka" to "1aab4b35-fdeb-422d-9e62-b8337c2f1a31",
|
||||
"Usuniete" to "9a1d2b04-763e-4e5a-8835-e356f52ed9b4",
|
||||
"UsunieteSkrzynka" to "a3e8cd92-f3bd-4bf3-9a1b-63f20b475982",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "WiadomoscOdpowiedzPrzekaz",
|
||||
"WiadomoscNowa" to "03051ddd-22dd-45a6-a214-211c8dab0f7d",
|
||||
"MoveTrash" to "724f1218-447a-4110-a9ce-8c9bc52547f5",
|
||||
"Delete" to "Delete",
|
||||
"RestoreTrash" to "caf5eacb-a2ab-44d7-82c1-bcbd0b7612ed",
|
||||
),
|
||||
),
|
||||
"24.04.0004.58722" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja" to "2fffe058-1cd2-4f35-a33f-f63a22ea845b",
|
||||
"DostepOffice" to "a637167d-aeeb-48ac-9b1f-35955ced5d87",
|
||||
"EgzaminySemestralne" to "6ad87c8f-899a-49e3-a18e-87bbe37a8500",
|
||||
"EgzaminyZewnetrzne" to "18d9c26a-0ee4-400b-959b-56a01d5e3bea",
|
||||
"EwidencjaObecnosci" to "cc8d2313-465f-4950-adca-3ef93c006d1a",
|
||||
"FormularzeSzablony" to "628f00a5-076e-46e3-8660-ecd475dcf7c7",
|
||||
"FormularzeWysylanie" to "0d544f4a-786f-4276-9459-3ed428e51e85",
|
||||
"Frekwencja" to "26517c9a-a193-410f-b9a2-70cbcc98a542",
|
||||
"FrekwencjaStatystyki" to "9a216ff7-4a99-48ce-9876-e1d1ec756e25",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "47d27f71-0ebb-4e2a-b0bd-664281397420",
|
||||
"Homework" to "c913fbbb-e163-4427-b2f9-82cdf3f3db8c",
|
||||
"Jadlospis" to "a09d0ce0-2771-4a78-ac33-9a790485270d",
|
||||
"LekcjeZaplanowane" to "bf20db85-be85-41b1-a857-a663bdc9e112",
|
||||
"LekcjeZrealizowane" to "5bde0359-6b17-45d5-8004-d8f86b3991b5",
|
||||
"Oceny" to "52d0e143-54b9-4131-8e40-44478135e7d7",
|
||||
"Ogloszenia" to "3fc35e9e-1b0a-4589-b517-f09c66a27704",
|
||||
"Oplaty" to "a23be32b-d117-4cd0-b3cf-70e1a2d9bc83",
|
||||
"PlanZajec" to "f6d28f27-284a-40bc-af75-060838ad9b54",
|
||||
"Platnosc" to "51c3f200-cb4b-4080-a23c-a0b7bdde2ea7",
|
||||
"PlatnoscMetadata" to "ead25309-e0c3-43d9-9e24-89a503863b68",
|
||||
"PodrecznikiLataSzkolne" to "87d29cc9-eeb9-4185-bbf3-3c60beb0560c",
|
||||
"PodrecznikiUcznia" to "828eb747-99c4-42d8-99ee-a0b6c0cc00d1",
|
||||
"Pomoc" to "e4be6688-3976-48f8-9e23-fafc547ce3f8",
|
||||
"RejestracjaUrzadzeniaToken" to "da3c352f-81ec-4aa9-9481-e3fc79d55701",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "7a35c322-831f-4db2-98a3-462816145797",
|
||||
"RozpoczeciePlatnosci" to "f2333d25-87bc-40e0-8722-11f1831b15c9",
|
||||
"ScalanieKont" to "73339461-82b3-4ea1-952e-0d1124f8e2ca",
|
||||
"Sprawdziany" to "1ce3d57f-72a0-487e-84f2-ad1690ec41bb",
|
||||
"Statystyki" to "fbd1bf54-37e6-4fb2-ad3f-1d017bdb7119",
|
||||
"SzkolaINauczyciele" to "4642415b-947d-4ec9-955f-0af48a7e5b9b",
|
||||
"Uczen" to "d8756ab6-cffa-4c36-a525-08796c6540e7",
|
||||
"UczenCache" to "a0bb024d-647e-4ee9-8bc6-6fc649925585",
|
||||
"UczenDziennik" to "7459f626-08ff-4ae5-874e-ab5f9e68a565",
|
||||
"UczenZdjecie" to "b56f7048-2630-4950-a941-47d8f7f97386",
|
||||
"Usprawiedliwienia" to "5f4f11f5-0b1b-4605-b26d-6802abfc1ec3",
|
||||
"UwagiIOsiagniecia" to "74fd052f-eb86-496b-a5e7-7f1a53e908f5",
|
||||
"ZarejestrowaneUrzadzenia" to "32e18d4e-5702-4bdb-ab9d-1987cb5749f8",
|
||||
"Zebrania" to "94ae9ded-cc09-48e1-898f-84bbb6cc85a5",
|
||||
"ZebraniaObecnosc" to "a4b6e50d-704d-47aa-baa1-cc18cf0685cc",
|
||||
"ZgloszoneNieobecnosci" to "cc9b9bdd-39b5-4772-905f-5cb11ff48fc9",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "bbf0d83f-0890-4af1-9e09-16cda1a9b785",
|
||||
"Odebrane" to "db26ce00-2069-40bd-a7fe-94be0c763c7e",
|
||||
"OdebraneSkrzynka" to "66419d85-5f94-4d07-ba97-82a1678d7d82",
|
||||
"Wyslane" to "dd345c3b-3676-4771-aa2a-7c898ca4428d",
|
||||
"WyslaneSkrzynka" to "806febc4-ff14-47c0-b6ca-6e337d188a30",
|
||||
"Usuniete" to "8173b1bf-c6c9-44a7-bc43-84fcb92a8ec5",
|
||||
"UsunieteSkrzynka" to "e06d5032-2214-4797-8142-27bf0f32846c",
|
||||
"WiadomoscSzczegoly" to "ba1abab4-5725-4483-942e-c6f016fdf25c",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "24592d75-3dbb-4238-9a5f-48f7da951673",
|
||||
"WiadomoscNowa" to "28409679-2864-454c-add1-5c7025f51489",
|
||||
"Pracownicy" to "3c6002ef-477d-4258-81ac-ebfd4d6b9759",
|
||||
"MoveTrash" to "1dbc70aa-be5d-463d-9763-0d82cf8f22de",
|
||||
"RestoreTrash" to "e47d302c-035d-4bbe-bdb7-ae1b7658c549",
|
||||
),
|
||||
),
|
||||
"24.04.0005.58736" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja" to "fcb6e2c1-5045-49ed-92ad-b19df383ab17",
|
||||
"DostepOffice" to "0e605e40-a7f4-4b86-b071-36b7e627904c",
|
||||
"EgzaminySemestralne" to "f6b8fd15-ff7e-40d9-88d9-6f35f750c9a7",
|
||||
"EgzaminyZewnetrzne" to "02291b68-6edd-4ab7-8533-99f7e30b4c26",
|
||||
"EwidencjaObecnosci" to "42946260-12ca-4ce6-964b-29b4bd9a7f53",
|
||||
"FormularzeSzablony" to "6fb45fa2-b5b6-421b-90f4-e26daca269d3",
|
||||
"FormularzeWysylanie" to "a48aab9a-4e55-4210-a3c7-8e4816e0b29f",
|
||||
"Frekwencja" to "1cd6bc7d-09f0-4b6c-8fd8-71fff48ad3d1",
|
||||
"FrekwencjaStatystyki" to "4f679063-5def-46eb-bac1-1f213f98ea07",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "71091f89-ddb7-42e1-9cfd-c319a69dd1e6",
|
||||
"Homework" to "48b1f501-c2c5-42db-8793-821bf9300bdd",
|
||||
"Jadlospis" to "9236db34-c919-42bd-98a7-40a2a906534e",
|
||||
"LekcjeZaplanowane" to "382a54a7-2afd-4ed1-94cd-c0d4412f7570",
|
||||
"LekcjeZrealizowane" to "ccfc87cd-01c5-46f0-a308-726af906226c",
|
||||
"Oceny" to "e01e5662-4782-4dc2-8bbd-2952ca08d840",
|
||||
"Ogloszenia" to "b1c64969-02d5-4f48-b5a3-193e3ae43933",
|
||||
"Oplaty" to "13f8210a-f5ea-48d6-8ca3-8a7f96e291c3",
|
||||
"PlanZajec" to "a7fa98b8-8318-4df5-b995-519f25f152ce",
|
||||
"Platnosc" to "6feb702d-6a7b-4b9f-aa15-0cd4af8a2fdd",
|
||||
"PlatnoscMetadata" to "56c93b0a-4fcb-4829-9ac0-c467801a2041",
|
||||
"PodrecznikiLataSzkolne" to "591fe80c-db01-43d4-8edf-2053a4ee9ebd",
|
||||
"PodrecznikiUcznia" to "040eaade-7c64-4ee5-a03b-817a89ea0461",
|
||||
"Pomoc" to "e895ae61-5ee7-403b-8672-47afbb57aab0",
|
||||
"RejestracjaUrzadzeniaToken" to "71b1c479-7e9f-4bc5-8fd6-13150d777288",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "f14b1e6b-b266-4168-aae6-b05e7bde6229",
|
||||
"RozpoczeciePlatnosci" to "71af3913-e56a-499c-b677-eb0abbcbf8ca",
|
||||
"ScalanieKont" to "d0cd7570-4be7-45b3-801c-f5f453742e82",
|
||||
"Sprawdziany" to "df2fb170-e19d-4be5-8a29-7b600d22b735",
|
||||
"Statystyki" to "d8161c76-12aa-4ab0-b8a9-b008b31f757f",
|
||||
"SzkolaINauczyciele" to "068211e7-a796-469f-bf34-ccbe47078387",
|
||||
"Uczen" to "6b6c9a6f-3221-4a99-a313-d9fe093d77cb",
|
||||
"UczenCache" to "c6bfe6c4-24ef-43eb-86ca-63474d99b3d8",
|
||||
"UczenDziennik" to "ced49ad0-a0ce-427e-bb09-ead7388801d0",
|
||||
"UczenZdjecie" to "39efb4ab-149f-41f6-9410-026f99252ccf",
|
||||
"Usprawiedliwienia" to "b326b6f2-864a-490a-b5a4-39d7e33cac05",
|
||||
"UwagiIOsiagniecia" to "c492af80-b897-4224-8bd1-daece66c6d11",
|
||||
"ZarejestrowaneUrzadzenia" to "13cf52b7-0bf8-4fc1-81ff-2dfa972e19d2",
|
||||
"Zebrania" to "4ab7733c-2573-4d8e-b760-a2d0f66f2009",
|
||||
"ZebraniaObecnosc" to "70ae4599-cbdd-47ec-948f-d212c6c7a8e7",
|
||||
"ZgloszoneNieobecnosci" to "bd469d6f-be21-4806-a1fe-d93fefbb10d6",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "d5b9960b-2219-43e2-b5d6-fd26462b8d93",
|
||||
"Odebrane" to "0c37d367-4ec9-44c3-8f76-ca66c21dfde7",
|
||||
"OdebraneSkrzynka" to "ee8f83ab-c15e-4674-99b8-f36113c0f55d",
|
||||
"Wyslane" to "09b50259-54e8-40f8-bbe0-5e45d2eb9170",
|
||||
"WyslaneSkrzynka" to "fce8bde0-79f1-49f1-8c74-15c7d2afd15a",
|
||||
"Usuniete" to "db885258-86de-4d3b-9bd3-ce20c366f1f6",
|
||||
"UsunieteSkrzynka" to "fc060d87-23e1-4200-b4bf-b9525072a66a",
|
||||
"WiadomoscSzczegoly" to "67123fc2-61f3-4b4d-93e2-05166f00b00b",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "020cf8bf-30ea-458d-ab6a-1aa41d8e2162",
|
||||
"WiadomoscNowa" to "bb023253-3976-4257-b510-5c8c827f70f2",
|
||||
"Pracownicy" to "d34320d6-4acd-4cec-b959-35a3de5cdf25",
|
||||
"MoveTrash" to "63ba79a2-ea29-49e2-bf94-43fc5f7f2989",
|
||||
"RestoreTrash" to "38828e7a-d1bd-4054-832b-2fc1d124e41e",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "0e75bdf7-2b21-4d40-ad1e-99df413d4a8e",
|
||||
"AutoryzacjaPesel" to "",
|
||||
"Frekwencja" to "732d4301-7d28-45c3-94ae-febab5c24f72",
|
||||
"Usprawiedliwienia" to "ca954fc5-bd06-43ed-85a8-ea5ef63f68aa",
|
||||
"FrekwencjaStatystyki" to "ca94824d-73db-432b-b692-2cbd973029f1",
|
||||
"ZarejestrowaneUrzadzenia" to "3fee5238-21c4-43d7-a4b7-ed7f9737e7ef",
|
||||
"RejestracjaUrzadzeniaToken" to "17d84385-aed7-4694-b29b-47f0394ca915",
|
||||
"Zebrania" to "38bb00d3-e7ce-4119-9a36-e659ce6d3af0",
|
||||
"RealizacjaZajec" to "555ffc8b-edd7-413d-a60f-7141a448f13b",
|
||||
"SprawdzianyZadaniaDomowe" to "af3c8a08-2b49-4df8-81c4-c282637eb4c2",
|
||||
"SprawdzianSzczegoly" to "bb087223-4910-4b9a-9a21-1adfef265022",
|
||||
"ZadanieDomoweSzczegoly" to "73a8d203-96e2-488c-8f74-1c1c23fdff86",
|
||||
"PlanZajec" to "340f8707-9cbb-4279-831b-12cbc1344a69",
|
||||
"DniWolne" to "2374cd94-41a7-4555-948d-b7dfd4f2507b",
|
||||
"Uwagi" to "edd8b004-dd5f-4ea2-bb71-f4f64d083ae4",
|
||||
"Nauczyciele" to "281e4dc5-fb79-43ff-b2dd-a5bb42288fc1",
|
||||
"Informacje" to "77532460-e49a-40e3-8c9a-86e93d4ed8d5",
|
||||
"DaneUcznia" to "888a68cf-bb96-44d9-8999-76e923d769ac",
|
||||
"UczenZdjecie" to "826f6e18-7688-4574-a229-0d0c76386789",
|
||||
"OkresyKlasyfikacyjne" to "1379668d-1eeb-4316-b5aa-d06fd69098fa",
|
||||
"Oceny" to "4adba64d-6bb6-47bb-8237-98751de0da87",
|
||||
),
|
||||
),
|
||||
"24.04.0006.58753" to mapOf(
|
||||
"uonetplus-uczen" to ApiEndpoints0006Student,
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "5a974012-36a9-4438-ba79-7fa49dfe0b80",
|
||||
"Odebrane" to "729ab399-a18b-42d1-8d8e-64212e1ed38a",
|
||||
"OdebraneSkrzynka" to "c623a66d-e5ff-4156-a89a-713c59da1258",
|
||||
"Wyslane" to "f08fb519-69f0-431c-946b-6bca1459cea8",
|
||||
"WyslaneSkrzynka" to "35af724e-d964-4191-ab32-7272a8d91aaa",
|
||||
"Usuniete" to "f7a83737-2377-4796-bd98-c7148988c02d",
|
||||
"UsunieteSkrzynka" to "fdd0ce95-b9b9-432a-ac67-45cf9dea0872",
|
||||
"WiadomoscSzczegoly" to "b6cbb0b5-57bc-4efc-8d0f-cfca7f2d13c2",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "b8c15629-f7bd-4d18-8a7a-d414e8560ba0",
|
||||
"WiadomoscNowa" to "67601f5e-c268-43d6-8083-09c4dc3381e6",
|
||||
"Pracownicy" to "8c104c09-55b2-44b8-9b6a-22bd5cb86f39",
|
||||
"MoveTrash" to "51a490c5-a6dc-4cff-9216-b2dadb0707df",
|
||||
"RestoreTrash" to "c9848486-e687-4179-a73e-55b1781f3e19",
|
||||
)
|
||||
),
|
||||
"24.04.0007.58773" to mapOf(
|
||||
"uonetplus-uczen" to ApiEndpoints0006Student,
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "6825bceb-b86c-4173-9984-0e17bcb8c8f1",
|
||||
// "AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "686d7b16-e83e-46ab-bb94-c50db61ebb7f",
|
||||
"Usprawiedliwienia" to "0d8b19a8-a654-4249-8ae9-dc20114063bc",
|
||||
"FrekwencjaStatystyki" to "0fc4d586-dc34-4013-9599-0aaf93eac847",
|
||||
"ZarejestrowaneUrzadzenia" to "6adb7f16-f4ae-43a1-9909-f16c0b99a574",
|
||||
"RejestracjaUrzadzeniaToken" to "bb3dca90-bcaf-4e6d-9b71-97af697a88ce",
|
||||
"Zebrania" to "38bab3c8-1ebb-45e8-9b7c-454b71bad009",
|
||||
"RealizacjaZajec" to "15e2ce71-4910-4ae8-a4c6-04c8b3ba734f",
|
||||
"SprawdzianyZadaniaDomowe" to "d5961f7d-ea41-4734-b1e7-e7feb83431cf",
|
||||
"SprawdzianSzczegoly" to "0c809477-d34a-42d8-bbba-2233f09e02db",
|
||||
"ZadanieDomoweSzczegoly" to "0e0526ae-4a6f-4218-adba-688419457034",
|
||||
"PlanZajec" to "34f92f61-54dc-40da-8bbf-5547bef5c141",
|
||||
"DniWolne" to "3f961985-d6d8-46fe-bf34-2a8217cf5329",
|
||||
"Uwagi" to "b195f96f-6073-4717-a3aa-11e57a30852d",
|
||||
"Nauczyciele" to "6483c887-3083-4d9d-be36-021c7bada7f8",
|
||||
"Informacje" to "f4cfc797-8feb-408c-a91a-5da9488d7224",
|
||||
"DaneUcznia" to "5f7b5c3d-2dc1-4dcd-a4d2-9b362282907b",
|
||||
"UczenZdjecie" to "3286f68f-62ec-4c55-a41d-748ff29c41e8",
|
||||
"OkresyKlasyfikacyjne" to "58f3aceb-bc7c-485d-842a-6ea59f2b3fac",
|
||||
"Oceny" to "28ac65f4-61ab-401c-b651-946df4bd049c",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "5a974012-36a9-4438-ba79-7fa49dfe0b80",
|
||||
"Odebrane" to "729ab399-a18b-42d1-8d8e-64212e1ed38a",
|
||||
"OdebraneSkrzynka" to "c623a66d-e5ff-4156-a89a-713c59da1258",
|
||||
"Wyslane" to "f08fb519-69f0-431c-946b-6bca1459cea8",
|
||||
"WyslaneSkrzynka" to "35af724e-d964-4191-ab32-7272a8d91aaa",
|
||||
"Usuniete" to "f7a83737-2377-4796-bd98-c7148988c02d",
|
||||
"UsunieteSkrzynka" to "fdd0ce95-b9b9-432a-ac67-45cf9dea0872",
|
||||
"WiadomoscSzczegoly" to "b6cbb0b5-57bc-4efc-8d0f-cfca7f2d13c2",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "b8c15629-f7bd-4d18-8a7a-d414e8560ba0",
|
||||
"WiadomoscNowa" to "67601f5e-c268-43d6-8083-09c4dc3381e6",
|
||||
"Pracownicy" to "8c104c09-55b2-44b8-9b6a-22bd5cb86f39",
|
||||
"MoveTrash" to "51a490c5-a6dc-4cff-9216-b2dadb0707df",
|
||||
"RestoreTrash" to "c9848486-e687-4179-a73e-55b1781f3e19",
|
||||
)
|
||||
),
|
||||
"24.04.0008.58830" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja" to "",
|
||||
"EgzaminyZewnetrzne" to "b8d28e7c-4b00-4a4a-abff-6eac436ea3fb",
|
||||
"Frekwencja" to "f4c2509c-6edf-4a72-ac54-a87f30bfd84c",
|
||||
"FrekwencjaStatystyki" to "ea014f22-525e-43a5-b710-1466048eb1a9",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "6d4c61da-2c43-4e56-b502-ba0ecb1b3a55",
|
||||
"Homework" to "58073991-c9bd-4292-9ca1-2c5978378350",
|
||||
"LekcjeZaplanowane" to "50df38b3-a20d-4426-9d44-8ade5f9f1ff5",
|
||||
"LekcjeZrealizowane" to "82713079-8a79-4a0d-b91b-ccdd56c01ba8",
|
||||
"Oceny" to "76bd5155-3de3-44a1-b467-69d1c9e1ee6b",
|
||||
"Ogloszenia" to "b5ce837f-f22f-4636-803e-3ebffcd56c65",
|
||||
"PlanZajec" to "db190396-14b8-4b7c-8ac7-b5ca5258a612",
|
||||
"RejestracjaUrzadzeniaToken" to "0d76b985-584a-4e5a-933e-96a12af404ff",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "7a5ac559-24fc-4e1b-ae43-4cf4a1cb61bf",
|
||||
"Sprawdziany" to "3135d485-1e91-493d-95ed-087484634316",
|
||||
"Statystyki" to "168228d4-5faa-492c-9066-f8dee19c9de5",
|
||||
"SzkolaINauczyciele" to "7ad2dec1-fc3d-4cb3-9f79-32828d236e18",
|
||||
"Uczen" to "a7120c5e-1d86-46ae-b7d6-5735b8cb5bd6",
|
||||
"UczenCache" to "86da1228-334d-447b-9c43-2047f757571e",
|
||||
"UczenDziennik" to "a02089e4-d37c-469c-a29f-2fd39245a62e",
|
||||
"UczenZdjecie" to "1264beee-8d94-4a40-8b41-7f5102ed964b",
|
||||
"Usprawiedliwienia" to "6b7b8e59-6995-49a5-98fa-bb53667973db",
|
||||
"UwagiIOsiagniecia" to "463fb37b-4f1b-41f9-b884-9b6b5d945184",
|
||||
"ZarejestrowaneUrzadzenia" to "8c879c3f-3a25-4de5-990c-6c304e035f42",
|
||||
"Zebrania" to "014f1192-369f-4d89-9189-9284022caa82",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "a9421a22-455e-4831-8ba6-a02728ea21ba",
|
||||
"Odebrane" to "363e98ea-d59e-4b45-b486-8ccbe6ad5f18",
|
||||
"OdebraneSkrzynka" to "01a643e9-692c-406a-9188-d762eebe6e79",
|
||||
"Wyslane" to "ab12c0c9-3404-4de3-b8f5-e64b084f7b31",
|
||||
"WyslaneSkrzynka" to "af044079-41f6-4acf-906e-9830712d9819",
|
||||
"Usuniete" to "abb2959a-716b-44ee-a9e3-f4395dbf9c87",
|
||||
"UsunieteSkrzynka" to "a14ca076-175c-480b-b309-a4cc7f8d0d4b",
|
||||
"WiadomoscSzczegoly" to "c4c1293c-8a63-4234-815a-de4148678d70",
|
||||
"WiadomoscOdpowiedzPrzekaz" to "3ec48fb2-5bfc-4aff-93e7-baf216b9be10",
|
||||
"WiadomoscNowa" to "2f51daf7-fac2-4a6b-abb8-a9175c9180fd",
|
||||
"Pracownicy" to "d4339385-03d7-4d79-aa1f-bd6d7e18be59",
|
||||
"MoveTrash" to "f6ebf886-0c58-4c8d-ae5e-98b2c2deceb7",
|
||||
"RestoreTrash" to "87807c99-997a-48a4-a46f-4d1fe79154cd",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "739b175b-0161-4526-b463-434754332cbd",
|
||||
// "AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "604c3706-d1d5-4db1-bef5-74a12f320b8b",
|
||||
"Usprawiedliwienia" to "9c9cd510-9fbc-4fe2-8fb2-8f2d9c9d839a",
|
||||
"FrekwencjaStatystyki" to "4ca70cfa-ca5e-4b00-bf46-242309f21289",
|
||||
"ZarejestrowaneUrzadzenia" to "e6648f52-75df-4025-8a03-127cbbc8deab",
|
||||
"RejestracjaUrzadzeniaToken" to "f5ce5f92-1aa2-4bfe-b877-3f47dc2d76e2b",
|
||||
"Zebrania" to "1850ec5c-6c77-420c-824d-ed96047dbe5a",
|
||||
"RealizacjaZajec" to "fafb58f3-94fd-433f-aa1f-40644ec6c727",
|
||||
"SprawdzianyZadaniaDomowe" to "d002b3a2-3209-4f5b-b9b9-f73ba64d56c5",
|
||||
"SprawdzianSzczegoly" to "cdc6fd62-23e4-4611-a383-7ad6d3fa252d",
|
||||
"ZadanieDomoweSzczegoly" to "7537e787-5631-488a-b673-a88e36fe5792",
|
||||
"PlanZajec" to "837f3db6-5002-42fb-9714-f501d5ff5d5f",
|
||||
"DniWolne" to "07c6d65a-4ac8-4058-af63-cadf77a64760",
|
||||
"Uwagi" to "51ed2c05-1c16-4f6f-906c-a2727a5e0957",
|
||||
"Nauczyciele" to "bf375afb-758a-4736-93c3-e13581effc73",
|
||||
"Informacje" to "9e7e292a-b2b0-40eb-875e-544a7d76fbea",
|
||||
"DaneUcznia" to "3199b247-2e7a-42e7-9850-45c5bd905afb",
|
||||
"UczenZdjecie" to "c619270d-a77a-4b35-886d-c5c27cacef90",
|
||||
"OkresyKlasyfikacyjne" to "efbcdb18-1056-4bd7-8018-55be120463b1",
|
||||
"Oceny" to "0ba5eb88-124c-4f84-8cd6-aea7d955bc44",
|
||||
),
|
||||
),
|
||||
"24.04.0009.58848" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
// "Autoryzacja" to "",
|
||||
"EgzaminyZewnetrzne" to "bce6a543-ae29-4687-b8ab-aa14a5efbcac",
|
||||
"Frekwencja" to "e27a0628-cdab-4506-a504-a2f4d539af1d",
|
||||
"FrekwencjaStatystyki" to "b6d0abbb-72ab-48a7-aa43-f1ef33eb38a6",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "5211a670-a8b0-49b0-80ef-fc34414d916c",
|
||||
"Homework" to "631ac94a-5bce-4ea4-be20-f169ce9697ba",
|
||||
// "LekcjeZaplanowane" to "",
|
||||
// "LekcjeZrealizowane" to "",
|
||||
"LekcjeZrealizowane.mvc/GetPrzedmioty" to "aa731379-a393-47db-a638-d826f076d783.mvc/Get",
|
||||
"LekcjeZrealizowane.mvc/GetZrealizowane" to "28d10957-a2cb-4fec-b0ab-0c70bbea0baf.mvc/Get",
|
||||
"Oceny" to "5594414a-003d-4772-9e6f-66c804edaebb",
|
||||
"Ogloszenia" to "9f600136-07a7-4ba8-9497-d6dc191f93a3",
|
||||
"PlanZajec" to "e2799dc2-f670-43f4-81c3-10f5e34308e5",
|
||||
"RejestracjaUrzadzeniaToken" to "6ef51b0d-631f-44b3-82a4-1a68362351dc",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "9e22f4ca-e93a-48b0-a9ec-b38125091443",
|
||||
"Sprawdziany" to "37a0e3a3-425f-408d-a321-ce5e15d10a05",
|
||||
// "Statystyki" to "",
|
||||
"Statystyki.mvc/GetOcenyCzastkowe" to "caa5928d-3ba6-449c-8d94-da3e00a64d96.mvc/Get",
|
||||
"Statystyki.mvc/GetPunkty" to "055db984-6e73-4856-a6ae-c5222fff777e.mvc/Get",
|
||||
"Statystyki.mvc/GetOcenyRoczne" to "b87ffb55-0cb8-464c-a3e1-75e73dfd32cd.mvc/Get",
|
||||
"SzkolaINauczyciele" to "49123af9-c062-474c-a1d3-6ac44cc9d3a3",
|
||||
"Uczen" to "e261dbd5-7579-4d61-8dad-7e414f6b0f00",
|
||||
"UczenCache" to "7dbcfcab-bfbd-4508-9508-069d0fab83ca",
|
||||
"UczenDziennik" to "3efc180a-040e-4189-83f7-9cacd553921a",
|
||||
"UczenZdjecie" to "2b2cb5c1-63a1-46b0-ac31-5c5cf3611007",
|
||||
// "Usprawiedliwienia" to "",
|
||||
"UwagiIOsiagniecia" to "a4a39eac-2ecc-4c72-973b-314de2d481c5",
|
||||
"ZarejestrowaneUrzadzenia" to "3d43a7af-725a-4aea-82bc-204066e8d9b8",
|
||||
"Zebrania" to "a97736ff-eb10-4f35-ac23-906f402b864d",
|
||||
),
|
||||
// "uonetplus-wiadomosciplus" to mapOf(
|
||||
// "Skrzynki" to "",
|
||||
// "Odebrane" to "",
|
||||
// "OdebraneSkrzynka" to "",
|
||||
// "Wyslane" to "",
|
||||
// "WyslaneSkrzynka" to "",
|
||||
// "Usuniete" to "",
|
||||
// "UsunieteSkrzynka" to "",
|
||||
// "WiadomoscSzczegoly" to "",
|
||||
// "WiadomoscOdpowiedzPrzekaz" to "",
|
||||
// "WiadomoscNowa" to "",
|
||||
// "Pracownicy" to "",
|
||||
// "MoveTrash" to "",
|
||||
// "RestoreTrash" to "",
|
||||
// ),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "ae16b392-8e5b-4271-b80a-0d954240a9e6",
|
||||
// "AutoryzacjaPesel" to "",
|
||||
"Frekwencja" to "447fa101-471d-469d-b2b8-2489d161a309",
|
||||
"Usprawiedliwienia" to "4ff776fa-834b-4229-9f7d-2b0f0026171a",
|
||||
"FrekwencjaStatystyki" to "e12177fd-0e93-426c-a40b-be85bde85174",
|
||||
"ZarejestrowaneUrzadzenia" to "b0ae7ba1-0f7b-486c-a82b-1ed44e8f35fb",
|
||||
"RejestracjaUrzadzeniaToken" to "78e99410-3f64-40bd-967d-70e12b1b0d31",
|
||||
"Zebrania" to "bd8b5098-ad21-4f5a-a40b-90dfa8aace49",
|
||||
"RealizacjaZajec" to "d9d81db0-a35f-4eab-a814-33f092f91d2d",
|
||||
"SprawdzianyZadaniaDomowe" to "c8e90f55-fced-479a-ac7b-c894c6e20e22",
|
||||
"SprawdzianSzczegoly" to "cf81bfc5-40ce-4ecf-9d41-4c52a7acf24a",
|
||||
"ZadanieDomoweSzczegoly" to "af3350a2-d7ad-4ad0-a7ed-e594af649888",
|
||||
"PlanZajec" to "53ac956d-f908-4706-8b9e-772aa65c314b",
|
||||
"DniWolne" to "4aa65ba3-7d1e-47b9-8e74-332bef7284aa",
|
||||
"Uwagi" to "0cd59af2-9eda-47ce-a1cd-58c943da17c4",
|
||||
"Nauczyciele" to "1ef69305-72c0-4444-987c-418f6f6858db",
|
||||
"Informacje" to "dcc8a117-f2f2-4280-8a3d-5e3700c72135",
|
||||
"DaneUcznia" to "3d909ec9-406c-4de4-86a8-472abf8ae13c",
|
||||
"UczenZdjecie" to "8d12d3e0-3fee-4f93-95d7-643a94b6046b",
|
||||
"OkresyKlasyfikacyjne" to "d916a801-3a4c-44d1-b39a-2fb835f2cd54",
|
||||
"Oceny" to "4f2f158b-29cf-48d3-8078-50c74ccb6c9c",
|
||||
),
|
||||
),
|
||||
"24.04.0010.58863" to mapOf(
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
),
|
||||
)
|
||||
|
||||
private val UonetPlusUczen_24_04_0010_58863 = mapOf(
|
||||
"Autoryzacja" to "325c0d1d-1b91-41e4-9bd9-7794ec90cca0",
|
||||
"EgzaminyZewnetrzne" to "fe6b40ba-8a2f-4ad3-a519-343226a66a23",
|
||||
"Frekwencja" to "c8dc2e1f-41e6-40c0-b04f-f49e3d5966ea",
|
||||
"FrekwencjaStatystyki" to "fcefe7af-4324-4e70-ae42-c63dbe988099",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "bb36d4b5-a481-43f7-aae6-89b004451911",
|
||||
"Homework" to "250e6ac4-ab2c-4784-9110-112b6c7b0410",
|
||||
"LekcjeZrealizowane.mvc/GetPrzedmioty" to "ca9358ca-bab9-4e35-85c9-2c8eb1691a6e.mvc/Get",
|
||||
"LekcjeZrealizowane.mvc/GetZrealizowane" to "1a83b152-3160-43db-8683-0fd25c65b78a.mvc/Get",
|
||||
"Oceny" to "837fd82d-3b34-4ef2-9b6c-bbb4032b6975",
|
||||
"Ogloszenia" to "ff3e1b2d-9106-4842-91e1-8db7af1b7819",
|
||||
"PlanZajec" to "dbef1773-0db6-4d08-9a5b-85146a06dfae",
|
||||
"RejestracjaUrzadzeniaToken" to "e581158e-8ff5-4461-9c35-0d9389fbd651",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "afd176b2-d574-470c-b83e-77ab45dfa8a1",
|
||||
"Sprawdziany" to "81037688-53b4-4f1e-ab43-bc5eabe72501",
|
||||
"Statystyki.mvc/GetOcenyCzastkowe" to "c56368dc-3530-4960-94e2-2b5435732bae.mvc/Get",
|
||||
"Statystyki.mvc/GetPunkty" to "387d3492-5d9d-44f5-b028-4948a16e3e42.mvc/Get",
|
||||
"Statystyki.mvc/GetOcenyRoczne" to "462d4b6d-f1d2-4c4b-8ebc-1aee25c69354.mvc/Get",
|
||||
"SzkolaINauczyciele" to "0e484bbe-bc2e-4f80-9bc8-7ee67097f426",
|
||||
"Uczen" to "630cd54b-b952-43ee-aeb4-4438a2b21e75",
|
||||
"UczenCache" to "333dce23-9766-4f2a-bc30-689bc04f0765",
|
||||
"UczenDziennik" to "6a523e4e-28dd-4123-98e5-ee10604f9e0b",
|
||||
"UczenZdjecie" to "f3e2de45-912f-4d47-943f-25667b3e8a7b",
|
||||
"Usprawiedliwienia" to "f13695db-b9d1-403e-8c7a-ad29b6e9ae7a",
|
||||
"UwagiIOsiagniecia" to "6ac1eafd-38c0-48ab-adce-75c5f901592c",
|
||||
"ZarejestrowaneUrzadzenia" to "1d63088d-02da-4feb-8906-08172e5fea1c",
|
||||
"Zebrania" to "2dd7a794-62d9-4711-b000-b73de88a7990",
|
||||
)
|
||||
|
||||
val ApiEndpointsMapV3 = ApiEndpointsMap + mapOf(
|
||||
"24.04.0010.58863" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
),
|
||||
)
|
||||
|
||||
val ApiEndpointsMapV4 = ApiEndpointsMap + mapOf(
|
||||
"24.04.0010.58863" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
"uonetplus-wiadomosciplus" to ApiEndpoints00010Messages,
|
||||
),
|
||||
"24.05.0000.59033" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
"uonetplus-wiadomosciplus" to ApiEndpoints00010Messages,
|
||||
),
|
||||
"24.05.0001.59063" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
"uonetplus-wiadomosciplus" to ApiEndpoints00010Messages,
|
||||
),
|
||||
"24.05.0002.59079" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
"uonetplus-wiadomosciplus" to ApiEndpoints00010Messages,
|
||||
),
|
||||
"24.05.0003.59126" to mapOf(
|
||||
"uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863,
|
||||
"uonetplus-uczenplus" to ApiEndpoints0010StudentPlus,
|
||||
"uonetplus-wiadomosciplus" to ApiEndpoints00010Messages,
|
||||
),
|
||||
)
|
|
@ -1,23 +0,0 @@
|
|||
package mapping
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class Mapping(
|
||||
|
||||
@SerialName("endpoints")
|
||||
val endpoints: Map<String, Map<String, Map<String, String>>>,
|
||||
|
||||
@SerialName("vTokens")
|
||||
val vTokens: Map<String, Map<String, Map<String, String>>>,
|
||||
|
||||
@SerialName("vTokenScheme")
|
||||
val vTokenScheme: Map<String, Map<String, String>>,
|
||||
|
||||
@SerialName("vHeaders")
|
||||
val vHeaders: Map<String, Map<String, Map<String, String>>>,
|
||||
|
||||
@SerialName("responseMap")
|
||||
val responseMap: Map<String, Map<String, Map<String, Map<String, String>>>>,
|
||||
)
|
|
@ -1,76 +0,0 @@
|
|||
package mapping
|
||||
|
||||
private val LastResponseMapping0010 = mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"__common__" to mapOf(
|
||||
"rtvrHBuCAwCEEAtIsBtuHJBtFttEtCIJ" to "apiGlobalKey",
|
||||
"GFBGBsJGJFHvErwAswuGruutHHtuHEuG" to "data",
|
||||
"IDJArEArvBsIErGDrsuEuGssHwsHGEts" to "hasZalaczniki",
|
||||
"IDwrCCJDGFrHEuIFsvEvDDJwtBFECCHJ" to "id",
|
||||
"AurrDtEJwwrEEwJtIJvEHHwICuBBDFGF" to "korespondenci",
|
||||
"DBtuuvuGvEBsEAHAJrJECsDGuFrFsuGw" to "nieprzeczytanePrzeczytanePrzez",
|
||||
"FuBsJwBvHErtEDAwJGuHCuIHJwBrrJFI" to "przeczytana",
|
||||
"AuvBvruBGtGvEJHtIrsGvrIBDGAIFJCB" to "skrzynka",
|
||||
"rtBCHvtsICwDEEFuJwvwJDCJBIAvAGCv" to "temat",
|
||||
"twrCEIrHrsuGEIFIsCGEDJHDwrCICwBG" to "uzytkownikRola",
|
||||
"AtAsGsuEIAurEGBAJBCGIIFsuwFrwsJt" to "wazna",
|
||||
"twsrwAIrvGJFEutCrBrDvHCGwGHGCAGv" to "wycofana",
|
||||
),
|
||||
"Skrzynki" to mapOf(
|
||||
"uwtBBGEJtGHCEEvvsuCJEtCJHCrustHu" to "globalKey",
|
||||
"svttEIFJuuvGECBBrGCGtuuBFJBCAtGE" to "nazwa",
|
||||
"BAICCDrJHtAEEtABrJFuFtvGuICrrCGC" to "typUzytkownika",
|
||||
),
|
||||
"WiadomoscSzczegoly" to mapOf(
|
||||
"IvDDwGIurwIrEHDHIBvAvBEBvCsstBCC" to "apiGlobalKey",
|
||||
"utFsEtBJsrEuEECBJDuuIEsvFDCsEIuv" to "data",
|
||||
"DDAtuGHJBIEFErBArstDrsBAvIsvBHHs" to "dataWycofania",
|
||||
"vFICGIHIAwvBEwIHrvstBvwvCJJIGwJE" to "id",
|
||||
"DuJuEEvwFwAFEsAErCEtuIBtvwDsJutA" to "nadawca",
|
||||
"DDAtuGHJBIEFErBArstDrsBAvIsvBHHs" to "nadawcaInfo",
|
||||
"DGswFwrIGwFsEEFFrBDwvsrIsFHHCGst" to "nadawcaTyp",
|
||||
"srBIECHwtJEuEJFIsBHBGsGIrHuBCJAu" to "odbiorcy",
|
||||
"wwArFDurBrDFEvrAJGrsIIFADCswFuIE" to "odczytana",
|
||||
"wuEwstuHDJCGEuEvsBJrEGFvIwvuvCJC" to "temat",
|
||||
"BEDvtCIEBCGJEDGwswIFIvIuAHFDrAJI" to "tresc",
|
||||
"HrvHItBsstFrEABGIDtuuGJJIGBECwFu" to "wycofana",
|
||||
"GvtvvDBGvsAHEBsDsBJIJGtAtCvFswAI" to "zalaczniki",
|
||||
|
||||
// attachments
|
||||
"CtItswwCCvwuEtEDsCGtAutIuuCABEBB" to "nazwaPliku",
|
||||
"HCIICHrHBsvHECCAsFCEGGBsIFJvuHrt" to "url",
|
||||
),
|
||||
"WiadomoscOdpowiedzPrzekaz" to mapOf(
|
||||
"AsrstFGtsDuuEsHCJFBDuICHHtCuwEuG" to "adresaci",
|
||||
"CFHDJEstCsAvErGrJFCvvrvEJuABHFuD" to "apiGlobalKey",
|
||||
"BArtutvvEurtEwBuJrvrCAHFIsFrJCJu" to "data",
|
||||
"HtIFwvAFwsJIEAsrJIrJCEvGuIrrCAIG" to "id",
|
||||
"AswHHvHvJDJsEIrJIHvrvDtCFErwBGtE" to "nadawcaInfo",
|
||||
"BHuHEFHuDGHGEFIwsrssEIFBAuADsrFE" to "nadawcaSkrzynkaGlobalKey",
|
||||
"DwGFGAHvJtvDEEGFstwICEwEBEDrAFID" to "nadawcaSkrzynkaNazwa",
|
||||
"CHCsGwHIAIGJErwGsHJAHGBsArsDvBBG" to "temat",
|
||||
"FJFFFtAFHJvvErrEssGBGIwDJGrEGwrH" to "tresc",
|
||||
"AsvwvAGGJsCCECrGJJIAvIrtBtwBttFG" to "uzytkownikSkrzynkaGlobalKey",
|
||||
"vvtvEJDDIFEGEuCIstEJsHIutAIDGrGJ" to "zalaczniki",
|
||||
|
||||
// recipients
|
||||
"IAACDtCusJrAEJsuJICCvIDCHrrAvEtw" to "nazwa",
|
||||
"BrHECCDIvBCJEvsIJtGJAHwBuAFIHDGG" to "skrzynkaGlobalKey",
|
||||
|
||||
// attachments
|
||||
"vvwssJwwwHHEEuFEJtDEIIrwtrCuGJCH" to "id",
|
||||
"FJFEEvAusIvBEvADIEEJwItwrvDtAsCD" to "idZewnetrzne",
|
||||
"AwHsFrrwGIsAEHGCIsvJCtDICCCJItDF" to "nazwaPliku",
|
||||
"wGBHDwCCFHssEJrFrIuIItFvuFtGtDBB" to "url",
|
||||
"FvDrCwEBtwIvECBsIwIuAItCvBvGCvvB" to "zrodlo",
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
internal val ApiEndpointsResponseMapping = mapOf(
|
||||
"24.04.0010.58863" to LastResponseMapping0010,
|
||||
"24.05.0000.59033" to LastResponseMapping0010,
|
||||
"24.05.0001.59063" to LastResponseMapping0010,
|
||||
"24.05.0002.59079" to LastResponseMapping0010,
|
||||
"24.05.0003.59126" to LastResponseMapping0010,
|
||||
)
|
|
@ -1,110 +0,0 @@
|
|||
package mapping
|
||||
|
||||
val ApiEndpointsVTokenSchemeMap
|
||||
get() = ApiEndpointsVHeaders.map { (version, domains) ->
|
||||
version to domains.map { (domain, headers) ->
|
||||
domain to headers.values.first()
|
||||
}.toMap()
|
||||
}.toMap()
|
||||
|
||||
val ApiEndpointsVHeaders = mapOf(
|
||||
"24.04.0003.58698" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{name}-{appCustomerDb}-{appVersion}",
|
||||
),
|
||||
),
|
||||
"24.04.0004.58722" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{appCustomerDb}-{appVersion}",
|
||||
),
|
||||
),
|
||||
"24.04.0005.58736" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{appCustomerDb}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.04.0006.58753" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{appCustomerDb}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.04.0007.58773" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{appCustomerDb}-{appVersion}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-Token" to "{UUID}-{appCustomerDb}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.04.0008.58830" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-Apitoken" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-Apitoken" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.04.0009.58848" to mapOf(
|
||||
// "uonetplus-wiadomosciplus" to mapOf(
|
||||
// "V-Apitoken" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
// ),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-Apitoken" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.04.0010.58863" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.05.0000.59033" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.05.0001.59063" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.05.0002.59079" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
),
|
||||
"24.05.0003.59126" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
|
||||
),
|
||||
),
|
||||
)
|
|
@ -1,237 +0,0 @@
|
|||
package mapping
|
||||
|
||||
private val LastApiEndpointsVTokenMap = mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
"Autoryzacja.mvc" to "QIQqZdfpO",
|
||||
"Frekwencja.mvc" to "FFWp52i",
|
||||
"Usprawiedliwienia.mvc" to "wogKm",
|
||||
"ZarejestrowaneUrzadzenia.mvc" to "M6VmD",
|
||||
"Zebrania.mvc" to "hkpEC",
|
||||
"EgzaminyZewnetrzne.mvc" to "swrH0YR",
|
||||
"FrekwencjaStatystyki.mvc" to "hIyXiyb84",
|
||||
"FrekwencjaStatystykiPrzedmioty.mvc" to "jJ4WL",
|
||||
"LekcjeZrealizowane.mvc/GetZrealizowane" to "0Zbt",
|
||||
"Oceny.mvc" to "RY5yLKL",
|
||||
"Statystyki.mvc/GetOcenyCzastkowe" to "tvZiHv5mwi",
|
||||
"Statystyki.mvc/GetPunkty" to "2ukYOklF",
|
||||
"Statystyki.mvc/GetOcenyRoczne" to "iPrK0ohLA",
|
||||
"LekcjeZrealizowane.mvc/GetPrzedmioty" to "Rxc0Zje7",
|
||||
"Sprawdziany.mvc" to "LQXXXOMQD",
|
||||
"PlanZajec.mvc" to "dFsnz4Tpjx",
|
||||
"RejestracjaUrzadzeniaToken.mvc" to "QiHSC",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "JO6TnIxMW",
|
||||
"UczenZdjecie.mvc" to "gCglTHSh2",
|
||||
"Uczen.mvc" to "Qmj4F",
|
||||
"UczenDziennik.mvc" to "Uh6DV",
|
||||
"UwagiIOsiagniecia.mvc" to "UcwhGmBp",
|
||||
"UczenCache.mvc" to "1BzK3",
|
||||
"Homework.mvc" to "bQFjG",
|
||||
"SzkolaINauczyciele.mvc" to "fWw8j4JOE",
|
||||
"Ogloszenia.mvc" to "XKkaYNx",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "aeRN",
|
||||
"Frekwencja" to "ElWdgwf2ki",
|
||||
"Usprawiedliwienia" to "nvlW",
|
||||
"FrekwencjaStatystyki" to "dpJo",
|
||||
"ZarejestrowaneUrzadzenia" to "YnPgEHfG",
|
||||
"Zebrania" to "o4rvVwYB",
|
||||
"RealizacjaZajec" to "K1KaR",
|
||||
"SprawdzianyZadaniaDomowe" to "bX5ulTq4v",
|
||||
"SprawdzianSzczegoly" to "ZZJHeiCbhw",
|
||||
"ZadanieDomoweSzczegoly" to "yxAp3xo",
|
||||
"PlanZajec" to "JpSGlO",
|
||||
"DniWolne" to "ZxeNJWAk",
|
||||
"Uwagi" to "u8SLfDJ",
|
||||
"Nauczyciele" to "hCuAORdV",
|
||||
"Informacje" to "0QwjEyw",
|
||||
"DaneUcznia" to "6H06ch",
|
||||
"UczenZdjecie" to "Jgftgt",
|
||||
"OkresyKlasyfikacyjne" to "AmJ7o7",
|
||||
"Oceny" to "Tm6DXpBUiG",
|
||||
),
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "MevM",
|
||||
"Odebrane" to "KfA5",
|
||||
"OdebraneSkrzynka" to "YhQzStvs3U",
|
||||
"Wyslane" to "9pNDCfZWVU",
|
||||
"WyslaneSkrzynka" to "9pTPrt",
|
||||
"Usuniete" to "eu0uh61KM",
|
||||
"UsunieteSkrzynka" to "W8vyUYqP",
|
||||
),
|
||||
)
|
||||
|
||||
val ApiEndpointsVTokenMap = mapOf(
|
||||
"24.04.0003.58698" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "7d4b1844-d114-40e3-a565-696564703b38",
|
||||
"Odebrane" to "a94f324b-0ab8-43eb-830e-814d4a0b4aca",
|
||||
"OdebraneSkrzynka" to "e17a1168-a8d1-45ba-b8e8-409cb25768a8",
|
||||
"Wyslane" to "16d74af5-d36e-4c1e-93cb-21e20624d053",
|
||||
"WyslaneSkrzynka" to "17a55992-7275-4c0c-945b-e0eca7bbc847",
|
||||
"Usuniete" to "cf13626d-df9d-4401-8a32-bd5c3e1a13d0",
|
||||
"UsunieteSkrzynka" to "bc17a165-2619-466e-bb40-2bbcd977d634",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "e89f6a8e-bc6b-403b-a23d-2a807512d3bd",
|
||||
"Frekwencja" to "479fdac8-aa1f-4086-8a8a-b4b68640b810",
|
||||
"Usprawiedliwienia" to "a345d299-6123-4f0e-80d0-f8dd865ac9fc",
|
||||
"FrekwencjaStatystyki" to "664b5b7b-c829-4376-b248-03e6e7fd89b5",
|
||||
"ZarejestrowaneUrzadzenia" to "52568b87-c17e-47e9-a6a9-e457b6750c70",
|
||||
"Zebrania" to "e6fcf75f-9dda-4146-a586-efc49c01fe84",
|
||||
"RealizacjaZajec" to "ed496848-de26-4e46-90f2-07af4e2a2335",
|
||||
"SprawdzianyZadaniaDomowe" to "bec7772d-d4be-4b55-ac63-caf81ee9b642",
|
||||
"SprawdzianSzczegoly" to "3eb25350-845a-4d39-be9a-b141d7201047",
|
||||
"ZadanieDomoweSzczegoly" to "d83c94ba-40aa-44a0-a94b-9f0e2f0cb4d1",
|
||||
"PlanZajec" to "f22e7140-2ff1-446b-9b60-bec755011d40",
|
||||
"DniWolne" to "fabda71d-3e3d-4902-b76a-737c55455af0",
|
||||
"Uwagi" to "b8e73f39-69b2-4c90-b0cb-5b52fc205b98",
|
||||
"Nauczyciele" to "74ce2cac-11e7-4674-836d-26e19f4b3fe2",
|
||||
"Informacje" to "30ec098b-b182-45e2-81a5-60134ebd9a6b",
|
||||
"DaneUcznia" to "3b80e3f8-df07-4f87-b1ac-607f8ed164fc",
|
||||
"UczenZdjecie" to "5c91fef9-846f-4e6c-833d-cf9a766750b2",
|
||||
"OkresyKlasyfikacyjne" to "1ff9466c-2ebb-4649-9563-b005aab2a92a",
|
||||
"Oceny" to "353ebbfa-a387-4c61-8f36-1f499d21c665",
|
||||
),
|
||||
),
|
||||
"24.04.0004.58722" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "843345c5-c9bc-45a6-8bc3-de19867e28f4",
|
||||
"Odebrane" to "f97337b2-8408-4655-8175-70269479c01d",
|
||||
"OdebraneSkrzynka" to "958fad5a-4e94-42f9-894b-7ca5352ea192",
|
||||
"Wyslane" to "5e8ddfb1-7af0-4f5a-a4c4-9a2884258e0f",
|
||||
"WyslaneSkrzynka" to "68fffbaf-7f32-4b1a-9da1-af926536d6d3",
|
||||
"Usuniete" to "c8ee2a38-7cf2-440f-bab1-befdf11f3830",
|
||||
"UsunieteSkrzynka" to "82dd1d9b-6dd9-4f55-8698-5af0c5c55dd1",
|
||||
),
|
||||
),
|
||||
"24.04.0005.58736" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "0de7ceb4-175a-42ca-a8d2-09410c5841b0",
|
||||
"Odebrane" to "a34390ce-3af3-496a-97c5-6e28dca9edb8",
|
||||
"OdebraneSkrzynka" to "749ddb70-72cf-4861-a4eb-751b368e46cd",
|
||||
"Wyslane" to "4b891b13-ecaa-47a5-be24-f8808d94e226",
|
||||
"WyslaneSkrzynka" to "045cc8fb-1f83-47e7-8f13-06978a33000b",
|
||||
"Usuniete" to "b79ebf8a-db1c-4658-a3b5-a9effca3facf",
|
||||
"UsunieteSkrzynka" to "620429d7-57b7-474b-b978-adfa1dc7049a",
|
||||
),
|
||||
),
|
||||
"24.04.0006.58753" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "3d3b9fb5-1471-4a32-9cae-cfc7e578ec44",
|
||||
"Odebrane" to "7c3a7ff9-04b6-4a0a-9cfd-b62d2089becc",
|
||||
"OdebraneSkrzynka" to "af38e4f6-882a-4bf7-8391-965bcbf81d98",
|
||||
"Wyslane" to "e4380487-89c8-445c-a28e-984284a8bf2b",
|
||||
"WyslaneSkrzynka" to "2d8ddc9b-ed39-4093-9604-7247884753cd",
|
||||
"Usuniete" to "6fb7f517-7287-41c3-8d30-64e654f647a7",
|
||||
"UsunieteSkrzynka" to "937cd3ba-6fa9-4e44-bb99-e4fd282803c2",
|
||||
),
|
||||
),
|
||||
"24.04.0007.58773" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "3d3b9fb5-1471-4a32-9cae-cfc7e578ec44",
|
||||
"Odebrane" to "7c3a7ff9-04b6-4a0a-9cfd-b62d2089becc",
|
||||
"OdebraneSkrzynka" to "af38e4f6-882a-4bf7-8391-965bcbf81d98",
|
||||
"Wyslane" to "e4380487-89c8-445c-a28e-984284a8bf2b",
|
||||
"WyslaneSkrzynka" to "2d8ddc9b-ed39-4093-9604-7247884753cd",
|
||||
"Usuniete" to "6fb7f517-7287-41c3-8d30-64e654f647a7",
|
||||
"UsunieteSkrzynka" to "937cd3ba-6fa9-4e44-bb99-e4fd282803c2",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "cbdc1e7c-612f-4b7d-911d-c76701a0bd41",
|
||||
// "AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "04921511-8b5f-44fc-8d2c-d9c5157393d1",
|
||||
"Usprawiedliwienia" to "0e579c35-e3e0-466c-ae2c-82b2b972097f",
|
||||
"FrekwencjaStatystyki" to "39dccbf3-8a04-41b1-a48d-8c056dff702c",
|
||||
"ZarejestrowaneUrzadzenia" to "06b04925-c003-4a53-8f9e-b720e368862a",
|
||||
// "RejestracjaUrzadzeniaToken" to "RejestracjaUrzadzeniaToken",
|
||||
"Zebrania" to "968f86f2-92a0-4f6e-b22c-4791e3362554",
|
||||
"RealizacjaZajec" to "3e1c3fb2-1b8a-4579-b7d8-ea2cfa263d42",
|
||||
"SprawdzianyZadaniaDomowe" to "bf7d0726-7979-4aee-89e2-9b74bbe0820d",
|
||||
"SprawdzianSzczegoly" to "3dcff009-c0ad-4b7f-95eb-18be7e3b9019",
|
||||
"ZadanieDomoweSzczegoly" to "2d8b6288-1f13-4ca7-bb6f-334de9a663d0",
|
||||
"PlanZajec" to "acd3f4c1-f366-41a4-b2a1-c3543d173ec7",
|
||||
"DniWolne" to "f28b5242-c33a-4ef3-8c3d-e8fb4d39f801",
|
||||
"Uwagi" to "1a0d8d8b-de01-4fe7-ae28-8fed2d68e9b5",
|
||||
"Nauczyciele" to "ce89218b-4609-4e10-92aa-217521e5d99a",
|
||||
"Informacje" to "984449a8-907b-4488-9f90-8f0c6e56c03c",
|
||||
"DaneUcznia" to "64348eca-82d1-442a-acc3-4886ca5daa33",
|
||||
"UczenZdjecie" to "4ed033b1-f8f4-4ca1-b277-60be0f80ab0f",
|
||||
"OkresyKlasyfikacyjne" to "6ff9273a-fb69-417d-aca9-d60ecceaad26",
|
||||
"Oceny" to "86f8dd7b-e144-42d9-a389-0648503a479d",
|
||||
),
|
||||
),
|
||||
"24.04.0008.58830" to mapOf(
|
||||
"uonetplus-wiadomosciplus" to mapOf(
|
||||
"Skrzynki" to "CUoEEhi",
|
||||
"Odebrane" to "WrC0slg3Ma",
|
||||
"OdebraneSkrzynka" to "3qrXHuBl",
|
||||
"Wyslane" to "qe4fuJlU",
|
||||
"WyslaneSkrzynka" to "HK1HkSixd",
|
||||
"Usuniete" to "YU3NfDlYW6",
|
||||
"UsunieteSkrzynka" to "anl2rbbj",
|
||||
),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "7oOfWu11z",
|
||||
// "AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "x9qjPzLo",
|
||||
"Usprawiedliwienia" to "kILut",
|
||||
"FrekwencjaStatystyki" to "KFMDUyrTb",
|
||||
"ZarejestrowaneUrzadzenia" to "rFv1bM",
|
||||
// "RejestracjaUrzadzeniaToken" to "RejestracjaUrzadzeniaToken",
|
||||
"Zebrania" to "BpLBXQn",
|
||||
"RealizacjaZajec" to "vGJJxJ",
|
||||
"SprawdzianyZadaniaDomowe" to "ul2GpP",
|
||||
"SprawdzianSzczegoly" to "e9pt",
|
||||
"ZadanieDomoweSzczegoly" to "xqdGvprfot",
|
||||
"PlanZajec" to "At8M",
|
||||
"DniWolne" to "vXIzq",
|
||||
"Uwagi" to "TO9M0Q0Pyx",
|
||||
"Nauczyciele" to "Qskx6",
|
||||
"Informacje" to "o8HckhUU",
|
||||
"DaneUcznia" to "7YzGe",
|
||||
"UczenZdjecie" to "cJ5XVtL",
|
||||
"OkresyKlasyfikacyjne" to "7VOK9cWFm",
|
||||
"Oceny" to "v0f5Twc",
|
||||
),
|
||||
),
|
||||
"24.04.0009.58848" to mapOf(
|
||||
// "uonetplus-wiadomosciplus" to mapOf(
|
||||
// "Skrzynki" to "",
|
||||
// "Odebrane" to "",
|
||||
// "OdebraneSkrzynka" to "",
|
||||
// "Wyslane" to "",
|
||||
// "WyslaneSkrzynka" to "",
|
||||
// "Usuniete" to "",
|
||||
// "UsunieteSkrzynka" to "",
|
||||
// ),
|
||||
"uonetplus-uczenplus" to mapOf(
|
||||
"Context" to "ftqT",
|
||||
// "AutoryzacjaPesel" to "AutoryzacjaPesel",
|
||||
"Frekwencja" to "xDSLYEIQ9t",
|
||||
"Usprawiedliwienia" to "Isxnkx3",
|
||||
"FrekwencjaStatystyki" to "YHBn",
|
||||
"ZarejestrowaneUrzadzenia" to "0TM5",
|
||||
// "RejestracjaUrzadzeniaToken" to "RejestracjaUrzadzeniaToken",
|
||||
"Zebrania" to "tm6nA",
|
||||
"RealizacjaZajec" to "W4Xxzed4W",
|
||||
"SprawdzianyZadaniaDomowe" to "IhEFyz",
|
||||
"SprawdzianSzczegoly" to "uwZ8AKF6ID",
|
||||
"ZadanieDomoweSzczegoly" to "5lOnI9JB5L",
|
||||
"PlanZajec" to "GWMox0oD08",
|
||||
"DniWolne" to "itYFmnq9P",
|
||||
"Uwagi" to "NCDEvMdnI",
|
||||
"Nauczyciele" to "I5Lp3r1W",
|
||||
"Informacje" to "mheKfko1F",
|
||||
"DaneUcznia" to "u8fE",
|
||||
"UczenZdjecie" to "i3zPKUe4Ap",
|
||||
"OkresyKlasyfikacyjne" to "O4QHg",
|
||||
"Oceny" to "LN8LI6",
|
||||
),
|
||||
),
|
||||
"24.04.0010.58863" to LastApiEndpointsVTokenMap,
|
||||
"24.05.0000.59033" to LastApiEndpointsVTokenMap,
|
||||
"24.05.0001.59063" to LastApiEndpointsVTokenMap,
|
||||
"24.05.0002.59079" to LastApiEndpointsVTokenMap,
|
||||
"24.05.0003.59126" to LastApiEndpointsVTokenMap,
|
||||
)
|
File diff suppressed because it is too large
Load diff
|
@ -1,9 +0,0 @@
|
|||
import io.github.wulkanowy.messages.pojo.Message
|
||||
|
||||
fun checkIdUniqueness(list: List<Message>) {
|
||||
val duplicates = list.groupingBy { it.id }.eachCount().filter { it.value > 1 }
|
||||
|
||||
if (duplicates.isNotEmpty()) {
|
||||
throw IllegalArgumentException("Found ${duplicates.size} duplicated id(s) in messages: $duplicates")
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
import io.github.wulkanowy.messages.pojo.Message
|
||||
import io.github.wulkanowy.messages.pojo.MessageType
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.assertDoesNotThrow
|
||||
import org.junit.jupiter.api.assertThrows
|
||||
|
||||
class UtilsTest {
|
||||
|
||||
@Test
|
||||
fun `check message id uniqueness when really duplicates`() {
|
||||
val list = listOf(
|
||||
createMessage(1),
|
||||
createMessage(2),
|
||||
createMessage(2),
|
||||
createMessage(3),
|
||||
)
|
||||
|
||||
assertThrows<IllegalArgumentException> {
|
||||
checkIdUniqueness(list)
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `check message id uniqueness when there is no duplicates`() {
|
||||
val list = listOf(
|
||||
createMessage(1),
|
||||
createMessage(2),
|
||||
createMessage(3),
|
||||
)
|
||||
|
||||
assertDoesNotThrow {
|
||||
checkIdUniqueness(list)
|
||||
}
|
||||
}
|
||||
|
||||
private fun createMessage(id: Long) = Message(
|
||||
id = id,
|
||||
title = "",
|
||||
content = "",
|
||||
type = MessageType.DASHBOARD_MESSAGE,
|
||||
)
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
kotlin.code.style=official
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
5
gradle/wrapper/gradle-wrapper.properties
vendored
5
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +0,0 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
240
gradlew
vendored
240
gradlew
vendored
|
@ -1,240 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=${0##*/}
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
# double quotes to make sure that they get re-expanded; and
|
||||
# * put everything else in single quotes, so that it's not re-expanded.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
91
gradlew.bat
vendored
91
gradlew.bat
vendored
|
@ -1,91 +0,0 @@
|
|||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
21
index.html
Normal file
21
index.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Wulkanowy Messages</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Wulkanowy Messages</h1>
|
||||
<ul>
|
||||
<li><b>20. <a href="https://www.facebook.com/wulkanowy/posts/525359099606863">Informacje o wydaniu wersji 1.8.1</a></b><br><span>Dziękujemy za aktualizację Wulkanowego! Kliknij w kafelek, żeby przeczytać o nowościach w tej wersji</span></li>
|
||||
<li><b>16. <a href="https://www.facebook.com/wulkanowy/posts/459115399564567">Ważna informacja dotycząca wiadomości</a></b><br><span>Na zainstalowanej wersji Wulkanowego mogą występować problemy z wiadomościami. Kliknij w kafelek, by dowiedzieć się więcej</span></li>
|
||||
<li><b>14. <a href="https://play.google.com/store/apps/details?id=io.github.wulkanowy">Dostepna aktualizacja</a></b><br><span>W sklepie Play powinna być już dostępna aktualizacja, która przywraca podstawowe funkcjonalności modułu wiadomości. Kliknij, aby przejść do sklepu Play</span></li>
|
||||
<li><b>13. <a href="https://appgallery.huawei.com/#/app/C101440411">Dostepna aktualizacja</a></b><br><span>W sklepie AppGallery powinna być już dostępna aktualizacja, która przywraca podstawowe funkcjonalności modułu wiadomości. Kliknij, aby przejść do sklepu AppGallery</span></li>
|
||||
<li><b>8. <a href="https://appgallery.huawei.com/app/C101440411">Błędy we frekwencji</a></b><br><span>W szczegółach frekwencji mogą występować błędy przy ładowaniu danych. Problem spowodowany jest ostatnią aktualizacją systemu UONET+. Poprawka jest juz dostępna w sklepie AppGallery</span></li>
|
||||
<li><b>7. <a href="https://play.google.com/store/apps/details?id=io.github.wulkanowy">Błędy we frekwencji</a></b><br><span>W szczegółach frekwencji mogą występować błędy przy ładowaniu danych. Problem spowodowany jest ostatnią aktualizacją systemu UONET+. Poprawka jest juz dostępna w sklepie Play</span></li>
|
||||
<li><b>4. <a href="https://appgallery.huawei.com/app/C101440411">Problemy z logowaniem</a></b><br><span>Przez aktualizację dziennika Gdańskiej Platformy Edukacyjnej przestało działać logowanie w Wulkanowym. Przez to przy odświeżaniu danych pokazuje się komunikat o nieznanym błędzie dziennika. W sklepie AppGallery dostępna jest aktualizacja</span></li>
|
||||
<li><b>3. <a href="https://play.google.com/store/apps/details?id=io.github.wulkanowy">Problemy z logowaniem</a></b><br><span>Przez aktualizację dziennika Gdańskiej Platformy Edukacyjnej przestało działać logowanie w Wulkanowym. Przez to przy odświeżaniu danych pokazuje się komunikat o nieznanym błędzie dziennika. W sklepie Google Play dostępna jest aktualizacja</span></li>
|
||||
</ul>
|
||||
<footer>© 2022 by Wulkanowy | wygenerowano 2022-11-20T23:27:24.283922 | <a href="v1.json">raw json</a></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -1,25 +0,0 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.kotlin.jvm'
|
||||
id 'org.jetbrains.kotlin.plugin.serialization'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version"
|
||||
}
|
||||
|
||||
java {
|
||||
withJavadocJar()
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
messages(MavenPublication) {
|
||||
from components.java
|
||||
groupId = "io.github.wulkanowy"
|
||||
artifactId = "messages"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
enum class AppFlavor {
|
||||
PLAY,
|
||||
HMS,
|
||||
FDROID,
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class EndMessage(
|
||||
|
||||
@SerialName("isVisible")
|
||||
val isVisible: Boolean,
|
||||
|
||||
@SerialName("title")
|
||||
val title: String,
|
||||
|
||||
@SerialName("content")
|
||||
val content: String,
|
||||
)
|
|
@ -1,26 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class Message(
|
||||
val id: Long,
|
||||
val title: String,
|
||||
val content: String,
|
||||
@Deprecated("use types")
|
||||
val type: MessageType? = null,
|
||||
@Deprecated("use messageTypes")
|
||||
val types: List<MessageType>? = null,
|
||||
val messageTypes: List<MessageType>? = null,
|
||||
val priority: MessagePriority = MessagePriority.LOW,
|
||||
val destinationUrl: String? = null,
|
||||
val versionMin: Int? = null,
|
||||
val versionMax: Int? = null,
|
||||
val targetRegisterHost: String? = null,
|
||||
val targetFlavor: AppFlavor? = null,
|
||||
val isXVisible: Boolean = false,
|
||||
val isOkVisible: Boolean = false,
|
||||
@Deprecated("use isXVisible or isOkVisible")
|
||||
val isDismissible: Boolean = false,
|
||||
val isVisible: Boolean = true,
|
||||
)
|
|
@ -1,7 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
enum class MessagePriority {
|
||||
HIGH,
|
||||
MEDIUM,
|
||||
LOW,
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
enum class MessageType {
|
||||
GENERAL_MESSAGE,
|
||||
DASHBOARD_MESSAGE,
|
||||
LOGIN_MESSAGE,
|
||||
LOGIN_STUDENT_SELECT_MESSAGE,
|
||||
LOGIN_SYMBOL_MESSAGE,
|
||||
PASS_RESET_MESSAGE,
|
||||
ERROR_OVERRIDE,
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
enum class RegisterAddress(val url: String) {
|
||||
VULCAN("https://vulcan.net.pl"),
|
||||
E_SZKOLA_OPOLSKIE("https://eszkola.opolskie.pl"),
|
||||
EDU_GDANSK("https://edu.gdansk.pl"),
|
||||
EDU_LUBLIN("https://edu.lublin.eu"),
|
||||
UMT_TARNOW("https://umt.tarnow.pl"),
|
||||
RESMAN("https://resman.pl"),
|
||||
EDU_PORTAL_KOSZALIN("https://eduportal.koszalin.pl"),
|
||||
FAKE_LOG("https://fakelog.cf")
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
include "generator"
|
||||
include "pojos"
|
||||
|
||||
rootProject.name = 'messages'
|
1
v1.json
Normal file
1
v1.json
Normal file
|
@ -0,0 +1 @@
|
|||
[{"id":20,"title":"Informacje o wydaniu wersji 1.8.1","content":"Dziękujemy za aktualizację Wulkanowego! Kliknij w kafelek, żeby przeczytać o nowościach w tej wersji","type":"DASHBOARD_MESSAGE","priority":"LOW","destinationUrl":"https://www.facebook.com/wulkanowy/posts/525359099606863","versionMin":116,"isDismissible":true,"isVisible":true},{"id":16,"title":"Ważna informacja dotycząca wiadomości","content":"Na zainstalowanej wersji Wulkanowego mogą występować problemy z wiadomościami. Kliknij w kafelek, by dowiedzieć się więcej","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://www.facebook.com/wulkanowy/posts/459115399564567","versionMin":108,"versionMax":111,"isDismissible":false,"isVisible":true},{"id":14,"title":"Dostepna aktualizacja","content":"W sklepie Play powinna być już dostępna aktualizacja, która przywraca podstawowe funkcjonalności modułu wiadomości. Kliknij, aby przejść do sklepu Play","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://play.google.com/store/apps/details?id=io.github.wulkanowy","versionMax":107,"targetFlavor":"PLAY","isDismissible":false,"isVisible":true},{"id":13,"title":"Dostepna aktualizacja","content":"W sklepie AppGallery powinna być już dostępna aktualizacja, która przywraca podstawowe funkcjonalności modułu wiadomości. Kliknij, aby przejść do sklepu AppGallery","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://appgallery.huawei.com/#/app/C101440411","versionMax":107,"targetFlavor":"HMS","isDismissible":false,"isVisible":true},{"id":8,"title":"Błędy we frekwencji","content":"W szczegółach frekwencji mogą występować błędy przy ładowaniu danych. Problem spowodowany jest ostatnią aktualizacją systemu UONET+. Poprawka jest juz dostępna w sklepie AppGallery","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://appgallery.huawei.com/app/C101440411","versionMax":107,"targetFlavor":"HMS","isDismissible":false,"isVisible":true},{"id":7,"title":"Błędy we frekwencji","content":"W szczegółach frekwencji mogą występować błędy przy ładowaniu danych. Problem spowodowany jest ostatnią aktualizacją systemu UONET+. Poprawka jest juz dostępna w sklepie Play","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://play.google.com/store/apps/details?id=io.github.wulkanowy","versionMax":107,"targetFlavor":"PLAY","isDismissible":false,"isVisible":true},{"id":4,"title":"Problemy z logowaniem","content":"Przez aktualizację dziennika Gdańskiej Platformy Edukacyjnej przestało działać logowanie w Wulkanowym. Przez to przy odświeżaniu danych pokazuje się komunikat o nieznanym błędzie dziennika. W sklepie AppGallery dostępna jest aktualizacja","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://appgallery.huawei.com/app/C101440411","versionMax":101,"targetRegisterHost":"https://edu.gdansk.pl","targetFlavor":"HMS","isDismissible":false,"isVisible":true},{"id":3,"title":"Problemy z logowaniem","content":"Przez aktualizację dziennika Gdańskiej Platformy Edukacyjnej przestało działać logowanie w Wulkanowym. Przez to przy odświeżaniu danych pokazuje się komunikat o nieznanym błędzie dziennika. W sklepie Google Play dostępna jest aktualizacja","type":"DASHBOARD_MESSAGE","priority":"HIGH","destinationUrl":"https://play.google.com/store/apps/details?id=io.github.wulkanowy","versionMax":101,"targetRegisterHost":"https://edu.gdansk.pl","targetFlavor":"PLAY","isDismissible":false,"isVisible":true}]
|
Loading…
Reference in a new issue