jeremystretch
46909071ba
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
ccbdc6f2b9
Define NESTED_SERIALIZER_PREFIX constant
2022-07-15 15:31:42 -04:00
jeremystretch
a6e3eaa772
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
58579d8bbc
Merge branch 'develop' into feature
2022-07-11 12:58:24 -04:00
jeremystretch
ddb22027b7
Fixes #9704 : Include last_updated field on JournalEntry REST API serializer
2022-07-11 10:28:37 -04:00
jeremystretch
ee2df5cc24
Closes #9582 : Enable assigning config contexts based on device location
2022-06-22 16:10:48 -04:00
jeremystretch
b10ee60dee
Changelog & cleanup for #9166
2022-05-24 16:39:05 -04:00
kkthxbye
e4f967e7c6
#9166 - Add UI Visibility setting for custom fields
2022-05-24 10:12:32 +02:00
jeremystretch
4c32f23d10
Closes #8495 : Enable custom field grouping
2022-04-15 14:45:28 -04:00
kkthxbye
557248c53f
Save old JobResults
2022-04-12 11:42:47 -04:00
kkthxbye-code
cd29a1897e
Allow setting individual timeouts on scripts and reports
2022-04-04 18:00:38 +02:00
jeremystretch
78e672fa7b
Closes #9006 : Enable custom fields, custom links, and tags for journal entries
2022-03-31 11:40:02 -04:00
jeremystretch
017020694d
#8976 : Set required=False on serializer field
2022-03-28 14:18:45 -04:00
jeremystretch
8c5bb71c73
Fixes #8976 : Add missing object_type field on CustomField REST API serializer
2022-03-28 13:34:37 -04:00
jeremystretch
46fb20c2d0
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
d9993c5b76
Move CustomFieldModelViewSet functionality into NetBoxModelViewSet
2022-03-09 11:44:55 -05:00
jeremystretch
b0621f7fca
Refactor API views
2022-03-09 11:27:42 -05:00
jeremystretch
510a5fbb69
Merge v3.1.7
2022-02-03 12:55:34 -05:00
jeremystretch
af479c3d4d
Fixes #8499 : Content types REST API endpoint should not require model permission
2022-02-01 15:14:13 -05:00
jeremystretch
3e6be829e5
Closes #8307 : Add data_type indicator to REST API serializer for custom fields
2022-01-18 16:57:54 -05:00
jeremystretch
cd4b695f9d
Merge v3.1.6
2022-01-17 11:12:54 -05:00
Jason Yates
1eaf7912a8
Fixes #8342
...
created & last_updated fields are missing from some REST API calls. Added missing fields to the following API calls
/api/dcim/virtual-chassis/
/api/dcim/cables/
/api/dcim/power-panels/
/api/dcim/rack-reservations/
/api/circuits/circuit-terminations/
/api/extras/webhooks/
/api/extras/custom-fields/
/api/extras/custom-links/
/api/extras/export-templates/
/api/extras/tags/
2022-01-13 19:13:28 -08:00
jeremystretch
108644262b
Closes #8296 : Allow disabling custom links
2022-01-10 12:11:37 -05:00
jeremystretch
7bd4a5774a
Extend to support the assignment of multiple objects per field
2022-01-05 17:05:54 -05:00
jeremystretch
7da2ce1ba5
Initial work on #7006
2022-01-04 16:59:52 -05:00
jeremystretch
a2821807f6
Closes #7784 : Support cluster type assignment for config contexts
2021-12-23 14:20:03 -05:00
jeremystretch
7aad435f6d
Clean up imports
2021-12-21 10:48:10 -05:00
jeremystretch
e12ecc39c0
Fixes #8077 : Fix exception when attaching image to location, circuit, or power panel
2021-12-15 08:45:17 -05:00
jeremystretch
3987726d33
Closes #7812 : Enable change logging for image attachments
2021-11-17 11:52:50 -05:00
jeremystretch
712948f400
Add conditions for webhooks
2021-10-22 17:15:08 -04:00
jeremystretch
3e0077a070
Closes #6850 : Default to current user when creating journal entries via REST API
2021-10-06 10:56:50 -04:00
jeremystretch
01ceb35626
Merge branch 'develop' into feature
2021-06-02 20:35:38 -04:00
jeremystretch
0d2d6a4b49
Fixes #6502 : Correct permissions evaluation for running a report via the REST API
2021-05-28 13:16:25 -04:00
jeremystretch
e1df1d3bf8
Closes #5991 : Remove display_name attribute from serializers
2021-05-04 15:56:36 -04:00
jeremystretch
51e312816f
Consolidate FilterSet classes
2021-04-29 15:59:11 -04:00
Martin Rødvand
68e57681d9
Closes #5830 : Add as_attachment field to API serializers and admin view.
2021-03-30 23:26:55 +02:00
Jeremy Stretch
b7c247ca2e
Closes #4833 : Allow assigning config contexts by device type
2021-03-29 15:40:09 -04:00
Jeremy Stretch
856efd0617
Add kind field to JournalEntry
2021-03-17 12:51:39 -04:00
Jeremy Stretch
9cba554ec9
Add JournalEntry tests
2021-03-16 16:47:35 -04:00
Jeremy Stretch
4ffd2ba841
Initial work on #151 : Object journaling
2021-03-16 15:00:08 -04:00
Jeremy Stretch
fdaa4a6eb8
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
Jeremy Stretch
ae80b4f5f4
Clean up base serializers
2021-03-12 13:31:28 -05:00
Jeremy Stretch
27d92d005b
Closes #5610 : Add REST API endpoint for webhooks
2021-03-09 09:22:58 -05:00
Jeremy Stretch
2ed32e4b5c
Closes #5608 : Add REST API endpoint for custom links
2021-03-08 20:57:44 -05:00
Jeremy Stretch
a4944f2b97
Closes #5892 : Introduce SiteGroup model ( #5937 )
...
* Initial work on #5892
* Add site group selection to object edit forms
* Add documentation for site groups
* Changelog for #5892
* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
1fbff074f7
Fixes #5913 : Improve change logging ( #5924 )
...
* Initial work on #5913
* Provide per-line diff highlighting
* BulkDeteView should delete objects individually to secure a pre-change snapshot
* Add changelog tests for bulk operations
2021-03-04 13:06:04 -05:00
Jeremy Stretch
8de5fa0ae2
Introduce NestedGroupModelSerializer
2021-02-25 17:15:42 -05:00
Jeremy Stretch
1ffc5f32e4
Closes #5549 : Eliminate extraneous database queries when using brief API calls
2020-12-29 11:41:44 -05:00
Jeremy Stretch
68eafb180a
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
Jeremy Stretch
cfbe7ec948
Call Coalesce() inside get_queryset()
2020-12-17 14:45:50 -05:00