8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00
No description
Find a file
chapeau f80eae4d44 Merge branch '350-radius-fix' into 'dev'
Draft: Resolve "Radius script doesn't check cotisation/ban/whitelist when from a proxy"

See merge request re2o/re2o!643
2024-03-23 15:21:15 +00:00
api Fix typos 2024-03-02 15:22:00 +01:00
cotisations fix: Missing @can_view ACL for cotisation endpoints 2024-03-23 09:12:58 +01:00
deposits Unit tests of disabled optionnal apps are no longer run 2024-02-20 16:20:02 +01:00
docker Add optional build stage 2024-03-10 15:00:51 +01:00
docs_utils Graph re2o sources dia (archi) 2017-10-12 20:03:38 +02:00
freeradius_utils Fix radius proxy bug 2024-03-23 15:20:40 +00:00
install_utils add slash support in apache conf 2021-05-13 19:46:26 +02:00
ldap_sync Fix typos 2024-03-02 15:22:00 +01:00
logs style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01:00
machines fix: Remove old migrations that prevent a fresh install without LDAP. 2021-02-14 10:24:09 +01:00
multi_op style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01:00
preferences Change how the dev docker uses local_settings and activate tests in CI 2024-03-08 10:21:00 +01:00
radius Fix typos 2024-03-02 15:22:00 +01:00
re2o typo 2024-03-08 09:43:45 +00:00
search style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01:00
static Make switch port list horizontally scrollable in topology 2021-01-07 23:03:50 +01:00
templates feat(custom_link): choose position in the navbar for links 2022-07-29 15:01:22 +02:00
themes Add custom themes 2020-11-17 13:54:33 +01:00
tickets Fix typos 2024-03-02 15:22:00 +01:00
topologie fix set 2021-07-06 12:08:12 +00:00
users Run poetry by default 2024-03-03 11:44:43 +01:00
.gitignore feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
.gitlab-ci.yml Add optional build stage 2024-03-10 15:00:51 +01:00
.mailmap Changement de prénom 2022-12-07 21:24:50 +00:00
apt_requirements.txt feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
apt_requirements_radius.txt feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
CHANGELOG.md Add intro 2024-03-23 08:55:52 +00:00
dev-requirements.txt docker de prod 2024-03-10 11:06:29 +00:00
docker-compose-dev.yml docker de prod 2024-03-10 11:06:29 +00:00
docker-compose.yml Changelog for 3.0-rc 2024-03-23 08:55:52 +00:00
install_re2o.sh feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
ldap-requirements.txt docker de prod 2024-03-10 11:06:29 +00: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
mysql-requirements.txt docker de prod 2024-03-10 11:06:29 +00: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 Pin specific version 2021-01-02 23:05:03 +01:00
poetry.lock docker de prod 2024-03-10 11:06:29 +00:00
postgresql-requirements.txt docker de prod 2024-03-10 11:06:29 +00:00
pyproject.toml docker de prod 2024-03-10 11:06:29 +00:00
README.md feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
requirements.txt docker de prod 2024-03-10 11:06:29 +00:00
update_req.sh Change how the dev docker uses local_settings and activate tests in CI 2024-03-08 10:21:00 +01:00

Note: English version below.

Re2o

GNU public license v2.0

Avant propos

Re2o est un logiciel d'administration développé initialement au Rézo Metz. 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.

Crédits

Ce projet inclus des versions modifiées de fichiers du projet Simple HTML Invoice Template, publié sous license MIT :


Re2o

GNU Public license v2.0

Foreword

Re2o is a management software initially developed at Rézo Metz. 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.

Credits

This project includes modified versions of files from the Simple HTML Invoice Template project, published under an MIT licence: