Commit Graph

52 Commits

Author SHA1 Message Date
Jeremy Stretch
4ac941b0b6 Closes #1842: Implement support for Django 2.0 2018-03-30 10:39:22 -04:00
Jeremy Stretch
08506f33f1 Fix bulk creation of Secrets via API 2018-01-02 17:07:21 -05:00
Jeremy Stretch
ce12e30903 Closes #1321: Added created and last_updated fields for relevant models to their API serializers 2017-12-21 10:49:40 -05:00
Jeremy Stretch
55fe30fe8b Closes #1553: Introduced support for bulk object creation via the API 2017-11-07 15:36:10 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
1f4deac332 Closes #1556: Added API endpoints listing static field choices for each app 2017-10-10 16:41:35 -04:00
Jeremy Stretch
6c66a1f72f Fixes #1421: Improved model validation logic for API serializers 2017-08-15 13:54:04 -04:00
Jeremy Stretch
3637939742 Fixes #1285: Enforce model validation when creating/editing objects via the API 2017-07-06 17:37:24 -04:00
Jeremy Stretch
57bad0a7cb Closes #1203: Implemented query filters for all models 2017-06-19 16:10:18 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
e46675aa22 Rearranged URL namespaces to satisfy deprecation warnings 2017-04-05 14:26:33 -04:00
Jeremy Stretch
042076c032 Fixes #1025: Applied missing API view filters 2017-04-03 11:04:17 -04:00
Jeremy Stretch
8a645248c2 Base64 decoding tweaks 2017-03-29 13:39:59 -04:00
Jeremy Stretch
e66559fd4c Closes #985: Added preserve_key to get-session-key endpoint 2017-03-28 11:13:13 -04:00
Jeremy Stretch
32e641936b Only attempt to process session key if user is authenticated 2017-03-22 17:43:29 -04:00
Jeremy Stretch
dfb1bfa456 Finished work on secrets views; removed path from cookie assignment 2017-03-21 15:30:36 -04:00
Jeremy Stretch
8c15daf697 Fixed browsable API breadcrumbs 2017-03-20 21:50:10 -04:00
Jeremy Stretch
c072bedd02 Restore not-so-extraneous 'id' field to all WritableSerializers 2017-03-17 17:32:43 -04:00
Jeremy Stretch
a0f931891b Removed extraneous 'id' field from all WritableSerializers 2017-03-17 16:20:34 -04:00
Jeremy Stretch
af2e7ca5a7 Wrote tests for secrets API 2017-03-17 16:01:57 -04:00
Jeremy Stretch
43ed77446f Implemented full read/write support for secrets 2017-03-15 14:47:18 -04:00
Jeremy Stretch
53dccc6670 Refactored SecretViewSet 2017-03-15 13:48:09 -04:00
Jeremy Stretch
0047f5ce11 Relate SessionKey to UserKey rather than User 2017-03-14 13:32:07 -04:00
Jeremy Stretch
87abcf8306 Secrets UI work 2017-03-14 12:32:08 -04:00
Jeremy Stretch
b872eda7ea Simplify SessionKey usage 2017-03-14 10:58:57 -04:00
Jeremy Stretch
78f0d583b0 Standardized API URL definitions 2017-03-09 13:24:02 -05:00
Jeremy Stretch
a98a856ae3 Converted GetSessionKey and RSAKeyGeneratorView to ViewSets 2017-03-08 17:57:51 -05:00
Jeremy Stretch
6e63840c59 Implemented SessionKeys for secrets 2017-02-03 12:49:32 -05:00
Jeremy Stretch
4ffc72019e Initial work on using session-based master key ciphers 2017-02-02 21:26:51 -05:00
Jeremy Stretch
74336fa18d Introduced ability to decrypt secrets by sending the user's private key in an HTTP header 2017-02-01 17:40:50 -05:00
Jeremy Stretch
cdfeed480b Moved secret views into a ViewSet (no write ability yet) 2017-02-01 16:21:33 -05:00
Jeremy Stretch
f8b35f0395 Implemented static writable ModelSerializers for all models 2017-01-31 15:35:09 -05:00
Jeremy Stretch
e41dc74521 Namespaced all API URLs 2017-01-31 10:40:53 -05:00
Jeremy Stretch
ba78981697 Converted nested serializers to HyperlinkedModelSerializer 2017-01-27 12:22:29 -05:00
Jeremy Stretch
dd44611cb9 Standardized implementation of nested ViewSets 2017-01-26 17:58:36 -05:00
Jeremy Stretch
ff32286005 Converted static URL definitions to routers 2017-01-26 15:34:07 -05:00
Jeremy Stretch
4d72ee291b Initial work on API v2.0 2017-01-24 17:12:16 -05:00
Jeremy Stretch
131c09bc66 Enforce authentication for all secrets API views 2016-07-18 15:28:36 -04:00
Jeremy Stretch
977578ca28 Fixes #271: Corrected select_related() in secrets API 2016-07-12 12:27:26 -04:00
Jeremy Stretch
cabc60d0a6 Corrected detection of private_key 2016-07-08 17:49:20 -04:00
Jeremy Stretch
8d837979ff #68: Improved permissions-related error handling 2016-07-06 17:22:10 -04:00
Jeremy Stretch
921040d2fc Renamed 'last_modified' to 'last_updated' 2016-06-22 11:03:49 -04:00
Jeremy Stretch
7502a02fba Code cleanup 2016-05-18 16:35:35 -04:00
Jeremy Stretch
0072f54c94 Introduced a no-forms browseable API renderer; changed secrets decyption endpoint from GET to POST 2016-04-12 14:03:18 -04:00
Jeremy Stretch
2cb99c6012 Introduced per-role decryption permissions 2016-04-07 12:37:09 -04:00
Jeremy Stretch
4561ec7985 Modified the secrets API to accept a private key passed as a GET request body (instead of POSTing) 2016-04-06 11:22:36 -04:00
Jeremy Stretch
8d99502916 Introduced FreeRADIUSClientsRenderer 2016-03-22 14:56:26 -04:00
Jeremy Stretch
1056fb215e Added Device IP to Secret serializer 2016-03-22 12:36:39 -04:00
Jeremy Stretch
6ce2cf9db0 Reworked secrets API to allow optional decryption by POSTing a private key 2016-03-22 12:17:49 -04:00
Jeremy Stretch
a6108f2fa8 Changed Secret parent from a GenericForeignKey to ForeignKey(Device) 2016-03-21 11:42:42 -04:00