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

Merge pull request #8 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-04-04 07:39:40 +02:00 committed by GitHub
commit 94e347927e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 7 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Web IP address management application Web IP address management application
**Shipped version:** 1.4.5~ynh1 **Shipped version:** 1.4.6~ynh1
**Demo:** http://demo.phpipam.net **Demo:** http://demo.phpipam.net

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Application web de gestion d'adresses IP Application web de gestion d'adresses IP
**Version incluse :** 1.4.5~ynh1 **Version incluse :** 1.4.6~ynh1
**Démo :** http://demo.phpipam.net **Démo :** http://demo.phpipam.net

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.4/phpipam-v1.4.4.zip SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.6/phpipam-v1.4.6.zip
SOURCE_SUM=0baa77f135bbf72b138c58e50d58046eaaad722a96f09d3e148b61c5cd5f071f SOURCE_SUM=65ad33c124fc83ca1a3ba386bbc1e6d8fb611b2ccaa4c6e8a1d864bcde4122de
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -4,7 +4,7 @@
* database connection details * database connection details
******************************/ ******************************/
$db['host'] = 'localhost'; $db['host'] = 'localhost';
$db['user'] = '__DB_NAME__'; $db['user'] = '__DB_USER__';
$db['pass'] = '__DB_PWD__'; $db['pass'] = '__DB_PWD__';
$db['name'] = '__DB_NAME__'; $db['name'] = '__DB_NAME__';
$db['port'] = 3306; $db['port'] = 3306;

View file

@ -6,7 +6,7 @@
"en": "Web IP address management application", "en": "Web IP address management application",
"fr": "Application web de gestion d'adresses IP" "fr": "Application web de gestion d'adresses IP"
}, },
"version": "1.4.5~ynh1", "version": "1.4.6~ynh1",
"url": "https://phpipam.net/", "url": "https://phpipam.net/",
"upstream": { "upstream": {
"license": "GPL-3.0-only", "license": "GPL-3.0-only",

View file

@ -28,6 +28,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
#================================================= #=================================================

View file

@ -45,7 +45,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=domain --value=$domain 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=path --value=$path_url
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
#================================================= #=================================================
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
@ -100,6 +99,7 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config ynh_add_fpm_config
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION

View file

@ -20,6 +20,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path) path_url=$(ynh_app_setting_get --app=$app --key=path)
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)