8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-04 18:42:25 +00:00
Commit graph

59 commits

Author SHA1 Message Date
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
935249bebd Merge branch 'dev' of https://gitlab.federez.net/re2o/re2o into new_radius_api 2020-11-23 20:10:44 +01:00
cb144f3390 Add functional views in api router 2020-11-23 19:58:55 +01:00
d1d4ea6af3
Ça se dit Rézo Metz 'tain 2020-11-23 17:06:37 +01:00
chapeau
035f447fdd Clear api generation 2020-04-21 16:00:08 +02:00
chapeau
bdfd15b853 First draft of moving api functions into each apps 2020-04-21 16:00:08 +02: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
detraz
edf89dac98 Fix crash of optionaltopologie serializer 2019-01-04 12:31:10 +01:00
detraz
93e2424da7 Export users basic et critical 2018-11-17 19:51:37 +01:00
Maxime Bombar
579763131a Add base_name to distinguish users/user and users/homecreation API endpoints 2018-10-11 13:16:55 +02:00
Alexandre Iooss
d673e4d54d Clean up of API code
Automatic clean up that checks Python 2.7 compatibility, switch some
methods to static and rearrange code.
2018-10-06 11:07:45 +02:00
grisel-davy
e723ce018d serialization des rappel de fin de connexion 2018-09-29 16:50:04 +02:00
Gabriel Detraz
30bb38d75f Serialisation des roles et réglages par vlan des switches 2018-09-27 16:32:21 +02:00
Gabriel Detraz
aec2c645a2 Serialisation de la conf des swicthes 2018-09-27 16:32: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
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
1a46f3110f Serializers for reverse DNS 2018-08-04 08:50:33 +02:00
Gabriel Detraz
5757a0c03d Serialisation des ouvertures de ports en sortie par subnet 2018-08-04 01:24:20 +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
Charlie Jacomme
342b7c1173 serializers pour dnames 2018-07-23 21:49:27 +00:00
Gabriel Detraz
96318b7265 Legacy shaebang pour python2 2018-07-22 22:59:49 +02: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
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
f5267eae6c Add DHCP_hostmacip API view 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
59c48759f2 Separation of url according to app 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
0c7e944b07 Add permission for API view 2018-06-20 11:38:58 +00:00