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

Merge pull request #1 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-03-04 18:12:09 +01:00 committed by GitHub
commit 0176ae691a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 12 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware. filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
**Shipped version:** 2.20.1~ynh1 **Shipped version:** 2.20.1~ynh2
@ -28,12 +28,18 @@ filebrowser provides a file managing interface within a specified directory and
## Disclaimers / important information ## Disclaimers / important information
### Credentials ### Default credentials
``` ```
username: admin username: admin
password: admin password: admin
``` ```
You must change the password and, if you can, the username for the best security possible.
### Configuration
By default, the root path is set to `/home/yunohost.app/filebrowser`. You can choose a different root path in filebrowser configuration file: `/var/www/filebrowser/settings.json` and modify **root** entry as desired. (you may need to set the correct permissions for the new path).
## Documentation and resources ## Documentation and resources

View file

@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware. filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
**Version incluse :** 2.20.1~ynh1 **Version incluse :** 2.20.1~ynh2
@ -24,12 +24,18 @@ filebrowser provides a file managing interface within a specified directory and
## Avertissements / informations importantes ## Avertissements / informations importantes
### Credentials ### Default credentials
``` ```
username: admin username: admin
password: admin password: admin
``` ```
You must change the password and, if you can, the username for the best security possible.
### Configuration
By default, the root path is set to `/home/yunohost.app/filebrowser`. You can choose a different root path in filebrowser configuration file: `/var/www/filebrowser/settings.json` and modify **root** entry as desired. (you may need to set the correct permissions for the new path).
## Documentations et ressources ## Documentations et ressources

View file

@ -5,7 +5,7 @@ location __PATH__/ {
proxy_buffers 8 32k; proxy_buffers 8 32k;
proxy_buffer_size 64k; proxy_buffer_size 64k;
client_max_body_size 75M; client_max_body_size 100M;
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;

View file

@ -1,14 +1,15 @@
version = "1.0" version = "1.0"
[main] [main]
name = "FileBrowser configuration" name = "Filebrowser configuration"
services = ["__APP__"] services = ["__APP__"]
[main.config] [main.config]
name = "Configuration Options" name = "Configuration Options"
[main.config.datadir_path] [main.config.datadir]
ask = "Choose path" ask = "Choose path"
type = "path" type = "path"
default = "/home/yunohost.app/filebrowser"
help = "Choose path" help = "Choose path"
bind = "root:/var/www/__APP__/settings.json" bind = "root:/var/www/__APP__/settings.json"

View file

@ -1,6 +1,12 @@
### Credentials ### Default credentials
``` ```
username: admin username: admin
password: admin password: admin
``` ```
You must change the password and, if you can, the username for the best security possible.
### Configuration
By default, the root path is set to `/home/yunohost.app/filebrowser`. You can choose a different root path in filebrowser configuration file: `/var/www/filebrowser/settings.json` and modify **root** entry as desired. (you may need to set the correct permissions for the new path).

View file

@ -6,7 +6,7 @@
"en": "Web File Browser", "en": "Web File Browser",
"fr": "Gestionnaire de fichiers" "fr": "Gestionnaire de fichiers"
}, },
"version": "2.20.1~ynh1", "version": "2.20.1~ynh2",
"url": "https://filebrowser.org", "url": "https://filebrowser.org",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -4,9 +4,6 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
# dependencies used by the app
pkg_dependencies=""
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================