1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cac-proxy_ynh.git synced 2024-09-03 18:16:07 +02:00

Fixed installation tests issues

This commit is contained in:
Gérard Collin 2023-01-12 09:21:17 +01:00
parent c299a05962
commit 3b0e9c4f3e
4 changed files with 9 additions and 27 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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