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

Merge pull request #35 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexandre Aubin 2024-04-11 00:35:48 +02:00 committed by GitHub
commit eac574c257
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 159 additions and 26 deletions

6
ALL_README.md Normal file
View file

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

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install Coin with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin) [![Install Coin with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin)
*[Lire ce readme en français.](./README_fr.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Coin quickly and simply on a YunoHost server. > *This package allows you to install Coin quickly and simply on a YunoHost server.*
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
## Overview ## Overview
@ -38,18 +38,18 @@ COIN is an Information System designed for associative ISPs in the FFDN.
## Documentation and resources ## Documentation and resources
* Official app website: <https://code.ffdn.org/FFDN/coin> - Official app website: <https://code.ffdn.org/FFDN/coin>
* Upstream app code repository: <https://code.ffdn.org/ffdn/coin> - Upstream app code repository: <https://code.ffdn.org/ffdn/coin>
* YunoHost Store: <https://apps.yunohost.org/app/coin> - YunoHost Store: <https://apps.yunohost.org/app/coin>
* Report a bug: <https://github.com/YunoHost-Apps/coin_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/coin_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/coin_ynh/tree/testing). Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/coin_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the `testing` branch, please proceed like that:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
or or
sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug

58
README_eu.md Normal file
View file

@ -0,0 +1,58 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Coin YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/coin.svg)](https://dash.yunohost.org/appci/app/coin) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/coin.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/coin.maintain.svg)
[![Instalatu Coin YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Coin YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
COIN is an Information System designed for associative ISPs in the FFDN.
### Features
- Provide a nice, clean UI for members
- Manage memberships
- Handle service requests for VPN, VPS, Housing, external accounts, etc,
- including IP pools management
- custom hooks can be added to interface with the actual infrastructure and provision services from the admin
- members can get status info regarding their services
- handle invoices, send reminders, import payment from bank, derive a member balance
- Optional features: mailing list, hardware provisionning
**Paketatutako bertsioa:** 20231216~ynh1
## Pantaila-argazkiak
![Coin(r)en pantaila-argazkia](./doc/screenshots/screenshot.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://code.ffdn.org/FFDN/coin>
- Jatorrizko aplikazioaren kode-gordailua: <https://code.ffdn.org/ffdn/coin>
- YunoHost Denda: <https://apps.yunohost.org/app/coin>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/coin_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/coin_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
edo
sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator Nota bene: ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. Il NE doit PAS être modifié à la main.
--> -->
# Coin pour YunoHost # Coin pour YunoHost
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Installer Coin avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin) [![Installer Coin avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin)
*[Read this readme in english.](./README.md)* *[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller Coin rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller Coin rapidement et simplement sur un serveur YunoHost.*
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.* > *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble ## Vue densemble
@ -30,7 +30,7 @@ COIN est un système d'information pour FAI associatif dans la FFDN
- Optionnel : gestion de mailing liste, prêt de matériel - Optionnel : gestion de mailing liste, prêt de matériel
**Version incluse :** 20231216~ynh1 **Version incluse:** 20231216~ynh1
## Captures décran ## Captures décran
@ -38,21 +38,21 @@ COIN est un système d'information pour FAI associatif dans la FFDN
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://code.ffdn.org/FFDN/coin> - Site officiel de lapp: <https://code.ffdn.org/FFDN/coin>
* Dépôt de code officiel de lapp : <https://code.ffdn.org/ffdn/coin> - Dépôt de code officiel de lapp: <https://code.ffdn.org/ffdn/coin>
* YunoHost Store: <https://apps.yunohost.org/app/coin> - YunoHost Store: <https://apps.yunohost.org/app/coin>
* Signaler un bug : <https://github.com/YunoHost-Apps/coin_ynh/issues> - Signaler un bug: <https://github.com/YunoHost-Apps/coin_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/coin_ynh/tree/testing). Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/coin_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche `testing`, procédez comme suit:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
``` ```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

58
README_gl.md Normal file
View file

@ -0,0 +1,58 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# Coin para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/coin.svg)](https://dash.yunohost.org/appci/app/coin) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/coin.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/coin.maintain.svg)
[![Instalar Coin con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coin)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar Coin de xeito rápido e doado nun servidor YunoHost.*
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
## Vista xeral
COIN is an Information System designed for associative ISPs in the FFDN.
### Features
- Provide a nice, clean UI for members
- Manage memberships
- Handle service requests for VPN, VPS, Housing, external accounts, etc,
- including IP pools management
- custom hooks can be added to interface with the actual infrastructure and provision services from the admin
- members can get status info regarding their services
- handle invoices, send reminders, import payment from bank, derive a member balance
- Optional features: mailing list, hardware provisionning
**Versión proporcionada:** 20231216~ynh1
## Capturas de pantalla
![Captura de pantalla de Coin](./doc/screenshots/screenshot.png)
## Documentación e recursos
- Web oficial da app: <https://code.ffdn.org/FFDN/coin>
- Repositorio de orixe do código: <https://code.ffdn.org/ffdn/coin>
- Tenda YunoHost: <https://apps.yunohost.org/app/coin>
- Informar dun problema: <https://github.com/YunoHost-Apps/coin_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/coin_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
ou
sudo yunohost app upgrade coin -u https://github.com/YunoHost-Apps/coin_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

View file

@ -68,7 +68,7 @@ ram.runtime = "50M"
main.allowed = "visitors" main.allowed = "visitors"
[resources.apt] [resources.apt]
packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-13" packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-all python3-dev"
[resources.database] [resources.database]
type = "postgresql" type = "postgresql"

View file

@ -0,0 +1,11 @@
diff --git a/requirements.txt b/requirements.txt
index 27c1a5c..a21fd3d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
Django>=2.2,<2.3
-psycopg2>=2.8,<2.9
+psycopg2>=2.9,<3.0
# To match django-ldapdb version:
#python-ldap>=3.0,<3.1
#wsgiref