From 494db3a91eec6864bf9d14739286ee5b5a7909cc Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 16 Aug 2023 16:17:10 +0200 Subject: [PATCH 1/3] Actually use the generated db_pwd --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index a976713..d9a48cf 100644 --- a/scripts/install +++ b/scripts/install @@ -45,7 +45,7 @@ then ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_app_setting_set --app=$app --key=db_user --value=$db_user ynh_app_setting_set --app=$app --key=db_pwd --value=$db_pwd - ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name + ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd fi #================================================= From 347546ab04f9a4b03bda4f9665a877117a4d0837 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 16 Aug 2023 16:25:01 +0200 Subject: [PATCH 2/3] Bump package version and display bugfix --- doc/PRE_UPGRADE.d/1.0~ynh15.md | 4 ++++ manifest.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/PRE_UPGRADE.d/1.0~ynh15.md diff --git a/doc/PRE_UPGRADE.d/1.0~ynh15.md b/doc/PRE_UPGRADE.d/1.0~ynh15.md new file mode 100644 index 0000000..d2c841d --- /dev/null +++ b/doc/PRE_UPGRADE.d/1.0~ynh15.md @@ -0,0 +1,4 @@ +If you experienced issues with the displayed database password before, sorry for the inconvenience! + +- New installations of the app fix the bug. +- If you want to keep using your current instance, you can use PhpMyAdmin to change the __APP__ user's password. diff --git a/manifest.toml b/manifest.toml index e0085f2..f17289e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "My Webapp" description.en = "Custom Web app with SFTP access to serve static (HTML, CSS, JS) and PHP files" description.fr = "Application Web personnalisée avec accès SFTP pour servir des fichiers statiques (HTML, CSS, JS) et PHP" -version = "1.0~ynh14" +version = "1.0~ynh15" maintainers = [] From 043c417a4504a9d45bc8b059bb40f098109d8c76 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 16 Aug 2023 14:25:34 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a955187..b48addc 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ PHP-FPM version can also be selected among `none`, `7.4`, `8.0`, `8.1` and `8.2` **Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is one you chosen during the installation. Under the Web directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside. -**Shipped version:** 1.0~ynh14 +**Shipped version:** 1.0~ynh15 ## Documentation and resources * Upstream app code repository: diff --git a/README_fr.md b/README_fr.md index b99c86e..d81d0bb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ La version de PHP-FPM peut aussi être choisie, parmi `none`, `7.4`, `8.0`, `8.1 **Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur. -**Version incluse :** 1.0~ynh14 +**Version incluse :** 1.0~ynh15 ## Documentations et ressources * Dépôt de code officiel de l’app :