Jeremy Stretch
8c4d4532a4
Fixes #5235 : Fix exception when editing IP address with a NAT IP assigned to a non-racked device
2020-11-16 10:59:41 -05:00
Jeremy Stretch
9a736170fe
Fixes #5350 : Filter available racks by selected group when creating a rack reservation
2020-11-16 10:38:57 -05:00
Jeremy Stretch
9f8f9e8b97
Fixes #5345 : Fix non-deterministic ordering of prefixes and IP addresses
2020-11-16 10:17:05 -05:00
Jeremy Stretch
d0e6e9c837
Correct return URLs for device component actions
2020-11-13 15:37:34 -05:00
Jeremy Stretch
5f8b0cc40a
Ensure consistent display of device component buttons
2020-11-13 15:29:37 -05:00
Jeremy Stretch
9736d6ba48
Separate device component lists into discrete views
2020-11-13 15:00:12 -05:00
Jeremy Stretch
052346364a
Don't wrap component names
2020-11-13 13:14:10 -05:00
Jeremy Stretch
424d72a7b3
Fix up related paths list
2020-11-13 12:12:25 -05:00
Jeremy Stretch
eb5f6167a5
Add segment_count property to CablePath
2020-11-13 12:11:53 -05:00
Jeremy Stretch
e84a6b99a8
Improved cable trace UI
2020-11-12 16:55:02 -05:00
Jeremy Stretch
f3f3993963
Enforce custom field validation on the model
2020-11-12 14:23:08 -05:00
Jeremy Stretch
4a8a1ce45c
Check for extraneous custom field data on clean()
2020-11-12 12:18:31 -05:00
Jonathon Reinhart
7aa9ecd17a
Closes #5337 : Add "splice" port type
2020-11-12 10:41:29 -05:00
Jeremy Stretch
aed25fea3a
#259 : Add present_in_vrf filters for IPAddress
2020-11-12 10:27:44 -05:00
Jeremy Stretch
a3675854be
Clean up generic view templates
2020-11-11 16:58:29 -05:00
Jeremy Stretch
b3c770216e
Relocate and group generic views
2020-11-11 16:07:38 -05:00
Jeremy Stretch
8714c33e8a
Move constants out of views.py
2020-11-11 15:36:57 -05:00
Jeremy Stretch
a0772fd7ba
Move context processors under NetBox core
2020-11-11 15:28:07 -05:00
Jeremy Stretch
3d6baeaab0
Move selection field validation from admin form to model
2020-11-11 15:24:39 -05:00
Jeremy Stretch
64d1f57276
Add custom get_operation_id() method to avoid monkey-patching coreapi
2020-11-11 14:25:43 -05:00
Jeremy Stretch
963df7e398
Correct FrontPortTemplate update data
2020-11-11 13:02:58 -05:00
Jeremy Stretch
5ed5ffea0e
Bulk update should return complete object representation
2020-11-11 13:02:28 -05:00
Jeremy Stretch
d560e2da93
Fix tracing from front/rear ports
2020-11-11 11:48:55 -05:00
Jeremy Stretch
2b359ce1c7
Move rest_api_server_error() to utilities.api
2020-11-10 17:19:14 -05:00
Jeremy Stretch
4971469590
Move APIRootView to netbox.api.views
2020-11-10 17:13:22 -05:00
Jeremy Stretch
db0c61dea4
Consolidate middleware under NetBox core
2020-11-10 16:59:37 -05:00
Jeremy Stretch
8348c5a674
Fix side panel width
2020-11-10 16:00:21 -05:00
Jeremy Stretch
d03c14d49c
Closes #5154 : Utilize all horizontal space for web UI
2020-11-10 13:55:53 -05:00
Jeremy Stretch
7a61354d8c
Fix rack elevation image toggles
2020-11-10 13:42:48 -05:00
Jeremy Stretch
b9af6ef841
Tweak icons
2020-11-10 13:36:40 -05:00
Jeremy Stretch
de0e69840e
Fix RegionTestCase
2020-11-10 13:13:01 -05:00
Jeremy Stretch
52312195b6
Ensure consistent inclusion of custom fields for newly-supporting models
2020-11-10 12:33:20 -05:00
Jeremy Stretch
fbe1ec3e6d
Extend some CSV import tests to check ChoiceField slugs
2020-11-10 12:14:54 -05:00
Jeremy Stretch
46b48ee55d
Add missing tenant attribute
2020-11-10 11:58:59 -05:00
Jeremy Stretch
f631f8c45b
Correct label for RIR
2020-11-10 11:58:34 -05:00
Jeremy Stretch
1552681e6b
Don't use responsive tables for device components
2020-11-10 11:53:40 -05:00
Jeremy Stretch
2377e04911
Fix up device component tab navigation & return URLs
2020-11-10 11:46:04 -05:00
Jeremy Stretch
aac930237a
Fix permissions for REST API status view
2020-11-10 11:16:35 -05:00
Jeremy Stretch
97c588a8ba
Clean up service form
2020-11-10 11:05:29 -05:00
Jeremy Stretch
3d6bf1e0f8
Clean up CustomField regex validation
2020-11-10 10:21:18 -05:00
Jeremy Stretch
b8a7870750
Fix bulk editing of device components
2020-11-10 09:22:50 -05:00
Jeremy Stretch
cb79a5a56d
Remove old tables.py
2020-11-10 09:05:42 -05:00
Jeremy Stretch
0567f0d190
Merge branch 'develop' into develop-2.10
2020-11-09 20:58:59 -05:00
Jeremy Stretch
340e665817
Post release version bump
2020-11-09 20:57:35 -05:00
Jeremy Stretch
a6f0154803
Release v2.9.9
2020-11-09 20:51:35 -05:00
Jeremy Stretch
9b2dc89c6c
Closes #5327 : Be more strict when capturing anticipated ImportError exceptions
2020-11-09 16:49:05 -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
bf836d4d46
Fixes #5331 : Fix filtering of sites by null region
2020-11-09 15:58:59 -05:00
Jeremy Stretch
c3f2cc7648
Correct buttons() method in dummy plugin template content
2020-11-09 14:31:53 -05:00
Jeremy Stretch
d2c4c7fb10
Closes #5324 : Add missing template extension tags for plugins for VM interface view
2020-11-09 14:19:22 -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
62b0a68bef
Don't use chevron-right icon for hierarchy
2020-11-06 16:26:16 -05:00
Jeremy Stretch
5db14f9410
Tweak CSS
2020-11-06 16:09:55 -05:00
Jeremy Stretch
6542a326c1
Clean up stray Font Awesome icons
2020-11-06 15:06:45 -05:00
Jeremy Stretch
72dace29b7
Replace Glyphicons with Material Design
2020-11-06 14:49:14 -05:00
Jeremy Stretch
867f308027
Replace Font Awesome icons with Material Design
2020-11-06 14:33:20 -05:00
Jeremy Stretch
d388472773
Add Material Design icons
2020-11-06 12:13:00 -05:00
Jeremy Stretch
39b322ae6b
Closes #5313 : Denote official support for Python 3.8
2020-11-05 16:08:33 -05:00
Jeremy Stretch
23cce55246
Merge branch 'develop' into develop-2.10
2020-11-05 15:33:07 -05:00
Jeremy Stretch
f2cba78549
Closes #5310 : Link to rack groups within rack list table
2020-11-05 14:24:22 -05:00
Jeremy Stretch
f845eeb117
Closes #5304 : Return server error messages as JSON when handling REST API requests
2020-11-04 17:11:57 -05:00
Jeremy Stretch
c53990c739
Closes #5307 : Add a region selector for every site form field
2020-11-04 15:27:41 -05:00
Jeremy Stretch
798220cf9a
Fix filter reference
2020-11-04 13:05:24 -05:00
Jeremy Stretch
7598b891c1
Add initial_params to all forms
2020-11-04 11:09:13 -05:00
Jeremy Stretch
1f0b1dd10e
Add initial_params to DynamicModelChoiceMixin
2020-11-04 10:15:15 -05:00
Jeremy Stretch
bd62611117
Skip signal processing when loading cables from fixtures
2020-11-03 13:32:05 -05:00
Jeremy Stretch
2bb79a2773
Add missing bulk update test data
2020-11-02 16:56:04 -05:00
Jeremy Stretch
9fae11a42f
Add present_in_vrf filters
2020-11-02 15:39:46 -05:00
Jeremy Stretch
700aa1ad5c
Add import/export RTs to VRFTable
2020-11-02 14:55:05 -05:00
Jeremy Stretch
9a9babfc35
Remove extraneous prefetch_related() calls from object list views
2020-10-30 16:54:41 -04:00
Jeremy Stretch
97c8306eeb
Drop add_prefetch from BaseTable; improve dynamic prefetching for table querysets
2020-10-30 16:15:16 -04:00
Jeremy Stretch
8d02303515
Optimize cable termination tables
2020-10-30 13:57:17 -04:00
Jeremy Stretch
70e966923a
Add CablePath.get_path() to prefetch path nodes
2020-10-30 13:32:10 -04:00
Jeremy Stretch
f82e2a8d20
Fixed up device & device type tab navigation
2020-10-30 11:41:51 -04:00
Jeremy Stretch
2424f684b9
Post-release version bump
2020-10-30 10:41:05 -04:00
Jeremy Stretch
fcb5e6ae1c
Merge branch 'develop' into develop-2.10
2020-10-30 10:38:05 -04:00
Jeremy Stretch
cbd155406b
Release v2.9.8
2020-10-30 10:11:13 -04:00
Jeremy Stretch
6d28eae5dc
Merge pull request #5290 from nniehoff/5282-ldap-logging
...
Fixing #5282 - moving logging configuration from to configuration.py
2020-10-30 09:11:12 -04: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
Jeremy Stretch
04d763d814
Merge pull request #5266 from netbox-community/4559-config-context-rendering
...
4559 config context rendering
2020-10-30 09:09:40 -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
Nick Niehoff
2b154dcfdf
Fixing #5282 - moving logging configuration from authentication.py to configuration.py
2020-10-29 15:14:52 -06:00
Jeremy Stretch
aad32c4866
Add tests for UserConfig API endpoint
2020-10-29 16:05:59 -04:00
Jeremy Stretch
00e102fb0c
Fix resetting column preferences
2020-10-29 14:42:40 -04:00
Jeremy Stretch
a43361170c
Fix overwriting of existing preferences
2020-10-29 14:15:38 -04:00
Jeremy Stretch
acd4054e79
Customize device component tables for user
2020-10-29 14:07:36 -04:00
Jeremy Stretch
ffdb727e1c
Update BaseTable to accept user instance directly
2020-10-29 14:03:08 -04:00
Jeremy Stretch
cf328ca51e
Fix interfaces table header
2020-10-29 13:38:07 -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
Jeremy Stretch
2f3557c18f
Fixes #5273 : Fix exception when validating a new permission with no models selected
2020-10-27 10:01:49 -04:00
John Anderson
047f03a58c
clean up imports
2020-10-25 19:00:56 -04:00
John Anderson
606b015314
Merge branch 'develop' into 4559-config-context-rendering
2020-10-25 18:47:40 -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
Jeremy Stretch
ce2210b7bc
Introduce table_config_form template tag to simplify form generation
2020-10-23 16:47:53 -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
Jeremy Stretch
ff3d0b72b9
Tweak the table config form for generic use
2020-10-21 16:06:37 -04:00
Jeremy Stretch
4de7fcd758
Convert table config updates to use REST API
2020-10-21 14:52:50 -04:00
Jeremy Stretch
2845dd488e
Add a REST API endpoint for updating user preferences
2020-10-21 09:05:33 -04:00
Jeremy Stretch
2e558ba031
Closes #5139 : Omit utilization statistics from RIR list
2020-10-20 13:16:35 -04:00
John Anderson
3ba18633de
initial work on config context performance improvements
2020-10-20 01:07:22 -04:00
Jeremy Stretch
9cbfc0ce9a
Merge pull request #5251 from netbox-community/4786-device-component-tables
...
#4786 : Convert device component templates to tables
2020-10-19 15:01:40 -04:00
Jeremy Stretch
55a2e0299c
Standardize device component table columns
2020-10-19 13:55:02 -04:00
Jeremy Stretch
e304f105c9
Cleanup stray output
2020-10-16 17:03:14 -04:00
Jeremy Stretch
502b66367c
Convert VM interfaces list to table
2020-10-16 17:01:55 -04:00
Jeremy Stretch
00caa368c5
Remove interface IPs toggle
2020-10-16 16:40:21 -04:00
Jeremy Stretch
a969b81e63
Change color for edit button
2020-10-16 16:36:12 -04:00
Jeremy Stretch
0a67926012
Fix up missing table columns
2020-10-16 16:33:08 -04:00
Jeremy Stretch
51821818e0
Add cable trace buttons
2020-10-16 16:14:05 -04:00
Jeremy Stretch
82c6fb6e19
Convert device inventory items list to table
2020-10-16 16:00:25 -04:00
Jeremy Stretch
7c1316619b
Convert device device bays list to table
2020-10-16 15:51:46 -04:00
Jeremy Stretch
2146c38748
Convert device interfaces list to table
2020-10-16 15:42:48 -04:00
Jeremy Stretch
e3f98a011c
Convert device rear ports list to table
2020-10-16 15:33:39 -04:00
Jeremy Stretch
68060cf9e9
Convert device front ports list to table
2020-10-16 15:28:28 -04:00
Jeremy Stretch
eed2e4a15b
Convert device power outlets list to table
2020-10-16 15:16:36 -04:00
Jeremy Stretch
3a47e0e2ed
Convert device power ports list to table
2020-10-16 15:09:23 -04:00
Jeremy Stretch
60c30b92ba
Convert device console server ports list to table
2020-10-16 15:01:16 -04:00
Jeremy Stretch
99352a5d30
Convert device console ports list to table
2020-10-16 14:39:15 -04:00
Jeremy Stretch
35273c7bfe
Add connection column for path endpoints
2020-10-16 11:41:24 -04:00
Jeremy Stretch
769b240164
Extend device component tables to include cable peer
2020-10-16 11:11:41 -04:00
Jeremy Stretch
823aa6b712
Add compatible types for PowerFeed
2020-10-16 11:05:42 -04:00
Jeremy Stretch
73bf3b9498
Reorganize DCIM tables
2020-10-16 10:39:13 -04:00
Daniel Sheppard
32274dec86
Closes : #4967 - Adds Tenancy to Aggregate model
2020-10-15 20:40:19 -05:00
Jeremy Stretch
dde52309d2
Fixes #5243 : Redirect user to appropriate tab after modifying device components
2020-10-15 16:55:20 -04:00
Jeremy Stretch
c9c8d337a0
Closes #5011 : Standardized name field lengths across all models
2020-10-15 15:37:34 -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
John Anderson
87c13a876b
fixes #5113 - incorrect caching of permission object assignments to user groups in the admin panel
2020-10-14 20:10:21 -04:00
Jeremy Stretch
e7d26ca5dc
Move Cable and CablePath to cables.py
2020-10-14 16:54:30 -04:00
Jeremy Stretch
143f3cc27c
#4711 : Rename CustomField.obj_type to content_types
2020-10-14 15:26:46 -04:00
Jeremy Stretch
defade84e4
Fix plugin name resolution
2020-10-13 17:18:13 -04:00
Jeremy Stretch
80c142ab7c
Closes #4918 : Add a REST API endpoint which returns NetBox's current operational status
2020-10-13 16:57:45 -04:00
Jeremy Stretch
c0c5f52ed9
Reorganize REST API components under netbox app
2020-10-13 15:57:21 -04:00
Jeremy Stretch
97ac6851d0
Merge branch 'develop' into develop-2.10
2020-10-12 09:51:54 -04:00
Jeremy Stretch
d4b96a5a27
Post-release version bump
2020-10-12 09:51:11 -04:00
Jeremy Stretch
1aabb2ed5d
Release v2.9.7
2020-10-12 09:39:39 -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
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
66c4597525
Add RouteTarget to __all__
2020-10-09 14:38:21 -04:00
Jeremy Stretch
30778a9c40
Closes #5225 : CircuitTermination port_speed is now optional
2020-10-09 14:06:24 -04:00
Jeremy Stretch
96650b0216
Merge branch 'develop' into develop-2.10
2020-10-09 13:52:16 -04:00
Jeremy Stretch
7545599493
Post-release version bump
2020-10-09 13:31:28 -04:00
Jeremy Stretch
3047208e6a
Release v2.9.6
2020-10-09 13:17:16 -04:00
Jeremy Stretch
a796e29c98
Fixes #5229 : Fix AttributeError exception when LDAP authentication is enabled
2020-10-09 13:16:07 -04:00
Jeremy Stretch
5f0e04aebe
Post-release version bump
2020-10-09 13:01:01 -04:00
Jeremy Stretch
918ca4fdcb
Release v2.9.5
2020-10-09 12:57:14 -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
b5a65bc66c
Fixes #5211 : Add missing has_primary_ip filter for virtual machines
2020-10-09 11:46:16 -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
a2c012d2c4
Fixes #5224 : Don't allow a rear port to have fewer positions than the number of mapped front ports
2020-10-08 16:24:08 -04:00
Jeremy Stretch
752b099d22
Exempt InventoryItem from queryset caching (MPTT)
2020-10-08 15:30:59 -04:00
Jeremy Stretch
44caa402d0
Delete obsolete LoopDetected exception
2020-10-08 15:01:55 -04:00
Jeremy Stretch
a716ca705c
Rewrite cablepath tests to create components within each test
2020-10-08 14:55:13 -04:00
Jeremy Stretch
75ddc63466
Handle split paths
2020-10-08 14:01:47 -04:00
Jeremy Stretch
0e41bc48b7
Add /trace API endpoints for CircuitTermination and PowerFeed
2020-10-08 13:55:29 -04:00
Daniel Sheppard
4896059162
Fixes : #5220 - Fix API patch request against IP-Address endpoint with null assigned_object_type
2020-10-08 12:50:29 -05:00
Jeremy Stretch
0c5efa243d
Handle traces which split at a RearPort
2020-10-08 13:45:47 -04:00
Daniel Sheppard
eadecf3eda
Fixes : #5221 - Fix bulk component creation over multiple VMs
2020-10-08 12:39:20 -05:00
Jeremy Stretch
ae1ceb26b9
Standardize cable/connection field ordering
2020-10-08 11:23:24 -04:00
Jeremy Stretch
55268c90c8
Replace connection_status with connected_endpoint_reachable on InterfaceConnectionSerializer
2020-10-08 11:15:09 -04:00
Jeremy Stretch
aa0ee2720b
Add cable paths API detail view for pass-through ports
2020-10-08 10:32:17 -04:00
Jeremy Stretch
35759fdb70
Redo the cable trace UI (WIP)
2020-10-07 16:39:15 -04:00
Jeremy Stretch
39e4ab164e
Fixes #5218 : Raise validation error if a power port's allocated_draw exceeds its maximum_draw
2020-10-07 13:23:19 -04:00
Jeremy Stretch
5089df3ffd
Fix error in OBJECTCHANGE_OBJECT table column template
2020-10-07 13:13:03 -04:00
Jeremy Stretch
9738257aa2
Fixes #5217 : Prevent erroneous removal of prefetched GenericForeignKey data from tables
2020-10-07 13:09:08 -04:00
Jeremy Stretch
85439fd952
Fix PowerFeed display in cable traces
2020-10-07 11:33:47 -04:00
Jeremy Stretch
eaf8d95ce5
Clean up power utilization logic
2020-10-07 11:14:16 -04:00
Jeremy Stretch
f560693748
Rewrite trace_paths management command and call in upgrade.sh
2020-10-07 10:30:11 -04:00
Jeremy Stretch
6db3c65bcc
Swap order of cabling migrations
2020-10-07 09:50:12 -04:00
Jeremy Stretch
693b32077a
Update the netbox-discuss mailing list URL
2020-10-07 08:53:04 -04:00
Jeremy Stretch
c7c66626b6
Standardize 'cabled' and 'connected' filters; complete tests
2020-10-06 17:28:25 -04:00
Jeremy Stretch
44b842592a
Restore total length count on trace view
2020-10-06 16:58:11 -04:00
Jeremy Stretch
2c9ae60dec
Optimize path node representations
2020-10-06 16:34:03 -04:00
Jeremy Stretch
a6e0ef8cd8
Clean up console/power/interface connections views
2020-10-06 16:15:18 -04:00
Jeremy Stretch
6b3a1998c8
Add test_is_connected to CircuitTerminationTestCase
2020-10-06 15:59:21 -04:00
Jeremy Stretch
534364a30f
Improve model docstrings
2020-10-06 15:48:52 -04:00
Jeremy Stretch
52ec35b94f
Correct serializer field lists
2020-10-06 15:27:40 -04:00
Jeremy Stretch
3870f5d246
Remove unused CablePathManager
2020-10-06 15:26:59 -04:00
Jeremy Stretch
23cde6d1b8
Include cable_peer on CableTermination serializers
2020-10-06 14:30:46 -04:00
Jeremy Stretch
c813ae4f04
Clean up power connection tables
2020-10-06 13:30:28 -04:00
Jeremy Stretch
d984dbd83b
Extend device view to show local cable termination for all components
2020-10-06 13:08:41 -04:00
Jeremy Stretch
d59f0891e4
Cache peer termination on CableTerminations
2020-10-06 12:10:12 -04:00
Jeremy Stretch
6275c8c67d
Prefetch path & destination for API views
2020-10-06 10:41:52 -04:00
Jeremy Stretch
ffdf5514ae
Tweak component templates
2020-10-06 10:37:59 -04:00
Jeremy Stretch
56ee425227
Introduce PathContains lookup to allow filtering against objects in path directly
2020-10-06 09:41:45 -04:00
Jeremy Stretch
19430ddeb5
Extend cable trace view to show related paths
2020-10-05 16:03:30 -04:00
Jeremy Stretch
d5d6b0e856
Optimize path prefetching
2020-10-05 14:47:21 -04:00
Jeremy Stretch
32b8148da1
Standardize path endpoint templates
2020-10-05 13:23:55 -04:00
Jeremy Stretch
50aecd02f4
Fix up connection lists (pending additional work)
2020-10-05 12:05:29 -04:00
Jeremy Stretch
b2066bc4b7
Merge schema migrations
2020-10-05 11:47:24 -04:00
Jeremy Stretch
32aa2daea6
PowerFeedSerializer should subclass ConnectedEndpointSerializer
2020-10-05 11:39:17 -04:00
Jeremy Stretch
b846f631a4
Rename connection_status to connected_endpoint_reachable
2020-10-05 11:32:39 -04:00
Jeremy Stretch
3d34f1cdcb
Rename CablePath.is_connected to is_active
2020-10-05 11:13:33 -04:00
Jeremy Stretch
df73737128
Remove legacy connection_status fields
2020-10-05 10:47:41 -04:00
Jeremy Stretch
079c42291c
Remove legacy connected endpoint fields
2020-10-05 09:56:46 -04:00
Jeremy Stretch
f8800b8303
Optimize console/power/interface connection lists
2020-10-02 21:44:16 -04:00
Jeremy Stretch
5737f6fca0
Cache each CablePath on its originating endpoint
2020-10-02 17:16:43 -04:00
Jeremy Stretch
8cb636bed2
Update console/power/interface connection tables
2020-10-02 15:10:49 -04:00
Jeremy Stretch
7ff247c57f
Add trace view for PowerFeed
2020-10-02 14:57:50 -04:00
Jeremy Stretch
e9da84f91a
Replace legacy trace() method
2020-10-02 14:54:16 -04:00
Jeremy Stretch
cd9c425d9a
Merge pull request #5208 from glennmatthews/gfm-issue-5197
...
5197: Limit main IPAddress view to a max of 10 duplicate addresses; add new duplicates view
2020-10-02 14:16:32 -04:00
Glenn Matthews
6612e0107e
Limit main IPAddress view to a max of 10 duplicate addresses. Fixes #5197
2020-10-02 14:01:51 -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
aa0d4c4145
Replace connection_status filter with is_connected
2020-10-02 12:25:31 -04:00
Jeremy Stretch
66355da04c
CablePath.origin should be unique
2020-10-02 11:51:23 -04:00
Jeremy Stretch
e0abd7ef3e
Remove dcim.tests.test_api.ConnectionTest
2020-10-02 11:45:42 -04:00
Jeremy Stretch
4fd1219814
Add tests for all PathEndpoint classes
2020-10-02 11:35:17 -04:00
Daniel Sheppard
1a43ef82d9
Fixes : #5201 - Fix bulk "all" operations on VLAN Groups
2020-10-02 09:59:16 -05:00
Jeremy Stretch
9f242216e6
Rename test elements to be more readable
2020-10-02 10:14:52 -04:00
Jeremy Stretch
9d10c57dc9
Remove legacy CablePathTestCase
2020-10-02 09:55:28 -04:00
Jeremy Stretch
d50a0d94be
Add tests for multiple pass-through breakouts
2020-10-02 09:54:12 -04:00
Jeremy Stretch
3b0a75edf8
Add test for updated paths on cable status change
2020-10-01 17:25:44 -04:00
Jeremy Stretch
0d07b0346b
Add test for connecting cables out of order
2020-10-01 16:53:13 -04:00
Jeremy Stretch
c974c5687c
Capture path end-to-end status in CablePath
2020-10-01 16:42:57 -04:00
Jeremy Stretch
610420c020
Drop support for split paths
2020-10-01 14:24:34 -04:00
Jeremy Stretch
cd398b15d8
retrace_paths should ignore case in model names
2020-10-01 13:10:08 -04:00
Jeremy Stretch
8abc05544c
CircuitTermination and PowerFeed are path endpoints
2020-10-01 13:05:00 -04:00
Jeremy Stretch
105c0fd3d2
Introduce retrace_paths management command
2020-10-01 12:18:42 -04:00
Jeremy Stretch
19a3a4d4ef
Add GenericRelation to originating cable paths on PathEndpoint
2020-10-01 11:30:03 -04:00
Daniel Sheppard
f2bc824a8e
Fixes : #5199 - Change default logging for LDAP to INFO
2020-10-01 09:27:17 -05:00
Daniel Sheppard
23a9cb2fad
Fixes : #5199 - Change default logging for LDAP to INFO
2020-10-01 09:25:56 -05:00
Jeremy Stretch
46df5a97b2
Remove extraneous test objects
2020-09-30 17:12:38 -04:00
Jeremy Stretch
e53ae1d584
Extend cable path tests
2020-09-30 17:10:22 -04:00
Jeremy Stretch
cd71799373
Ignore the position stack when traversing single-position rear ports
2020-09-30 17:09:39 -04:00
Jeremy Stretch
319329e2b2
Extend cable path tests
2020-09-30 16:17:22 -04:00
Jeremy Stretch
985197788b
Add initial tests
2020-09-30 15:15:27 -04:00
Jeremy Stretch
587e6fcf72
Initial work on cable paths (WIP)
2020-09-30 15:13:06 -04:00
Daniel Sheppard
ee7f43abe1
Fixes #4523 - Add site vlan to certain scenarios where sites are the same
2020-09-29 14:45:02 -05:00
kobayashi
5c8694ad65
Fixes #5184 : Fix missing Power Utilization
2020-09-27 16:33:47 -04:00
Jeremy Stretch
12e2537222
General cleanup of tables
2020-09-25 14:18:29 -04:00
Jeremy Stretch
28f0da0bc1
Introduce LinkedCountColumn to standardize approach to counting related items in tables
2020-09-25 12:42:17 -04:00
Jeremy Stretch
18a8a91d57
Introduce ChoiceFieldColumn to replace template columns
2020-09-25 10:52:14 -04:00
Jeremy Stretch
1b55285167
Relocate CSS classes for ChoiceFields from model to ChoiceSet
2020-09-24 16:35:53 -04:00
Jeremy Stretch
47fd9cab1c
Add tests for route targets; extend VRF tests
2020-09-24 13:51:17 -04:00
Jeremy Stretch
f684d07c61
Model import/export route targets on VRFs
2020-09-24 12:09:28 -04:00
Jeremy Stretch
dfb5a06d9d
Introduce the RouteTarget model
2020-09-24 11:25:52 -04:00
Jeremy Stretch
856500b014
Fixes #5174 : Ensure consistent alignment of rack elevations
2020-09-24 10:11:34 -04:00
Jeremy Stretch
380f59ac0b
Fixes #5175 : Fix toggling of rack elevation order
2020-09-24 10:01:02 -04:00
Jeremy Stretch
9b16d6df2e
Merge v2.9.4 release
2020-09-23 16:11:00 -04:00
Jeremy Stretch
d30874e0de
Post-release version bump
2020-09-23 15:39:36 -04:00
Jeremy Stretch
31fcad4dbb
Release v2.9.4
2020-09-23 15:24:59 -04:00
Jeremy Stretch
e2a840ff0b
Closes #5053 : Mention local_requirements.txt when an ImportError occurs
2020-09-23 15:19:42 -04:00
Jeremy Stretch
0a40418614
Fixes #5066 : Update view_reportresult to view_report permission
2020-09-23 13:40:15 -04:00
Jeremy Stretch
90dbe9bf60
Closes #5171 : Introduce the RQ_DEFAULT_TIMEOUT configuration parameter
2020-09-23 13:28:05 -04:00
Jeremy Stretch
09dc271eec
Fix reference to update_data
2020-09-23 12:20:45 -04:00
Jeremy Stretch
1f0a4cc548
Closes #5075 : Include a VLAN membership view for VM interfaces
2020-09-23 11:48:32 -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
e404f4efd2
Closes #5164 : Show total rack count per rack group under site view
2020-09-23 09:46:52 -04:00
Jeremy Stretch
116b20cb9f
Fix ImageAttachmentTestCase
2020-09-22 16:26:08 -04:00
Jeremy Stretch
afa1449f89
Fixes #5167 : Support filtering ObjectChanges by multiple users
2020-09-22 16:17:39 -04:00
Jeremy Stretch
0c3fafdfef
Closes #4897 : Allow filtering by content type identified as <app>.<model> string
2020-09-22 16:06:38 -04:00
Jeremy Stretch
38ed612cb9
Add test for API bulk updates
2020-09-22 13:50:55 -04:00
Jeremy Stretch
5677fab2f9
Support bulk operations for both PUT and PATCH
2020-09-22 11:55:46 -04:00
Jeremy Stretch
a998c826a8
Introduce BulkUpdateModelMixin; rename BulkDeleteSerializer
2020-09-22 11:50:43 -04:00
Jeremy Stretch
961a491ea4
Merge pull request #5163 from netbox-community/3436-api-bulk-delete
...
#3436 : Support for bulk deletion via REST API
2020-09-22 10:29:41 -04:00
Jeremy Stretch
c1b57af771
Monkey-patch DRF to treat bulk_destroy as a built-in operation
2020-09-22 10:06:13 -04:00
Jeremy Stretch
d44c2ba8fe
Merge branch 'develop-2.10' into 1503-secret-assignment
2020-09-22 09:24:03 -04:00
Jeremy Stretch
d540728f50
Closes #5149 : Add rack group field to device edit form
2020-09-21 15:26:32 -04:00
Jeremy Stretch
12402f4c30
Fixes #5156 : Add missing "add" button to rack reservations list
2020-09-21 15:14:44 -04:00
Jeremy Stretch
3a90366538
Fix filtering services by port number
2020-09-21 14:36:58 -04:00
Jeremy Stretch
b85990daa6
Fix return URL when editing a service
2020-09-21 13:34:39 -04:00
Jeremy Stretch
e77f1bdd85
Introduce array_to_string() utility function; add port_list property to Service
2020-09-21 13:31:38 -04:00
Jeremy Stretch
f97d8963f2
Initial work on #2179 : Allow a service to have multiple ports
2020-09-21 13:21:41 -04:00
Jeremy Stretch
c986321402
Fix "add secret" link for VMs
2020-09-21 10:54:04 -04:00
Jeremy Stretch
0b33c53f47
Update secrets API, views
2020-09-18 16:58:51 -04:00
Jeremy Stretch
b2a14d4654
Extend secret filters
2020-09-18 16:35:36 -04:00
Jeremy Stretch
64adbf8769
Fix migrations to ensure secret assigned_object is required
2020-09-18 16:00:21 -04:00
Jeremy Stretch
43f3e682c5
Support assignment of secrets to virtual machines
2020-09-18 15:39:41 -04:00
Jeremy Stretch
ec095e58b7
#1503 : Initial work on generic secret assignments (WIP)
2020-09-18 14:51:09 -04:00
Jeremy Stretch
0cc2a6b2cf
Closes #5003 : CSV import now accepts slug values for choice fields
2020-09-18 13:03:38 -04:00
Jeremy Stretch
584b076886
Closes #4956 : Include inventory items on primary device view
2020-09-18 11:35:15 -04:00
Jeremy Stretch
52dc80209c
Closes #1692 : Allow assigment of inventory items to parent items in web UI
2020-09-18 11:05:31 -04:00
Jeremy Stretch
230e7bbe34
Closes #1846 : Enable MPTT for InventoryItem hierarchy
2020-09-18 10:18:03 -04:00
Jeremy Stretch
0030fe1779
Fixes #5146 : Add custom fields support for cables, power panels, rack reservations, and virtual chassis
2020-09-17 14:22:14 -04:00
Jeremy Stretch
61cf903028
Clean up CustomField admin form
2020-09-17 12:43:08 -04:00
Jeremy Stretch
3d2f6c0703
Simplify form field for boolean CustomFields
2020-09-17 12:26:02 -04:00
Jeremy Stretch
4ecd3d23f7
Disable bulk deletion of CustomFields in admin UI
2020-09-17 12:14:02 -04:00
Jeremy Stretch
2d56a658b3
Clean up stale data when a custom field is changed/deleted
2020-09-16 17:03:31 -04:00
Jeremy Stretch
2bc524a2ee
Standardize usage of BooleanColumn
2020-09-16 14:25:07 -04:00
Jeremy Stretch
43f1fbf5b3
Fixes #5136 : Fix exception when bulk editing interface 802.1Q mode
2020-09-16 13:07:55 -04:00
Jeremy Stretch
e983f44fd3
Closes #5128 : Increase maximum rear port positions from 64 to 1024
2020-09-16 12:53:11 -04:00
Jeremy Stretch
4d9da4a1f8
Closes #5134 : Display full hierarchy in breadcrumbs for sites/racks
2020-09-16 12:44:49 -04:00
Jeremy Stretch
03b207d154
Fixes #5105 : Validation should fail when reassigning a primary IP from device to VM
2020-09-16 11:10:30 -04:00
Jeremy Stretch
a743102567
Fix serialization of custom_fields for change logging
2020-09-15 15:53:59 -04:00
Jeremy Stretch
eba2ea06ff
Add test for bulk API deletions
2020-09-15 14:36:38 -04:00
Jeremy Stretch
6694ec78bc
Implement support for bulk deletion of objects via a single REST API request
2020-09-15 13:36:36 -04:00
Jeremy Stretch
df6ad680ce
Closes #1755 : Toggle order in which rack elevations are displayed
2020-09-14 14:22:21 -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
c891f43b14
Fixes #5050 : Fix potential failure on 0016_replicate_interfaces schema migration from old release
2020-09-09 10:29:17 -04:00
Jeremy Stretch
695e9ec5d7
Fixes #5111 : Allow use of tuples when specifying ObjectVar query_params
2020-09-09 09:52:57 -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
0c8d45f679
Post-release version bump
2020-09-04 15:57:28 -04:00
Jeremy Stretch
5f9e687c9c
Release v2.9.3
2020-09-04 15:45:23 -04:00
Jeremy Stretch
f1877fcea9
Closes #5048 : Show the device/VM name when editing a component
2020-09-04 15:10:34 -04:00
Jeremy Stretch
78d104e60c
Fixes #5046 : Disabled plugin menu items are no longer clickable
2020-09-04 14:13:35 -04:00
Jeremy Stretch
83eede8bc5
Merge pull request #5071 from n0emis/redirect-when-logged-in
...
Redirect users away from /login, if they are already logged in
2020-09-04 13:53:51 -04:00
Jeremy Stretch
de081d0205
Fixes #5095 : Fix display of assigned prefixes in VLANs list
2020-09-03 11:28:25 -04:00
Simeon Keske
f92569d468
move redirect code to own function
2020-09-02 22:33:39 +02:00
Jeremy Stretch
bbbfc27593
Fixes #5072 : Add REST API filters for image attachments
2020-09-02 16:10:07 -04:00
Jeremy Stretch
d289b26034
Fixes #5089 : Redirect to device view after editing component
2020-09-02 13:45:15 -04:00
Jeremy Stretch
babdc1db38
Link to console/power ports in connection views
2020-09-02 13:33:59 -04:00
Jeremy Stretch
b559c827d2
Fixes #5091 : Avoid KeyError when handling invalid table preferences
2020-09-02 13:30:19 -04:00
Jeremy Stretch
268aa755c4
Closes #5080 : Add 8P6C, 8P4C, 8P2C port types
2020-09-02 10:21:22 -04:00
Jeremy Stretch
5d7935c855
Fixes #5090 : Fix status display for console/power/interface connections
2020-09-01 16:28:11 -04:00
Jeremy Stretch
6305a35a4f
Fixes #5085 : Fix ordering by assignment in IP addresses table
2020-09-01 15:18:47 -04:00
Jeremy Stretch
a0103036e4
Fixes #5087 : Restore label field when editing console server ports, power ports, and power outlets
2020-09-01 13:59:50 -04:00
Jeremy Stretch
7dbeaf7a01
Fixes #5078 : Fix assignment of existing IP addresses to interfaces via web UI
2020-09-01 10:19:28 -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
473d76c9d1
Fixes #5074 : Fix inclusion of VC member interfaces when viewing VC master
2020-08-31 15:34:40 -04:00
Jeremy Stretch
5bff50cade
Fixes #5063 : Fix "add device" link in rack elevations for opposite side of half-depth devices
2020-08-31 15:26:00 -04:00
Simeon Keske
bfcbd9da6c
Redirect users away from /login, if they are already logged in
2020-08-30 01:44:27 +02:00
Jeremy Stretch
2435c177f5
Post-release version bump
2020-08-27 14:15:09 -04:00
Jeremy Stretch
f3e4911c68
Release v2.9.2
2020-08-27 14:03:51 -04:00
Jeremy Stretch
e8e4ff4111
Closes #5056 : Add interface and parent columns to IP address list
2020-08-27 13:46:31 -04:00
Jeremy Stretch
523c32b8af
Fixes #5061 : Allow adding/removing tags when bulk editing virtual machine interfaces
2020-08-27 13:26:41 -04:00
Jeremy Stretch
5cdccb47f4
Fixes #5060 : Fix validation when bulk-importing child devices
2020-08-27 11:27:17 -04:00
Jeremy Stretch
fa73bf8e87
Closes #5505 : Add tags column to device/VM component list tables
2020-08-27 09:43:20 -04:00
Jeremy Stretch
5fe4e6cc96
Fixes #5058 : Correct URL for front rack elevation images when using external storage
2020-08-27 09:26:56 -04:00
Jeremy Stretch
f23900fc8c
Fixes #5059 : Fix inclusion of checkboxes for interfaces in virtual machine view
2020-08-27 09:22:53 -04:00
Jeremy Stretch
53e09a924c
Restore and rename CustomChoiceFieldInspector
2020-08-26 15:04:22 -04:00
Jeremy Stretch
bde25e69f8
Add CustomFieldsDataFieldInspector for OpenAPI spec
2020-08-26 14:36:45 -04:00
Jeremy Stretch
d2b7eb161c
Cache CustomField assignments for API queries
2020-08-25 16:44:59 -04:00
Jeremy Stretch
378c0ac259
Fix filtering by custom field value
2020-08-25 16:21:54 -04:00
Jeremy Stretch
a9086b0679
Fix import test
2020-08-25 15:31:01 -04:00
Jeremy Stretch
d0f1c733e7
Replace CustomFieldsSerializer with CustomFieldsDataField
2020-08-25 15:22:32 -04:00
Jeremy Stretch
0b7d019c02
Remove unused CustomChoiceFieldInspector
2020-08-25 15:16:20 -04:00
Jeremy Stretch
5b3de8defe
Use DjangoJSONEncoder for encoding custom field data
2020-08-25 13:57:18 -04:00
Jeremy Stretch
fb8904af54
Remove unused attributes, methods
2020-08-25 13:49:23 -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
236db7d42d
Merge pull request #5039 from innovationnorway/5002-available-prefixes-swagger
...
Use correct serializer for available-prefixes POST response
2020-08-24 15:09:58 -04:00
Jeremy Stretch
c85a45e520
Further work on custom fields
2020-08-24 14:11:13 -04:00
Jeremy Stretch
5da7590eea
Fixes #4988 : Fix ordering of rack reservations with identical creation times
2020-08-24 12:04:48 -04:00
Jeremy Stretch
df97eb2f72
Fixes #5045 : Allow assignment of interfaces to non-master VC peer LAG during import
2020-08-24 11:33:45 -04:00
Jeremy Stretch
32a0e519ad
Fixes #5041 : Fix form tabs when assigning an IP to a VM interface
2020-08-24 10:56:23 -04:00
Jeremy Stretch
78d6561e39
Fixes #5040 : Limit SLAAC status to IPv6 addresses
2020-08-24 10:51:47 -04:00
Jeremy Stretch
9147823305
Fixes #5042 : Fix display of SLAAC label for IP addresses status
2020-08-24 10:47:26 -04:00
Jeremy Stretch
e7cf87be97
Fixes #5035 : Fix exception when modifying an IP address assigned to a VM
2020-08-24 10:39:41 -04:00
Jeremy Stretch
6e28490b84
Fixes #5038 : Fix validation of primary IPs assigned to virtual machines
2020-08-24 09:41:04 -04:00
Joakim Bakke Hellum
fcc15d2e33
Use correct serializer for available-prefixes POST response
...
POST `/ipam/prefixes/{id}/available-prefixes/` returns single `Prefix` object, not list of `AvailablePrefix` objects.
2020-08-23 20:49:50 +02:00
Jeremy Stretch
3522eafd2c
Post-release version bump
2020-08-22 21:06:06 -04:00
Jeremy Stretch
35a280eb31
Release v2.9.1
2020-08-22 21:03:51 -04:00
Jeremy Stretch
728088f5fa
Closes #5033 : Support backward compatibility for REMOTE_AUTH_BACKEND
2020-08-22 20:39:46 -04:00
Jeremy Stretch
2276603ac3
Drop CustomFieldValue
2020-08-21 16:21:11 -04:00
Jeremy Stretch
879166d939
Initial work on reimplementing custom fields
2020-08-21 15:16:33 -04:00
Jeremy Stretch
f37997ac54
Closes #4814 : Allow nested LAG interfaces
2020-08-21 13:35:03 -04:00
Jeremy Stretch
ed65603632
Closes #4540 : Add IP address status type for SLAAC
2020-08-21 13:17:41 -04:00
Jeremy Stretch
802af06c0f
Closes #4991 : Add Python and NetBox versions to error page
2020-08-21 12:58:48 -04:00
Jeremy Stretch
ec66e1a5c0
Closes #4349 : Drop support for embedded graphs
2020-08-21 11:57:46 -04:00
Jeremy Stretch
ee34e28986
Drop backward compatibility for REMOTE_AUTH_DEFAULT_PERMISSIONS defined as a list
2020-08-21 11:18:57 -04:00
Jeremy Stretch
d1071b79e3
Closes #4360 : Drop support for the Django template language in export templates
2020-08-21 11:16:30 -04:00
Jeremy Stretch
2339fe22ae
Closes #4941 : commit argument is now required argument in a custom script's run() method
2020-08-21 11:06:36 -04:00
Jeremy Stretch
e02590ac96
Post-release version bump
2020-08-21 09:56:29 -04:00
Jeremy Stretch
23aae52992
Merge branch 'develop' into develop-2.9
2020-08-21 09:21:18 -04:00
Jeremy Stretch
8f88d2afab
Closes #5024 : List available options for choice fields within CSV import forms
2020-08-20 15:44:30 -04:00
Jeremy Stretch
8d351178ac
Fixes #5022 : Fix exception when editing IP address with NAT inside IP assigned
2020-08-20 14:38:58 -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
bf4fee1592
Fixes #5020 : Correct handling of dependent objects during bulk deletion
2020-08-20 09:44:45 -04:00
Jeremy Stretch
e1cf27a3ac
Refactor DCIM models into separate submodules
2020-08-19 16:37:23 -04:00
Jeremy Stretch
db5bb8e5bb
Fix changelog tests
2020-08-19 16:02:10 -04:00
Jeremy Stretch
3ebef04a11
Closes #5016 : assertHttpStatus() should report form validation errors
2020-08-18 17:02:47 -04:00
Jeremy Stretch
0d9fc309d5
Update test script ObjectVars
2020-08-18 14:43:21 -04:00
Jeremy Stretch
c9c79dabef
Fixes #5004 : Permit assignment of an interface to a LAG on any peer virtual chassis member
2020-08-18 14:41:47 -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
c482dcd8cb
Dump full response content on unexpected status code
2020-08-18 10:41:28 -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
ff5a3c1055
Cache custom fields on instance during bulk edit
2020-08-17 12:29:40 -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
kobayashi
34708a8fa5
Fixes #4989 : Fix no vm count for cluster in global search
2020-08-17 10:59:01 -04:00
Jeremy Stretch
4ee8e473eb
Move ObjectChange creation into signal receivers
2020-08-14 17:03:45 -04:00
Jeremy Stretch
b4299241fe
Cast all query param values to string
2020-08-14 11:38:15 -04:00
Jeremy Stretch
66c91484f5
Clean up display_name for various models
2020-08-14 10:20:34 -04:00
Jeremy Stretch
808d621eda
VC member selection should use display_name
2020-08-14 10:09:54 -04:00
Jeremy Stretch
943c2230ba
Bump version for upcoming v2.9 release
2020-08-13 13:12:09 -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
a08418bff8
Closes #4996 : Add "connect" buttons to individual device component views
2020-08-13 11:14:33 -04:00
Jeremy Stretch
bdc4189812
Fixes #4995 : Fix missing buttons to add console/power ports under device view
2020-08-13 10:53:34 -04:00
Jeremy Stretch
e252de319e
Add region field to device form
2020-08-13 10:45:01 -04:00
Jeremy Stretch
0e91d837a0
Allow selecting NAT IP address by assigned virtual machine
2020-08-13 10:42:19 -04:00
Jeremy Stretch
71c2e235a8
Use display_name in VRF selection widgets
2020-08-13 10:32:57 -04:00
Jeremy Stretch
ed0e212ce0
Closes #4994 : Add cable attribute to PowerFeed API serializer
2020-08-13 10:30:28 -04:00
Jeremy Stretch
b405e8294b
Merge branch 'develop' into develop-2.9
2020-08-13 10:20:39 -04:00
Jeremy Stretch
a7cd09d6d4
Fixes #4993 : Add cable to nested CircuitTermination serializer
2020-08-13 10:19:50 -04:00
Jeremy Stretch
bc61393256
Merge branch 'develop' into develop-2.9
2020-08-13 10:06:03 -04:00
Jeremy Stretch
acd5f21866
Fixes #4992 : Add display_name to nested VRF serializer
2020-08-13 09:56:03 -04:00
Jeremy Stretch
6d8cb6dac3
Merge pull request #4978 from netbox-community/4922-optimize-interface-replication
...
Closes #4922 : Optimize schema migration for VM interface replication
2020-08-13 09:34:24 -04:00
Jeremy Stretch
53f9f82317
Set display_field where needed
2020-08-13 09:27:21 -04:00
Jeremy Stretch
fe1ffdcbb7
Extend ObjectVars to accept display_field, query_params, and null_option
2020-08-12 14:51:58 -04:00
Jeremy Stretch
b891b407d4
Add brief_mode to DynamicModelChoiceMixin
2020-08-12 14:15:34 -04:00
Jeremy Stretch
5372492785
Clean up Select2 widget Javascript
2020-08-12 14:03:58 -04:00
Jeremy Stretch
c40df97ffa
Rename add_additional_query_param()
2020-08-12 13:59:11 -04:00
Jeremy Stretch
9e14e28d89
Remove unused arguments from APISelect widget
2020-08-12 13:57:34 -04:00
Jeremy Stretch
e9e77fc689
Add disabled_indicator to DynamicModelChoiceMixin
2020-08-12 13:30:49 -04:00
Jeremy Stretch
779686425a
Use brief mode when fetching cable termination objects
2020-08-12 13:20:30 -04:00
Jeremy Stretch
09849391e3
Remove filter_for argument from Select2 widgets
2020-08-12 13:03:59 -04:00
Jeremy Stretch
c45a57ff43
Update cable termination forms to use DynamicModelChoiceField
2020-08-12 12:58:32 -04:00
Jeremy Stretch
100c8fef20
Add support for referencing peer field values in query_params
2020-08-12 12:37:17 -04:00
Jeremy Stretch
d752c36ea8
Fix virtual chassis member add form
2020-08-12 10:17:21 -04:00
Jeremy Stretch
d8d752b623
Fix form for adding devices to a cluster
2020-08-12 10:14:21 -04:00
Jeremy Stretch
b917403c93
Replace 'nullable' attribute with null_option
2020-08-12 10:05:12 -04:00
Jeremy Stretch
8a8b4e728a
Move null_option to DynamicModelChoiceMixin
2020-08-12 09:47:13 -04:00
Jeremy Stretch
f3fb85933f
Add query_params attribute to DynamicModelChoiceMixin
2020-08-12 09:28:24 -04:00
Jeremy Stretch
a831e525da
Remove value_field from APISelect; reference to_field_name on field
2020-08-11 17:19:40 -04:00
Jeremy Stretch
fdc43f8279
Add display_field kwarg to DynamicModelChoiceMixin
2020-08-11 17:00:28 -04:00
Jeremy Stretch
2c64d45c69
Drop support for conditional_query_params on APISelect
2020-08-11 16:23:36 -04:00
Jeremy Stretch
5b438c3f30
Refactor utility form resources into separate modules
2020-08-11 15:14:06 -04:00
Jeremy Stretch
3c395e7c9f
Closes #4885 : Add MultiChoiceVar for custom scripts
2020-08-11 13:23:39 -04:00
Jeremy Stretch
eadd2d6854
Remove obsolete livesearch Javascript
2020-08-11 12:56:27 -04:00
Jeremy Stretch
c163ec1e8d
Clean up custom script templates
2020-08-10 16:27:24 -04:00
Jeremy Stretch
93da6b6edf
#2006 : Clean up report views
2020-08-10 15:56:55 -04:00
Jeremy Stretch
d7e2acd0ad
Optimize schema migration for VM interface replication
2020-08-10 13:53:28 -04:00
Jeremy Stretch
e6bc55af85
#4969 : Remove user and group assignment from SecretRole
2020-08-07 16:19:18 -04:00
Jeremy Stretch
aca3ca9d65
Simplify the aggregation of constraint sets
2020-08-07 14:09:55 -04:00
Jeremy Stretch
1dfed14bc9
Fixes #4968 : Fix exception when activating user keys in admin UI
2020-08-07 12:06:53 -04:00
Jeremy Stretch
09015c98c4
Fixes #4903 : Fix member count when searching for virtual chassis
2020-08-07 08:54:02 -04:00
Jeremy Stretch
4a516103a6
Extend ObjectPermission constraints to OR multiple JSON objects
2020-08-06 15:53:23 -04:00
Jeremy Stretch
b1ec332a56
Fixes #4951 : Redirect to device inventory view after creting a new inventory item
2020-08-06 13:20:12 -04:00
Jeremy Stretch
0f397fa410
Replicate 'max length' field in PrefixFilterForm for consistency
2020-08-06 09:20:20 -04:00
Jeremy Stretch
c36d8b2256
Fix default display of child count in prefix tables
2020-08-06 09:14:20 -04:00
Jeremy Stretch
d384f25ec2
Replace expand/collpase with max mask length for prefixes list
2020-08-05 16:48:45 -04:00
Jeremy Stretch
e8df9be702
Add LTE and GTE filters for prefix mask length
2020-08-05 16:16:51 -04:00
Jeremy Stretch
0d68d0c059
Replace annotate_depth() with annotate_tree()
2020-08-05 15:55:47 -04:00
Jeremy Stretch
42ebf0a546
Closes #4945 : Add a user-friendly 403 error page
2020-08-05 10:40:45 -04:00
Jeremy Stretch
e6df6dc7f4
Fixes #4950 : Include inventory item label in API serializer, UI view
2020-08-05 10:11:38 -04:00
Jeremy Stretch
bd24eebbf2
Fixes #4952 : Default to VM tab when creating/editing an IP address for a VM
2020-08-05 09:29:29 -04:00
Jeremy Stretch
65b42c93b0
Merge branch 'develop' into develop-2.9
2020-08-05 09:15:10 -04:00
Jeremy Stretch
9c3b67048a
Post-release version bump
2020-08-04 12:41:29 -04:00
Jeremy Stretch
22c482bdc3
Release v2.8.9
2020-08-04 12:31:38 -04:00
Jeremy Stretch
26e37c1da6
Fixes #4455 : Fix ordering of prefixes beneath aggregate when available space is hidden
2020-08-04 12:09:10 -04:00
Jeremy Stretch
053c600b67
Closes #4943 : Add a 'description' field to ObjectPermission
2020-08-03 16:37:37 -04:00
Jeremy Stretch
ce2dada9fd
Closes #4942 : Make ObjectPermission's 'name' field required
2020-08-03 16:10:51 -04:00
Jeremy Stretch
ccb2bf4344
Exclude permission, userconfig inlines when creating a new user
2020-08-03 14:16:21 -04:00
Jeremy Stretch
8517434733
Add notes to admin UI encouraging Jinja2 over legacy Django templating
2020-08-03 14:09:32 -04:00
Jeremy Stretch
b410674f9e
Log a warning for scripts whose run() method does not accept a commit argument
2020-08-03 13:56:10 -04:00
Jeremy Stretch
31e65a09e8
Closes #4940 : Added an occupied field to rack unit representations for rack elevation views
2020-08-03 13:37:32 -04:00
Jeremy Stretch
cdfec4d865
Fixes #4939 : Fix linking to LAG interfaces on other VC members
2020-08-03 12:57:04 -04:00
Jeremy Stretch
af98e349e9
Fixes #4938 : Show add, import buttons on virtual chassis list view
2020-08-03 12:52:00 -04:00
Jeremy Stretch
7b45d06631
Fixes #4931 : Fix DoesNotExist exception when deleting devices
2020-07-30 10:08:36 -04:00
Jeremy Stretch
cea6c98f54
Fixes #4930 : Replicate label values when instantiating device type components
2020-07-30 10:05:29 -04:00
Jeremy Stretch
76c2fd3414
Fixes #4926 : Fix ordering of VM interfaces in REST API endpoint
2020-07-30 09:10:06 -04:00
Jeremy Stretch
712e850951
Fixes #4927 : Fix validation error when updating an existing secret
2020-07-30 08:57:45 -04:00
Jeremy Stretch
24cedab04b
Fixes #4929 : Correct log message when creating a new object
2020-07-30 08:51:01 -04:00
Jeremy Stretch
55ee3db5bc
#4919 : Allow adding/changing assigned permissions within group and user admin views
2020-07-29 12:12:00 -04:00
Jeremy Stretch
73f9d615bc
Fixes #4921 : Render non-viewable devices as unavailable space in rack elevations
2020-07-29 09:43:13 -04:00
Jeremy Stretch
2dd494bc42
Closes #4913 : Upgrade jQuery to v3.5.1
2020-07-28 14:25:05 -04:00
Jeremy Stretch
d1a505d07f
Fixes #4914 : Fix toggling cable status under device view
2020-07-28 12:54:21 -04:00
Jeremy Stretch
a206b422fb
Fixes #4912 : Fix image attachment API endpoint; add API view tests
2020-07-27 14:24:15 -04:00
Jeremy Stretch
b17e47101c
Fixes #4905 : Fix front port count on device type view
2020-07-27 10:19:24 -04:00
Jeremy Stretch
9e1edd55d6
Closes #4898 : Add MAC address search field to interfaces list
2020-07-24 16:46:29 -04:00
Jeremy Stretch
61ce8d1cb0
Closes #4899 : Add MAC address column to interfaces table
2020-07-24 16:43:30 -04:00
Jeremy Stretch
cb570790e6
Fixes #4895 : Force UTF-8 encoding when embedding model documentation
2020-07-24 09:26:20 -04:00
Jeremy Stretch
bb4f21d5ee
Fixes #4894 : Fix display of device/VM counts on platforms list
2020-07-24 09:16:14 -04:00
Jeremy Stretch
fe20c30a81
Fix parameters for ObjectChangeTestCase
2020-07-23 14:57:35 -04:00
Jeremy Stretch
7eb688bdcd
Release v2.9-beta1
2020-07-23 14:46:06 -04:00
Jeremy Stretch
22ee6703ad
Merge branch 'develop' into develop-2.9
2020-07-23 14:35:34 -04:00
Jeremy Stretch
b734c72be7
Fix VirtualChassis search by name
2020-07-23 14:32:30 -04:00
Jeremy Stretch
9bcfefa31e
Fix ordering for Tags
2020-07-23 14:28:22 -04:00
Jeremy Stretch
37706f1c87
Use RestrictedQuerySet for default Tag manager
2020-07-23 14:20:56 -04:00
Jeremy Stretch
78bb2e12fe
Clean up migration output
2020-07-23 14:03:19 -04:00
Jeremy Stretch
84d4b2db77
Clean up resolution of HTTP verbs to permission actions
2020-07-23 13:53:36 -04:00
Jeremy Stretch
b47a9f251d
Change ObjectChangeFilterForm user field to be API-driven
2020-07-23 13:47:19 -04:00
Jeremy Stretch
46ebeba28f
Set default ordering for user and group API endpoints
2020-07-23 13:46:40 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Josh VanDeraa
b69d2f1367
Merge remote-tracking branch 'upstream/develop' into napalm_lookup_hostname
2020-07-23 09:33:40 -05:00
Josh VanDeraa
3fd3c7a383
Removes IP address check for NAPALM in HTML
2020-07-23 09:24:02 -05:00
kobayashi
a12d94a3bc
Fixes #4880 : Fix remove untagged-vlans if not assigned in bulk interfaces edit
2020-07-23 01:36:31 -04:00
Jeremy Stretch
d23f97abc8
Merge branch 'develop' into develop-2.9
2020-07-22 17:11:35 -04:00
Jeremy Stretch
9f4c1e64ce
Refactor clone_button() to avoid undefined URL
2020-07-22 17:06:08 -04:00
Jeremy Stretch
0991a8edaa
Fixes #4876 : Fix labels for sites in staging or decommissioning status
2020-07-22 16:43:25 -04:00
Jeremy Stretch
380d30e612
Add filters for ObjectPermissions
2020-07-22 16:34:16 -04:00
Jeremy Stretch
4f54ffa9aa
Admin UI cleanup
2020-07-22 16:00:28 -04:00
Jeremy Stretch
7cdb0cf560
Allow the assignment of ObjectPermissions to users, groups, and permissions
2020-07-22 15:25:06 -04:00
Jeremy Stretch
79f1248119
Add filter tests for group, users
2020-07-22 13:58:12 -04:00
Jeremy Stretch
2cc4f032b0
Correct FilterSet naming
2020-07-22 13:48:04 -04:00
Jeremy Stretch
64a3bd37e7
Move EXEMPT_EXCLUDE_MODELS to settings; add Group and User models
2020-07-22 12:13:07 -04:00
Jeremy Stretch
b4cf85149b
Add tests for users and groups API endpoints
2020-07-22 12:04:14 -04:00
Jeremy Stretch
788f8c9a1c
Add view_namespace attrbiute to APITestCase to override model's app_label
2020-07-22 11:51:10 -04:00
Jeremy Stretch
e9199d6ca5
Look for auth model serializers in users app
2020-07-22 11:50:20 -04:00
Jeremy Stretch
1ac215bf87
Introduce API endpoints for Users and Groups
2020-07-22 11:21:51 -04:00
Jeremy Stretch
3e6b257fa0
Exclude ObjectPermissions API endpoint from EXEMPT_VIEW_PERMISSIONS
2020-07-21 17:39:56 -04:00
Jeremy Stretch
1714902f88
Merge branch 'develop' into develop-2.9
2020-07-21 12:57:02 -04:00
Jeremy Stretch
357bf671ad
Post-release version bump
2020-07-21 12:16:04 -04:00
Jeremy Stretch
183d475dc8
Release v2.8.8
2020-07-21 12:12:22 -04:00
Jeremy Stretch
136d3118d2
Fixes #4872 : Enable filtering virtual machine interfaces by tag
2020-07-21 09:41:00 -04:00
Jeremy Stretch
c6fd6ab329
Remove cacheops monkey patch for RestrictedQuerySet
2020-07-20 16:54:24 -04:00
Jeremy Stretch
08a5e82afc
Merge pull request #4852 from glennmatthews/gfm-2006-continued
...
Some additional fixes to scripts/reports background running (2.9)
2020-07-20 13:10:56 -04:00
Jeremy Stretch
8514a5427c
Update related object counts to use dunders in accessor
2020-07-20 13:00:33 -04:00
Jeremy Stretch
0f679e1f03
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
Jeremy Stretch
39dc1f882a
Merge branch 'develop-2.9' into django-31
2020-07-20 11:15:01 -04:00
Jeremy Stretch
ba50bfa939
Address some of the django_tables2 deprecation warnings
2020-07-16 16:52:45 -04:00
Jeremy Stretch
9d243103f4
Fixes #4595 : Ensure consistent display of non-racked and child devices on rack view
2020-07-16 15:45:27 -04:00
Jeremy Stretch
16f44305e4
Update static dependencies
2020-07-16 15:22:31 -04:00
Jeremy Stretch
1dbf776279
Fix handling of ProtectedError exceptions
2020-07-16 13:45:02 -04:00
Jeremy Stretch
82cd24a7de
Remove deprecated ifequal template tags
2020-07-16 13:01:31 -04:00
Jeremy Stretch
21a750e8ec
Change Postgres-specific JSONField to stock Django field
2020-07-16 12:02:49 -04:00
Jeremy Stretch
68ecddccdb
Convert NullBooleanField to BooleanField(null=True)
2020-07-16 11:56:35 -04:00
Jeremy Stretch
8dd41b771e
Update import locations for Django 3.1
2020-07-16 11:54:08 -04:00
Jeremy Stretch
19d0d6ff10
Closes #4857 : Drop support for legacy numeric choice field values
2020-07-15 16:54:33 -04:00
Jeremy Stretch
7461e76606
Fix regex for Python 3.7
2020-07-15 16:19:30 -04:00
Glenn Matthews
d8b0a11a49
Save JobResult even for a script run with commit=False
2020-07-15 12:58:01 -04:00
Jeremy Stretch
1f9a440598
Fixes #4856 : Redirect user back to circuit after connecting a termination
2020-07-15 10:09:31 -04:00
Jeremy Stretch
1d0b27c99e
Fixes #4851 : Show locally connected peer on circuit terminations
2020-07-15 10:01:01 -04:00
Jeremy Stretch
48576919b2
Closes #4854 : Add staging and decommissioning statuses for sites
2020-07-15 09:35:46 -04:00
Jeremy Stretch
a7776d2f53
Merge pull request #4849 from glennmatthews/gfm-issue-4803
...
#4803 : Family of nested address/prefix/aggregate serializes as integer, not as string
2020-07-15 09:13:12 -04:00
Jeremy Stretch
85254eb8b5
Merge pull request #4850 from glennmatthews/gfm-issue-3240
...
#3240 : Use correct serializer class for available-prefixes POST
2020-07-15 09:10:23 -04:00
Jeremy Stretch
9078cb29cc
Merge pull request #4813 from glennmatthews/gfm-issue-4805
...
Don't ignore ImportErrors raised when loading a plugin. Fixes #4805
2020-07-15 09:05:42 -04:00
Glenn Matthews
0fd3c83861
Refactor repeated import code
2020-07-14 17:15:17 -04:00
Jeremy Stretch
1291fc4187
Add missing changelog view tests
2020-07-14 16:31:55 -04:00
Jeremy Stretch
04d8ab3792
Clean up device component creation forms
2020-07-14 15:51:13 -04:00
Jeremy Stretch
cf0e31ac0f
Introduce BulkRenameObjectsViewTestCase
2020-07-14 13:19:00 -04:00
Jeremy Stretch
4458ce69df
Enforce constrained permissions when bulk renaming objects
2020-07-14 13:18:22 -04:00
Jeremy Stretch
81ed03575d
Rename BulkCreateObjectsViewTestCase to CreateMultipleObjectsViewTestCase
2020-07-14 11:08:59 -04:00
Glenn Matthews
49c6bee6d7
Fix jobresult success label spelling
2020-07-14 09:45:36 -04:00
Jeremy Stretch
d47ea04ec4
Add "add interfaces" button to virtual machine view
2020-07-13 16:59:46 -04:00
Jeremy Stretch
d5a5a4a8d1
Skip report/script execution tests if RQ worker is not running
2020-07-13 16:48:44 -04:00
Glenn Matthews
087ad30d3c
Use correct serializer class for available-prefixes POST. Fixes #3240
2020-07-13 16:26:05 -04:00
Jeremy Stretch
9f7ed25e74
Add assigned IP addresses and VLANs to interface tables
2020-07-13 16:18:17 -04:00
Jeremy Stretch
013a2a35e0
Add cluster and virtual machine filters to VM interfaces list
2020-07-13 15:43:54 -04:00
Jeremy Stretch
9cece39ee9
Remove incorrect bulk edit test data
2020-07-13 15:26:06 -04:00
Jeremy Stretch
05aa008ce1
#2006 : Prevent script/report execution if no RQ worker is running
2020-07-13 15:11:58 -04:00
Glenn Matthews
9c1dd159de
Address/prefix/aggregate family is an integer, not a string. Fixes #4803
2020-07-13 14:50:58 -04:00
Jeremy Stretch
df20abf283
Merge pull request #4844 from jvanderaa/napalm_lookup_hostname
...
Adds name lookup to NAPALM if no primary IP address exists for device
2020-07-13 13:32:32 -04:00
Jeremy Stretch
96c539c0ee
Merge pull request #4830 from mandrewdx/L15P_Ports
...
Add NEMA 15/L15 Power Types
2020-07-13 13:29:09 -04:00
Jeremy Stretch
e53839ca2a
Add progress counter to VM interface replication migration
2020-07-13 13:13:37 -04:00
Josh VanDeraa
ba8b99d3b8
Moves location of the IP address / hostname check and assignment
2020-07-13 08:36:15 -05:00
Josh VanDeraa
cac48924ae
Adds verification of device.name configured
2020-07-10 16:18:58 -05:00
Josh VanDeraa
7788bf3ce3
Adds to NAPALM, name lookup if no primary IP address for device
2020-07-10 15:12:25 -05:00
Jeremy Stretch
fa9ffb23ad
Fixes #4838 : Fix rack power utilization display for racks without devices
2020-07-10 15:59:27 -04:00
Jeremy Stretch
a260019a7f
#4843 : Use subqueries when counting multiple types of related objects
2020-07-10 15:38:54 -04:00
Jeremy Stretch
96b3de7916
Remove extraneous queryset filter
2020-07-10 10:27:07 -04:00
Jeremy Stretch
b1686c2db9
Fix bulk editing, deletion of VM interfaces
2020-07-10 10:26:43 -04:00
Jeremy Stretch
c8418fe550
Fix RestrictedQuerySet evaluation for VLAN CSV export
2020-07-10 10:09:51 -04:00
Jeremy Stretch
9f025747a7
Tweak queryset for Service views to prefetch related IPs with unrestricted()
2020-07-10 09:56:23 -04:00
Jeremy Stretch
59091efa86
Closes #4840 : Enable change logging for config contexts
2020-07-09 17:09:03 -04:00
Jeremy Stretch
8d7001fe56
Move abstract ChangeLoggedModel under extras
2020-07-09 17:07:25 -04:00
Jeremy Stretch
c3a7939a77
Merge branch 'develop' into develop-2.9
2020-07-09 16:38:37 -04:00
Jeremy Stretch
683ba5eed3
#4835 : Cleanup and improved error handling
2020-07-09 16:35:02 -04:00
Jeremy Stretch
4f00b5af4a
Miscellaneous RestrictedQuerySet cleanup
2020-07-09 15:11:18 -04:00
Jeremy Stretch
26e81546eb
Fix REST API version calculation
2020-07-09 13:08:13 -04:00
Jeremy Stretch
1692fbf5d8
#4837 : Fix API tests
2020-07-09 12:06:13 -04:00
Jeremy Stretch
15525392a2
Closes #4837 : Use dynamic form widget for relationships to MPTT objects
2020-07-09 09:50:01 -04:00
Jeremy Stretch
b535608519
Refactor imports
2020-07-09 09:13:58 -04:00
Jeremy Stretch
0a44ed1355
Fix permissions evaluation for session-authenticated API requests
2020-07-08 17:51:25 -04:00
Sander Steffann
d70140f148
Fix typo in format string
2020-07-08 22:20:20 +02:00
Jeremy Stretch
ccdbf820ba
Use monospaced font for ObjectPermission constraints
2020-07-08 16:07:07 -04:00
Jeremy Stretch
56c0b48302
Enable filtering ObjectPermissions by enabled, action, and object type
2020-07-08 14:38:19 -04:00
Jeremy Stretch
4c2fdf3b1c
Admin UI should use unrestricted queryset for ObjectPermissions
2020-07-08 13:59:57 -04:00
Jeremy Stretch
4eddec4b1e
#4806 : Add url field to ObjectPermissionSerializer
2020-07-08 13:57:50 -04:00
Jeremy Stretch
39248f9e2f
Enable bulk enabling/disabling of permissions
2020-07-08 13:54:09 -04:00
Jeremy Stretch
fac0da224a
Add name, enabled fields to ObjectPermission
2020-07-08 13:44:19 -04:00
Jeremy Stretch
6e50ed084d
Fix tags display
2020-07-08 13:10:40 -04:00
Jeremy Stretch
bf7bd68b6a
Fix tag population for object cloning
2020-07-08 13:07:53 -04:00
Jeremy Stretch
5fd5dbab7b
Merge branch 'develop' into develop-2.9
2020-07-08 13:04:57 -04:00
Jeremy Stretch
fec3ee6f08
Closes #4835 : Support passing multiple initial values for multiple choice fields
2020-07-08 12:50:12 -04:00
Jeremy Stretch
85b284be54
Fix permissions evaluation for available IPs endpoint
2020-07-08 09:31:10 -04:00
Jeremy Stretch
02a6e2190f
Monkey-patch cacheops' _pre_save() receiver to tweak sender's QuerySet
2020-07-07 17:09:41 -04:00
Jeremy Stretch
847fbfd71a
Fix unrestricted querysets
2020-07-07 16:46:57 -04:00
Jeremy Stretch
327a93136a
TreeManager should provide an unrestricted QuerySet for MPTT use
2020-07-07 16:09:47 -04:00
Jeremy Stretch
353d88f0a6
Use unrestricted querysets for prefetching related objects
2020-07-07 15:45:46 -04:00
Jeremy Stretch
25e1319864
Update filter tests to use unrestricted querysets
2020-07-07 14:26:14 -04:00
Jeremy Stretch
88033c0801
Fix queryset for get_peer_termination()
2020-07-07 14:13:58 -04:00
Andrew Martin
5700ade1a1
Add NEMA 15/L15 Power Types
...
Reference - https://www.stayonline.com/product-resources/
2020-07-07 11:12:32 -07:00
Jeremy Stretch
f6d05f3906
Tweak ObjectChange queryset for cleanup
2020-07-07 13:54:49 -04:00
Jeremy Stretch
2fbe138c71
Refactor APITestCase to provide dynamic queryset specification
2020-07-07 13:13:19 -04:00
Jeremy Stretch
a2d957ba0d
Use stock manager as default for Tag model
2020-07-07 12:18:14 -04:00
Glenn Matthews
f807d3a024
Don't ignore ImportErrors raised when loading a plugin. Fixes #4805
2020-07-07 09:14:33 -04:00
Jeremy Stretch
15f5719f44
Remove unused class IPAddressInterfaceSerializer
2020-07-06 16:51:23 -04:00
Jeremy Stretch
924f319343
Closes #4806 : Add a url field to all API serializers
2020-07-06 16:41:08 -04:00
Jeremy Stretch
592ad18317
Provide a default view for Report instances
2020-07-06 13:30:13 -04:00
Jeremy Stretch
1f905e72d9
Fix stray reference to LOG_LEVEL_CODES
2020-07-06 11:51:28 -04:00
Jeremy Stretch
e02936a44a
Fix reports API test case
2020-07-06 11:15:20 -04:00
Jeremy Stretch
4ea4112490
Fix up schema migration; PEP8 cleanup
2020-07-06 10:44:36 -04:00
Jeremy Stretch
20ee8ec107
Closes #4821 : Restrict group options by selected site when bulk editing VLANs
2020-07-06 10:04:08 -04:00
John Anderson
6547a2bc50
merge conflict
2020-07-06 02:10:52 -04:00
John Anderson
4a74927fa2
Merge branch 'develop-2.9' into 2006-scripts-reports-background
2020-07-06 02:06:53 -04:00
John Anderson
41f92ef8e6
review updates
2020-07-06 02:00:16 -04:00
John Anderson
f092c107b5
PR review updates
2020-07-06 02:00:16 -04:00
Jeremy Stretch
f4c14d4854
Replace get_component_template_actions() with ButtonsColumn
2020-07-02 16:47:28 -04:00
Jeremy Stretch
1ed152cd49
Fix unrestricted queries for Tags
2020-07-02 16:25:13 -04:00
Jeremy Stretch
e635dc1fb3
Arrange device components within tabs
2020-07-02 15:10:56 -04:00
Jeremy Stretch
7b33fac71d
Display component templates under tabs
2020-07-02 14:35:36 -04:00
Jeremy Stretch
a1e5a8b86a
Introduce badge template tag
2020-07-02 14:29:23 -04:00
Jeremy Stretch
92c889ef9e
#4416 : Provide bulk rename ability for device component templates
2020-07-02 13:58:53 -04:00
Jeremy Stretch
eb2da300b0
Fix form initialization for interface import
2020-07-02 13:27:54 -04:00
Jeremy Stretch
6abb7e8f4d
#4721 : Tweak migrations to ensure Interface.device cannot be null
2020-07-02 13:12:37 -04:00
Jeremy Stretch
1f9cdc71d4
Move device and device_type ForeignKeys to abstract component models
2020-07-02 13:07:32 -04:00
Jeremy Stretch
d03d302eef
Closes #4817 : Standardize device/VM component name field to 64 characters
2020-07-02 12:08:19 -04:00
Jeremy Stretch
c5362f5931
Fix permissions evaluation for nonstandard tests
2020-07-02 11:43:03 -04:00
Jeremy Stretch
f28bde179e
Extend label field to all device components
2020-07-02 11:18:08 -04:00
Jeremy Stretch
f98fa364c0
Merge branch 'develop-2.9' into 2006-scripts-reports-background
2020-07-02 11:00:59 -04:00
Daniel Sheppard
e67f08c745
#4695 - Add metadata class to other classes
2020-07-02 09:26:08 -05:00
Jeremy Stretch
8d7377ba04
Merge branch 'develop' into develop-2.9
2020-07-02 10:01:01 -04:00
Jeremy Stretch
95462ce0ec
Post-release version bump
2020-07-02 09:39:15 -04:00
Jeremy Stretch
9f614452b4
Release NetBox v2.8.7
2020-07-02 09:37:20 -04:00
Jeremy Stretch
fa0c7a76cb
Fix permission evaluation for add console/power port buttons
2020-07-01 15:14:06 -04:00
Jeremy Stretch
06ae424b80
#4416 : Add bulk rename view for InventoryItem
2020-07-01 15:12:05 -04:00
Jeremy Stretch
e4b5045ec7
#4416 : Add bulk_add view for InventoryItems
2020-07-01 14:55:11 -04:00
Jeremy Stretch
7e3e18faea
#4416 : Add individual & changelog views for InventoryItem
2020-07-01 14:46:12 -04:00
Jeremy Stretch
225b6c6958
Fix collection of assigned IPs when editing a device
2020-07-01 14:23:21 -04:00
Jeremy Stretch
57b73c485f
#4416 : Remove individual view for extras.Tag
2020-07-01 14:21:51 -04:00
Jeremy Stretch
c484fa99e2
Introduce ButtonsColumn to reduce boilerplate and standardize organizational object links
2020-07-01 13:47:01 -04:00
Jeremy Stretch
8959d2e0a7
#4416 : Add individual delete views for organizational objects
2020-07-01 12:08:26 -04:00
Jeremy Stretch
4613b69c28
Extend GetReturnURLMixin to automatically resolve default return URL for querysets
2020-07-01 11:50:31 -04:00
Jeremy Stretch
7e8a4a2a77
Merge pull request #4797 from netbox-community/4695_fix_api_cable_choices_termination_types
...
Fixes #4695 - Add Metadata class that returns content type choices
2020-07-01 11:03:01 -04:00
Jeremy Stretch
56ec4a6360
Merge pull request #4706 from netbox-community/4604_check_position_stack
...
4708: more flexible checks on RearPort usage
2020-07-01 10:59:17 -04:00
Jeremy Stretch
0b1df1483f
Automatically import ContentType when entering nbshell
2020-06-30 16:34:53 -04:00
Jeremy Stretch
7fab929194
Fix evaluation of empty label_pattern
2020-06-30 16:30:54 -04:00
Jeremy Stretch
89ea34015d
Enable bulk editing of device component labels
2020-06-30 16:15:17 -04:00
Jeremy Stretch
88e3ac30b6
Closes #4807 : Add bulk edit ability for device bay templates
2020-06-30 15:22:30 -04:00
Jeremy Stretch
52a13b1960
Closes #4793 : Add description field to device component templates
2020-06-30 15:12:53 -04:00
Jeremy Stretch
52cff1ee50
Fixes #4771 : Fix add/remove tag population when bulk editing objects
2020-06-30 09:55:54 -04:00
Jeremy Stretch
8a26f475a7
Fixes #4774 : Fix exception when deleting a device with device bays
2020-06-30 09:43:05 -04:00
John Anderson
1d922a1848
fix previous job result deletion
2020-06-30 09:29:50 -04:00
Jeremy Stretch
51e9b0a22a
Closes #4796 : Introduce configuration parameters for default rack elevation size
2020-06-30 09:26:32 -04:00
Jeremy Stretch
268b4c854e
Closes #4802 : Allow changing page size when displaying only a single page of results
2020-06-30 09:00:42 -04:00
Jeremy Stretch
af778f8fca
TagFilter should call unrestricted() on its queryset
2020-06-29 16:07:14 -04:00
Jeremy Stretch
15f32bdd73
Wrap ComponentTraceMixin in a parent class
2020-06-29 15:14:12 -04:00
Jeremy Stretch
36498c9dd2
Base manager for Tag should use RestrictedQuerySet
2020-06-29 14:57:29 -04:00
Jeremy Stretch
66703d8963
Fix evaluation of RestrictedQuerySet
2020-06-29 14:42:37 -04:00
Jeremy Stretch
71812d1bd5
Fix evaluation of RestrictedQuerySet
2020-06-29 14:41:43 -04:00
Jeremy Stretch
5ed6136915
Introduce ComponentTraceMixin to minimize boilerplate
2020-06-29 14:40:36 -04:00
John Anderson
f48a079ae6
fix tests and cleanup
2020-06-29 14:34:42 -04:00
Jeremy Stretch
a47a100cb7
Fix unrestricted evaluations of RestrictedQuerySet
2020-06-29 13:31:26 -04:00
Jeremy Stretch
9ea4f82eaa
Prefetch tagged VLANs for VMInterfaces
2020-06-29 12:18:59 -04:00
Jeremy Stretch
617e20af0b
Standardize VMInterfaceTest
2020-06-29 12:06:36 -04:00
Jeremy Stretch
89ff59d048
Add graphs endpoint to VMInterfaceViewSet
2020-06-29 12:05:00 -04:00
Jeremy Stretch
6ecbf45974
Fix evaluation of RestrictedQuerySets
2020-06-29 11:48:36 -04:00
Jeremy Stretch
eb45ad600e
Fix evaluation of RestrictedQuerySets
2020-06-29 11:35:13 -04:00
Jeremy Stretch
10e6b6ca66
Fix RestrictedQuerySet evaluation in tests
2020-06-29 11:27:23 -04:00
Jeremy Stretch
5732466e56
Signal receiver should call unrestricted()
2020-06-29 11:07:11 -04:00
Jeremy Stretch
ce55d0c791
Tweak querysets to work with restriction
2020-06-29 10:57:09 -04:00
Jeremy Stretch
6ab4640cdc
Update API tests to work with RestrictedQuerySet
2020-06-29 10:39:06 -04:00
Jeremy Stretch
a6b03b8884
Update WritableNestedSerializer to call unrestricted() on RestrictedQuerySets
2020-06-29 10:38:32 -04:00
Jeremy Stretch
0dbe248df8
Call restrict() when retrieving related Graphs
2020-06-29 10:14:43 -04:00
John Anderson
1681dbfa39
refactor migration
2020-06-29 04:22:01 -04:00
John Anderson
3777fbccc3
Implements #2006 - run reports and scripts in the background
2020-06-29 03:50:05 -04:00
Jeremy Stretch
86d1370512
Apply restrict_form_fields() to import views
2020-06-26 16:26:22 -04:00
Jeremy Stretch
8c0adc9c61
Update test methods to call unrestricted() on RestrictedQuerySets
2020-06-26 16:15:21 -04:00
Ryan Merolle
c8461095c9
add missing NEMA power ports/outlets ( #4784 )
...
* add various NEMA power ports/outlets
2020-06-26 15:34:38 -04:00
Jeremy Stretch
a452e78fa6
Use unrestricted() when compiling ObjectPermissions for user
2020-06-26 15:28:08 -04:00
Jeremy Stretch
04571ce920
Fix the initial permissions check on create/edit view tests
2020-06-26 15:21:59 -04:00
Jeremy Stretch
5dfa80c0b9
Fix the initial permissions check on create/edit/delete view tests
2020-06-26 15:17:07 -04:00
Jeremy Stretch
40c416618a
Link to cable termination objects
2020-06-26 15:13:41 -04:00
Jeremy Stretch
9a1531442a
Apply restrict_form_fields() to bulk edit views
2020-06-26 15:11:05 -04:00
Jeremy Stretch
6128ef4b37
Remove redundant ObjectPermissionViewTestCase
2020-06-26 15:00:47 -04:00
Jeremy Stretch
84db1adfaf
Fix create, edit view test methods
2020-06-26 14:48:04 -04:00
Jeremy Stretch
2c354c7f86
Fix automatic creation of UserConfig for user created via admin UI
2020-06-26 14:29:24 -04:00
Jeremy Stretch
edc65a6a34
Introduce restrict_form_fields() to automatically restrict field querysets based on user
2020-06-26 13:59:53 -04:00
Jeremy Stretch
8412f9481c
Force restriction of RestrictedQuerySet even for superusers
2020-06-26 13:18:12 -04:00
Sander Steffann
b26fc81187
Sort the list for consistent output
2020-06-26 18:42:08 +02:00
Sander Steffann
0455947597
Make sure that the endpoint is actually a CableTermination
2020-06-26 18:24:04 +02:00
Jeremy Stretch
95965d65c9
Fix some instances where RestrictedQuerySet is evaluated prematurely
2020-06-26 12:22:02 -04:00
Daniel Sheppard
8179cfa4c1
#4695 - Rename LimitedMetaData to ContentTypeMetadata
2020-06-26 11:09:27 -05:00
Daniel Sheppard
d21881e207
#4695 - Add Metadata class that returns content type choices
2020-06-26 10:59:21 -05:00
Jeremy Stretch
9777f25b9f
Set the default action to 'view' for restrict()
2020-06-26 11:57:07 -04:00
Jeremy Stretch
6e3a32567c
Move utility functions to utils.py
2020-06-26 11:56:30 -04:00
Sander Steffann
25926e32f0
Replace is_connected_endpoint
with simple isinstance
check
...
It was only used in a single location anyway…
2020-06-26 17:30:59 +02:00
Sander Steffann
3fdc8e7d3d
Replace is_path_endpoint
with simple isinstance
check
...
It was only used in a single location anyway…
2020-06-26 17:25:07 +02:00
Jeremy Stretch
71afba4d2e
Fixes #4791 : Update custom script documentation for ObjectVar
2020-06-25 17:33:41 -04:00
Jeremy Stretch
319799b5ce
Closes #4795 : Add bulk disconnect capability for console and power ports
2020-06-25 17:08:51 -04:00
Jeremy Stretch
128327b8a3
Split url_name template filter into viewname() and validated_viewname()
2020-06-25 16:50:35 -04:00
Jeremy Stretch
6f8f3f98b4
Tweak ObjectChangeLogView to work with both restricted and unrestricted querysets
2020-06-25 15:58:13 -04:00
Jeremy Stretch
2e272132b0
Add test method for changelog view
2020-06-25 15:43:47 -04:00
Jeremy Stretch
1dbae5b64c
Closes #4792 : Add bulk rename capability for console and power ports
2020-06-25 14:18:29 -04:00
Jeremy Stretch
ec9b33ac97
Fix typo
2020-06-25 13:36:54 -04:00
Jeremy Stretch
5aa2a6eefe
Add plugin buttons & content to device component views
2020-06-25 13:27:01 -04:00
Jeremy Stretch
0fcdd63941
Linkify components under device view
2020-06-25 12:21:25 -04:00
Jeremy Stretch
8695714c65
Fix device component changelog display
2020-06-25 12:09:56 -04:00
Jeremy Stretch
2001cfe864
Update and simplify device component tables
2020-06-25 12:03:44 -04:00
Jeremy Stretch
3badfd756c
Extend DeviceComponentViewTestCase to include GetObjectViewTestCase
2020-06-25 11:04:42 -04:00
Jeremy Stretch
b08d9a5a8e
Add individual views for device components
2020-06-25 11:01:18 -04:00
Jeremy Stretch
ecf40e1525
Add/update device component templates
2020-06-25 11:00:25 -04:00
Jeremy Stretch
909ddd653c
Extend ObjectView to provide a default get() method
2020-06-25 10:53:00 -04:00
Jeremy Stretch
2f19350ff5
Tweak url_name template filter to work with URLs which need a PK
2020-06-25 10:49:30 -04:00
Jeremy Stretch
68ef5177f0
Introduce template filters for checking dynamic permissions
2020-06-25 10:48:21 -04:00
Jeremy Stretch
ba138de53b
Fix display of tags
2020-06-24 16:27:44 -04:00
Jeremy Stretch
e2398c8c0e
Fix signal logic
2020-06-24 15:57:52 -04:00
Jeremy Stretch
36cf40f25c
Enable CSV import for virtual chassis
2020-06-24 15:29:25 -04:00
Jeremy Stretch
59c1e34024
Initial work on #2018 : Add name to VirtualChassis
2020-06-24 15:21:42 -04:00
Jeremy Stretch
4d2c75a824
Restore ability to assign interface when editing an IPAddress
2020-06-24 11:30:28 -04:00
Jeremy Stretch
99c72c78c1
Update VMInterface view names
2020-06-24 10:09:22 -04:00
Jeremy Stretch
052555c3f7
Add bulk renaming function for VM interfaces
2020-06-24 10:02:40 -04:00
Jeremy Stretch
9a0bc16c86
Update device/VM interface templates
2020-06-24 09:52:22 -04:00
Jeremy Stretch
6663844a86
Rename 'vm_interface' to 'vminterface'; misc cleanup
2020-06-24 09:27:30 -04:00
Jeremy Stretch
d6386f739e
Restore interface filtering for IPAddresses
2020-06-24 09:22:35 -04:00
Sander Steffann
ed1717f858
Revert "Bumping version just to test the GitHub Action"
...
This reverts commit 1cf0868e
2020-06-24 13:09:11 +02:00
Sander Steffann
1cf0868e30
Bumping version just to test the GitHub Action
2020-06-24 13:07:54 +02:00
Jeremy Stretch
afda46d587
Fix VMInterface bulk creation
2020-06-23 17:28:34 -04:00
Jeremy Stretch
603c804535
Add VMInterface CSV import view
2020-06-23 17:09:21 -04:00
Jeremy Stretch
fce19a363d
Add VMInterface list view
2020-06-23 16:52:05 -04:00
Jeremy Stretch
e3820e93b7
Misc cleanup, renaming
2020-06-23 16:39:43 -04:00
Jeremy Stretch
459e485555
Restore interface assignment for IPAddress CSV import
2020-06-23 16:09:31 -04:00
Jeremy Stretch
548127cc88
Rename VMInterface serializers
2020-06-23 15:46:20 -04:00
Jeremy Stretch
a1b816b403
Remove 'parent' attribute from VMinterface
2020-06-23 15:31:53 -04:00
Jeremy Stretch
5ad5994b9d
Update interface view templates
2020-06-23 15:09:32 -04:00
Jeremy Stretch
25d6bbf659
Update view and permission names for VMInterface
2020-06-23 14:48:37 -04:00
Jeremy Stretch
75354a8a78
Rename Interface to VMInterface
2020-06-23 13:21:44 -04:00
Jeremy Stretch
d1bd010e05
Fix Interface tag replication in schema migration
2020-06-23 12:50:22 -04:00
Jeremy Stretch
bb6be8e3d3
Disable editing assigned interface under IPAddress form
2020-06-22 16:36:06 -04:00
Jeremy Stretch
fc2d08c407
Set related_query_name for GenericRelations to IPAddress
2020-06-22 16:27:13 -04:00
Jeremy Stretch
40938f0c8a
Retain ip_addresses name for related IPAddress objects
2020-06-22 16:13:18 -04:00
Jeremy Stretch
490dee1fa0
Merge branch 'develop-2.9' into 4721-virtualmachine-interface
2020-06-22 16:04:20 -04:00
Jeremy Stretch
27796bbd08
Add queryset to IPAddressBulkCreateView
2020-06-22 15:58:47 -04:00
Jeremy Stretch
b5d53fa850
Fix schema deconstruction for NaturalOrderingField
2020-06-22 15:49:09 -04:00
Jeremy Stretch
7b24984280
Update IPAddressSerializer
2020-06-22 15:39:57 -04:00
Jeremy Stretch
37564d630a
Misc test fixes
2020-06-22 15:22:03 -04:00
Jeremy Stretch
380a5cf8a7
Fix IP choices for DeviceForm
2020-06-22 15:12:35 -04:00
Jeremy Stretch
f2b26282b8
Disable VM interface bulk creation testing
2020-06-22 15:09:16 -04:00
Jeremy Stretch
31bb70d9a2
Fixed IPAM tests
2020-06-22 14:46:25 -04:00
Jeremy Stretch
2608b3f9f3
Separate VM interface view and template
2020-06-22 14:33:53 -04:00
Jeremy Stretch
e76b1f1daa
Fix assigned_object field
2020-06-22 13:50:14 -04:00
Jeremy Stretch
6cb31a274f
Initial work on #4721 (WIP)
2020-06-22 13:10:56 -04:00
Jeremy Stretch
181bcd70ad
Fix schema migrations for device components
2020-06-22 12:01:57 -04:00
Jeremy Stretch
4f3fde8055
#4615 : Add label field to component tables
2020-06-18 13:57:15 -04:00
Jeremy Stretch
c832e3c2c7
#4615 : Add missing label field to device bay forms
2020-06-18 13:35:11 -04:00
Jeremy Stretch
88bf183af5
Merge branch 'develop' into develop-2.9
2020-06-18 13:20:32 -04:00
Jeremy Stretch
462f992a2b
Introduce ComponentCreateForm to standardize forms for device component creation
2020-06-18 12:09:28 -04:00
Jeremy Stretch
c5dc075fb0
Fixes #4775 : Allow selecting an alternate device type when creating component templates
2020-06-18 11:59:24 -04:00
Jeremy Stretch
11a247edc2
Fix up tests
2020-06-18 10:32:22 -04:00
Jeremy Stretch
328d639886
Merge branch 'develop' into develop-2.9
2020-06-17 16:57:17 -04:00
Jeremy Stretch
0800279325
Standardize SecretTest
2020-06-17 15:37:28 -04:00
Jeremy Stretch
26770515e1
Refactor TestCase to provide model_to_dict(), prepare_instance()
2020-06-17 15:36:56 -04:00
Jeremy Stretch
b0c24de596
Fixes #4772 : Fix "brief" format for the secrets REST API endpoint
2020-06-17 14:22:55 -04:00
Jeremy Stretch
fd18395f78
Fix queryset for TagBulkImportView
2020-06-17 13:31:26 -04:00
Jeremy Stretch
360c56ec34
Fix permission evaluation for BulkComponentCreateViews
2020-06-17 13:30:00 -04:00
Jeremy Stretch
3890d17c61
Clean up errant references to TagField
2020-06-17 13:29:27 -04:00
Jeremy Stretch
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
Jeremy Stretch
54ece346bc
DummyQuerySet should be iterable to allow for serialization
2020-06-17 12:20:56 -04:00
Jeremy Stretch
5e71bad5cf
Fix serialization of tags upon object deletion
2020-06-17 12:00:50 -04:00
Jeremy Stretch
bb755daf8b
Update tests
2020-06-17 11:14:41 -04:00
Sander Steffann
715ddc6b02
Define is_path_endpoint
and is_connected_endpoint
separately, as a CableTermination is a possible connected endpoint but not always the end of the path.
2020-06-17 17:11:28 +02:00
Jeremy Stretch
ef978b2ebf
Update TaggedItemTest
2020-06-17 10:50:37 -04:00
Jeremy Stretch
d0f0aef2ef
Remove django-taggit-serializer
2020-06-17 10:00:21 -04:00
Jeremy Stretch
448dc1442c
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
2020-06-17 09:57:17 -04:00
Jeremy Stretch
e23a5ad141
Fixes #4766 : Fix redirect after login when next is not specified
2020-06-17 09:15:03 -04:00
Jeremy Stretch
4ae05dddeb
Tag should use a stock manager by default
2020-06-16 17:02:03 -04:00
Jeremy Stretch
b318bde76c
Fix queryset reference under BulkDeleteView
2020-06-16 16:40:16 -04:00
Sander Steffann
3876efe494
Fix is_path_endpoint
flag on CableTermination
2020-06-16 21:56:46 +02:00
Sander Steffann
f075339c5f
Improve test comments and remove over-enthusiastic tests
2020-06-16 21:48:26 +02:00
Sander Steffann
abaf0daa6e
Store the front ports on the position_stack so we can provide better feedback to the user
2020-06-16 21:47:37 +02:00
Sander Steffann
4a11800d9e
Better comments
2020-06-16 21:47:10 +02:00
Sander Steffann
cafecb091d
Replace temporary comment with proper one
2020-06-16 21:46:16 +02:00
Jeremy Stretch
7cf0e6034b
Optimize tag population under prepare_cloned_fields()
2020-06-16 15:12:50 -04:00
Jeremy Stretch
c7aa0a2321
Fix prepare_cloned_fields() inefficiency
2020-06-16 15:08:14 -04:00
Jeremy Stretch
58f4e3756c
Fix ObjectChangeLogView
2020-06-16 15:04:34 -04:00
Jeremy Stretch
067e89f6a0
Allow unrestricted access to assigned tags
2020-06-16 14:59:22 -04:00
Jeremy Stretch
efed2bc262
Fix restriction violations for rack model
2020-06-16 14:53:51 -04:00
Jeremy Stretch
adf0255bdf
Allow unrestricted access to assigned tags
2020-06-16 14:17:40 -04:00
Jeremy Stretch
1e259f3043
Allow unrestricted retrieval of MPTT ancestors
2020-06-16 14:10:56 -04:00
Jeremy Stretch
ffa3a229b5
Fix restriction violations for provider, circuit models
2020-06-16 14:00:43 -04:00
Jeremy Stretch
0f8df8c985
Add unrestricted() to Rack methods
2020-06-16 13:31:51 -04:00
Jeremy Stretch
ed0b38c7a7
Bypass restriction for querysets used for filtering by related object
2020-06-16 13:15:58 -04:00
Jeremy Stretch
fa0ff8be39
Restrict ExportTemplates available via export button
2020-06-16 13:06:03 -04:00
Jeremy Stretch
5d724f6b84
Fix up permissions enforcement for home view, global search
2020-06-16 13:03:38 -04:00
Jeremy Stretch
ffb43a8534
Introduce unrestricted() method on RestrictedQuerySet
2020-06-16 12:20:21 -04:00
Jeremy Stretch
ce5fd7955f
Catch and log evaluation of RestrictedQuerySet without calling restrict()
2020-06-16 10:39:15 -04:00
Jeremy Stretch
e917535380
Merge branch 'develop' into develop-2.9
2020-06-15 16:04:32 -04:00
Jeremy Stretch
a5512dd4c4
Post-release version bump
2020-06-15 14:57:05 -04:00
Jeremy Stretch
60deb3f0ba
Release v2.8.6
2020-06-15 14:37:36 -04:00
Jeremy Stretch
eaaaaec5a5
Fixes #4710 : Fix merging of form fields among custom scripts
2020-06-15 14:20:00 -04:00
Jeremy Stretch
5bcf85e57d
Closes #4744 : Hide IP addresses tab when viewing a container prefix
2020-06-15 13:33:16 -04:00
Jeremy Stretch
1d466d6fd1
Closes #4761 : Enable tag assignment during bulk creation of IP addresses
2020-06-15 13:24:34 -04:00
Jeremy Stretch
57cfb4ed7e
Fixes #4760 : Enable power port template assignment when bulk editing power outlet templates
2020-06-15 13:18:26 -04:00
Jeremy Stretch
9fa4cbdfa5
Correction for #4756
2020-06-15 12:43:08 -04:00
Jeremy Stretch
5af2b3c2f5
Closes #4717 : Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks
2020-06-15 11:53:47 -04:00
Jeremy Stretch
2e5058c4c9
Fixes #4756 : Filter parent group by site when creating rack groups
2020-06-15 10:02:35 -04:00
Jeremy Stretch
9fc4a4f24a
Closes #4755 : Enable creation of rack reservations directly from navigation menu
2020-06-12 15:11:27 -04:00
Jeremy Stretch
e905a36fb2
Update tests for tag changes
2020-06-12 11:33:23 -04:00
Jeremy Stretch
7dc4f8d5cc
Remove TagField
2020-06-12 10:01:39 -04:00
Jeremy Stretch
da906f48d9
Standardize add, import, and export functionality for tags
2020-06-12 09:48:23 -04:00
Jeremy Stretch
057a022205
Clean up and improve UI view tests
2020-06-11 16:12:50 -04:00
Jeremy Stretch
7a54bd9f2a
Changelog and migrations fix for #4615
2020-06-11 13:42:20 -04:00
Jeremy Stretch
9b48a26aef
Merge pull request #4723 from jsenecal/4615_interface_label
...
Closes : #4615 Physical labels
2020-06-11 13:03:46 -04:00
Jonathan Senecal
a37d06064a
Add label
to DeviceBay models and serializers
2020-06-11 10:19:53 -04:00
Jonathan Senecal
c1eea166c9
Fix tests for LabeledComponentForm
...
* Added docstring
* Removed redundant tests since refactoration
2020-06-10 22:58:52 -04:00
Jonathan Senecal
25cbab2ea4
Avoid checking field
twice on all iterations
...
Yields a small performance improvement
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
2020-06-10 22:16:46 -04:00
Jonathan Senecal
cf81a8979f
Avoid component_type
on subclasses
2020-06-10 22:10:45 -04:00
Jonathan Senecal
e3a8638471
Move __str__()
to the abstract class
2020-06-10 22:04:45 -04:00
Jeremy Stretch
d26fcc9918
Annotated blocked TODO items
2020-06-10 16:56:24 -04:00
Jeremy Stretch
8e9dc9f20e
Add EditObjectViewTestCase for VirtualChassis
2020-06-10 16:51:35 -04:00
Jonathan Senecal
81d08ac50b
Stay consistent with codebase: i vs pos
2020-06-10 16:41:52 -04:00
Jeremy Stretch
e13320f58d
Fix permissions enforcement for VirtualChassisEditView
2020-06-10 16:37:35 -04:00
Jeremy Stretch
1f727f565f
Adopted fix from #4743 and updated API tests
2020-06-10 16:11:28 -04:00
Jeremy Stretch
9fd36279ab
Fixes #4743 : Allow users to create "next available" IPs without needing permission to create prefixes
2020-06-10 16:06:11 -04:00
Jeremy Stretch
4078d9b669
Remove extraneous test
2020-06-10 15:22:49 -04:00
Jonathan Senecal
3b54d6f8e5
No need to reference the model itself
2020-06-10 15:11:47 -04:00
Jonathan Senecal
f041c762ac
Prevent the table cell from rendering empty for interface.label
...
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
2020-06-10 14:59:23 -04:00
Jeremy Stretch
88ae522c9a
Closes #4742 : Add tagging for cables, power panels, and rack reservations
2020-06-10 14:55:46 -04:00
Jonathan Senecal
5cdaaed311
Use a single migration for labels
2020-06-10 14:04:55 -04:00
Jeremy Stretch
9abc67bbeb
Fixes #4737 : Introduce ColoredLabelColumn for consistent display of colored labels
2020-06-10 11:38:23 -04:00
Jeremy Stretch
16cdf3006f
Fixes #4736 : Add cable trace endpoints for pass-through ports
2020-06-09 15:12:10 -04:00
Jeremy Stretch
15004c654f
Add missing API cable trace test for interfaces
2020-06-09 14:47:05 -04:00
Jeremy Stretch
ed9ca270a7
Add missing API tests for pass-through port templates
2020-06-09 13:24:07 -04:00
Jonathan Senecal
e0037c7f70
pycodestyle
2020-06-08 23:07:53 -04:00
Jonathan Senecal
4301c06d17
Refactorization into LabeledComponentForm
2020-06-08 23:07:12 -04:00
Jonathan Senecal
90bc1cd951
Test forms and views with labels
2020-06-08 20:04:31 -04:00
Jeremy Stretch
67784c0568
Merge pull request #4713 from netbox-community/4348-ldap-auth-backend
...
Closes #4348 : Introduce LDAPBackend
2020-06-08 17:07:52 -04:00
Jonathan Senecal
892c0e3d8b
Leftover fix
2020-06-08 17:00:07 -04:00
Jeremy Stretch
ecd3963b7c
Merge pull request #4718 from netbox-community/4674-drf_yasg_definitions
...
Fixes #4674 - Fix available-ips and available-prefixes swagger definitions
2020-06-08 16:59:04 -04:00
Jeremy Stretch
2f53411efc
Extend assertInstanceEqual() to handle M2M relations to ContentType
2020-06-08 16:32:50 -04:00
Jeremy Stretch
7a858cea23
Extend test_bulk_create_objects() to inspect created objects
2020-06-08 15:58:54 -04:00
Jeremy Stretch
987414ed7b
Introduce NestedObjectPermissionSerializer
2020-06-08 15:44:16 -04:00
Jeremy Stretch
047286f9c0
Add a third initial object to VirtualChassisTest
2020-06-08 15:27:55 -04:00
Jeremy Stretch
a2955196af
Remove extraneous permission class from SecretRoleViewSet
2020-06-08 15:21:11 -04:00
Jeremy Stretch
62224857f0
Standardize ObjectPermissionTest
2020-06-08 14:01:15 -04:00
Jeremy Stretch
c1a37db871
Fix managers on Graph and ExportTemplate
2020-06-08 13:41:12 -04:00
Jeremy Stretch
a8145fe4c2
Add permission assignment to custom test methods
2020-06-08 13:40:46 -04:00
Jeremy Stretch
3b44e7c1c4
Update API test methods to evaluate permissions assignment
2020-06-08 11:52:29 -04:00
Jeremy Stretch
830fd5f83a
Remove duplicate test method
2020-06-08 11:22:12 -04:00
Jeremy Stretch
f83e435a90
Move APIViewTestCases to api.py
2020-06-08 10:46:53 -04:00
Jeremy Stretch
0ebd87bcb9
Merge branch 'develop' into develop-2.9
2020-06-08 10:33:23 -04:00
Jeremy Stretch
a8077e6ed1
Extend assertInstanceEqual() to accommodate REST API data
2020-06-08 09:47:14 -04:00
Jeremy Stretch
7def37961a
Correct exempted test methods on InterfaceTestCase
2020-06-05 16:17:10 -04:00
Jeremy Stretch
4f830c9c22
Fix list_brief tests
2020-06-05 16:09:55 -04:00
Jeremy Stretch
032f87caec
Merge branch 'develop' into 4722-api-tests
2020-06-05 15:50:14 -04:00
Jeremy Stretch
e616aad911
Fixes #4725 : Fix "brief" rendering of various REST API endpoints
2020-06-05 15:49:06 -04:00
Jeremy Stretch
c2f6f5a7cd
Fix ProviderTest
2020-06-05 15:18:18 -04:00
Jeremy Stretch
d3fbaca228
Standardize virtualization API tests
2020-06-05 15:06:08 -04:00
Jeremy Stretch
ae913f14ce
Standardize tenancy API tests
2020-06-05 14:30:01 -04:00
Jeremy Stretch
1ee79ee61e
Standardize SecretRoleTest
2020-06-05 14:18:38 -04:00
Jeremy Stretch
b5ebfd0b07
Standardize IPAM API tests
2020-06-05 14:09:54 -04:00
Jonathan Senecal
286a3e6ca2
Add label
to forms, views and templates
2020-06-05 13:59:59 -04:00
Jeremy Stretch
665646707c
Standardize extras API tests
2020-06-05 13:41:54 -04:00
Jeremy Stretch
279ae7ea10
Standardize DCIM API tests
2020-06-05 13:23:33 -04:00
Jonathan Senecal
d65cead212
Return an empty list if value is None
2020-06-05 12:34:09 -04:00
Jonathan Senecal
e21cbf2a06
Add the label
to the string representation
2020-06-05 11:01:39 -04:00
Jonathan Senecal
1fae9aff0c
Add label
to *port serializers
2020-06-05 10:42:13 -04:00
Jonathan Senecal
a06d74472d
Add label
to *ports models
2020-06-05 10:32:59 -04:00
Jeremy Stretch
8cc1dc9f1c
Fix update data
2020-06-05 10:05:54 -04:00
Jeremy Stretch
86e5a09b01
Optimize test_get_provider_graphs()
2020-06-05 09:36:38 -04:00
Jeremy Stretch
1d5f2fbd11
Correct test method name
2020-06-05 09:19:31 -04:00
Jonathan Senecal
f8851121ab
Add the label
to the string representation
2020-06-04 17:11:27 -04:00
Jonathan Senecal
e9f8640ee6
Add label
to Interface serializers
2020-06-04 16:50:51 -04:00
Jeremy Stretch
4219691e62
Update circuits API tests to use APIViewTestCases
2020-06-04 16:47:15 -04:00
Jeremy Stretch
4ae1879b87
Introduce APIViewTestCases for standardized API view testing
2020-06-04 16:45:03 -04:00
Jonathan Senecal
cde1db4436
Add label
to interface models
2020-06-04 16:44:25 -04:00
Jeremy Stretch
d2dce6db25
Merge pull request #4719 from netbox-community/4715-avoid-unnecessary-queries
...
Fixes #4715 : Avoid unnecessary queries in Cable.from_db
2020-06-04 13:13:17 -04:00
Jeremy Stretch
fae115b995
Closes #4698 : Improve display of template code for object in admin UI
2020-06-04 13:11:24 -04:00
Sander Steffann
8f9dcf5a97
Avoid unnecessary queries in Cable.from_db
2020-06-04 17:46:09 +02:00
Daniel Sheppard
5330914431
#4674 - Correct many=False to many=True on the response serializers
2020-06-04 09:42:00 -05:00
Daniel Sheppard
927c012fc9
#4674 - Fix available-ips and available-prefixes swagger definitions
2020-06-04 09:35:58 -05:00
Jeremy Stretch
040fadb0c3
Move LDAP authentication support to LDAPBackend
2020-06-03 15:42:24 -04:00
Jeremy Stretch
bb1484a444
Dropped backward compatibility for the /admin/webhook-backend-status URL
2020-06-03 14:15:29 -04:00
Jeremy Stretch
b31cc89478
Dropped backward compatibility for 'webhooks' Redis queue
2020-06-03 14:13:18 -04:00
Jeremy Stretch
3084d58da1
Add REST API endpoint for ObjectPermissions
2020-06-03 13:08:04 -04:00
Jeremy Stretch
d157818d7e
Rename attrs to constraints
2020-06-03 09:43:46 -04:00
Jeremy Stretch
ddcd172af1
Rename content_types to object_types
2020-06-03 09:27:20 -04:00
Jeremy Stretch
19407ba3bc
Uodate script and report views to use ObjectPermissionRequiredMixin
2020-06-02 15:40:39 -04:00
Jeremy Stretch
3502398d1d
Remove delete_token permission from TokenDeleteView
2020-06-02 15:36:31 -04:00
Jeremy Stretch
205acd2c4d
Update VirtualChassis views to support ObjectPermissions
2020-06-02 15:33:41 -04:00
Jeremy Stretch
e463430d51
Change CableCreateView to use ObjectEditView
2020-06-02 15:15:57 -04:00
Jeremy Stretch
cae412d280
Update ObjectImportView to support ObjectPermissions
2020-06-02 14:23:04 -04:00
Jeremy Stretch
56f6698ba5
Fixes #4707 : Fix prefix_count population on VLAN API serializer
2020-06-02 13:40:14 -04:00
Jeremy Stretch
a62b98ac50
Admin UI improvements
2020-06-02 13:21:58 -04:00
Jeremy Stretch
7a7634de2d
Accomodate custom legacy permission in schema migration
2020-06-02 10:50:58 -04:00
Jeremy Stretch
c6e85970d4
Remove activate_userkey permission
2020-06-02 09:51:56 -04:00
Jeremy Stretch
110bad7041
Update custom napalm_read, napalm_write permissions
2020-06-02 09:46:32 -04:00
Jeremy Stretch
85e932bfc1
Clean up permissions utility functions
2020-06-02 09:31:59 -04:00
Sander Steffann
886b59f400
Update tests for cables
2020-06-02 13:14:51 +02:00
Sander Steffann
8bd9b460cb
Only complete path when there are not split_ends or position_stack
2020-06-02 13:14:38 +02:00
Sander Steffann
34ae57dfa3
Show warning when position stack is not empty after trace
2020-06-02 13:13:41 +02:00
Sander Steffann
81a322eaaf
Add position_stack to returned values from trace()
2020-06-02 13:13:10 +02:00
Sander Steffann
2479b8a57f
Validate against is_path_endpoint instead of specific classes, and only when positions > 1
2020-06-02 13:11:35 +02:00
Jeremy Stretch
2fe4656db4
Permit connection of a multi-position RearPort to a FrontPort
2020-06-02 12:03:02 +02:00
Jeremy Stretch
6fc7c6a7d0
Update path validation tests for single-position rear port scenarios
2020-06-02 12:03:02 +02:00
Jeremy Stretch
1d33d7d205
Call full_clean() when saving Cable instances
2020-06-02 12:03:02 +02:00
Sander Steffann
56898f7e37
Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels
2020-06-02 12:03:02 +02:00
Sander Steffann
3278cc8cc0
Recreate the model instance instead of re-saving a deleted model
...
Same end result, but easier to read
2020-06-02 12:03:02 +02:00
Sander Steffann
112dfb865b
Integrate patch panel building into one list
2020-06-02 12:03:02 +02:00
Sander Steffann
a0f4d481dc
make single front/rear port work when between panels
2020-06-02 12:03:02 +02:00
Jeremy Stretch
7b01ba9776
Fix external auth permissions test
2020-06-01 16:46:14 -04:00
Jeremy Stretch
76f74f479b
Support permission attribute assignment via REMOTE_AUTH_DEFAULT_PERMISSIONS
2020-06-01 16:23:45 -04:00
Jeremy Stretch
5d4cc5bf3d
Fix ordering of group and user fields in ObjectPermission admin
2020-06-01 13:59:58 -04:00
Jeremy Stretch
26d7c21314
Move authentication backends
2020-06-01 13:47:34 -04:00
Jeremy Stretch
a4af270ea8
Restrict querysets for home, search views
2020-06-01 13:36:57 -04:00
Jeremy Stretch
b6c38ceb73
Call permission_is_exempt() to check for exempt permissions
2020-06-01 13:17:59 -04:00
Jeremy Stretch
3a9512f086
Refine queryset restriction logic
2020-06-01 13:09:34 -04:00
Jeremy Stretch
9679557747
Add permission_is_exempt()
2020-06-01 12:31:18 -04:00
Jeremy Stretch
3c334a0238
Update views to restrict all querysets
2020-06-01 11:43:49 -04:00
Jeremy Stretch
5574aaa8cb
Tweak restrict() to accept only an action keyword
2020-06-01 10:45:49 -04:00
Jeremy Stretch
edf15532d2
Fixes #4702 : Catch IntegrityError exception when adding a non-unique secret
2020-06-01 10:00:32 -04:00
Jeremy Stretch
e23b2c4c4f
Implement RestrictedQuerySet as a manager
2020-05-29 16:27:36 -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
8786bb25c5
Fix instance evaluation
2020-05-29 13:57:38 -04:00
Jeremy Stretch
670139492d
Fix permission action evaluation
2020-05-29 13:47:19 -04:00
Jeremy Stretch
5d3cf8074b
Add migration for replicating legact permissions to ObjectPermissions
2020-05-29 13:42:38 -04:00
Jeremy Stretch
85c54703ec
Improve the admin form for ObjectPermissions
2020-05-29 12:08:51 -04:00
Jeremy Stretch
02687453f2
Add ArrayField on ObjectPermission to store actions
2020-05-29 11:25:13 -04:00
Jeremy Stretch
90828cedae
Introduce proxy models for User and Group to organize admin UI
2020-05-29 10:43:12 -04:00
Jeremy Stretch
f65b2278f0
Enable many-to-many model assignment for ObjectPermissions
2020-05-28 15:04:46 -04:00
Jeremy Stretch
bdfc0364d5
Fix up ObjectPermission content type assignment
2020-05-28 14:20:18 -04:00
Jeremy Stretch
65bd3fbddb
Remove built-in permission assignment from admin UI
2020-05-28 14:03:08 -04:00
Jeremy Stretch
f8e29ea66a
Remove ObjectPermissionManager
2020-05-28 13:47:52 -04:00
Jeremy Stretch
a8ed04c4d2
Expose assigned ObjectPermissions on User instance
2020-05-28 13:25:37 -04:00
Jeremy Stretch
73b7eb0c7f
Skip queryset filtering for superusers
2020-05-28 13:25:12 -04:00
Jeremy Stretch
486f1a74ab
Standardize base classes for view test cases
2020-05-28 12:05:54 -04:00
Jeremy Stretch
5d36d81ae1
Restore model-level permission tests
2020-05-28 11:08:35 -04:00
Jeremy Stretch
dc56e49410
Introduce resolve_permission() utility function
2020-05-28 10:35:59 -04:00
Jeremy Stretch
ca199cdefe
Reduce ObjectPermission creation boilerplate
2020-05-28 10:27:25 -04:00
Jeremy Stretch
b2ba9d68c9
Fix default permissions assignment under RemoteUserBackend
2020-05-28 10:04:19 -04:00
Jeremy Stretch
00ce3588d3
Fix secrets API tests
2020-05-28 09:51:02 -04:00
Jeremy Stretch
814aff78b5
Update ObjectPermission evaluation to support null attrs
2020-05-28 09:39:27 -04:00
Jeremy Stretch
a261d10bfd
Fix permissions assignment for SecretTest
2020-05-27 17:10:45 -04:00
Jeremy Stretch
ce46512c74
Fix permission assignment in tests
2020-05-27 16:53:30 -04:00
Jeremy Stretch
fb7446487e
Fix up permissions evaluation
2020-05-27 11:31:07 -04:00
Jeremy Stretch
a6a88a0d2e
Delete extraneous test case
2020-05-27 11:30:36 -04:00
Jeremy Stretch
4cee506710
Rebase RemoteUserBackend on BaseBackend
2020-05-27 10:52:59 -04:00
Jeremy Stretch
5dddf6846b
Disable built-in model permissions
2020-05-27 10:48:56 -04:00
Jeremy Stretch
03da9348e5
Merge branch 'develop-2.9' into 554-object-permissions
2020-05-26 16:42:39 -04:00
Jeremy Stretch
28a14cf5ae
Merge branch 'develop' into develop-2.9
2020-05-26 16:39:23 -04:00
Jeremy Stretch
56b7ab1734
Post-release version bump
2020-05-26 16:30:36 -04:00
Jeremy Stretch
c9a7527f33
Release v2.8.5
2020-05-26 16:17:01 -04:00
Jeremy Stretch
ccc31b2c7c
Fixes #4525 : Allow passing initial data to custom script MultiObjectVar
2020-05-26 15:34:29 -04:00
Jeremy Stretch
88cffca270
Closes #4650 : Expose INTERNAL_IPS configuration parameter
2020-05-26 10:01:49 -04:00
Jeremy Stretch
92f49b4711
Closes #4672 : Set default color for rack and devices roles
2020-05-26 09:36:27 -04:00
Jeremy Stretch
f04340679e
Merge branch 'develop' into 4684-devicetype-import-comment
2020-05-26 09:11:50 -04:00
Jeremy Stretch
4545c15173
Merge branch 'develop' into 4651-csrf-in-plugintemplateextension
2020-05-26 09:02:39 -04:00
kobayashi
74c29b0bb7
Fixes #4684 : Fix ignored comment when importing DeviceType
2020-05-26 01:17:10 -04:00
Jeremy Stretch
635fefcb5c
Update exempted tests
2020-05-22 16:33:56 -04:00
Sander Steffann
ff3b348771
Add csrf_token
to PluginTemplateExtension context
2020-05-22 22:28:04 +02:00
Sander Steffann
27700d316f
Add perms
to PluginTemplateExtension context
2020-05-22 22:24:39 +02:00
Jeremy Stretch
77a49fa40e
Extend bulk import/edit/delete view tests to support object-level permissions
2020-05-22 16:04:43 -04:00
Jeremy Stretch
5273b9d0ee
Rename ImportObjectsViewTestCase
2020-05-22 14:57:35 -04:00
Jeremy Stretch
ae7445ee8e
Test object permissions for individual/list model views
2020-05-22 14:53:52 -04:00
Jeremy Stretch
3ef4287d57
Add additional_permissions to ObjectPermissionRequiredMixin
2020-05-22 12:41:20 -04:00
Jeremy Stretch
581dc4e070
Enforce object-level permissions for CableTraceView
2020-05-22 12:05:34 -04:00
Jeremy Stretch
1bce148be2
Enforce object-level permissions for ObjectConfigContextView
2020-05-22 11:55:56 -04:00
Jeremy Stretch
eb9147a575
Enforce object-level permissions for DeviceBay population views
2020-05-22 11:52:19 -04:00
Jeremy Stretch
781334b615
Enforce object-level permissions for RackElevationListView
2020-05-22 11:51:04 -04:00
Jeremy Stretch
5282ae2250
Enforce object-level permissions for cluster add/remove devices views
2020-05-22 11:30:46 -04:00
Jeremy Stretch
bae050e689
Replace legacy add/edit secret views with SecretEditView
2020-05-22 11:24:49 -04:00
Jeremy Stretch
ab60a5d73d
Enforce object-level permissions for IPAddressAssignView, VLANGroupVLANsView
2020-05-22 09:51:57 -04:00
Jeremy Stretch
71d4b5c5df
Enforce object-level permissions for circuit termination swap view
2020-05-22 09:45:29 -04:00
Jeremy Stretch
7e64d3e653
Transition BulkComponentCreateView to use ObjectPermissionRequiredMixin
2020-05-22 09:23:00 -04:00
Jeremy Stretch
e7fde2795f
Fix BulkDisconnectView
2020-05-21 16:34:15 -04:00
Jeremy Stretch
f36c797e98
Transition ComponentCreateView to use ObjectPermissionRequiredMixin
2020-05-21 16:28:11 -04:00
Jeremy Stretch
49b780358e
Transition BulkRenameView, BulkDisconnectView to use ObjectPermissionRequiredMixin
2020-05-21 16:11:46 -04:00
Jeremy Stretch
af8e1a6472
Strip 'param' indicators from docstrings
2020-05-21 16:00:18 -04:00
Jeremy Stretch
91362b0f82
Transition BulkCreateView to use ObjectPermissionRequiredMixin
2020-05-21 15:53:50 -04:00
Jeremy Stretch
e61fc1f709
Introduce ObjectView to enforce object-level permissions for individual object views
2020-05-21 15:53:00 -04:00
Jeremy Stretch
8fd860a413
Transition BulkDeleteView to use ObjectPermissionRequiredMixin
2020-05-21 15:14:29 -04:00
Jeremy Stretch
82c247f3cf
Transition BulkEditView to use ObjectPermissionRequiredMixin
2020-05-21 15:07:20 -04:00
Jeremy Stretch
5e5038d780
Transition BulkImportView to use ObjectPermissionRequiredMixin
2020-05-21 14:43:27 -04:00
Jeremy Stretch
2b32430a10
Transition ObjectDeleteView to use ObjectPermissionRequiredMixin
2020-05-21 14:34:40 -04:00
Jeremy Stretch
5381c4e0ae
Tweak evaluation of required permission for ObjectEditView
2020-05-21 14:26:56 -04:00
Jeremy Stretch
406b076b95
Transition ObjectEditView to use ObjectPermissionRequiredMixin
2020-05-21 13:59:19 -04:00
Jeremy Stretch
993ee8c900
Transition ObjectListView to use ObjectPermissionRequiredMixin
2020-05-21 13:22:09 -04:00
Jeremy Stretch
cc6e74dfd5
Move ObjectPermissionRequiredMixin to utilities.views
2020-05-21 13:12:15 -04:00
Jeremy Stretch
40c590f445
Add queryset to all BulkImportViews
2020-05-21 12:01:42 -04:00
Jeremy Stretch
5486cff441
Add object permission support, tests for bulk import/edit/delete views
2020-05-21 11:49:50 -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
fa8407371b
Swap position of REMOTE_AUTH_BACKEND
2020-05-20 16:56: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
8eb4d0a36b
Remove ViewExemptBackend; use same for model- and object-level permissions
2020-05-20 16:27:56 -04:00
Jeremy Stretch
64f60228ec
Add web UI view tests for object-level permissions
2020-05-20 13:35:54 -04:00
Jeremy Stretch
d2e1428c75
Closes #4665 : Add NEMA L14 and L21 power port/outlet types
2020-05-20 09:36:55 -04:00
Jeremy Stretch
f3b22acc9a
Merge branch 'develop' into develop-2.9
2020-05-15 11:29:07 -04:00
Jeremy Stretch
cd236aa886
Closes #4645 : Update minimum required version of PostgreSQL to 9.6
2020-05-15 10:11:36 -04:00
Jeremy Stretch
3c8e7e739d
Fixes #4649 : Fix interface assignment for bulk-imported IP addresses
2020-05-15 09:44:00 -04:00
Jeremy Stretch
a64351279d
Fixes #4648 : Fix bulk CSV import of child devices
2020-05-15 09:36:16 -04:00
Jeremy Stretch
ba91b3aa2e
Fixes #4646 : Correct UI link for reports with custom name
2020-05-15 09:13:51 -04:00
Jeremy Stretch
8394ff5537
Fixes #4644 : Fix ordering of services table by parent
2020-05-15 09:02:56 -04:00
John Anderson
14744da8f6
fixes #4647 - caching invalidation related to assinging new IP addresses to interfaces
2020-05-15 02:45:48 -04:00
John Anderson
2c2d6c6d47
fixes #3304 - primary IP address caching invalidation
2020-05-15 02:31:45 -04:00
Jeremy Stretch
aeb32104a4
Enforce object-level permissions for API views
2020-05-14 17:44:46 -04:00
Jeremy Stretch
73895b1c88
Bypass permission caching for anonymous users
2020-05-14 17:44:15 -04:00
Jeremy Stretch
f54fb67efc
Add object-level support to TokenPermissions
2020-05-14 13:49:52 -04:00
Jeremy Stretch
422eeddbef
Post-release version bump
2020-05-13 17:32:27 -04:00
Jeremy Stretch
2900013118
Release v2.8.4
2020-05-13 17:24:25 -04:00
Jeremy Stretch
e0ebb8e7d8
Fixes #4617 : Restore IP prefix depth notation in list view
2020-05-13 17:08:48 -04:00
Jeremy Stretch
07fd92cd4c
Fixes #4629 : Replicate assigned interface when cloning IP addresses
2020-05-13 16:25:22 -04:00
Daniel Sheppard
38d8b0a1ec
Merge pull request #4637 from netbox-community/4634-InventoryItemException
...
#4634 - Correct inventory item table accessor definition on manufacturer column
2020-05-13 10:46:29 -05:00
Daniel Sheppard
fd0be35d99
#4634 - Correct inventory item table accessor definition on manufacturer column
2020-05-13 09:33:48 -05:00
Jeremy Stretch
1461be2004
Fixes #4613 : Fix tag assignment on config contexts (regression from #4527 )
2020-05-13 10:28:48 -04:00
Jeremy Stretch
569d4ee201
Closes #4632 : Extend email configuration parameters to support SSL/TLS
2020-05-13 09:20:24 -04:00
Jeremy Stretch
be5962fb3a
ObjectPermissionRequiredMixin should exempt superusers
2020-05-12 17:00:03 -04:00
Jeremy Stretch
94d0ebbd7d
Fix ObjectPermission attribute consolidation
2020-05-12 16:51:46 -04:00
Jeremy Stretch
a275a30dca
Reimplement the ViewExemptModelBackend to explicitly cache all exempted view permissions on the User instance
2020-05-12 16:07:07 -04:00
Jeremy Stretch
c90f680284
Cache object-level permissions on the User instance for evaluation
2020-05-12 15:42:44 -04:00
Jeremy Stretch
daa2c6ff21
Always pass obj=None to ModelBackend
2020-05-11 17:19:11 -04:00
Jeremy Stretch
63f842c7db
Implement ObjectPermissionManager
2020-05-11 16:02:42 -04:00
Jeremy Stretch
06aca2e1d5
Merge branch 'develop-2.9' into 554-object-permissions
2020-05-11 12:48:36 -04:00
Jeremy Stretch
3abb52a085
#4624 : Refactor ObjectDeleteView to use a queryset
2020-05-11 12:47:01 -04:00
Jeremy Stretch
87fa6bc252
#4624 : Refactor ObjectEditView to use a queryset
2020-05-11 12:37:22 -04:00
Jeremy Stretch
4b5d64939d
Introduced ObjectPermissionRequiredMixin
2020-05-11 11:51:11 -04:00
Jeremy Stretch
6624fc6076
Initial work on #554 (WIP)
2020-05-08 17:30:25 -04:00
Jeremy Stretch
745c9a9c2b
Add test for CustomFieldManager.get_for_model()
2020-05-08 12:18:08 -04:00
Jeremy Stretch
e3be5f8468
Remove local caching attempt
2020-05-08 10:05:05 -04:00
Jeremy Stretch
2c19390d7c
Introduce CustomFieldManager (WIP)
2020-05-07 17:20:32 -04:00
Jeremy Stretch
da8380c62c
Refactor extras.models
2020-05-07 16:59:27 -04:00
Jeremy Stretch
e14e217fcd
Fixes #4604 : Multi-position rear ports may only be connected to other rear ports
2020-05-07 16:22:04 -04:00
Jeremy Stretch
b7a96a33ef
Fixes #4598 : Display error message when invalid cable length is specified
2020-05-07 10:34:33 -04:00
Jeremy Stretch
7c6faff405
Post-release version bump
2020-05-06 23:50:41 -04:00
Jeremy Stretch
af96ffb3e9
Release v2.8.3
2020-05-06 23:46:52 -04:00
Jeremy Stretch
5c1adf9e37
Fixes #4593 : Fix AttributeError exception when viewing object lists as a non-authenticated user
2020-05-06 23:44:06 -04:00
Jeremy Stretch
3711283de5
Extend ViewTestCases to get and list objects as a non-authenticated user
2020-05-06 23:43:46 -04:00
Jeremy Stretch
43ad9aa2b1
Fix version
2020-05-06 15:20:28 -04:00
Jeremy Stretch
5dfcca96c8
Post-release version bump
2020-05-06 15:17:06 -04:00
Jeremy Stretch
c9d0293bd0
Release v2.8.2
2020-05-06 15:04:01 -04:00
Jeremy Stretch
cd0eb0d8ce
Fixes #4588 : Restore ability to add/remove tags on services, virtual chassis in bulk
2020-05-06 15:00:01 -04:00
Jeremy Stretch
a4dbd2dae5
Closes #3064 : Include tags in object lists as a toggleable table column
2020-05-06 14:42:51 -04:00
Jeremy Stretch
fbc8b46d13
Cosmetic tweaks to the user area
2020-05-06 13:25:17 -04:00
Jeremy Stretch
1ccb3162ff
Ensure all model FilterSets support the 'id' field
2020-05-06 12:33:52 -04:00
Jeremy Stretch
4d5d298ee1
Update super() call for get_filters()
2020-05-06 11:47:05 -04:00
Jeremy Stretch
9312dea2b2
Merge pull request #4564 from netbox-community/3147-csv-import-fields
...
Closes #3147 : Allow dynamic access to related objects during CSV import
2020-05-06 10:15:00 -04:00
Jeremy Stretch
270d61ce1b
Remove boilerplate error messages from CSV model choice fields
2020-05-06 09:58:12 -04:00
Jeremy Stretch
70d0a5f665
Introduce CSVModelChoiceField to provide better validation for CSV model choices
2020-05-06 09:43:10 -04:00
Jeremy Stretch
607744813a
Extend tests for CSV import
2020-05-05 16:49:16 -04:00
Jeremy Stretch
839e999a71
Introduce CSVModelForm for dynamic CSV imports
2020-05-05 16:15:09 -04:00
Jeremy Stretch
0239be9be5
Fixes #4578 : Prevent setting 0U height on device type with racked instances
2020-05-05 13:41:23 -04:00
Jeremy Stretch
d85d963842
Remove example choices from CSV import form
2020-05-04 16:30:21 -04:00
Jeremy Stretch
80f08e6830
Merge pull request #4555 from netbox-community/492-table-column-ordering
...
Closes #492 : Table column ordering
2020-05-04 15:12:29 -04:00
Jeremy Stretch
7c4d634ae6
Fix group column on RackTable
2020-05-04 14:56:29 -04:00
Jeremy Stretch
51ccbdf6c4
Remove descriptions from interface connections list
2020-05-04 14:10:40 -04:00
Jeremy Stretch
b0478a7e5b
Enable dynamic queryset field prefetching based on table columns
2020-05-04 14:08:11 -04:00
Jeremy Stretch
f9f7c19d81
Clean up CSV import table
2020-05-01 16:01:55 -04:00
Jeremy Stretch
4486957b9a
Clean up comments
2020-05-01 16:01:30 -04:00
Jeremy Stretch
718ff4a743
Update help_texts for models, import forms
2020-05-01 15:40:34 -04:00
Jeremy Stretch
fa630c048c
Overhaul CSV import template
2020-05-01 14:26:04 -04:00
Jeremy Stretch
4b8ef6b09a
Removed FlexibleModelChoiceField
2020-05-01 13:40:52 -04:00
Jeremy Stretch
61ae4be16a
Add tests for CSVDataField
2020-05-01 13:32:28 -04:00
Jeremy Stretch
34a17d4571
Enable the specifcation of related objects by arbitrary attribute during CSV import
2020-05-01 12:18:04 -04:00
Jeremy Stretch
6ab046ba8f
Fix tests for #4502
2020-04-30 15:43:33 -04:00
Jeremy Stretch
05cb47e650
Closes #4502 : Enable configuration of proxies for outbound HTTP requests
2020-04-30 14:59:13 -04:00
Jeremy Stretch
e75c4c012d
Closes #4554 : Add HDOT Cx power outlet type
2020-04-30 13:39:12 -04:00
Jeremy Stretch
bcb7899b04
Fixes #4548 : Fix tracing cables through a single RearPort
2020-04-29 16:32:30 -04:00
Jeremy Stretch
81ffa0811e
Closes #4556 : Update form for adding devices to clusters
2020-04-29 15:50:16 -04:00
Jeremy Stretch
f8060ce112
Ignore clearing of invalid user config keys
2020-04-29 15:05:29 -04:00
Jeremy Stretch
3b6d9dc552
Add button to select all columns
2020-04-29 14:56:22 -04:00
Jeremy Stretch
c096232cb1
#492 : Extend virtualization tables
2020-04-29 11:42:44 -04:00
Jeremy Stretch
33c44c2dd9
#492 : Extend tenancy tables
2020-04-29 11:34:51 -04:00
Jeremy Stretch
cd0ee4cd69
#492 : Extend secrets tables
2020-04-29 11:32:53 -04:00
Jeremy Stretch
6e9e6af2f0
#492 : Extend IPAM tables
2020-04-29 11:29:30 -04:00
Jeremy Stretch
7ad27a2b65
#492 : Extend extras tables
2020-04-29 11:03:49 -04:00
Jeremy Stretch
e3cfc9ad80
#492 : Extend DCIM tables
2020-04-29 10:58:08 -04:00
Jeremy Stretch
88687608e7
Always include the 'actions' column, if present
2020-04-29 10:17:52 -04:00
Jeremy Stretch
ed21ff52ee
Merge branch 'develop' into 492-table-column-ordering
2020-04-29 10:08:56 -04:00
Jeremy Stretch
f535ef4924
Update development docs to remove squashing instructions
2020-04-29 09:44:41 -04:00
Jeremy Stretch
6e832de4a9
Remove squashed migrations
2020-04-29 09:31:52 -04:00
kobayashi
39ea14202e
Fix 4549 webhook body encode in utf-8
2020-04-29 01:48:53 -04:00
Jeremy Stretch
55b40d92d4
Extend DCIM tables (WIP)
2020-04-28 17:06:16 -04:00
Jeremy Stretch
8ec2e3cc7b
Introduce default_columns Meta parameter to reduce boilerplate
2020-04-28 16:33:06 -04:00
Jeremy Stretch
725e3cdbf3
Extend circuits tables to include all relevant model fields
2020-04-28 16:20:11 -04:00
Jeremy Stretch
f51e7519dc
Enable reordering table columns
2020-04-28 14:27:27 -04:00
Jeremy Stretch
3442ec77a7
Enable setting/clearing of table column prefs
2020-04-28 13:21:58 -04:00
Jeremy Stretch
e8d493578b
Create form for setting table preferences
2020-04-28 12:14:51 -04:00
Jeremy Stretch
0ee1112d9d
Initial support for table column reordering
2020-04-27 16:56:25 -04:00
Jeremy Stretch
4971054c34
Standardize import statement as django_rq is no longer optional
2020-04-24 15:43:58 -04:00
Jeremy Stretch
d8cb58c746
#4416 : Add bulk edit & delete views for VirtualChassis
2020-04-24 15:20:52 -04:00
Jeremy Stretch
eb14c08cab
#4416 : Enable custom links for virtual chassis
2020-04-24 15:01:23 -04:00
Jeremy Stretch
fed9408b90
#4416 : Establish a dedicated view for VirtualChassis objects
2020-04-24 14:59:38 -04:00
Jeremy Stretch
bdbf21b3e2
Closes #4421 : Retain user's preference for config context format
2020-04-24 12:01:41 -04:00
Jeremy Stretch
f019c8d2ce
Fixes #4527 : Fix assignment of certain tags to config contexts
2020-04-24 11:31:01 -04:00
Jeremy Stretch
178052b2f6
Prepare for merge into 2.8
2020-04-24 10:38:09 -04:00
Jeremy Stretch
dc9617c7aa
Fix returning default for unknown userconfig key
2020-04-24 10:37:02 -04:00
Jeremy Stretch
587339bea0
Add page for user to view/clear preferences
2020-04-24 10:29:06 -04:00
Jeremy Stretch
7c8c85e435
Add all() method to UserConfig
2020-04-24 09:50:26 -04:00
Jeremy Stretch
d8494e44e7
Document available user preferences
2020-04-24 09:46:02 -04:00
Jeremy Stretch
30c3d6ee40
Remember user's per_page preference (POC for UserConfig)
2020-04-23 16:48:13 -04:00
Jeremy Stretch
f3012ed839
Automatically create UserConfig for users
2020-04-23 16:46:36 -04:00
Jeremy Stretch
afa0565a44
Show user config in admin UI
2020-04-23 15:53:43 -04:00
Jeremy Stretch
750deac2cf
Initial implementation of UserConfig model
2020-04-23 15:34:32 -04:00
Jeremy Stretch
c0b1ae4923
Initialize v2.9 development
2020-04-23 11:02:35 -04:00
Jeremy Stretch
14b9a12a2f
Post-release version bump
2020-04-23 10:27:33 -04:00
Jeremy Stretch
e5e5725a24
Fix typo in validation error message
2020-04-23 10:12:56 -04:00
Jeremy Stretch
3ece4f137f
Release v2.8.1
2020-04-23 10:09:13 -04:00
John Anderson
11ee6f417f
fix #4459 - Fix caching issue resulting in erroneous nested data for regions, rack groups, and tenant groups
2020-04-22 16:45:26 -04:00
Jeremy Stretch
7b50f2b0eb
Fix tag assignment when bulk creating components
2020-04-22 14:05:27 -04:00
Jeremy Stretch
6a61f0911d
Update InterfaceBulkCreateForm for VMs
2020-04-22 12:09:40 -04:00
Jeremy Stretch
e975f1b216
Update device component bulk edit forms to use form_from_model()
2020-04-22 11:47:26 -04:00
Jeremy Stretch
62cdf0d928
Add bulk creation view for rear ports
2020-04-22 11:26:04 -04:00
Jeremy Stretch
97b8e73716
Introduce model-specific bulk create forms for device components
2020-04-22 11:15:39 -04:00
Jeremy Stretch
131d2c97ca
Fixes #4336 : Ensure interfaces without a subinterface ID are ordered before subinterface zero
2020-04-21 16:13:34 -04:00
Jeremy Stretch
ada55dfdfb
Fixes #4510 : Enforce address family for device primary IPv4/v6 addresses
2020-04-21 14:50:15 -04:00
Jeremy Stretch
cc721efe97
Fixes #3356 : Correct Swagger schema specification for the available prefixes/IPs API endpoints
2020-04-21 14:12:49 -04:00
Jeremy Stretch
b362c6a967
Fixes #2994 : Prevent modifying termination points of existing cable to ensure end-to-end path integrity
2020-04-21 13:41:38 -04:00
Jeremy Stretch
8a3a5a8cb1
Merge pull request #4521 from netbox-community/4388-cable-tracing
...
Fixes #4388 : Improve connection endpoint detection
2020-04-21 12:49:48 -04:00
Jeremy Stretch
ca762588ca
Pretty-up cable trace template
2020-04-21 11:59:14 -04:00
Jeremy Stretch
26c335fc68
Extend tests for #4388
2020-04-21 10:53:21 -04:00
Jeremy Stretch
3db83dd3a2
Merge pull request #4501 from toerb/develop
...
add rack width of 21 inches for ETSI racks
2020-04-20 11:03:09 -04:00
Jeremy Stretch
29707cd496
Adapt tracing view to account for split ends (WIP)
2020-04-15 17:09:04 -04:00
Jeremy Stretch
5205c4963f
Refactor cable tracing logic
2020-04-15 15:46:41 -04:00
Jeremy Stretch
5aadfff1de
Merge pull request #4492 from kobayashi/4361-type-connection_status
...
Fix #4361 Set correct type of connection_status in swagger schema
2020-04-15 09:45:39 -04:00
Jeremy Stretch
e0f819691f
Fixes #4496 : Fix exception when validating certain models via REST API
2020-04-15 09:37:30 -04:00
kobayashi
1ce0191a74
Fixes #4361 : Set correct type of connection_state
2020-04-15 01:02:11 -04:00
Jeremy Stretch
788909de94
Fixes #4489 : Fix display of parent/child role on device type view
2020-04-14 12:13:05 -04:00
Jeremy Stretch
fc1feec8bf
Fix format string
2020-04-14 09:43:12 -04:00
Jeremy Stretch
d37a74846a
Remove format strings to ensure compilation under old Python releases
2020-04-13 14:07:44 -04:00
Jeremy Stretch
e97205922c
Fixes #4481 : Remove extraneous material from example configuration file
2020-04-13 13:49:34 -04:00
Jeremy Stretch
8b57a888e7
Post-release version bump
2020-04-13 11:31:16 -04:00
Jeremy Stretch
488129d7ad
Release v2.8.0
2020-04-13 11:21:33 -04:00
Jeremy Stretch
c691ec843d
Fixes #4476 : Correct typo in slugs for Infiniband interface types
2020-04-13 10:51:25 -04:00
Jeremy Stretch
67f2cdc921
Fixes #4474 : Fix population of device types when bulk editing devices
2020-04-13 10:34:44 -04:00
Jeremy Stretch
8939d4de92
Use packaging.version.parse directly
2020-04-10 11:18:01 -04:00
Jeremy Stretch
5de085d83d
Tweak PluginMenuButton icon_class to require additional "fa" class
2020-04-10 10:36:03 -04:00
Jeremy Stretch
19a10cee82
Rename base template
2020-04-10 10:21:02 -04:00
Jeremy Stretch
db70f04447
Minor tweaks to plugins development doc
2020-04-10 10:20:36 -04:00
Jeremy Stretch
b5aff1575d
Add plugins settings to example config
2020-04-09 15:45:38 -04:00
Jeremy Stretch
884d648cc2
Set X_FRAME_OPTIONS to SAMEORIGIN (changed in Django 3.0)
2020-04-09 15:31:18 -04:00
Jeremy Stretch
5266bf93a3
Merge branch 'develop' into develop-2.8
2020-04-08 13:50:15 -04:00
Jeremy Stretch
e04a5dc81f
Post-release version bump
2020-04-08 13:34:36 -04:00
Jeremy Stretch
b86c61dcdb
Release v2.7.12
2020-04-08 13:26:33 -04:00
toerb
f7e7699d93
add rack width of 21 inches for ETSI racks
2020-04-08 09:30:14 +02:00
Jeremy Stretch
ae58af4bb7
Added webhook_receiver management command
2020-04-07 13:37:48 -04:00
Jeremy Stretch
902b1b2c32
Fixes #4458 : Remove custom admin site to avoid conflict with django-rq 2.3.0
2020-04-07 10:17:34 -04:00
Daniel Sheppard
fe088dba7a
Fixes : #4396 - Fix typing on interface serializer
2020-04-07 08:33:00 -05:00
Jeremy Stretch
46b896b2cf
Merge branch 'develop' into develop-2.8
2020-04-06 13:51:05 -04:00
Jeremy Stretch
52ef488208
Fix nav menu w/plugins enabled
2020-04-06 13:27:41 -04:00
Jeremy Stretch
34c33549b8
Add tests for plugins caching config
2020-04-06 12:00:28 -04:00
Jeremy Stretch
76230cad53
Remove extraneous plugin config
2020-04-06 11:51:03 -04:00
Jeremy Stretch
9ffc404027
Add tests for plugin configuration, min/max version
2020-04-06 11:44:38 -04:00
Jeremy Stretch
1ffbeba181
#4439 : Fix null integer field display
2020-04-03 13:47:58 -04:00
Jeremy Stretch
630788731e
Closes #4448 : Allow connecting cables between two circuit terminations
2020-04-03 13:44:41 -04:00
Jeremy Stretch
721368ea8d
Closes #4147 : Use absolute URLs in rack elevation SVG renderings
2020-04-03 13:16:35 -04:00
Jeremy Stretch
1f3a21ba20
Fixes #4449 : Fix reservation edit/delete button URLs on rack view
2020-04-03 12:13:36 -04:00
Jeremy Stretch
6413d47fb2
Skip PluginTest if dummy_plugin not in PLUGINS list
2020-04-02 16:13:15 -04:00
Jeremy Stretch
9e0aa0d11e
Naming tweaks
2020-04-02 15:43:23 -04:00
Jeremy Stretch
ee4c5ef64a
Fix CI tests
2020-04-02 15:11:19 -04:00
Jeremy Stretch
4ab3854d66
Fixes #4438 : Fix exception when disconnecting a cable from a power feed
2020-04-02 10:19:50 -04:00
Jeremy Stretch
354f87c888
Fixes #4439 : Tweak display of unset custom integer fields
2020-04-02 10:06:01 -04:00
Jeremy Stretch
92fc28aa09
Remove errant references to external plugin
2020-04-01 17:18:15 -04:00
Jeremy Stretch
30e330c887
Initial implementation of tests for plugins framework
2020-04-01 17:08:47 -04:00
Jeremy Stretch
f316958943
Establish a separate configuration file for testing
2020-04-01 13:23:29 -04:00
Jeremy Stretch
0432b1a6f9
Move default caching_config to PluginConfig class
2020-04-01 12:10:19 -04:00
Jeremy Stretch
f469c794ce
Change PLUGINS_ENABLED to a list of specific plugins (PLUGINS)
2020-04-01 10:10:29 -04:00
Jeremy Stretch
fb2868f8bb
Fixes #4418 : Fail cleanly when trying to import multiple device types simultaneously
2020-03-30 16:44:04 -04:00
Jeremy Stretch
aa38dcf490
Closes #3676 : Reference VRF by name rather than RD during IP/prefix import
2020-03-30 15:54:35 -04:00
Jeremy Stretch
a914a7c438
Update serializer context assignment for DRF 3.11
2020-03-30 12:39:15 -04:00
Jeremy Stretch
9c16d5a747
Misc cleanup of PluginConfig processing logic
2020-03-27 13:57:11 -04:00
Jeremy Stretch
0d9d0b0446
Convert installed_plugins_admin_view to a class-based view
2020-03-27 13:35:25 -04:00
Jeremy Stretch
cb344a3792
Clean up plugin URL registration
2020-03-27 13:26:53 -04:00
Jeremy Stretch
dd9fc4173d
Expose regsitry in templates using existing context processor for settings
2020-03-27 13:18:51 -04:00
Jeremy Stretch
fd6739f0cc
Improved menu item/button validation
2020-03-27 13:12:58 -04:00
Jeremy Stretch
fa83750e72
Merge branch 'develop-2.8' into 3351-plugins
2020-03-27 13:05:34 -04:00
Jeremy Stretch
a72d5c899e
Merge branch 'develop' into develop-2.8
2020-03-27 12:53:55 -04:00
Jeremy Stretch
5cf872d000
Post-release version bump
2020-03-27 12:49:48 -04:00
Jeremy Stretch
59e6386361
Release v2.7.11
2020-03-27 12:40:21 -04:00
Jeremy Stretch
9c1eda0d9a
Closes #4404 : Add cable trace button for circuit terminations
2020-03-27 12:35:36 -04:00
Daniel Sheppard
785119f5bb
Fixes : #4415 - Add site on validate_unique() for device model
2020-03-27 08:37:48 -05:00
Jeremy Stretch
8a3ebf64bc
Rename obj to object; clean up docstrings
2020-03-26 21:46:56 -04:00
Jeremy Stretch
af302d8368
Avoid instantiating PluginTemplateExtension subclasses when the specified method has not been defined
2020-03-26 21:25:10 -04:00
Jeremy Stretch
f03cc96050
Restrict context data available to PluginTemplateExtensions
2020-03-26 16:50:55 -04:00
Jeremy Stretch
e7f7b14214
Extend menu items and buttons to accept a list of required permissions
2020-03-26 16:04:12 -04:00
Jeremy Stretch
84d2db0d35
Tweak variable naming
2020-03-26 13:37:52 -04:00
Jeremy Stretch
74e56a890c
Remove unused PluginSignal class
2020-03-26 12:26:58 -04:00
Jeremy Stretch
b94ef39a51
Standardize naming of menu items
2020-03-26 12:25:36 -04:00
Jeremy Stretch
877417d68f
Rename PluginTemplateContent to PluginTemplateExtension
2020-03-26 12:18:58 -04:00
Jeremy Stretch
d316d8ac61
Rename PluginNavMenuButton to PluginMenuButton
2020-03-26 11:30:42 -04:00
Jeremy Stretch
40574b65af
Rename PluginNavMenuLink to PluginMenuItem
2020-03-26 11:29:05 -04:00
Jeremy Stretch
81c9177c09
Add a default button color
2020-03-26 11:26:11 -04:00
Jeremy Stretch
5540079e81
Add documentation for PluginTemplateContent
2020-03-25 16:32:16 -04:00
Jeremy Stretch
68a0e76ca6
Rework template content registration to work like menu items
2020-03-25 16:06:00 -04:00
Jeremy Stretch
d0edd9d5c1
Update documentation for #4401
2020-03-25 14:33:32 -04:00
Jeremy Stretch
9ea30c057f
Replace get_menu_items() with static attribute
2020-03-25 13:51:37 -04:00
Jeremy Stretch
c1f2ad90ef
Simplify the mechanism for plugins to register navigation menu items
2020-03-25 11:32:50 -04:00
Jeremy Stretch
2a47bb8b54
Rename url_slug to base_url
2020-03-24 16:20:47 -04:00
Jeremy Stretch
16b8a45ed6
Get menu header via apps.get_config
2020-03-24 15:24:14 -04:00
Jeremy Stretch
ce0b1733fe
Derive API URLs app_name for plugins from url_slug
2020-03-23 14:03:04 -04:00
Jeremy Stretch
2732e7c3d9
Specify path to PluginConfig in INSTALLED_APPS
2020-03-23 12:01:24 -04:00
John Anderson
60b6c48775
remove duplicate import
2020-03-20 22:21:00 -04:00
John Anderson
4e84e8048f
added admin and api views for listing all plugins, and refactored urls import
2020-03-20 20:10:02 -04:00
Jeremy Stretch
ad1522f428
Update plugin URL loading logic
2020-03-20 15:51:14 -04:00
Jeremy Stretch
bc50c2aa55
Introduce PluginConfig
2020-03-20 15:50:47 -04:00
Jeremy Stretch
28b5e88c50
Rename entry point group; simplify import
2020-03-20 14:35:54 -04:00
Jeremy Stretch
058c78d8be
Closes #4389 : Add a bulk edit view for device bays
2020-03-19 16:32:08 -04:00
Jeremy Stretch
05fdf5e9a0
Closes #4386 : Update admin links for Django RQ to reflect multiple queues
2020-03-19 13:54:49 -04:00
Jeremy Stretch
2dff093305
Merge pull request #4258 from netbox-community/4255-dynamic_object_vars
...
Fixes : #4255 - Modify script ObjectVars to utilize DynamicModelChoiceField
2020-03-19 11:02:07 -04:00
Jeremy Stretch
8d3801896f
Rewrite and extend cabling logic tests
2020-03-19 10:43:51 -04:00
Jeremy Stretch
f1236e9bf7
Tweak tracing logic to ensure consistent behavior
2020-03-19 10:42:53 -04:00
dansheps
fa1548f3ce
Remove extraneous import
2020-03-19 08:11:14 -05:00
dansheps
0995e10d87
Modify script ObjectVars to use DynamicModelChoiceFields
2020-03-19 08:09:31 -05:00
Jeremy Stretch
e143158f12
Remove unused follow_circuits arg for cable tracing
2020-03-18 21:14:53 -04:00
Jeremy Stretch
40bfb55370
Improved cable tracing logic
2020-03-18 20:47:27 -04:00
John Anderson
dab313897e
Merge branch 'develop-2.8' into 3351-plugins
2020-03-18 18:30:47 -04:00
John Anderson
c7fb2ff894
add version contraints and cacheops config
2020-03-18 18:28:27 -04:00
Jeremy Stretch
ced6fe313a
Fix RackGroupForm field
2020-03-18 15:41:23 -04:00
Jeremy Stretch
7f5571200c
Closes #4382 : Enable custom links for rack reservations
2020-03-18 14:50:49 -04:00
John Anderson
fd879c7cf5
Merge branch 'develop-2.8' into 3351-plugins
2020-03-18 14:48:11 -04:00
Jeremy Stretch
a9d04547d1
Closes #4381 : Enable export templates for rack reservations
2020-03-18 14:46:23 -04:00
John Anderson
09e09e43ba
Merge branch 'develop' into develop-2.8
2020-03-18 14:44:18 -04:00
Jeremy Stretch
87f0b19dc0
Closes #4380 : Enable webhooks for rack reservations
2020-03-18 14:43:19 -04:00
Jeremy Stretch
dbbb2cdaba
Merge pull request #4366 from netbox-community/738-detect-new-releases
...
Closes #738 : Automatically detect new releases
2020-03-18 14:00:01 -04:00
Jeremy Stretch
7246fd667e
Move releases.py to netbox/
2020-03-18 13:54:41 -04:00
Jeremy Stretch
fe4f4bddc8
Tweaked logging; renamed release config parameters
2020-03-18 13:46:47 -04:00
Jeremy Stretch
70c29051b3
Raise specific exceptions
2020-03-18 13:15:22 -04:00
Jeremy Stretch
043b1c28d2
Refactor the registry into a dictionary object
2020-03-18 12:00:31 -04:00
Jeremy Stretch
022653f446
Fix Python 3.5 compatability for tests
2020-03-17 15:07:45 -04:00
Jeremy Stretch
1706db38df
Fix Python 3.5 compatability for tests
2020-03-17 15:00:39 -04:00
Jeremy Stretch
81287833ee
Update tests
2020-03-17 14:44:49 -04:00
Jeremy Stretch
2f12d09663
Clean up URL damping
2020-03-17 12:14:17 -04:00
Jeremy Stretch
3ace83c5aa
Cache only the most recent NetBox release
2020-03-17 11:58:17 -04:00
Jeremy Stretch
356de985d2
Tweak release template variables
2020-03-17 11:49:45 -04:00
Jeremy Stretch
ab93606e4a
Check for an existing job before queuing a new one
2020-03-17 11:37:35 -04:00
Jeremy Stretch
ec2dc8d7a4
Fix template logic
2020-03-17 11:28:35 -04:00
Jeremy Stretch
a2eb2e7da6
Introduce a new 'check_releases' RQ queue
2020-03-17 11:22:56 -04:00
Jeremy Stretch
3590ed378d
Rename 'webhooks' REDIS config to 'tasks'
2020-03-17 10:22:56 -04:00
John Anderson
2f37357a1b
added support for prepending elements to middleware
2020-03-17 02:35:34 -04:00
John Anderson
981c982237
added support for plugin nav bar links
2020-03-17 02:35:12 -04:00
John Anderson
457354c244
inject origional context as obj_context
2020-03-17 00:03:58 -04:00
Jeremy Stretch
00afe7aa94
Merge pull request #4375 from netbox-community/4374-dynamic-fields-api-url
...
Closes #4374 : Automatically derive API endpoint for dynamic choice fields
2020-03-16 16:02:25 -04:00
Jeremy Stretch
450615e0bb
Change IPAddressForm.nat_vrf to DynamicModelChoiceField
2020-03-16 14:29:01 -04:00
Jeremy Stretch
73881ad1e0
Change CircuitTerminationForm.site to a DynamicModelChoiceField
2020-03-16 14:24:17 -04:00
John Anderson
2522b88fc6
Merge branch 'develop-2.8' into 3351-plugins
2020-03-16 14:21:05 -04:00
Jeremy Stretch
0068108c57
Remove APISelect widget/api_url argument from dynamic fields
2020-03-16 14:08:48 -04:00
Jeremy Stretch
400f6fc5fb
Dynamically resolve the API URL for dynamic choice fields
2020-03-16 13:30:35 -04:00
John Anderson
901143b72a
Merge branch 'develop' into develop-2.8
2020-03-16 12:17:00 -04:00
John Anderson
9a38586e13
rename FeatureQuery class
2020-03-16 11:58:35 -04:00
kobayashi
7ef9a6c0a7
Fixes #2769 : improve prefix_length validations
2020-03-16 03:20:15 -04:00
John Anderson
8364694fb4
added plugin template content injection to primary model detail views
2020-03-15 23:45:18 -04:00
John Anderson
683c5a22db
Merge branch 'develop-2.8' into 3351-plugins
2020-03-15 00:55:25 -04:00
John Anderson
0574ac7530
fixed migration order
2020-03-15 00:48:05 -04:00
John Anderson
a955f90a7e
Merge branch 'develop-2.8' into 3351-plugins
2020-03-15 00:26:33 -04:00
John Anderson
2dc31c0edd
Revert "implemented registry for extras model functionality"
...
This reverts commit 235d99021b
.
2020-03-15 00:25:46 -04:00
John Anderson
6ea15cec6f
Revert "refactor extras registry"
...
This reverts commit c189895f6c
.
2020-03-15 00:24:05 -04:00
John Anderson
9df238c5f2
Merge branch 'develop' into develop-2.8
2020-03-15 00:18:32 -04:00
John Anderson
9466802a95
closes #4368 - extras features model registration
2020-03-14 03:03:22 -04:00
Jeremy Stretch
d4f6909859
Rename Tag.comments to description
2020-03-13 17:00:00 -04:00
Jeremy Stretch
9f5b138b0f
Add migrations for description fields
2020-03-13 16:35:36 -04:00
Jeremy Stretch
cebe580484
Add a description field to all organizational models
2020-03-13 16:33:28 -04:00
Jeremy Stretch
3b4ec5926d
Standardize existing description fields to a length of 200 chars
2020-03-13 15:49:58 -04:00
Jeremy Stretch
c5776d9da4
Closes #4369 : Add a dedicated view for rack reservations
2020-03-13 13:53:44 -04:00
Jeremy Stretch
9e45cafac4
Cleaned up new release notification banner
2020-03-13 12:20:00 -04:00
Jeremy Stretch
2033d15b2f
Tweak UPDATE_REPO_URL to convey the full URL
2020-03-13 12:14:27 -04:00
Jeremy Stretch
e2123f4a9e
Clean up logging
2020-03-13 11:55:06 -04:00
Jeremy Stretch
f6dfd2fa43
Simplify update repo URL validation
2020-03-13 10:20:09 -04:00
Jeremy Stretch
1f382f9252
Merge branch 'develop' into 738-detect-new-releases
2020-03-13 10:05:24 -04:00
Jeremy Stretch
459bcd88a9
Fixes #4365 : Fix exception raised on IP address bulk add view
2020-03-13 09:07:03 -04:00
Jeremy Stretch
1487b5004d
Closes #4309 : Add descriptive tooltip to custom fields on object views
2020-03-12 21:43:34 -04:00
Jeremy Stretch
a28509019a
Closes #4363 : Standardize secret creation URL
2020-03-12 21:14:14 -04:00
John Anderson
c189895f6c
refactor extras registry
2020-03-12 18:12:12 -04:00
Jeremy Stretch
5e971994ff
Closes #4362 : Standardize URL for creation of RackReservations
2020-03-12 17:43:11 -04:00
Jeremy Stretch
f108049142
Remove outdated TODOs
2020-03-12 11:57:26 -04:00
Jeremy Stretch
9fc1e88d9f
Update minimum Python version to 3.6
2020-03-12 11:46:11 -04:00
Jeremy Stretch
a53f854187
Remove tests for API _choices endpoints
2020-03-12 10:48:53 -04:00
Jeremy Stretch
ea9de37dd1
Remove FieldChoicesViewSet
2020-03-12 10:48:17 -04:00
John Anderson
235d99021b
implemented registry for extras model functionality
2020-03-12 04:07:54 -04:00
John Anderson
8af4cf87b5
Merge branch 'develop-2.8' into 3351-plugins
2020-03-12 01:19:15 -04:00
Jeremy Stretch
b5d57262f9
Update tests for nested TenantGroups
2020-03-11 21:14:53 -04:00
Jeremy Stretch
45f6ea211d
Implement support for nested TenantGroups
2020-03-11 21:12:55 -04:00
Jeremy Stretch
c42613cf4d
Update filter fields
2020-03-11 14:57:48 -04:00
Jeremy Stretch
84de0458aa
Implement nested RackGroups
2020-03-11 14:40:29 -04:00
Jeremy Stretch
7ffc00159e
Tweak settings/middleware to support testing; improve tests
2020-03-11 11:10:26 -04:00
Jeremy Stretch
79aba5edf2
Fixes #4343 : Fix Markdown support for tables
2020-03-11 09:52:02 -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
90144ccd9a
Add tests for remote authentication configuration
2020-03-10 16:57:34 -04:00
Jeremy Stretch
8c6d35645d
Remote auth cleanup
2020-03-10 16:56:57 -04:00
John Anderson
0706c65ce6
Merge branch 'develop-2.8' into 3351-plugins
2020-03-10 15:15:23 -04:00
Jeremy Stretch
0dc3a72912
Merge branch 'develop-2.8' into 2328-external-authentication
2020-03-10 15:07:19 -04:00
Jeremy Stretch
0de857bf7a
Merge branch 'develop' into develop-2.8
2020-03-10 15:06:37 -04:00
Jeremy Stretch
55558cb272
Post-release version bump
2020-03-10 14:03:22 -04:00
Jeremy Stretch
7bf1420463
Release v2.7.10
2020-03-10 13:50:17 -04:00
Jeremy Stretch
1eddac4066
Fixes #4338 : Catch AddrFormatError exception when filtering aggregates/prefixes by an invalid prefix
2020-03-10 11:58:34 -04:00
Jeremy Stretch
2571f22ae5
Revert initial fix for #4336
2020-03-10 11:43:00 -04:00
Jeremy Stretch
5346efe009
Fixes #4337 : Allow bulk editing/deletion of all device components matching a query
2020-03-10 10:18:48 -04:00
Jeremy Stretch
bb3f37ca35
Fixes #4336 : Ensure interfaces without a channel/unit are ordered before a channel/unit of zero
2020-03-10 10:03:42 -04:00
Jeremy Stretch
0e49a7a1fd
Closes #4332 : Redirect to a user-friendly error page when CSS/JS resources fail to load
2020-03-09 15:33:57 -04:00
Jeremy Stretch
0eaec6bd83
Merge pull request #4335 from netbox-community/4325-rack-reservation-import
...
Closes #4325 : Add suport for rack reservations CSV import
2020-03-09 13:45:38 -04:00
Jeremy Stretch
8cca22d79c
Add nav menu entry for rack reservations import
2020-03-09 13:39:12 -04:00
Jeremy Stretch
e364a25e46
Add test for RackReservation import
2020-03-09 13:35:44 -04:00
Jeremy Stretch
049da81bf2
Convert units to SimpleArrayField
2020-03-09 12:46:12 -04:00
Jeremy Stretch
947affd78f
Extend BulkImportView._save_obj to pass request context
2020-03-09 12:39:07 -04:00
Jeremy Stretch
15ab30d0c6
Replace model_name and model_name_verbose filters with meta
2020-03-09 10:50:46 -04:00
Jeremy Stretch
16d3cebf3e
Update markdown filter name
2020-03-09 10:42:32 -04:00
Jeremy Stretch
1069ad21d8
Remove unused contains filter
2020-03-09 10:38:29 -04:00
Jeremy Stretch
1423fd9024
Rename gfm filter to render_markdown
2020-03-09 10:31:29 -04:00
Jeremy Stretch
0439be2870
Remove unused getlist and getkey filters
2020-03-09 10:24:37 -04:00
Jeremy Stretch
22246353e2
Remove oneline filter
2020-03-09 10:22:30 -04:00
Jeremy Stretch
4edd0b1fd6
Merge branch 'develop' into 4217-contextual-docs
2020-03-09 09:56:14 -04:00
Jeremy Stretch
f9073a2f07
Fixes #4326 : Exclude Python modules without Script classes from scripts list
2020-03-06 20:59:32 -05:00
Jeremy Stretch
ad9dfec894
Started on #4325 (WIP)
2020-03-06 17:14:26 -05:00
Jeremy Stretch
9a829500cd
Fix typo
2020-03-06 16:40:00 -05:00
Jeremy Stretch
9fa5004a35
Closes #4324 : Add CSV import view for services
2020-03-06 16:33:43 -05:00
Jeremy Stretch
2a5bf2a222
Fixes #4323 : Add bulk edit view for power panels
2020-03-06 16:05:26 -05:00
Jeremy Stretch
803287a514
Closes #4313 : Remove id__in filters
2020-03-06 12:05:53 -05:00
Jeremy Stretch
1a89e35729
Merge branch 'develop' into develop-2.8
2020-03-06 11:34:01 -05:00
Jeremy Stretch
5950bedfae
Post-release version bump
2020-03-06 11:26:59 -05:00
Jeremy Stretch
09298dab7a
Release v2.7.9
2020-03-06 11:17:17 -05:00
Jeremy Stretch
afcd9b801f
Delete squashed migration to avoid 'pending trigger events' exception under certain conditions
2020-03-06 10:32:12 -05:00
Jeremy Stretch
c50714ec42
Introduce DOCS_ROOT configuration parameter
2020-03-06 09:35:58 -05:00
Tomas Slusny
4136a5fd5e
List choices for choice fields as enums
...
Fixes #4062
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-03-05 23:44:37 -05:00
Jeremy Stretch
363c4acadc
Drop GitHub-flavored Markdown (py-gfm)
2020-03-05 16:30:12 -05:00
Jeremy Stretch
3b200bbffc
Remove title from docs modal
2020-03-05 14:54:48 -05:00
Jeremy Stretch
121c7ada1f
Add admonition support for embedded docs
2020-03-05 14:49:52 -05:00
Jeremy Stretch
25f4cae3ff
Add model doc modal to object add/edit template
2020-03-05 13:56:03 -05:00
Jeremy Stretch
9f42bce16a
Update modal template
2020-03-05 13:55:27 -05:00
Jeremy Stretch
defe59d79e
Introduce get_docs() template filter for models
2020-03-05 13:52:34 -05:00
John Anderson
bc954bc7be
Merge branch 'develop-2.8' into 3351-plugins
2020-03-04 22:17:14 -05: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
9df2769383
Enable system logging for reports
2020-03-04 14:22:30 -05:00
Jeremy Stretch
36cbbac870
Enable system logging for custom scripts
2020-03-04 14:05:59 -05:00
Jeremy Stretch
406b88777c
Add logging for DRF views
2020-03-04 13:32:45 -05:00
Jeremy Stretch
113313e000
Merge pull request #4001 from steffann/738-automatically-check-for-new-releases
...
Fixes : #738 : Automatically check for new versions
2020-03-04 12:22:57 -05:00
Jeremy Stretch
1dd07337fd
Merge pull request #4189 from netbox-community/4121-filter-lookup-expressions
...
4121 filter lookup expressions
2020-03-04 11:51:19 -05:00
Jeremy Stretch
57b6ac7cb1
Finish work on improved custom fields API tests
2020-03-04 09:53:49 -05:00
Jeremy Stretch
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
Jeremy Stretch
e4abfd192e
Introduce CustomFieldDefaultValues class to handle default custom field values
2020-03-03 14:54:48 -05:00
Jeremy Stretch
c85bcbcf31
Merge branch 'develop' into develop-2.8
2020-03-03 13:20:00 -05:00
Jeremy Stretch
e4fc37e91a
Merge pull request #4304 from dstarner/4288-incorrect-swagger-type
...
Set local_context_data serializer on Device and VM to method
2020-03-03 12:13:06 -05:00
Jeremy Stretch
74821c2c17
Closes #4218 : Allow negative voltage for DC power feeds
2020-03-03 12:10:08 -05:00
Dan Starner
e6ee9803d4
use FieldInspector for JSONField type
2020-03-03 12:04:46 -05:00
Jeremy Stretch
1e4dd102bd
Closes #4290 : Include device name in tooltip on rack elevations
2020-03-03 10:35:07 -05:00
Jeremy Stretch
0f9c37fbc7
Closes #4284 : Add MRJ21 port and cable types
2020-03-03 10:13:21 -05:00
Jeremy Stretch
a261060e5c
Closes #4305 : Add 10-inch option for rack width
2020-03-03 10:07:20 -05:00
Jeremy Stretch
78a1aad6c0
Fixes #4306 : Fix toggling of device images for all racks in elevations view
2020-03-03 10:04:35 -05:00
Jeremy Stretch
7b6bd75c22
#4295 follow-up: Tweak handling of initial data for bulk edit forms
2020-03-03 09:43:56 -05:00
Jeremy Stretch
c983dac771
Add logging output to login/logout views
2020-03-02 17:04:54 -05:00
Jeremy Stretch
7a10748355
Add logging output to API viewsets
2020-03-02 16:52:21 -05:00
Jeremy Stretch
ca1186dca1
Add logging output to utility views
2020-03-02 16:38:51 -05:00
Daniel Starner
3070c7e991
fix linting mistake
2020-03-02 15:45:58 -05:00
Dan Starner
406708218b
set local_context_data serializer on device and vm to method
2020-03-02 13:47:07 -05:00
Jeremy Stretch
c7b74b2090
Fixes #4300 : Pass "commit" argument when executing scripts via REST API
2020-03-02 13:29:32 -05:00
Jeremy Stretch
1e1c6526b2
Add BaseFilterSetTest to validate automatic generation of filters
2020-03-02 12:25:21 -05:00
kobayashi
0be5488104
Fix #4274 : Set correct value schema for int typed ChoiceField
2020-03-02 11:26:56 -05:00
Jeremy Stretch
13fcdc0c1e
Fixes #4301 : Fix exception when deleting device type with components
2020-03-02 09:41:37 -05:00
John Anderson
5f5edbc10e
added config option to disable plugins
2020-03-01 03:42:05 -05:00
John Anderson
71a8a13644
add api urls and signals interface for detail route buttons
2020-03-01 03:24:17 -05:00
John Anderson
a17c22746d
initial work on #3351
2020-02-29 02:23:01 -05:00
John Anderson
e5f8f15293
added lookup map for treenode filter
2020-02-28 19:58:06 -05:00
Jeremy Stretch
e285d0b547
Remove obsolete querydict_to_dict() utility function
2020-02-28 15:47:59 -05:00
Jeremy Stretch
5dc956fbe1
First stab at external authentication support
2020-02-28 15:16:31 -05:00
Jeremy Stretch
1449dfc966
Fixes #4295 : Fix assignment of parent LAG during interface bulk edit
2020-02-28 09:44:41 -05:00
Sander Steffann
fcf3b14712
Add unittests
2020-02-27 21:54:43 +01:00
Sander Steffann
28473fa3e0
Disable update check by default
2020-02-27 19:40:06 +01:00
Sander Steffann
8ce106cb4b
Move request to background task
2020-02-27 19:36:02 +01:00
Jeremy Stretch
bdf9857e6f
Closes #4294 : Add tenancy filter tests for all models
2020-02-27 13:28:08 -05:00
Sander Steffann
22ac9f63a1
Don't overwrite the header block, append to it
2020-02-27 18:27:36 +01:00
Sander Steffann
0de7f4712f
Fix check for permissions
2020-02-27 18:27:36 +01:00
Sander Steffann
8d92089487
Improve comments and error message on invalid characters in URL
2020-02-27 18:27:36 +01:00
Sander Steffann
3a0849699f
Rename settings to be more generic, not GitHub-only
2020-02-27 18:27:36 +01:00
Sander Steffann
008fc5623e
Full URL for API, more consistent naming, only enabled for staff and better configuration validation
2020-02-27 18:27:36 +01:00
Sander Steffann
9d66ac4a6a
Refactor the code to be more readable
2020-02-27 18:26:15 +01:00
Sander Steffann
405d93c6f2
Update versions.py
2020-02-27 18:26:15 +01:00
Sander Steffann
2fcdc90d3f
Automatically check for new versions
2020-02-27 18:26:15 +01:00
dansheps
27e3b6f377
Remove second variables, make widget mandatory on ObjectVar and MultiObjectVar
2020-02-27 07:45:11 -06:00
Jeremy Stretch
faf676e6e0
Closes #4281 : Allow filtering device component list views by type
2020-02-26 17:22:53 -05:00
Jeremy Stretch
624566b04e
Fixes #4282 : Fix label on export button for device types
2020-02-26 16:49:39 -05:00
Jeremy Stretch
5a00939512
Fixes #4285 : Include A/Z termination sites in provider circuits table
2020-02-26 16:41:59 -05:00
John Anderson
c908f132ec
Merge branch 'develop' into 4121-filter-lookup-expressions
2020-02-26 12:05:27 -05:00
Jeremy Stretch
5a61bbec26
Fixes #4277 : Fix filtering of clusters by tenant
2020-02-26 09:11:38 -05:00
John Anderson
3b4607d30d
refactor lookup map logic
2020-02-25 15:16:27 -05:00
Jeremy Stretch
5befe66aa5
Post-release version bump
2020-02-25 15:11:04 -05:00
Jeremy Stretch
7e81d5fe11
Release v2.7.8
2020-02-25 15:04:08 -05:00
Jeremy Stretch
6b4858303b
Fix object list table width when no filter_form is present
2020-02-25 15:03:27 -05:00
Jeremy Stretch
5000f7f8d7
Extend custom scripts to pass the 'commit' value via run()
2020-02-25 14:49:41 -05:00
Jeremy Stretch
f643af13d7
Fix field label for Prefix.vrf
2020-02-25 14:12:53 -05:00
John Anderson
afc8c9bfe9
fix tenancy filterset bases
2020-02-25 13:50:31 -05:00
Jeremy Stretch
a6e859d9b7
Remove extraneous prefetches from racks queryset
2020-02-25 12:35:27 -05:00
Jeremy Stretch
5bf68493df
Changelog & cleanup for #4267
2020-02-25 12:34:48 -05:00
Jeremy Stretch
43f3488270
Merge pull request #4271 from ananace/4267-rack-roles-in-elevations
...
Fixes #4267 : Display rack roles in elevation list view
2020-02-25 12:18:31 -05:00
Jeremy Stretch
62efe0621f
Fixes #4272 : Interface type should be required by API serializer
2020-02-25 11:20:43 -05:00
Jeremy Stretch
40b56d7f62
Merge branch 'develop' into 4227-omit-private-changelog
2020-02-25 11:02:11 -05:00
Jeremy Stretch
c3b64164ba
Always use a JSON object to convey change data when no body template is present
2020-02-25 10:43:14 -05:00
Alexander Olofsson
838291c3f3
Display rack roles in elevation list view
2020-02-25 16:00:21 +01:00
Saria Hajjar
3296298d21
Fixes #4227 : Omit internal fields from the change log data
2020-02-25 14:48:11 +00:00
Jeremy Stretch
211311be9f
Add http_method field to Webhook
2020-02-24 20:42:24 -05:00
Jeremy Stretch
9a532b1eb2
Extend templatization ability to additional_headers field
2020-02-24 17:47:17 -05:00
Jeremy Stretch
1fbd3a2c26
Convert additional_headers to a TextField
2020-02-24 16:59:35 -05:00
Jeremy Stretch
99038ffc44
Enable custom templating for webhook request content
2020-02-24 16:12:46 -05:00
John Anderson
67565ca191
added docs and more tests
2020-02-24 15:03:07 -05:00
Jeremy Stretch
4d1749cc71
Remove CONNECTION_STATUS_CONNECTED and CONNECTION_STATUS_PLANNED constants
2020-02-24 14:18:19 -05:00
Jeremy Stretch
f7b620c6a2
Closes #3145 : Add 'decommissioning' status for cables
2020-02-24 14:09:36 -05:00
Jeremy Stretch
76138f3080
Fixes #4222 : Escape double quotes on encapsulated values during CSV export
2020-02-24 13:29:00 -05:00
Jeremy Stretch
36f8d6d259
Disconnect post_save & pre_delete signals after the response has been received
2020-02-24 12:42:51 -05:00
Jeremy Stretch
909971f237
Fixes #4221 : Fix exception when deleting a device with interface connections when an interfaces webhook is defined
2020-02-24 12:41:55 -05:00
dansheps
8ed0d0400f
Add tests
2020-02-24 10:30:57 -06:00
Jeremy Stretch
cfd813772d
Merge pull request #4257 from netbox-community/4250-extend-view-tests
...
Extend ViewTestCases for create/edit/delete/import views
2020-02-24 11:30:01 -05:00
Jeremy Stretch
2b484955aa
Extend ViewTestCases for create/edit/delete/import views to also check non-data-bound GET requests
2020-02-24 11:23:42 -05:00
dansheps
a5853427d4
Update __all__ for #4255
2020-02-24 10:21:17 -06:00
dansheps
d0bd1ad25b
Fixes : #4255 - Add new script variable types based on dynamic model fields
2020-02-24 10:18:19 -06:00
Daniel Sheppard
d0c82c23bd
Merge pull request #4244 from netbox-community/4230-filter_rack_unit_on_elevations
...
Fixes : #4230 - Fixes rack units filtering on elevation endpoint
2020-02-24 09:25:42 -06:00
Jeremy Stretch
61c0a4cc61
Fixes #4252 : Fix power port assignment for power outlet templates created via REST API
2020-02-24 10:13:47 -05:00
Jeremy Stretch
b97d3b0716
Fixes #4246 : Fix duplication of field attributes when multiple IPNetworkVars are present in a script
2020-02-24 10:01:31 -05:00
Jeremy Stretch
25d126d4ff
Call prepare_value() to avoid passing model instances directly to the filterset
2020-02-24 09:31:31 -05:00
Dan Sheppard
2b75e05ea7
Fixes : #4230 - Fixes filtering by position on elevation endpoint
...
* Add tests for rack elevation filtering
* Add q variable to serializers for RackElevationDetailFilterSerializer
* Add code to allow filtering of position on the rack elevation
2020-02-22 08:24:26 -06:00
Jeremy Stretch
1a997610c7
Fixes #4241 : Correct IP address hyperlinks on interface view
2020-02-21 21:43:04 -05:00
Jeremy Stretch
04ee55a40c
Fixes #4240 : Fix exception when filtering foreign keys by NULL
2020-02-21 21:38:25 -05:00
Jeremy Stretch
1c72d75b62
Fixes #4239 : Fix exception when selecting all filtered objects during bulk edit
2020-02-21 20:44:53 -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
28e3b7af18
Merge branch 'develop' into develop-2.8
2020-02-21 15:26:55 -05:00
Jeremy Stretch
12602a95ea
All fields on RenderedGraphSerializer should be read-only
2020-02-21 14:45:07 -05:00
Jeremy Stretch
11d012de4e
Fixes #4235 : Fix API representation of content_type for export templates
2020-02-21 14:38:38 -05:00
Jeremy Stretch
2c4136f514
Merge pull request #4233 from netbox-community/4228-rack-elevation-images
...
Fixes #4228 : Fix display of device images in rack elevations
2020-02-21 13:55:32 -05:00
Jeremy Stretch
a14c7980f6
Fixes #4232 : Enforce consistent background striping in rack elevations
2020-02-21 13:49:28 -05:00
Jeremy Stretch
329740d2a7
Add "Save SVG" link beneath rack elevation display
2020-02-21 13:28:18 -05:00
Jeremy Stretch
8ffba6a279
Clean up rack view CSS
2020-02-21 13:19:45 -05:00
Jeremy Stretch
5a02dc457c
Fixes #4228 : Fit device images to rack unit; tweak default aspect ratio
2020-02-21 12:43:24 -05:00
LuPo
0b3111c47f
Fix drawing rear elevation when full-height device has been assigned only front image
2020-02-21 13:42:52 +02:00
Jeremy Stretch
493d68a57a
Post-release version bump
2020-02-20 14:59:00 -05:00
Jeremy Stretch
2b134ea0f0
Release v2.7.7
2020-02-20 14:48:23 -05:00
Jeremy Stretch
58ff08be4e
#1529 : Add front/rear image fields to DeviceType serializer
2020-02-20 14:37:08 -05:00
Jeremy Stretch
cdcc63fdf6
Merge pull request #4208 from wtinetworkgear/rj11add
...
Added serial console_port type rj-11 for a POTS modem connection
2020-02-20 14:26:24 -05:00
Jeremy Stretch
c0052eb416
Closes #4209 : Enable filtering interfaces list view by enabled
2020-02-20 14:24:22 -05:00
Jeremy Stretch
214470fb84
Rearrange powerfeed view
2020-02-20 14:16:18 -05:00
Jeremy Stretch
e76ea2a03c
Merge pull request #4214 from ironick09/develop
...
Fix Power Feed page to render Custom Fields and Tags
2020-02-20 14:14:57 -05:00
Jeremy Stretch
6c272adb0e
Clean up rack headers and border
2020-02-20 14:10:48 -05:00
Jeremy Stretch
e8a8b39c47
Tweak gitignore to include devicetype-images directory
2020-02-20 13:42:23 -05:00
Jeremy Stretch
c78d30d47e
Enable toggling of device images on elevations list
2020-02-20 13:20:58 -05:00
Jeremy Stretch
ba6562a5db
Add ability to toggle the inclusion of device images when rendering a rack elevation SVG
2020-02-20 13:09:43 -05:00
Josh Niec
b28729baff
Fix rendering for powerfeeds_list to show any added custom fields or tags on object
...
Signed-off-by: Josh Niec <ironick09@gmail.com>
2020-02-20 12:03:09 -06:00
Jeremy Stretch
adf9221bab
Refactor rack elevation mixin to RackElevationSVG
2020-02-20 12:48:44 -05:00
Jeremy Stretch
d2157a3423
Add front/rear images for device types; include in rack elevations
2020-02-20 12:11:59 -05:00
Jeremy Stretch
584539d0a3
#3810 : Fix bug in Javascript
2020-02-20 10:20:19 -05:00
Jeremy Stretch
322b328584
Fixes #4211 : Include trailing text when naturalizing interface names
2020-02-20 09:49:15 -05:00
Jeremy Stretch
b38eeaebc9
Clarify ciphertext length calculation; remove Python 2 compatibility
2020-02-19 21:14:56 -05:00
Jeremy Stretch
66fa79741d
Add min/max length tests for secrets
2020-02-19 21:06:21 -05:00
Ken Partridge
09805ddc4a
Added serial console_port type rj-11 for a POTS modem connection
2020-02-19 15:39:53 -08:00
Jeremy Stretch
1130f6b9f0
Remove dependency on RawSQL from IPAddress manager
2020-02-19 17:17:41 -05:00
Jeremy Stretch
be23230938
Update tests to match new string representation of ContentTypes
2020-02-19 15:31:15 -05:00
Jeremy Stretch
7b93155b06
Fix form field ordering; self.fields no longer an OrderedDict
2020-02-19 15:08:15 -05:00
Jeremy Stretch
b7d41bc42c
Rename MPTT migration
2020-02-19 14:46:53 -05:00
Jeremy Stretch
7a53e24f97
Closes #3810 : Preserve slug value when editing existing objects
2020-02-19 13:53:11 -05:00
Jeremy Stretch
f05c7be394
Fixes #4204 : Fix assignment of mask length when bulk editing prefixes
2020-02-19 13:28:07 -05:00
Jeremy Stretch
2cf990bd92
Standardize on two-word form of "change log"
2020-02-19 12:45:52 -05:00
Jeremy Stretch
21473548a5
Merge pull request #4181 from hSaria/2511-change-diff
...
Fixes #2511 : Compare object change to the previous change
2020-02-19 12:41:24 -05:00
Jeremy Stretch
626513a8b2
Fixes #4202 : Prevent reassignment to master device when bulk editing VC member interfaces
2020-02-19 11:29:42 -05:00
Jeremy Stretch
f1b0421805
Temporary hack to avoid name collision without renaming the secrets app
2020-02-18 18:00:00 -05:00
Jeremy Stretch
8cfb5ac5c6
Fixes #3967 : Fix missing migration for interface templates of type "other"
2020-02-18 16:56:50 -05:00
Jeremy Stretch
ae1767b5d0
Remove obsolete InterfaceManager
2020-02-18 16:22:17 -05:00
Jeremy Stretch
84d078a539
Fixes #4196 : Fix exception when viewing LLDP neighbors page
2020-02-18 16:21:50 -05:00
Jeremy Stretch
01b9d1a493
Closes #3848 : Upgrade to Django 3.0
2020-02-18 16:03:28 -05:00
Jeremy Stretch
4ea8967c2d
Fixes #4194 : Role field should not be required when searching/filtering secrets
2020-02-18 11:14:37 -05:00
Jeremy Stretch
a456cbb26c
Fixes #4179 : Site is required when creating a rack group or power panel
2020-02-18 11:08:16 -05:00
Jeremy Stretch
5b505b21c8
Fixes #4183 : Fix representation of NaturalOrderingField values in change log
2020-02-18 10:50:14 -05:00
John Anderson
9116d74cf7
merge develop
2020-02-18 00:39:30 -05:00
John Anderson
a136a0788c
#4121 - dynamic filter lookup expressions
2020-02-18 00:32:58 -05:00
Saria Hajjar
faa22cb637
Fixes #2511 : Compare object change to the previous change
2020-02-15 22:39:08 +00:00
Jeremy Stretch
f6cbce65fa
Merge pull request #4178 from netbox-community/4081-drop-ip-family
...
Closes #4081 : Drop the family column from IP objects
2020-02-14 15:42:19 -05:00
Jeremy Stretch
f0ced98dc6
Delete unused test data
2020-02-14 15:17:04 -05:00
Jeremy Stretch
fcdb05238c
Restore filters
2020-02-14 15:16:18 -05:00
Jeremy Stretch
8687226cc7
Update family filters in querysets
2020-02-14 15:11:12 -05:00
Jeremy Stretch
047f13ac5d
Update tests
2020-02-14 15:10:34 -05:00
Jeremy Stretch
b475a575e4
Drop family column from Aggregate, Prefix, and IPAddress models
2020-02-14 15:04:33 -05:00
Jeremy Stretch
1a8eea5aa9
Fixes #4175 : Fix potential exception when bulk editing objects from a filtered list
2020-02-14 14:27:47 -05:00
Jeremy Stretch
8cb6aed8fa
Closes #3753 : Remove rack units endpoint (replaced with elevation)
2020-02-14 13:59:07 -05:00
Jeremy Stretch
926b1fadf2
Merge branch 'develop' into develop-2.8
2020-02-14 13:44:10 -05:00
Jeremy Stretch
440f754fec
Clean up TODO notes
2020-02-14 13:30:53 -05:00
Jeremy Stretch
815a46bfbe
Convert device and VM list views to use obj_list.html
2020-02-14 13:21:32 -05:00
Jeremy Stretch
182fddddd2
Merge branch 'develop' into 4164-object-list-template
2020-02-14 13:11:30 -05:00
Jeremy Stretch
ce89fa74b9
Closes #4170 : Improve color contrast in rack elevation drawings
2020-02-14 13:09:01 -05:00
Jeremy Stretch
7ce1289bb2
Clean up unused imports
2020-02-14 12:04:56 -05:00
Jeremy Stretch
6bc7be7ba5
Merge pull request #3925 from hSaria/3840-limit-vlan-choices
...
Fixes #3840 : Only show valid interface VLAN choices
2020-02-14 11:48:29 -05:00
Saria Hajjar
7aba8e3ec4
Added back clean
2020-02-14 16:43:42 +00:00
Dan Starner
ec0f45e20d
remove redis conn check from extras AppConfig
2020-02-14 11:16:59 -05:00
Dan Starner
03a7f6bbda
ammend redis conn check to acccount for sentinel
2020-02-14 09:39:01 -05:00
Jeremy Stretch
0a8d39cfe4
Merge pull request #3726 from eSentire/fix-2519
...
Fix race condition in available-prefix/ip APIs
2020-02-14 09:32:51 -05:00
Jeremy Stretch
1d72436bfc
Fixes #4168 : Role is not required when creating a virtual machine
2020-02-14 09:13:05 -05:00
Jeremy Stretch
598d23fc03
Post-release version bump
2020-02-13 21:51:03 -05:00
Jeremy Stretch
0863145c7f
Release v2.7.6
2020-02-13 21:46:03 -05:00
Jeremy Stretch
909323663e
Fixes #4166 : Fix schema migrations to enforce maximum character length for naturalized fields
2020-02-13 21:41:00 -05:00
Jeremy Stretch
8212c8f6fc
Convert IPAM list views to extend standard template
2020-02-13 17:22:17 -05:00
Jeremy Stretch
8df9bb6fb4
Convert change log view to extend standard template
2020-02-13 17:11:39 -05:00
Jeremy Stretch
ff952fb221
Migrate extras views to use common object list template
2020-02-13 16:39:38 -05:00
John Anderson
9ead2635c5
merge develop
2020-02-13 16:00:07 -05:00
Jeremy Stretch
4d50cad6ed
Post-release version bump
2020-02-13 15:39:08 -05:00
Jeremy Stretch
08ce024473
Release v2.7.5
2020-02-13 15:32:09 -05:00
Jeremy Stretch
fafcdf7def
Merge pull request #4161 from dstarner/issue-3984-redis-sentinel-conn
...
Fixes #3984 : Allow for Redis Sentinel Connection Configuration
2020-02-13 15:14:42 -05:00
Jeremy Stretch
92fab048d1
Add tests for naturalization functions
2020-02-13 15:13:43 -05:00
Jeremy Stretch
6884404957
Migrate virtualization views to use common object list template
2020-02-13 14:24:22 -05:00
Jeremy Stretch
88c917231d
Migrate tenancy views to use common object list template
2020-02-13 14:21:14 -05:00
Jeremy Stretch
a054aff3c4
Migrate secrets views to use common object list template
2020-02-13 14:19:14 -05:00
Jeremy Stretch
8fd809ac5e
Migrate IPAM views to use common object list template
2020-02-13 14:17:13 -05:00
Jeremy Stretch
fff657cd5a
Migrate DCIM views to use common object list template
2020-02-13 14:07:15 -05:00
Jeremy Stretch
4ef15e4dc8
Migrate circuits views to use common object list template
2020-02-13 13:31:04 -05:00
Jeremy Stretch
c5f74cce80
Introduce a common template for object list views
2020-02-13 13:29:50 -05:00
Jeremy Stretch
874e59b01a
Closes #4060 : Move secrets panel on home page to righthand column
2020-02-13 10:30:12 -05:00
Dan Starner
72f0e31b84
fixed extraneous linting error
2020-02-13 10:27:56 -05:00
Dan Starner
3538eeda14
allow for redis sentinel connection
2020-02-13 10:26:03 -05:00
Jeremy Stretch
0c89534bfb
Closes #4160 : Link to full database configuration parameters in configuration docs
2020-02-13 10:08:10 -05:00
Jeremy Stretch
3e0ab79977
Merge pull request #4162 from netbox-community/4159-caching_redis_using_wrong_key
...
Fixes : #4159 - Corrects settings.py to use CACHING_REDIS
2020-02-13 09:46:41 -05:00
Jeremy Stretch
344fa72357
renaturalize command should not skip any values
2020-02-13 09:33:01 -05:00
Daniel Sheppard
617fc7659f
Fixes : #4159 - Corrects settings.py to use CACHING_REDIS instead of WEBHOOKS_REDIS
2020-02-13 08:26:47 -06:00
kobayashi
335343642b
additional status choices for vms
2020-02-12 22:43:40 -05:00
kobayashi
bc7f5fb33a
Modify offline status color for vm
2020-02-12 22:19:17 -05:00
kobayashi
ca56fc709a
Fixes #4093 : Add decommissioning for vms
2020-02-12 22:19:17 -05:00
Jeremy Stretch
53804d39bb
Merge pull request #4142 from netbox-community/3766-enable_widgets_in_script_fields
...
Fixes : #3766 - Enable widget usage in scripts
2020-02-12 16:48:08 -05:00
Jeremy Stretch
0c942f18c1
Merge pull request #4068 from netbox-community/4034-prefix_ordering_tests
...
Fixes : #4034 - Adds Prefix & IPAddress Ordering Tests
2020-02-12 16:27:02 -05:00
Jeremy Stretch
00d32f0a7d
Merge pull request #4156 from netbox-community/4153-renaturalize-command
...
Closes #4153 : Add a "renaturalize" management command
2020-02-12 16:20:52 -05:00
Jeremy Stretch
df3fef8bb1
Merge pull request #4154 from netbox-community/4138-device_bays_in_rack_elevations
...
Fixes : #4138 - Add Device Bay count to rack elevation
2020-02-12 16:19:57 -05:00
Jeremy Stretch
4064c32a7f
Fix nav menu link for configcontext_add
2020-02-12 16:16:23 -05:00
Jeremy Stretch
64c0059dd8
Merge pull request #4155 from hSaria/4150-yaml-nested-tags
...
Fixes #4150 : Replace OrderedDict with Dict when rendering YAML
2020-02-12 16:13:32 -05:00
Jeremy Stretch
d0ece2e48d
Merge pull request #4144 from netbox-community/3986-rack_positions_svg
...
Fixes : #3986 - Convert rack units to part of SVG rendered document
2020-02-12 16:06:05 -05:00
Jeremy Stretch
139f18b2e5
Closes #4153 : Add a management command to manually renaturalize applicable objects (from #3799 )
2020-02-12 15:59:37 -05:00
Saria Hajjar
8eea0331bf
Fixes #4150 : Replace OrderedDict with Dict when rendering YAML
2020-02-12 19:59:04 +00:00