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

85 commits

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