From b72cda2f4413a68e942acb641a5119a7c28f5a09 Mon Sep 17 00:00:00 2001 From: Typhlos Date: Sun, 19 Mar 2023 12:27:04 +0100 Subject: [PATCH 1/7] Correct HOSTNAME to match full app path and not just the domain --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 2048f92..70acc9e 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ Environment=PORT=__PORT__ -Environment=HOSTNAME=__DOMAIN__ +Environment=HOSTNAME=__PATH_URL__ Environment=GIN_MODE=release Environment=FORWARD_IP_HEADER=X-Forwarded-For Environment="__YNH_GO_LOAD_PATH__" From c947b732c3d9174ff22ccd288f59fd74c11f756e Mon Sep 17 00:00:00 2001 From: Typhlos Date: Sun, 19 Mar 2023 12:30:56 +0100 Subject: [PATCH 2/7] Correct HOSTNAME to match full app path and not just the domain --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 70acc9e..d5d4d95 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ Environment=PORT=__PORT__ -Environment=HOSTNAME=__PATH_URL__ +Environment=HOSTNAME=__DOMAIN__/__PATH_URL__ Environment=GIN_MODE=release Environment=FORWARD_IP_HEADER=X-Forwarded-For Environment="__YNH_GO_LOAD_PATH__" From b0fbe1aae774bd98527a736669ac1ade25031d02 Mon Sep 17 00:00:00 2001 From: Typhlos Date: Sun, 19 Mar 2023 12:39:50 +0100 Subject: [PATCH 3/7] Correct HOSTNAME to match full app path and not just the domain --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index d5d4d95..bed0e0d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ Environment=PORT=__PORT__ -Environment=HOSTNAME=__DOMAIN__/__PATH_URL__ +Environment=HOSTNAME=__DOMAIN____PATH_URL__ Environment=GIN_MODE=release Environment=FORWARD_IP_HEADER=X-Forwarded-For Environment="__YNH_GO_LOAD_PATH__" From 48c1e54fced4a18ef5b4fb1e6e42e3b20fa6835f Mon Sep 17 00:00:00 2001 From: Typhlos Date: Sun, 19 Mar 2023 13:30:26 +0100 Subject: [PATCH 4/7] Add https for the CLI output --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index bed0e0d..1bf330b 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ Environment=PORT=__PORT__ -Environment=HOSTNAME=__DOMAIN____PATH_URL__ +Environment=HOSTNAME=https://__DOMAIN____PATH_URL__ Environment=GIN_MODE=release Environment=FORWARD_IP_HEADER=X-Forwarded-For Environment="__YNH_GO_LOAD_PATH__" From cbfc1c97552baf502de72232d7467d9f168e4749 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 24 Mar 2023 20:27:24 +0000 Subject: [PATCH 5/7] Auto-update README --- README.md | 3 ++- README_fr.md | 17 +++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 22bc536..03a0e9a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # ifconfig-io for YunoHost -[![Integration level](https://dash.yunohost.org/integration/ifconfig-io.svg)](https://dash.yunohost.org/appci/app/ifconfig-io) ![Working status](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/ifconfig-io.svg)](https://dash.yunohost.org/appci/app/ifconfig-io) ![Working status](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.maintain.svg) + [![Install ifconfig-io with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ifconfig-io) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index 0ae080d..4843992 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,15 +5,16 @@ It shall NOT be edited by hand. # ifconfig-io pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/ifconfig-io.svg)](https://dash.yunohost.org/appci/app/ifconfig-io) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/ifconfig-io.svg)](https://dash.yunohost.org/appci/app/ifconfig-io) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/ifconfig-io.maintain.svg) + [![Installer ifconfig-io avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ifconfig-io) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d'installer ifconfig-io rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* +> *Ce package vous permet d’installer ifconfig-io rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble Inspired by ifconfig.me, but designed for pure speed. A single server can do 18,000 requests per seconds while only consuming 50megs of ram. @@ -27,10 +28,10 @@ Tested to handle 15,000 requests persecond on modest hardware with an average re **Démo :** https://ifconfig.io ## Documentations et ressources -* Site officiel de l'app : +* Site officiel de l’app : * Documentation officielle utilisateur : -* Documentation officielle de l'admin : -* Dépôt de code officiel de l'app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -46,4 +47,4 @@ ou sudo yunohost app upgrade ifconfig-io -u https://github.com/YunoHost-Apps/ifconfig-io_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file From f1c7e96ababa6d7194e8d8a440ed0226dace076e Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sun, 16 Apr 2023 06:06:08 +0200 Subject: [PATCH 6/7] Update to latest version --- check_process | 8 ++++---- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/check_process b/check_process index 1c3174d..ce9d843 100644 --- a/check_process +++ b/check_process @@ -15,8 +15,8 @@ setup_private=0 setup_public=1 upgrade=1 - # 2022.01.05~ynh3 - upgrade=1 from_commit=4980c6868671f1aef796d890b77d43ec7ecbf25f + # 2022.12.16~ynh1 + upgrade=1 from_commit=cbfc1c97552baf502de72232d7467d9f168e4749 backup_restore=1 multi_instance=1 port_already_use=0 @@ -25,6 +25,6 @@ Email= Notification=none ;;; Upgrade options - ; commit=4980c6868671f1aef796d890b77d43ec7ecbf25f - name=2022.01.05~ynh3 + ; commit=cbfc1c97552baf502de72232d7467d9f168e4749 + name=2022.12.26~ynh1 manifest_arg=domain=DOMAIN&path=PATH diff --git a/conf/app.src b/conf/app.src index 9f9f787..5adedd3 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/georgyo/ifconfig.io/archive/c2d3e4302166573003ce8ace4042f4a977133c31.tar.gz -SOURCE_SUM=6a51296513c890b8f13726a730aff16f2a7426ed583f18e285d27ddbc904d7ff +SOURCE_URL=https://github.com/georgyo/ifconfig.io/archive/3feb4d428dfa7881c60849b16167beccc73994e8.tar.gz +SOURCE_SUM=b1144fc5c394ae2bda5a2d0bf3cdf7586e863187b833ed5a9265fbd62a81f7fe SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 0b8caca..1825e02 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "IP API service to get their public IP address." }, - "version": "2022.12.16~ynh1", + "version": "2023.03.26~ynh1", "url": "https://github.com/georgyo/ifconfig.io/", "upstream": { "license": "MIT", From f3a51b557cdf89ef7c1b440f51d483e0f24c5109 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 16 Apr 2023 04:10:45 +0000 Subject: [PATCH 7/7] 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 03a0e9a..303e829 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ I used the gin framework as it does several things to ensure that there are no m Tested to handle 15,000 requests persecond on modest hardware with an average response time of 130ms. -**Shipped version:** 2022.12.16~ynh1 +**Shipped version:** 2023.03.26~ynh1 **Demo:** https://ifconfig.io ## Documentation and resources diff --git a/README_fr.md b/README_fr.md index 4843992..54241cd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ I used the gin framework as it does several things to ensure that there are no m Tested to handle 15,000 requests persecond on modest hardware with an average response time of 130ms. -**Version incluse :** 2022.12.16~ynh1 +**Version incluse :** 2023.03.26~ynh1 **Démo :** https://ifconfig.io ## Documentations et ressources