ec2b4afd41
style: 🎨 Apply black and isort
2021-02-14 09:29:10 +01:00
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
Hugo Levy-Falk
7b941eee12
Fix: Forgotten legacy ldap_sync
calls in machines
and cotisations
.
2021-01-24 16:37:10 +01:00
chirac
e8a9e64c3f
Add specific function and check on validation for sshfp
2021-01-24 16:37:09 +01:00
chirac
2846a7fb32
Add erdnaxe proposal of fix because there is no better solution
2021-01-24 16:37:09 +01:00
chirac
287df2d1f0
Return True when list is returned
2021-01-24 16:37:09 +01:00
chirac
0d57536638
Correct customs acl list for extensions
2021-01-24 16:37:09 +01:00
chirac
303531fed3
Add custom can_list acl for unpriviged views
2021-01-24 16:37:09 +01:00
69f78d8c60
Ça se dit Rézo Metz 'tain
2021-01-24 16:37:09 +01:00
grisel-davy
62a9142faa
Break word with CSS and not with a specific method of interfaces
2021-01-24 16:37:09 +01:00
grisel-davy
22ab6df96d
Fix the overflow of text in the sidenav for small screen
2021-01-24 16:37:09 +01:00
Gabriel Detraz
8182505fd2
Replace full_clean with simple clean, fix interface registering on multi-database
2021-01-24 16:36:16 +01:00
Gabriel Detraz
383aaf3132
Don't use disabled ip for administration purpose
2021-01-24 16:36:16 +01:00
Jean-Marie Mineau
dda0775a22
add an 'active' field to ipv6 to signal the DNS to ignore them.
2021-01-24 16:36:16 +01:00
chapeau
5091c626b6
Update models.py
2021-01-24 16:36:16 +01:00
4ca261d83d
Refactoring
2021-01-24 16:36:16 +01:00
e0a0375e5d
Translation
2021-01-24 16:36:16 +01:00
be1c051e98
Optimisation of domains update
2021-01-24 16:36:16 +01:00
7a6075b741
Update domains when ip_type or machine_type are updated
2021-01-24 16:36:16 +01:00
Laouen Fernet
f557a890b2
Add or translate some docstrings in machines/
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
87022a7b04
Let's have a useful displayed name for machines.
2021-01-24 16:36:16 +01:00
Laouen Fernet
f1458300f3
Fix typo in function name to regen DNS
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
8d79720bf2
Now you don't see me anymore.
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
0156952c12
fix acl functions in topologie models inheriting from Machine
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
ec7d8e8532
PEP8 is for everyone.
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
2a7d334db7
Avoid failing when permissions depending on another model are None.
2021-01-24 16:35:46 +01:00
Hugo Levy-Falk
2d40c3ecaa
Machine inherits AclMixin
2021-01-24 16:35:21 +01:00
Gabriel Detraz
d2b3663d89
More logic permission check in machine
2021-01-24 16:34:46 +01:00
Gabriel Detraz
64fd1835e0
Fix #132 , return in clean if ip domaine are invalid
2021-01-24 16:33:32 +01:00
Gabriel Detraz
022b0525f2
Fix #248
2021-01-24 16:33:31 +01:00
Gabriel Detraz
54db192e8f
Rattrapage d'une erreur index Error sur la récupération du vendeur
2020-01-24 21:00:08 +01:00
Gabriel Detraz
35e50964a1
Fix function called by perm check
2019-11-25 15:25:52 +01:00
Laouen Fernet
ac5d8e2080
Mark strings for translation in machines
2019-11-24 23:27:55 +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
Hugo Levy-Falk
48ec3d353e
default ttl to 0
2019-10-15 00:19:11 +02:00
Hugo Levy-Falk
13a06c1a67
TTL for DNAMEs
2019-10-15 00:19:11 +02:00
Hugo Levy-Falk
aab6fa2ba0
Fix #212
2019-10-15 00:19:11 +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
e1575c09d4
Fix mass_delete of machine so that AccessPoint deletion is possible.
2019-10-01 13:35:05 +02:00
Hugo Levy-Falk
8df5a05d89
Do not display unnecessary warnings.
2019-09-19 22:55:16 +02:00
Gabriel Detraz
55b2ff076a
NEVER user _ for var; conflicts with _( from trad + remove return True
2019-09-17 02:09:19 +02:00
Hugo Levy-Falk
ce659348be
helpful acl messages for machines.
2019-09-08 15:17:17 +02:00
detraz
986cdcd90a
Mass delete machine intelligent function
2019-03-17 17:56:46 +01:00
Gabriel Detraz
e0194ba4e3
Fonctions mass_achivage pour objects multiples
2019-03-17 05:45:34 +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
Grizzly
e024560729
Meilleur gestion d'erreur
2019-01-27 10:38:43 +00:00
Grizzly
e1fa749039
Determine et affiche le vendeur de la mac (wip sur le except)
2019-01-27 09:39:18 +00:00
detraz
67b702f171
Mac_address is now uniq in one ip range
2019-01-22 23:41:06 +01:00
Laouen Fernet
62d09760b3
add translations for machines/
2019-01-12 16:56:15 +01:00