8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 09:23:47 +00:00
Commit graph

648 commits

Author SHA1 Message Date
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
Maxime Bombar
b648078b4e [machines/views] Domain MUST be saved to get the right extension 2019-09-22 00:34:10 +02:00
klafyvel
4f1102c0c5 Better naming 2019-09-19 23:16:02 +02:00
klafyvel
1c2ce26060 Better naming 2019-09-19 23:15:11 +02:00
Gabriel Detraz
7fb5f786fd Fix list usable machine by rights 2019-09-19 23:10:43 +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
9b3bc1d053 ACL for applications. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
ce659348be helpful acl messages for machines. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
8f5b302cbf Translation for GTU check. 2019-09-05 22:03:45 +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
Alexandre Iooss
56ec7a2df5 Update translation files 2019-02-12 09:12:45 +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
klafyvel
ee7c1272b1 Translation for deactivated 2019-01-26 13:08:59 +01:00
Grizzly
9b05f8fa98 Texte et couleur pour les machines désactivées 2019-01-24 18:00:20 +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
Hugo LEVY-FALK
2e3be7ad56 migrations for recursive dns 2019-01-03 00:54:54 +01:00
Hugo LEVY-FALK
80b8779c55 dns-recursif-server -> dns-recursive-server 2019-01-03 00:54:13 +01:00
Maxime Bombar
c76a5d2376 Prevents from crashing where there is no defined prefix_v6 2019-01-01 21:09:34 +01:00
Alexandre Iooss
3ed137cf31 Paginator styling and go to id feature 2019-01-01 18:53:11 +01:00
Benjamin Graillot
762091f2a4 [machines] Fix extension template 2018-12-24 15:13:48 +01:00
Benjamin Graillot
f0c13edf4b [machines] Added a dnssec field to Extension 2018-12-24 15:01:19 +01:00
Gabriel Detraz
9e67fc5574 Ipv6 : Renvoie une liste vide plutot que None (évalué à null quand meme) 2018-12-23 18:50:04 +01:00
Alexandre Iooss
29fb5dc848 Remove generated locales from git tree
Now compiled locale files (.mo) are generated on the server side.
This cleans up the git tree and make translation contributions much
easier to merge.

Please note that you will need to generate those files after each pull,
so remember to execute install_re2o.sh.
2018-12-10 13:14:56 +01:00
Gabriel Detraz
108f454c51 Boostrapform pour les alias et les ouvertures de ports 2018-11-15 19:55:24 +01:00
Gabriel Detraz
6c6330dd4d Séparation entre utils et base (dossier re2o) 2018-11-15 18:59:06 +01:00
Gabriel Detraz
a0dc4a15a9 Remove code mort 2018-11-15 16:23:19 +01:00
Gabriel Detraz
c93cbb1b59 Serialize dname export 2018-11-15 16:13:36 +01:00
Gabriel Detraz
d2f80bb39e Reparation ip search + formatage exact des macs 2018-11-03 19:27:54 +01:00
Gabriel Detraz
42d718ae8c Fix display facture + room + machine_name 2018-10-15 19:57:56 +02:00
detraz
c15c01448a Remplace trnoname par de meilleurs affichages 2018-10-15 00:58:46 +02:00
detraz
355e5d5a5e Fix suppression machines + factures 2018-10-13 15:32:27 +02:00
Alexandre Iooss
48d5ab108c Autoformat code 2018-10-06 11:00:37 +02:00
Alexandre Iooss
1e9a4b3d32 Autoformat templates 2018-10-06 11:00:37 +02:00
Gabriel Detraz
7d6ab9f7e7 Fix edition des roles + kwargs edition user 2018-09-29 22:53:17 +02:00
Alexandre Iooss
0f7f14c1ea Fix Font Awesome icons
Some icons had their id changed in the Debian version (4.7.0) so their
id need to be updated.

Also the width of an icon in a button was reduced to make it more
compact.
2018-09-27 22:23:45 +02:00
detraz
b44021a98b Fix bugs et simplifie les migrations de switchs 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
ae0f134cc7 Crée spécific role, l'utilise pour get l'ip du serveur des config switchs 2018-09-27 16:32:21 +02:00
Gabriel Detraz
49411450af Migration preferences ssl + merge 2018-09-27 16:32:21 +02:00
Gabriel Detraz
daaeb00e89 Complete_name d'un switch 2018-09-27 16:32:21 +02:00
Gabriel Detraz
d2d6f7e5e4 Gestion igmp et mld par vlan 2018-09-27 16:32:21 +02:00
Gabriel Detraz
30bb38d75f Serialisation des roles et réglages par vlan des switches 2018-09-27 16:32:21 +02:00
detraz
dacf1e4615 Correction des boutons sur les autres apps 2018-09-02 18:28:54 +02:00
Hugo LEVY-FALK
e546a2228a Fix l'erreur sur l'utilisation du massive bootstrap form pour l'ipv4 2018-08-28 12:31:43 +02:00
Laouen Fernet
34bf50e7a9 Translation of machines/ (front) 2018-08-18 13:38:15 +02:00
grisel-davy
b455de0de2 bouton de regen des services 2018-08-12 19:13:07 +02:00
Gabriel Le Bouder
0409031c40 removing spurius comment line 2018-08-12 18:24:48 +02:00
Charlie Jacomme
df5861424e radius, make python compatible, and add traceback 2018-08-12 18:24:48 +02:00
Gabriel Detraz
d3033e8f48 FIx la synthaxe correcte pour iptables 2018-08-09 00:03:44 +02:00
Charlie Jacomme
bb12346132 Fix cnames 2018-08-08 12:07:31 +02:00
Charlie Jacomme
96480ae588 mx not uniques, same mx for several extensions 2018-08-07 18:02:34 +02:00
Charlie Jacomme
b9a4dd6d65 ptr are empty if revere disabled 2018-08-07 09:57:59 +02:00
Charlie Jacomme
cee0d1188e rename booleans dnssec_reverse_* to reverse_* 2018-08-07 09:52:00 +02:00
chirac
49646ae34b Merge branch 'domaine_network' into 'dev'
Domaine network

See merge request federez/re2o!229
2018-08-07 00:36:05 +02:00
chirac
d4a90d1faf Merge branch 'non_uniq_ipv6' into 'dev'
L'ipv6 n'est pas unique au niveau bdd pour if serveurs multiples

See merge request federez/re2o!228
2018-08-07 00:23:54 +02:00
Gabriel Detraz
34fe6e06b7 Specification optionnelle du range contenant domain ipstart-stop 2018-08-07 00:11:20 +02:00
Gabriel Detraz
efbd0a18da L'ipv6 n'est pas unique au niveau bdd pour if serveurs multiples 2018-08-07 00:09:30 +02:00
Gabriel Detraz
e9c0920a42 Fix object interface fonction index ipv6 2018-08-07 00:02:53 +02:00
chirac
ee615ae1e1 Merge branch 'firewall_export' into 'dev'
Firewall export

See merge request federez/re2o!224
2018-08-05 21:07:12 +02:00
chirac
a911a08207 Fonctions machines pour récup les tld en string , mise en cache 2018-08-05 15:44:04 +02:00
chirac
65b3c8768b Fix gen_range + macaddress non unique 2018-08-05 12:22:51 +02:00
Gabriel Detraz
63748168f2 Export complet du prefix v6 2018-08-05 11:14:19 +02:00
Charlie Jacomme
4329641899 Ading prefix_v6_length field to IpType 2018-08-04 08:54:49 +02:00
Charlie Jacomme
1a46f3110f Serializers for reverse DNS 2018-08-04 08:50:33 +02:00
Gabriel Detraz
cd5d0f562c Simplification et fusion des migrations 2018-08-04 08:37:01 +02:00
Gabriel Detraz
bf06d133f0 Fix bug sur l'edition du txt + élargi le champ pour dnssec 2018-08-04 08:35:25 +02:00
Charlie Jacomme
7f6bc6c2ec migrations for dnssec reverse 2018-08-04 08:33:02 +02:00
Charlie Jacomme
029a83bd33 Ajout dnssec reverse bool for iptypes 2018-08-04 08:33:02 +02:00
Hugo LEVY-FALK
a7ea8a1518 Répare de petits soucis de templates + problemes de rebase 2018-08-04 01:52:40 +02:00
Gabriel Detraz
7166318e19 Repare le get_instance de role 2018-08-02 23:29:58 +02:00
Hugo LEVY-FALK
5e5bd89885 Anglais épisode 2 : L'attaque des templates 2018-08-02 23:29:58 +02:00
Hugo LEVY-FALK
d7af7d64a2 Une migration de Role pour les gouverner toutes. 2018-08-02 23:29:58 +02:00
Hugo LEVY-FALK
0b86dc1ec4 TODO : offrir des cours d'anglais au cr@ns. 2018-08-02 23:29:58 +02:00
Hugo LEVY-FALK
ed91cdcfe5 Recolle les fixations ensemble 2018-08-02 23:29:58 +02:00
Gabriel Detraz
5dc59035f5 Crée spécific role, l'utilise pour get l'ip du serveur des config switchs 2018-08-02 23:28:43 +02:00
Gabriel Detraz
35eb945404 Notion de role spécifique pour retrouver le bon role 2018-08-02 23:28:43 +02:00
chirac
793cf302ad Fix bug admin 2018-08-02 23:28:43 +02:00
Charlie Jacomme
b70f6fd97a migration for Role 2018-08-02 23:28:43 +02:00
Charlie Jacomme
5dab70ccee Add machines.models.Role 2018-08-02 23:28:43 +02:00
Maël Kervella
e2c0271bf2 Use the record label as for other DNS records 2018-07-29 19:19:08 +00:00
Gabriel Detraz
562d116c29 Renomme 88 en 85 2018-07-29 19:19:08 +00:00
Gabriel Detraz
9b6d00ceeb Fix entrée en double 2018-07-29 19:19:08 +00:00
Gabriel Detraz
86d80521c0 Exposition des sshfpr via api rest 2018-07-29 19:19:08 +00:00
Gabriel Detraz
fe50f23ea1 Calcul des hash; simplification et migration pour sshfpr 2018-07-29 19:19:08 +00:00
Gabriel Detraz
ce0b67209f Les algo sont fixés par RFC; simplification 2018-07-29 19:19:08 +00:00
Gabriel Detraz
eac4933853 Application des migrations dans le bon ordre 2018-07-29 19:19:08 +00:00
Maël Kervella
5dce3629b7 translation and cleanup 2018-07-29 19:15:29 +00:00
chirac
352a416647 Precision, clef ssh pub et pas hash stocké 2018-07-29 19:15:28 +00:00
Grizzly
7ccc93cf4c mise en page pour les longues fingerpint ssh 2018-07-29 19:15:28 +00:00
chirac
e9f4767709 Gestion complete des algo de fingerprintssh 2018-07-29 19:15:28 +00:00
chirac
0b4c52a49a Ajout des modèles sshfingerprint et sshfingerprintalgo 2018-07-29 19:15:28 +00:00
Gabriel Detraz
4d93c6db6a Fix history et i18n 2018-07-29 20:13:10 +02:00
chirac
4e9b0586ed Update models.py alignement 2018-07-29 16:45:12 +02:00
chirac
95dc427dc4 Merge branch 'master' into 'Dname'
# Conflicts:
#   re2o/templatetags/acl.py
2018-07-29 13:57:53 +02:00
chirac
c977eccafd Update aff_dname.html 2018-07-29 13:56:19 +02:00
Maël Kervella
4bd0be94ed Translate to english 2018-07-23 22:04:21 +00:00
Gabriel Detraz
7631ea6c5f Correct credit for dname 2018-07-23 21:49:27 +00:00
Charlie Jacomme
a5988e29b8 migrations for dname 2018-07-23 21:49:27 +00:00
Charlie Jacomme
fc176a60c1 New DNAME model 2018-07-23 21:49:26 +00:00
Maël Kervella
a854174954 Fix shit 2018-07-23 21:41:30 +00:00
Hugo LEVY-FALK
cf1057b717 utilisation du filtre tick partout où des booléens sont affichés. 2018-07-23 13:41:17 +00:00
Hugo LEVY-FALK
6b945bf322 fix #65, gestion propre de l'historique. 2018-07-19 12:30:15 +02:00
Maël Kervella
3b2ca10e29 Fix #109: Remove misnamed rights 2018-06-27 12:21:20 +00:00
Maël Kervella
654da8cb04 Use re2o.utils functions for optimization 2018-06-23 21:36:01 +00:00
Maël Kervella
a9cfc9aebc DNS endpoint SQL optimization 2018-06-23 21:19:11 +00:00
Maël Kervella
e6884ab4da Add DNS info per zone endpoint 2018-06-20 11:38:58 +00:00
Maël Kervella
4fe1be5d31 Allow update and quick check of need_regen info 2018-06-20 11:38:58 +00:00
Maël Kervella
ed1284c06d Fix missing view_service_link perm 2018-06-20 11:38:58 +00:00
moamoak
839d88a0c4 Merge branch 'Fix_130' into 'master'
Fix #130: Check the right value for need_infra filtering

Closes #130

See merge request federez/re2o!171
2018-06-18 14:04:35 +02:00
moamoak
82e0dc8c50 Merge branch 'dropdown-responsiv' into 'master'
Gere mieux l'affichage du menu dropdown sur les petits ecrans

Closes #85

See merge request federez/re2o!170
2018-06-18 11:16:30 +02:00
Maël Kervella
7f25212a05 Force the dropdown of edit machine to be align with the edit button 2018-06-16 13:29:47 +00:00
Maël Kervella
8573e2b8d1 Fix #130: Check the right value for need_infra filtering 2018-06-05 18:50:22 +00:00
Grizzly
f6b04a186a Gere mieux l'affichage du menu dropdown sur les petits ecrans 2018-06-03 15:53:19 +00:00
Maël Kervella
a926b28bbc Fix #127 and remove duplicate migration 2018-05-28 10:03:15 +00:00
Maël Kervella
d797f18ace Fix install script 2018-05-23 15:31:58 +00:00
grisel-davy
8cc1841f69 ajout des migrations 2018-05-21 21:19:10 +02:00
chirac
fbd7c3de49 Revert "Merge branch 'fix_room_force_move_in' into 'master'"
This reverts merge request !161
2018-05-14 23:58:05 +02:00
Gabriel Detraz
b2d57ec827 Refactor de la fonction gen_graph + graph quand modification des objets 2018-05-11 23:18:25 +02:00
chirac
e064db626d Merge branch 'Fix_116' into 'master'
Fix #116: Remove default SOA in Extension & Force reversion context

Closes #116

See merge request federez/re2o!147
2018-05-10 21:51:26 +02:00
Hugo LEVY-FALK
a61d8d6ebd Factorisation des décorateurs ACL dans les vues. Fix #121 2018-05-07 19:43:53 +02:00
Gabriel Detraz
28393797e4 Et la migration 2018-05-03 06:42:59 +02:00
Gabriel Detraz
d8270f8073 Fix #119 : Plusieurs NS peuvent avoir le meme origin 2018-05-03 06:40:36 +02:00
Maël Kervella
5eaa9a2feb Fix #116: Remove default SOA in Extension & Force reversion context
- The default for extension SOA is now None, else a new SOA named `SOA
to edit` was created when adding a new extension (because of the
get_or_create() )
- The mixins are now inside a reversion context else sometimes the
reversion context was not set and re2o would crash on the set_comment
2018-04-29 16:34:05 +00:00
Hugo LEVY-FALK
e4d53e6791 Fix #86 2018-04-16 23:57:22 +02:00
Maël Kervella
c1e3d34b84 Fix : migration for renaming permission Srv.view_soa to Srv.view_srv 2018-04-15 23:52:24 +00:00
Maël Kervella
6c30c36943 Fix : missing migrations 2018-04-15 10:54:53 +00:00
Maël Kervella
0065e2e0f5 Fix unused variables in kwargs 2018-04-15 10:52:27 +00:00
Maël Kervella
e88141db56 Pylint compliance on machines 2018-04-15 10:52:27 +00:00
Maël Kervella
955bf42b02 Missing Fixes 2018-04-15 10:52:26 +00:00
Maël Kervella
287ce23d1c Pep8 compliance on machines 2018-04-15 10:52:26 +00:00
Maël Kervella
aa7ded9f20 Fix #95 by removing duplicates classes and functions 2018-04-13 17:33:01 +00:00
Gabriel Detraz
566649ab45 Origin devient une foreignkey 2018-04-09 22:50:03 +02:00
Gabriel Detraz
3affe08d29 Factorisation de paginator + pagination des machines dans profil 2018-04-03 05:01:01 +02:00
Gabriel Detraz
f39ae95b35 Fix historique alias 2018-04-02 04:31:34 +02:00
Gabriel Detraz
6db387caf8 Linked_objects + fix modif formset 2018-04-02 03:52:28 +02:00
Gabriel Detraz
543037b667 Save que si l'objet a été modifié 2018-04-01 00:07:01 +02:00
Gabriel Detraz
1795d26c55 Gestion de l'historique avec un mixin forms et model 2018-03-31 17:19:02 +02:00
Gabriel Detraz
c9fd4cd7b5 Fix acl mixin sur users, docstring, fix topologie acl 2018-03-29 04:36:23 +02:00
Gabriel Detraz
f91feff0fc Fix divers nas et ap 2018-03-28 19:59:51 +02:00
Gabriel Detraz
007ad3310a Factorise les get_instance dans le mixin acl 2018-03-28 17:15:45 +02:00
Gabriel Detraz
46ba34ec0b Fix can_edit/can_create 2018-03-28 04:14:50 +02:00
Gabriel Detraz
ef1dbc882b Poc de acl mixin, factorisation du code 2018-03-28 03:52:34 +02:00