diff --git a/README.md b/README.md index 09eda48..0b8ebd0 100644 --- a/README.md +++ b/README.md @@ -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. -**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 -### Credentials +### Default credentials + ``` username: 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 diff --git a/README_fr.md b/README_fr.md index 03d2fcf..0c19538 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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. -**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 -### Credentials +### Default credentials + ``` username: 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 diff --git a/conf/nginx.conf b/conf/nginx.conf index ad999b4..23fd3ab 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,7 +5,7 @@ location __PATH__/ { proxy_buffers 8 32k; proxy_buffer_size 64k; - client_max_body_size 75M; + client_max_body_size 100M; proxy_pass http://127.0.0.1:__PORT__; proxy_set_header X-Real-IP $remote_addr; diff --git a/config_panel.toml.example b/config_panel.toml.example index 02eb68c..449b07c 100644 --- a/config_panel.toml.example +++ b/config_panel.toml.example @@ -1,14 +1,15 @@ version = "1.0" [main] -name = "FileBrowser configuration" +name = "Filebrowser configuration" services = ["__APP__"] [main.config] name = "Configuration Options" - [main.config.datadir_path] + [main.config.datadir] ask = "Choose path" type = "path" + default = "/home/yunohost.app/filebrowser" help = "Choose path" bind = "root:/var/www/__APP__/settings.json" \ No newline at end of file diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 8ca6066..00eed2d 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,6 +1,12 @@ -### Credentials +### Default credentials + ``` username: 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). diff --git a/manifest.json b/manifest.json index fbd962a..04c5dc6 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Web File Browser", "fr": "Gestionnaire de fichiers" }, - "version": "2.20.1~ynh1", + "version": "2.20.1~ynh2", "url": "https://filebrowser.org", "upstream": { "license": "Apache-2.0", diff --git a/scripts/_common.sh b/scripts/_common.sh index ecd263f..944a65e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,6 @@ # COMMON VARIABLES #================================================= -# dependencies used by the app -pkg_dependencies="" - #================================================= # PERSONAL HELPERS #=================================================