From 0fcd0c9d668d8507c40b3b55ba69c66e944cd500 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 21 Dec 2023 13:19:44 +0100 Subject: [PATCH 1/5] add info about monitoring server games --- doc/ADMIN.md | 1 + doc/ADMIN_fr.md | 1 + scripts/install | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/ADMIN.md create mode 100644 doc/ADMIN_fr.md diff --git a/doc/ADMIN.md b/doc/ADMIN.md new file mode 100644 index 0000000..9a1158a --- /dev/null +++ b/doc/ADMIN.md @@ -0,0 +1 @@ +It is possible to have a list of all games currently available on the server via following link: https://__DOMAIN____PATH__/games-overview?serverId=__KEY__ \ No newline at end of file diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md new file mode 100644 index 0000000..cc17b2e --- /dev/null +++ b/doc/ADMIN_fr.md @@ -0,0 +1 @@ +Il est possible d’avoir une liste de tous les jeux actuellement disponibles sur le serveur en suivant ce lien : https://__DOMAIN____PATH__/games-overview?serverId=__KEY__ \ No newline at end of file diff --git a/scripts/install b/scripts/install index 9bf5f96..c2110e3 100755 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." -key=$(ynh_string_random --length=45 | base64) +key=$(ynh_string_random --length=8 | base64) ynh_app_setting_set --app=$app --key=key --value=$key ynh_add_config --template="../conf/.env" --destination="$install_dir/.env" From 8af07b77363fcd0d5467d46011ce075048b61d6a Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:25:09 +0100 Subject: [PATCH 2/5] Test multi-instance --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 7087ef5..1f6dfcd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,7 +19,7 @@ code = "https://github.com/terraforming-mars/terraforming-mars" [integration] yunohost = ">= 11.2.4" architectures = "all" -multi_instance = false +multi_instance = true ldap = false sso = false From e8877081f9d9c4f50a857ce35ada727363ba7313 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:22:22 +0100 Subject: [PATCH 3/5] fix postgresql url --- conf/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/.env b/conf/.env index 5c1fb6f..e714cd5 100644 --- a/conf/.env +++ b/conf/.env @@ -14,7 +14,7 @@ HOST=__DOMAIN__ #KEY_PATH=/etc/yunohost/certs/__DOMAIN__/key.pem ## Postgresql -POSTGRES_HOST=postgresql://__DB_USER__:__DB_PWD__@:5432/__DB_NAME__ +POSTGRES_HOST=postgresql://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__ ## Games can only be in the database for this many days. ## When this is unspecified, PostgresQL deletes games in 10 days, and From 86d364d2e88a21d59c13f0fc019c520824334397 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:23:30 +0100 Subject: [PATCH 4/5] Update packaging version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1f6dfcd..11704cd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Terraforming Mars " description.en = "Open-source online implementation of the great board game Terraforming mars." description.fr = "Implementation en ligne à code source ouvert de l’excellent jeu de plateau Terraforming Mars" -version = "2023.12.17~ynh1" +version = "2023.12.17~ynh2" maintainers = ["Thovi98"] From 9b49f58e8555f3e0c5d1c3bcf3c7f91864a20d62 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 21 Dec 2023 17:23:33 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5201130..dad756a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in This is an open-source online implementation of the great board game Terraforming mars. It is not affiliated with FryxGames, Asmodee Digital or Steam in any way. -**Shipped version:** 2023.12.17~ynh1 +**Shipped version:** 2023.12.17~ynh2 **Demo:** https://terraforming-mars.herokuapp.com/ diff --git a/README_fr.md b/README_fr.md index 0ea647d..cb6a44f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Cette application est une implémentation en ligne et open source de l’excellent jeu de plateau Terraforming mars. Elle n’est affiliée à FryxGames, Asmodee Digital ou Steam en aucun cas. -**Version incluse :** 2023.12.17~ynh1 +**Version incluse :** 2023.12.17~ynh2 **Démo :** https://terraforming-mars.herokuapp.com/