From 150095074b50a59fd623b40da75c8526147777e3 Mon Sep 17 00:00:00 2001 From: Serversonic <62808385+serversonic@users.noreply.github.com> Date: Fri, 11 Aug 2023 12:03:52 +0100 Subject: [PATCH 1/4] Update nginx.conf Move ^/api location stanza out of root location --- conf/nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2d8e196..d5ce364 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,11 +9,7 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 256M; - try_files $uri $uri/ index.php; - - location ~ ^/api/(?!http.php/)(.*) { - try_files $uri $uri/ /api/http.php/$1; - } + try_files $uri $uri/ index.php location ~ ^/pages/(?!index.php/)(.*) { try_files $uri $uri/ /pages/index.php/$1; @@ -34,6 +30,10 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; } +location ~ ^/api/(?!http.php/)(.*) { + try_files $uri $uri/ /api/http.php/$1; +} + location /include { deny all; return 403; From eaf497a2ccb1084b3d5971d56f7a34c10ec4e2f5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 15 Aug 2023 23:24:34 +0200 Subject: [PATCH 2/4] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5c73635..162a820 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "osTicket" description.en = "Open source support ticket system" description.fr = "Système de ticket de support open source" -version = "1.18~ynh2" +version = "1.18~ynh3" maintainers = ["yalh76"] From 1e2bc3fd834b267e02b9122a1a4eb1215034457a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 15 Aug 2023 21:25:14 +0000 Subject: [PATCH 3/4] 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 ba38bef..551c52b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Shipped version:** 1.18~ynh2 +**Shipped version:** 1.18~ynh3 **Demo:** http://www.ostickethacks.com/demo/demo_info.php diff --git a/README_fr.md b/README_fr.md index 71e7b8a..fa18389 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 osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Version incluse :** 1.18~ynh2 +**Version incluse :** 1.18~ynh3 **Démo :** http://www.ostickethacks.com/demo/demo_info.php From 5ac4517f0173cec12ca0513117a8408938fd7eeb Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 15 Aug 2023 23:25:14 +0200 Subject: [PATCH 4/4] Upgrade to 1.18~ynh3 --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba38bef..551c52b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Shipped version:** 1.18~ynh2 +**Shipped version:** 1.18~ynh3 **Demo:** http://www.ostickethacks.com/demo/demo_info.php diff --git a/README_fr.md b/README_fr.md index 71e7b8a..fa18389 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 osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Version incluse :** 1.18~ynh2 +**Version incluse :** 1.18~ynh3 **Démo :** http://www.ostickethacks.com/demo/demo_info.php