Jeremy Stretch
6ef333ea68
Fixes #12885 : Permit mounting of devices in U100 ( #12901 )
...
* Fixes #12885 : Permit mounting of devices in U100
* Define a RACK_U_HEIGHT_MAX constant
2023-06-15 15:00:45 -04:00
Jeremy Stretch
7fc69f3945
Fixes #12914 : Clear stored ordering from user config when cleared by request
2023-06-15 14:59:52 -04:00
Jeremy Stretch
8aeb31751a
Fixes #12845 : Fix pagination of related IP addresses table
2023-06-15 13:07:51 -04:00
Arthur
0b2162569f
12474 update cable terminations when moving location between sites
2023-06-15 08:53:06 -04:00
Abhimanyu Saharan
93175888f0
add color to ChangeActionChoices #12828
2023-06-15 08:48:36 -04:00
Arthur
e635f0defd
Merge branch 'develop' into feature
2023-06-14 16:32:56 -07:00
Arthur
b4a3156046
9077 audit alters_data=True
2023-06-14 14:23:55 -04:00
Arthur Hanson
4f76dcd2ea
11305 Add GPS coordinates to device ( #12782 )
...
* 11305 add lat/long to devices
* 11305 update docs
* 11305 update tests
2023-06-14 14:18:50 -04:00
Dillon Henschen
0e873a01b8
Closes #12622 : Fix assigning VLAN without site to Prefix ( #12784 )
...
* Issue #12622 : Fix creating Prefix using VLAN without site
* Issue #12622 : Fix importing Prefix using VLAN without site
This commit also adds tests to verify the import changes implemented
in this commit.
* Issue #12622 : Cleanup code to filter allowed VLANs on a prefix import
* Closes #12622 : Switch to VLAN selector dialog when creating Prefix
2023-06-14 13:49:00 -04:00
Jeremy Stretch
f7b0e48a09
Merge pull request #12864 from sudheesh001/fix/12847-include-adds
...
Fixes #12847 - Include Missing Add buttons to Views
2023-06-14 13:33:18 -04:00
Sudheesh Singanamalla
c5f71c0c19
Fixes #12847 - Include Missing Add buttons to Views
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu>
2023-06-14 10:05:43 -07:00
Jeremy Stretch
36e0bf0490
Merge pull request #12893 from netbox-community/feat/12824-doc
...
Fixes typo in register_model_view docstring
2023-06-14 08:39:28 -04:00
Jeremy Stretch
28b939c001
Merge pull request #12894 from netbox-community/fix/12822-link-encode
...
Change link parsing from quote_plus to quote
2023-06-14 08:38:11 -04:00
Jeremy Stretch
55e31ef984
Merge pull request #12896 from netbox-community/fix/12818-perm
...
Fix permission
2023-06-14 07:57:32 -04:00
Abhimanyu Saharan
d03bfe89c0
fix connected device api schema #12682
2023-06-14 15:45:07 +05:30
Abhimanyu Saharan
c8cbced55e
fix permission #12818
2023-06-14 14:43:18 +05:30
Abhimanyu Saharan
928a34674e
change link parsing from quote_plus to quote #12822
2023-06-14 14:16:04 +05:30
Abhimanyu Saharan
96cf95d176
fixes typo in register_model_view docstring #12824
2023-06-14 14:06:23 +05:30
Jeremy Stretch
a81924ac0f
Merge pull request #12863 from sudheesh001/fix/12862-connection-sidebar-add
...
Fixes #12862 - Add Button for Wireless Links in Sidebar
2023-06-13 09:19:32 -04:00
Jamie Murphy
22a0ce3f76
broadcast error fixes for ipv6 and /31/32
2023-06-12 21:01:43 +01:00
Jeremy Stretch
43235f143d
Merge pull request #12839 from candlerb/candlerb/12838
...
Round rack power utilization to nearest 0.1%
2023-06-12 08:12:17 -04:00
Sudheesh Singanamalla
82cd6c5f4c
Fixes #12862 - Add Button for Wireless Links in Sidebar
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu>
2023-06-11 12:17:32 -07:00
Abhimanyu Saharan
210879d380
fix contact assignment table modal
2023-06-11 16:50:48 +05:30
Brian Candler
01d9e0afb6
Round rack power utilization to nearest 0.1%
...
Fixes #12838
2023-06-08 14:31:46 +01:00
jeremystretch
2e2ff09822
Merge branch 'develop' into feature
2023-06-02 15:43:06 -04:00
jeremystretch
4a88d5e3d9
PRVB
2023-06-02 15:42:34 -04:00
jeremystretch
46d1d5a44a
Release v3.5.3
2023-06-02 14:17:01 -04:00
jeremystretch
dee4aec62d
Fixes #12779 : Correct arithmetic for converting inches to meters
2023-06-01 13:21:15 -04:00
Abhimanyu Saharan
e7f689bc52
Fixes incorrectly handled type error when list of objects is found in data ( #12593 )
...
* fixes incorrectly handled type error when list of objects is found in data #9876
* fixes incorrectly handled type error when list of objects is found in data #9876
* fixes incorrectly handled type error when list of objects is found in data #9876
2023-05-31 15:44:59 -04:00
Abhimanyu Saharan
dbd3c6de24
Fixes return_url for image attachment ( #12721 )
...
* fixes return_url for image attachment #12538
* simplified conditions
* handle nonetype error
* fixed request check
* Introduce htmx_table template tag for embedding HTMX-backed object tables
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-31 15:22:37 -04:00
Abhimanyu Saharan
bd88ee7063
Adds device type and role to device component filter ( #12504 )
...
* adds device type and role to device component filter #12015
* changes as per review
* Add filterset tests for device type & role filters
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-31 09:59:22 -04:00
Daniel Sheppard
a9b0b49ef9
Fixes #12702 - Adds widget to FrontPortTemplateCreateForm
2023-05-31 08:49:23 -05:00
Arthur Hanson
8b051ea2f3
7503 do device validate-create in serial ( #12222 )
...
* 7503 do device validate-create in serial
* 7503 fix single instance
* 7503 atomic transaction
* 7503 fix return data for bulk operations
* 7503 add test
* Move sequential creation logic to a mixin
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-31 09:06:09 -04:00
jeremystretch
bca9d0fa8a
Closes #12599 : Apply filter parameters to links in object count dashboard widgets
2023-05-30 16:31:34 -04:00
jeremystretch
9b8ab1c1f7
Fixes #12742 : Object counts dashboard widget should support URL-compatible query filters
2023-05-30 15:44:43 -04:00
jeremystretch
b3bd03a1e9
Fixes #12715 : Use contact assignments table to display the contacts assigned to an object
2023-05-30 14:51:16 -04:00
Abhimanyu Saharan
d7ca453f26
Adds hide-if-unset to custom field ( #12723 )
...
* adds hide-if-unset to custom field #12597
* moved hide logic from template to python
* fix indentation
* Update logic for omit_hidden under get_custom_fields()
* Update docs
* Account for False values
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-30 09:42:37 -04:00
Abhimanyu Saharan
9b9a559e0c
Adds image preview back on the table ( #12739 )
...
* adds image preview on image attachment #12627
* adds bootstrap initialization for hx-trigger=load #12627
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-30 09:41:32 -04:00
kkthxbye-code
1f71d3570a
Escape text passed as display values to slim-select
2023-05-30 09:09:15 -04:00
Abhimanyu Saharan
5a5fcf7d37
Changes render config card with accordian ( #12724 )
...
* changes render config card with accordian #12470
* fixed indentation #12470
* Use -flush CSS class to reduce whitespace
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-26 09:32:58 -04:00
Abhimanyu Saharan
5869894a48
Adds ip to failed logs ( #12725 )
...
* adds ip to failed logs #12562
* added additional logging when client ip cannot be determined
2023-05-26 08:46:49 -04:00
Abhimanyu Saharan
e2f9a3c07a
fixes contact assignments filter to include parent content type #12730
2023-05-26 08:42:04 -04:00
jeremystretch
b64b19a3f4
Fixes #11934 : Prevent reassignment of an IP address designated as primary for its parent object
2023-05-25 16:42:24 -04:00
Jeremy Stretch
24a51dd86e
Fixes #11539 : Use BooleanFilter for 'empty' lookups ( #11784 )
...
* Use BooleanFilter for 'empty' lookups
* Always use BooleanFilter for 'empty' lookups
* Restore Empty lookup logic
2023-05-25 15:20:08 -04:00
jeremystretch
bf1c191b2e
Fixes #12694 : Strip leading & trailing whitespace from custom link URL & text
2023-05-24 15:45:24 -04:00
jeremystretch
6160e03426
PRVB
2023-05-22 17:00:29 -04:00
jeremystretch
fbc7811f56
Release v3.5.2
2023-05-22 16:24:30 -04:00
Austin de Coup-Crank
005e3fd692
Closes #9068 : validate addresses assigned to interfaces ( #12618 )
...
* Begin logic
* Closes #9068 : Disallow assigning bcast/networks to interfaces
* Allow net IDs in /31, /32, /127, /128
* linting error
* Implement requested changes
* Condensed the "if" logic a bit
---------
Co-authored-by: Austin de Coup-Crank <decoupca@moodys.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-22 16:16:17 -04:00
Dillon Henschen
078893e034
Closes #11619 : Include VLANs with a null site in query during bulk interface edit for Devices > DEVICE COMPONENTS > Interfaces ( #12659 )
...
* Closes #11619 : Allow VLANs without a site during multi-port edits
This commit allows users to be able to select VLANs without a site assignment
during bulk interfaces edits under Devices > DEVICE COMPONENTS > Interfaces.
Prior to this commit, only VLANs that were assigned the same site as the device
were available for selection.
* Replace 'null' with FILTERS_NULL_CHOICE_VALUE constant
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-22 15:37:31 -04:00
Daniel W. Anner
80fc8db514
Adding interface type 200gbase-x-qsfpdd
2023-05-22 13:11:29 -04:00
jeremystretch
fa3bedb947
Fixes #12642 : Fix bulk tenant assignment via cluster import form
2023-05-22 13:07:40 -04:00
Austin de Coup-Crank
311dce0b5f
Closes #12605 : Add LX.5 port type
2023-05-18 14:25:51 -04:00
neope
23b21246f0
Adding CDFP and CFP8 400GE connectors ( #12646 )
...
* Adding CDFP and CFP8 400GE connectors
* Update choices.py
typo on CFP8
2023-05-18 14:21:32 -04:00
Arthur
92c49669f9
12548 add prefetch_related for l2vpn and vdcs to interface api
2023-05-18 14:18:55 -04:00
Abhimanyu Saharan
2204735e9f
Adds rq retry options ( #12588 )
...
* adds rq retry options #12327
* Clean up docs; disable retries of failed jobs by default
* Pass a Retry object only if RQ_RETRY_MAX is non-zero
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-16 14:10:44 -04:00
Abhimanyu Saharan
0df6a5793a
Adds maintenance exempt paths ( #12592 )
...
* adds maintenance exempt paths #11233
* adds maintenance exempt paths #11233
* Rename method & remove login/logout from exempt paths
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-16 11:35:21 -04:00
Arthur
eeb15ab5d1
12594 add config context to object count / list widget
2023-05-16 10:52:23 -04:00
jeremystretch
4208b79514
Closes #12320 : Remove obsolete fields napalm_driver and napalm_args from Platform
2023-05-16 09:35:27 -04:00
Devon Mar
0f44f7eb20
Use .font-monospace instead of .text-monospace
2023-05-15 08:28:59 -04:00
jeremystretch
02db0bcc2e
Closes #11766 : Remove obsolete custom ChoiceField and MultipleChoiceField classes
2023-05-12 16:27:50 -04:00
Austin de Coup-Crank
e40e9cb406
Closes #11017 : increase maximum power draw ( #12587 )
...
* Convert power draw/max draw to PositiveIntegerField
* Closes #11017 : Increase maximum power draw
* Rename migration file for clarity
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-12 16:10:12 -04:00
Arthur Hanson
21f4761335
12468 disallow double underscores in custom field names ( #12523 )
...
* 12468 disallow double underscores in custom field names
* 12468 disallow double underscores in custom field names
* 12468 review changes
* 12468 correct migration
* 12468 use inverse match
* 12468 use inverse match
* Add test for invalid custom field names
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-12 16:08:57 -04:00
jeremystretch
39fd64b2ef
Fixes #12570 : Disable ordering of synchronized object tables by the synced attribute
2023-05-12 11:08:32 -04:00
Abhimanyu Saharan
9b80ec22ba
Adds db read-only middleware ( #12490 )
...
* adds db read-only middleware #11233
* fixed attribute error
* replaces getattr with get_config
2023-05-12 10:50:51 -04:00
Jon Schewe
cc0c985fec
Feature/remote group autocreate ( #12394 )
...
* Add REMOTE_AUTH_AUTOCREATE_GROUPS
When REMOTE_AUTH_AUTOCREATE_GROUPS is True, Netbox will create groups
referenced in the REMOTE_AUTH_GROUP_HEADER that don't exist in the
database.
Closes #7671
* Fix naming of parameter
Apply the fix requested by kkthxbye-code in https://github.com/netbox-community/netbox/pull/8603
---------
Co-authored-by: Lars Kellogg-Stedman <lars@oddbit.com>
2023-05-12 10:35:09 -04:00
Abhimanyu Saharan
4eb5e90ccc
Adds contact tabs ( #12460 )
...
* adds contact tabs #11599
* fixed lint issues
* changes as per review
* changes as per review
* replaces generic object template with base template
2023-05-12 10:26:26 -04:00
Abhimanyu Saharan
e71a98499f
Adds BANNER_MAINTENANCE config ( #12555 )
...
* adds BANNER_MAINTENANCE config #12554
* changes as per review
* lint fix
* Fix admin form field widget
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-12 09:54:59 -04:00
Daniel Sheppard
011a936a56
Fixes #10686 - Import cables using VC master device ( #12551 )
...
* Allow importing cables against master device for subordinate device interfaces
* Add tests
2023-05-12 09:07:51 -04:00
jeremystretch
b7f028fba3
Fixes #12550 : Fix rear port selection widget under front port creation form
2023-05-10 10:44:01 -04:00
Abhimanyu Saharan
6b19f15a7b
Moves related ips to a tab ( #12502 )
...
* moves related ips to a tab #12233
* Refactor IP address templates to use a base template
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-09 12:49:13 -04:00
Abhimanyu Saharan
57156f0e94
Adds stroke to the reservation ( #12506 )
...
* adds stroke to the reservation #11900
* fixed right side border
* Tweak reserved stroke style & add constants for colors
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-09 10:21:23 -04:00
Abhimanyu Saharan
4e49f4a434
Adds tooltip on custom field ( #12505 )
...
* adds tooltip on custom field #12131
* adds description field check
* fixed field name
* updated code to match the panel
* added escape filter on description
2023-05-09 10:20:02 -04:00
Dillon Henschen
c55c14ea4c
Closes #11670 : Add ability to optionally import DeviceType and ModuleType weight ( #12512 )
...
* 11670: Add optional weight to DeviceType import
This is 1 of 2 commits to address issue #11670
To maintain consistency, the import design of the DeviceType weight follows the
same pattern used for importing weight and weight units in DCIM Racks.
* Closes #11670 : Add weight to ModuleType import
This is commit 2 of 2 to address and close #11670 .
To maintain consistency, the import design of the ModuleType weight follows the
same pattern used for importing weight and weight units in DCIM Racks.
* Merge tests; misc cleanup
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-09 09:59:42 -04:00
Abhimanyu Saharan
e1b7a3aeb6
Replaced device type weight with device total weight ( #12522 )
...
* replaced device type weight with device total weight #12286
* replaced device type weight with device total weight #12286
* Update netbox/templates/dcim/device.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-09 09:35:00 -04:00
Abhimanyu Saharan
cb6852bf7a
adds CXP (100GE) #12323
2023-05-09 08:28:58 -04:00
Abhimanyu Saharan
259d0e96f2
Adds dimensions card to device view ( #12509 )
...
* adds dimensions card to device view #12286
* Update netbox/templates/dcim/device.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-08 08:56:28 -04:00
Abhimanyu Saharan
896b19eaa3
adds parent device and bay position to table #12223
2023-05-05 15:23:28 -04:00
Abhimanyu Saharan
12bef7623c
disables map button when MAP_URL is none #12498
2023-05-05 15:04:36 -04:00
jeremystretch
e96cfadd22
PRVB
2023-05-05 12:58:09 -04:00
jeremystretch
6794742213
Release v3.5.1
2023-05-05 12:29:10 -04:00
jeremystretch
a29a07ed26
Fixes #12463 : Fix the association of completed jobs with reports & scripts in the REST API
2023-05-05 10:17:13 -04:00
Abhimanyu Saharan
ca0e7be637
Adds bulk import for journal entry ( #12485 )
...
* adds bulk import for journal entry #12122
* lint fix
* Add kind as CSVChoiceField on JournalEntryImportForm
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-05 09:57:09 -04:00
Abhimanyu Saharan
42346702a1
Adds image attachment list view ( #12487 )
...
* adds image attachment list view #11932
* fixed typo
* Update netbox/extras/tables/tables.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/extras/forms/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* changes as per review
* Disable ordering by size (not stored in database)
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-05 09:48:13 -04:00
Arthur Hanson
9909213c0d
12416 warning for missing script file ( #12456 )
...
* 12416 warning for missing script file
* 12416 widen exception catching for internal script error
* Update netbox/extras/models/scripts.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* 12416 update from review feedback
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-05 09:37:38 -04:00
Daniel Sheppard
7a38f601de
Fixes : #11715 - Fix Parent Prefix table display ( #12448 )
...
* Fixes : #11715 - Fix Parent Prefix table display of global vrf prefixes that are **not** containers.
* Combine AND into a single Q object
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-05 09:35:05 -04:00
Abhimanyu Saharan
abdcfdecf5
Adds description to elevation device tooltip ( #12488 )
...
* adds description to elevation device tooltip #11801
* changes as per review
* changes as per review
* Rearrange attrs, add headings, and update docstring
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-05 09:09:21 -04:00
Luke Anderson
9d62174e1e
Fix #12245 - Add WLAN to InterfaceBulkEditForm
2023-05-05 08:41:40 -04:00
Patrick Hurrelmann
a96b76a8d1
Fixes #12496 : Remove account field from provider template
2023-05-05 08:27:29 -04:00
Tobias Genannt
ab69faab87
Fix #12483 : Using mutable dulwich configuration
2023-05-04 16:56:45 -04:00
Arthur
f3826e6235
fix runscript command
2023-05-04 16:18:44 -04:00
Arthur Hanson
683ef30af4
12363 update paragraph spacing on journal table ( #12435 )
...
* 12363 update paragraph spacing on journal table
* 12363 make css rule generic
* 12363 change p tag to only effect last-child
* 12363 change p table spacing to .5em
* 12363 move comment
2023-05-04 14:05:32 -04:00
Daniel Sheppard
46914d9479
Fixes : #10757 - Change IP interface assignment to use new selector ( #12452 )
...
* Fixes : #10757 - Change interface assignment to use new selector. Perform the same change to the NAT assignment as well.
* Remove nat_vrf from form and remove query_params that are not required anymore
2023-05-04 13:59:28 -04:00
Abhimanyu Saharan
ea8a0135ad
Adds module status to module bay table ( #12455 )
...
* adds module status to module bay table #11652
* removed the extra line
* updated field name
2023-05-04 13:46:31 -04:00
Abhimanyu Saharan
93b912c2da
Adds ENGINE to database config ( #12458 )
...
* adds ENGINE to database config #11791
* fixed lint issues
* updated doc
2023-05-04 13:36:52 -04:00
Tobias Genannt
4df517e4da
Fix #12464 : Only set username, password for HTTP/s ( #12482 )
2023-05-04 13:34:04 -04:00
Arthur Hanson
5036020dc0
12433 update object list widget to correctly parameterize urls ( #12434 )
...
* 12433 update object list widget to correctly parameterize urls
* Update netbox/extras/dashboard/widgets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* 12433 fix indent
* Correct per_page query parameter
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-03 09:20:53 -04:00
Arthur
78ec3a6411
11504 add rack filter to elevation
2023-05-03 08:40:43 -04:00
Arthur
24650d9118
11422 add power-panel-name to quick search of power feeds
2023-05-03 08:36:12 -04:00
Austin de Coup-Crank
b14a514b47
Closes 10759: Enable markdown support for custom field descriptions ( #12344 )
...
* enable markdown in custom field descriptions
* Closes #10759 : Enable markdown support for custom field descriptions
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-05-02 16:47:22 -04:00
Arthur
fbcf4c268b
12436 remove add button from contactassignment list view
2023-05-02 16:35:23 -04:00
Abhimanyu Saharan
a566a56a64
fixes RelatedObjectDoesNotExist #12367
2023-05-02 09:48:16 -04:00
jeremystretch
cc3b95bdb0
Fixes #12400 : Validate default values for object and multi-object custom fields
2023-05-02 09:35:25 -04:00
jeremystretch
20f0464824
Fix OpanAPI schema base path
2023-05-01 17:01:51 -04:00
jeremystretch
1952707702
Fixes #12401 : Support the creation of front ports without a pre-populated device ID
2023-05-01 16:51:10 -04:00
jeremystretch
9319cffb1c
Fixes #12384 : Add a three-second timeout for RSS reader widget
2023-05-01 16:19:39 -04:00
jeremystretch
139ef7ef4c
Fixes #12395 : Fix "create & add another" action for objects with custom fields
2023-05-01 14:17:50 -04:00
jeremystretch
47f3023401
Fixes #12412 : Device/VM interface MAC addresses can be nullified via REST API
2023-05-01 13:06:10 -04:00
Jeremy Stretch
a0f0b29432
Merge pull request #12382 from kkthxbye-code/12380-widget-fix-missing-ct
...
Fixes #12380 - Add ObjectChange as a valid option for ObjectListWidget and ObjectCountsWidget
2023-05-01 10:17:11 -04:00
Jeremy Stretch
f86f4f9257
Merge pull request #12406 from kkthxbye-code/12405-fix-related-vlangroup
...
Fixes #12405 - Fix the filtervar being set to site_id instead of site in SiteView related_models
2023-05-01 10:14:29 -04:00
kkthxbye-code
528fb21a7e
Mark provider_account as not required in API and bulk import
2023-05-01 07:44:15 +02:00
kkthxbye-code
6206d226ae
Fix the filtervar being set to site_id instead of site in SiteView related_models
2023-05-01 07:15:00 +02:00
kkthxbye-code
aabaeec1d7
Add ObjectChange as a valid option for ObjectListWidget and ObjectCountsWidget
2023-04-28 12:17:39 +02:00
jeremystretch
25dc7e234d
PRVB
2023-04-27 14:52:07 -04:00
jeremystretch
a5bc9d4a2d
Release v3.5.0
2023-04-27 14:24:44 -04:00
jeremystretch
b3efb14176
Remove pinned version dependencies
2023-04-27 14:09:16 -04:00
jeremystretch
6109bef700
Merge branch 'develop' into feature
2023-04-27 12:11:08 -04:00
jeremystretch
84089ab8c5
Release v3.4.10
2023-04-27 11:47:42 -04:00
Arthur Hanson
9a788349a9
12252 allow sorting on object in search ( #12357 )
...
* 12252 allow sorting on object in search
* 12252 code review changes
2023-04-27 11:26:14 -04:00
jeremystretch
b7140a0e4a
Closes #12343 : Enforce a minimum length for SECRET_KEY configuration parameter
2023-04-27 10:35:39 -04:00
Jeremy Stretch
d39c796828
Merge pull request #12356 from netbox-community/11607-custom-field-cable
...
11607 make CableSerializer use WritableNestedSerializer
2023-04-27 09:30:30 -04:00
x64x6a
4355085124
Fixes #12355 : Exclude additional characters from url encode
2023-04-26 15:53:14 -07:00
Arthur
5d4ef5e9e5
11607 make CableSerializer WritableNestedSerializer for to_internal value instantiation
2023-04-26 13:27:55 -07:00
jeremystretch
f49e4ee512
Merge branch 'develop' into feature
2023-04-26 15:09:51 -04:00
jeremystretch
a49fdad5e1
Release v3.4.9
2023-04-26 14:33:23 -04:00
Arthur
1ad029712e
#11902 validate device on inventory item import
2023-04-26 14:22:37 -04:00
jeremystretch
d87235af2f
Closes #12337 : Enable anonymized reporting of census data
2023-04-26 10:44:56 -04:00
jeremystretch
99af126fac
Closes #11386 : Introduce CSRF_COOKIE_SECURE, SECURE_SSL_REDIRECT, and SESSION_COOKIE_SECURE configuration parameters
2023-04-25 16:29:01 -04:00
jeremystretch
9eb38ab7b2
Delete obsolete static resources
2023-04-25 14:48:00 -04:00
Abhimanyu Saharan
d3206d9bf9
Added method to update viewset description ( #12218 )
...
* wip
* wip
* updated description on viewset
* fixed model name
* Update schema.py
* Update schema.py
2023-04-25 14:37:05 -04:00
Austin de Coup-Crank
adb9673f09
Fixes #11623 : obfuscate Wi-Fi PSKs ( #12244 )
...
* Fixes #11623 : obfuscate Wi-Fi PSKs
* yarn linting fixes
* include static files
2023-04-24 12:13:28 -04:00
PieterL75
b693123f6e
Fixes #10987 : Show rack-list dropdown in rack ( #11779 )
...
* Intial. 2 ways the racknavigation displayed
* show active rack in dropdown
* auto hide/show when viewport reduces
* Dropdown only
* Update links to use get_absolute_url()
---------
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-24 12:01:33 -04:00
jeremystretch
e7663b7e39
Mark Provider.account as deprecated
2023-04-21 16:21:04 -04:00
jeremystretch
053be952ba
Fixes #12238 : Improve error message for API token IP prefix validation failures
2023-04-21 16:06:33 -04:00
Darek
89fa546a14
Merge pull request from GHSA-92x4-vfjf-rmf7
2023-04-21 15:08:04 -04:00
Arthur Hanson
55385dd0db
12278 add ipaddressfield serializer for OpenAPI spectacular typing ( #12285 )
...
* #12278 add serializer for ipaddressfield to remove spectacular warnings
* #12278 add ipaddressfieldserializer to nested serializers
* #12278 fix to_internal_value to_representation in serializer
* #12278 to_internal_value is called before validation! need to raise validation error if incorrect format
* #12278 to_internal_value needs to return value doh
* #12278 move IPAddressField to field_serializers
* #12278 remove old import
* 12278 remove validator
2023-04-21 12:41:03 -04:00
Arthur Hanson
38a0ed5e24
12255 inventory item device change ( #12311 )
...
* #12255 allow inventory items to change devices
* #12255 allow inventory item template to change devices
* #12255 fix init
* 12255 remove can_swtich from template model
* 12255 change to check module list
2023-04-21 12:36:11 -04:00
Arthur
15d80f4e1b
12195 remove incorrect null=True on choice fields
2023-04-21 12:23:07 -04:00
jeremystretch
2fe5592c3c
Fixes #12299 : Fix object list widget support for filtering by multiple values
2023-04-21 11:54:28 -04:00
jeremystretch
2fcdc0ae6a
#10520 : Restore ability to edit platform NAPALM fields via UI
2023-04-21 11:21:42 -04:00
Austin de Coup-Crank
8b7ee0a0db
11383 fix search order ( #12251 )
...
* Fixes #11383 : Sorting search by type doesn't work
* Fixes #11383 : Sorting search by type doesn't work; more reliable approach
2023-04-20 17:04:47 -04:00
Arthur Hanson
274cd5d56c
12288 add servers to spectacular settings ( #12300 )
...
* 12288 add servers to spectacular settings
* 12288 standardize quotes
* Account for BASE_PATH
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-20 15:56:21 -04:00
Luke Anderson
ab3531558a
Closes #12226 : Add Profile Data Headers to Remote Authentication Middleware ( #12253 )
...
* Closes #12226 : Add Profile Data Headers to Remote Authentication Middleware
* Tweak documentation
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-20 15:49:54 -04:00
Arthur
dda56f21f3
#12256 remove read-only fields from writable serializers
2023-04-20 14:11:55 -04:00
Arthur
31c909c368
#12149 remove spectacular choice mapping fixup internal one
2023-04-20 14:10:05 -04:00
jeremystretch
164b2a5016
Fixes #12270 : Fix pre-population of list values when creating a saved filter
2023-04-19 17:41:38 -04:00
jeremystretch
7b374e4cf6
Fixes #12296 : Fix 'mark connected' form field for bulk editing front & rear ports
2023-04-19 17:25:32 -04:00
jeremystretch
13625325f5
#8684 : Fix test
2023-04-19 11:31:26 -04:00
jeremystretch
b84ac184c2
#8684 : Remove obsolete 'obj' var from custom link context
2023-04-19 09:58:18 -04:00
jeremystretch
c08c7dda50
Closes #12292 : Replace SelectSpeedWidget and SelectDurationWidget with NumberWithOptions
2023-04-18 16:33:43 -04:00
jeremystretch
b807198e6d
Rename ImportForm to BulkImportForm
2023-04-18 15:27:05 -04:00
jeremystretch
9caa7f6b7c
Move SyncedDataMixin from extras to core
2023-04-18 15:18:19 -04:00
jeremystretch
4452f57f90
Release v3.5-beta2
2023-04-18 09:21:15 -04:00
jeremystretch
b167153186
Enable scheduling_enabled parameter for reports
2023-04-18 08:45:31 -04:00
jeremystretch
197c6a1cbf
Add scheduling_enabled parameter for scripts
2023-04-18 08:45:31 -04:00
jeremystretch
014a5d10d1
Closes #12187 : Add button to download rendered config from UI
2023-04-17 16:37:02 -04:00
jeremystretch
86d185fe05
Fix validation of DataSource URL
2023-04-17 16:00:35 -04:00
Tobias Genannt
9ef1fb1e3a
Use dulwich as Git client
2023-04-17 15:53:50 -04:00
jeremystretch
7ecf3be33c
Clean up script & report job views
2023-04-17 15:27:12 -04:00
jeremystretch
a0893c2e8b
Add general purpose view for individual jobs
2023-04-17 15:08:18 -04:00
Jeremy Stretch
8b040ff930
Closes #12129 : Enable automatic synchronization of objects when DataFiles are updated ( #12262 )
...
* Closes #12129 : Enable automatic synchronization of objects when DataFiles are updated
* Cleanup
2023-04-17 10:35:17 -04:00
Jeremy Stretch
d470848b29
Closes #12246 : General cleanup of utilities modules
...
* Clean up base modules
* Clean up forms modules
* Clean up templatetags modules
* Replace custom simplify_decimal filter with floatformat
* Misc cleanup
* Merge ReturnURLForm into ConfirmationForm
* Clean up import statements for utilities.forms
* Fix field class references in docs
2023-04-14 10:33:53 -04:00
jeremystretch
59a6b3e71b
Merge branch 'develop' into feature
2023-04-12 17:38:16 -04:00
jeremystretch
dd8112c30e
PRVB
2023-04-12 15:33:22 -04:00
jeremystretch
eef38257b9
Release v3.4.8
2023-04-12 14:06:09 -04:00
Austin de Coup-Crank
bb9a125934
Closes #12040 : fix bulk import tab selection
2023-04-12 13:01:04 -04:00
Arthur Hanson
8de252e34e
11432 device field ( #11567 )
...
* 11432 make device field on interface read-only on api edit call
* 11432 make device field on interface read-only on api edit call
* 11432 extend serializer change to mixin
* 11432 add readonlydevicemixin to template serializers
* 11432 change subclass ordering
* 11432 fix device_type for template serializers
* 11432 DRY
* 11432 DRY
* 11432 make internal var
* 11432 change to model-level validation
* 11432 fix fk accessor
* Clean up validation error messages
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-12 10:25:54 -04:00
Arthur Hanson
9e305c6181
Closes #12207 : Establish a permission for creating API tokens on behalf of other users ( #12192 )
...
* 11091 add permission to allow user to create api tokens for other users
* 11091 update docs
* 11091 fix for test
* 11091 fix for test
* 11091 test case for invalid token creation
* 11091 add test for permission grant
* Cleanup & fix serializer validation
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-12 10:25:06 -04:00
pobradovic08
97ed6439ce
Fixes #12227 : L2VPN Bulk import not setting Tenant field
2023-04-12 09:24:31 -04:00
jeremystretch
15a615d3a3
Optimize migrations
2023-04-11 16:08:41 -04:00
jeremystretch
46d7bf02ac
Add tests for ConfigTemplate
2023-04-11 15:25:48 -04:00
jeremystretch
6820796c10
Closes #10414 : Enable general purpose image attachments for device types
2023-04-10 16:43:40 -04:00
jeremystretch
4a331b560f
Closes #11015 : Remove unit from commit rate column header in circuits table
2023-04-10 16:35:21 -04:00
jeremystretch
ada01b39cc
#10221 : Tweak variable names & error message
2023-04-10 14:03:59 -04:00
Abhimanyu Saharan
b41f8755df
Fixes GenericForeignKey validation ( #11550 )
...
* added model validation for GenericForeignKey
* added ct_field and fk_field null validation
* applied suggestion
2023-04-10 14:02:32 -04:00
Abhimanyu Saharan
2c07762b7a
Added optional user and group on custom field ( #12206 )
...
* added group and user model to object_type
* Update netbox/utilities/utils.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-04-10 12:40:13 -04:00
jeremystretch
f68a63255b
#11029 : Cleanup & changelog
2023-04-10 10:40:56 -04:00
kkthxbye
278f2b173a
Fixes #11431 - Disallow changing customfield type after creation ( #11449 )
...
* Disallow changing customfield type after creation
* Fix test_api.CustomFieldTest
---------
Co-authored-by: kkthxbye-code <>
2023-04-10 10:13:08 -04:00
Arthur Hanson
00714b23a2
11029 add changelog on CableTermination ( #11407 )
...
* 11209 add changelog on CableTermination
* Rename migration
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-04-10 10:11:58 -04:00
jeremystretch
1146aaff89
Closes #11453 : Display a warning banner when DEBUG is enabled
2023-04-10 09:12:04 -04:00
Arthur Hanson
5a4feb7099
10615 filter cable termination_id with cable_end ( #12182 )
...
* 10615 filter cable termination_id with cable_end
* 10615 filter distinct
* 10615 filter distinct
2023-04-07 14:13:58 -04:00
jeremystretch
589d51e028
Merge branch 'develop' into feature
2023-04-07 13:58:56 -04:00
jeremystretch
a6fd0ab09a
#12007 : Move vlan & vlan_id filter methods to CommonInterfaceFilterSet
2023-04-07 13:58:12 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
Abhimanyu Saharan
c26fe266cc
Moved interface filterset under common class ( #12200 )
...
* moved interface filterset under common class #12007
* lint fix
2023-04-07 10:54:39 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
jeremystretch
63a0ec7a79
Fixes #12190 : Fix form layout for plugin textarea fields
2023-04-07 10:03:47 -04:00
jeremystretch
ccfdc216a5
Fixes #12118 : Refactor bulk creation logic under _instantiate_components()
2023-04-06 17:01:46 -04:00
Jeremy Stretch
2bf9acfb19
Closes #12193 : Clean up tests ( #12197 )
...
* Fix skipped API tests
* Remove invalid tests
* Correct logger name
2023-04-06 16:35:27 -04:00
Daniel Sheppard
41c92483a0
#12087 - Fix Bulk Edit update when M2M operations are present. ( #12169 )
...
* #12087 - Fix Bulk Edit update when M2M operations are present.
* #12087 - Minor tweaks
* Change .set() to .clear()
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* #12087 - Update comments
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-04-05 13:29:32 -04:00
jeremystretch
6d6299f0cb
#11584 : Linkify assigment counts in contacts table
2023-04-05 12:53:39 -04:00
jeremystretch
f44a2ba0ee
Closes #12119 : Lock & unlock dashboard layout
2023-04-05 09:59:22 -04:00
jeremystretch
29fbe6e4ee
Closes #12126 : Introduce a DEFAULT_DASHBOARD config parameter
2023-04-05 08:32:18 -04:00
Arthur Hanson
94c2a2e56c
11746 fix delete custom field ( #12092 )
...
* 11746 delete custom field
* 11746 use filter instead of exclude
2023-04-04 16:38:48 -04:00
Arthur
0a2ae90411
12011 fix module bay bulk create
2023-04-04 16:34:51 -04:00
jeremystretch
1b5f926e17
Fixes #12167 : Catch and report on exceptions raised when rendering a config template
2023-04-04 08:47:01 -04:00
Arthur Hanson
13cbb33c98
12148 add swagger-sidecar for self-hosted swagger docs ( #12159 )
...
* 12148 add swagger-sidecar for self-hosted swagger docs
* 12149 add to base_requirements
2023-04-04 08:23:56 -04:00
jeremystretch
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
Arthur Hanson
bca00cd97a
12117 remove clone from cable ( #12130 )
...
* 12117 remove clone from cable
* 12117 remove clone button if no params
* Update clone.html
* Update clone.html
* Update clone.html
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-04-03 15:27:13 -04:00
Arthur Hanson
2883fa14de
Fixes #12074 : Move automatic location assignment out of clean()
...
* 12074 fix full clean
* 12074 move device location setting to save from clean
* 12074 fix set location only if present in rack
* Update base.py
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-04-03 15:22:36 -04:00
Arthur
56d2a9aa11
12151 remove choice field str mapping for OpenAPI
2023-04-03 15:09:34 -04:00
jeremystretch
53abcc0f5c
Closes #12136 : Extend object count & list widgets to support filters
2023-04-03 15:02:11 -04:00
jeremystretch
0676ed45c7
Closes #12107 : Document support for plugin-provided dashboard widgets
2023-04-03 14:15:18 -04:00
jeremystretch
872b70c2b5
Fixes #12145 : Employ HTMXSelect widget to fix inclusion of <select> field values during form regeneration
2023-04-03 12:49:26 -04:00
jeremystretch
2805633b16
Fixes #12144 : Ensure consistent treatment of context data when rendering config templates via UI & API
2023-04-03 09:50:07 -04:00
jeremystretch
f245f07fd9
Fixes #12146 : Do not display object selector for disabled fields
2023-04-03 09:39:03 -04:00
kkthxbye
e966d1df47
Merge pull request #12139 from tobiasge/fix-data-source-logs
...
Fix #12138 : Log correct count when files were deleted
2023-04-02 22:29:59 +02:00
Tobias Genannt
e7d1a43541
Fixes #12142 : Add S3Backend to __all__
2023-04-01 11:28:33 +02:00
Tobias Genannt
5ff9483d13
Log correct count when files were deleted
2023-04-01 10:51:33 +02:00
jeremystretch
8d6c591535
Fixes #12103 : Limit the types of objects available for object count & list widgets
2023-03-31 15:30:40 -04:00
jeremystretch
6a85c5b3ce
Fixes #12115 : Fix rendering config templates from a data file
2023-03-31 10:37:12 -04:00
jeremystretch
bd38b50e5e
Fixes #12105 : Prevent data sources from becoming stuck in syncing status when an exception is raised
2023-03-31 09:52:07 -04:00
jeremystretch
eb77c0e920
Fixes #12106 : Fix exception when saving dashboard widget with minimum width/height
2023-03-31 09:34:50 -04:00
jeremystretch
198c004c1d
Fixes #12108 : Limit the draggable area of widgets to their headers
2023-03-31 09:26:58 -04:00
jeremystretch
730eb2e83b
Fixes #12112 : Do not link data source URL for local paths
2023-03-31 09:06:16 -04:00
jeremystretch
cdad50e051
Fixes #12109 : Fix migration error when replicating more than 100 job results
2023-03-31 08:59:15 -04:00
gdprdatasubect
fbc23424a6
Update models.py
...
Change default MIME-Type as discussed under #12095
2023-03-30 16:58:41 -04:00
jeremystretch
f18f6e2856
Merge branch 'develop' into feature
2023-03-30 15:56:38 -04:00
jeremystretch
99b914689a
Release v3.5-beta1
2023-03-30 15:55:12 -04:00
Arthur Hanson
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-30 14:32:59 -04:00
jeremystretch
90527b799d
#9416 : Add view to reset user's dashboard
2023-03-30 12:46:06 -04:00
jeremystretch
6e6e8fa2d9
Set user agent for RSS feed requests
2023-03-30 12:44:36 -04:00
Arthur Hanson
e467589730
12084 saved filters ( #12090 )
...
* 12084 change back saved filter saving
* 12084 doc string
* 12084 add test
* Pass SavedFilter initial parameters as JSON & relocate test
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-30 11:00:40 -04:00
jeremystretch
424b336536
Fixes #12061 : Improve handling of insufficient permissions for widget content
2023-03-30 10:03:41 -04:00
jeremystretch
06dec6a2d9
Fixes #12046 : Fix URL parsing for git data sources
2023-03-30 09:07:56 -04:00
jeremystretch
f965608791
Fixes #11660 : Catch RQ timeout exception when syncing data sources
2023-03-30 08:51:47 -04:00
jeremystretch
c4891fe105
Closes #12085 : Add a file source view for reports
2023-03-29 16:58:35 -04:00
Jeremy Stretch
715592547c
#12081 : Script & report cleanup ( #12091 )
...
* start() and terminate() methods on Job should call save()
* Fix display of associated jobs
* Introduce get_latest_jobs() method on JobsMixin
* Update messaging when no reports/scripts exist
* Catch ImportErrors when rendering report/script lists
* Fix loading of nested modules
* Fix URLs for nested scripts/reports
2023-03-29 16:51:55 -04:00
Daniel Sheppard
9d709c84e7
Closes : #9047 - Add Provider Accounts ( #12057 )
...
* #9047 - ProviderAccount
* #9047 - Move to new selector types
* #9047 - Re-introduce provider FK to Circuit model
* #9047 - Fix broken tests
* Misc cleanup
* Revert errant change
* Fix tests
* Update circuit filter form
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-29 08:27:11 -04:00
Jeremy Stretch
d2a694a878
Closes #12068 : Establish a direct relationship from jobs to objects ( #12075 )
...
* Reference database object by GFK when running scripts & reports via UI
* Reference database object by GFK when running scripts & reports via API
* Remove old enqueue_job() method
* Enable filtering jobs by object
* Introduce ObjectJobsView
* Add tabbed views for report & script jobs
* Add object_id to JobSerializer
* Move generic relation to JobsMixin
* Clean up old naming
2023-03-28 15:47:09 -04:00
jeremystretch
15590f1f48
Merge branch 'develop' into feature
2023-03-28 14:19:08 -04:00
jeremystretch
0330c652bd
PRVB
2023-03-28 14:13:39 -04:00
jeremystretch
d3c5f1e744
Release v3.4.7
2023-03-28 13:46:43 -04:00
kkthxbye
b12551c64b
Fixes #11991 - Add vdcs to InterfaceImportForm and InterfaceBulkEditForm ( #11996 )
...
* Add vdcs to InterfaceImportForm and InterfaceBulkEditForm
* Filter vdcs queryset by device when bulk importing interfaces
2023-03-28 13:20:23 -04:00
Abhimanyu Saharan
1d2335d578
Updated _schedule_at to use local time when _interval is set ( #12006 )
...
* updated _schedule_at to use local time when _interval is set
* updated schedule_at to use local time when interval is set
2023-03-28 10:19:18 -04:00
Arthur
ad03061edf
12038 show vc priority with placeholder
2023-03-28 10:13:51 -04:00
Arthur
87eabdbffb
12029 add description to virtual description add
2023-03-28 10:10:05 -04:00
jeremystretch
7d64e5bc62
#12058 : Fix initial JSON population
2023-03-28 10:00:15 -04:00
Arthur
a2c7452f90
12058 add clone to config context
2023-03-28 09:56:06 -04:00
Arthur Hanson
654e32cbbe
11933 saved filters clone of content-types and add m2m field cloning ( #12014 )
...
* 11933 saved filters clone of content-types and add m2m field cloning
* Fix JSON rendering
* Add content_types to CustomLink.clone()
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-28 09:53:57 -04:00
Arthur
879aabe2f9
12038 fix clone tag
2023-03-28 09:48:05 -04:00
Arthur
835af32213
12008 make export templates cloneable
2023-03-28 09:45:44 -04:00
Austin de Coup-Crank
571d33e660
Fixes #11977 : Multiple remote authentication backends ( #12012 )
...
* Add suppport for REMOTE_AUTH_BACKEND as iterable
* Closes #11977 : Support for multiple auth backends
* Tweak list casting
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-28 08:44:24 -04:00
jeremystretch
61e2073775
#12067 : Fix ordering for JobResult replication
2023-03-27 14:25:42 -04:00
jeremystretch
82080ef491
Remove the old JobResult model
2023-03-27 14:20:13 -04:00
jeremystretch
b3d2020045
Replicate JobResults to new Job model
2023-03-27 14:20:13 -04:00
jeremystretch
34236ff468
Update release notes
2023-03-27 14:20:13 -04:00
jeremystretch
7b258dc11f
Rename JOBRESULT_RETENTION to JOB_RETENTION
2023-03-27 14:20:13 -04:00
jeremystretch
40572b543f
Rename JobResult to Job and move to core
2023-03-27 14:20:13 -04:00
jeremystretch
669cfe8952
Closes #12062 : Avoid caching invalid RSS feed content
2023-03-27 09:29:51 -04:00
jeremystretch
37aa07eea1
Clean up navigation menu
2023-03-24 22:01:41 -04:00
jeremystretch
ea1801bad3
Refactor extras.models
2023-03-24 21:25:22 -04:00
jeremystretch
5c0ce96b6f
Reorganize management commands
2023-03-24 21:11:10 -04:00
Jeremy Stretch
f7a2eb8aef
Closes #11890 : Sync/upload reports & scripts ( #12059 )
...
* Initial work on #11890
* Consolidate get_scripts() and get_reports() functions
* Introduce proxy models for script & report modules
* Add add/delete views for reports & scripts
* Add deletion links for modules
* Enable resolving scripts/reports from module class
* Remove get_modules() utility function
* Show results in report/script lists
* Misc cleanup
* Fix file uploads
* Support automatic migration for submodules
* Fix module child ordering
* Template cleanup
* Remove ManagedFile views
* Move is_script(), is_report() into extras.utils
* Fix URLs for nested reports & scripts
* Misc cleanup
2023-03-24 21:00:36 -04:00
Arthur Hanson
c57d71a9db
11291 optimize GraphQL queries ( #11943 )
...
* 11291 initial optimize graphql queries
* 11291 add optimizer to schemas
* 11291 cleanup fields.py
* 11291 fix fragment query
2023-03-23 08:42:18 -04:00
jeremystretch
e176c7d906
#9416 : cleanup & widget improvements
2023-03-22 15:44:01 -04:00
jeremystretch
a098c3b0c1
#11558 : Introduce GIT_PATH configuration setting
2023-03-22 11:25:03 -04:00
jeremystretch
2fc79af4c7
#11558 : Cleanup & docs
2023-03-22 09:20:44 -04:00
jeremystretch
00088cba6d
#11559 : Add device config API endpoint & cleanup
2023-03-21 17:00:06 -04:00
jeremystretch
d6afc125e5
#11693 : Clean up ExportTemplate model form
2023-03-21 14:15:37 -04:00
jeremystretch
c35e7b8ee5
#11584 : Add bulk edit view & tests
2023-03-21 13:47:08 -04:00
jeremystretch
1e493f6f28
#10729 : Cleanup
2023-03-21 09:36:21 -04:00
jeremystretch
64f6eea579
#10054 : Trigger change event after updating form field value
2023-03-20 16:06:06 -04:00
jeremystretch
9ce29f9edc
#9653 : Cleanup
2023-03-20 16:00:08 -04:00
jeremystretch
ecb8f1599d
#11558 : Set data_synced time under model's clean()
2023-03-20 15:45:48 -04:00
jeremystretch
2b3b9517d2
#9073 : Fix form behavior when disassociating a ConfigContext from a DataFile
2023-03-20 15:42:23 -04:00
jeremystretch
08bdb54cb4
#11558 : Disable sync button if RQ worker not running
2023-03-20 15:12:11 -04:00
jeremystretch
13d604d44e
Fix rendering of form textareas
2023-03-20 13:18:09 -04:00
jeremystretch
9219397208
#8958 : Declare constants for event types
2023-03-20 13:04:05 -04:00
jeremystretch
6e93c3574c
#8749 : Cleanup
2023-03-20 12:42:26 -04:00
jeremystretch
0455654f71
#8272 : Cleanup & add filter for bridge_id
2023-03-20 11:40:45 -04:00
jeremystretch
3b9fda0169
Merge branch 'develop' into feature
2023-03-20 08:54:22 -04:00
jeremystretch
8d25d7812c
Closes #11682 : Remove lateral padding from highlighted text
2023-03-17 16:04:55 -04:00
jeremystretch
0ddd7b0e45
Disable bulk update test for L2VPN terminations
2023-03-17 10:09:57 -04:00
Jeremy Stretch
206d578bc3
Closes #10242 : Redirect to filtered objects list after bulk import ( #12001 )
...
* Redirect user to filtered objects list after bulk import
* Remove obsolete table attribute from bulk import views
2023-03-17 09:23:40 -04:00
Brian Candler
a864e8127b
Improve error reporting for duplicate CSV column headings
...
Fixes #11990
2023-03-17 09:21:40 -04:00
kkthxbye-code
fc482ed096
Use ssid for the string representation of WirelessLinks if available
2023-03-17 09:19:07 -04:00
jeremystretch
6e4c4c4342
Closes #11494 : Enable filtering objects by create/update request IDs
2023-03-16 16:29:43 -04:00
Arthur
5b81986bb3
11955 remove csvdatafield csvfilefield
2023-03-16 15:17:37 -04:00
kkthxbye-code
85f40bcbe0
Render the parameters column as JSON in SavedFiltersTable
2023-03-16 09:12:48 -04:00
kkthxbye-code
e7ed280790
Add parameters to the SavedFilterTable
2023-03-16 09:12:48 -04:00
jeremystretch
3d14a79428
Fixes #11979 : Correct URL for tags in route targets list
2023-03-16 08:20:52 -04:00
Daniel W. Anner
d93a24d0bb
Removed type2-ieee802.3at as per described in #11984
2023-03-16 08:16:49 -04:00
jeremystretch
43bba935c3
Remove unused template
2023-03-15 14:08:56 -04:00
jeremystretch
da7293524e
#10054 : Simplify cable forms
2023-03-15 14:01:01 -04:00
Jeremy Stretch
cacc418cd5
Closes : #11781 : Add support for Amazon S3 remote data sources ( #11986 )
...
* Add boto3 as a dependency
* Add Amazon S3 backend for remote data sources
* Update docs to include Amazon S3 support
2023-03-15 12:11:52 -04:00
Ryan Merolle
4286d74d44
Add fieldsets functionality to scripts to allow for form field groupings ( #11880 )
...
* update script template
* update docs
* introduce default_fieldset
* correct custom script docs
* default to use fieldsets in scripts
* update scripts docs for new behavior
* Misc cleanup
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-14 15:50:49 -04:00
jeremystretch
5cd3ad0b12
Cleanup & docs
2023-03-14 15:44:16 -04:00
Arthur
f7150645a1
8749 clone custom fields
2023-03-14 15:44:16 -04:00
jeremystretch
ef7c66de34
Fix CSV import tests
2023-03-14 15:31:26 -04:00
jeremystretch
1446b07f8c
Closes #11780 : Enable loading import data from remote sources
2023-03-14 14:53:26 -04:00
Jeremy Stretch
8bd0a2ef9d
Closes #11826 : RSS feed widget ( #11976 )
...
* Add feedparser as a dependency
* Introduce RSSFeedWidget
* Clean up widget templates
2023-03-14 11:59:27 -04:00
jeremystretch
af63ac693e
Closes #11893 : Convert ChangeLogWidget for use with all models
2023-03-14 08:39:18 -04:00
jeremystretch
6a696d9ed7
Closes #11968 : Add navigation menu buttons to create device & VM components
2023-03-13 15:15:38 -04:00
Jeremy Stretch
d1f76bec37
Closes #10054 : Implement advanced UI controls for object selection ( #11952 )
...
* WIP
* WIP
* WIP
* Make object selector functional
* Replace extraneous form fields with selector widgets
* Avoid overlap with filterset field names
* Show checkmarks next to visibile filters
* Update results automatically when searching
* Include selector for device/VM component parent fields
* Use selector for filtering VLAN group/site
* Limit selector to 100 results
2023-03-13 12:44:26 -04:00
jeremystretch
016eff52c0
PRVB
2023-03-13 11:59:57 -04:00
jeremystretch
2a9178af12
Merge branch 'develop' into feature
2023-03-13 11:58:37 -04:00
jeremystretch
520493c714
Release v3.4.6
2023-03-13 11:16:31 -04:00
kkthxbye
e459c46dad
Fixes #11929 - Strip whitespace from csv headers ( #11956 )
...
* Strip whitespace from csv headers
* Move strip() call to parse_csv()
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-13 10:55:18 -04:00
jeremystretch
a71a59c088
Fixes #11631 : Fix filtering changelog & journal entries by multiple content type IDs
2023-03-13 10:00:05 -04:00
jeremystretch
267a14264b
Fixes #11927 : Correct loading of plugin resources with custom paths
2023-03-13 08:52:38 -04:00
kkthxbye-code
f698c42c41
Fix loading of CSV files with BOM
2023-03-13 08:13:59 -04:00
rmanyari
ab303db3dd
Closes #11851 : Add family field to IPAddress queries in GraphQL ( #11870 )
...
* Closes #11851 : Add family field to IPAddress queries in GraphQL
* Add family field support to Prefix and Aggregate, fix tests
2023-03-10 14:48:45 -05:00
Aron Bergur Jóhannsson
fa60f9d2a8
Closes #11294 : Markdown Preview ( #11894 )
...
* MarkdownWidget
* Change border and color of active markdown tab
* Fix template name typo
* Add render markdown endpoint
* Static assets for markdown widget
* widget style fix and unique ids based on name
* Replace SmallTextArea with SmallMarkdownWidget
* Clear innerHTML before swapping
* render markdown directly in template
* change render markdown view path
* remove small markdown widget
* Simplify rendering logic
* Use a form to clean input Markdown data
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-03-09 08:21:13 -05:00
jeremystretch
e015da9e4c
Undo change to default status for object type_* fields on Webhook
2023-03-07 18:01:32 -05:00
jeremystretch
4de64d783e
Add trigger_webhooks() to JobResult
2023-03-07 18:01:32 -05:00
jeremystretch
a8c331f88a
Replace JobResult.set_status() with terminate()
2023-03-07 18:01:32 -05:00
jeremystretch
697feed257
Add type_job_start & type_job_end to Webhook
2023-03-07 18:01:32 -05:00
kkthxbye-code
3260ae76f1
Move update_interface_bridges to a utility function
2023-03-07 18:00:24 -05:00
kkthxbye-code
a74ae46f86
Add bridge to InterfaceTemplate
2023-03-07 18:00:24 -05:00
Abhimanyu Saharan
33286aad39
added the missing filterset
2023-03-07 17:42:23 -05:00
jeremystretch
d48a8770de
Fixes #11903 : Fix escaping of return URL values for action buttons in tables
2023-03-07 09:34:25 -05:00
Ximalas
07b39fe44a
Update choices.py: Adding Cisco StackWise-1T ( #11886 )
...
Cisco Catalyst 9300X Series adds Cisco StackWise-1T.
https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-9300-series-switches/nb-06-cat9300-ser-data-sheet-cte-en.html
2023-03-02 08:59:08 -05:00
jeremystretch
c44eb65993
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
rmanyari
6640fc9eb7
Fixes #11470 : Validation and user friendly message on invalid address query param ( #11858 )
...
* Fixes #11470 : Validation and user friendly message on invalid address query param
* Update invalid input handling to return empty set instead of raising exception
2023-03-01 16:49:40 -05:00
Daniel W. Anner
189668fbfb
Implemented PoE choice for IEEE 802.3az
2023-03-01 15:30:19 -05:00
jeremystretch
536b46158a
Add mark_utilized to IPRange
2023-03-01 09:27:06 -05:00
jeremystretch
8a08d3621b
Closes #10374 : Require unique tenant names & slugs per group (not globally)
2023-02-28 20:03:41 -05:00
Jeremy Stretch
5517963b24
Closes #10729 : Add date & time custom field type ( #11857 )
...
* Add datetime custom field type
* Update custom field tests
2023-02-28 13:33:40 -05:00
Jeremy Stretch
7994073687
Closes #8550 : Implement ASN ranges ( #11835 )
...
* Move ASN to a separate module
* Move ASNField from dcim to ipam
* Introduce ASNRange model
* Add relationship from ASN to ASNRange
* Add an available-asns API endpoint
* Add RIR assignment for ASNRange
* Add standard tests
* Move child ASNs to a tabbed view
* Remove FK on ASN to ASNRange
* Add tests for provisioning available ASNs
* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
jeremystretch
ed5fd140eb
Optimize shallow_compare_dict()
2023-02-27 15:38:21 -05:00
aron bergur jóhannsson
4f12eccde6
Update toggle caption for vif
2023-02-27 14:53:52 -05:00
aron bergur jóhannsson
1f0db6d2fa
include static assets
2023-02-27 14:53:52 -05:00
aron bergur jóhannsson
eed6990b39
Closes #11011 : Hide virtual interfaces
2023-02-27 14:53:52 -05:00
jeremystretch
6ea30798bf
#10058 : Enable primary IP search for virtual machines too
2023-02-27 14:41:34 -05:00
Pieter Lambrecht
3418b7adf6
remove DeviceIndex search for ipaddresses
2023-02-27 14:36:56 -05:00
Pieter Lambrecht
88d5119c59
Search device by primary IP address
2023-02-27 14:36:56 -05:00
Marc
6e7d2f53aa
Change Interpreter in shebang to python3
2023-02-27 14:09:10 -05:00
Simon Toft
559a318584
Fixes #11565 - Populate custom field defaults when creating FHRP groups with VIP
2023-02-27 14:02:22 -05:00
Sebastian Himmler
67499cbf06
add conntected_enpoints property to graphql
2023-02-27 12:52:05 -05:00
Rafael Ganascim
0744ff2fa0
Fixes #11758 - replace unsafe chars in menu label ( #11831 )
...
* Fixes #11758 - replace unsafe chars in menu label
* Fixes #11758 - replace unsafe chars in menu label
2023-02-27 11:42:30 -05:00
jeremystretch
cfa6b28ceb
Closes #11807 : Restore default page size when navigating between views
2023-02-27 09:22:48 -05:00
jeremystretch
ed77c03830
Fixes #11796 : When importing devices, restrict rack by location only if the location field is specified
2023-02-27 08:26:32 -05:00
jeremystretch
e4e4d0c0ec
Fixes #11753 : Avoid re-initializing SlimSelects
2023-02-25 12:09:06 -05:00
Jeremy Stretch
084a2cc52c
Closes #9416 : Dashboard widgets ( #11823 )
...
* Replace masonry with gridstack
* Initial work on dashboard widgets
* Implement function to save dashboard layout
* Define a default dashboard
* Clean up widgets
* Implement widget configuration views & forms
* Permit merging dict value with existing dict in user config
* Add widget deletion view
* Enable HTMX for widget configuration
* Implement view to add dashboard widgets
* ObjectCountsWidget: Identify models by app_label & name
* Add color customization to dashboard widgets
* Introduce Dashboard model to store user dashboard layout & config
* Clean up utility functions
* Remove hard-coded API URL
* Use fixed grid cell height
* Add modal close button
* Clean up dashboard views
* Rebuild JS
2023-02-24 16:04:00 -05:00
Arthur Hanson
36771e821c
10520 remove Napalm code references ( #11768 )
...
* 10520 remove all Napalm code references
* 10520 remove lldp
* 10520 remove config, status - rebuild js
* 10520 re-add config parameters
* 10520 re-add serializer
* 10520 update docs
2023-02-24 15:38:50 -05:00
jeremystretch
927371b908
Adjust inspector to accommodate non-detail views
2023-02-24 13:54:39 -05:00
jeremystretch
561f1eadfc
PRVB
2023-02-21 09:03:19 -05:00
jeremystretch
c280ca35d6
Release v3.4.5
2023-02-21 08:45:52 -05:00
jeremystretch
3586cf79d4
Arrange parameters alphabetically
2023-02-21 08:42:39 -05:00
jeremystretch
972ba7bfdc
#11685 : Fix migration
2023-02-20 10:27:30 -05:00
jeremystretch
5a4d8a7107
Closes #11787 : Rebuild any missing search cache entires after upgrade
2023-02-20 09:49:13 -05:00
jeremystretch
3e946c78d0
#11685 : Clear cached search records for relevant IPAM objects
2023-02-20 09:02:58 -05:00
jeremystretch
0855ff8b42
Skip clearing cache when handling new objects
2023-02-20 08:17:39 -05:00
jeremystretch
c109daf1d8
Clean up the application registry
2023-02-19 20:09:52 -05:00
jeremystretch
c84f0de8f8
#11625 : Employ HTMX form rendering for device & VM interfaces
2023-02-19 20:09:52 -05:00
jeremystretch
368e774ceb
Add index for (source, path) to DataFile
2023-02-19 20:09:52 -05:00
Jeremy Stretch
73a7a2d27a
Closes #11559 : Implement config template rendering ( #11769 )
...
* WIP
* Add config_template field to Device
* Pre-fetch referenced templates
* Correct up_to_date callable
* Add config_template FK to Device
* Update & merge migrations
* Add config_template FK to Platform
* Add tagging support for ConfigTemplate
* Catch exceptions when rendering device templates in UI
* Refactor ConfigTemplate.render()
* Add support for returning plain text content
* Add ConfigTemplate model documentation
* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
jeremystretch
db4e00d394
#11765 : Avoid setting netbox-static-select on SelectMultiple with size
2023-02-19 20:09:52 -05:00
Jeremy Stretch
b9bd96f0c7
Closes #11765 : Remove StaticSelect & StaticSelectMultiple ( #11767 )
...
* Remove StaticSelect, StaticSelectMultiple form widgets
* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
kkthxbye-code
c73829fe92
Fix issues with the ContactAssignmentListView
2023-02-19 20:09:51 -05:00
kkthxbye-code
81b8046d1d
Fixes #9653 - Add default_platform to DeviceType
2023-02-19 20:09:51 -05:00
jeremystretch
a1c9f7a2c6
DataFile should not inherit from ChangeLoggingMixin
2023-02-19 20:09:51 -05:00
jeremystretch
62509c20da
Check for change records only if objects being deleted support change logging
2023-02-19 20:09:51 -05:00
jeremystretch
96a79c2126
Closes #11737 : ChangeLoggedModel should inherit WebhooksMixin
2023-02-19 20:09:51 -05:00
kkthxbye-code
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
jeremystretch
b267cbae36
Merge migrations
2023-02-19 20:09:51 -05:00
jeremystretch
ac87ce733d
Closes #11693 : Enable remote data synchronization for export templates
2023-02-19 20:09:51 -05:00
Jeremy Stretch
678a7d17df
Closes #9073 : Remote data support for config contexts ( #11692 )
...
* WIP
* Add bulk sync view for config contexts
* Introduce 'sync' permission for synced data models
* Docs & cleanup
* Remove unused method
* Add a REST API endpoint to synchronize config context data
2023-02-19 20:09:51 -05:00
jeremystretch
664132281e
Fixes #11659 : Include all relevant DataFile attributes during bulk update
2023-02-19 20:09:51 -05:00
jeremystretch
0be633d624
#11558 : Fix URL display under data source view
2023-02-19 20:09:51 -05:00
Jeremy Stretch
d8784d4155
Closes #11558 : Add support for remote data sources ( #11646 )
...
* WIP
* WIP
* Add git sync
* Fix file hashing
* Add last_synced to DataSource
* Build out UI & API resources
* Add status field to DataSource
* Add UI control to sync data source
* Add API endpoint to sync data sources
* Fix display of DataSource job results
* DataSource password should be write-only
* General cleanup
* Add data file UI view
* Punt on HTTP, FTP support for now
* Add DataSource URL validation
* Add HTTP proxy support to git fetcher
* Add management command to sync data sources
* DataFile REST API endpoints should be read-only
* Refactor fetch methods into backend classes
* Replace auth & git branch fields with general-purpose parameters
* Fix last_synced time
* Render discrete form fields for backend parameters
* Enable dynamic edit form for DataSource
* Register DataBackend classes in application registry
* Add search indexers for DataSource, DataFile
* Add single & bulk delete views for DataFile
* Add model documentation
* Convert DataSource to a primary model
* Introduce pre_sync & post_sync signals
* Clean up migrations
* Rename url to source_url
* Clean up filtersets
* Add API & filterset tests
* Add view tests
* Add initSelect() to HTMX refresh handler
* Render DataSourceForm fieldsets dynamically
* Update compiled static resources
2023-02-19 20:09:51 -05:00
jeremystretch
e65b2a9fb3
Closes #11625 : Add HTMX support to ObjectEditView
2023-02-19 20:09:51 -05:00
jeremystretch
7accdd52d8
Closes #11611 : Refactor API viewset classes and introduce NetBoxReadOnlyModelViewSet
2023-02-19 20:09:51 -05:00
jeremystretch
2669068429
#11517 : Standardize display of contact assignments
2023-02-19 20:09:51 -05:00
jeremystretch
157bf89e89
Closes #11584 : Add a list view for contact assignments
2023-02-19 20:09:51 -05:00
jeremystretch
6e264562ee
Use embedded tables for importing/export VRFs & L2VPNs under route target view
2023-02-19 20:09:51 -05:00
jeremystretch
2525eefefd
Move rack reservations panel to separate tab
2023-02-19 20:09:51 -05:00
jeremystretch
0f6995e92a
Use embedded table to show assigned services under object view
2023-02-19 20:09:51 -05:00
jeremystretch
8f7c100e22
Standard related object links across all models
2023-02-19 20:09:51 -05:00
jeremystretch
48e5b395b2
Standardize linking to related objects in tables
2023-02-19 20:09:51 -05:00
jeremystretch
94797bb956
Standardize related model display for organizational models
2023-02-19 20:09:51 -05:00
jeremystretch
91b81d51da
Standardize related model display for nested models
2023-02-19 20:09:51 -05:00
jeremystretch
0c9e7aa074
Clean up related objects for sites, tenants
2023-02-19 20:09:51 -05:00
kkthxbye
8e94eb67d2
Add the enabled
filed to InterfaceTemplate
2023-02-19 20:09:51 -05:00
Jeremy Stretch
1a2dae3471
Closes #8184 : Enable HTMX for embedded tables ( #11518 )
...
* Enable HTMX rendering for embedded tables
* Start converting embedded tables to use HTMX (WIP)
* Additional table conversions (WIP)
* Standardize HTMX usage for nested group models
* Enable HTMX for additional emebedded tables
* Fix HTMX table rendering for ObjectChildrenView
* Standardize usage of inc/panel_table.html
* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
jeremystretch
f74a2536f1
Closes #11254 : Introduce the X-Request-ID HTTP header to annotate the unique ID of each request for change logging
2023-02-19 20:09:51 -05:00
jeremystretch
0b4ea14e9a
Closes #11489 : Refactor & combine core middleware
2023-02-19 20:09:51 -05:00
jeremystretch
2381317eb3
Closes #10604 : Remove unused extra_tabs block from object.html generic template
2023-02-19 20:09:51 -05:00
jeremystretch
e19ce69238
Closes #10923 : Remove unused NetBoxModelCSVForm class
2023-02-19 20:09:51 -05:00
jeremystretch
cd09501d4d
#11685 : Omit no-op migration
2023-02-19 20:08:57 -05:00
jeremystretch
e635e3e959
Fixes #11658 : Remove reindex command call from search migration
2023-02-19 18:57:27 -05:00
kkthxbye-code
25278becef
Change Prefix and Aggregate search index weights to better order search results.
2023-02-19 18:50:24 -05:00
kkthxbye-code
fc7cb106c1
Address feedback
2023-02-19 18:50:24 -05:00
kkthxbye-code
18ea7d1e13
pep8 fixes
2023-02-19 18:50:24 -05:00
kkthxbye-code
eed1b8f412
Create CachedValueField to contain search specific lookups
2023-02-19 18:50:24 -05:00
kkthxbye-code
a61e7e7c04
Fix typo in search query
2023-02-19 18:50:24 -05:00
kkthxbye-code
ce166b12ce
Proof of concept for showing containing prefixes when searching for ip-addresses.
2023-02-19 18:50:24 -05:00
jeremystretch
315371bf7c
Fixes #11786 : List only applicable object types in form widget when filtering custom fields
2023-02-19 16:17:57 -05:00
jeremystretch
afc752b4ce
Fixes #11723 : Circuit terminations should link to their associated circuits (rather than site or provider network)
2023-02-17 21:31:19 -05:00
jeremystretch
c031951f4b
Closes #11110 : Add start_address and end_address filters for IP ranges
2023-02-17 16:50:10 -05:00
Aron Bergur Jóhannsson
2db181ea49
Closes #11592 : Expose FILE_UPLOAD_MAX_MEMORY_SIZE as a setting ( #11742 )
...
* Closes #11592 : Expose FILE_UPLOAD_MAX_MEMOMORY_SIZE as a setting
* change configuration settings to alphabetic order
* Small example and documentation
---------
Co-authored-by: aron bergur jóhannsson <aronnemi@gmail.com>
2023-02-16 11:26:22 -05:00
aron bergur jóhannsson
eee1a0e10a
change empty list to qs.none()
2023-02-16 11:06:57 -05:00
aron bergur jóhannsson
9594049804
Fixes #11473 graphql invalid tag filter returns all devices/interfaces
2023-02-16 11:06:57 -05:00
kkthxbye-code
c78022a74c
Change the way we invalidate the module cache to support reloading code from subpackages
2023-02-16 10:50:38 -05:00
Jeremy Stretch
9f91b89467
#11711 : Use CSVModelChoiceField for custom object fields during CSV import
2023-02-13 17:53:01 -05:00
kkthxbye
d748851027
Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields ( #11712 )
...
* Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields
* Fix pep8
---------
Co-authored-by: kkthxbye-code <>
2023-02-13 17:49:08 -05:00
kkthxbye
df499ea8ac
Fixes #11459 - Allow using null in conditions ( #11722 )
...
* Fixes #11459 - Allow using null in conditions
- Update docs to reflect this
- Change docs example from primary_ip to primary_ip4 as computed properties are not serialized when queuing webhooks
* Update netbox/extras/conditions.py
---------
Co-authored-by: Simon Toft <SITO@telenor.dk>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-02-13 17:44:35 -05:00
kkthxbye-code
f9237285fd
Fixes #11601 - Add partial lookup to IPRangeFilterSet
2023-02-08 14:50:22 -05:00
kkthxbye-code
3c970c331c
Fixes #11582 : Fix missing VC form errors
...
### Fixes : #11582
Not sure if this is the correct fix or not. The reason that the custom field errors were not shown is that messages.html only shows non_field_errors if the form passed to the context is named form. This is probably an issue in more places, but not sure how to make it generic. A change to messages.html would also need to support formsets.
Any input appreciated @jeremystretch or @arthanson
2023-02-08 14:40:46 -05:00
kkthxbye
91705aa9fd
Fixes #11032 - Replication fields broken in custom validation ( #11698 )
...
* Fixes #11032 - Replication fields broken in custom validation
* Use getattr instead of hasattr to make sure custom validation is triggered as normal
---------
Co-authored-by: kkthxbye-code <>
2023-02-08 14:36:20 -05:00
jeremystretch
56c7a238a4
Fixes #11683 : Fix CSV header attribute detection when auto-detecting import format
2023-02-07 17:24:26 -05:00
jeremystretch
edbd597bf2
Update housekeeping command docs
2023-02-07 16:52:54 -05:00
jeremystretch
5e1bb20f32
Display login message as success
2023-02-07 16:49:07 -05:00
jeremystretch
7ebfa4c1d1
PRVB
2023-02-02 15:41:24 -05:00
jeremystretch
37d0135cab
Release v3.4.4
2023-02-02 15:24:54 -05:00
Maximilian Wilhelm
699edd049c
Closes #11152 : Add support to abort custom script gracefully ( #11621 )
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2023-02-02 15:22:55 -05:00
jeremystretch
95b2acb603
Fixes #11650 : Display error message when attempting to create device component with duplicate name
2023-02-02 14:59:16 -05:00
Abhimanyu Saharan
fb2771370c
handled scripts error when only interval is used
2023-02-02 10:25:19 -05:00
jeremystretch
a137cd6cbe
Fixes #11635 : Pre-populate assigned VRF when following "first available IP" link from prefix view
2023-02-01 12:28:54 -05:00
Arthur
10e27cfa00
11620 fix interface poe type filter
2023-02-01 10:24:20 -05:00
jeremystretch
e7ad6eeb74
Fixes #11613 : Correct plugin import logic fix from #11267
2023-01-27 19:56:12 -05:00
Jeremy Stretch
fbc9fea0a5
Fixes #11267 : Avoid catching ImportError exceptions when loading plugins ( #11566 )
...
* Avoid catching ImportErrors when loading plugin URLs
* Avoid catching ImportErrors when loading plugin resources
2023-01-27 16:44:10 -05:00
jeremystretch
ccc108a217
Closes #11598 : Add buttons to easily switch between rack list and elevations views
2023-01-26 10:53:59 -05:00
jeremystretch
22a9df82e6
Closes #11554 : Add module types count to manufacturers list
2023-01-26 08:46:25 -05:00
jeremystretch
9cb75e9834
Closes #11585 : Add IP address filters for services
2023-01-25 21:25:25 -05:00
jeremystretch
55b1549895
Closes #10762 : Permit selection custom fields to have only one choice
2023-01-25 10:27:05 -05:00
jeremystretch
6f74c5ec03
Fixes #11528 : Show edit/delete buttons in user tokens table
2023-01-25 10:09:37 -05:00
jeremystretch
b8de9c0875
Fixes #11528 : Permit import of devices using uploaded file
2023-01-25 09:55:45 -05:00
jeremystretch
d5ccda355f
Fixes #11562 : Correct ordering of virtual chassis interfaces with duplicate names
2023-01-24 15:44:02 -05:00
Arthur Hanson
eca624b13d
11487 remove set null from read-only custom fields bulk edit ( #11552 )
...
* 11487 remove set null from read-only custom fields bulk edit
* 11487 removes unreleased sentry-sdk
2023-01-23 08:48:14 -05:00
jeremystretch
5f7e310305
Fixes #11555 : Avoid inadvertent interpretation of search query as regular expression under global search
2023-01-20 16:47:19 -05:00
jeremystretch
d5e6829eff
PRVB
2023-01-20 14:21:03 -05:00
jeremystretch
5911041777
#11516 : Tweak fix to ensure proper highlighting
2023-01-20 13:43:47 -05:00
jeremystretch
fcd0481b09
Release v3.4.3
2023-01-20 13:10:21 -05:00
jeremystretch
cc350165dd
Fixes #11544 : Catch ValidationError exception when filtering by invalid MAC address
2023-01-20 12:06:34 -05:00
Arthur
db7e1b8a97
11537 remove connection from power feed table
2023-01-20 11:52:56 -05:00
reishoku
6271f81cff
Add 800GbE interface support: QSFP-DD OSFP ( #11429 )
...
Signed-off-by: KOSHIKAWA Kenichi <reishoku.misc@pm.me>
Signed-off-by: KOSHIKAWA Kenichi <reishoku.misc@pm.me>
2023-01-20 10:09:53 -05:00
jeremystretch
4bfc3bf412
#11118 : Extend L2VPN filters to device & VM interfaces
2023-01-20 09:58:58 -05:00
Abhimanyu Saharan
d5a92104d1
added l2vpn_termination on vlan filterset ( #11501 )
...
* added l2vpn_termination on vlan filterset
* added l2vpn to vlan filterset
2023-01-20 09:34:41 -05:00
Abhimanyu Saharan
ddd4f805a5
added device and vm tab on device role ( #11500 )
...
* added vm tab on device role
* added blank lines
* updated templates
* fixed lint issues
2023-01-20 09:30:18 -05:00
Abhimanyu Saharan
426bc15065
fixed AttributeError: object of class Schema has no attribute fields
2023-01-17 21:12:06 -05:00
kkthxbye-code
df5febf6e7
Add re.escape to highlight_string
2023-01-17 20:42:17 -05:00
jeremystretch
9e09e46700
Fixes #11522 : Correct tag links under contact & tenant list views
2023-01-17 10:32:22 -05:00
jeremystretch
19da92b510
#11488 : Additional cleanup
2023-01-17 10:26:34 -05:00
Abhimanyu Saharan
beb1f4e172
added missing description field on the api serializers
2023-01-17 10:20:34 -05:00
kkthxbye-code
fb3d1ef399
Check for the extras.run_script permission when running scripts via. the API
2023-01-17 10:13:18 -05:00
jeremystretch
d7c37d9dd6
Fixes #11483 : Apply configured formatting to custom date fields
2023-01-13 08:23:57 -05:00
jeremystretch
8565d175f9
Fixes #11467 : Correct count on interfaces tab when viewing a VC master device
2023-01-12 09:05:55 -05:00
Arthur
8d9e151030
11416 fix circuit termination deletion
2023-01-11 16:09:39 -05:00
jeremystretch
758c5347fb
Fixes #10201 : Fix AssertionError exception when removing some terminations from an existing cable
2023-01-11 14:42:25 -05:00
jeremystretch
8729d60c1c
Fixes #11402 : Avoid LookupError exception when running scripts with commit disabled
2023-01-09 10:57:13 -05:00
kkthxbye
effcdb8723
Snapshot DeviceBay before populating/depopulating.
2023-01-09 08:39:54 -05:00
kkthxbye
1354947434
Get the queue from QUEUE_MAPPINGS when deleting JobResults
2023-01-09 08:22:40 -05:00
jeremystretch
93ac0b77c9
Fixes #11379 : Fix TypeError exception when bulk editing custom date fields
2023-01-06 16:23:38 -05:00
Mario
ea327e6b37
Closes #10486 : Add buttons to edit cables ( #11414 )
...
* Added buttons to edit cables
* Revert change that did not address this branch
* Consolidated buttons
* moved back trace button / added permission checks
* reverted disabled trace button
2023-01-06 15:11:29 -05:00
kkthxbye-code
f7b85ab941
Return no terminations if the cable is unsaved
2023-01-06 14:57:07 -05:00
Arthur Hanson
ce9933da85
11340 cable termination setter ( #11341 )
...
* 11340 update _terminations_modified only if modified
* 11340 update _terminations_modified only if modified
2023-01-06 10:15:43 -05:00
jeremystretch
0669fda1fd
Fixes #11384 : Correct current time display on script & report forms
2023-01-06 09:42:13 -05:00
Renato Almeida de Oliveira
35273cc87f
Add ExportTemplatesMixin to JournalEntry model ( #11251 )
...
* Add ExportTemplatesMixin to JournalEntry model
* Move mixin ahead of base class
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-01-05 16:26:48 -05:00
Daniel W. Anner
5af73e9bf7
#11371 - Add various 100Mb Interface Types ( #11377 )
...
* Added 100base-fx (aka fast ethernet over fiber optic)
* Added 100BASE-T1 (single pair fast ethernet) as well as 100BASE‑LFX (fast ethernet over fiber, non standard)
* Update choices.py
Updated the placing of the 100base-fx and lfx choices
* Update netbox/dcim/choices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-01-05 16:26:26 -05:00
Patrick Kerwood
128ccb4330
feat: added setting redis certificate authority path
2023-01-05 16:15:26 -05:00
Robin Schneider
07df622b59
NetBox should always be referred to as NetBox [DATALAD RUNCMD]
...
=== Do not change lines below ===
{
"chain": [],
"cmd": "git ls-files -z . | xargs --null -I '()' find './()' -type f -not -name 'style-guide.md' -print0 | xargs --null sed --in-place --regexp-extended 's/\\bNetbox\\b/NetBox/g;'",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
2023-01-05 16:06:00 -05:00
Michaël Arnauts
5d22260589
#11150 : Add a filter for device.primary_ip4 and primary_ip6 ( #11382 )
...
* Closes #11150 : Add a filter for device.primary_ip4 and primary_ip6
* Tweaked tests to query for multiple IDs
Co-authored-by: jeremystretch <jstretch@ns1.com>
2023-01-05 14:25:15 -05:00
kkthxbye-code
39985ebdd1
Fix exception when scheduling a job in the past
2023-01-05 13:52:07 -05:00
jeremystretch
92ec06c694
PRVB
2023-01-03 16:30:17 -05:00
jeremystretch
e940f00c01
Release v3.4.2
2023-01-03 16:13:11 -05:00
kkthxbye
b9f8370097
Fixes #11156 - Allow InventoryItem component reassignment ( #11256 )
...
* Allow re-assigning InventoryItem components
* Refactor logic for finding initial component assignment on InventoryItems
* PEP8 fix
* Fix wrong HTML causing tab list to extend past the end of the parent row
* Tweak form field labels
Co-authored-by: jeremystretch <jstretch@ns1.com>
2023-01-03 10:13:34 -05:00
Christian Harendt
1c636ea127
add username for redis authentication
2023-01-03 09:42:18 -05:00
kkthxbye
e1169e7ea6
Fixes #11345 - Fix module validation ( #11346 )
...
* Make sure we bail out if field validation failed when importing modules
* Tweak form validation logic
Co-authored-by: jeremystretch <jstretch@ns1.com>
2023-01-03 09:14:25 -05:00
kkthxbye-code
5975dbcb07
Fix component traces all pointing to the interface trace URL
2023-01-03 08:25:28 -05:00
Arthur Hanson
08a419ec7a
11271 flag to disable localization ( #11323 )
...
* 11271 flag to disable localization
* 11271 change to remove middleware
* 11271 update docs for new var
* Update docs/configuration/system.md
Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>
2022-12-29 09:04:35 -05:00
Mario
ccb2966c4c
Fixes #11244 : Elevations: Filter badge missing ( #11321 )
...
* Added filter badge in rack elevation
* Tweak template context
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-12-28 16:54:33 -05:00
Alef Burzmali
b7cdbd3d41
Fixes #11248 - Reindex only NetBox apps
2022-12-28 16:35:05 -05:00
Alef Burzmali
ae440c9edf
Fixes #11223 - Accept app_label for reindex
2022-12-28 16:35:05 -05:00
Arthur
98f57f2dba
11297 have custom field form display content-type instead of model
2022-12-27 15:50:08 -05:00
kkthxbye-code
735fa4aa31
Add summed resource card to cluster view
2022-12-27 10:24:46 -05:00
kkthxbye
c7108bb3f7
Fixes #11280 - Fix exporting interfaces and FHRP group rows with multiple IP's assigned ( #11285 )
...
undefined
2022-12-27 10:15:28 -05:00
kkthxbye-code
92da2fe082
Add device name as part of module search for the q filter
2022-12-22 10:09:53 -05:00
kkthxbye-code
bfab3a26bc
Add component import to InventoryItem bulk import
2022-12-22 09:59:50 -05:00
kkthxbye-code
b35b33e798
Use the start time to calculate duration of jobs instead of created time
2022-12-22 09:52:05 -05:00
jeremystretch
db5c2a379e
Fixes #11232 : Enable partial & regex matching for non-string types in global search
2022-12-22 09:14:57 -05:00
jeremystretch
3675ad2539
PRVB
2022-12-16 17:18:06 -05:00
jeremystretch
0058c7749c
Release v3.4.1
2022-12-16 17:03:40 -05:00
jeremystretch
f882dcabf7
Fixes #11184 : Correct visualization of cable path which splits across multiple circuit terminations
2022-12-16 16:45:51 -05:00
Arthur Hanson
c8f4a7c742
11206 dont remove user groups if no valid REMOTE_AUTH_DEFAULT_GROUPS ( #11207 )
...
* 11206 dont remove user groups if no valid REMOTE_AUTH_DEFAULT_GROUPS
* 11206 dont remove user groups if no valid REMOTE_AUTH_DEFAULT_GROUPS
2022-12-16 08:59:24 -05:00
jeremystretch
ed366c5ab2
Closes #11214 : Introduce the DEFAULT_LANGUAGE configuration parameter
2022-12-16 08:56:14 -05:00
jeremystretch
2738da2d39
Fixes #11189 : Fix localization of dates & numbers
2022-12-16 08:43:05 -05:00
jeremystretch
9f15ca2d90
Closes #9971 : Enable ordering of nested group models by name
2022-12-15 16:21:30 -05:00
jeremystretch
951f82b428
Fixes #11205 : Correct cloning behavior for recursively-nested models
2022-12-15 16:04:29 -05:00
Arthur Hanson
f8685ad7aa
11175 fix cloning special chars in fields ( #11181 )
...
* 11175 fix cloning special chars in fields
* 11175 fix cloning special chars in fields
2022-12-15 13:07:55 -05:00
Arthur
c59d527664
11178 fix quick search press enter button
2022-12-15 13:01:21 -05:00
jeremystretch
77423e7bb1
Fixes #11185 : Fix TemplateSyntaxError when viewing custom script results
2022-12-15 12:55:09 -05:00
jeremystretch
ba12675267
PRVB
2022-12-14 14:24:46 -05:00
jeremystretch
bbc68f9484
Release v3.4.0
2022-12-14 13:10:22 -05:00
Arthur Hanson
b2bf613895
11171 fix graphql related models query ( #11172 )
...
* 11171 fix graphql related models query
* 11171 remove redundant code from code review
* 11171 remove redundant code from code review
2022-12-14 11:32:22 -05:00
jeremystretch
80ced6b782
Closes #11163 : Auto-detect data format during bulk import
2022-12-14 10:09:59 -05:00
jeremystretch
47dfb89c52
Relocate ImportFormatChoices
2022-12-14 09:30:10 -05:00
jeremystretch
064e3ff605
Merge branch 'develop' into feature
2022-12-13 17:17:05 -05:00
jeremystretch
5e32b39f25
Release v3.3.10
2022-12-13 15:29:07 -05:00
jeremystretch
b9888d6f86
Fixes #11109 : Fix nullification of custom object & multi-object fields via REST API
2022-12-13 14:48:40 -05:00
jeremystretch
96a796ebde
Fixes #11173 : Enable missing tags columns for contact, L2VPN lists
2022-12-13 14:04:50 -05:00
jeremystretch
68faab8196
Fixes #11168 : Honor RQ_DEFAULT_TIMEOUT config parameter when using Redis Sentinel
2022-12-13 13:22:28 -05:00
sleepinggenius2
b3693099dc
Adds replication and adoption for module import ( #9498 )
...
* Adds replication and adoption for module import
* Moves common Module form clean logic to new class
* Adds tests for replication and adoption for module import
* Fix test
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-12-13 11:33:09 -05:00
Arthur Hanson
9bb9ac3dec
11077 use formatting for custom field date ( #11143 )
...
* 11077 use formatting for custom field date
* Apply configured date format to column render() method
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-12-13 09:22:57 -05:00
kkthxbye-code
a57378e780
Add missing newline and change wording of InventoryItem validation
2022-12-13 08:58:57 -05:00
kkthxbye-code
41f631b65b
Allow re-assigning inventoryitems to other devices
2022-12-13 08:58:57 -05:00
jeremystretch
aacf606999
#10739 : Collapse BaseView class
2022-12-12 16:32:55 -05:00
jeremystretch
e338f7cfe3
#10371 : Fix API serializer representation for module status
2022-12-12 16:14:18 -05:00
jeremystretch
758030733c
#8366 : Misc cleanup
2022-12-12 15:27:37 -05:00
jeremystretch
ad78f9e075
#7961 : Fix updating via import when custom fields are absent
2022-12-12 14:19:27 -05:00
jeremystretch
3468e8c8ae
#9623 : Misc cleanup
2022-12-12 12:56:38 -05:00
jeremystretch
13d39a28ce
#7854 : Misc cleanup
2022-12-12 12:34:05 -05:00
jeremystretch
8809fc949b
Fixes #11154 : Index VM interface MAC address and MTU for global search
2022-12-12 10:43:48 -05:00
jeremystretch
860805ba82
Closes #10255 : Introduce LOGOUT_REDIRECT_URL config parameter to control redirection of user after logout
2022-12-09 17:08:07 -05:00
jeremystretch
1e0b024609
Closes #10516 : Add vertical frame & cabinet rack types
2022-12-09 16:35:37 -05:00
jeremystretch
8486d47d17
Fixes #11142 : Correct available choices for status under IP range filter form
2022-12-09 16:04:46 -05:00
jeremystretch
407365888a
Closes #11089 : Permit whitespace in MAC addresses
2022-12-09 16:00:11 -05:00
jeremystretch
2ad1db0c64
Tweak migration name
2022-12-09 15:07:10 -05:00
jeremystretch
83a0576ca4
#9072 : Add weight parameter to influence ViewTab ordering
2022-12-09 14:50:13 -05:00
jeremystretch
0b100b8fc8
Closes #10675 : Add max_weight field to track maximum load capacity for racks
2022-12-09 12:45:02 -05:00
jeremystretch
2b12138c41
Fix configuration key for WirelessLANStatusChoices
2022-12-09 10:45:02 -05:00
jeremystretch
97aa40f7a8
Closes #10371 : Add operational status field for modules
2022-12-09 10:43:29 -05:00
jeremystretch
b2f34cec19
Fixes #10950 : Fix validation of VDC primary IPs
2022-12-09 09:49:01 -05:00
Jeremy Stretch
4297c65f87
Closes #10945 : Enable recurring execution of scheduled reports & scripts ( #11096 )
...
* Add interval to JobResult
* Accept a recurrence interval when executing scripts & reports
* Cleaned up jobs list display
* Schedule next job only if a reference start time can be determined
* Improve validation for scheduled jobs
2022-12-08 18:17:13 -05:00
jeremystretch
6ffd8aa320
Introduce constants for RQ queue names
2022-12-08 09:58:52 -05:00
kkthxbye-code
d53ddd611b
Add any queues defined in QUEUE_MAPPINGS to RQ_QUEUES
2022-12-08 09:45:21 -05:00
kkthxbye-code
080a001118
Allow redefining internally used queues
2022-12-08 09:45:21 -05:00
jeremystretch
5a77791f9d
Merge branch 'develop' into feature
2022-12-08 09:31:22 -05:00
kkthxbye-code
0cacac82ee
Disable sorting by object_repr on ObjectChangeTable
2022-12-08 08:44:11 -05:00
Jeremy Stretch
780997a568
Closes #11119 : Enable filtering L2VPNs by slug
2022-12-06 15:48:22 -05:00
Jeremy Stretch
d2d60c0607
Fixes #11087 : Fix background color of bottom banner content
2022-12-06 15:40:59 -05:00
Renato Almeida de Oliveira
d4d8d00d01
add distinct method to circuit_count
2022-12-06 15:19:35 -05:00
jeremystretch
db61e57893
Closes #11090 : Add regular expression support to global search engine
2022-12-02 12:54:35 -05:00
Jeremy Stretch
52cf9086a5
Fixes #11046 : Restrict length of indexed search values ( #11076 )
...
* Fixes #11046 : Restrict length of indexed search values
* Reference constant in index declaration
* Remove index from CachedValue.value
2022-12-02 10:07:53 -05:00
PieterL75
ee03f3d584
10748 Add 'Provider' to the circuit termination edit/view ( #10939 )
...
* Show the Provider of the NetworkProvider
* Clean up form fields
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-12-02 09:27:47 -05:00
Arthur Hanson
2577f3a786
11000 improve yaml import ( #11075 )
...
* 11000 improve yaml import
* 11000 add commenting
* 11000 add commenting
2022-12-02 08:34:24 -05:00
Arthur
826a1714c3
11041 return power percentage with 1 decimal place
2022-12-01 15:41:15 -05:00
jeremystretch
d0e0c2ff8b
Merge branch 'develop' into feature
2022-11-30 16:21:20 -05:00
jeremystretch
fb407e9076
PRVB
2022-11-30 16:18:03 -05:00
jeremystretch
f2f36c67f6
Release v3.3.9
2022-11-30 15:51:37 -05:00
jeremystretch
281934cf34
Fixes #11047 : Cloning a rack reservation should replicate rack & user
2022-11-30 15:37:50 -05:00
jeremystretch
00d72f18cf
Annotate need for natural ordering
2022-11-30 15:33:01 -05:00
Arthur
b36afdc924
11014 code review changes
2022-11-30 15:33:01 -05:00
Arthur
4ed45e4031
11014 fix rack elevation name sorting
2022-11-30 15:33:01 -05:00
Arthur
cf0258204f
11048 fix connected_endpoint refs
2022-11-30 15:13:45 -05:00
Patrick Hurrelmann
3bd560add8
Fixes #11028 - Enable clearing of the color field for front and rear ports in bulk edit
2022-11-30 15:09:07 -05:00
Arthur
9e51a8d9d2
10999 fix power utilization on Device detail
2022-11-29 09:38:04 -05:00
Arthur
f59c6699f6
11025 fix error tag toast
2022-11-29 09:36:48 -05:00
jeremystretch
39732fa861
Merge branch 'develop' into feature
2022-11-29 09:19:11 -05:00
jeremystretch
80f5eeacdd
Fix issues loading demo data
2022-11-29 09:18:03 -05:00
jeremystretch
f56e3eb784
Fixes #8058 : Display server-side form errors inline with fields
2022-11-22 12:02:21 -05:00
jeremystretch
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
jeremystretch
b1da374df2
Fixes #10997 : Fix exception when editing NAT IP for VM with no cluster
2022-11-22 08:52:21 -05:00
jeremystretch
dc1da0a738
Fixes #10996 : Hide checkboxes on child object lists when no bulk operations are available
2022-11-22 08:52:04 -05:00
jeremystretch
1946e8f053
#10984 : Update test
2022-11-21 16:05:51 -05:00
jeremystretch
4623858849
Fixes #10936 : Permit demotion of device/VM primary IP via IP address edit form
2022-11-21 15:36:13 -05:00
jeremystretch
9c5891f1b6
Fixes #10929 : Raise validation error when attempting to create a duplicate cable termination
2022-11-21 14:08:33 -05:00
jeremystretch
d5538c1ca3
Fixes #10241 : Support referencing custom field related objects by attribute in addition to PK
2022-11-21 12:48:13 -05:00
jeremystretch
90f15b8d55
Fixes #10938 : render_field template tag should respect label kwarg
2022-11-21 09:49:30 -05:00
jeremystretch
4e27e8d3dd
Fixes #10969 : Update cable paths ending at associated rear port when creating new front ports
2022-11-21 09:44:08 -05:00
jeremystretch
150cb772fe
Fixes #10984 : Fix navigation menu expansion for plugin menus comprising multiple words
2022-11-21 08:38:44 -05:00
jeremystretch
e494d7bb22
Fixes #10982 : Catch NoReverseMatch exception when rendering tabs with no registered URL
2022-11-21 08:06:12 -05:00
jeremystretch
9774bb46ce
Fixes #10973 : Fix device links in VDC table
2022-11-18 16:33:06 -05:00
jeremystretch
84c0c45da9
Fixes #10980 : Fix view tabs for plugin objects
2022-11-18 16:26:08 -05:00
jeremystretch
46e3883f19
Closes #815 : Enable specifying terminations when bulk importing circuits
2022-11-18 15:22:24 -05:00
Arthur
3a89a676cd
10869 convert docstring to comment
2022-11-18 13:47:55 -05:00
jeremystretch
0885333b11
Fixes #9223 : Fix serialization of array field values in change log
2022-11-18 11:24:14 -05:00
Arthur Hanson
de9646d096
10653 log failed login attempts on INFO ( #10843 )
...
* 10653 log failed login attempts on INFO
* 10653 use signal to log failed login attempts
* 10653 use signal to log failed login attempts
* Update netbox/users/signals.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
* Update netbox/users/apps.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-18 08:57:57 -05:00
Arthur Hanson
dd2520d675
10236 fix device detail for power-feed ( #10961 )
...
* 10236 fix device detail for power-feed
* 10236 optimize with statement
2022-11-18 08:55:28 -05:00
jeremystretch
3a5914827b
Fixes #6389 : Call snapshot() on object when processing deletions
2022-11-17 21:04:55 -05:00
jeremystretch
cf55e96241
Fixes #10721 : Disable ordering by custom object field columns
2022-11-17 16:30:54 -05:00
jeremystretch
bd29d15814
Fixes #10579 : Mark cable traces terminating to a provider network as complete
2022-11-17 16:08:29 -05:00
jeremystretch
d3911e2a4c
Fixes #9878 : Fix spurious error message when rendering REST API docs
2022-11-17 15:13:37 -05:00
jeremystretch
43bbd42d3c
Fixes #10957 : Add missing VDCs column to interface tables
2022-11-17 12:29:30 -05:00
jeremystretch
d4a231585a
Clean up tests
2022-11-17 10:50:05 -05:00
kkthxbye-code
977b79ecee
Check that device has a platform set before rendering napalm tab
2022-11-17 08:25:06 -05:00
kkthxbye-code
5202d0add9
Linkify primary IP for VDC
2022-11-17 08:22:42 -05:00
jeremystretch
ebf555e1fb
Use strings to specify prerequisite models
2022-11-16 17:22:09 -05:00
jeremystretch
f411c4f439
Introduce panel template for services
2022-11-16 16:52:35 -05:00
jeremystretch
2f96fdd135
Merge branch 'develop' into feature
2022-11-16 11:42:32 -05:00
jeremystretch
e40e2550a6
PRVB
2022-11-16 11:34:45 -05:00
jeremystretch
62a80c46a8
Release v3.3.8
2022-11-16 10:45:29 -05:00
jeremystretch
540bba4544
Closes #10920 : Include request cookies when queuing a custom script
2022-11-16 10:37:06 -05:00
Patrick Hurrelmann
3a62fd49e6
Fixes : #10356 backplane connections ( #10554 )
...
* Fixes : #10356 Add interface type and cable for backplane connections
* Allow Backplone for front and readports , too.
* Correct tyo in port definition
* pep8 fix (blank lines)
* Remove port type and changed name/description of backplane cable
* Omit backplane cable type
Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-16 10:26:46 -05:00
Derick Vigne
a2007a4728
Closes #10904 : Added Colors to SVG for Front and Rear Ports ( #10905 )
...
* Added Colors to SVG for Front and Reaer Ports
Fix for feature request 10904 thanks to @TheZackCodec
* Simplify termination color resolution
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-16 09:57:49 -05:00
Arthur Hanson
928d880f0e
10902 add location to power feed form ( #10913 )
...
* 10902 add location to power feed form
* Bind location field to selected site
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-16 09:27:49 -05:00
Arthur
c6930e3ea8
10919 add location to cable termination panels
2022-11-16 09:22:39 -05:00
jeremystretch
80f5c96af3
Document save_object() on BulkImportView
2022-11-16 08:47:45 -05:00
jeremystretch
de1b346da0
Split core views into separate modules
2022-11-16 08:43:22 -05:00
jeremystretch
96818cacf0
#10608 : Use register_model_view() for token views
2022-11-16 08:11:42 -05:00
jeremystretch
0c0c848597
Clean up plugins documentation
2022-11-15 16:55:18 -05:00
jeremystretch
23077821f6
#10052 : Serialize date fields
2022-11-15 16:10:20 -05:00
jeremystretch
87fd09ca8b
Cleanup for #9654
2022-11-15 15:30:39 -05:00
jeremystretch
0bcc59a1e9
#8366 : Add started field to JobResult
2022-11-15 15:06:11 -05:00
jeremystretch
87727c71f7
#8366 : name scheduled_time to scheduled for consistency with other fields
2022-11-15 13:37:13 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
d9d25ff4e7
Cleanup for #4347
2022-11-15 12:09:03 -05:00
jeremystretch
6f8a7fdbe3
Cleanup for #7854
2022-11-15 11:24:36 -05:00
jeremystretch
640fd8045d
#9887 : Add missing model documentation links
2022-11-15 11:00:13 -05:00
jeremystretch
355678274d
#9623 : Add slug field to SavedFilter
2022-11-15 10:44:12 -05:00
jeremystretch
ecf5304a14
#10560 : Add new fields to indexers
2022-11-15 10:37:35 -05:00
jeremystretch
94dd07e1e6
#10560 : Build search index as part of migration
2022-11-15 10:37:16 -05:00
Arthur
564884a774
10903 add module type on manufacturer page
2022-11-14 14:17:06 -05:00
Arthur
7401fd7050
10909 add l2vpn to tenant stats
2022-11-14 14:16:18 -05:00
Jeremy Stretch
a5308ea28e
Closes #10851 : New staging mechanism ( #10890 )
...
* WIP
* Convert checkout() context manager to a class
* Misc cleanup
* Drop unique constraint from Change model
* Extend staging tests
* Misc cleanup
* Incorporate M2M changes
* Don't cancel wipe out creation records when an object is deleted
* Rename Change to StagedChange
* Add documentation for change staging
2022-11-14 13:55:03 -05:00
Arthur Hanson
27bf7b4a9a
4751 Enable plugins to inject content within object list views ( #10901 )
...
* 4751 add plugin buttons to list templates
* 4751 add plugin buttons to list templates
* 4751 add documentation
* 4751 fix object reference
* 4751 update docs
2022-11-14 13:51:58 -05:00
Jeremy Stretch
a57c937aaa
#10694 : Emit post_save signal when creating/updating device components in bulk ( #10900 )
...
* Emit post_save signal when creating/updating device components in bulk
* Fix post_save for bulk_update()
2022-11-14 13:46:32 -05:00
jeremystretch
4a95cfd1c4
Permanently connect change logging & webhook receivers
2022-11-14 09:31:25 -05:00
jeremystretch
cd8943144b
Use context vars instead of thread-local storage for change logging
2022-11-14 09:31:25 -05:00
jeremystretch
8400509358
Fixes #10891 : Populate tag selection list for service filter form
2022-11-14 09:28:03 -05:00
jeremystretch
d971131198
Fixes #10897 : Fix form widget styling on FHRP group form
2022-11-14 09:24:12 -05:00
jeremystretch
5729a06348
Fixes #10910 : Fix cable creation links on power port view
2022-11-14 09:20:02 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
jeremystretch
2cc2d2cc37
Changelog & documentation for #7854
2022-11-11 08:25:44 -05:00
Daniel Sheppard
b374351154
Closes : #7854 - Add VDC/Instances/etc ( #10787 )
...
* Work on #7854
* Move to new URL scheme.
* Fix PEP8 errors
* Fix PEP8 errors
* Add GraphQL and fix primary_ip missing
* Fix PEP8 on GQL Type
* Fix missing NestedSerializer.
* Fix missing NestedSerializer & rename VDC to VDCs
* Fix migration
* Change Validation for identifier
* Fix missing migration
* Rebase to feature
* Post-review changes
* Remove VDC Type
* Remove M2M Enforcement logic
* Interface related changes
* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template
* Remove VirtualDeviceContextTypeChoices
* Accommodate recent changes in feature branch
* Add tests
Add missing search()
* Update tests, and fix model form
* Update test_api
* Update test_api.InterfaceTest create_data
* Fix issue with tests
* Update interface serializer
* Update serializer and tests
* Update status to be required
* Remove error message for constraint
* Remove extraneous import
* Re-ordered devices menu to place VDC below virtual chassis
* Add helptext for `identifier` field
* Fix breadcrumb link
* Remove add interface link
* Add missing tenant and status fields
* Changes to tests as per Jeremy
* Change for #9623
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
* Update filterset form for status field
* Remove Rename View
* Change tabs to spaces
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
* Fix tenant in bulk_edit
* Apply suggestions from code review
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
* Add status field to table.
* Re-order table fields.
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-11 07:55:49 -05:00
jeremystretch
d59d23e308
Fixes #10881 : Fix dark mode coloring for data on device status page
2022-11-10 16:47:17 -05:00
Brian Candler
c854c29016
Fix broken cookie paths when BASE_PATH is set (introduced in #10706 ) ( #10856 )
...
Fixes #10837
2022-11-10 16:23:05 -05:00
Arthur Hanson
33d8f8e5e7
10874 remove link to contact roles ( #10879 )
2022-11-10 16:19:43 -05:00
jeremystretch
653acbf62c
#4347 : Changelog & cleanup
2022-11-10 11:05:44 -05:00
Arthur Hanson
93e7457e0d
4347 Add JSON/YAML import support for all objects ( #10367 )
...
* 4347 initial code for json import
* 4347 initial code for json import
* Clean up form processing logic
* Consolidate import forms
* Consolidate object import/update logic
* Clean up bulk import view
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-10 11:01:52 -05:00
Arthur
43da786016
10829 fix top edit selected button
2022-11-04 16:54:24 -04:00
jeremystretch
ea6d86e6c4
Closes #10052 : The cf attribute now returns deserialized custom field data
2022-11-04 14:53:18 -04:00
jeremystretch
fe73e90b7b
Reorganize virtualization models
2022-11-04 13:51:30 -04:00
jeremystretch
ad40d42dc4
Closes #10710 : Add status field to WirelessLAN
2022-11-04 13:40:39 -04:00
Arthur Hanson
cdeb65e2fb
7376 csv tags ( #10802 )
...
* 7376 add tags to CSV import
* 7376 change help text
* 7376 validate tags
* 7376 fix tests
* 7376 add tag validation tests
* Introduce CSVModelMultipleChoiceField for CSV import tag assignment
* Clean up CSVImportTestCase
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-04 10:50:43 -04:00
Arthur
271d524687
10709 add AzureAD Tenant Oauth2
2022-11-04 09:12:22 -04:00
Jeremy Stretch
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
jeremystretch
6b2deaeced
Closes #8485 : Enable journaling for all organizational models
2022-11-03 13:31:51 -04:00
jeremystretch
13afc52617
Closes #10543 : Introduce get_plugin_config() utility function
2022-11-03 13:18:58 -04:00
jeremystretch
e7f54c5867
Reorganize plugin resources
2022-11-03 12:59:01 -04:00
Arthur Hanson
4ebcdd2b8f
8072 move js code from template to static file ( #10824 )
2022-11-03 09:29:45 -04:00
jeremystretch
07730ccd33
#10820 : Fix zoneinfo import for py3.9+
2022-11-02 16:29:42 -04:00
jeremystretch
0ad7ae2837
Closes #10698 : Omit app label from content type in table columns
2022-11-02 16:26:26 -04:00
jeremystretch
8fb91a1f8c
Closes #10821 : Enable data localization
2022-11-02 15:55:39 -04:00
jeremystretch
3b0a84969b
Closes #10820 : Switch timezone library from pytz to zoneinfo
2022-11-02 15:54:41 -04:00
jeremystretch
81c0dce5a3
Closes #10697 : Move application registry into core app
2022-11-02 15:25:22 -04:00
Arthur Hanson
816fedb78d
8853 Prevent the retrieval of API tokens after creation ( #10645 )
...
* 8853 hide api token
* 8853 hide key on edit
* 8853 add key display
* 8853 cleanup html
* 8853 make token view accessible only once on POST
* Clean up display of tokens in views
* Honor ALLOW_TOKEN_RETRIEVAL in API serializer
* Add docs & tweak default setting
* Include token key when provisioning with user credentials
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-02 12:45:00 -04:00
Jeremy Stretch
484efdaf75
Closes #9623 : Implement saved filters ( #10801 )
...
* Initial work on saved filters
* Return only enabled/shared filters
* Add tests
* Clean up filtering of usable SavedFilters
2022-11-02 12:27:53 -04:00
jeremystretch
ea61a540cd
Closes #10816 : Pass the current request when instantiating a FilterSet within UI views
2022-11-02 11:00:09 -04:00
jeremystretch
0b24d3d892
Merge branch 'develop' into feature
2022-11-01 17:13:11 -04:00
jeremystretch
2af8891f70
PRVB
2022-11-01 17:11:55 -04:00
jeremystretch
4f5caa5ed2
Release v3.3.7
2022-11-01 16:48:40 -04:00
jeremystretch
aa7f04bf1b
Fixes #10809 : Permit nullifying site time_zone via REST API
2022-11-01 16:45:32 -04:00
jeremystretch
aaf1ea52b7
Fixes #10791 : Permit nullifying VLAN group scope_type via REST API
2022-11-01 15:38:10 -04:00
jeremystretch
7990cfb078
Fixes #10803 : Fix exception when ordering contacts by number of assignments
2022-11-01 15:27:35 -04:00
Arthur
867af61875
10282 fix race condition in API IP creation
2022-10-31 15:04:43 -04:00
Arthur
8f4fa065f9
10770 fix social auth
2022-10-31 15:02:57 -04:00
Arthur Hanson
cb815ede60
7961 CSV bulk update ( #10715 )
...
* 7961 add csv bulk update
* temp checkin - blocked
* 7961 bugfix and cleanup
* 7961 change to id, add docs
* 7961 add tests cases
* 7961 fix does not exist validation error
* 7961 fix does not exist validation error
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 optimize loading csv test data
* 7961 update tests remove redundant code
* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
jeremystretch
d773f4e62a
Closes #9832 : Add mounting_depth field to rack model
2022-10-27 10:50:54 -04:00
jeremystretch
dbe66596f9
Closes #9887 : Inspect docs_url property to determine link to model documentation
2022-10-27 09:44:09 -04:00
jeremystretch
ec4e2a8e16
#8274 , #10761 : Fix content types display in object lists
2022-10-26 17:07:16 -04:00
jeremystretch
7e7f68923d
#10761 : Fix ExportTemplate resolution for REST API requests
2022-10-26 17:05:09 -04:00
jeremystretch
16919cc1d9
Closes #10761 : Enable associating an export template with multiple object types
2022-10-26 13:30:45 -04:00
jeremystretch
9e8234bb45
Closes #8274 : Enable associating a custom link with multiple object types
2022-10-26 11:39:26 -04:00
jeremystretch
c4dcd34ce9
Merge branch 'develop' into feature
2022-10-26 10:25:49 -04:00
jeremystretch
18332bdbf1
PRVB
2022-10-26 10:23:50 -04:00
jeremystretch
eac2ace80b
Release v3.3.6
2022-10-26 09:58:31 -04:00
Kevin Petremann
174ba6cf0f
Fix LDAP auth: user never updated if inactive
2022-10-26 09:40:05 -04:00
jeremystretch
658c9347f3
Fixes #10682 : Correct home view links to connection lists
2022-10-26 09:32:29 -04:00
jeremystretch
7b3ef2ade5
Fixes #10719 : Prevent user without sufficient permission from creating an IP address via FHRP group creation
2022-10-26 08:44:20 -04:00
jeremystretch
2a62b628cf
Fixes #10723 : Distinguish between inside/outside NAT assignments for device/VM primary IPs
2022-10-26 08:23:50 -04:00
Arthur
d8c07abd68
10610 interface_id query on lag return vc interfaces
2022-10-26 08:10:03 -04:00
Arthur Hanson
8d486c5838
10716 add left-right plugins to tags page ( #10744 )
...
* 10716 add left-right plugins to tags page
* 10716 add back plugin_full_width
2022-10-26 08:05:15 -04:00
jeremystretch
eb91934d70
Fixes #10745 : Correct display of status field in clusters list
2022-10-25 16:41:07 -04:00
jeremystretch
01654765e8
Fixes #10746 : Add missing status attribute to cluster view
2022-10-25 16:38:32 -04:00
jeremystretch
91c6bbcd78
Closes #10695 : Rename forms/models.py to forms/model_forms.py
2022-10-25 16:26:05 -04:00
jeremystretch
b2e2e3be35
Closes #10739 : Introduce get_queryset() method on generic views
2022-10-25 11:33:20 -04:00
Jeremy Stretch
9628dead07
Closes #10560 : New global search ( #10676 )
...
* Initial work on new search backend
* Clean up search backends
* Return only the most relevant result per object
* Clear any pre-existing cached entries on cache()
* #6003 : Implement global search functionality for custom field values
* Tweak field weights & document guidance
* Extend search() to accept a lookup type
* Move get_registry() out of SearchBackend
* Enforce object permissions when returning search results
* Add indexers for remaining models
* Avoid calling remove() on non-cacheable objects
* Use new search backend by default
* Extend search backend to filter by object type
* Clean up search view form
* Enable specifying lookup logic
* Add indexes for value field
* Remove object type selector from search bar
* Introduce SearchTable and enable HTMX for results
* Enable pagination
* Remove legacy search backend
* Cleanup
* Use a UUID for CachedValue primary key
* Refactoring search methods
* Define max search results limit
* Extend reindex command to support specifying particular models
* Add clear() and size to SearchBackend
* Optimize bulk caching performance
* Highlight matched portion of field value
* Performance improvements for reindexing
* Started on search tests
* Cleanup & docs
* Documentation updates
* Clean up SearchIndex
* Flatten search registry to register by app_label.model_name
* Clean up search backend classes
* Clean up RestrictedGenericForeignKey and RestrictedPrefetch
* Resolve migrations conflict
2022-10-21 13:16:16 -04:00
jeremystretch
3d687a6c2d
Closes #10718 : Optimize object-based permissions enforcement
2022-10-21 12:43:36 -04:00
kkthxbye-code
5e5228ff12
Fix JobResultFilterset to use DateTimeField to perserve bc compat
2022-10-21 15:53:39 +02:00
kkthxbye-code
72ba57052a
PEP8 fix
2022-10-21 10:42:49 +02:00
kkthxbye-code
ed2f7f1236
Job scheduling review changes
2022-10-21 10:31:30 +02:00
jeremystretch
893925436d
Merge branch 'feature' into 8366-job-scheduling
2022-10-20 17:03:57 -04:00
Arthur Hanson
e7659a5f99
9584 add device type (slug) to filter list ( #10630 )
...
* 9584 add device type (slug) to filter list
* 9584 add test
2022-10-20 16:27:51 -04:00
Craig Pund
53c9c3cf8d
Fixes #10580 ( #10687 )
...
* change IP address accessor to parent object
* set IP assigned check to link to interface
* Fix Assigned not being orderable
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
Co-authored-by: Craig Pund <cpund@iuhealth.org>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-10-20 16:26:26 -04:00
Patrick Rauscher
f60312febf
Set *_COOKIE_PATH according to BASE_PATH
...
As discussed in #10639 , all three `COOKIE_PATH`s should be set accordingly with the netbox-`BASE_PATH` to improve coexistance with other Django-projects probably hosted on the same Host
2022-10-20 16:24:38 -04:00
jeremystretch
bd79a27e4d
Merge branch 'develop' into feature
2022-10-20 16:07:03 -04:00
kkthxbye-code
4f95c5a72c
Allow scheduling jobs via. the API
2022-10-20 21:36:43 +02:00
jeremystretch
85a4b1f881
Closes #10699 : Remove custom import_object() function
2022-10-19 10:40:39 -04:00
jeremystretch
060ee2dd96
Revert PR #10621
2022-10-19 08:55:30 -04:00
jeremystretch
43d1182b4b
Fix styling for power input, rear port connection links
2022-10-19 08:47:14 -04:00
Arthur
d53da57f63
10646 fix cable power feed filter
2022-10-19 08:42:55 -04:00
Arthur Hanson
028b4b7ea7
10643 add fieldset to device role for improved add/edit form display ( #10680 )
...
* 10643 add fieldset to device role for improved add/edit form display
* 10643 update other forms
* 10643 update other forms
* Specify fieldsets for additional models
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-19 08:35:23 -04:00
jeremystretch
4cb0230878
Closes #10685 : Position A/Z termination cards above the fold under circuit view
2022-10-18 16:51:37 -04:00
Arthur Hanson
2fe8df3cbb
10655 fix contacts display in list views ( #10681 )
...
* 10655 fix contacts display in list views
* 10655 review changes
2022-10-18 16:47:14 -04:00
Arthur
64d67e3b00
10584 add clone fields to ipam-service
2022-10-18 16:06:31 -04:00
kkthxbye-code
83ff99a130
Added delete button to script/report result
2022-10-17 09:54:23 +02:00
kkthxbye-code
f797b5ed97
Add scheduled_time to JobResultSerializer
2022-10-16 15:27:33 +02:00
kkthxbye-code
e143038df8
Remove JobResult view from admin panel
2022-10-16 15:20:38 +02:00
kkthxbye-code
074082d1f1
Allow export of JobResult table
2022-10-16 15:18:54 +02:00
kkthxbye-code
d647983003
Always activate scheduler functionality when running the rqworker management command
2022-10-16 13:47:15 +02:00
kkthxbye-code
1d9808a92a
Added scheduled_time field to JobResult model
2022-10-16 13:42:28 +02:00
Arthur Hanson
99cf1b1671
8245 add graphql filtering at all levels ( #10618 )
...
* 8245 monkey-patch graphene-django to support filtering at all levels
* 8245 fix tests
* 8245 fix tests
2022-10-12 13:21:34 -04:00
Arthur Hanson
cc811e5a56
10596 add overflow-auto to card-body ( #10621 )
...
* 10596 add overflow-auto to card-body
* 10596 add overflow-auto to card-body
2022-10-12 08:31:02 -04:00
Arthur Hanson
9ca4c7315b
10595 extend graphql relationships ( #10603 )
...
* 9817 add graphql l2vpntermination assigned_object
* 9817 add graphql ipaddressassignment assigned_object
* 9817 ipan graphql gfk
* 9817 dcim graphql gfk
* 9817 dcim graphql gfk
* 9817 fix tests
* 10595 cable a_terminations to graphql
* 10595 add contacts to graphql
* 10595 move contacts to Provider
2022-10-11 12:26:18 -04:00
Arthur Hanson
ffce5d968d
8927 plugin search ( #10489 )
...
* #7016 base search classes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 get search choices working
* 8927 cleanup - optimize
* 8927 use backend search function
* 8927 fix for plugin search
* 8927 add docs
* Move search app to a module under netbox/
* Utilize global registry to register model search classes
* Build search form options from registry
* Determine search categories from model app by default
* Enable dynamic search registration for plugins
* Update docs & improve plugin support
* Clean up search backend class
* Docs for #8927
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-10 14:00:59 -04:00
jeremystretch
656f0b7d82
#9072 : Add hide_if_empty argument to ViewTab
2022-10-10 08:11:29 -04:00
kkthxbye-code
ef0b455b05
Called super delete method before deleting JobResult task.
...
Done to avoid having deleted a task on accident if the deleting of the JobResult fails.
2022-10-09 21:16:26 +02:00
kkthxbye-code
679a9e839b
Work on job scheduling:
...
* Added JobResult form filtersets
* Change housekeeping cleanup delete from `_raw_delete` to `delete` to make sure scheduled tasks are cancelled
* Change default sort of JobResult table to -created
* Added `delete` override to `JobResult` to remove scheduled tasks from RQ when a JobResult is deleted
* Updated js/css dist files. Will need to be redone when develop is merged to feature.
2022-10-09 21:05:31 +02:00
kkthxbye-code
53c8a48244
Merge branch 'feature' into 8366-job-scheduling
...
Sync with upstream
2022-10-09 11:18:47 +02:00
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
Jeremy Stretch
a3dbf4023c
Merge pull request #10597 from netbox-community/9072-plugin-view-tabs
...
#9072 : Custom model view tabs for plugins
2022-10-07 15:22:04 -04:00
jeremystretch
053c97b7a8
Docs and test for #9072
2022-10-07 15:03:52 -04:00
jeremystretch
1fc8de85a3
Add device NAPALM view tabs
2022-10-07 14:17:18 -04:00
jeremystretch
5e1a0733e4
Replace active_tab context for object views
2022-10-07 12:14:19 -04:00
jeremystretch
bfe26b46a6
Wrap model detail views with register_model_view()
2022-10-07 11:36:14 -04:00
jeremystretch
4c999daacd
Introduce ViewTab
2022-10-07 10:54:34 -04:00
Arthur Hanson
10bb8fa10a
9478 link peers to GraphQL ( #10574 )
...
* 9468 add link_peer to GraphQL
* 9478 add class_type
* 9478 fix tests
* 9478 fix tests
* 9478 fix tests
2022-10-06 16:50:53 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -04:00
jeremystretch
0d7851ed9d
#9072 : Implement a mechanism for dynamically registering model detail views
2022-10-06 16:20:35 -04:00
Jeremy Stretch
a1cc15a604
Merge pull request #10557 from netbox-community/10556-graphql-display
...
#10556 add display to GraphQL
2022-10-05 15:51:54 -04:00
Arthur Hanson
24ba840be7
10472 graphene 3 ( #10473 )
...
* update to Graphene 3.0.0
* 10472 exempt view permissions on tests
* 10472 exempt permission check on graphql tests
2022-10-05 15:50:17 -04:00
Jeremy Stretch
3a3ff474cb
Merge pull request #10567 from scanplus/ldap-ca-cert
...
Added LDAP_CA_CERT_* to LDAP settings
2022-10-05 12:01:39 -04:00
Arthur Hanson
cc00789d35
9669 sanitize social auth usernames ( #10549 )
2022-10-05 11:50:47 -04:00
Jeremy Stretch
689f11a573
Merge pull request #10555 from kkthxbye-code/10527-update-js-dependencies
...
Fixes #10527 - Update JS dependencies
2022-10-05 11:04:37 -04:00
jeremystretch
c481a1b6a2
Merge branch 'develop' into feature
2022-10-05 10:28:48 -04:00
jeremystretch
ae90ad1fb7
PRVB
2022-10-05 10:13:02 -04:00
jeremystretch
1c69bfaf2c
Release v3.3.5
2022-10-05 09:47:55 -04:00
Tobias Genannt
5e37f82b2f
Added LDAP_CA_CERT_* to LDAP settings
...
These options can be used to specify a CA certificate to validate the LDAP
server certificate
2022-10-05 14:28:30 +02:00
jeremystretch
bdefd8ea8c
Fixes #10562 : Correct URL for contacts table tags column
2022-10-05 08:13:33 -04:00
kkthxbye-code
eabd405845
Fix graphiql by pinning esbuild
2022-10-04 22:00:32 +02:00
jeremystretch
03946f2ca8
Fixes #10559 : Permit the pinning of a VM to a particular device within a cluster which has no site assignment
2022-10-04 15:46:55 -04:00
jeremystretch
fec8d1bc2f
Fixes #10423 : Enforce object type validation when creating journal entries
2022-10-04 15:26:52 -04:00
jeremystretch
53f5f46037
#10460 : Fix PowerFeed details
2022-10-04 14:36:14 -04:00
Arthur
81d99a0061
#10556 add display to GraphQL
2022-10-04 10:50:34 -07:00
kkthxbye-code
b227757b9a
Update JS dependencies WIP
2022-10-04 15:02:37 +02:00
jeremystretch
eef5cefb5d
Fixes #10460 : Restore missing connection details for device components
2022-10-03 16:11:24 -04:00
jeremystretch
7712b81ab9
Fixes #10517 : Automatically inherit site assignment from cluster when creating a virtual machine
2022-10-03 15:35:45 -04:00
PieterL75
d1efbf6620
Issue10352 removegetvariables ( #10475 )
...
* Add javascript to disable empty form fields
* add js cleanGetUrl
* use addEventListener submit
* use addEventListener
* update collectstatics
* Use FormData to remove empty fields
* optimeze ts-ignore
* update ts-ignore comment
* oneline of ts-ignore
* one line of ts-ingnore
* fix tsc errors by adding types (as per kkthxbye)
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
2022-10-03 14:32:01 -04:00
Arthur Hanson
0b6a3898fe
8424 device location ( #10544 )
...
* 8424 fix merge
* 8424 fix merge
* 8424 fix merge
* 8424 fix merge
2022-10-03 13:55:05 -04:00
Jeremy Stretch
517ebcfbcd
Merge pull request #10525 from netbox-community/10491-delete-dependant
...
10491 improve error message for ProtectedError on contact assignment
2022-10-03 13:27:34 -04:00
jeremystretch
9ef24d3f43
Fixes #10513 : Disable the reassignment of a module to a new device
2022-10-03 11:11:51 -04:00
jeremystretch
f7860138c7
Rename plugin_apps to django_apps for clarity
2022-09-30 17:18:12 -04:00
Jonathan Senecal
5c1417c4c7
PEP8 fixes
2022-09-30 17:18:12 -04:00
Jonathan Senecal
dc522a0135
Initial implementation
...
- Allows to specify a list of django-apps to be "installed" alongside the plugin.
(cherry picked from commit 6c7296200d756d2acbba3a589a7759f3a690cc48)
2022-09-30 17:18:12 -04:00
Jonathan Senecal
ac7db3cc88
Tidy-up imports and typing
...
(cherry picked from commit adee5cf6a8856ceda0170a4382cec8fd784be93b)
2022-09-30 17:18:12 -04:00
Patrick Hurrelmann
5cc55d1e99
Fixes : #10465 Format all remaining displayed rackunits with floatformat ( #10481 )
...
* Fixes : #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat
* #10465 : PEP8 fix
Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 17:18:12 -04:00
jeremystretch
10352ff5ad
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
204c10c053
9654 device weight ( #10448 )
...
* 9654 add weight fields to devices
* 9654 changes from code review
* 9654 change _abs_weight to grams
* Resolve migrations conflict
* 9654 code-review changes
* 9654 total weight on devices
* Misc cleanup
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-09-30 16:31:04 -04:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 16:03:24 -04:00
jeremystretch
ada5c58acf
Closes #10529 : Run validation on each value of a multi-value filter
2022-09-30 15:05:13 -04:00
Arthur
02ffc2ddee
10491 improve error message for ProtectedError on contact assignment
2022-09-30 09:09:21 -07:00
Jeremy Stretch
c95ad5b208
Merge pull request #10441 from netbox-community/9071-plugin-menu
...
9071 add header to plugin menu
2022-09-28 17:08:10 -04:00
Jeremy Stretch
5382ac20b6
Merge pull request #10488 from netbox-community/9249-device-vm-names
...
Closes #9249 : Ignore case for device/VM names
2022-09-28 17:05:57 -04:00
jeremystretch
3fbd514417
Add test for plugin menu registration
2022-09-28 16:57:40 -04:00
jeremystretch
d0465242a3
Add documentation for PluginMenu
2022-09-28 16:44:16 -04:00
jeremystretch
db90b084cf
Enable plugins to create root-level navigation menus
2022-09-28 16:08:03 -04:00
jeremystretch
00d2dcda68
Refactor navigation resources and menu
2022-09-28 15:56:09 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-28 15:22:19 -04:00
jeremystretch
e977333177
Update device/VM name filters to be case-insensitive
2022-09-27 16:48:39 -04:00
jeremystretch
1d4f828b93
Device/VM unique constraints ignore case for name field
2022-09-27 16:47:56 -04:00
jeremystretch
7ff2cb75a8
Use templated app & model names for all unique constraints
2022-09-27 15:44:38 -04:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
ec6457bcd3
Remove custom validate_unique() methods
2022-09-27 14:28:21 -04:00
jeremystretch
2d9852d6f1
Fixes #10408 : Fix validation when attempting to add redundant contact assignments
2022-09-27 13:11:57 -04:00
Patrick Hurrelmann
669e86f96e
Fixes : #10465 Format all remaining displayed rackunits with floatformat ( #10481 )
...
* Fixes : #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat
* #10465 : PEP8 fix
Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-27 11:24:19 -04:00
Jeremy Stretch
cbf928f363
Merge pull request #10482 from phurrelmann/10480-fix-link-target-on-cable-svg
...
Fixes : #10480 Fix link-target on cable-trace svg
2022-09-27 11:07:14 -04:00
jeremystretch
6016e1b15d
Changelog & cleanup for #9892
2022-09-27 09:55:35 -04:00
Jeremy Stretch
d08d5620da
Merge pull request #10424 from netbox-community/9892-fhrpgroup-name
...
9892 fhrpgroup name
2022-09-27 09:48:11 -04:00
Patrick Hurrelmann
43b18c13e3
Fixes : #10480 Fix link-target on cable-trace svg to open link in the same window.
2022-09-27 13:23:51 +02:00
Arthur
b134d2a7b0
9071 fix test
2022-09-26 14:23:53 -07:00
Arthur
36f31228ff
Merge branch 'feature' into 9071-plugin-menu
2022-09-26 14:09:44 -07:00
Arthur
8103ad3b9e
9892 add name to str
2022-09-26 13:57:09 -07:00
Arthur
10cb3c2c3d
9892 add name to str
2022-09-26 13:54:49 -07:00
jeremystretch
dda193247a
Fixes #10470 : Omit read-only custom fields from CSV import forms
2022-09-26 16:47:34 -04:00
jeremystretch
2463e4efd3
Fixes #10461 : Enable filtering by read-only custom fields in the UI
2022-09-26 16:42:11 -04:00
Arthur
5ce805db2e
9892 doh - fix tests
2022-09-26 12:56:16 -07:00
jeremystretch
a0b17887fd
Fixes #10445 : Avoid rounding virtual machine memory values
2022-09-26 15:45:58 -04:00
Arthur
3eeb31d577
9892 doh - fix tests
2022-09-26 11:49:51 -07:00
Arthur
e11d594122
9892 add supporting tests, form fields
2022-09-26 11:39:43 -07:00
Arthur
600c437af5
Merge branch 'feature' into 9892-fhrpgroup-name
2022-09-26 11:10:25 -07:00
jeremystretch
0280ddcbe9
Merge branch 'develop' into feature
2022-09-26 11:55:58 -04:00
Jeremy Stretch
b75d12fe05
Merge pull request #10442 from netbox-community/10435-untagged-vlan
...
10435 check if vm.cluster in qs
2022-09-26 10:25:48 -04:00
Jeremy Stretch
fd89ef04b6
Revert "10408 add error message if already exists"
2022-09-26 10:24:40 -04:00
Jeremy Stretch
abcc10e938
Merge pull request #10410 from netbox-community/10408-add-contact
...
10408 add error message if already exists
2022-09-26 10:24:23 -04:00
jeremystretch
3ad337dd15
Filter VLANs and VLANGroups by site or cluster site for VM
2022-09-26 10:08:54 -04:00
Artem I. Kotik
c97d2d4fe9
Add widget for Airflow field in DeviceTypeForm
2022-09-24 15:49:23 +04:00
kkthxbye-code
06dea8ef3f
WIP: Moving JobResults out of the admin panel
2022-09-23 13:44:24 +02:00
kkthxbye-code
cbb3378d10
Job Scheduling WIP
2022-09-23 06:45:40 +02:00
Arthur
7735634649
10435 check if vm.cluster in qs
2022-09-22 10:34:37 -07:00
Arthur
e074570b8f
9071 add header to plugin menu
2022-09-22 10:01:19 -07:00
Arthur
a5421ae170
9892 add FHRP group name
2022-09-20 16:13:01 -07:00
Arthur
5d07f2c837
9892 add FHRP group name
2022-09-20 16:03:55 -07:00
Arthur
e95708fe08
Merge branch 'develop' into feature
2022-09-20 08:52:37 -07:00
Daniel Sheppard
0190c0225e
Merge pull request #10420 from netbox-community/9497-fix-site-location-nonracked-device-display
...
Fixes #9497 - Change non-racked filter for sites/locations
2022-09-20 09:48:09 -05:00
Daniel Sheppard
71d71a6b1b
Fixes #9497 - Change filter for sites/locations
2022-09-20 09:26:40 -05:00
kkthxbye
c8671ce8e8
Update yarn.lock (flatpickr bump)
2022-09-20 08:53:57 +02:00
Arthur
ed3d04c7ba
Merge branch 'develop' into feature
2022-09-19 15:51:54 -07:00
Arthur
695ad47fe9
10408 add error message if already exists
2022-09-19 10:46:16 -07:00
kkthxbye
25ac1edb48
Merge branch 'netbox-community:develop' into 8366-job-scheduling
2022-09-18 15:08:11 +02:00
kkthxbye-code
824b4e0923
Add scheduling for reports and scripts
2022-09-18 15:06:28 +02:00
jeremystretch
1b62c11db5
PRVB
2022-09-16 13:41:09 -04:00
jeremystretch
30b9ddc251
Release v3.3.4
2022-09-16 13:14:14 -04:00
jeremystretch
4a9831bd23
Fixes #10383 : Fix assignment of component templates to module types via web UI
2022-09-16 08:30:46 -04:00
jeremystretch
59388d89a0
Fixes #10387 : Fix MultiValueDictKeyError exception when editing a device interface
2022-09-16 08:20:24 -04:00
jeremystretch
1eb0e5d307
Merge branch 'develop' into feature
2022-09-15 14:30:24 -04:00
jeremystretch
935f008c16
PRVB
2022-09-15 14:29:43 -04:00
Arthur
05b17a0082
Release v3.3.3
2022-09-15 11:04:12 -07:00
jeremystretch
91fd25a548
Fixes #10353 : Table action buttons should reserve return URL parameters
2022-09-15 13:40:39 -04:00
jeremystretch
e05696dfcc
Fixes #10337 : Display SSO links when local authentication fails
2022-09-15 13:17:04 -04:00
Jeremy Stretch
157a45b627
Merge pull request #10369 from netbox-community/10359-add-region-column
...
#10359 add region column to site table
2022-09-15 13:07:59 -04:00
jeremystretch
e9a91455e8
#10359 : Add region and site group columns to the devices table
2022-09-15 12:55:21 -04:00
Jeremy Stretch
c4b7ab067a
Fixes #10247 : Allow changing selected device/VM when creating a new component ( #10312 )
...
* Initial work on #10247
* Continued work on #10247
* Clean up component creation tests
* Move valdiation of replicated field to form
* Clean up ordering of fields in component creation forms
* Omit fieldset header if none
* Clean up ordering of fields in component template creation forms
* View tests should not move component templates to new device type
* Define replication_fields on VMInterfaceCreateForm
* Clean up expandable field help texts
* Update comments
* Update component bulk update forms & views to support new replication fields
* Fix ModularDeviceComponentForm parent class
* Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)
2022-09-15 10:10:32 -04:00
Jeremy Stretch
7477f6584e
Merge pull request #10370 from kvedder-amplex/develop
...
add custom fields to l2vpntermination edit template
2022-09-15 10:07:27 -04:00
Jeremy Stretch
7b4f5252f1
Merge pull request #10290 from kkthxbye-code/10258-nested-module-scripts
...
Fixes #10258 - Allow running scripts nested in modules/packages
2022-09-15 10:06:28 -04:00
kvedder
4e03419e85
add custom fields to l2vpntermination edit template
2022-09-14 22:15:12 -04:00
Arthur
4d97043e26
#10359 add region column to site table
2022-09-14 15:50:45 -07:00
kkthxbye-code
c335b76ec6
PEP8: Fix whitespace on blank line
2022-09-14 20:00:12 +02:00
kkthxbye-code
356ff457be
Allow reports to be nested in submodules
2022-09-14 19:57:37 +02:00
Jeremy Stretch
833c3fbd39
Merge pull request #10349 from sasschary/10316-cableform-termination
...
Fixes #10305 : Allows null master in VirtualChassis APIs
2022-09-14 12:13:16 -04:00
Zachary Clark
ace66eab61
Fixes #10305 : Allows null master in VirtualChassis APIs
2022-09-13 19:54:39 -04:00
jeremystretch
6a9274a95f
Closes #10314 : Move clone() method from NetBoxModel to CloningMixin
2022-09-13 14:36:37 -04:00
jeremystretch
87af94a7d2
Merge branch 'develop' into feature
2022-09-13 14:24:58 -04:00
jeremystretch
ea9d2e3f88
Closes #9577 : Add has_front_image and has_rear_image filters for device types
2022-09-13 14:14:18 -04:00
jeremystretch
f10460d774
Add relevant tests for all device components
2022-09-12 17:03:33 -04:00
jeremystretch
57365ef7b9
Rename is_occupied to occupied
2022-09-12 16:42:04 -04:00
Arthur
d24f10ce6e
#8580 add tests
2022-09-12 10:52:40 -07:00
Arthur
1daa2ff98d
#8580 add tests
2022-09-12 10:22:05 -07:00
Arthur
0e6a6b784d
Merge branch 'develop' into 8580-filter-connected
2022-09-12 10:11:20 -07:00
Arthur
ce6bf9e5c1
#10172 fixes for Django 4.1
2022-09-12 09:59:37 -07:00
jeremystretch
f67cb71dbc
Fixes #10333 : Show available values for ui_visibility field of CustomField for CSV import
2022-09-12 10:36:19 -04:00
jeremystretch
2b2a41edd2
Enable cloning for custom fields & custom links
2022-09-09 16:51:18 -04:00
jeremystretch
cd1ad452da
Move clone() to CloningMixin
2022-09-09 16:44:58 -04:00
Arthur
59a2a43473
#10307 fix choices for poe type
2022-09-09 07:40:01 -07:00
Jeremy Stretch
770cc5a700
Merge pull request #10287 from netbox-community/10250-cable-import-virtual
...
Fixes #10250 : Fix exception when CableTermination validation fails during bulk import of cables
2022-09-08 16:48:02 -04:00
Jeremy Stretch
a03155432e
Merge pull request #10286 from netbox-community/10259-prefix-flat-link
...
Fixes #10259 : Fix NoReverseMatch exception when listing available prefixes with "flat" column displayed
2022-09-08 16:47:27 -04:00
Arthur
d51e833bf3
#8580 changes from code review
2022-09-08 13:11:17 -07:00
kkthxbye-code
3dbc7bdd2c
Add wwn CharField to InterfaceForm
2022-09-08 11:38:39 +02:00
Arthur
b4877e7fac
#8580 add interface filters for connected
2022-09-07 15:45:01 -07:00
kkthxbye-code
f489ffa043
Allow running scripts nested in modules/packages
2022-09-07 22:33:24 +02:00
jeremystretch
211c7641c1
Fixes #10250 : Fix exception when CableTermination validation fails during bulk import of cables
2022-09-07 14:41:48 -04:00
jeremystretch
51d066a1bc
Fixes #10259 : Fix NoReverseMatch exception when listing available prefixes with "flat" column displayed
2022-09-07 14:30:51 -04:00
jeremystretch
b702822857
Closes #10268 : Omit trailing ".0" in device positions within UI
2022-09-07 14:09:17 -04:00
Jeremy Stretch
1c4ad3f817
Merge pull request #10285 from netbox-community/10278-rack-photo-add-another
...
#10278 fix attaching an image to a rack "Create & Add Another"
2022-09-07 13:56:13 -04:00
Jeremy Stretch
ef5ec06141
Merge pull request #10283 from netbox-community/10270-save-custom-boolean
...
#10270 - fix custom field validation for IPAM services
2022-09-07 13:54:24 -04:00
Arthur
def853e8c4
#10278 add get_extra_addanother_params
2022-09-07 10:40:24 -07:00
Arthur
7826cfb01f
#10270 - fix custom field validation for ipam services
2022-09-07 08:45:56 -07:00
Arthur
48a907ae45
#9231 add comment
2022-09-07 08:09:28 -07:00
Arthur
2fe620df70
#9231 call class method
2022-09-06 18:04:29 -07:00
Arthur
536bd37d05
#9231 make empty search work
2022-09-06 16:37:52 -07:00
jeremystretch
d29d265b0a
PRVB
2022-09-02 15:44:41 -04:00
jeremystretch
1955497dbe
Release v3.3.2
2022-09-02 15:20:14 -04:00
Daniel Sheppard
25a474f9f7
Fix PEP8 errors
2022-09-02 14:05:38 -05:00
Daniel Sheppard
c42f7ab6d3
Fixes #9823 - Make validation error from NumericArrayField more verbose.
2022-09-02 13:48:15 -05:00
jeremystretch
2acfda3dc5
Fixes #10034 : Add L2VPN column to interface and VLAN tables
2022-09-02 14:26:35 -04:00
Jeremy Stretch
15353b7513
Merge pull request #10233 from netbox-community/9665-rack-elevation-sorting
...
#9665 Rack Elevation Sorting Enhancements
2022-09-02 08:53:16 -04:00
Jeremy Stretch
4737336b85
Merge pull request #10239 from amhn/Add_missing_serializer_annotation
...
Closes #10231 : Add missing serializer annotations
2022-09-02 08:27:26 -04:00
Arthur
2ce1a96468
#9481 update child location whem move parent
2022-09-01 15:44:41 -07:00
Arthur
239b8d2e7c
#9665 review changes
2022-09-01 11:15:23 -07:00
Arthur
43b3ce9ed1
#9665 review changes
2022-09-01 11:12:01 -07:00
Arthur
80d5a966db
Merge branch 'develop' into 9665-rack-elevation-sorting
2022-09-01 09:38:38 -07:00
Andreas Nieß
b11fa53519
Closes #10231 : Add missing serializer annotations
2022-09-01 17:18:09 +02:00
jeremystretch
ce4d00dc21
Fixes #10184 : Fix vertical alignment when displaying object attributes with buttons
2022-09-01 09:53:48 -04:00
jeremystretch
d818c250b0
Fixes #10220 : Validate IP version when assigning primary IPs to a virtual machine
2022-09-01 09:31:42 -04:00
Arthur
3d4d880110
#9665 Rack Elevation Sorting Enhancements
2022-08-31 14:42:59 -07:00
jeremystretch
899b61264f
Fixes #9328 : Hide available IPs when non-default ordering is applied
2022-08-31 16:55:03 -04:00
Jeremy Stretch
f94792fad8
Merge pull request #10230 from netbox-community/10195-filterdevice
...
10195 Filter device components by Rack
2022-08-31 16:41:31 -04:00
jeremystretch
6df2ff7ebf
#10195 : Add filterset tests
2022-08-31 16:22:37 -04:00
jeremystretch
ce054dd37d
Closes #9477 : Add a button to clear applied table column ordering
2022-08-31 15:28:59 -04:00
Arthur
3a0e91a688
#10195 add rack to component filter forms
2022-08-31 11:40:03 -07:00
Arthur
60ca4f29d7
#10195 add rack to component filter forms
2022-08-31 08:41:47 -07:00
jeremystretch
5ef2d1d7ad
Fixes #10217 : Handle exception when trace splits to multiple rear ports
2022-08-31 10:07:10 -04:00
Jeremy Stretch
815b2d8a2b
Merge pull request #10225 from netbox-community/10176
...
#10176 fix space utilization for rack
2022-08-31 08:55:39 -04:00
Arthur
0cfe2d882d
#10176 fix space utilization for rack
2022-08-30 16:16:15 -07:00
jeremystretch
de17a651e6
Closes #10043 : Add support for 'limit' query parameter to available VLANs API endpoint
2022-08-30 15:16:34 -04:00
Jeremy Stretch
d3f2d77961
Merge pull request #10187 from amhn/9895_Remove_JSONFieldInspector
...
9895 remove json field inspector
2022-08-30 14:21:02 -04:00
Arthur
456647838c
#10060 add journal entry to global search
2022-08-30 08:39:51 -07:00
Jeremy Stretch
e192ac34d0
Merge pull request #10213 from kkthxbye-code/10212-add-sidebar-padding
...
Fixes #10212 - Add padding to the bottom of the sidebar
2022-08-30 10:30:30 -04:00
kkthxbye
6a3ccda12e
Add padding to the bottom of the sidebar
2022-08-30 15:57:04 +02:00
jeremystretch
14f79ef85a
Closes #10202 : Clean up TemplateColumn template code & accessors
2022-08-30 09:55:12 -04:00
jeremystretch
924471ee76
Clean up cable terminations display & edit form
2022-08-30 09:16:17 -04:00
jeremystretch
cd5844b050
Fixes #10208 : Fix permissions evaluation for interface actions dropdown menu
2022-08-30 08:59:50 -04:00
Jeremy Stretch
d19c6a6afc
Merge pull request #10173 from netbox-community/9962-ssonextparam
...
#9962 add next param to sso url
2022-08-30 08:53:58 -04:00
Jeremy Stretch
3257ea00b5
Merge pull request #10171 from netbox-community/10170-changelog
...
#10170 optimize change log queries
2022-08-30 08:50:01 -04:00
Jeremy Stretch
f073087379
Merge pull request #10205 from netbox-community/9963-csrftoken
...
#9963 change csrf token access
2022-08-30 08:48:23 -04:00
Arthur
8ca3dfd8c9
#10178 add manufacturer to device detail view devicetype
2022-08-29 15:26:38 -07:00
Arthur
cdea30253b
#101700 change csrf token access
2022-08-29 14:57:56 -07:00
Arthur
c8ee01ba0f
#10170 changes from codereview
2022-08-29 14:53:28 -07:00
Arthur
3ad08c75c0
Revert " #101700 change csrf token access"
...
This reverts commit c12e545ccd
.
2022-08-29 14:48:20 -07:00
Arthur
c12e545ccd
#101700 change csrf token access
2022-08-29 14:40:03 -07:00
Arthur
249b8b0363
#10170 changes from code review
2022-08-29 12:20:51 -07:00
jeremystretch
777af35030
Fixes #10177 : Correct display of custom fields when editing VM interfaces
2022-08-29 15:10:14 -04:00
Arthur
23fafe1996
Merge branch 'develop' into 10170-changelog
2022-08-29 12:08:39 -07:00
jeremystretch
0e4911a575
Fixes #10181 : Restore MultiPartParser (regression from #10031 )
2022-08-29 11:17:31 -04:00
Andreas Nieß
4f7287fec5
Add _occupied as BooleanField for nested serializers
2022-08-29 08:03:28 +02:00
Andreas Nieß
0b5478ad2d
Fixes #9895 : Change DictField serializers to JSONField
2022-08-29 08:02:38 +02:00
Andreas Nieß
cd6911f83c
Replace custom JSONField inspector with the one from drf_yasg
2022-08-29 07:52:29 +02:00
Arthur
2a7bad326d
#9962 add next param to sso url
2022-08-26 12:55:35 -07:00
Arthur
cb6d8bf063
#10170 optimize change log queries
2022-08-26 10:46:47 -07:00
Jeremy Stretch
d00d9cb00f
Merge pull request #10162 from kkthxbye-code/10161-fix-cf-setnull
...
Fixes #10161 - Render "Set Null" button for custom fields
2022-08-26 09:44:21 -04:00
jeremystretch
fd81f57e61
Fixes #10156 : Avoid forcing SVG image links to open in a new window
2022-08-26 08:45:48 -04:00
kkthxbye-code
e75e189933
Render "Set Null" button for custom fields
2022-08-26 14:32:17 +02:00
Daniel Sheppard
88d2fca2c6
Fixes #10155 - Fix rear port display when editing front port template for module type
2022-08-25 15:34:18 -05:00
jeremystretch
bd615ebf65
PRVB
2022-08-25 16:25:26 -04:00
jeremystretch
ed4fe6bd36
Release v3.3.1
2022-08-25 16:07:34 -04:00
jeremystretch
a416ff6314
Fixes #10118 : Fix display of connected LLDP neighbors for devices
2022-08-25 15:25:30 -04:00
Arthur Hanson
a9ddd41729
Fix SSO signon for SAML with idp ( #10137 )
...
* #10135 add idp to saml login
* #10135 add idp to saml login
* #10135 add idp to saml login
* #10135 refactor / cleanup
2022-08-25 14:48:46 -04:00
jeremystretch
1379b9c9fb
Tweak display of prerequisite model warning
2022-08-25 14:25:47 -04:00
jeremystretch
32615befd5
#10038 & #10039 : Changelog & replicate for VM interfaces
2022-08-25 14:25:47 -04:00
Arthur Hanson
7697779abf
#10038 add L2VPN termination to interface list context menu ( #10152 )
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-08-25 13:41:55 -04:00
Arthur Hanson
bb37ebf4ba
#10038 add assign FHRP group to device-interface context menu ( #10151 )
2022-08-25 13:38:55 -04:00
jeremystretch
5f37699736
Fixes #9663 : Omit available IP annotations when filtering prefix child IPs list
2022-08-25 10:34:18 -04:00
Jeremy Stretch
9da9a209a5
Fixes #10087 : Correct display of far end in console/power/interface connections tables ( #10117 )
2022-08-25 08:46:19 -04:00
jeremystretch
482b4b6e95
Fixes #10147 : Permit the creation of 0U device types via REST API
2022-08-25 08:37:43 -04:00
Arthur Hanson
4132027ada
fixes for #10070 make l2vpn slug unique ( #10119 )
...
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-08-24 17:12:14 -04:00
jeremystretch
f70ef7a585
Changelog and cleanup for #9935
2022-08-24 16:44:24 -04:00
Arthur Hanson
eb2bf3469e
#9935 add new wireless choices for interfaces ( #10116 )
...
* #9935 add new wireless choices for interfaces
* #9935 add new wireless interfaces to constants
* #9935 oops - remove login.html changes
2022-08-24 16:36:38 -04:00
jeremystretch
bfbf97aec9
Closes #10031 : Enforce 'application/json' content type for REST API requests
2022-08-24 15:49:36 -04:00
jeremystretch
2baf06e012
Add unique slugs to L2VPNs in relevant tests
2022-08-24 14:46:42 -04:00
jeremystretch
c2c8bd0a76
Closes #10133 : Enable nullifying device location during bulk edit
2022-08-24 13:25:54 -04:00
jeremystretch
36729fb6ae
Fixes #10134 : Custom fields data serializer should return a 400 response for invalid data
2022-08-24 13:08:21 -04:00
Jeremy Stretch
6a7c56d919
Merge pull request #10115 from arthanson/art-10033
...
#10033 disable Add a Termination button if 2 terminations on L2VPN P2P
2022-08-24 08:57:01 -04:00
Jeremy Stretch
3110765d12
Merge pull request #10103 from arthanson/art-10094
...
Fix #10094 - Contact Assignments Create and Add Another
2022-08-24 08:55:02 -04:00
Jeremy Stretch
deee36651d
Merge pull request #10120 from arthanson/art-10086
...
fix for #10086 - change capitalization on wireless link table for Interface A, B and Auth Type
2022-08-24 08:46:24 -04:00
Arthur
1c46102c4a
#10094 changes from code review
2022-08-23 16:19:43 -07:00
Arthur
439cf1a308
#10033 changes from code review
2022-08-23 16:17:40 -07:00
Jeremy Stretch
219f2eee29
Merge pull request #10101 from arthanson/art-10037
...
#10037 add Child Interface to context menu
2022-08-23 16:32:15 -04:00
Arthur
374abe5214
#10033 disable Add a Termination button if 2 terminations on L2VPN P2P
2022-08-23 10:34:06 -07:00
Arthur
8b1a462a60
#10094 changes from code review
2022-08-23 09:29:55 -07:00
Arthur
c11ca543e2
#10037 default type to virtual
2022-08-23 09:16:48 -07:00
jeremystretch
7ba0b420f1
Fixes #10109 : Fix available prefixes calculation for container prefixes in the global table
2022-08-23 10:37:38 -04:00
Daniel Sheppard
f3906dd7c4
Fixes #10111 - Wrap search QS to catch ValueError on identifier field
2022-08-23 09:33:36 -05:00
jeremystretch
984d8b8ee6
Fixes #10108 : Linkify inside NAT IPs for primary device IPs in UI
2022-08-23 09:17:12 -04:00
Jeremy Stretch
7b4189271c
Merge pull request #10065 from atownson/issue_10055
...
Fixes #10055 : NAT Outside evaluations and links
2022-08-23 08:28:39 -04:00
atownson
63e8faeed9
Changed nat_outside to ManyToManyColumn
2022-08-22 20:34:44 -05:00
Arthur
f48aaf1c46
#10094 fix Contact AddAnother
2022-08-22 16:47:40 -07:00
Arthur
41499b189c
#10094 fix Contact AddAnother
2022-08-22 16:33:50 -07:00
Arthur
9fddd193b9
#10094 fix Contact AddAnother
2022-08-22 16:31:41 -07:00
Arthur
0c7c61b685
#10037 add Child Interface to context menu
2022-08-22 14:56:31 -07:00
atownson
6179686c81
Corrected IPv6 family
2022-08-22 15:22:53 -05:00
atownson
2bb79e1346
Updated exists evaluation
2022-08-22 15:18:25 -05:00
atownson
71bf5f4697
Updated exists evaluation
2022-08-22 15:17:35 -05:00
Jeremy Stretch
f35ff105ab
Merge pull request #10096 from arthanson/art-6454
...
Fixes #6454 - Adds warning for prerequisite models
2022-08-22 16:09:59 -04:00
Arthur
25ec624e4e
#6454 suggested review changes
2022-08-22 12:59:26 -07:00
Arthur
a972174706
#6454 changes from PR review
2022-08-22 11:46:41 -07:00
Jeremy Stretch
646272f9b3
Merge pull request #10097 from arthanson/art-10059
...
Fix for #10059 - add identifier to L2VPN table
2022-08-22 14:31:11 -04:00
Jeremy Stretch
743106e94f
Merge pull request #10095 from arthanson/art-10057
...
fix for #10057
2022-08-22 14:30:22 -04:00
Jeremy Stretch
f5d81f51c4
Merge pull request #10093 from arthanson/art-10056
...
Fix for #10056
2022-08-22 14:29:24 -04:00
Arthur
e8f62eb1f9
#10059 change ordering of identifier column
2022-08-22 11:17:01 -07:00
Arthur
ea1467add7
fix for #10086 - change capitalization on wireless link table for Interface A, B and Auth Type
2022-08-22 09:24:52 -07:00
Arthur
917439725a
fix for #10059 - add identifier to L2VPN table
2022-08-22 09:08:16 -07:00
jeremystretch
2ef9e2d6fc
Closes #10066 : Use fixed column widths for custom field values in UI
2022-08-22 11:17:40 -04:00
jeremystretch
c14a5973c7
Fixes #10089 : linkify template filter should escape object representation
2022-08-22 11:14:36 -04:00
Arthur
3a7ea62874
fix for #10057
2022-08-18 16:20:24 -07:00
Arthur
0a38c16cc2
Fix for #10056
2022-08-18 16:06:57 -07:00
Arthur
c65a291698
#6454 add L2VPN check
2022-08-18 16:00:17 -07:00
Arthur
38a8ddcd77
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
atownson
43ad8e80b9
netbox-community#10055: Added empty text
2022-08-18 17:12:44 -05:00
Arthur
928dff6b68
#6454 add prerequisite alert
2022-08-18 15:11:03 -07:00
atownson
0bdee1d6d8
netbox-community#10055 - Align NAT Outside with NAT Inside
2022-08-18 16:22:22 -05:00
atownson
3f40e15ed5
netbox-community#10055 - Add template for NAT Outside
...
Fixes 'ipam.IPAddress.None' text
2022-08-18 16:18:29 -05:00
atownson
a687aa1de6
netbox-community#10055 - Add loop for NAT Outside
2022-08-18 16:09:36 -05:00
atownson
c811eb069d
netbox-community#10055 - Add loop for NAT Outside
2022-08-18 16:05:29 -05:00
Arthur
eb3d3dcbc4
#6454 add prerequisite alert
2022-08-18 13:58:40 -07:00
jeremystretch
804c064a7e
Closes #10061 : Replicate type when cloning L2VPN instances
2022-08-18 15:19:34 -04:00
jeremystretch
279253c486
Fixes #10040 : Fix exception when ordering prefixes by flat representation
2022-08-18 09:49:45 -04:00
jeremystretch
c7d6fe2d62
Fixes #10053 : Custom fields header should not be displayed when editing circuit terminations with no custom fields
2022-08-17 15:37:48 -04:00
jeremystretch
3b4dd051f2
PRVB
2022-08-17 14:11:47 -04:00
jeremystretch
f9a6e368a7
Release v3.3.0
2022-08-17 13:55:21 -04:00
jeremystretch
107f19a0e9
Closes #10035 : Include assigned_object_parent column by default in L2VPN terminations table
2022-08-17 10:59:17 -04:00
jeremystretch
5671a37f43
Closes #10036 : Set clone_fields on L2VPNTermination
2022-08-17 10:51:50 -04:00
jeremystretch
93b36ed580
Closes #10032 : Remove unique constraint from L2VPN identifier
2022-08-17 10:47:42 -04:00
jeremystretch
e523006ec3
Fixes #9758 : Display parent object of connected termination
2022-08-17 10:39:30 -04:00
jeremystretch
a8576e54c7
Optimize database queries
2022-08-17 10:30:35 -04:00
jeremystretch
a36294e209
Merge branch 'develop' into feature
2022-08-16 12:56:49 -04:00
jeremystretch
7a44a4e305
PRVB
2022-08-16 12:36:42 -04:00
jeremystretch
e01b7951f2
Release v3.2.9
2022-08-16 11:50:14 -04:00
jeremystretch
8c220cc04f
Fixes #9491 : Remove button for adding inventory item templates to module type components
2022-08-16 11:39:51 -04:00
jeremystretch
9e9e90f88b
Closes #9933 : Add DOCSIS interface type
2022-08-16 10:11:40 -04:00
jeremystretch
6d328a82e9
Cleanup for #9505
2022-08-16 10:04:47 -04:00
jeremystretch
dedee0f9d9
#9979 : Fix fallback to default value
2022-08-16 09:53:13 -04:00
jeremystretch
0ef1bc8490
Clean up bulk edit buttons
2022-08-16 09:49:51 -04:00
Jeremy Stretch
14821eed44
Merge pull request #9639 from cpund/8723-branch
...
PR for #8723
2022-08-16 09:10:24 -04:00
Jeremy Stretch
c8ecee9682
Merge pull request #9712 from renatoalmeidaoliveira/develop
...
Include Network information in Prefix Template Issue:#9505
2022-08-16 09:06:56 -04:00
Jeremy Stretch
a8dd809f8e
Merge pull request #9981 from chcon/develop
...
re-enable markdown in custom columns
2022-08-16 08:57:37 -04:00
Christoph Schneider
15f4b1fd5d
add newline
2022-08-13 14:02:26 +02:00
Christoph Schneider
36491b13d8
remove class definition
2022-08-13 14:01:07 +02:00
Christoph Schneider
ac540b6183
remove import
2022-08-13 13:59:19 +02:00
Christoph Schneider
6f09d94e2a
remove commented line
2022-08-13 13:56:51 +02:00
Christoph Schneider
f942216f3f
re-enable markup in longtext custom columns
2022-08-13 13:54:38 +02:00
jeremystretch
ca0b21bef5
Closes #9980 : Use standard table controls template for device interfaces list
2022-08-12 11:25:03 -04:00
Jeremy Stretch
6cf898fa13
Merge pull request #9982 from DorianXGH/pon_if_types
...
Closes #8595 : Added new PON interface types
2022-08-12 10:43:15 -04:00
jeremystretch
e4bbebf87a
Merge branch 'develop' into feature
2022-08-12 10:18:57 -04:00
Dorian Bourgeoisat
693ad700e8
Swapping NG-PON2 as main name instead of TWDM-PON
2022-08-12 00:49:13 +02:00
Craig Pund
5873ad95dc
handle objects without names
2022-08-11 15:16:42 -04:00
Craig Pund
6a687a9ed1
not necessary to prefetch
2022-08-11 15:16:01 -04:00
jeremystretch
8cd5a24409
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
Jonathan Senecal
f74b7aa7ac
Add a "clear" button for quick search
...
Fixes #9857
2022-08-11 08:26:25 -04:00
Christoph Schneider
9a80a491c9
re-enable markdown in custom columns
2022-08-11 14:11:41 +02:00
Jeremy Stretch
10af44c12a
Merge pull request #9970 from barnebyte-timewarp/develop
...
Closes #9625 : Add Contact Phone/Email to quick view panes to save time
2022-08-10 16:16:04 -04:00
jeremystretch
a9aaa8939c
Closes #9161 : Pretty print JSON custom field data when editing
2022-08-10 16:12:04 -04:00
Dorian Bourgeoisat
1c7ef73d1f
Closes #8595 : Added new PON interface types
2022-08-10 15:33:33 +02:00
Barnabas Lovas
c24f1f14ec
Closes #9625 : Add Contact Phone/Email to quick view panes to save time
2022-08-10 13:22:58 +02:00
jeremystretch
c1d9cace11
Fixes #9900 : Pre-populate site & rack fields for cable connection form
2022-08-09 14:21:27 -04:00
jeremystretch
7dc2e02e22
Fixes #9938 : Exclude virtual interfaces from terminations list when connecting a cable
2022-08-09 11:39:04 -04:00
jeremystretch
602cf8c5fa
Fixes #9939 : Fix list of next nodes for split paths under trace view
2022-08-09 11:29:42 -04:00
gildarov
c7faca9480
fix typo in virtualization/forms/filtersets.py
2022-08-09 11:56:19 +03:00
jeremystretch
1b88b36820
Merge branch 'develop' into feature
2022-08-08 15:39:03 -04:00
jeremystretch
064d7f3bd0
PRVB
2022-08-08 15:34:13 -04:00
jeremystretch
ce7fb8ab17
Release v3.2.8
2022-08-08 15:17:36 -04:00
jeremystretch
caca074161
Fixes #9950 : Prevent redirection to arbitrary URLs via 'next' parameter on login URL
2022-08-08 14:21:42 -04:00
jeremystretch
8721ad987c
Fixes #9952 : Prevent InvalidMove when attempting to assign a nested child object as parent
2022-08-08 12:22:22 -04:00
jeremystretch
876251c1cf
Fixes #9948 : Fix TypeError exception when requesting API tokens list as non-authenticated user
2022-08-08 12:22:01 -04:00
jeremystretch
36ac83a319
Fixes #9949 : Fix KeyError exception resulting from invalid API token provisioning request
2022-08-08 11:43:27 -04:00
jeremystretch
90317adae7
Clean up usages of mark_safe()
2022-08-08 10:47:07 -04:00
jeremystretch
135543683d
Changelog for #9919
2022-08-08 10:24:49 -04:00
jeremystretch
0e1947bc4b
PEP8 fix
2022-08-08 09:58:58 -04:00
Osamu-kj
7141fc8eb0
Custom fields - removed the debug lines
2022-08-06 17:17:43 +02:00
Osamu-kj
db38ed4f19
Fixed the XSS protection code inside custom fields
2022-08-06 15:10:31 +02:00