jeremystretch
b92e34556f
Fixes #8077 : Fix exception when attaching image to location, circuit, or power panel
2021-12-15 08:45:17 -05:00
jeremystretch
424ac29131
Closes #7812 : Enable change logging for image attachments
2021-11-17 11:52:50 -05:00
jeremystretch
78ecc8673c
Add conditions for webhooks
2021-10-22 17:15:08 -04:00
jeremystretch
b806220074
Closes #6850 : Default to current user when creating journal entries via REST API
2021-10-06 10:56:50 -04:00
jeremystretch
2d44bade4b
Merge branch 'develop' into feature
2021-06-02 20:35:38 -04:00
jeremystretch
1c0f3e1b81
Fixes #6502 : Correct permissions evaluation for running a report via the REST API
2021-05-28 13:16:25 -04:00
jeremystretch
5856275347
Closes #5991 : Remove display_name attribute from serializers
2021-05-04 15:56:36 -04:00
jeremystretch
c4e88fd11a
Consolidate FilterSet classes
2021-04-29 15:59:11 -04:00
Martin Rødvand
878154c305
Closes #5830 : Add as_attachment field to API serializers and admin view.
2021-03-30 23:26:55 +02:00
Jeremy Stretch
cd629fc737
Closes #4833 : Allow assigning config contexts by device type
2021-03-29 15:40:09 -04:00
Jeremy Stretch
82fbd975f1
Add kind field to JournalEntry
2021-03-17 12:51:39 -04:00
Jeremy Stretch
f2c079de87
Add JournalEntry tests
2021-03-16 16:47:35 -04:00
Jeremy Stretch
1f1a62da67
Initial work on #151 : Object journaling
2021-03-16 15:00:08 -04:00
Jeremy Stretch
fb48c1f6dd
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
Jeremy Stretch
fca5accba8
Clean up base serializers
2021-03-12 13:31:28 -05:00
Jeremy Stretch
6ffadb501b
Closes #5610 : Add REST API endpoint for webhooks
2021-03-09 09:22:58 -05:00
Jeremy Stretch
38ded66c4e
Closes #5608 : Add REST API endpoint for custom links
2021-03-08 20:57:44 -05:00
Jeremy Stretch
79b19821f6
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
9c967ee3ea
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
12fbd34962
Introduce NestedGroupModelSerializer
2021-02-25 17:15:42 -05:00
Jeremy Stretch
8ae3331d04
Closes #5549 : Eliminate extraneous database queries when using brief API calls
2020-12-29 11:41:44 -05:00
Jeremy Stretch
4a066a1913
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
Jeremy Stretch
91083fd6c5
Call Coalesce() inside get_queryset()
2020-12-17 14:45:50 -05:00
Daniel Sheppard
3c2b2f26b9
Fixes : #5450 - Added Coalesce to viewsets for the _count functions
2020-12-15 12:50:28 -06:00
Jeremy Stretch
cc271aefe1
Closes #5400 : Store custom field defaults as JSON values
2020-12-01 16:05:23 -05:00
Jeremy Stretch
915cf3e715
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -05:00
Jeremy Stretch
f55e966c8f
Closes #4865 : Replace all Count() annotations with subqueries ( #5385 )
...
* Convert circuits to use subqueries
* Convert dcim to use subqueries
* Convert extras to use subqueries
* Convert ipam to use subqueries
* Convert secrets to use subqueries
* Convert virtualization to use subqueries
* Update global search view to use subqueries where appropriate
* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
Jeremy Stretch
6cae4d7ee4
Fix CustomFieldSerializer content_types queryset
2020-11-23 18:55:17 -05:00
Jeremy Stretch
a05fe69043
Add REST API endpoint for custom fields
2020-11-23 15:54:42 -05:00
Jeremy Stretch
f3f3993963
Enforce custom field validation on the model
2020-11-12 14:23:08 -05:00
Jeremy Stretch
fcb5e6ae1c
Merge branch 'develop' into develop-2.10
2020-10-30 10:38:05 -04:00
John Anderson
28c17f33ab
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
Jeremy Stretch
8781cf1c57
Closes #609 : Add min/max value and regex validation for custom fields
2020-10-15 15:06:01 -04:00
Jeremy Stretch
143f3cc27c
#4711 : Rename CustomField.obj_type to content_types
2020-10-14 15:26:46 -04:00
Jeremy Stretch
c0c5f52ed9
Reorganize REST API components under netbox app
2020-10-13 15:57:21 -04:00
Jeremy Stretch
d61d62088f
Ditch hard-coded filtering of ContentTypes API endpoint
2020-10-09 15:11:56 -04:00
Jeremy Stretch
3df3706f27
Closes #5190 : Add a REST API endpoint for content types
2020-10-09 15:08:29 -04:00
Jeremy Stretch
9b16d6df2e
Merge v2.9.4 release
2020-09-23 16:11:00 -04:00
Jeremy Stretch
4466458076
Fixes #5118 : Specifying an empty list of tags should clear assigned tags (REST API)
2020-09-09 13:43:10 -04:00
Jeremy Stretch
47a6fc19ca
Fixes #5109 : Fix representation of custom choice field values for webhook data
2020-09-09 11:47:21 -04:00
Jeremy Stretch
c5ab89d71e
Merge branch 'develop-2.10' into 4878-custom-fields
2020-09-04 16:14:06 -04:00
Jeremy Stretch
08c492f1f4
Merge develop into develop-2.10
2020-09-04 16:09:05 -04:00
Jeremy Stretch
bbbfc27593
Fixes #5072 : Add REST API filters for image attachments
2020-09-02 16:10:07 -04:00
Jeremy Stretch
967073eaaf
Fixes #5081 : Fix exception during webhook processing with custom select field
2020-09-01 09:54:45 -04:00
Jeremy Stretch
d2b7eb161c
Cache CustomField assignments for API queries
2020-08-25 16:44:59 -04:00
Jeremy Stretch
d0f1c733e7
Replace CustomFieldsSerializer with CustomFieldsDataField
2020-08-25 15:22:32 -04:00
Jeremy Stretch
f7b8d6ede5
Add choices ArrayField to CustomField; drop CustomFieldChoice
2020-08-25 13:24:46 -04:00
Jeremy Stretch
d9e5adc032
Update serializer to access custom_field_data directly
2020-08-25 10:43:04 -04:00
Jeremy Stretch
c85a45e520
Further work on custom fields
2020-08-24 14:11:13 -04:00
Jeremy Stretch
2276603ac3
Drop CustomFieldValue
2020-08-21 16:21:11 -04:00