Jeremy Stretch
|
a6b03b8884
|
Update WritableNestedSerializer to call unrestricted() on RestrictedQuerySets
|
2020-06-29 10:38:32 -04:00 |
|
Jeremy Stretch
|
8412f9481c
|
Force restriction of RestrictedQuerySet even for superusers
|
2020-06-26 13:18:12 -04:00 |
|
Jeremy Stretch
|
5574aaa8cb
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
Jeremy Stretch
|
5b6a6fb63e
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
Jeremy Stretch
|
58989b85c8
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
Jeremy Stretch
|
814aff78b5
|
Update ObjectPermission evaluation to support null attrs
|
2020-05-28 09:39:27 -04:00 |
|
Jeremy Stretch
|
fb7446487e
|
Fix up permissions evaluation
|
2020-05-27 11:31:07 -04:00 |
|
Jeremy Stretch
|
a928d337d9
|
Add object permission support for create/update/delete API views
|
2020-05-21 10:51:40 -04:00 |
|
Jeremy Stretch
|
8c40148ca7
|
Add object permission tests for get and list API views
|
2020-05-20 16:47:33 -04:00 |
|
Jeremy Stretch
|
aeb32104a4
|
Enforce object-level permissions for API views
|
2020-05-14 17:44:46 -04:00 |
|
John Anderson
|
9df238c5f2
|
Merge branch 'develop' into develop-2.8
|
2020-03-15 00:18:32 -04:00 |
|
Jeremy Stretch
|
ea9de37dd1
|
Remove FieldChoicesViewSet
|
2020-03-12 10:48:17 -04:00 |
|
John Anderson
|
a504f5f309
|
closes #4340 - Enforce unique constraints for device and virtual machine names in the API
|
2020-03-10 19:15:24 -04:00 |
|
Jeremy Stretch
|
2bd3f1fcc3
|
Merge pull request #4315 from netbox-community/4195-application-logging
Closes #4195: Application logging
|
2020-03-04 14:39:12 -05:00 |
|
Jeremy Stretch
|
406b88777c
|
Add logging for DRF views
|
2020-03-04 13:32:45 -05:00 |
|
Jeremy Stretch
|
7a10748355
|
Add logging output to API viewsets
|
2020-03-02 16:52:21 -05:00 |
|
Jeremy Stretch
|
9128dc961c
|
Closes #4173: Return graceful error message when webhook queuing fails
|
2020-02-21 17:21:04 -05:00 |
|
Jeremy Stretch
|
7388fa3556
|
Fixes #4083: Permit nullifying applicable choice fields via API requests
|
2020-02-10 15:10:33 -05:00 |
|
Jeremy Stretch
|
096814dc33
|
#3880: Define constants for arbitrary values
|
2020-01-24 14:42:57 -05:00 |
|
Jeremy Stretch
|
49f027fae7
|
Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint
|
2020-01-15 09:59:44 -05:00 |
|
Jeremy Stretch
|
f0a6c881bc
|
Fix inclusion of legacy IDs on choice fields
|
2019-12-10 12:07:54 -05:00 |
|
Jeremy Stretch
|
a2a6b754be
|
Introduce ChoiceSet class for field choices
|
2019-11-07 10:33:10 -05:00 |
|
Brian Candler
|
6e5d527fec
|
Improve API error handling when a list is given as a choice value
Fixes #3426
|
2019-08-15 17:16:24 +01:00 |
|
Jeremy Stretch
|
3bb3b85fa2
|
Merged v2.5.13
|
2019-05-31 21:37:41 -04:00 |
|
Jeremy Stretch
|
28facca291
|
Changelog & grammar tweak for #3211
|
2019-05-29 10:33:29 -04:00 |
|
hellerve
|
2c7bad9fff
|
utilities: move protectederror handling to modelviewset
|
2019-05-28 21:11:23 +02:00 |
|
Jeremy Stretch
|
c2d0e8fd95
|
Cleanup from earlier work on caching
|
2019-04-22 14:49:31 -04:00 |
|
Jeremy Stretch
|
de7207de55
|
Enable dictionary specification of related objects in API
|
2019-04-16 18:02:52 -04:00 |
|
Jeremy Stretch
|
bf2f314cd4
|
Remove run_validators() override (fixed upstream)
|
2019-04-16 15:35:15 -04:00 |
|
John Anderson
|
cdff29c7d5
|
add redis to travis builds
|
2019-04-15 04:16:22 -04:00 |
|
John Anderson
|
f0505477b8
|
intial work on #2647 - caching
|
2019-04-15 03:55:33 -04:00 |
|
Jeremy Stretch
|
d23ca041cf
|
Ensure fallback to default serializer when attempting to load nested serializer
|
2019-04-02 11:17:14 -04:00 |
|
Jeremy Stretch
|
fc76c8eb0f
|
FieldChoicesViewSet should infer field choices from serializer, not model
|
2019-03-22 16:24:53 -04:00 |
|
Jeremy Stretch
|
ab02f26a0e
|
Fixes #2972: Improve ContentTypeField serializer to elegantly handle invalid data
|
2019-03-06 12:42:47 -05:00 |
|
Jeremy Stretch
|
8364e56e86
|
Fixes #2676: Fix exception when passing dictionary value to a ChoiceField
|
2018-12-11 17:00:20 -05:00 |
|
Jeremy Stretch
|
bd7aee7c1f
|
Closes #2614: Simplify calls of super() for Python 3
|
2018-11-27 10:52:24 -05:00 |
|
Jeremy Stretch
|
7d8ae5e763
|
Fixes #2609: Fixed exception when ChoiceField integer value is passed as a string
|
2018-11-26 14:05:57 -05:00 |
|
Jeremy Stretch
|
2bae50f501
|
Enforce consistent ordering of value/label keys for ChoiceField
|
2018-11-26 14:02:38 -05:00 |
|
Jeremy Stretch
|
f8a961b568
|
Cleaned up import statements
|
2018-11-02 15:20:08 -04:00 |
|
Jeremy Stretch
|
bb5c0989f3
|
Fixed compatability with Django REST Framework v3.9.0
|
2018-11-02 13:16:44 -04:00 |
|
Jeremy Stretch
|
3518d023dc
|
Implemented Cable API endpoint
|
2018-10-26 12:25:11 -04:00 |
|
Jeremy Stretch
|
22ed4f1b53
|
Merge release v2.4.6
|
2018-10-10 09:36:51 -04:00 |
|
Jeremy Stretch
|
bf47e7cae3
|
#2487: Require the 'brief' parameter to evaluate True
|
2018-10-04 14:50:57 -04:00 |
|
Jeremy Stretch
|
db2721c581
|
Enable brief API output utilizing nested serializers
|
2018-10-04 13:43:50 -04:00 |
|
Jeremy Stretch
|
2ac60bdf48
|
Merge branch 'develop' into develop-2.5 (v2.4.4 release)
|
2018-08-22 12:10:44 -04:00 |
|
Jeremy Stretch
|
e1e41a768a
|
Fixes #2369: Corrected time zone validation on site API serializer
|
2018-08-20 16:53:23 -04:00 |
|
Jeremy Stretch
|
980d62d579
|
Removed Python 2 string compatibility
|
2018-08-14 11:58:42 -04:00 |
|
Jeremy Stretch
|
a2ff21fab9
|
Fixes #2334: TypeError raised when WritableNestedSerializer receives a non-integer value
|
2018-08-08 15:09:30 -04:00 |
|
Jeremy Stretch
|
c51c20a301
|
Fixes #2319: Extend ChoiceField to properly handle true/false choice keys
|
2018-08-07 13:48:29 -04:00 |
|
Jeremy Stretch
|
1bdfcd1dbe
|
Fixes #2301: Fix model validation on assignment of ManyToMany fields via API patch
|
2018-08-03 10:45:53 -04:00 |
|