8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-21 19:03:11 +00:00
Commit graph

160 commits

Author SHA1 Message Date
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