6736caf9f4
feat: ⬆️ Support for django 2.2 ( #308 )
...
Support for django 2.2. Rename django.conf.urlresolvers. Change url to path. Add apps to app folder. Edit migrations for on_delete. Edit models for on_delete.
Drop compatibility for django 1.x
2021-02-14 09:29:10 +01:00
chirac
5ea8e3d6d1
fix: the function all_ap_in doesn't crash anymore on dormitory use
2021-01-24 15:10:31 +01:00
chirac
52f31f02e2
Add custom can_list acl for unpriviged views
2020-12-31 14:55:10 +01:00
d1d4ea6af3
Ça se dit Rézo Metz 'tain
2020-11-23 17:06:37 +01:00
Gabriel Detraz
7535050d4f
Fix port edition crash with new convention for *_id
2020-08-08 23:56:32 +02:00
chirac
4333e5f804
Update comments models.py
2020-08-07 19:25:34 +02:00
Gabriel Detraz
ee3682087e
Don't use disabled ip for administration purpose
2020-08-07 19:12:17 +02:00
Laouen Fernet
9a3b395e6c
Fix some translations in topologie/
2020-06-01 18:21:22 +02:00
Laouen Fernet
3b697f9795
Add or translate some docstrings in topologie/
2020-06-01 18:21:21 +02:00
Hugo Levy-Falk
367e306145
fix acl functions in topologie models inheriting from Machine
2020-05-01 12:23:41 +02:00
Hugo Levy-Falk
7edef7b722
Machine inherits AclMixin
2020-04-30 22:27:21 +02:00
Gabriel Detraz
6643feec6d
Fix #240
2020-04-19 16:42:17 +02:00
Laouen Fernet
207c8ba206
Mark strings for translation in topologie
2019-11-24 23:27:56 +01:00
Hugo Levy-Falk
c4a104b3b6
I like my ☕ black.
...
Just ran black on the whoe repository. Fix #210 .
2019-11-04 22:47:24 +01:00
Gabriel Detraz
47e67c3a40
Retourne au moins l'interface principale du switch
2019-10-14 23:47:52 +02:00
Gabriel Detraz
0b8cdb8e07
Fix : Permet d'avoir plusieurs blocs de switchs ordonnés sur le même sous-réseau (ex /24 dans /16)
2019-10-10 19:22:23 +02:00
Hugo Levy-Falk
a9194b405a
Hello Lara :D
...
Just ran `find /var/www/re2o \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/Goulven/Lara/g'`.
2019-10-01 13:37:56 +02:00
Hugo Levy-Falk
f9b7d70314
Fix various bugs in auth.py.
2019-09-19 23:01:30 +02:00
Gabriel Detraz
3f82adb720
Mise en cache affichage résidence
2019-08-07 02:09:57 +02:00
Gabriel Detraz
0770da51d1
Correction de l'affichage des chambres/locaux
2019-08-07 00:43:47 +02:00
Gabriel Detraz
e17b28cae0
Optimise le chargement des chambres
2019-08-06 17:46:36 +02:00
Gabriel Detraz
7cc0fd1e66
Mise en cache et gestion correcte des profile de port par résidence
2019-07-27 01:53:06 +02:00
chirac
5b112657c9
Returns correct port profile
2019-07-21 01:25:04 +02:00
chirac
3ec4fdd9d9
Profile default different for dormitories (option)
2019-07-21 01:02:32 +02:00
detraz
0d0d09bc9f
Fix type var rename
2019-03-17 14:53:11 +01:00
detraz
c9b84047d2
Change les variables type en name ou machine_type pour éviter les confusions
2019-03-03 17:28:33 +01:00
chirac
c4571ab425
Update, english doc models.py
2019-02-20 20:49:34 +01:00
detraz
87730a3ad2
Fix room_name problem with building
2019-02-18 22:13:34 +01:00
detraz
8d799ed92d
Create dormitory with buildings
2019-02-18 21:11:51 +01:00
Laouen Fernet
69d80fcdb0
add translations for topologie/
2019-01-12 16:56:17 +01:00
Hugo LEVY-FALK
af714a7f33
typo
2019-01-03 01:02:02 +01:00
Gabriel Detraz
64301bda9f
Export list_modules + return [] if no models for modules
2019-01-03 00:23:11 +01:00
Gabriel Detraz
683cf229e9
Edition fine des modules pour chaque switchs avec le slot
2019-01-03 00:23:11 +01:00
Gabriel Detraz
4dbbb00cf7
Export of modules of a switch
2019-01-03 00:23:11 +01:00
Gabriel Detraz
2c9ff4ea8e
Module switch, model et fonctions basiques de modification
2019-01-03 00:23:11 +01:00
Hugo LEVY-FALK
21f54486b2
Fix switch creation
2019-01-01 20:17:27 +01:00
klafyvel
7ddb627b6b
Do not create an useless list since set
can be created from any iterable.
2019-01-01 19:10:34 +01:00
Gabriel Detraz
e172923578
Fix #103
2019-01-01 19:10:33 +01:00
detraz
843a71be9b
Affichage de la réference commerciale par default
2018-10-15 19:19:52 +02:00
Gabriel Detraz
cbc2a63c2a
Fix login next + display ap
2018-10-14 20:18:12 +02:00
Antoine Vintache
e8a767c331
Add commercial name to switchs.
2018-10-11 19:53:23 +02:00
Hugo LEVY-FALK
6491fb0247
Hotfix : Typo dans le nom de get_port_profile
2018-10-05 21:19:20 +02:00
detraz
8dd4473d15
Fixe une typo sur les bornes wifi -> access_point
2018-09-28 18:15:29 +02:00
detraz
42d2f80470
Fix divers
2018-09-27 16:32:21 +02:00
Gabriel Detraz
eded66beb0
Gestion des switchs à provisioner automatiquement
2018-09-27 16:32:21 +02:00
Gabriel Detraz
3c22ea4e89
Export de l'ensemble des ip du switch
2018-09-27 16:32:21 +02:00
Gabriel Detraz
b4af276b14
Stockage des creds d'identification des switchs
2018-09-27 16:32:21 +02:00
Gabriel Detraz
b9dbce8ccc
Gestion de la clef radius, et serialisation
2018-09-27 16:32:21 +02:00
Gabriel Detraz
54326a35b9
Renvoie le mode plain ou ssl pour webmanagement
2018-09-27 16:32:21 +02:00
Gabriel Detraz
396853db0e
Serialisation des réglages pour la provision
2018-09-27 16:32:21 +02:00