1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fluxbb_ynh.git synced 2024-09-03 18:36:14 +02:00

No choice in language... removing

This commit is contained in:
ericgaspar 2021-09-04 22:15:43 +02:00
parent a0f0f9ce8d
commit 5880f2f67e
No known key found for this signature in database
GPG key ID: 574F281483054D44
7 changed files with 35 additions and 16 deletions

30
Find Results Normal file
View file

@ -0,0 +1,30 @@
Searching 22 files for "language" (regex, case sensitive)
/Users/macmini/Documents/Github/fluxbb_ynh/check_process:
4 path="/path"
5 admin="john"
6: language="en"
7 is_public=1
8 password="password_fluxbb"
.
26 ; commit=6a8fea2965da32112d10a659637e3b1cd0b2c61c
27 name=1.5.11
28: manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=en&is_public=1&password=password_fluxbb&port=666&
29
/Users/macmini/Documents/Github/fluxbb_ynh/LICENSE:
106 A "Standard Interface" means an interface that either is an official
107 standard defined by a recognized standards body, or, in the case of
108: interfaces specified for a particular programming language, one that
109: is widely used among developers working in that language.
110
111 The "System Libraries" of an executable work include anything, other
/Users/macmini/Documents/Github/fluxbb_ynh/scripts/upgrade:
21 admin=$(ynh_app_setting_get --app=$app --key=admin)
22 final_path=$(ynh_app_setting_get --app=$app --key=final_path)
23: language=$(ynh_app_setting_get --app=$app --key=language)
24 db_name=$(ynh_app_setting_get --app=$app --key=db_name)
25 phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
6 matches across 3 files

View file

@ -3,7 +3,6 @@
domain="domain.tld" domain="domain.tld"
path="/path" path="/path"
admin="john" admin="john"
language="en"
is_public=1 is_public=1
password="password_fluxbb" password="password_fluxbb"
port="666" port="666"
@ -25,4 +24,4 @@ Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=6a8fea2965da32112d10a659637e3b1cd0b2c61c ; commit=6a8fea2965da32112d10a659637e3b1cd0b2c61c
name=1.5.11 name=1.5.11
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=en&is_public=1&password=password_fluxbb&port=666& manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1&password=password_fluxbb&port=666&

View file

@ -0,0 +1,3 @@
### Limitations with YunoHost
HTTP and LDAP authentication are not supported.

View file

@ -57,16 +57,6 @@
}, },
"default": true "default": true
}, },
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["en"],
"default": "en"
},
{ {
"name": "password", "name": "password",
"type": "password" "type": "password"

View file

@ -27,7 +27,6 @@ domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -51,7 +50,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=admin --value=$admin ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=language --value=$language
#================================================= #=================================================
# CREATE A MYSQL DATABASE # CREATE A MYSQL DATABASE

View file

@ -20,7 +20,6 @@ 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)
admin=$(ynh_app_setting_get --app=$app --key=admin) admin=$(ynh_app_setting_get --app=$app --key=admin)
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
language=$(ynh_app_setting_get --app=$app --key=language)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)