From f966b5549d8d56d1b9ed3bbffb1c15efd4a7db58 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 12 Oct 2020 13:17:18 +0200 Subject: [PATCH] Fix --- README.md | 17 +++++------------ scripts/backup | 2 +- scripts/change_url | 4 ++-- scripts/install | 4 ++-- scripts/remove | 6 +++--- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 7 files changed, 17 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 4ce4276..f162029 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -Replace phpMyAdmin with Adminer and you will get a tidier user interface, better support for MySQL features, higher performance and more security. See detailed comparison https://www.adminer.org/en/phpmyadmin/. -Adminer development priorities are: 1. Security, 2. User experience, 3. Performance, 4. Feature set, 5. Size. +Adminer (formerly phpMinAdmin better alternate to phpmyadmin) is a full-featured database management tool written in PHP. Replace phpMyAdmin with Adminer and you will get a tidier user interface, better support for MySQL features, higher performance and more security. [See detailed comparison](https://www.adminer.org/en/phpmyadmin). -Adminer (formerly phpMinAdmin better alternate to phpmyadmin) is a full-featured database management tool written in PHP. - -You need to know the root password from here /etc/yunohost/mysql or the app username and password from setting.yml under /etc/yunohost/apps/appname to login. -For themes download the adminer.css from the main website and put the file in the app folder. -If you have problems with drivers see here: https://www.adminer.org/en/drivers. - - - -**Shipped version:** 4.7.6 +**Shipped version:** 4.7.7 ## Screenshots @@ -32,7 +23,9 @@ If you have problems with drivers see here: https://www.adminer.org/en/drivers. ## Configuration -How to configure this app: From an admin panel, a plain file with SSH, or any other way. +You need to know the root password from here /etc/yunohost/mysql or the app username and password from `setting.yml` under `/etc/yunohost/apps/appname` to login. +For themes download the adminer.css from the main website and put the file in the app folder. +If you have problems with drivers see here: https://www.adminer.org/en/drivers. ## Documentation diff --git a/scripts/backup b/scripts/backup index bc09c2e..8ebe313 100644 --- a/scripts/backup +++ b/scripts/backup @@ -55,4 +55,4 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" # END OF SCRIPT #================================================= -ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last +ynh_script_progression --message="Backup script completed for Adminer. (YunoHost will then actually copy those files to the archive)." --last diff --git a/scripts/change_url b/scripts/change_url index 9a3179d..8e46f09 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before changing its URL (may take a while)..." --weight=4 +ynh_script_progression --message="Backing up Adminer before changing its URL..." --weight=4 # Backup the current version of the app ynh_backup_before_upgrade @@ -106,4 +106,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" --last +ynh_script_progression --message="Change of URL completed for Adminer" --last diff --git a/scripts/install b/scripts/install index 6e2ea11..60074b8 100644 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,7 @@ ynh_add_nginx_config #================================================= # PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Configuring PHP-fpm..." --weight=1 +ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 # Create a dedicated php-fpm config ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependencies" @@ -113,4 +113,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" --last +ynh_script_progression --message="Installation of Adminer completed" --last diff --git a/scripts/remove b/scripts/remove index 54e719a..0cdc7bf 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,7 +22,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory..." --weight=3 +ynh_script_progression --message="Removing Adminer main directory..." --weight=3 # Remove the app directory securely ynh_secure_remove --file="$final_path" @@ -38,7 +38,7 @@ ynh_remove_nginx_config #================================================= # REMOVE PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Removing PHP-fpm configuration..." --weight=1 +ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1 # Remove the dedicated php-fpm config ynh_remove_fpm_config @@ -57,4 +57,4 @@ ynh_system_user_delete --username=$app # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of $app completed" --last +ynh_script_progression --message="Removal of Adminer completed" --last diff --git a/scripts/restore b/scripts/restore index 0255619..579cde3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -49,7 +49,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=1 +ynh_script_progression --message="Restoring Adminer main directory..." --weight=1 ynh_restore_file --origin_path="$final_path" @@ -90,4 +90,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last +ynh_script_progression --message="Restoration completed for Adminer" --last diff --git a/scripts/upgrade b/scripts/upgrade index 264686c..d324d8a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -46,7 +46,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=3 +ynh_script_progression --message="Backing up Adminer before upgrading (may take a while)..." --weight=3 # Backup the current version of the app ynh_backup_before_upgrade @@ -107,4 +107,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" --last +ynh_script_progression --message="Upgrade of Adminer completed" --last