diff --git a/doc/ADMIN.md b/doc/ADMIN.md new file mode 100644 index 0000000..6939eb7 --- /dev/null +++ b/doc/ADMIN.md @@ -0,0 +1 @@ +Grant the Visitors group access to the `admin` permission so that any Limesuvey user can create a survey, in addition to YunoHost users who have the permission. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md new file mode 100644 index 0000000..b82ab6d --- /dev/null +++ b/doc/ADMIN_fr.md @@ -0,0 +1 @@ +Donnez au groupe Visiteurs la permission `admin` pour que n'importe quel utilisateur de Limesurvey puisse créer un sondage, en plus des utilisateurs YunoHost en ayant la permission. diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md index 542f411..34b81ed 100644 --- a/doc/POST_INSTALL.md +++ b/doc/POST_INSTALL.md @@ -1,5 +1,5 @@ LimeSurvey was successfully installed :) -You can now create a poll on this address: https://__DOMAIN____PATH__/admin/ +You can now create a poll on this address: https://__DOMAIN____PATH__admin/ If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/limesurvey_ynh/issues diff --git a/doc/POST_INSTALL_fr.md b/doc/POST_INSTALL_fr.md index 3ed82b6..6229532 100644 --- a/doc/POST_INSTALL_fr.md +++ b/doc/POST_INSTALL_fr.md @@ -1,5 +1,5 @@ LimeSurvey a été installé avec succès. :) -Vous pouvez maintenant créer un sondage à cette adresse : https://__DOMAIN____PATH__/admin/ +Vous pouvez maintenant créer un sondage à cette adresse : https://__DOMAIN____PATH__admin/ Si vous rencontrez un quelconque problème, ou si vous souhaitez améliorer cette app, rendez-vous à l'adresse : https://github.com/YunoHost-Apps/limesurvey_ynh/issues diff --git a/manifest.toml b/manifest.toml index 6f46363..65be39d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -23,9 +23,9 @@ architectures = "all" multi_instance = true ldap = true sso = true -disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ... -ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... -ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... +disk = "50M" +ram.build = "300M" +ram.runtime = "50M" [install] [install.domain] @@ -65,7 +65,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen autoupdate.strategy = "latest_github_tag" format = "tar.gz" - in_subdir = true + in_subdir = true [resources.system_user] @@ -81,7 +81,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen admin.url = "/admin" [resources.apt] - packages = "php7.3-cli, php7.3-mysql, php7.3-imap, python3-pip, php7.3-gd, php7.3-ldap, php7.3-zip, php7.3-mbstring" + packages = "mariadb-server, php7.3-cli, php7.3-mysql, php7.3-imap, python3-pip, php7.3-gd, php7.3-ldap, php7.3-zip, php7.3-mbstring" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index 203a637..0cb4415 100755 --- a/scripts/install +++ b/scripts/install @@ -95,15 +95,6 @@ ynh_secure_remove --file=./data.sql #ynh_setup_source "$data_dir/upload/templates/libreform" libreform #ynh_setup_source "$install_dir/upload/templates/librepoll" librepoll -#================================================= -# GENERIC FINALIZATION -#================================================= -# SETUP SSOWAT -#================================================= - -# Grant $admin access to /admin, whether or not Visitors has been selected in the installation form -ynh_permission_update --permission="admin" --add="$admin" - #================================================= # END OF SCRIPT #=================================================