8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 03:43:12 +00:00
No description
Find a file
histausse ff784f36f8 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2020-09-25 14:25:21 +02:00
api Fix can_view_app 2020-08-29 11:07:18 +02:00
cotisations Split the membership duration from the connection duration 2020-09-25 14:25:21 +02:00
docs_utils Graph re2o sources dia (archi) 2017-10-12 20:03:38 +02:00
freeradius_utils Grammar nazi mode : on. 2020-05-16 12:56:09 +02:00
install_utils Update schema.ldiff, limit de recherche à 50000 2018-08-09 11:04:47 +02:00
logs Fix acl when viewing history of deleted object or all history. 2020-08-29 11:07:18 +02:00
machines Fix can_view_app 2020-08-29 11:07:18 +02:00
multi_op Add preferences dormitory choice on displayed room states 2020-09-04 20:45:25 +02:00
preferences Fix can_view_app 2020-08-29 11:07:18 +02:00
re2o Fix can_view_app 2020-08-29 11:07:18 +02:00
search Fix can_view_app 2020-08-29 11:07:18 +02:00
static Add optional fields to select password during user creation 2020-04-16 17:41:18 +00:00
templates I need a view button 2020-05-30 18:14:33 +02:00
test_utils I like my black. 2019-11-04 22:47:24 +01:00
tickets Add reply_to field on tickets comment 2020-08-07 19:51:55 +02:00
topologie remove the second port serialiser 2020-09-02 19:56:46 +02:00
users Split the membership duration from the connection duration 2020-09-25 14:25:21 +02:00
.gitignore Fix, add a possible local_routers.py file for routers database use 2020-05-21 18:34:42 +02:00
.gitlab-ci.yml Update .gitlab-ci.yml 2017-12-17 16:31:21 +01:00
apt_requirements.txt Update apt_requirements.txt 2020-06-07 19:11:34 +02:00
apt_requirements_radius.txt Update, need pil for radius 2020-08-05 22:52:16 +02:00
CHANGELOG.md Update CHANGELOG.md 2020-05-21 18:47:17 +02:00
install_re2o.sh Fix sql command when using mysql on remote machine 2020-06-10 17:28:51 +02:00
LICENSE Add license file (GPLv2) 2017-01-15 18:00:42 -05:00
manage.py initial comit 2016-06-30 01:39:31 +02:00
pip_dev_requirements.txt Pip requirements for dev are in a separate file 2018-06-23 16:02:58 +00:00
pip_requirements.txt Drop support python2 in boostrap3 12 2020-03-27 20:21:49 +00:00
README.md finish readme 2020-03-01 00:07:10 +00:00

Note: English version below.

Re2o

GNU public license v2.0

Avant propos

Re2o est un logiciel d'administration développé initialement au rezometz. Il se veut agnostique au réseau considéré, de manière à être installable et configurable facilement.

Il utilise le framework django avec python3. Il permet de gérer les adhérents, les machines, les factures, les droits d'accès, les switchs et la topologie du réseau. Il est possible d'activer très facilement des services qui améliorerons les possibilités de Re2o pour convenir au mieux aux besoins de chaque association.

Installation

Un tutoriel pour installer le projet est disponible sur le wiki.

Fonctionnement Général

Re2o utilise le Framework Django et suit donc le principe de toutes les applications Django. Les différents composants sont les models (qui définissent les entrées de la base de données), les templates (qui définissent les pages), les views (qui génèrent les templates avec les données pertinentes), et les forms (qui définissent les pages de modification des objets). Ce framework permet de manipuler les données comme des objets Python.

Tous ces composants sont regroupés en apps (users, machines, topologie,...). Certaines de ces apps constituent le coeur de Re2o et sont indispensables à son fonctionnement. Certaines autres apps sont optionnelles et peuvent être activées en fonction des besoins de chaque association.

API Rest

Les données stockées dans Re2o sont disponibles via un API Rest. Les services installés sur d'autres machines (dhcp, dns, firewall,...) utilisent cet API pour avoir accès aux données des utilisateurs et fonctionner.

Wiki

Le Wiki est accessible sur le gitlab de Federez. Il regroupe les informations et instructions pour la plupart des composants de Re2o.


Re2o

GNU Public license v2.0

Foreword

Re2o is a management software initially developed at rezometz. It is now in use in several student organizations. It aims to remain agnostic of the organization that uses it and be easy to setup.

Re2o is based on the Django framework and Python3. Its core functionalities include managing the members, their machines, their invoices and their rights to the network but also the topology of the network and its devices. On top of this, it is possible to plug services to enhance the possibilities and fit the need of each organization.

Setup

A tutorial is available on the Wiki to describe the setup process.

General Functioning

Re2o follow the general functioning of a Django project and split its components between the models (describe the database objects), the templates (that define the front end), the views (that populate and serve the templates) and the forms (that provide front end object edition/creation/removal). This framework provide an abstraction layer to manipulate SQL objects as Python objects.

Functionalities are grouped in apps (users, machines, topologie,...). Along the core functionalities, optional functionalities are available and can be activated in the preferences.

Rest API

Re2o provide a Rest API to allow external services (dhcp, dns, firewall,...) installed on remote machines to access database informations in Json format. Those services are optional and should be installed and activated to fit each organization needs.

Wiki

The Wiki is available to provide information and instruction for most components of Re2o.