1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Update to 15.0.2

Update to 15.0.2
This commit is contained in:
mastereur 2022-06-27 14:07:53 +02:00 committed by GitHub
commit 0fc99fb17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 53 additions and 31 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Dolibarr for YunoHost # Dolibarr for YunoHost
[![Integration level](https://dash.yunohost.org/integration/dolibarr.svg)](https://dash.yunohost.org/appci/app/dolibarr) ![](https://ci-apps.yunohost.org/ci/badges/dolibarr.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/dolibarr.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/dolibarr.svg)](https://dash.yunohost.org/appci/app/dolibarr) ![Working status](https://ci-apps.yunohost.org/ci/badges/dolibarr.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/dolibarr.maintain.svg)
[![Install Dolibarr with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dolibarr) [![Install Dolibarr with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dolibarr)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -17,32 +17,33 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Dolibarr ERP & CRM is a modern software for managing your professional or associative activity (contacts, invoices, orders, stocks, agenda, etc.). Dolibarr ERP & CRM is a modern software for managing your professional or associative activity (contacts, invoices, orders, stocks, agenda, etc.).
**Shipped version:** 14.0.5~ynh1 **Shipped version:** 15.0.2~ynh1
**Demo:** https://www.dolibarr.org/onlinedemo **Demo:** https://www.dolibarr.org/onlinedemo
## Screenshots ## Screenshots
![](./doc/screenshots/screenshot.jpg) ![Screenshot of Dolibarr](./doc/screenshots/screenshot.jpg)
## Documentation and resources ## Documentation and resources
* Official app website: https://www.dolibarr.org/ * Official app website: <https://www.dolibarr.org/>
* Official user documentation: https://www.dolibarr.org/#features * Official user documentation: <https://www.dolibarr.org/#features>
* Official admin documentation: https://www.dolibarr.org/documentation-home * Official admin documentation: <https://www.dolibarr.org/documentation-home>
* Upstream app code repository: https://github.com/Dolibarr/dolibarr * Upstream app code repository: <https://github.com/Dolibarr/dolibarr>
* YunoHost documentation for this app: https://yunohost.org/app_dolibarr * YunoHost documentation for this app: <https://yunohost.org/app_dolibarr>
* Report a bug: https://github.com/YunoHost-Apps/dolibarr_ynh/issues * Report a bug: <https://github.com/YunoHost-Apps/dolibarr_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug
or or
sudo yunohost app upgrade dolibarr -u https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug sudo yunohost app upgrade dolibarr -u https://github.com/YunoHost-Apps/dolibarr_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.
-->
# Dolibarr pour YunoHost # Dolibarr pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/dolibarr.svg)](https://dash.yunohost.org/appci/app/dolibarr) ![](https://ci-apps.yunohost.org/ci/badges/dolibarr.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/dolibarr.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/dolibarr.svg)](https://dash.yunohost.org/appci/app/dolibarr) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/dolibarr.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/dolibarr.maintain.svg)
[![Installer Dolibarr avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dolibarr) [![Installer Dolibarr avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dolibarr)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Dolibarr rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Dolibarr 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.* Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@ -13,32 +17,33 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Dolibarr ERP & CRM est un logiciel moderne de gestion de votre activité professionnelle ou associative (contacts, factures, commandes, stocks, agenda, etc.). Dolibarr ERP & CRM est un logiciel moderne de gestion de votre activité professionnelle ou associative (contacts, factures, commandes, stocks, agenda, etc.).
**Version incluse :** 14.0.5~ynh1 **Version incluse :** 15.0.2~ynh1
**Démo :** https://www.dolibarr.org/onlinedemo **Démo :** https://www.dolibarr.org/onlinedemo
## Captures d'écran ## Captures d'écran
![](./doc/screenshots/screenshot.jpg) ![Capture d'écran de Dolibarr](./doc/screenshots/screenshot.jpg)
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : https://www.dolibarr.org/ * Site officiel de l'app : <https://www.dolibarr.org/>
* Documentation officielle utilisateur : https://www.dolibarr.org/#features * Documentation officielle utilisateur : <https://www.dolibarr.org/#features>
* Documentation officielle de l'admin : https://www.dolibarr.org/documentation-home * Documentation officielle de l'admin : <https://www.dolibarr.org/documentation-home>
* Dépôt de code officiel de l'app : https://github.com/Dolibarr/dolibarr * Dépôt de code officiel de l'app : <https://github.com/Dolibarr/dolibarr>
* Documentation YunoHost pour cette app : https://yunohost.org/app_dolibarr * Documentation YunoHost pour cette app : <https://yunohost.org/app_dolibarr>
* Signaler un bug : https://github.com/YunoHost-Apps/dolibarr_ynh/issues * Signaler un bug : <https://github.com/YunoHost-Apps/dolibarr_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade dolibarr -u https://github.com/YunoHost-Apps/dolibarr_ynh/tree/testing --debug sudo yunohost app upgrade dolibarr -u https://github.com/YunoHost-Apps/dolibarr_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

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/Dolibarr/dolibarr/archive/14.0.5.tar.gz SOURCE_URL=https://github.com/Dolibarr/dolibarr/archive/15.0.2.tar.gz
SOURCE_SUM=31f4c934e484a9582d8867e4170f1f1acd8c41628b059370a6a449eb6e94ae75 SOURCE_SUM=dbba38a039d98283ef5ccb3497ec6a2ed82e20e76d4d430d2515f89d116a72ed
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Manage the various aspects of your business or association", "en": "Manage the various aspects of your business or association",
"fr": "Gérez les différents aspects de votre activité pro ou associative" "fr": "Gérez les différents aspects de votre activité pro ou associative"
}, },
"version": "14.0.5~ynh1", "version": "15.0.2~ynh1",
"url": "https://www.dolibarr.org/", "url": "https://www.dolibarr.org/",
"upstream": { "upstream": {
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",

View file

@ -147,21 +147,29 @@ ynh_script_progression --message="Generate fileconf" --weight=1
ynh_local_curl "/install/fileconf.php" \ ynh_local_curl "/install/fileconf.php" \
"testpost=ok" "testpost=ok"
ynh_exec_fully_quiet sleep 5
ynh_script_progression --message="installation - step 1" --weight=3 ynh_script_progression --message="installation - step 1" --weight=3
ynh_local_curl "/install/step1.php" \ ynh_local_curl "/install/step1.php" \
"testpost=ok" \ "testpost=ok" \
"action=set" > /var/log/$app/install1.html "action=set" > /var/log/$app/install1.html
ynh_exec_fully_quiet sleep 5
ynh_script_progression --message="installation - step 2 (may take a while)..." --weight=72 ynh_script_progression --message="installation - step 2 (may take a while)..." --weight=72
ynh_local_curl "/install/step2.php" \ ynh_local_curl "/install/step2.php" \
"testpost=ok" \ "testpost=ok" \
"action=set" > /var/log/$app/install2.html "action=set" > /var/log/$app/install2.html
ynh_exec_fully_quiet sleep 5
ynh_script_progression --message="installation - step 4" --weight=3 ynh_script_progression --message="installation - step 4" --weight=3
ynh_local_curl "/install/step4.php" \ ynh_local_curl "/install/step4.php" \
"testpost=ok" \ "testpost=ok" \
"action=set" > /var/log/$app/install3.html "action=set" > /var/log/$app/install3.html
ynh_exec_fully_quiet sleep 5
# Generate a random password for the admin user (will be ignored because of LDAP) # Generate a random password for the admin user (will be ignored because of LDAP)
password=$(ynh_string_random 8) password=$(ynh_string_random 8)
@ -172,6 +180,8 @@ ynh_local_curl "/install/step5.php" \
"pass=$password" \ "pass=$password" \
"pass_verif=$password" > /var/log/$app/install4.html "pass_verif=$password" > /var/log/$app/install4.html
ynh_exec_fully_quiet sleep 5
ynh_script_progression --message="configuring LDAP" --weight=1 ynh_script_progression --message="configuring LDAP" --weight=1
# Populate the LDAP parameters # Populate the LDAP parameters

View file

@ -175,12 +175,16 @@ then
ynh_print_warn --message="Step 1 upgrading ended with error" ynh_print_warn --message="Step 1 upgrading ended with error"
fi fi
ynh_exec_fully_quiet sleep 5
if php$phpversion upgrade2.php $current_version $update_version > /var/log/$app/upgrade2.html; then if php$phpversion upgrade2.php $current_version $update_version > /var/log/$app/upgrade2.html; then
ynh_print_info --message="Step 2 upgrading ended successfully" ynh_print_info --message="Step 2 upgrading ended successfully"
else else
ynh_print_warn --message="Step 2 upgrading ended with error" ynh_print_warn --message="Step 2 upgrading ended with error"
fi fi
ynh_exec_fully_quiet sleep 5
charset=$(mysql -ss -N -e "SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = '$db_name'") charset=$(mysql -ss -N -e "SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = '$db_name'")
if [ "$charset" != "utf8" ] if [ "$charset" != "utf8" ]
then then
@ -192,6 +196,8 @@ then
"force_utf8_on_tables=confirmed" > /var/log/$app/repair.html "force_utf8_on_tables=confirmed" > /var/log/$app/repair.html
fi fi
ynh_exec_fully_quiet sleep 5
if php$phpversion step5.php $current_version $update_version > /var/log/$app/upgrade3.html; then if php$phpversion step5.php $current_version $update_version > /var/log/$app/upgrade3.html; then
ynh_print_info --message="Step 3 upgrading ended successfully" ynh_print_info --message="Step 3 upgrading ended successfully"
else else