Jeremy Stretch
27e27788cd
Closes #5424 : Allow passing Python code to nbshell using --command
2020-12-08 16:14:52 -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
181f5c991b
Fixes #5309 : Avoid extraneous database queries when manipulating objects
2020-11-20 15:40:09 -05:00
Jeremy Stretch
dc7da4f0f6
Fixes #5316 : Dry running scripts should not trigger webhooks
2020-11-09 16:22:45 -05:00
Jeremy Stretch
ab33b3aa84
Fixes #5328 : Fix CreatedUpdatedFilterTest when running in non-UTC timezone
2020-11-09 16:04:09 -05:00
Jeremy Stretch
c3f2cc7648
Correct buttons() method in dummy plugin template content
2020-11-09 14:31:53 -05:00
991jo
7cf4095983
Fixed a UI Bug where there is no whitespace after grouped custom links.
...
See #5325 for details
2020-11-09 07:56:26 +01:00
John Anderson
0d27abc6fc
fixes #5314 - Fix config context rendering when multiple tags are assgined to an object
2020-11-06 16:47:07 -05:00
Jeremy Stretch
ca932ecadc
Merge pull request #5286 from netbox-community/5285-plugins-api-app_name
...
Fixes #5285 : Include plugin API endpoints in root view without needing app_name set
2020-10-30 09:10:12 -04:00
John Anderson
28c17f33ab
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
John Anderson
db87a69488
convert region fields to f-string
2020-10-30 02:56:26 -04:00
Jeremy Stretch
b871d2a8c4
Fixes #5285 : Include plugin API endpoints in root view without needing app_name set
2020-10-29 12:30:10 -04:00
John Anderson
047f03a58c
clean up imports
2020-10-25 19:00:56 -04:00
John Anderson
26ff33c41a
pep8
2020-10-25 17:56:42 -04:00
John Anderson
9e84e3b83b
added tests
2020-10-25 16:49:18 -04:00
John Anderson
82f5d0070e
account for null value annotations
2020-10-23 10:56:02 -04:00
John Anderson
22d2289ed2
add support for regions and vms
2020-10-23 01:18:04 -04:00
John Anderson
3ba18633de
initial work on config context performance improvements
2020-10-20 01:07:22 -04:00
Jeremy Stretch
f53810ebb2
Fixes #5231 : Fix KeyError exception when viewing object with custom link and debugging is disabled
2020-10-09 15:53:45 -04:00
Jeremy Stretch
f35715683e
Closes #5202 : Extend the available context data when rendering custom links
2020-10-09 12:36:09 -04:00
Jeremy Stretch
3a21f7ab26
Fixes #5226 : Custom choice fields should be blank initially if no default choice has been designated
2020-10-09 11:34:50 -04:00
Jeremy Stretch
5089df3ffd
Fix error in OBJECTCHANGE_OBJECT table column template
2020-10-07 13:13:03 -04:00
Jeremy Stretch
ae0a481c64
Fixes #5206 : Apply user pagination preferences to all paginated object lists
2020-10-02 13:54:57 -04:00
Jeremy Stretch
0a40418614
Fixes #5066 : Update view_reportresult to view_report permission
2020-09-23 13:40:15 -04:00
Jeremy Stretch
c0b94e4e8e
Fixes #5137 : Correct permission for viewing report results is extras.view_reportresult
2020-09-23 10:16:22 -04:00
Jeremy Stretch
afa1449f89
Fixes #5167 : Support filtering ObjectChanges by multiple users
2020-09-22 16:17:39 -04:00
John Anderson
c5e82a3895
fixes #5108 - correct the runreport management command to work with JobResults model
2020-09-10 17:43:41 -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
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
bc0e6cc8dd
Fixes #5012 : Return details of exceptions resulting from report/script execution
2020-08-20 12:47:26 -04:00
Jeremy Stretch
db5bb8e5bb
Fix changelog tests
2020-08-19 16:02:10 -04:00
Jeremy Stretch
0d9fc309d5
Update test script ObjectVars
2020-08-18 14:43:21 -04:00
Jeremy Stretch
bc5f800a8b
Refactor tests (again)
2020-08-18 13:30:16 -04:00
Jeremy Stretch
36d86e6220
Avoid using post_data() for form data
2020-08-18 13:13:13 -04:00
Jeremy Stretch
986ef2b8e6
Move changelog signals setup to a context manager
2020-08-18 13:05:41 -04:00
Jeremy Stretch
5629124755
Tweak passing of tags
2020-08-18 12:37:07 -04:00
Jeremy Stretch
0bfb64dc09
Simplify tag creation
2020-08-18 11:33:23 -04:00
Jeremy Stretch
881cab051b
Add changelog tests for UI views
2020-08-18 10:05:58 -04:00
Jeremy Stretch
afebf525d1
Move housekeeping to _handle_changed_object()
2020-08-18 09:13:07 -04:00
Jeremy Stretch
0e5d0a43f9
Fix serialization of tags for REST API updates
2020-08-17 16:18:47 -04:00
Jeremy Stretch
cf086cd7b2
Remove errant import
2020-08-17 14:15:02 -04:00
Jeremy Stretch
81c72739b5
Attach object modification signals before running a custom script
2020-08-17 13:43:48 -04:00
Jeremy Stretch
bc04543b33
Cache custom fields on instance prior to calling create()/update()
2020-08-17 12:22:37 -04:00
Jeremy Stretch
dd707c97af
Cache custom fields on instance prior to save()
2020-08-17 11:08:14 -04:00
Jeremy Stretch
4ee8e473eb
Move ObjectChange creation into signal receivers
2020-08-14 17:03:45 -04:00
Jeremy Stretch
fd139a77f5
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
Jeremy Stretch
bc61393256
Merge branch 'develop' into develop-2.9
2020-08-13 10:06:03 -04:00
Jeremy Stretch
fe1ffdcbb7
Extend ObjectVars to accept display_field, query_params, and null_option
2020-08-12 14:51:58 -04:00