1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osticket_ynh.git synced 2024-09-03 19:56:17 +02:00

Merge pull request #45 from YunoHost-Apps/testing

Upgrade to version 1.16.3
This commit is contained in:
yalh76 2022-06-24 12:42:02 +02:00 committed by GitHub
commit 9624b86e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 63 additions and 57 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# osTicket for YunoHost
[![Integration level](https://dash.yunohost.org/integration/osticket.svg)](https://dash.yunohost.org/appci/app/osticket) ![](https://ci-apps.yunohost.org/ci/badges/osticket.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/osticket.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/osticket.svg)](https://dash.yunohost.org/appci/app/osticket) ![Working status](https://ci-apps.yunohost.org/ci/badges/osticket.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/osticket.maintain.svg)
[![Install osTicket with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=osticket)
*[Lire ce readme en français.](./README_fr.md)*
@ -17,13 +17,13 @@ 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.16.2~ynh1
**Shipped version:** 1.16.3~ynh1
**Demo:** http://www.ostickethacks.com/demo/demo_info.php
## Screenshots
![](./doc/screenshots/screenshot.png)
![Screenshot of osTicket](./doc/screenshots/screenshot.png)
## Disclaimers / important information
@ -31,21 +31,22 @@ osTicket is a widely-used open source support ticket system. It seamlessly integ
## Documentation and resources
* Official app website: https://osticket.com
* Official user documentation: https://docs.osticket.com
* Upstream app code repository: https://github.com/osTicket/osTicket
* YunoHost documentation for this app: https://yunohost.org/app_osticket
* Report a bug: https://github.com/YunoHost-Apps/osticket_ynh/issues
* Official app website: <https://osticket.com>
* Official user documentation: <https://docs.osticket.com>
* Upstream app code repository: <https://github.com/osTicket/osTicket>
* YunoHost documentation for this app: <https://yunohost.org/app_osticket>
* Report a bug: <https://github.com/YunoHost-Apps/osticket_ynh/issues>
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/osticket_ynh/tree/testing).
To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/osticket_ynh/tree/testing --debug
or
sudo yunohost app upgrade osticket -u https://github.com/YunoHost-Apps/osticket_ynh/tree/testing --debug
```
**More info regarding app packaging:** https://yunohost.org/packaging_apps
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,10 +1,14 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
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) ![](https://ci-apps.yunohost.org/ci/badges/osticket.status.svg) ![](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)*
*[Lire ce readme en français.](./README_fr.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.*
@ -13,13 +17,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
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.16.2~ynh1
**Version incluse :** 1.16.3~ynh1
**Démo :** http://www.ostickethacks.com/demo/demo_info.php
## Captures d'écran
![](./doc/screenshots/screenshot.png)
![Capture d'écran de osTicket](./doc/screenshots/screenshot.png)
## Avertissements / informations importantes
@ -27,21 +31,22 @@ osTicket is a widely-used open source support ticket system. It seamlessly integ
## Documentations et ressources
* Site officiel de l'app : https://osticket.com
* Documentation officielle utilisateur : https://docs.osticket.com
* Dépôt de code officiel de l'app : https://github.com/osTicket/osTicket
* Documentation YunoHost pour cette app : https://yunohost.org/app_osticket
* Signaler un bug : https://github.com/YunoHost-Apps/osticket_ynh/issues
* Site officiel de l'app : <https://osticket.com>
* Documentation officielle utilisateur : <https://docs.osticket.com>
* Dépôt de code officiel de l'app : <https://github.com/osTicket/osTicket>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_osticket>
* Signaler un bug : <https://github.com/YunoHost-Apps/osticket_ynh/issues>
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/osticket_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/osticket_ynh/tree/testing --debug
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 :** https://yunohost.org/packaging_apps
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>

View file

@ -2,9 +2,9 @@
; Manifest
domain="domain.tld"
path="/path"
admin="john"
language="fr"
is_public=1
language="fr"
admin="john"
password="1Strong-Password"
; Checks
pkg_linter=1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/osTicket/osTicket/releases/download/v1.16.2/osTicket-v1.16.2.zip
SOURCE_SUM=4d6ff94837a70e5237ed89828240243e8cab8d956ae97fd7f020a2c71dbc64b3
SOURCE_URL=https://github.com/osTicket/osTicket/releases/download/v1.16.3/osTicket-v1.16.3.zip
SOURCE_SUM=7d9c1ae7663e66d189b70d29fe02844d5ec2324a0f4cca545205a55f29ff72aa
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -2,7 +2,7 @@
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
alias __FINALPATH__/;
index index.php;

View file

@ -6,7 +6,7 @@
"en": "Open source support ticket system",
"fr": "Système de ticket de support open source"
},
"version": "1.16.2~ynh1",
"version": "1.16.3~ynh1",
"url": "https://osticket.com",
"upstream": {
"license": "GPL-2.0-or-later",
@ -40,10 +40,6 @@
"example": "/osticket",
"default": "/osticket"
},
{
"name": "admin",
"type": "user"
},
{
"name": "is_public",
"type": "boolean",
@ -119,6 +115,10 @@
],
"default": "fr"
},
{
"name": "admin",
"type": "user"
},
{
"name": "password",
"type": "password"

View file

@ -25,9 +25,9 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE
admin=$YNH_APP_ARG_ADMIN
password=$YNH_APP_ARG_PASSWORD
app=$YNH_APP_INSTANCE_NAME
@ -50,8 +50,8 @@ ynh_script_progression --message="Storing installation settings..."
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=language --value=$language
ynh_app_setting_set --app=$app --key=admin --value=$admin
#=================================================
# STANDARD MODIFICATIONS
@ -107,14 +107,6 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..."
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# PHP-FPM CONFIGURATION
#=================================================
@ -124,6 +116,14 @@ ynh_script_progression --message="Configuring PHP-FPM..."
ynh_add_fpm_config --usage=low --footprint=low
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..."
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# SPECIFIC SETUP
#=================================================

View file

@ -44,13 +44,6 @@ test ! -d $final_path \
#=================================================
# STANDARD RESTORATION STEPS
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..."
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RECREATE THE DEDICATED USER
#=================================================
@ -91,6 +84,13 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_add_fpm_config --usage=low --footprint=low
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..."
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================

View file

@ -18,9 +18,9 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
language=$(ynh_app_setting_get --app=$app --key=language)
admin=$(ynh_app_setting_get --app=$app --key=admin)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
language=$(ynh_app_setting_get --app=$app --key=language)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#=================================================
@ -107,14 +107,6 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..."
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
@ -131,6 +123,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..."
ynh_add_fpm_config --usage=low --footprint=low
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..."
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# SPECIFIC UPGRADE
#=================================================