diff --git a/README.md b/README.md index b88e4bc..965726c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,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.17.2~ynh1 +**Shipped version:** 1.17.2~ynh2 **Demo:** http://www.ostickethacks.com/demo/demo_info.php diff --git a/README_fr.md b/README_fr.md index 66e7e9b..3e2152a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,25 +5,25 @@ It shall NOT be edited by hand. # osTicket pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/osticket.svg)](https://dash.yunohost.org/appci/app/osticket) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/osticket.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/osticket.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/osticket.svg)](https://dash.yunohost.org/appci/app/osticket) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/osticket.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/osticket.maintain.svg) [![Installer osTicket avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=osticket) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d'installer osTicket 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 osTicket 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 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.17.2~ynh1 +**Version incluse :** 1.17.2~ynh2 **Démo :** http://www.ostickethacks.com/demo/demo_info.php -## Captures d'écran +## Captures d’écran -![Capture d'écran de osTicket](./doc/screenshots/screenshot.png) +![Capture d’écran de osTicket](./doc/screenshots/screenshot.png) ## Avertissements / informations importantes @@ -31,9 +31,9 @@ osTicket is a widely-used open source support ticket system. It seamlessly integ ## Documentations et ressources -* Site officiel de l'app : +* Site officiel de l’app : * Documentation officielle utilisateur : -* Dépôt de code officiel de l'app : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -49,4 +49,4 @@ ou sudo yunohost app upgrade osticket -u https://github.com/YunoHost-Apps/osticket_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 diff --git a/conf/nginx.conf b/conf/nginx.conf index d9fdc4e..f6792a5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,15 @@ location __PATH__/ { #client_max_body_size 50M; try_files $uri $uri/ index.php; - location ~ [^/]\.php(/|$) { + + location ~ ^/api/(?!http.php/)(.*) { + try_files $uri $uri/ /api/http.php/$1; + } + location ~ ^/pages/(?!index.php/)(.*) { + try_files $uri $uri/ /pages/index.php/$1; + } + + location ~ ^(.*[^/]\.php)(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; @@ -24,3 +32,8 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +location /include { + deny all; + return 403; +} diff --git a/manifest.json b/manifest.json index 4faffaf..043ac5c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Open source support ticket system", "fr": "Système de ticket de support open source" }, - "version": "1.17.2~ynh1", + "version": "1.17.2~ynh2", "url": "https://osticket.com", "upstream": { "license": "GPL-2.0-or-later",