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 |
|