From 3b0e9c4f3e29f1490b783344776484efca45e127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Thu, 12 Jan 2023 09:21:17 +0100 Subject: [PATCH] Fixed installation tests issues --- doc/DESCRIPTION.md | 24 ++++++------------------ doc/DISCLAIMER.md | 9 ++------- scripts/install | 1 - scripts/restore | 2 +- 4 files changed, 9 insertions(+), 27 deletions(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 4693706..025ee83 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1,20 +1,8 @@ -Mongo Express is a Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3. -You can as well install a Mongo database - version 4, 5 or 6 in your yunohost server if you want +Cookie Aware Cors Proxy is an http proxy letting the browser itself manages cookies and redirects. +Most other cores proxy directly respond to redirects, and doesn't send cookies, thus breaking the flow. +With Cookie Aware Cors Proxy, you can call a website not supporting CORS from your own web application, and get the html result. ### Features -- Optionally installs Mongo server -- Connect to multiple databases -- View/add/delete databases -- View/add/rename/delete collections -- View/add/update/delete documents -- Preview audio/video/image assets inline in collection view -- Nested and/or large objects are collapsible for easy overview -- Async on-demand loading of big document properties (>100KB default) to keep collection view fast -- GridFS support - add/get/delete incredibly large files -- Use BSON data types in documents -- Mobile / Responsive - Bootstrap 3 works passably on small screens when you're in a bind -- Connect and authenticate to individual databases -- Authenticate as admin to view all databases -- Database blacklist/whitelist -- Custom CA and CA validation disabling -- Supports replica sets +- Translates cookies and redirect locations from the target website to have the browser continue to call the proxy and not directly the website +- Extensive and dynamic support for log and debug information +- Two engines: a lightweight and one based on chrome to support websites running javascript diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 4e3265d..e406610 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,9 +1,4 @@ -* For now, any user that can log to your server will have admin access to all your Mongo databases ! +* About security * Single-sign on or LDAP are not integrated - * It's strongly recommanded you don't enable public access to the application + * It works only if you define it as public upon installation otherwise the yunohost SSO will interfere -* It doesn't backup Mongo databases - * As mongo-express doesn't require any database by itself, it doesn't backup or restore any of them - * However, yYou can view / edit other applications databases with Mongo-Express - * It will just reinstall the Mongo server if you installed it with this script - * Any yunohost applications using Mongo databases should manage the backup and restore diff --git a/scripts/install b/scripts/install index 343f30d..7383c82 100755 --- a/scripts/install +++ b/scripts/install @@ -73,7 +73,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=is_public --value=$is_public #================================================= # STANDARD MODIFICATIONS diff --git a/scripts/restore b/scripts/restore index b6f3865..a2e89cc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -112,7 +112,7 @@ chown $app:adm /var/log/$app #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Mongo Express to easily administer your Mongo databases" --log="/var/log/$app/$app.log" +yunohost service add $app --description="A Cors proxy letting the browser manages cookies and redirects." --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE