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

Merge pull request #19 from YunoHost-Apps/patch

No choice in language... removing
This commit is contained in:
Éric Gaspar 2021-09-17 08:31:41 +02:00 committed by GitHub
commit 426f5e1bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 47 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

@ -17,6 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Shipped version:** 1.5.11~ynh2
**Demo:** https://fluxbb.org/forums/index.php
@ -25,6 +26,11 @@ FluxBB is designed as a lighter, faster alternative to some of the traditional f
![](./doc/screenshots/fluxbb_screenshot.png)
## Disclaimers / important information
### Limitations with YunoHost
HTTP and LDAP authentication are not supported.
## Documentation and resources
* Official app website: https://fluxbb.org/

View file

@ -13,6 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Version incluse :** 1.5.11~ynh2
**Démo :** https://fluxbb.org/forums/index.php
@ -21,6 +22,11 @@ FluxBB is designed as a lighter, faster alternative to some of the traditional f
![](./doc/screenshots/fluxbb_screenshot.png)
## Avertissements / informations importantes
### Limitations with YunoHost
HTTP and LDAP authentication are not supported.
## Documentations et ressources
* Site officiel de l'app : https://fluxbb.org/

View file

@ -3,7 +3,6 @@
domain="domain.tld"
path="/path"
admin="john"
language="en"
is_public=1
password="password_fluxbb"
port="666"
@ -25,4 +24,4 @@ Notification=none
;;; Upgrade options
; commit=6a8fea2965da32112d10a659637e3b1cd0b2c61c
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
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["en"],
"default": "en"
},
{
"name": "password",
"type": "password"

View file

@ -27,7 +27,6 @@ domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE
password=$YNH_APP_ARG_PASSWORD
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=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=language --value=$language
#=================================================
# 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)
admin=$(ynh_app_setting_get --app=$app --key=admin)
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)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)