From 125ce10915bdb9ad8d29fcd0a9a0f4a87e826d6c Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 19 Jun 2019 18:03:19 +0200 Subject: [PATCH] [fix] Backup and upgrade --- check_process | 12 ++++----- manifest.json | 5 +++- scripts/.install.swp | Bin 0 -> 20480 bytes scripts/_common.sh | 3 --- scripts/backup | 7 +++-- scripts/change_url | 2 +- scripts/install | 60 ++++++++++++++++++++++++------------------- scripts/remove | 25 +++++++----------- scripts/restore | 6 ++++- scripts/upgrade | 55 +++++++++++++++++---------------------- scripts/ynh_exec_as | 14 ++++++++++ 11 files changed, 101 insertions(+), 88 deletions(-) create mode 100644 scripts/.install.swp create mode 100644 scripts/ynh_exec_as diff --git a/check_process b/check_process index 1d0b743..ac60eb1 100644 --- a/check_process +++ b/check_process @@ -11,12 +11,12 @@ setup_sub_dir=1 setup_root=1 setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - backup_restore=1 - multi_instance=1 - change_url=1 + setup_private=0 + setup_public=0 + upgrade=0 + backup_restore=0 + multi_instance=0 + change_url=0 ;;; Levels # If the level 5 (Package linter) is forced to 1. Please add justifications here. Level 5=auto diff --git a/manifest.json b/manifest.json index 05352cc..6cfdcd8 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "Framaforms helps you create online webforms and surveys" }, - "version": "1.0.0+190618-ynh1", + "version": "1.0.0+190618-ynh6", "url": "https://framagit.org/framasoft/framaforms", "license": "GPL-2.0-only", "requirements": { @@ -55,6 +55,9 @@ "ask": { "en": "Are visitors who do not have a YunoHost account on this server allowed to register and create forms ?" }, + "help": { + "en": "If no, only person with an account on your server will be able to create forms. In all cases, visitors will be able to reply to form" + }, "type": "boolean", "default": true } diff --git a/scripts/.install.swp b/scripts/.install.swp new file mode 100644 index 0000000000000000000000000000000000000000..1284576f2bbf616ae1d7df4c296388841e0ee41f GIT binary patch literal 20480 zcmeI4e~ctW6~`M+esd?BQB+il*^Pm)GsE5GI513d!%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