From 98f3e2a461800bf0aa85d9c6fd2de7ba835e3742 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 26 Sep 2023 16:11:06 +0600 Subject: [PATCH 1/4] Update libs.versions.toml --- gradle/libs.versions.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8e14293..ff14b9e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,12 +3,12 @@ kotlin = "1.8.22" kotlin-serialization = "1.5.1" -plagubot = "7.1.0" -tgbotapi = "9.1.0" +plagubot = "7.2.0" +tgbotapi = "9.2.0" microutils = "0.19.9" kslog = "1.1.2" krontab = "2.1.2" -plagubot-plugins = "0.14.0" +plagubot-plugins = "0.15.0" dokka = "1.8.20" From 39b607c4e7d4c9fc0b80eef8929cb5d31b0a1744 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 26 Sep 2023 16:11:33 +0600 Subject: [PATCH 2/4] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index ad3ef23..f861389 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,4 +10,4 @@ android.enableJetifier=true # Project data group=dev.inmo -version=0.3.0 +version=0.4.0 From 15bd013eaae5a4306f63566f3b4aba99d7cac519 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 30 Sep 2023 07:28:37 +0600 Subject: [PATCH 3/4] Update libs.versions.toml --- gradle/libs.versions.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ff14b9e..6d0fb91 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,12 +3,12 @@ kotlin = "1.8.22" kotlin-serialization = "1.5.1" -plagubot = "7.2.0" -tgbotapi = "9.2.0" +plagubot = "7.2.1" +tgbotapi = "9.2.1" microutils = "0.19.9" kslog = "1.1.2" krontab = "2.1.2" -plagubot-plugins = "0.15.0" +plagubot-plugins = "0.15.1" dokka = "1.8.20" From 6df4546b812d0d4860249f9680a14362ccd56ed9 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 31 Oct 2023 20:28:19 +0600 Subject: [PATCH 4/4] update sample files --- runner/config.json | 10 +++++----- runner/sample.docker-compose.yml | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 runner/sample.docker-compose.yml diff --git a/runner/config.json b/runner/config.json index b56b2cf..e080bd9 100644 --- a/runner/config.json +++ b/runner/config.json @@ -33,11 +33,11 @@ }, "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?" diff --git a/runner/sample.docker-compose.yml b/runner/sample.docker-compose.yml new file mode 100644 index 0000000..e03cc1e --- /dev/null +++ b/runner/sample.docker-compose.yml @@ -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"