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

Merge pull request #22 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexandre Aubin 2024-06-09 16:32:44 +02:00 committed by GitHub
commit 09f4acde05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 58 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# All available README files by language
- [Read the README in English](README.md)
- [Lea el README en español](README_es.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)

54
README_es.md Normal file
View file

@ -0,0 +1,54 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# Cors Proxy para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/cac-proxy.svg)](https://dash.yunohost.org/appci/app/cac-proxy) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/cac-proxy.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/cac-proxy.maintain.svg)
[![Instalar Cors Proxy con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=cac-proxy)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarCors Proxy rapidamente y simplement en un servidor YunoHost.*
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
## Descripción general
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
- 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
**Versión actual:** 1.2.1~ynh2
## Capturas
![Captura de Cors Proxy](./doc/screenshots/fnac-logs.png)
## Documentaciones y recursos
- Repositorio del código fuente oficial de la aplicación : <https://github.com/gcollin/cookie-aware-cors-proxy>
- Catálogo YunoHost: <https://apps.yunohost.org/app/cac-proxy>
- Reportar un error: <https://github.com/YunoHost-Apps/cac-proxy_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing --debug
o
sudo yunohost app upgrade cac-proxy -u https://github.com/YunoHost-Apps/cac-proxy_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

View file

@ -3,7 +3,7 @@
请勿手动编辑。
-->
# YunoHost 的 Cors Proxy
# YunoHost 的 Cors Proxy
[![集成程度](https://dash.yunohost.org/integration/cac-proxy.svg)](https://dash.yunohost.org/appci/app/cac-proxy) ![工作状态](https://ci-apps.yunohost.org/ci/badges/cac-proxy.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/cac-proxy.maintain.svg)

View file

@ -16,7 +16,7 @@ license = "MIT"
code = "https://github.com/gcollin/cookie-aware-cors-proxy"
[integration]
yunohost = ">= 11.0.0"
yunohost = ">= 11.1.9"
architectures = ["amd64"]
multi_instance = false
ldap = "not_relevant"

View file

@ -50,7 +50,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then
ynh_script_progression --message="Upgrading source files..." --weight=6
# Download, check integrity, uncompress and patch the source from amd64.src
ynh_setup_source --dest_dir="$install_dir/package"
ynh_setup_source --dest_dir="$install_dir/package" --full_replace=1
fi
chmod -R o-rwx "$install_dir"