8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00
Commit graph

127 commits

Author SHA1 Message Date
grisel-davy
ded0aadb9d Ajout du gid au sérialiser Adherent 2018-08-16 19:51:56 +02:00
Charlie Jacomme
bb12346132 Fix cnames 2018-08-08 12:07:31 +02:00
Charlie Jacomme
1c8fb84f3c add info for mail aliases export 2018-08-08 11:57:22 +02:00
Charlie Jacomme
b89823faa1 we want full ndd for ns and mx 2018-08-07 10:30:23 +02:00
Charlie Jacomme
e86a0ff58b add prefix_v6_length serializer 2018-08-07 09:24:21 +02:00
Arthur Grisel-Davy
27d18e034b serialization des finfos pour créer les home 2018-08-05 17:24:26 +02:00
Gabriel Detraz
dc8cf8dbcc Serialisation des ouvertures de ports individuelles 2018-08-05 14:36:32 +02:00
Gabriel Detraz
cd7cf1cac4 Affichage intelligent des ports ouverts dans la serialisation 2018-08-05 11:18:53 +02:00
Gabriel Detraz
63748168f2 Export complet du prefix v6 2018-08-05 11:14:19 +02:00
chirac
cf3edceff5 Merge branch 'dnssec_options' into 'dev'
Dnssec options

See merge request federez/re2o!194
2018-08-04 14:26:35 +02:00
Hugo LEVY-FALK
470b02be94 Répare l'API pour les Ports en ajoutant la sérialisation des PortProfile. 2018-08-04 10:53:34 +02:00
Charlie Jacomme
6aed938334 serializer prefix_v6 for dns reverse 2018-08-04 08:51:18 +02:00
Charlie Jacomme
1cb0fb275b serializers for dns reverse, cidr is list 2018-08-04 08:51:04 +02:00
Charlie Jacomme
1a46f3110f Serializers for reverse DNS 2018-08-04 08:50:33 +02:00
chirac
8e8c10ce68 Merge branch 'firewall_port_export' into 'dev'
Serialisation des ouvertures de ports en sortie par subnet

See merge request federez/re2o!213
2018-08-04 08:24:41 +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
5757a0c03d Serialisation des ouvertures de ports en sortie par subnet 2018-08-04 01:24:20 +02:00
chirac
6202ddd0fa Déplacé dans une MR ultérieure 2018-08-02 23:29:58 +02:00
Hugo LEVY-FALK
4679bbe604 Retire des modifications qui viendrons avec les switchs. 2018-08-02 23:29:58 +02:00
Gabriel Detraz
7166318e19 Repare le get_instance de role 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
bc0abb2c0a Renomme le modèle des addresses mails 2018-08-01 13:06:25 +02:00
Maël Kervella
43fb83ec12 Cleanup for local email accounts 2018-07-30 20:23:14 +00:00
root
04de9db6d4 serialisation des alias mail des users ayant activé l'adresse interne 2018-07-30 15:03:50 +00:00
Gabriel Detraz
b7977f493b Serialisation des alias mail 2018-07-30 15:03:50 +00:00
Maël Kervella
e2c0271bf2 Use the record label as for other DNS records 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
Charlie Jacomme
342b7c1173 serializers pour dnames 2018-07-23 21:49:27 +00:00
chirac
137b3409c6 Update authentication.py 2018-07-23 11:05:01 +02:00
Gabriel Detraz
96318b7265 Legacy shaebang pour python2 2018-07-22 22:59:49 +02:00
Maël Kervella
a9cfc9aebc DNS endpoint SQL optimization 2018-06-23 21:19:11 +00:00
Maël Kervella
fb78ec7a77 Fix testing of cotisations.Cotisation objects 2018-06-22 01:29:19 +00:00
Maël Kervella
6c33559f00 Add tests for details of instances of every models 2018-06-22 00:48:45 +00:00
Maël Kervella
6d5a9dc314 Add missing topologie/server endpoint 2018-06-20 12:13:28 +00:00
Maël Kervella
1951ab467d Remove plural from urls 2018-06-20 12:12:55 +00:00
Maël Kervella
3a129a5d6e Add missing endpoints in tests 2018-06-20 11:38:58 +00:00
Maël Kervella
ecc5ed0b22 Docstrings, docstrings everywhere 2018-06-20 11:38:58 +00:00
Maël Kervella
374dd8da1e Add a router that can register views 2018-06-20 11:38:58 +00:00
Maël Kervella
3a0dda0009 Add preferences API endpoints 2018-06-20 11:38:58 +00:00
Maël Kervella
ca0744a38c Add customizable ACL-based permission 2018-06-20 11:38:58 +00:00
Maël Kervella
0356947e4a Add endpoints for mailing 2018-06-20 11:38:58 +00:00
Maël Kervella
761fad578a DNS view is a generic view and service regen view is a viewset 2018-06-20 11:38:58 +00:00
Maël Kervella
197475409c DNS Zone endpoint is now a viewset 2018-06-20 11:38:58 +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
3590e1ed51 Fix serialization of MAC 2018-06-20 11:38:58 +00:00
Maël Kervella
f5267eae6c Add DHCP_hostmacip API view 2018-06-20 11:38:58 +00:00
Maël Kervella
1f0a3434dd Limit to 10000 results per_page 2018-06-20 11:38:58 +00:00
Maël Kervella
37458db314 Add custom pagination for setting page_size 2018-06-20 11:38:58 +00:00
Maël Kervella
7f6126432b Change token data to expiration 2018-06-20 11:38:58 +00:00
Maël Kervella
6b777754e5 API: Add tests 2018-06-20 11:38:58 +00:00
Maël Kervella
7daa53663a Cleanup API 2018-06-20 11:38:58 +00:00
Maël Kervella
b1738f189b Add pagination to API results 2018-06-20 11:38:58 +00:00
Maël Kervella
59c48759f2 Separation of url according to app 2018-06-20 11:38:58 +00:00
Maël Kervella
187138f6e3 API cleanup code 2018-06-20 11:38:58 +00:00
Maël Kervella
95acdb2ecd API support for app topologie 2018-06-20 11:38:58 +00:00
Maël Kervella
2ef8930ffe API support for app preferences 2018-06-20 11:38:58 +00:00
Maël Kervella
e2736e17df API support for app machines 2018-06-20 11:38:58 +00:00
Maël Kervella
98dc4205be API support for app cotisations 2018-06-20 11:38:58 +00:00
Maël Kervella
6562f32ebf Add token authentication with expiration of tokens 2018-06-20 11:38:58 +00:00
Maël Kervella
a5715d69b6 Include 'use_api' permission in the api.acl module 2018-06-20 11:38:58 +00:00
Maël Kervella
0be63ad58e Use the use_api permission to access API 2018-06-20 11:38:58 +00:00
Maël Kervella
0c7e944b07 Add permission for API view 2018-06-20 11:38:58 +00:00
Maël Kervella
6478a0aed9 Add ACL permission on API 2018-06-20 11:38:58 +00:00
Maël Kervella
510a0c9b43 Isolate API settings from project settings 2018-06-20 11:38:58 +00:00
Maël Kervella
d190ef00ce Std API for user 2018-06-20 11:38:58 +00:00
Maël Kervella
cc4401ff20 Pylint compliance on api 2018-04-15 10:52:26 +00:00
Maël Kervella
0dace45c5e Pep8 compliance on api 2018-04-15 10:52:25 +00:00
Gabriel Detraz
34024bfc29 init.py pour python2 dans api 2018-03-28 20:47:33 +02:00
Gabriel Detraz
4662df7369 Unifi_ap_names dans re2o-tools 2018-03-27 02:55:45 +02:00
Maël Kervella
e97e304145 API: Add support for DNS 2018-03-17 18:59:10 +00:00
Maël Kervella
ef6b62439b API: Add support for firewall 2018-03-17 18:59:10 +00:00
Maël Kervella
7028788cf2 API: Add support for DHCP 2018-03-17 18:59:10 +00:00
Maël Kervella
a86369e7c8 API: Add support for mailings 2018-03-17 18:56:08 +00:00
Maël Kervella
ee3f4fb598 API: Generic services views 2018-03-17 18:56:08 +00:00
Maël Kervella
d509643dfe API: Useful functions
JSONResponse, JSONSuccess and JSONError are for building answers
accept_method is a decorator to check if the method to access the view
is accepted
2018-03-17 18:56:06 +00:00
Maël Kervella
b4fcadaecf API: Create the API app 2018-03-17 18:56:01 +00:00