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
28c17f33ab
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
4466458076
Fixes #5118 : Specifying an empty list of tags should clear assigned tags (REST API)
2020-09-09 13:43:10 -04:00
47a6fc19ca
Fixes #5109 : Fix representation of custom choice field values for webhook data
2020-09-09 11:47:21 -04:00
bbbfc27593
Fixes #5072 : Add REST API filters for image attachments
2020-09-02 16:10:07 -04:00
967073eaaf
Fixes #5081 : Fix exception during webhook processing with custom select field
2020-09-01 09:54:45 -04:00
0e5d0a43f9
Fix serialization of tags for REST API updates
2020-08-17 16:18:47 -04:00
cf086cd7b2
Remove errant import
2020-08-17 14:15:02 -04:00
bc04543b33
Cache custom fields on instance prior to calling create()/update()
2020-08-17 12:22:37 -04:00
fd139a77f5
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
a206b422fb
Fixes #4912 : Fix image attachment API endpoint; add API view tests
2020-07-27 14:24:15 -04:00
9bcfefa31e
Fix ordering for Tags
2020-07-23 14:28:22 -04:00
05aa008ce1
#2006 : Prevent script/report execution if no RQ worker is running
2020-07-13 15:11:58 -04:00
59091efa86
Closes #4840 : Enable change logging for config contexts
2020-07-09 17:09:03 -04:00
5fd5dbab7b
Merge branch 'develop' into develop-2.9
2020-07-08 13:04:57 -04:00
a2d957ba0d
Use stock manager as default for Tag model
2020-07-07 12:18:14 -04:00
924f319343
Closes #4806 : Add a url field to all API serializers
2020-07-06 16:41:08 -04:00
1f905e72d9
Fix stray reference to LOG_LEVEL_CODES
2020-07-06 11:51:28 -04:00
e02936a44a
Fix reports API test case
2020-07-06 11:15:20 -04:00
f092c107b5
PR review updates
2020-07-06 02:00:16 -04:00
f98fa364c0
Merge branch 'develop-2.9' into 2006-scripts-reports-background
2020-07-02 11:00:59 -04:00
e67f08c745
#4695 - Add metadata class to other classes
2020-07-02 09:26:08 -05:00
36498c9dd2
Base manager for Tag should use RestrictedQuerySet
2020-06-29 14:57:29 -04:00
f48a079ae6
fix tests and cleanup
2020-06-29 14:34:42 -04:00
3777fbccc3
Implements #2006 - run reports and scripts in the background
2020-06-29 03:50:05 -04:00
2d4694e72d
Merge pull request #4770 from netbox-community/3703-limit-tag-creation
...
Closes #3703 : Restrict tag creation
2020-06-17 12:28:04 -04:00
448dc1442c
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
2020-06-17 09:57:17 -04:00
4ae05dddeb
Tag should use a stock manager by default
2020-06-16 17:02:03 -04:00
e616aad911
Fixes #4725 : Fix "brief" rendering of various REST API endpoints
2020-06-05 15:49:06 -04:00
a914a7c438
Update serializer context assignment for DRF 3.11
2020-03-30 12:39:15 -04:00
901143b72a
Merge branch 'develop' into develop-2.8
2020-03-16 12:17:00 -04:00
9a38586e13
rename FeatureQuery class
2020-03-16 11:58:35 -04:00
9df238c5f2
Merge branch 'develop' into develop-2.8
2020-03-15 00:18:32 -04:00
9466802a95
closes #4368 - extras features model registration
2020-03-14 03:03:22 -04:00
d4f6909859
Rename Tag.comments to description
2020-03-13 17:00:00 -04:00
ea9de37dd1
Remove FieldChoicesViewSet
2020-03-12 10:48:17 -04:00
4611536ca9
Revise custom field API tests to check for single/multiple objects with/without custom field values
2020-03-03 17:07:43 -05:00
e4abfd192e
Introduce CustomFieldDefaultValues class to handle default custom field values
2020-03-03 14:54:48 -05:00
c7b74b2090
Fixes #4300 : Pass "commit" argument when executing scripts via REST API
2020-03-02 13:29:32 -05:00
12602a95ea
All fields on RenderedGraphSerializer should be read-only
2020-02-21 14:45:07 -05:00
11d012de4e
Fixes #4235 : Fix API representation of content_type for export templates
2020-02-21 14:38:38 -05:00
a58bbccfd3
Fixes #4094 : Convert unnecessary regular expressions to strings in URL patterns
2020-02-05 16:12:48 -05:00
8849f4b0a5
Added cluster groups and clusters to serializers
2020-01-28 17:30:26 +00:00
c28684a8b3
Remove obsolete utility function model_names_to_filter_dict()
2020-01-15 16:21:41 -05:00
f81e7d30e2
#3892 : Convert GRAPH_MODELS to a Q object
2020-01-15 16:08:19 -05:00
49f027fae7
Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint
2020-01-15 09:59:44 -05:00
deec10efe7
Rename ExportTemplateLanguageChoices to TemplateLanguageChoices
2020-01-15 09:40:05 -05:00
69a696a8d6
Fix graph:type choices under /api/extras/_choices/
2020-01-10 12:18:56 -05:00
9399652dd0
Add template_language field to Graph
2020-01-10 11:28:50 -05:00
97654b7585
Renamed extras FilterSets
2020-01-09 20:35:07 -05:00