Jeremy Stretch
07f68ae579
Closes #13038 : Establish DEFAULT_PERMISSIONS
config parameter ( #13308 )
...
* Introduce the DEFAULT_PERMISSIONS config parameter
* Establish default permissions for user token management
2023-07-30 15:04:58 -04:00
Jeremy Stretch
ca634be7ad
Closes #13311 : Always use get_permission_for_model() to resolve permission names
2023-07-30 14:32:02 -04:00
Jeremy Stretch
2a0d76d564
Merge branch 'develop' into feature
2023-07-30 13:36:51 -04:00
Jeremy Stretch
0b10131564
Satisfy PEP8 E721 linter complaints
2023-07-30 13:34:08 -04:00
Arthur Hanson
7c17d2e932
Closes #13102 : Establish initial translation support in templates
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-28 16:30:25 -04:00
Jeremy Stretch
cf1b1a83eb
Closes #12194 : Add pre-defined custom field choices ( #13219 )
...
* Initial work on custom field choice sets
* Rename choices to extra_choices (prep for #12194 )
* Remove CustomField.choices
* Add & update tests
* Clean up table columns
* Add order_alphanetically boolean for choice sets
* Introduce ArrayColumn for choice lists
* Show dependent custom fields on choice set view
* Update custom fields documentation
* Introduce ArrayWidget for more convenient editing of choices
* Incorporate PR feedback
* Misc cleanup
* Initial work on predefined choices for custom fields
* Misc cleanup
* Add IATA airport codes
* #13241 : Add support for custom field choice labels
* Restore ArrayColumn
* Misc cleanup
* Change extra_choices back to a nested ArrayField to preserve choice ordering
* Hack to bypass GraphQL API test utility absent support for nested ArrayFields
2023-07-28 11:24:21 -04:00
Jeremy Stretch
9d3bb585a2
Update version
2023-07-28 10:36:44 -04:00
Jeremy Stretch
d52c18ce38
Merge branch 'develop' into feature
2023-07-28 10:36:09 -04:00
Jeremy Stretch
006c353d46
PRVB
2023-07-28 10:31:54 -04:00
Jeremy Stretch
4f984c0831
Release v3.5.7
2023-07-28 10:11:16 -04:00
Jeremy Stretch
90146941b5
Fixes #13285 : Cast default u_height value to a decimal for validation
2023-07-28 09:49:09 -04:00
Bruno Blanes
9d0457fe1a
Add Brazilian power outlet standard to choices.py ( #13012 )
...
* Add Brazilian power outlet standard to choices.py
* Eliminate possible name conflict
* Rename group and add IEC 60906-1 plug type
* Update choices.py
Add Brazilian power port standard
2023-07-28 09:26:46 -04:00
Abhimanyu Saharan
2aa51d0d94
Adds contact assignment bulk import ( #13109 )
...
* adds contact assignment bulk import #11307
* Remove unsupported tags field added by NetBoxModelImportForm
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-28 09:23:22 -04:00
Abhimanyu Saharan
7158360dfa
moves non-racked devices to tab #11803
2023-07-28 08:59:15 -04:00
Daniel W. Anner
eeb069048f
Adding 100gbase-x-dsfp and 100gbase-x-sfpdd ( #13236 )
...
* Adding 100gbase-x-dsfp
* fixing missing comma
* Adding interface `TYPE_100GE_SFP_DD`/`100gbase-x-sfpdd`
* Update netbox/dcim/choices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2023-07-27 19:02:08 -04:00
kkthxbye-code
4b2922312a
Allow the align property on th and td and add CSS rules for overriding text-alignment
2023-07-27 16:38:46 -04:00
Abhimanyu Saharan
0276f29067
adds sensitive_parameters to DataBackend #12625
2023-07-27 16:33:29 -04:00
Abhimanyu Saharan
0ab3f979e0
Adds faster polling for scripts and reports ( #13202 )
...
* adds faster polling for scripts and reports #13097
* changes as per review
2023-07-27 15:59:41 -04:00
kkthxbye-code
5a3d46ac8d
Remove vlan_group from nullable fields in InterfaceBulkEditForm
2023-07-27 15:58:16 -04:00
Fabian Geisberger
d075e7a66a
Fixes #13237 - Allow unauthenticated api access to content-types.
2023-07-27 15:47:34 -04:00
kkthxbye-code
8b8adfbbbb
Use class_name instead of name to get script results
2023-07-27 15:32:29 -04:00
Arthur
83c092f685
13272 fix graphql tests
2023-07-27 14:25:49 +07:00
Abhimanyu Saharan
0f9fe96192
Adds rf_role to interface template ( #13199 )
...
* adds rf_role to interface template #13170
* fixed migration file conflict
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-26 09:13:24 -04:00
Jeremy Stretch
5b5444f414
Closes #13269 : Cache component template counts on device types
2023-07-25 16:38:05 -04:00
Jeremy Stretch
daa8f71bb6
Closes #10197 : Add a cached counter field for virtual chassis members
2023-07-25 15:50:12 -04:00
Jeremy Stretch
9b6e32896d
Clean up users & account URLs
2023-07-25 15:48:40 -04:00
Jamie (Bear) Murphy
154b8236a2
Oob ip (devices) ( #13013 )
...
* initial oob_ip support for devices
* add primary ip and oob ip checkmark to ip address view
* add oob ip to device view and device edit view
* pep8
* make is_oob_ip and is_primary_ip generic for other models
* refactor oob_ip
* fix oob ip signal
* string capitalisation
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 14:40:40 -04:00
Arthur Hanson
7600d7b344
Closes #13228 : Move token management views to primary UI
2023-07-25 13:43:40 -04:00
Arthur Hanson
149a496011
6347 Cache the number of each component type assigned to devices/VMs ( #12632 )
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 09:39:05 -04:00
Arthur Hanson
a4acb50edd
12589 move user and group admin from admin ( #12877 )
...
Move admin views for users, groups, and object permissions from the admin site to the NetBox frontend
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-20 16:22:08 -04:00
Jeremy Stretch
96ea0ac9c7
Closes #12988 : Introduce custom field choice sets ( #13195 )
...
* Initial work on custom field choice sets
* Rename choices to extra_choices (prep for #12194 )
* Remove CustomField.choices
* Add & update tests
* Clean up table columns
* Add order_alphanetically boolean for choice sets
* Introduce ArrayColumn for choice lists
* Show dependent custom fields on choice set view
* Update custom fields documentation
* Introduce ArrayWidget for more convenient editing of choices
* Incorporate PR feedback
* Misc cleanup
2023-07-19 10:26:24 -04:00
Jeremy Stretch
837be4d45f
Merge branch 'develop' into feature
2023-07-11 10:09:26 -04:00
Jeremy Stretch
0f0cf683c4
PRVB
2023-07-10 16:55:17 -04:00
Jeremy Stretch
1c30a44b4e
Release v3.5.6
2023-07-10 16:35:53 -04:00
Jeremy Stretch
f6fcf776a4
Fixes #13061 : Fix display of last result for scripts & reports with a custom name defined
2023-07-10 14:13:45 -04:00
Jeremy Stretch
73348ee435
Fixes #13105 : Avoid exception when attempting to allocate next available IP address from prefix marked as utilized
2023-07-10 13:53:31 -04:00
Abhimanyu Saharan
cab7b76220
Fixes form rendering when scheduling_enabled is disabled ( #13123 )
...
* fixes form rendering when scheduling_enabled is disabled #13096
* Remove requires_input property from BaseScript; render form consistently
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-10 10:30:51 -04:00
Abhimanyu Saharan
bc7678c716
fixes content type lookups when db is uninitialized #13116
2023-07-07 09:43:33 -04:00
Jeremy Stretch
63c33ff4be
PRVB
2023-07-06 16:40:11 -04:00
Jeremy Stretch
53a75a3dd7
Release v3.5.5
2023-07-06 16:20:14 -04:00
Abhimanyu Saharan
74fb707ad3
adds config_template to device serializer #13056
2023-07-06 16:04:21 -04:00
Jeremy Stretch
7419a8e112
Closes #11738 : Annotate utilization on VLAN groups ( #13108 )
...
* Update serializers.py
* Update vlans.py
* Update vlans.py
* Update vlangroup.html
* Update vlans.py
* Update vlans.py
* Update serializers.py
* adds db annotation to calculate utilization
* optimize queries
* merge fix
* adds round function for utilization to limit decimal
* fixed object view annotation
* consolidated queryset for utilization
* lint fixes
* Renamed manager method to annotate_utilization() for consistency with other managers
---------
Co-authored-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com >
2023-07-06 14:51:28 -04:00
Abhimanyu Saharan
62bdb90f61
Adds copy content button ( #12584 )
...
* adds copy content button #12499
* adds newline
* Omit hash mark from target string
* Clean up HTML element IDs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-06 14:19:55 -04:00
Abhimanyu Saharan
8143c6e03b
adds object change for contact assignment #13065
2023-07-06 09:45:31 -04:00
Abhimanyu Saharan
ffe4558ec5
fixes search for vdc #13100
2023-07-06 09:41:43 -04:00
Abhimanyu Saharan
16ee42ac38
fixes prechange snapshot #12617
2023-07-06 09:39:09 -04:00
Anthony Brissonnet
860be780ad
Fix #12579 create cable and add another error ( #13007 )
...
* fix create cable and add another error #12579
* fix return proper parent object field
* improve code and wokflow
---------
Co-authored-by: netopsab <abrisson@cerbere.rp.sig .u-bourgogne.fr>
2023-07-06 09:28:45 -04:00
Jeremy Stretch
5f0922713f
Fixes #13047 : Add annotate_asn_count() to ASNRange manager
2023-07-06 08:45:02 -04:00
Arthur
4355ee6407
12092 allow setnull for bulk edit power port maximum and allocated draw
2023-07-06 08:37:54 -04:00
Jeremy Stretch
63ba9fb38c
Fixes #11335 : Default manager for ObjectChange should filter by installed apps ( #11709 )
...
* Fixes #11335 : Default manager for ObjectChange should filter by installed apps
* Employ canonical model discovery mechanism
* Move filtering logic to valid_models() queryset method
* fixed import to avoid content type does not exist
* Cleanup
---------
Co-authored-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com >
2023-07-05 11:39:35 -04:00