mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2026-11-01 08:43:09 +00:00
12 files changed
+47
-28
No files matched your search
@@ -1,5 +1,24 @@
|
||||
# PlaguPoster
|
||||
|
||||
## 0.12.0
|
||||
|
||||
* `Versions`:
|
||||
* `kotlin`: `2.3.10` -> `2.4.21`
|
||||
* `kotlin-serialization`: `1.10.0` -> `1.11.0`
|
||||
* `psql`: `42.6.0` -> `42.7.14`
|
||||
* `dokka`: `2.0.0` -> `2.2.0`
|
||||
* `nmcp`: `1.4.4` -> `1.6.2`
|
||||
* `plagubot`: `11.1.0` -> `14.0.0`
|
||||
* `tgbotapi`: `32.0.0` -> `37.1.0`
|
||||
* `microutils`: `0.29.1` -> `0.32.0`
|
||||
* `kslog`: `1.6.0` -> `2.1.0`
|
||||
* `krontab`: `2.8.0` -> `3.1.0`
|
||||
* `plagubot-plugins`: `0.25.0` -> `0.29.0`
|
||||
* `Docker JDK`: `19` -> `21.0.12.1`
|
||||
* `Gradle`: `8.13` -> `9.7.0`
|
||||
* Adapt forwarded-message copying and replies to updated Telegram message types
|
||||
* Migrate compiler options and application main class configuration for Kotlin 2.4 and Gradle 9
|
||||
|
||||
## 0.11.1
|
||||
|
||||
* Update `PlaguBot` dependency to allow using of `proxy` section in config
|
||||
|
||||
+1
-1
@@ -9,4 +9,4 @@ android.enableJetifier=true
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=0.11.1
|
||||
version=0.12.0
|
||||
+11
-11
@@ -1,20 +1,20 @@
|
||||
[versions]
|
||||
|
||||
kotlin = "2.3.10"
|
||||
kotlin-serialization = "1.10.0"
|
||||
kotlin = "2.4.21"
|
||||
kotlin-serialization = "1.11.0"
|
||||
|
||||
plagubot = "11.1.0"
|
||||
tgbotapi = "32.0.0"
|
||||
microutils = "0.29.1"
|
||||
kslog = "1.6.0"
|
||||
krontab = "2.8.0"
|
||||
plagubot-plugins = "0.25.0"
|
||||
plagubot = "14.0.0"
|
||||
tgbotapi = "37.1.0"
|
||||
microutils = "0.32.0"
|
||||
kslog = "2.1.0"
|
||||
krontab = "3.1.0"
|
||||
plagubot-plugins = "0.29.0"
|
||||
|
||||
nmcp = "1.4.4"
|
||||
nmcp = "1.6.2"
|
||||
|
||||
dokka = "2.0.0"
|
||||
dokka = "2.2.0"
|
||||
|
||||
psql = "42.6.0"
|
||||
psql = "42.7.14"
|
||||
|
||||
github-release = "2.5.2"
|
||||
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -5,10 +5,8 @@ apply from: "$publishGradlePath"
|
||||
|
||||
kotlin {
|
||||
jvm {
|
||||
compilations.main {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
compilerOptions {
|
||||
jvmTarget = "JVM_17"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,10 +5,8 @@ apply from: "$publishGradlePath"
|
||||
|
||||
kotlin {
|
||||
jvm {
|
||||
compilations.main {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
compilerOptions {
|
||||
jvmTarget = "JVM_17"
|
||||
}
|
||||
}
|
||||
js (IR) {
|
||||
|
||||
@@ -49,7 +49,7 @@ class PostPublisher(
|
||||
toChatId = cachingChatId
|
||||
)
|
||||
}.onSuccess {
|
||||
bot.copyMessage(targetChatId, it)
|
||||
bot.copyMessage(fromChatId = it.chat.id, messageId = it.messageId, toChatId = targetChatId)
|
||||
haveSentMessages = true
|
||||
}
|
||||
}.onSuccess {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM bellsoft/liberica-openjdk-alpine:19
|
||||
FROM bellsoft/liberica-openjdk-alpine:21.0.12.1
|
||||
|
||||
USER 1000
|
||||
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ dependencies {
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = 'dev.inmo.plagubot.AppKt'
|
||||
mainClass = 'dev.inmo.plagubot.AppKt'
|
||||
}
|
||||
|
||||
java {
|
||||
|
||||
@@ -69,8 +69,10 @@ object Plugin : Plugin {
|
||||
val postId = messageInReply ?.let {
|
||||
postsRepo.getIdByChatAndMessage(messageInReply.chat.id, messageInReply.messageId) ?: let { _ ->
|
||||
reply(
|
||||
it,
|
||||
"Unable to find any post related to the message in reply"
|
||||
toChatId = it.chat.id,
|
||||
toMessageId = it.messageId,
|
||||
text = "Unable to find any post related to the message in reply",
|
||||
ephemeralMessageParameters = null
|
||||
)
|
||||
|
||||
return@onCommand
|
||||
|
||||
@@ -62,8 +62,10 @@ object Plugin : Plugin {
|
||||
exists != null
|
||||
)
|
||||
reply(
|
||||
it.message,
|
||||
textSources,
|
||||
toChatId = it.message.chat.id,
|
||||
toMessageId = it.message.messageId,
|
||||
entities = textSources,
|
||||
ephemeralMessageParameters = null,
|
||||
replyMarkup = buttons
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user