9 Commits
0.2.3 ... 0.4.0

5 changed files with 42 additions and 10 deletions

View File

@@ -1,5 +1,12 @@
# PlaguPoster
## 0.3.0
* `Versions`:
* `tgbotapi`: `9.1.0`
* `plagubot`: `7.1.0`
* `plagubot-plugins`: `0.14.0`
## 0.2.3
* Add opportunity to use several target chat ids

View File

@@ -10,4 +10,4 @@ android.enableJetifier=true
# Project data
group=dev.inmo
version=0.2.3
version=0.4.0

View File

@@ -3,12 +3,12 @@
kotlin = "1.8.22"
kotlin-serialization = "1.5.1"
plagubot = "7.0.0"
tgbotapi = "9.0.0"
plagubot = "7.2.1"
tgbotapi = "9.2.1"
microutils = "0.19.9"
kslog = "1.1.2"
krontab = "2.1.2"
plagubot-plugins = "0.13.0"
plagubot-plugins = "0.15.1"
dokka = "1.8.20"

View File

@@ -26,16 +26,18 @@
"chats": {
"targetChat": 12345678,
"cacheChat": 12345678,
"sourceChat": 12345678
"sourceChat": 12345678,
"targetChats": [12345678],
"_note": "You must set targetChat or targetChats with at least one object"
}
},
"ratingsPolls": {
"variants": {
"Круть": 2,
"Ок": 1,
"Не ок": -1,
"Совсем не ок": -2,
"Посмотреть результаты": 0
"Cool": 2,
"Ok": 1,
"Not ok": -1,
"Inappropriate": -2,
"Results": 0
},
"autoAttach": true,
"ratingOfferText": "What do you think about it?"

View File

@@ -0,0 +1,23 @@
version: "3.4"
services:
plaguposter_postgres:
image: postgres:15.4-bullseye
container_name: "plaguposter_postgres"
restart: "unless-stopped"
environment:
POSTGRES_USER: "test"
POSTGRES_PASSWORD: "test"
POSTGRES_DB: "test"
volumes:
- "./db/:/var/lib/postgresql/data"
ports:
- "127.0.0.1:8091:5432"
plaguposter:
image: insanusmokrassar/plaguposter:latest
container_name: "plaguposter"
restart: "unless-stopped"
volumes:
- "./config.json:/config.json"
depends_on:
- "plaguposter_postgres"