Jeremy Stretch
6d4cc16ca4
Release v4.4.0-beta1 ( #20103 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
* Release v4.4.0-beta1
* Fix typo
2025-08-15 13:52:14 -04:00
Jeremy Stretch
32ea174331
Adjust TODO release targets
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-14 14:40:01 -04:00
Jeremy Stretch
70bd0cc9e2
#19924 : Expose public & features fields in API serializer and enable filtering
2025-08-14 14:40:01 -04:00
Jeremy Stretch
99a65eedfc
#19713 : Extend render_form() template tag to support meta fields
2025-08-14 14:40:01 -04:00
Jeremy Stretch
ead8a03893
#19816 : Capture additional logging under ScriptJob
2025-08-14 14:40:01 -04:00
Jeremy Stretch
9c96089cfb
#19713 : Remove changelog_message from bulk import form for unsupported models
2025-08-14 14:40:01 -04:00
Jeremy Stretch
c5cd34b191
#19973 : lsmodels() should prefix models with app label
2025-08-14 14:40:01 -04:00
Jeremy Stretch
012cf3ffbf
#19735 : Fix get_context() for ObjectAction subclasses
2025-08-14 14:40:01 -04:00
Jeremy Stretch
5df4c63f28
#19891 : Fix duplicate background_job fields on bulk edit forms without fieldsets defined
2025-08-14 14:40:01 -04:00
Jeremy Stretch
1f4bd88401
#19713 : Fix duplicate changelog_message fields on bulk edit forms without fieldsets defined
2025-08-14 14:40:01 -04:00
Jeremy Stretch
b5b0c40727
#19773 : Include Django apps in system status view
2025-08-14 14:40:01 -04:00
Jeremy Stretch
2004ab7a0e
Add support for pipe character as delimiting character for bulk imports
2025-08-14 14:40:01 -04:00
Jeremy Stretch
f3ecf94393
#19739 : Include tab character as CSV delimiter choice
2025-08-14 14:40:01 -04:00
Jeremy Stretch
a8610a0e7e
#19829 : Update API URL for object type serializer
2025-08-14 14:40:01 -04:00
Jeremy Stretch
cdeec73d95
#18990 : Add bulk edit & bulk delete support for image attachments
2025-08-14 14:40:01 -04:00
Jeremy Stretch
9fc0fd603b
#19231 : Add bulk rename support for image attachments
2025-08-14 14:40:01 -04:00
Jeremy Stretch
24fca8fde4
#19231 : Add bulk rename support for virtual circuits
2025-08-14 14:40:01 -04:00
Jeremy Stretch
1bbaaed08b
#18204 : Misc cleanup
2025-08-14 14:40:01 -04:00
Jeremy Stretch
4afc4daa2d
#18349 : Adopt new job logging functionality ( #19816 )
2025-08-14 14:40:01 -04:00
Jeremy Stretch
6041892453
#19740 : Add missing advisory lock key
2025-08-14 14:40:01 -04:00
Jeremy Stretch
a6aca287e8
#19740 : Annotate cumulative counts for platform child objects
2025-08-14 14:40:01 -04:00
Jeremy Stretch
dda4ad9bb0
#19740 : Add parent column to PlatformTable
2025-08-14 14:40:01 -04:00
Jeremy Stretch
f17c1f115e
#17413 : Distinguish platforms by manufacturer when bulk importing devices
2025-08-14 14:40:01 -04:00
Jeremy Stretch
62d93d607c
#17413 : Remove redundant name & slug fields from Platform model
2025-08-14 14:40:01 -04:00
Arthur
efcf9e5b3b
20089 use get_queryset function for valid_models
2025-08-14 14:27:12 -04:00
Jeremy Stretch
9da777d667
Update v4.4 release notes
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-14 10:44:13 -04:00
Jeremy Stretch
b4c88541da
Closes #19377 : Introduce config context profiles ( #20058 )
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-08-12 15:18:45 -07:00
Jeremy Stretch
a7247f8815
Merge branch 'main' into feature
2025-08-12 16:03:45 -04:00
Jeremy Stretch
8238fda8ad
Closes #19773 : Extend system view ( #20078 )
2025-08-12 12:59:15 -05:00
Jeremy Stretch
bb57021197
Closes #18984 : Add status field to Rack model ( #20080 )
2025-08-12 12:35:50 -05:00
Jason Novinger
290e4afaa0
Release v4.3.6 ( #20081 )
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
2025-08-12 12:15:08 -05:00
bctiemann
032bd52dc7
Merge pull request #20047 from netbox-community/19740-platform-nesting
...
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
Closes #19740 : Enable recursive nesting for platforms
2025-08-12 10:40:27 -04:00
github-actions
ca95050b7d
Update source translation strings
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-12 05:02:37 +00:00
m-hau
34e4ccb212
Fixes #20056 : Add rf_role to generate_schema.json ( #20071 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-11 10:40:01 -07:00
Jonathan Ramstedt
fcb49f9881
Closes #19728 : add c18 power port type ( #20064 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-11 08:41:14 -05:00
Arthur Hanson
a585bc044e
20048 cleanup get_viewname URL resolution ( #20050 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* #20048 add get_action_url utility function
* #20048 add get_action_url utility function
* #20048 add get_action_url utility function
* #20048 add get_action_url utility function
* #20048 add get_action_url utility function
* #20048 action_url template tag
* #20048 action_url template tag
* #20048 fix test
* #20048 review feedback
* #20048 fix tags
2025-08-11 08:38:19 -04:00
Jason Novinger
7e40f40248
Closes #20060 : Update v4.3.5 release docs to note impact of fixing #18900
2025-08-11 08:31:03 -04:00
github-actions
8e08524fed
Update source translation strings
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
2025-08-09 05:03:34 +00:00
Jeremy Stretch
1242ad68f7
Closes #20029 : Add object_type to webhook data ( #20049 )
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-08-08 21:05:26 -05:00
Jason Novinger
8bb47dad0f
Fixes #20023 : Add GiST index on Prefix.prefix for net contains ops ( #20059 )
...
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
Resolves performance issue where prefix deletion with 2000+ children
took 5-10 minutes due to sequential scans in hierarchy depth/children
calculations. Adding PostgreSQL GiST index with inet_ops enables efficient
network containment operators (>>, <<, <<=) in annotate_hierarchy() queries.
Performance impact:
- 30-60x speedup: 5-10 minutes → 10 seconds for large prefix deletions
- Real-world validation: 4s migration time on 1.24M prefix dataset
- Storage cost: 47MB index (11% of table storage, 38 bytes per prefix)
Works in conjunction with existing B-tree indexes on vrf_id for optimal
query performance. Benefits all network containment operations including
hierarchy navigation, aggregate views, and available IP/prefix calculations.
2025-08-08 14:14:55 -05:00
Daniel Sheppard
5d7c8318aa
Fixes : #19996 - Correct dynamic query parameters for IP Address field in Add/Edit Service form ( #20040 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
* Fixes : #19996 - Correct dynamic query parameters for IP Address field in Add/Edit Service form
* Remove debug and do some cleanup
2025-08-08 09:52:03 -04:00
bctiemann
2d495d4f32
Merge pull request #20026 from netbox-community/19998-fixes-missing-changelog-cleared-tags
...
Fixes : #19998 - Add changelog entry when clearing M2M fields
2025-08-08 06:17:30 -04:00
github-actions
cea83f31b8
Update source translation strings
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-08 05:09:12 +00:00
Daniel Sheppard
6c0dc8b630
Correct mistake made on determination of whether it is a tag or not
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-08-07 21:12:25 -05:00
bctiemann
ab8e3ee956
Merge pull request #20037 from netbox-community/19988-has_feature-invalid-objecttype
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
Fixes #19988 : `has_feature()` should gracefully handle invalid ContentTypes
2025-08-07 20:50:32 -04:00
bctiemann
1c86f81298
Merge pull request #20034 from netbox-community/20033-bookmark-bulk-deletion
...
Fixes #20033 : Fix exception when bulk deleting bookmarks
2025-08-07 20:29:10 -04:00
Jeremy Stretch
37d6c160b9
Closes #20003 : Introduce mechanism to register callbacks for webhook context ( #20025 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Closes #20003 : Introduce mechanism to register callbacks for webhook context
* Swap ContentType with ObjectType
* Add plugin dev documentation for webhook callbacks
* Fix tests
* Add note about namespacing webhook data
2025-08-07 16:28:53 -04:00
Jeremy Stretch
148fac1086
Closes #19740 : Enable recursive nesting for platforms
2025-08-07 16:19:24 -04:00
Daniel Sheppard
630d7aa4c2
Clarify additional branch functionality
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-08-07 08:27:13 -05:00
Daniel Sheppard
043275df19
Clarify label
2025-08-07 08:24:54 -05:00
Jonathan Ramstedt
122f612750
Fixes #19379 : allow standalone id in vlan-ids range list ( #20024 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
* Fixes #19379 : allow standalone id in vlan-ids range list
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-08-07 08:56:07 -04:00
github-actions
65b36fd594
Update source translation strings
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-07 05:08:34 +00:00
Jeremy Stretch
33d891e67b
Fixes #20028 : Restore bulk deletion button for bookmarks, notifications, and subscriptions ( #20032 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-08-06 13:56:22 -07:00
Jeremy Stretch
e828ca5cb4
Fixes #20030 : Fix height of object list action buttons & others ( #20036 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-06 13:49:52 -07:00
Jeremy Stretch
fce10c73b7
Closes #17222 : Improve visibility of notifications icon ( #20035 )
2025-08-06 14:28:01 -05:00
bctiemann
0cf76bc5c7
Merge pull request #20021 from netbox-community/19999-script-list-widget-misformatted
...
Fixes #19999 : Script list dashboard widget now displays correctly
2025-08-06 15:08:56 -04:00
Jeremy Stretch
13db4f728c
Fixes #19988 : has_feature() should gracefully handle invalid ContentTypes
2025-08-06 15:03:38 -04:00
Jeremy Stretch
4ce47e778b
Closes #18006 : Dispatch event when toggling color mode & document for plugin use ( #20031 )
2025-08-06 10:47:06 -05:00
Jeremy Stretch
11f228cae9
Fixes #20033 : Fix exception when bulk deleting bookmarks
2025-08-06 10:29:17 -04:00
Jeremy Stretch
3ecb904e37
Closes #20008 : Job logging for bulk operation background jobs ( #20022 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* WIP
* Misc cleanup
2025-08-05 15:54:08 -05:00
Daniel Sheppard
a86cd9dfc6
Clarify comment
2025-08-05 15:49:01 -05:00
Daniel Sheppard
15541c6440
Fixes : #19998 - Add changelog entry when clearing M2M fields
2025-08-05 15:28:41 -05:00
Jason Novinger
0c70e9e140
Fixes #19986 : Fix plugin list view button URLs ( #20019 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Fixes #19986 : Fix plugin list view button URLs
Plugin list view action buttons (Add, Import, Export) were generating 404
errors because ObjectAction.get_url() was manually constructing viewnames
without the required "plugins:" namespace prefix for plugin models.
Replace manual viewname construction with NetBox's get_viewname() utility
function, which properly handles plugin detection and namespace prefixing
for both core and plugin models.
* Ensure expected URL patterns are registered, ensures tests pass
2025-08-05 08:26:43 -04:00
github-actions
6ce3012f93
Update source translation strings
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
2025-08-05 05:08:54 +00:00
bctiemann
fec6cf705f
Merge pull request #20015 from mraerino/graphql-contains-prefix
...
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
Implement `contains` filter for IPAM prefixes and IP ranges
2025-08-04 18:16:19 -04:00
Jason Novinger
9c6d0d1ddc
Fixes #19999 : Script list widget now displays correctly
...
- Extract script list content into reusable partial template
- Add object-list CSS class for proper embedded table styling
- Hide module headers and management actions in widget context
- Use compact buttons with icon-only labels for widgets
- Add test coverage for embedded parameter handling
The embedded version now renders cleanly in dashboard widgets while
preserving full functionality in the main script list page.
2025-08-04 16:52:11 -05:00
Jason Novinger
47359d9284
Fixes #20017 : ensures full ChangeLog change is highlighted ( #20018 )
2025-08-04 14:27:39 -07:00
Jeremy Stretch
669df62cde
Closes #18873 : Add a request timeout parameter to the RSS feed dashboard widget ( #20004 )
2025-08-04 14:23:33 -07:00
Marcus Weiner
9df0bdcfaf
Fixes #19622 : Allow loading graphql query from URL ( #20014 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-08-04 09:28:59 -05:00
Jad Seifeddine
d222913716
Fixes : #19917 - Fix MAC address pagination duplicates by adding 'pk' to model ordering ( #19961 )
...
* Fix MAC address pagination duplicates by adding 'pk' to model ordering
Add 'pk' to MACAddress model ordering to ensure deterministic results
when multiple MAC addresses have the same value. This prevents the same
MAC address from appearing on multiple pages during pagination.
The issue occurred because Django's default ordering by 'mac_address'
alone is non-deterministic when multiple records share the same MAC
address value, causing inconsistent pagination results when the same
MAC address is assigned to multiple interfaces on a device.
Added regression test that verifies MAC addresses with identical values
are properly ordered by their primary key, ensuring consistent pagination
behavior across the application.
Fixes netbox-community#19917
* Remove test
* Resolve migration conflict
---------
Co-authored-by: Jad Seifeddine <jseifeddine@macquarietelecom.com >
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-08-04 10:15:05 -04:00
Jason Novinger
2c09973e01
Fixes #20009 : Fix DOM-based XSS vulnerability in search export functionality
...
Replace direct string concatenation with URLSearchParams to properly
encode user input in export link URLs, preventing injection of malicious
parameters or scripts through the search functionality.
Resolves CodeQL Alert #63 (js/xss-through-dom)
2025-08-04 09:12:49 -04:00
Marcus Weiner
4506c809d8
Fix formatting
2025-08-03 15:32:55 +02:00
Marcus Weiner
5d194214aa
Implement contains filter for IPAM IP ranges
2025-08-03 15:32:14 +02:00
Marcus Weiner
0827198cad
Implement contains filter for IPAM prefixes
2025-08-03 15:19:58 +02:00
github-actions
bb83187505
Update source translation strings
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
2025-08-02 05:05:04 +00:00
Jeremy Stretch
aa9ee0e5c6
Closes #19977 : Denormalize device relationships on component models ( #19984 )
...
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Closes #19977 : Denormalize site, location, and rack for device components
* Set blank=True on denormalized ForeignKeys
* Populate denormalized field in test data
* Ignore private fields when constructing test GraphQL requests
2025-08-01 15:40:15 -05:00
Jeremy Stretch
2b7600e659
Remove old "introduced in" notices
2025-08-01 15:57:26 -04:00
Jeremy Stretch
ae425d9da9
Fixes #19987 : Show changelog_message field only for models which support change logging
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-08-01 15:19:57 -04:00
Jeremy Stretch
128dd6e59d
Draft release notes for v4.4
2025-08-01 15:18:37 -04:00
Jeremy Stretch
35b9d80819
Closes #19968 : Use multiple selection lists for the assignment of object types when editing a permission ( #19991 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
* Closes #19968 : Use multiple selection lists for the assignment of object types when editing a permission
* Remove errant logging statements
* Defer compilation of choices for object_types
* Fix test data
2025-08-01 14:06:23 -05:00
Jeremy Stretch
d4b30a64ba
Fixes #20001 : is_api_request() should not evaluate a request's content type
2025-08-01 14:31:50 -04:00
Kyer Lasswell
8eefc39bf9
Closes #19920 : add ContactsMixin to ASN ( #19981 )
2025-08-01 13:24:25 -05:00
Jeremy Stretch
de53fd2bd1
Configure CodeQL to ignore compiled JS resources ( #20000 )
...
* Configure CodeQL to ignore compiled JS resources
* Enable CodeQL for feature branch
2025-08-01 12:39:25 -05:00
Jeremy Stretch
b97fe5e300
Closes #19973 : nbshell improvements ( #19995 )
2025-08-01 10:14:59 -07:00
Jonathan Ramstedt
c7b68664f9
Closes #18843 : use color name in cable export ( #19983 )
2025-08-01 09:51:00 -07:00
Jeremy Stretch
a20715f229
Fixes #19321 : Reduce redundant database queries during bulk creation of devices ( #19993 )
...
* Fixes #19321 : Reduce redundant database queries during bulk creation of devices
* Add test for test_get_prefetchable_fields
2025-08-01 09:23:58 -05:00
Jeremy Stretch
ae55eed98f
Closes #19965 : Expand Prometheus metrics ( #19966 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-31 13:27:50 -07:00
Jeremy Stretch
9a2fab1d48
Closes #19591 : Establish dedicated tab for image attachments ( #19919 )
...
* Initial work on #19591
* Ignore images cache directory
* Clean up thumbnails layout
* Include "add attachment" button
* Clean up ObjectImageAttachmentsView
* Add html_tag property to ImageAttachment
* Misc cleanup
* Collapse .gitignore files for /media
* Fix conditional in template
2025-07-31 16:22:04 -04:00
Jeremy Stretch
40dd36812c
Merge branch 'main' into feature
2025-07-31 15:24:33 -04:00
Jeremy Stretch
b5239984e7
Fixes #19985 : Fix ordering of migrations under dcim app ( #19992 )
2025-07-31 12:06:31 -07:00
Jeremy Stretch
b610cf37cf
Closes #19924 : Record model features on ObjectType ( #19939 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Convert ObjectType to a concrete child model of ContentType
* Add public flag to ObjectType
* Catch post_migrate signal to update ObjectTypes
* Reference ObjectType records instead of registry for feature support
* Automatically create ObjectTypes
* Introduce has_feature() utility function
* ObjectTypeManager should not inherit from ContentTypeManager
* Misc cleanup
* Don't populate ObjectTypes during migration
* Don't automatically create ObjectTypes when a ContentType is created
* Fix test
* Extend has_feature() to accept a model or OT/CT
* Misc cleanup
* Deprecate get_for_id() on ObjectTypeManager
* Rename contenttypes.py to object_types.py
* Add index to features ArrayField
* Keep FK & M2M fields pointing to ContentType
* Add get_for_models() to ObjectTypeManager
* Add tests for manager methods & utility functions
* Fix migrations for M2M relations to ObjectType
* model_is_public() should return False for non-core & non-plugin models
* Order ObjectType by app_label & model name
* Resolve migrations conflict
2025-07-30 13:05:34 -04:00
Jason Novinger
1b8767f1e3
Remove housekeeping item from v4.3.5 rlease notes
2025-07-30 08:25:40 -04:00
github-actions
5acef5038f
Update source translation strings
2025-07-30 05:08:57 +00:00
Jason Novinger
6ca3908715
Release v4.3.5 ( #19975 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Release v4.3.5
* Fix missing strawberry-graphql==0.278.0 specifier
2025-07-29 15:28:49 -05:00
Jason Novinger
c736ce3179
Fixes #18900 : raise QuerySetNotOrdered exception when trying to paginate unordered API querysets ( #19943 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Fixes #18900 : introduce/raise QuerySetNotOrdered exception
Defines a new exception, `QuerySetNotOrdered`, and raises it in
`OptionalLimitOffsetPagination.paginate_queryset` in the right
conditions:
- the iterable to be paginated is a QuerySet isinstance
- the `queryset.ordered` flag is not truthy
* Don't try to reapply ordering if ordering is already present
* Add ordering for failing tagged-objects list API endpoint
I chose to implement this here for TaggedItemViewSet, rather than on the
model, because any meaningful ordering is going to be done on the
related Tag instance and I didn't want to introduce potential, not well
understood side-effects by applying a model-wide ordering via a related
model field.
* Add default Token ordering behavior
* Adds basic tests for raising QuerySetNotOrdered
* Note why ordering is not applied in TaggedItem.Meta
2025-07-29 11:49:36 -05:00
Martin Rødvand
111fefdf9c
Fix #19910 : Add conditional to hide internet dependent links in an isolated deployment ( #19951 )
...
* Add conditional to hide internet dependent links in an isolated deployment
* Formatting
* Adjust conditional
* Formatting
2025-07-29 10:41:32 -05:00
Jeremy Stretch
24a0e1907a
Closes #19713 : Enable recording user messages in the change log ( #19908 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Add message field to ObjectChange model
* Set max length on changelog message
* Enable changelog messages for single object operations
* Fix tests
* Add changelog message support for bulk edit & bulk delete
* Cosmetic improvements to form fields
* Fix bulk operation templates
* Add message support for bulk import/update
* Add REST API support for changelog messages (WIP)
* Fix changelog_message assignment
* Enable changelog message support for bulk deletions
* Add documentation
* Fix changelog message support for VirtualChassis
* Add ChangeLoggingMixin to necesssary model forms
* Introduce get_random_string() utility function for tests
* Incorporate changelog messages for object view tests
* Incorporate changelog messages for object bulk view tests
* Add missing mixins for changelog message support
* Tweak test to generate expected number of change records
* Finish adding tests for changelog message functionality
* Misc cleanup
* Fixes #19956 : Prevent duplicate deletion records from cascading deletions
* Tweak bulk deletion test to work around cascading deletions issue
* Correct API URL
2025-07-29 09:11:33 -05:00
Jeremy Stretch
063d1fef7a
Closes #18797 : Support path import for certain Jinja environment parameters ( #19962 )
...
* Closes #18797 : Support path import for certain Jinja environment parameters
* Document dotted path support for Jinja env params
2025-07-29 09:09:25 -05:00
Kyer
89a94486e1
Closes #19945 : Create DecimalVar class for custom script input ( #19963 )
2025-07-29 09:49:33 -04:00
Jathn
6ba6ff3fee
Fixes #19764 : docs/administration replicating netbox - wrong table name
2025-07-29 08:57:49 -04:00
github-actions
7bb7307892
Update source translation strings
2025-07-29 05:10:14 +00:00
Jeremy Stretch
c2d3363930
Closes #18399 : Refactor logic for marking data source syncing as queued ( #19960 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-28 09:04:38 -07:00
Jeremy Stretch
6e30c11017
Fixes #19956 : Prevent duplicate deletion records from cascading deletions
2025-07-28 09:49:08 -04:00
github-actions
b01c75cf3a
Update source translation strings
2025-07-25 05:07:26 +00:00
Jonathan Ramstedt
ffa9a52667
Closes #18936 : add color name support for cable bulk import ( #19949 )
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-07-24 09:54:49 -07:00
bctiemann
47320f9958
Merge pull request #19912 from miaow2/19903-regexp
...
Closes #19903 : Add `regex` and `iregex` filter lookup expressions and corresponding tests
2025-07-24 12:32:19 -04:00
Jeremy Stretch
6b70dea18b
Fixes #19911 : Fix redirect_url support for bulk operations ( #19922 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Establish render() method on ObjectAction
* Restore support for passing return_url
2025-07-24 11:04:41 -05:00
Jeremy Stretch
c047f35c57
Closes #19893 : Include hostname in REST API status endpoint ( #19895 )
2025-07-24 10:42:31 -05:00
github-actions
d08a1bd07d
Update source translation strings
2025-07-24 05:05:44 +00:00
Martin Hauser
14c4aeca54
Closes #19840 - Enable Site Filtering for Devices in Cable Bulk Import ( #19923 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* feat(dcim): Add site fields to Cable bulk import form
Introduces `side_a_site` and `side_b_site` fields for the Cable bulk
import form. Limits device choices on both sides to the selected site
for improved input validation and consistency.
* feat(dcim): Enhance test data setup with multiple sites
Refactors tests to create multiple sites and assign devices accordingly.
Updates CSV data to include `side_a_site` and `side_b_site` fields for
scenarios involving multiple sites. This improves test coverage and
alignment with real-world use cases.
* docs(dcim): Update comments explaining indent for CSV import
Improved the inline comments to clarify the rationale behind allowing
devices with duplicate names on different sites during CSV bulk import.
2025-07-23 15:50:05 -05:00
Jason Novinger
26bec1275f
Fixes #19934 : add description field to Tenant bulk edit form ( #19937 )
2025-07-23 13:41:00 -07:00
Jason Novinger
fa2d7f6516
Fixes #19916 : restore Rack device representation behavior
...
The select list of 'Images and Label', 'Images Only', and 'Label Only'
was broken during recent work while implementing #19823 .
This fixes the issue by placing the `rack_elevation` class attribute on
the <div> element that contains the SVG after being loaded by HTMX. In
addition, we needed to slightly modify the selectors in the frontend
code that looked for the elements within the SVG to hide and/or show.
Previously, it was looking inside of a contentDocument embedded in an
<object> element. The simplified version just looks inside of the
SVG containing div.
2025-07-23 08:45:40 -04:00
Marco Spizzuoco
d571cb4867
Closes #19902 : add clip path to avoid overflow of device name, truncate text to improve centering ( #19913 )
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-07-22 09:44:14 -07:00
Jeremy Stretch
6df0a02d8d
Closes #18204 : Miscellaneous improvements to the display of image attachments ( #19914 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Show human-friendly values for file size
* Introduce optional dedicated columns for name & filename
* Add combined dimensions column
* Restore image preview on hover
* Remove object_type from default columns list
* Parent column is not orderable
* Filter/search image attachments by filename
* Correct table column name
2025-07-22 09:44:30 -04:00
bluikko
2129355c30
Closes #19926 : Remove RHEL firewalld note
...
Closes : #19926
2025-07-22 08:04:53 -04:00
Jason Novinger
59e1d3a607
Closes : #18588 : Relabel Service to Application Service ( #19900 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Closes : #18588 : Relabel Service model to Application Service
Updates the `verbose_name` of the `Service` and `ServiceTemplate` models to "Application Service" and
"Application Service Template" respectively. This serves as the foundational change for relabeling
the model throughout the user interface to reduce ambiguity.
To preserve backward compatibility for the REST and GraphQL APIs, the test suites have been updated
to assert the stability of the original field and parameter names. This includes:
* Using `filter_name_map` in the filterset test case to ensure API query parameters remain
`service` and `service_id`.
* Employing the GraphQL test suite's aliasing mechanism to ensure the public schema remains
unchanged despite the underlying `verbose_name` modification.
Subsequent commits will address UI-specific labels in navigation, tables, forms, and templates.
* Rename to Application Services/Application Service Templates in nav menu
* Rename ~service to ~'Application Service' in templates
This was done for both the Service model and Service Template model
appearances in templates where the word was hardcoded.
* Change ~service to ~'application service' hardcoded strings in Python files
* Update ~service to ~'application service' in docs
2025-07-21 09:22:27 -04:00
Jeremy Stretch
4e0e4598b0
Closes #18990 : Add description field to ImageAttachment model ( #19907 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-18 07:58:54 -07:00
Artem Kotik
c40bfb1445
Add regex and iregex filter lookup expressions and corresponding tests
2025-07-18 16:56:54 +02:00
Jeremy Stretch
cebc56e5cc
Closes #19891 : Bulk operation jobs ( #19897 )
...
* Add background_job toggle to BulkEditForm
* Account for bug fix in v4.3.4
* Enable background jobs for bulk edit & bulk delete
* Move background_job field to a mixin
* Cosmetic improvements
* Misc cleanup
* Fix BackgroundJobMixin
2025-07-18 08:24:38 -05:00
Jeremy Stretch
7f2b744a53
Closes #18528 : Introduce HOSTNAME config parameter ( #19894 )
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-07-17 10:09:30 -07:00
Jeremy Stretch
733dd81f0e
Closes #19738 : Deprecate the direct assignment of a VLAN to a site ( #19904 )
2025-07-17 08:45:56 -05:00
Jeremy Stretch
32fb3869a4
Closes #19829 : Move object types REST API endpoint to core app
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-16 14:54:03 -04:00
Jeremy Stretch
c5ffab0c28
Closes #18349 : Replace houskeeping management command with a system job ( #19815 )
2025-07-16 14:50:11 -04:00
Jeremy Stretch
5f8a4f6c43
Merge branch 'main' into feature
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-16 09:52:58 -04:00
github-actions
b88b5b0b1b
Update source translation strings
Lock threads / lock (push) Has been cancelled
Close stale issues/PRs / stale (push) Has been cancelled
Close incomplete issues / stale (push) Has been cancelled
Update translation strings / makemessages (push) Has been cancelled
2025-07-16 05:06:12 +00:00
Jason Novinger
6eeb382512
Release v4.3.4 ( #19887 )
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-07-15 12:56:11 -05:00
Jeremy Stretch
e5d6c71171
Fixes #19633 : Log all evaluations of invalid event rule conditions ( #19885 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* flush_events() should catch only import errors
* Fixes #19633 : Log all evaluations of invalid event rule conditions
* Correct comment
2025-07-15 10:25:25 -05:00
Jeremy Stretch
f777bfee2e
Fixes #19876 : Remove Markdown rendering from CustomFieldChoiceSet description field ( #19877 )
2025-07-15 07:55:26 -07:00
bctiemann
8b63eb64c1
Merge pull request #19860 from netbox-community/19839-nested-object-parent-export
...
Fixes #19839 : Enable export of parent assignment for recursively nested objects
2025-07-15 08:42:43 -04:00
Jason Novinger
cff29f9551
Fixes #19413 : Group custom fields in filter tab
...
Replaced manual rendering of custom fields in the filter tab with the
`render_custom_fields` template tag. This change ensures that custom fields are
properly grouped, addressing the issue where they were previously displayed
without their associated groups.
2025-07-15 08:41:38 -04:00
github-actions
a5c0cae112
Update source translation strings
2025-07-15 05:05:26 +00:00
Peter
2a27e475e4
Fixes #19828 : Add L2VPNTerminationType to InterfaceType ( #19879 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
Co-authored-by: swoga <3697291+swoga@users.noreply.github.com >
2025-07-14 14:42:53 -05:00
Jason Novinger
44efa037cc
Fixes #19800 : ModuleType import supports associating ModuleTypeProfile ( #19803 )
...
* Fixes #19800 : ModuleType import supports associating ModuleTypeProfile
* Fixes up ModuleTypeTestCase to include bulk import testing
Also includes an additional regression assertion.
* Address PR feedback
I ultimately left the extra asserts in for test_bulk_import_objects_with_permissionsince
since the parent test is currently only testing against number of
objects successfully imported. Will file a follow up FR to improve that
test.
2025-07-14 15:22:52 -04:00
Jeremy Stretch
6c17629159
Fixes #19841 : Add white background to upgrade paths image
2025-07-14 15:08:27 -04:00
Jeremy Stretch
f13d028c98
Fixes #19827 : Enforce uniqueness for device role names & slugs ( #19859 )
2025-07-14 09:13:44 -07:00
bctiemann
f5d32b1bf1
Closes : #19793 - Nav menu link customization ( #19794 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* Support menu items that are callables
* Fix quote on add button
* Clarify docstring to differentiate link and url
* Back out support for callables but keep alternate prerendered url param
* Make url a property on MenuItem/PluginMenuItem etc, overridable via a setter
* Use reverse_lazy instead of reverse
* Use reverse_lazy instead of reverse
2025-07-14 10:39:24 -04:00
Jeremy Stretch
f05897d61a
Closes #18811 : Match full-form IPv6 addresses in global search ( #19873 )
...
* Closes #18811 : Match full-form IPv6 addresses in global search
* Fix typo
2025-07-14 09:28:30 -05:00
Jeremy Stretch
21a840c32e
Closes #19816 : Implement a logging mechanism for background jobs ( #19838 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Initial work on #19816
* Use TZ-aware timestamps
* Deserialize JobLogEntry timestamp
* Repurpose RQJobStatusColumn to display job entry level badges
* Misc cleanup
* Test logging
* Refactor HTML templates
* Update documentation
2025-07-14 08:52:50 -05:00
Luke Anderson
b5421f1cd6
Fixes #19870 : Correct Documentation Formatting for Public Demo Instance URL
2025-07-14 08:45:26 -04:00
Jeremy Stretch
23cc4f1c41
Fixes #19839 : Enable export of parent assignment for recursively nested objects
2025-07-10 12:41:11 -04:00
Jeremy Stretch
875a641687
Closes #19589 : Background job for bulk operations ( #19804 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Initial work on #19589
* Add tooling for handling background requests
* UI notification should link to enqueued job
* Use an informative name for the job
* Disable background jobs for file uploads
2025-07-10 09:32:35 -05:00
Jeremy Stretch
6022433a40
Closes #19134 : Allow negative values for interface TX power ( #19847 )
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-09 10:17:41 -07:00
Jeremy Stretch
878c624eaf
Closes #19722 : Extend the object types REST API endpoint ( #19826 )
2025-07-09 08:43:24 -07:00
Olexandr88
9c2cd66162
Update README.md
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-07-09 10:53:40 -04:00
github-actions
f61a2964c8
Update source translation strings
2025-07-09 05:04:52 +00:00
Jeremy Stretch
90e8a61670
Closes #19739 : Add a user preference for CSV delimiter in table exports ( #19824 )
...
* Closes #19739 : Add a user preference for CSV delimiter in table exports
* Pass custom delimiter when exporting entire table
2025-07-08 14:11:40 -05:00
Jason Novinger
ee94fb0b94
Closes #19550 : Enhancement: Refactor rack elevations template for lazy loading /dcim/rack-elevations/ ( #19823 )
...
* Refactor rack elevation template to use htmx for dynamic loading and improved user experience
* rework to prevent dup loading
* Update netbox/templates/dcim/inc/rack_elevation.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/templates/dcim/inc/rack_elevation.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Move inline styles to styles/custom/racks.css
---------
Co-authored-by: tony.nealon@wholesailnetworks.com <tony.nealon@wholesailnetworks.com >
Co-authored-by: tbotnz <tonynealon1989@gmail.com >
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-07-08 11:20:04 -04:00
Harry
8fb8f4c75b
Closes #19571 : Create expansion_card.json ( #19689 )
...
* Create expansion_card.json
* Update 0206_load_module_type_profiles.py
* Update expansion_card.json
Fixed
2025-07-08 08:27:48 -05:00
Jeremy Stretch
a1cd81ff35
Closes #17413 : Permit identical names for platforms belonging to different manufacturers ( #19814 )
2025-07-07 10:38:01 -07:00
github-actions
e33793dc82
Update source translation strings
2025-07-03 05:04:46 +00:00
Jeremy Stretch
3b8841ee3b
Fixes #19806 : Introduce JobFailed exception to allow marking background jobs as failed ( #19807 )
2025-07-02 14:02:49 -05:00
Jeremy Stretch
ce12de8b6d
Closes #19231 : Add bulk renaming support for all models ( #19795 )
...
* Closes #19231 : Add bulk renaming support for all models
* Introduce a template filter for getattr()
* Extend BulkRenameView to support arbitrary field names
* Address bulk renaming support for remaining models
* Bulk rename URL resolution should fail silently
* Update documentation
* Fix bulk button rendering for HTMX requests
2025-07-02 13:35:34 -05:00
dieck
ea4c205a37
Upgrade documentation: have git fetch new tags
...
fixes #19778
2025-07-02 13:59:56 -04:00
Jeremy Stretch
601a77ac73
Closes #19735 : Implement reuable bulk operations classes ( #19774 )
...
* Initial work on #19735
* Work in progress
* Remove ClusterRemoveDevicesView (anti-pattern)
* Misc cleanup
* Fix has_bulk_actions
* Fix has_bulk_actions for ObjectChildrenView
* Restore clone button
* Misc cleanup
* Clean up custom bulk actions
* Rename individual object actions
* Collapse into a single template tag
* Fix support for legacy action dicts
* Rename bulk attr to multi
* clone_button tag should fail silently if view name is invalid
* Clean up action buttons
* Fix export button label
* Replace clone_button with an ObjectAction
* Create object actions for adding device/VM components
* Move core_sync.html to core app
* Remove extra_bulk_buttons from template doc
2025-06-30 13:03:07 -04:00
github-actions
2a5d3abafb
Update source translation strings
2025-06-27 05:03:03 +00:00
Jeremy Stretch
71e6ea5785
Release v4.3.3
2025-06-26 14:42:03 -04:00
Jason Novinger
0a9887b42f
Fixes #19745 : properly check IP assignment to FHRPGroup
...
- Expands the logic in ServiceImportForm.clean() to handle properly
validation of FHRPGroup assignments and maintain the existing
[VM]Interface validation checks.
- Includes an extension to ServiceTestCase.csv_data to act as a
regression test for this behavior.
2025-06-26 12:09:14 -04:00
Tobias Genannt
3ecf29d797
Fixes #17719 : User settings for table stripe ( #19526 )
...
* Fixes #17719 : User setting table stripe
* Tweak user preference name
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-26 12:03:17 -04:00
Jason Novinger
c48e4f590e
Fixes #19640 : restores device/vm FHRPGroupAssignment graphql filters ( #19712 )
...
* Fixes #19640 : restores device/vm FHRPGroupAssignment graphql filters
* Add docstring for device_filter helper function
2025-06-26 12:00:56 -04:00
github-actions
aee83a434a
Update source translation strings
2025-06-26 05:02:35 +00:00
Arthur Hanson
a17699d261
19644 Make atomic use correct database instead of default ( #19651 )
...
* 19644 set atomic transactions to appropriate database
* 19644 set atomic transactions for Job Script run
* 19644 set atomic transactions to appropriate database
* 19644 set atomic transactions to appropriate database
* 19644 fix review comments
* 19644 fix review comments
2025-06-25 15:00:26 -04:00
Jeremy Stretch
f97d07a11c
Update README & contributing guide ( #19727 )
2025-06-20 07:56:45 -07:00
github-actions
1fd3d390ae
Update source translation strings
2025-06-20 05:02:37 +00:00
Omripresent
7dab7d730d
Fixes : #19492 : Add Save Button to Script Output Window ( #19721 )
...
* Add condition to ScriptResultView.get function to generate a download
file of job output if job is completed
* Update template script_result.html adding a download button to trigger
output download in ScriptResultView.get
* Simplify conditional logic; tweak timestamp format
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-19 13:31:54 -04:00
Jason Novinger
c660f1c019
Fixes #19702 : add NotificationGroup.event_rules GenericRelation
...
The collector we use to notify users about dependent object that will be
deleted does handle GFKs. However, a GenericRelation must be set up on
the other end.
2025-06-19 09:41:40 -04:00
github-actions
334b45f55a
Update source translation strings
2025-06-17 05:02:05 +00:00
Martin Hauser
e6c1cebd34
Closes #19499 - Add WirelessLink Bulk Import Support by Device and Interface Names ( #19679 )
2025-06-16 11:19:56 -07:00
Arthur Hanson
a9af541e81
Fixes #19529 : fix CLI running of scripts ( #19698 )
...
* 19529 fix custom script path
* 19529 fix custom script path
* 19529 fix custom script path
* 19529 fix custom script path
* 19680 add object_change migrator
* 19680 optimize migration
* 19680 optimize migration
2025-06-16 07:17:38 -05:00
github-actions
f706572113
Update source translation strings
2025-06-14 05:02:08 +00:00
Arthur Hanson
6a6286777c
Fixes #19680 fix deletion dependency order for GenericRelations ( #19681 )
...
* #19680 fix deletion dependency order for GenericRelations
* 19680 add test
* 19680 fix Collector and test
* 19680 put on changeloggingmixin
* 19680 cleanup
* 19680 cleanup
* 19680 cleanup
* 19680 skip changelog update for deleted objects
* 19680 remove print
2025-06-13 16:08:59 -05:00
Omripresent
afeddee10d
Fixes #19687 : Treat cellular interface type as not connectable ( #19691 )
...
* Add cellular interface types to WIRELESS_IFACE_TYPES const
Add cable termination test for cellular interface
* Add regression tag to cellular test
2025-06-12 09:49:09 -05:00
Arthur Hanson
a48bee2a2e
19555 fix script API validation for scheduled_at ( #19693 )
...
* 19555 fix script API validation for scheduled_at
* 19555 fix script API validation for scheduled_at
2025-06-11 12:41:45 -05:00
github-actions
b9db6ebd63
Update source translation strings
2025-06-11 05:02:55 +00:00
Martin Hauser
9e0493c64c
Closes #17183 - Add Object Types Field to Tag Bulk Import Form ( #19639 )
2025-06-10 09:13:59 -07:00
hblandford
e3509c092a
Closes #19684 : Update pyproject.toml version to 4.3.2 ( #19688 )
...
Co-authored-by: Hugh Blandford <hugh.blandford@gmail.com >
2025-06-10 09:56:55 -05:00
bctiemann
762cfc7d10
Merge pull request #19672 from netbox-community/19659-service-form-initial-data
...
Fixes #19659 : Populate initial device/VM selection for "add a service" button
2025-06-10 08:49:23 -04:00
bctiemann
522f80ed9d
Merge pull request #19642 from pheus/17420-add-plugins-content-type-removal-instructions
...
Closes #17420 - Add Instructions for Cleaning up Content Types after Uninstalling a Plugin
2025-06-10 08:39:16 -04:00
github-actions
fd6062de75
Update source translation strings
2025-06-10 05:02:15 +00:00
gizmonicus
c872cce59f
Fixes : #19616 : configuration_example.py has inaccurate STORAGE_BACKEND examples ( #19657 )
2025-06-09 11:14:52 -07:00
Jeremy Stretch
dc8267d890
Fixes #19673 : Ignore custom field references when compiling table prefetches ( #19674 )
2025-06-09 11:12:48 -07:00
Aaron
2bfb9f4ed0
Fixes #19617 : Inconsistent styling of Connect buttons ( #19682 )
2025-06-09 10:21:28 -04:00
Martin Hauser
dda0a55e5e
fix(ipam): Correct usage of the queryset.none method ( #19678 )
...
Ensures the `queryset.none()` method is called properly with
parentheses. This fixes a potential issue where the method would not
execute as intended, improving the stability and correctness of the
filter logic.
2025-06-09 07:45:40 -05:00
Martin Hauser
2680f855ff
fix(wireless): Correct validation error field reference
...
Fixes the reference from `interface_a` to `interface_b` in the
validation error message for WirelessLink. Ensures the correct field is
indicated during validation errors.
2025-06-06 15:27:06 -04:00
Jeremy Stretch
6ca791850a
Closes #19668 : Remove obsolete docs publication step from release checklist ( #19675 )
2025-06-06 13:26:43 -05:00
Jeremy Stretch
43df06f210
Fixes #19667 : Fix TypeError exception when creating a new module profile type with no schema ( #19671 )
2025-06-06 13:25:19 -05:00
Jeremy Stretch
7e6b1bbd79
Fixes #19659 : Populate initial device/VM selection for 'add a service' button
2025-06-06 12:26:05 -04:00
Jeremy Stretch
0e68901022
Release v4.3.2 ( #19656 )
...
* Release v4.3.2
* Correct strawberry-graphql version
2025-06-05 15:56:06 -04:00
Jeremy Stretch
179c06ec20
Closes #19627 : Object change migrators ( #19628 )
...
* Initial work on ObjectChange data migrations
* Fix migration bug
* Add migrators for MAC address assignments
* Update reverting kwarg; allow pop() to fail
* Cross-reference MAC address migrators
* Split migrator logic across migrations
* Add missing migrator
2025-06-05 11:47:59 -04:00
mr1716
bd8cf64ded
#19638 Update Django URLs To Stable Version ( #19649 )
...
* Update Django URLs To Stable Version
* Update docs/configuration/security.md
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-05 11:38:07 -04:00
mr1716
67b42710ef
#19634 Update values to ensure consistency when referencing values set ( #19635 )
...
* Update values to ensure consistency when referencing values see\t
* Update required-parameters.md For Updated Django Link
* Update required-parameters.md to fix Django link
* Update error-reporting.md Remove Number Formatting
* Update docs/configuration/error-reporting.md
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-05 10:03:22 -04:00
github-actions
67d62a2089
Update source translation strings
2025-06-05 05:02:10 +00:00
Jason Novinger
e24fa2ee4d
Fixes #19610 : FieldError when sorting Tunnel Termination on tenant ( #19612 )
2025-06-04 13:50:12 -07:00
bctiemann
5fe5b2e7c4
Merge pull request #19630 from netbox-community/19599-user-changelog-sorting
...
Fixes #19599 : Prevent exception when sorting user's recent activity
2025-06-04 16:17:34 -04:00
Martin Hauser
d68f42140f
Closes #19535 - Add Project Stanza to pyproject toml ( #19643 )
...
* feat(project): Add project metadata to pyproject.toml
Introduces project metadata, including name, version, authors, and
description, to `pyproject.toml` for enhanced package definition.
Also includes URLs for source code, documentation, and issue tracking.
* docs(release): Add checklist item for Python versions in pyproject.toml
Include step to update minimum and supported Python versions
in the project metadata file as part of the release process.
* docs(release): Update checklist to include pyproject.toml versioning
Add a step to update the version in `pyproject.toml` alongside
`release.yaml`.
* feat(project): Update pyproject.toml for best practices
Refreshes metadata to resolve deprecations and follow packaging best
practices. Updates include description, license, Python versions,
classifiers, maintainers, and repository URLs for improved compliance.
* fix(project): Update repository URL key in pyproject.toml
Replaces the 'Repository' key with 'Source' in accordance with updated
metadata conventions. This ensures compliance with modern best
practices for project metadata.
* fix(project): Specify Python 3 :: Only in classifiers
Updates the Python version classifier in `pyproject.toml` to indicate
support exclusively for Python 3. This change ensures clarity in the
supported Python versions for the project metadata.
2025-06-04 14:37:18 -05:00
Jason Novinger
95d0ca56a7
Fixes #19487 : fix ordering issues with CircuitTerminationTable/TunnelTerminationTable configuration ( #19600 )
...
* Fixes #19487 : make CircuitTermination.termination GFK not orderable
* Add test to ensure no more broken sorting for CircuitTerminationTable
* Fix CircuitTerminationTable.site_group accessor
* Make TunnelTerminationTable.termination GFK field non-orderable
2025-06-04 11:48:23 -05:00
Martin Hauser
716acaa657
docs(plugins): Add guide for cleaning up Content Types
...
Provides instructions for removing stale Content Types and related
Permissions after uninstalling a plugin. Includes steps for identifying
and safely deleting stale entries to prevent issues in the permissions
management UI.
2025-06-04 17:58:29 +02:00
github-actions
ecb8656723
Update source translation strings
2025-06-04 05:02:13 +00:00
Marcus Weiner
065511fca2
Allow filtering IP addresses by family in GraphQL ( #19621 )
2025-06-03 11:15:55 -05:00
Jeremy Stretch
77f0eeb7bf
Fixes #19587 : Occupied filter should match on interfaces terminating a wireless link ( #19631 )
2025-06-03 07:34:39 -07:00
mr1716
f45b671fc9
#19619 update documentation for consistency ( #19620 )
...
* Update system.md For Capitalization Consistency
* Update security.md For Consistency
* Update system.md To Improve Consistency
* Update security.md for Consistency
* Update docs/configuration/security.md
* Update docs/configuration/system.md
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-03 09:13:10 -04:00
Arthur Hanson
b1cbdbe079
19623 show description on provider account detail view ( #19629 )
...
* 19623 show description on provider account detail view
* Fix indentation
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-06-03 09:03:44 -04:00
Jeremy Stretch
e5e7a66cb9
Apply fix to user view as well
2025-06-03 08:58:16 -04:00
Jeremy Stretch
357ae44cde
Fixes #19599 : Prevent exception when sorting user's recent activity
2025-06-02 15:14:11 -04:00
mr1716
b62f2347c5
Closes #19611 : Update index.md To Spell Acronym First Time It's Found ( #19614 )
...
* Update index.md To Spell Acronym First Time It's Found
* Update index.md to make lower case
2025-05-30 13:57:22 -05:00
bctiemann
0c6726d40f
Merge pull request #19570 from netbox-community/19490-jinja-template-fails-with-empty-include
...
Fixes #19490 : restores nesting behavior of DataSource-based ConfigTemplate
2025-05-28 09:00:20 -04:00
Jason Novinger
cc099e86e1
Fixes #19520 : restores ability to set Prefix.scope via API ( #19588 )
2025-05-27 10:32:36 -07:00
Alexander Haase
a97b438b7e
Fixes #19530 : Overhaul documentation for plugin views ( #19530 )
2025-05-27 10:07:48 -07:00
Jason Novinger
d7672ab260
Fixes #19490 : restores nesting behavior of DataSource-based ConfigTemplates
...
The ability to render nested templates was accidentally removed with the
implementation of #17653 , which normalized the behavior of various Jinja2
template rendering actions.
This fix restores that behavior while retaining the normalized behavior.
This fix also includes regression tests to ensure this behavior is not
removed accidentally again in the future.
2025-05-23 16:34:22 -05:00
github-actions
b3d318cbe1
Update source translation strings
2025-05-23 05:02:08 +00:00
bctiemann
2804359cdd
Merge pull request #19527 from Omripresent/fix-19496
...
Fixes #19496 : Page error on config render with empty output
2025-05-22 08:09:58 -04:00
bctiemann
e8d08c4d38
Merge pull request #19485 from Omripresent/main
...
Fixes : #19475 - VM Interface VLAN availibility when cluster and VLAN group scope is dcim.location
2025-05-21 20:24:45 -04:00
bctiemann
98d9e7f8d5
Merge pull request #19516 from larsen0815/patch-2
...
Fixes #19502 : Improve upgrade instructions
2025-05-21 17:58:03 -04:00
Jeremy Stretch
51d046b1f5
Closes #19521 : Clean up test suite output ( #19524 )
2025-05-21 09:57:32 -07:00
github-actions
88565e8f68
Update source translation strings
2025-05-20 05:02:15 +00:00
Jason Novinger
a2a8779ebc
Fixes #19415 : Increased Circuit/WirelessLink distance upper limit ( #19495 )
...
* Fixes #19415 : Increased Circuit/WirelessLink absolute distance upper limit
Also adds form validation that provides a useful message to the user
rather than a 500 error with potentially little information.
* Include forgotten migration files
* Remove unnecessary comments
* Remove more unnecessary comments
* Addresses PR feedback
* Gah, remove django migration header comment
* Clean up new has_field_errors mechanism, fix issue with ObjectAttribute
* Address PR feedback, revert changes to render_fieldset template tag
2025-05-19 08:38:30 -04:00
Jason Novinger
03ff535772
Fixes #19510 : Re-adds IPAddressType.assigned filter
2025-05-16 15:30:07 -04:00
Omri Abu
e6d364b250
Initilize error_message to empty string
...
Update template branching for empty template render output
2025-05-16 14:46:43 -04:00
Omripresent
be07f222f6
Merge branch 'netbox-community:main' into main
2025-05-16 14:40:35 -04:00
larsen0815
21f5fe873c
Fixes typo
2025-05-16 15:09:52 +02:00
larsen0815
83dc65acb5
Improve upgrade instructions
2025-05-16 12:19:07 +02:00
github-actions
b6c8502408
Update source translation strings
2025-05-16 05:02:28 +00:00
Aaron
4795fab16f
Fixes #19486 : Fix connection card rendering for Console Server Ports ( #19498 )
...
This fixes a visual anomaly with the console server port details page, where cards are inadvertantly nested inside each other.
2025-05-15 09:40:03 -05:00
github-actions
de2e2b5c82
Update source translation strings
2025-05-15 05:02:17 +00:00
Jeremy Stretch
cf7ab43f39
Closes #19493 : Change filter() to filter_type() ( #19494 )
2025-05-14 08:34:25 -07:00
Renato Almeida de Oliveira
1700a9265c
Closes : #19200 Add Virtual Chassis name to pane on Device View ( #19369 )
2025-05-14 08:28:11 -04:00
Aaron Queen
39b03abe72
Use colored labels when displaying virtual circuit types
2025-05-14 08:03:46 -04:00
github-actions
b497b85665
Update source translation strings
2025-05-14 05:02:15 +00:00
Omri Abu
0d29e5776c
Update get_for_virtualmachine to support lookup by cluster location
...
scope
Update test case to include location scoped cluster
2025-05-13 22:20:54 -04:00
Jeremy Stretch
cbe14b76c0
Release v4.3.1
2025-05-13 15:44:10 -04:00
Jeremy Stretch
3d1334a798
Fixes #19464 : Fix bulk editing of inventory items from device view ( #19477 )
2025-05-13 10:23:02 -07:00
Jeremy Stretch
408550d3c7
Fixes #19463 : Hide button dropdown for tables which do not support saved configs ( #19481 )
2025-05-13 10:22:15 -07:00
bctiemann
6b9b5c4184
Merge pull request #19456 from netbox-community/19444-contact-groups-changelog
...
Fixes #19444 : Fix change logging for contact group assignments
2025-05-13 11:39:59 -04:00
Jeremy Stretch
59dce87ba0
Fixes #19465 : Fix ability to clear assigned prefix scope in UI ( #19479 )
2025-05-13 10:21:06 -05:00
bctiemann
f6a85775d7
Merge pull request #19480 from netbox-community/19472-vdc-device-column
...
Fixes #19472 : Fix device column rendering in virtual device contexts table
2025-05-13 11:12:55 -04:00
Jeremy Stretch
33887e7c69
Fixes #19472 : Fix devie column rendering in virtual device contexts table
2025-05-13 10:46:41 -04:00
github-actions
b57ceca2fd
Update source translation strings
2025-05-13 05:02:09 +00:00
bctiemann
8e13f2a9ec
Merge pull request #19443 from netbox-community/19440-migration-connections
...
Fixes #19440 : Ensure data migrations use the correct database connection
2025-05-12 14:13:31 -04:00
bctiemann
6af4f5d7ee
Merge pull request #19400 from netbox-community/19397-graphql-IPRangeFilter-role
...
Fixes #19397 : Fix filtering IP ranges by role in GraphQL API
2025-05-12 14:05:13 -04:00
bctiemann
6054f8197d
Merge pull request #19418 from netbox-community/19381-script
...
19381 fix data file script sync
2025-05-12 11:32:16 -04:00
github-actions
fc98294812
Update source translation strings
2025-05-10 05:02:10 +00:00
Martin Hauser
4b58678823
feat(dcim): Add 2.5 Gbps and 5 Gbps options to InterfaceSpeedChoices ( #19445 )
...
Extend `InterfaceSpeedChoices` to include 2.5 Gbps and 5 Gbps values.
This improves support for modern interface speeds and enhances API data
validation.
2025-05-09 14:02:30 -05:00
Jeremy Stretch
abeed474f6
Fixes #19444 : Fix changeloggin for contact group assignments
2025-05-09 14:21:02 -04:00
Martin Hauser
d1303f49e6
Fixes #19432 - Update PostgreSQL Version in Programming Error Message ( #19446 )
2025-05-09 07:38:47 -07:00
Martin Hauser
127452f4d5
feat(search): Add search index for tags
...
Introduces a search index for the Tag model to enable global search for
Tags. Includes fields for name, slug, and description with corresponding
weight values. Display attributes are limited to the description field.
Fixes #17073
2025-05-09 08:55:05 -04:00
github-actions
2979067b65
Update source translation strings
2025-05-09 05:02:08 +00:00
Abraham Vegh
6c07aeeded
Add 1000BASE-SX interface type
2025-05-08 15:45:03 -04:00
Jeremy Stretch
76aa255f07
Fixes #19440 : Ensure data migrations use the correct database connection
2025-05-08 14:53:52 -04:00
dianbofa
0c04a8d301
feat(core): Add queue_name parameter to Job.enqueue() method ( #19424 )
2025-05-08 08:39:55 -07:00
Corubba
6665810a6d
Fixes #19361 : Fix wrong graphql field data-types ( #19373 )
2025-05-07 08:29:52 -07:00
Jason Novinger
8baf15771a
Fixes #17107 : Circuit to Provider Network cabling visual bug
2025-05-07 09:28:02 -04:00
github-actions
045417c45c
Update source translation strings
2025-05-07 05:02:11 +00:00
Arthur
aac333a6d4
19381 fix data file script sync
2025-05-06 11:50:02 -07:00
Andrey Tikhonov
145ee11a3f
Fixes #19309 : N+1 problem on /interfaces, /ip-addresses and /prefixes requests ( #19304 )
...
* Fixes N+1 problem on /interfaces, /ip-addresses and /prefixes requests
* remove extra .all()
* more prefetch for IPAddressViewSet
2025-05-06 11:47:44 -05:00
github-actions
94618a9dfb
Update source translation strings
2025-05-06 05:02:20 +00:00
mr1716
21e813cee2
#19404 Deduplicate IP Range API Serializer ( #19405 )
2025-05-05 14:31:12 -05:00
Étienne Brunel
2c014bade5
fix: Set qinq_role allow_null to True
2025-05-05 10:16:05 -04:00
mr1716
b17bfef7e5
Fixes #19370 : Update documentation default values ( #19374 )
...
* Update security.md for default values
* Update plugins.md documentation default formatting
* Tweak punctuation
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-05-05 09:33:59 -04:00
Arthur Hanson
88f7b6508c
19380 call configure on embedded tables ( #19390 )
...
* 19380 call configure on embedded tables
* 19380 call configure on embedded tables
* 19380 call configure on embedded tables
2025-05-05 09:29:32 -04:00
Jeremy Stretch
bd4f1e7d2f
Fixes #19397 : Fix filtering IP ranges by role in GraphQL API
2025-05-05 08:41:46 -04:00
Jeremy Stretch
6e49cee718
Fixes #19376 : Fix FieldDoesNotExist exception when global search results include a contact ( #19389 )
2025-05-02 14:24:08 -05:00
Jeremy Stretch
4868818576
Fixes #19375 : Fix table configuration after applying a saved table config ( #19385 )
2025-05-02 10:13:28 -07:00
Jeremy Stretch
7cd5dc0c84
Closes #19383 : Extend security policy to provide guidance on compliance reporting
2025-05-02 10:20:57 -04:00
github-actions
aea51df06c
Update source translation strings
2025-05-02 05:02:18 +00:00
Jeremy Stretch
c95098c4f0
Merge pull request #19371 from netbox-community/release-v4.3.0
...
Release v4.3.0
2025-05-01 12:44:46 -04:00
Jeremy Stretch
c32d1e637f
Corrected v4.3.0 release notes
2025-05-01 12:24:02 -04:00
Jeremy Stretch
29f0ca6e0d
Release v4.3.0
2025-05-01 10:22:40 -04:00
Jeremy Stretch
64b5867cb3
Merge branch 'main' into feature
2025-05-01 09:45:38 -04:00
github-actions
dd9000919a
Update source translation strings
2025-05-01 05:02:08 +00:00
Jeremy Stretch
e5cdd8f2b0
Release v4.2.9
2025-04-30 14:31:30 -04:00
Jeremy Stretch
6202ae1236
Closes #19358 : Move release info from footer to nav menu ( #19360 )
2025-04-30 10:44:10 -07:00
Jeremy Stretch
15c7a19fb7
Fixes #19365 : Omit plugin icon from page title
2025-04-30 13:14:15 -04:00
Martin Hauser
1141ddb22a
feat(virtualization): Add Q-in-Q SVLAN to VMinterface template ( #19345 )
2025-04-30 08:50:28 -07:00
bctiemann
68e9da5cd9
Merge pull request #19333 from netbox-community/17405-plugin-icons
...
Fixes #17405 : Added plugin icon to plugin list/detail
2025-04-30 10:48:42 -04:00
Jeremy Stretch
22e8de48fc
Upgrade Tabler to v1.2 ( #19355 )
2025-04-30 07:34:26 -07:00
bctiemann
36d71ccdd1
Merge pull request #19251 from netbox-community/17613-columns
...
17613 Add column support for mobile devices
2025-04-30 09:15:20 -04:00
bctiemann
fadc358329
Merge pull request #19357 from netbox-community/17319-device-and-module-type-behind-tabs
...
Fixes #17319 : Arrange device and module type fields behind tab in com…
2025-04-30 09:09:55 -04:00
bctiemann
5274b3d727
Merge pull request #19352 from netbox-community/19351-pin-actions
...
Closes #19351 : Pin 3rd party GitHub actions to commit hash
2025-04-30 09:02:51 -04:00
bctiemann
c0e6168d34
Merge pull request #19347 from netbox-community/19346-redirect-checks
...
Fixes #19346 : Ensure all redirect URLs are validated
2025-04-30 09:01:55 -04:00
github-actions
01da6186eb
Update source translation strings
2025-04-30 05:02:08 +00:00
Markku Leiniö
0466c8ef9b
Closes #19167 : Update REST API examples ( #19353 )
...
* Closes #19167 : Update REST API examples
* Fix missing description
---------
Co-authored-by: Markku Leiniö <markkuleinio@users.noreply.github.com >
2025-04-29 13:31:06 -04:00
Jason Novinger
964ae56d34
Fixes #17319 : Arrange device and module type fields behind tab in component template forms
2025-04-29 12:16:05 -05:00
Jason Novinger
e2e42acf42
Add grayscale image filter
...
Hat tip to @pheus. Thanks!
I did end up leaving the filter function arguments as the Sass
processor complains when you try calling a filter function without
an argument. :/
2025-04-29 11:53:12 -05:00
Jason Novinger
32a4d743ee
Fix KeyError
2025-04-29 11:43:36 -05:00
Jeremy Stretch
5342552054
Fixes #15739 : Account for parallel cables when calculating total path length ( #19356 )
2025-04-29 11:32:43 -05:00
Jeremy Stretch
732f50d8da
Closes #19351 : Pin 3rd party GitHub actions to commit hash
2025-04-29 08:42:52 -04:00
github-actions
48a367c409
Update source translation strings
2025-04-29 05:02:15 +00:00
Jeremy Stretch
ac3c2e2de3
Closes #19348 : Plug the NetBox Cloud Free tier ( #19349 )
2025-04-28 16:28:54 -05:00
Jeremy Stretch
e44ad8af45
Fixes #19346 : Ensure all redirect URLs are validated
2025-04-28 14:27:49 -04:00
Arthur Hanson
81dfaf0d67
18706 Fix VLAN Assignment checking ( #19332 )
...
* 18706 Fix VLAN assignment checking
* 18706 add tests
* 18706 review feedback
2025-04-28 11:45:01 -04:00
Renato Almeida de Oliveira
584fff90c7
Closes #18215 : Create ScriptJobTable from JobTable and add it to ScriptSourceView ( #19337 )
2025-04-28 09:57:48 -05:00
Renato Almeida de Oliveira
e345ca2659
Add VirtualCircuit reference to ProviderView related models ( #19335 )
2025-04-28 07:54:10 -07:00
bctiemann
89fd071f37
Merge pull request #19315 from netbox-community/19270-config-context-device-roles
...
Closes #19270 : Apply config contexts from parent devices roles
2025-04-28 08:57:28 -04:00
bctiemann
a840eaf37d
Merge pull request #19326 from netbox-community/17812-nav-menu-ordering
...
Closes #17812 : Reorder "sites" in the navigation menu
2025-04-28 08:52:06 -04:00
bctiemann
bdef00f3b0
Merge pull request #19310 from netbox-community/15971-preserve-null-filter
...
Fixes #15971 : Preserve 'none' selection in filter form fields
2025-04-28 08:50:32 -04:00
bctiemann
f652dc7bda
Merge pull request #19301 from renatoalmeidaoliveira/19229-cant-unset-a-device-interface-vlan-mode-without-an-error
...
Fixes : #19229 Validade interface mode changes
2025-04-28 08:48:20 -04:00
Arthur Hanson
18ac29fdd0
18334 add location, device, site to module filters ( #19312 )
...
* 18334 add location, device, site to module filters
* 18334 add location, device, site to module filters
* 18334 add tests
* 18334 fix tests
* 18334 add site-group
2025-04-28 08:46:38 -04:00
bctiemann
fdf42860aa
Merge pull request #19282 from netbox-community/19281-fix-service-templates
...
Fixes #19281 : Fix service template creation form
2025-04-28 08:45:53 -04:00
Jason Novinger
b31da39c4a
Fix CSVModelMultipleChoiceField.clean assuming all values are str/None
2025-04-28 08:41:27 -04:00
Jeremy Stretch
0f4afbca2c
Closes #17243 : Include example of image upload using REST API ( #19330 )
2025-04-25 15:33:46 -05:00
Jeremy Stretch
a0006632a7
Closes #19327 : Remove CentOS installation instructions ( #19328 )
2025-04-25 13:05:08 -07:00
Jason Novinger
9173a113b7
Update compiled static files with updated NPM deps
2025-04-25 14:07:03 -05:00
Jason Novinger
afc7b35af0
Added plugin icon to plugin list/detail
2025-04-25 13:50:36 -05:00
Jeremy Stretch
37cfc50202
Fixes #19322 : Correct URL paths for bulk import views ( #19323 )
2025-04-25 12:20:25 -05:00
Jeremy Stretch
41f475a316
Closes #17812 : Reorder "sites" in the navigation menu
2025-04-25 11:37:45 -04:00
Jamie (Bear) Murphy
e8dd486132
adds related object to rack reservation changelogs ( #19306 )
2025-04-25 07:32:18 -07:00
Jeremy Stretch
8bd8f28cb9
Fixes #19296 : Fix logic for determining default selected columns
2025-04-25 08:14:29 -04:00
github-actions
e58815bb1a
Update source translation strings
2025-04-25 05:02:12 +00:00
bctiemann
bee004fc0c
Fixes : #18717 - On delete signal handling, manually save the related object in a ManyToOneRel to trigger a change record ( #19308 )
...
* On delete signal handling, manually save the related object in a ManyToOneRel to trigger a change record
* Only set remote field to None if null=True on the relation
2025-04-24 14:24:20 -05:00
Jeremy Stretch
0f7789c052
Closes #19270 : Apply config contexts from parent devices roles
2025-04-24 15:09:23 -04:00
Jeremy Stretch
e1b2b4b536
Fixes #17676 : Fix support for module bay creation when bulk importing module types ( #19311 )
2025-04-24 11:07:46 -07:00
Daniel Sheppard
f711e666c5
Fixes : #19228 - Fix ordered_scripts to only return ordered list of script objects ( #19293 )
2025-04-24 11:00:40 -07:00
Jeremy Stretch
47da880547
Fixes #15971 : Preserve 'none' selection in filter form fields
2025-04-24 11:42:30 -04:00
mr1716
02f51bc11b
Fixes #19255 : Improved documentation consistency for configuration default values ( #19258 )
2025-04-24 09:57:55 -04:00
Martin Hauser
88dd7a16f8
feat(circuits): Use ColoredLabelColumn for type column
...
Refactors the 'type' column to use ColoredLabelColumn for improved
visual distinction, aligning it with the rack roles display.
Removes the now redundant 'linkify' attribute from the column
definition.
2025-04-24 08:51:42 -04:00
Arthur Hanson
d0c2e0e52b
16238 map custom-link button colors to tabler ( #19290 )
...
* 16238 map custom-link button colors to tabler
* 16238 map custom-link button colors to tabler
* 16238 backout temp code
* 16238 optimize
2025-04-24 08:40:14 -04:00
github-actions
983e544376
Update source translation strings
2025-04-24 05:02:08 +00:00
Renato Almeida de Oliveira Zaroubin
125bce84e4
Validade interface mode changes
2025-04-24 01:47:43 +00:00
Jeremy Stretch
fbf926204e
Fixes #19204 : Use DjangoJSONEncoder for Job data ( #19297 )
2025-04-23 15:57:48 -05:00
Jeremy Stretch
d005c470c9
Release v4.3.0-beta2
2025-04-23 14:41:46 -04:00
Arthur Hanson
0ce307c7fd
19217 debug toolbar ( #19289 )
...
* 19217 update and re-add django-debug-toolbar to INSTALLED_APPS
* 19217 remove debug if not collectstatic
2025-04-23 13:21:59 -05:00
Jeremy Stretch
6c60a4360b
Fixes #19279 : Fix missing status field for inventory item bulk creation ( #19283 )
2025-04-23 10:49:22 -07:00
Jeremy Stretch
a83dfff736
Fixes #19264 : Support table configs on child object list views ( #19284 )
...
* Fixes #19264 : Support table configs on child object list views
* Clear assigned table config when resetting the configuration
2025-04-23 12:43:25 -05:00
Jeremy Stretch
dfd788c643
Fixes #19263 : Render action buttons only if the record model matches the table model ( #19287 )
2025-04-23 09:38:11 -05:00
Artem Kotik
2c3fe9700f
Fixes #19110 : Add filters by IP addresses to PrimaryIPFilterSet ( #19160 )
...
* Add primary ip filters by address
* Add tests for Device and VirtualDeviceContext models
2025-04-23 09:14:33 -05:00
bctiemann
5b86d5d52a
Merge pull request #19272 from netbox-community/19266-fix-ip-copy-button
...
Fixes #19266 : Fix copy-to-clipboard button for IP addresses
2025-04-23 08:51:39 -04:00
Jeremy Stretch
deaff2dad8
Fixes #19281 : Fix service template creation form
2025-04-23 08:47:54 -04:00
github-actions
cd3d91e7c7
Update source translation strings
2025-04-23 05:02:11 +00:00
Jeremy Stretch
6c7a0cf2b2
Merge branch 'main' into feature
2025-04-22 16:36:17 -04:00
Jeremy Stretch
d2e74e9d50
Release v4.2.8
2025-04-22 15:44:02 -04:00
Jeremy Stretch
e31b42d132
Fixes #19266 : Fix copy-to-clipboard button for IP addresses
2025-04-22 14:44:26 -04:00
bctiemann
02571130b2
Merge pull request #19259 from netbox-community/18961-vc-create-ignore-vc-members
...
Fixes #18961 : Virtual chassis form should exclude members of other VCs when adding members
2025-04-22 14:36:12 -04:00
Jeremy Stretch
46a3ce2559
Fixes #19268 : Restore editing conflict protection for several object forms ( #19271 )
2025-04-22 11:07:03 -07:00
Jeremy Stretch
1850c21714
Fixes #19265 : Strip linebreaks from URLs for logging
2025-04-22 12:48:57 -04:00
Jeremy Stretch
13ddd5fd20
Fixes #19230 : Allow label reuse when creating multiple components from a pattern ( #19261 )
2025-04-22 08:55:31 -07:00
Jeremy Stretch
60cdf89cad
Fixes #19166 : Fix bulk import support for base_choices ( #19257 )
2025-04-22 08:29:00 -07:00
Jeremy Stretch
77bfc40579
Closes #17136 : Add read-only database support to the upgrade script ( #19247 )
2025-04-22 07:42:54 -07:00
Jeremy Stretch
2f8936d493
Fixes #18961 : Virtual chassis form should exclude members of other VCs when adding members
2025-04-22 10:24:43 -04:00
bctiemann
e0b6a31504
Merge pull request #19256 from netbox-community/18959-cable-trace-terminations-ordering
...
Fixes #18959 : Preserve ordering of terminations in cable traces
2025-04-22 10:08:13 -04:00
Jeremy Stretch
8567aa96e4
Remove obsolete comment
2025-04-22 09:42:17 -04:00
bctiemann
cbcd91bf6b
Merge pull request #19236 from netbox-community/19224-graphql-choices
...
Fixes #19224 : Fix GraphQL API support for custom field choices
2025-04-22 09:35:55 -04:00
bctiemann
b8805c93b1
Merge pull request #19238 from netbox-community/19225-graphql-filters
...
Fixes #19225 : Extend GraphQL filters
2025-04-22 09:32:28 -04:00
Jeremy Stretch
459c4bfd9d
Fixes #18959 : Preserve ordering of terminations in cable traces
2025-04-22 09:21:14 -04:00
Jeremy Stretch
918470a2bb
Closes #19208 : Ignore beta releases when fetching latest release tag
2025-04-22 08:18:23 -04:00
Arthur
c73cc0a36a
18500 fix check for cloning mixin
2025-04-22 08:14:32 -04:00
Renato Almeida de Oliveira Zaroubin
6b9b66aecb
make INTERFACE_FHRPGROUPS use FHRPGROUPS _str_ representation
2025-04-22 08:06:24 -04:00
github-actions
b6d10ae6d8
Update source translation strings
2025-04-22 05:02:08 +00:00
Arthur
79ece657ec
17613 Add column support for mobile devices
2025-04-21 11:52:19 -07:00
Arthur
717b9d5232
17613 Add column support for mobile devices
2025-04-21 11:41:56 -07:00
Arthur
0fa98d3aef
17613 Add column support for mobile devices
2025-04-21 11:02:56 -07:00
Renato Almeida de Oliveira
7420c25687
Fixes : #18881 Site Groups are missing VLAN and VM related objects ( #18932 )
2025-04-21 09:11:01 -07:00
Jeremy Stretch
5121122350
Add missing GraphQL filters
2025-04-18 13:13:43 -04:00
Jeremy Stretch
66064be9a5
Extend filters for circuit terminations
2025-04-17 16:52:51 -04:00
Jeremy Stretch
4455c2c7dc
Fixes #19224 : Fix GraphQL API support for custom field choices
2025-04-17 12:22:14 -04:00
Jeremy Stretch
24d4847dc5
Fixes #19213 : Fix dropdown field rendering by reverting to Tabler v1.0 ( #19232 )
2025-04-17 07:29:40 -07:00
github-actions
248c94bd35
Update source translation strings
2025-04-16 05:02:15 +00:00
bctiemann
96cf8d14dc
Merge pull request #19194 from netbox-community/17908-cable-trace-buttons
...
Closes #17908 : Add trace buttons to terminations under cable view
2025-04-15 18:13:59 -04:00
bctiemann
2356a3c125
Merge pull request #19162 from alehaa/19040-copy-rendered-config
...
Fixes #19040 : Add button to copy rendered config to clipboard
2025-04-15 18:00:47 -04:00
bctiemann
0d81007fdf
Merge pull request #19178 from netbox-community/19139-tx-force-pull
...
Closes #19139 : Use --force when invoking tx pull
2025-04-15 17:59:58 -04:00
atownson
c108c738ae
Fixes #18669 - Populate custom field default values ( #19115 )
2025-04-15 13:26:03 -07:00
Martin Hauser
cac41cd093
Fixes #19196 : Add Filtering by VLAN Translation Policy to Interface Filter Forms ( #19199 )
...
* feat(dcim): Add VLAN Translation Policy to Filter Form
Introduces support for VLAN Translation Policies in the Interface
Filter Form.
* feat(virtualization): Add VLAN Translation Policy to Filter Form
Introduces support for VLAN Translation Policies in the Interface
Filter Form.
2025-04-15 16:24:45 -04:00
Jeremy Stretch
27b26ec49c
Fixes #19195 : Language cookie should respect SESSION_COOKIE_SECURE value ( #19197 )
2025-04-15 13:03:33 -07:00
Jeremy Stretch
7c2776d721
Closes #19201 : Include TS source with sourcemap ( #19202 )
2025-04-15 14:42:40 -05:00
Martin Hauser
1f93471659
Fixes #18978 - Allow filtering of Interfaces in the GUI by 802.1Q Mode ( #19183 )
...
* feat(dcim): Add VLAN mode filter to CommonInterface
Introduces a new FilterSet for VLAN mode in CommonInterfaceFilterSet.
This allows filtering interfaces based on their VLAN mode using defined
choices.
* feat(dcim): Add VLAN mode filter to Interface FilterForm
Add a field to InterfaceFilterSet to filter interfaces by 802.1Q VLAN
mode.
* feat(virtualization): Add VLAN mode filter to VMInterface
Add a field to VMInterfaceFilterSet to filter interfaces by 802.1Q VLAN
mode.
* fix(dcim): Correct mode filter parameter type in tests
Updates the `mode` filter parameter to accept a list instead of a single
value in `test_filtersets.py`. Ensures proper count assertion for
accurate test behavior.
* feat(virtualization): Add tests for VLAN mode filtering
Introduces tests to validate filtering by `mode` for VMInterface.
Ensures correct filtering for 802.1Q VLAN mode.
* refactor(virtualization): Reorganize FieldSets in FilterSets
Splits the 'Attributes' FieldSet into two distinct FieldSets for better
clarity: 'Attributes' and 'Addressing'. This improves form organization
and makes it more intuitive for users.
2025-04-15 13:47:51 -04:00
Jeremy Stretch
d3768feb31
Closes #17908 : Add trace buttons to terminations under cable view
2025-04-15 11:41:00 -04:00
Jeremy Stretch
70cc7c7563
Fixes #19169 : Remove horizontal padding from highlighted text ( #19181 )
2025-04-15 07:13:58 -07:00
Jeremy Stretch
8b091fb219
Fixes #19189 : BaseScript.load_yaml() should use SafeLoader ( #19190 )
2025-04-15 08:58:13 -05:00
Martin Hauser
44cb1a9139
Fixes #19056 – Add Device filtering by Location slug ( #19180 )
...
* feat(dcim): Add filter by location slug for Device
Introduces a TreeNodeMultipleChoiceFilter for filtering locations by
slug. Enhances filtering flexibility in the Device model by supporting
both ID and slug lookups.
Fixes #19056
* feat(dcim): Add Device filtering by location slug in tests
Extend test cases to include filtering by location slug. Ensures the
FilterSet works correctly with slug-based queries for locations.
Fixes #19056
2025-04-15 08:22:59 -04:00
Martin Hauser
bb9b0b8f8a
Fixes #18879 - Add prefix filtering by assigned VLAN Group ( #19182 )
...
* feat(ipam): Add VLAN group filters to IPAM FilterSet
Introduces filters for VLAN groups using both ID and slug fields.
* feat(ipam): Add VLAN group filter in IPAM FilterForm
Introduces a `vlan_group_id` filter to IPAM forms for filtering based on
VLAN groups.
* feat(ipam): Add VLAN group filtering to tests
Introduces tests for VLAN group filtering in FilterSets. This ensures
correct validation and behavior when filtering by VLAN group.
2025-04-15 07:59:32 -04:00
github-actions
785ad505ba
Update source translation strings
2025-04-15 05:02:10 +00:00
Jeremy Stretch
8aacef60a3
Closes #19175 : Remove outdated NetBox installation video ( #19177 )
2025-04-14 15:14:59 -05:00
Jeremy Stretch
d8fc052bbe
Closes #19139 : Use --force when invoking tx pull
2025-04-14 15:55:08 -04:00
Renato Almeida de Oliveira Zaroubin
1f79411878
Add GetRelatedModelsMixin to ClusterView
2025-04-14 15:39:49 -04:00
Jeremy Stretch
7375042f9e
Release v4.3-beta1 ( #19172 )
...
* Draft changelog for v4.3 release
* Add release notes summary & nav link
* Docs cleanup
* Update Python dependencies
* Update static assets
* Revert errant change to schema
* Fix minimum PostgreSQL version
* Misc cleanup
* Correct issue numbers in change log
2025-04-14 15:12:47 -04:00
bctiemann
186545e45f
Remove #18095 from v4.2.5 release notes ( #19165 )
2025-04-14 13:56:37 -04:00
Jeremy Stretch
31565de93f
Fixes #19173 : Fix heading text on table config form ( #19174 )
2025-04-14 10:14:10 -07:00
bctiemann
7abce9031b
Merge pull request #19170 from netbox-community/18287-last_sync-column
...
#18287 : Add a `last_synced` table column
2025-04-14 11:26:40 -04:00
bctiemann
94d19e8f15
Remove #18095 from v4.2.5 release notes ( #19165 )
2025-04-14 07:26:37 -07:00
Jeremy Stretch
13c6602ea8
#17653 : Style JSON data for config & export templates ( #19171 )
2025-04-14 07:25:55 -07:00
Jeremy Stretch
3444dc503d
#19002 : Display boolean attributes as checkmarks ( #19168 )
2025-04-14 07:57:15 -05:00
Jeremy Stretch
b7740b947a
#18287 : Add a last_synced table column
2025-04-14 08:48:20 -04:00
Alexander Haase
f337ef1134
Add button to copy rendered config
2025-04-13 18:02:21 +02:00
Jeremy Stretch
d55f02b25f
#14591 , #17841 : Adjust default weighting ( #19155 )
...
* #14591 , #17841 : Adjust default weighting
* Fix tests
2025-04-11 14:27:55 -05:00
Arthur
978b5b0ed6
17170 ContactGroup Serializer nested and fix related objects
2025-04-11 15:13:40 -04:00
Arthur
021114071c
17608 L2VPNSerializer Status should be ChoiceField
2025-04-11 14:42:34 -04:00
Arthur
693543f0b2
18352 power outlet choicefield for API serializer
2025-04-11 13:25:46 -04:00
Arthur
811dd949a3
19073 fix display of installed plugins
2025-04-11 13:23:16 -04:00
Jeremy Stretch
5d7ed871f2
Fixes : #18783 Add a tag_id filter for all models which support tagging ( #18889 ) ( #19142 )
2025-04-11 09:26:46 -07:00
Jason Novinger
f96df73093
Closes #8423 : Allow assigning Service to FHRP Group, in addition to Device and VirtualMachine ( #19005 )
2025-04-11 07:27:31 -07:00
Jeremy Stretch
6ed41f6680
Fixes #18955 : Include the "clear" button only for non-required dropdown fields ( #18971 )
...
* Include the 'clear' button only for non-required fields
* Apply the 'required' attribute for mandatory <select> fields
* Recompile static assets
2025-04-11 08:20:24 -04:00
github-actions
28e62d21a9
Update source translation strings
2025-04-11 05:02:06 +00:00
Jeremy Stretch
fc0acb020f
Merge main into feature
2025-04-10 17:17:21 -04:00
Jeremy Stretch
bb5057c063
Closes #14591 : Saved table configurations ( #19101 )
...
* Add SavedTableConfig
* Update table configuration logic to support TableConfigs
* Update table config link when updating table
* Correct docstring
* Misc cleanup
* Use multi-select widgets for column selection
* Return null config params for tables with no model
* Fix auto-selection of selected columns
* Update migration
* Clean up template
* Enforce enabled/shared flags
* Search/filter by table name
* Misc cleanup
* Fix population of selected columns
* Ordering field should not be required
* Enable cloning for TableConfig
* Misc cleanup
* Add model documentation for TableConfig
* Drop slug field from TableConfig
* Improve TableConfig validation
* Remove add button from TableConfig list view
* Fix ordering validation to account for leading hyphens
2025-04-10 15:48:02 -05:00
Jeremy Stretch
03f3f5c957
Release v4.2.7
2025-04-10 16:07:24 -04:00
Jeremy Stretch
fe7fb94e44
Revert "Fixes: #18783 Add a tag_id filter for all models which support taggin…"
...
This reverts commit 9a1d9365cd .
2025-04-10 15:42:26 -04:00
github-actions
82b9e4ca26
Update source translation strings
2025-04-10 05:02:11 +00:00
Jeremy Stretch
457fb977a7
Fixes #19122 : Fix styling of the server error (500) page ( #19126 )
2025-04-09 14:57:25 -07:00
Jeremy Stretch
13c20957a6
Closes #18652 : Run housekeeping GitHub actions only on the main repository ( #19125 )
2025-04-09 16:28:00 -05:00
Jason Novinger
30208549ba
Fixes #19092 : scope type selection lost when editing multiple/all objects ( #19102 )
2025-04-09 14:55:41 -04:00
Jeremy Stretch
f8f2ad1d14
Closed #9763 : Treat IP ranges as fully populated ( #19064 )
2025-04-09 07:30:11 -07:00
Arthur Hanson
076d16ca6b
19073 allow plugins to be marked as hidden or disabled in plugins table ( #19087 )
...
* 19073 allow plugins to be marked as hidden or disabled in plugins table
* 19073 allow plugins to be marked as hidden or disabled in plugins table
* 19073 allow plugins to be marked as hidden or disabled in plugins table
* 19073 review changes
* Rename 'unlinked' to 'static' & update docs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-04-09 08:02:38 -04:00
atownson
bf286df670
Fixes #19030 - Update z-index of floating buttons ( #19118 )
...
* Increase z-index of form floating buttons
* Update netbox.css
2025-04-08 16:02:08 -05:00
Jeremy Stretch
2be257db48
Closes #19112 : Configure ruff to target Python 3.10 ( #19113 )
2025-04-08 09:46:31 -05:00
Renato Almeida de Oliveira
fbd6d8c7fc
Closes #17653 : Add function to trim whitespaces in export templates via jinja environment settings ( #19078 )
...
* Create RenderMixin, and unify template_code rendering and exporting
* Join migrations
* Add DEFAULT_MIME_TE constant
* Move RenderMixin to extras.models.mixins, Rename RenderMixin to RenderTemplateMixin
* Add render_jinja2 to __all__
* Rename ConfigTemplateFilterForm rendering FieldSet
* ConfigTemplate lint
* Simplify ExportTemplate get_context
* Fix table order, and add fields for translations
* Update Serializers
* Update forms, tables, graphQL, API
* Add extra tests for ConfigTemplate and ExportTemplate
* Documentation update
* Fix typo
* Misc cleanup
* Clean up template layouts
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-04-08 10:37:15 -04:00
bctiemann
3902cab925
Merge pull request #19070 from netbox-community/17166-remove-limit_choices_to
...
Closes #17166 : Remove obsolete `limit_choices_to` argument from ForeignKey & M2M fields
2025-04-07 14:10:05 -04:00
bctiemann
2207ea1a32
Merge pull request #19046 from pheus/docs/18733-add-version-requirements-matrix
...
Fixes #18733 : Add Dependency Version Matrix for NetBox Versions to the Upgrade Documentation
2025-04-07 14:01:54 -04:00
Martin Hauser
10e1ae8292
docs(release): Update Dependency Requirements Matrix header
...
Renames the "Adopt the Dependency Requirements Matrix" section to
"Update the Dependency Requirements Matrix" for clarity.
2025-04-07 17:17:26 +02:00
Martin Hauser
f8f5ab8d61
docs(release): Correct formatting in release checklist
2025-04-07 16:55:23 +02:00
bctiemann
eee932a6a5
Merge pull request #19075 from netbox-community/19004-deprecate-inventory-items
...
Closes #19004 : Mark inventory items as deprecated in the documentation
2025-04-07 10:29:19 -04:00
bctiemann
ff26f4302c
Merge pull request #19084 from netbox-community/19083-django-52
...
Closes #19083 : Upgrade Django to v5.2.0
2025-04-07 10:28:04 -04:00
github-actions
92317248a3
Update source translation strings
2025-04-05 05:02:12 +00:00
Jeremy Stretch
426e6439e3
Fixes #18553 : Update site for VMs only if cluster has a site assigned ( #19086 )
2025-04-04 10:58:06 -07:00
Jeremy Stretch
621b29cd71
Closes #19035 : Move the registration of core event types to the app config ( #19088 )
2025-04-04 11:18:42 -05:00
Jeremy Stretch
5e44e49a8a
Closes #18236 : Upgrade to HTMX v2.0 ( #19077 )
2025-04-04 09:16:13 -05:00
Jeremy Stretch
e252cc3ce1
Closes #19083 : Upgrade Django to v5.2.0
2025-04-04 09:39:04 -04:00
Jeremy Stretch
092769da7e
Closes #16058 : Fix circular import involving register_model_view() ( #19076 )
2025-04-03 19:09:04 -07:00
Jeremy Stretch
67480dcf4f
Closes #18191 : Remove duplicate SQL indexes ( #19074 )
...
* Closes #18191 : Remove redundant SQL indexes
* Update developer documentation
* Add a system check for duplicate indexes
2025-04-03 15:16:57 -05:00
Jeremy Stretch
d44012963f
Closes #19004 : Mark inventory items as deprecated in the documentation
2025-04-03 14:49:54 -04:00
Jeremy Stretch
d93d398afa
Closes #17166 : Remove obsolete limit_choices_to argument from ForeignKey & M2M fields
2025-04-03 09:17:20 -04:00
github-actions
8f5d273f08
Update source translation strings
2025-04-03 05:02:01 +00:00
Martin Hauser
45779a24a4
docs(release): Update checklist with dependency requirements
...
Add steps to update the dependency requirements matrix for each minor
release in the release checklist. Clarify how to document changes for
system requirements and linked installation guides.
Fixes #18733
2025-04-02 21:41:36 +02:00
Martin Hauser
f17bbe610e
Fixes #19041 : Call super().clean() in FrontPortCreateForm ( #19051 )
...
* fix(forms): Call super().clean() in clean methods
Adds a call to super().clean() in the clean methods of object creation
forms. This ensures base class validation logic is executed properly
before custom logic is applied.
Fixes #19041
* test(forms): Add tests for front port form validation
Introduces unit tests for validating FrontPortCreateForm behavior.
Tests include scenarios for matching and mismatched name-label pairs
to ensure proper form validation logic.
Fixes #19041
* Omit errant print statement
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-04-02 08:29:21 -04:00
Jeremy Stretch
6a966ee6c1
Closes #18785 : Allow for custom rack/device/module airflow choices ( #19054 )
2025-04-01 14:06:23 -07:00
Jeremy Stretch
a00144026b
Closes #16630 : Enable plugins to embed custom <head> content ( #19055 )
2025-04-01 14:09:49 -05:00
Jeremy Stretch
8d7889e2c0
Closes #19002 : Module type profiles ( #19014 )
...
* Move Module & ModuleType models to a separate file
* Add ModuleTypeProfile & related fields
* Initial work on JSON schema validation
* Add attributes property on ModuleType
* Introduce MultipleOfValidator
* Introduce JSONSchemaProperty
* Enable dynamic form field rendering
* Misc cleanup
* Fix migration conflict
* Ensure deterministic ordering of attriubte fields
* Support choices & default values
* Include module type attributes on module view
* Enable modifying individual attributes via REST API
* Enable filtering by attribute values
* Add documentation & tests
* Schema should be optional
* Include attributes column for profiles
* Profile is nullable
* Include some initial profiles to be installed via migration
* Fix migrations conflict
* Fix filterset test
* Misc cleanup
* Fixes #19023 : get_field_value() should respect null values in bound forms (#19024 )
* Skip filters which do not specify a JSON-serializable value
* Fix handling of array item types
* Fix initial data in schema field during bulk edit
* Implement sanity checking for JSON schema definitions
* Fall back to filtering by string value
2025-04-01 12:05:06 -05:00
bctiemann
bad820001d
Merge pull request #19015 from netbox-community/18738-script-list-ignoring-script-order
...
Fixes #18738 : Ensure ScriptList respects script_order option
2025-04-01 10:09:39 -04:00
Renato Almeida de Oliveira
864db469ba
Fixes : #18305 make contacts mixin available for plugins ( #19029 )
2025-04-01 09:03:25 -04:00
Martin Hauser
a5106b858d
docs(upgrading): Add dependency matrix for NetBox versions
...
Adds a dependency matrix to the upgrade guide, detailing supported
Python, PostgreSQL, and Redis versions for each NetBox release. This
helps users verify compatibility before upgrading.
Fixes #18733
2025-04-01 07:23:42 +02:00
github-actions
bbd5e9cab9
Update source translation strings
2025-04-01 05:02:06 +00:00
bctiemann
12231ad71a
Merge pull request #18997 from antoinekh/18964_fix_bulk_edit_all
...
Fixes #18964 Select all with bulk edit only changes the currently visible objects
2025-03-31 18:36:04 -04:00
Jeremy Stretch
88ef9ecfa3
Fixes #19023 : get_field_value() should respect null values in bound forms ( #19024 )
2025-03-31 16:34:46 -05:00
github-actions
6f78b3d0cd
Update source translation strings
2025-03-29 05:02:03 +00:00
Arthur Hanson
1508e3a770
Fixes #18245 : Make DeviceRole Hierarchical ( #19008 )
...
Made DeviceRoles hierarchical, had to also change the filtersets for Device, ConfigContext and VirtualMachine to use the TreeNodeMultipleChoiceFilter.
Note: The model was changed to use NestedGroupModel, a side-effect of this is it also adds comments field, but I thought that was better then doing a one-off just for DeviceRole and having to define the fields, validators, etc.. - keeps everything DRY / consistent.
* 18981 Make Device Roles Hierarchical
* 18981 forms, serializer
* 18981 fix tests
* 18981 fix tests
* 18981 fix tests
* 18981 fix tests
* 18981 fix tests
* 18981 fix migration merge
* 18981 fix tests
* 18981 fix filtersets
* 18981 fix tests
* 18981 comments
* 18981 review changes
2025-03-28 14:32:02 -05:00
Jason Novinger
d3f42deb32
Fixes #18895 : Allows VirtualCircuitTerminations as Interface connected_endpoints ( #19027 )
2025-03-28 08:58:09 -07:00
Jason Novinger
db4fb8f406
Fixes #18999 : Allow GraphQL to represent inventory items with no set manufacturar ( #19016 )
2025-03-28 07:57:56 -07:00
ZPrimed
5b8eaced1a
Update choices.py - add MoCA (Coaxial)
2025-03-28 08:45:04 -04:00
github-actions
ada0c7f687
Update source translation strings
2025-03-28 05:02:14 +00:00
Jeremy Stretch
b750d0dff2
Fixes #19021 : Ensure consistent styling for JSON form fields ( #19022 )
2025-03-27 08:58:37 -05:00
Jason Novinger
e1e514251e
Fixes #18965 : Ensure script list run buttons respect scripts' commit_default option ( #19013 )
...
* Fixes #18965 : Script list run buttons respect scripts' commit_default
* Cleanup script .Meta access in template
2025-03-27 08:39:50 -04:00
Renato Almeida de Oliveira
7d80a45bf8
Fixes : #16144 GetReturnURLMixin Support for Plugin Views ( #18996 )
...
* Add plugin support to GetReturnURLMixin
* use get_viewname instead of resolving the name
2025-03-27 08:33:09 -04:00
github-actions
09854a3d54
Update source translation strings
2025-03-27 05:02:15 +00:00
Jason Novinger
39a96ddf3a
Fixes #18738 : Ensure ScriptList respects script_order option
2025-03-26 15:35:06 -05:00
atownson
be26f86b62
Added advanced object selector to custom field object and multi-object inputs ( #18830 )
2025-03-26 10:42:45 -07:00
Jason Novinger
fd2bcda8b8
Fixes #18991 : AttributeError: NoneType object has not attribute model ( #19006 )
2025-03-26 10:12:45 -07:00
Arthur Hanson
7a71c7b8f8
18417 Add outer_height to racks ( #18940 )
...
* 18417 add rack outer height
* 18417 add rack outer height
* 18417 fix tests
* 18417 fix validation message
* Update netbox/dcim/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/models/racks.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/models/racks.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/models/racks.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/models/racks.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* 16224 review changes
* 16224 review changes
* 16224 update table display
* 18417 use TemplateColumn
* 18417 review changes
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-03-26 08:42:13 -04:00
github-actions
817d7efee3
Update source translation strings
2025-03-26 05:03:20 +00:00
Renato Almeida de Oliveira
9a1d9365cd
Fixes : #18783 Add a tag_id filter for all models which support tagging ( #18889 )
2025-03-25 08:06:22 -07:00
Antoine Keranflec'h
ada4a4b93c
fix #18964 reinsert else condition
2025-03-25 08:22:59 +00:00
github-actions
64a98fd87f
Update source translation strings
2025-03-25 05:02:04 +00:00
Arthur Hanson
bd8e00a935
18904 add tags to config context table ( #18938 )
...
* 18904 add tags to config context table
* 18904 tag to correct table
2025-03-24 17:02:36 -04:00
Jeremy Stretch
af5a600583
Closes #18980 : Optimize update of object data when adding/removing custom fields ( #18983 )
...
* Employ native PostgreSQL functions for updating object JSON data when adding/removing custom fields
* Optimize rename_object_data()
* remove_stale_data() should validate model class
2025-03-24 12:02:54 -05:00
github-actions
8ab73501d1
Update source translation strings
2025-03-22 05:02:10 +00:00
Renato Almeida de Oliveira
447e108d97
Fixes : #18656 Unable to import IP Address and assign to FHRP Group ( #18950 )
...
* Add fhrpgroup to IPAddressImportForm
* Change fhrpgroup accessor to name
* rename fhrpgroup to fhrp_group
* Add fhrp_group to IPAddressTestCase csv_data
2025-03-21 16:44:10 -05:00
bctiemann
e186113cb3
Merge pull request #18986 from netbox-community/release-v4.2.6
...
Release v4.2.6
2025-03-21 17:17:50 -04:00
Jason Novinger
40452ead62
Cleanup release notes
2025-03-21 16:03:34 -05:00
Jason Novinger
34d80beaa2
Release v4.2.6
2025-03-21 15:49:20 -05:00
Yi
b1d014b520
Fixes #18949 : Add missing GraphQL ContactsMixin in types with ContactAssignments
2025-03-21 13:00:50 -05:00
github-actions
7db0765ed2
Update source translation strings
2025-03-21 05:02:02 +00:00
Jason Novinger
b8cc2d7116
Fixes #18887 : Allows VMInterface object custom field on Prefix ( #18945 )
2025-03-20 13:55:12 -07:00
Arthur Hanson
fe7cc8cae9
Closes #16224 GraphQL Pagination ( #18903 )
...
* 16244 add pagination
* 16244 add pagination
* 16244 fix order_by pagination
* 16224 document pagination
* 16224 remove extraneous code
* 16224 missing core types
* 16224 review changes
* 16224 review changes
* 16224 review changes
2025-03-20 15:00:14 -05:00
Renato Almeida de Oliveira
d332a0c0d7
Fix sitegroup typo, VLANGroupFilterForm field didn't match between form and filterset ( #18947 )
2025-03-20 11:30:39 -05:00
Jason Novinger
80440fd025
Fixes #17443 : Adds ExportTemplate.file_name field ( #18911 )
...
* Fixes #17443 : Adds ExportTemplate.file_name field
* Addresses PR feedback
- Adds `file_name` to `ExportTemplateBulkEditForm.nullable_fields`
- Shortens max length of `ExportTemplate.file_name` to 200 chars
- Adds tests for `ExportTemplateFilterSet.file_extension`
* Fixes migration conflict caused by fix for #17841
2025-03-20 09:17:56 -04:00
Jason Novinger
f07e2dd4e2
Fixes #18944 : Clearing widget type field no longer causes 500 error ( #18946 )
...
* Fixes #18944 : Clearing widget type field no longer causes 500 error
* Address PR feedback, cleanup implementation
2025-03-20 09:12:05 -04:00
Renato Almeida de Oliveira
d7b9b09d56
Fixes : #18939 Allow ASN search by site-group ( #18948 )
...
* Add site_group and site_group_id to ASNFilterSet and ASNFilterForm
* Implement ASNTestCase site_group test case
2025-03-20 09:07:48 -04:00
github-actions
9da4cf31ab
Update source translation strings
2025-03-20 05:02:02 +00:00
Jason Novinger
6b7d23d684
Closes #17841 Allows Tags to be displayed in specified order ( #18930 )
2025-03-19 10:17:35 -07:00
Jeremy Stretch
d25605c261
Closes #18751 : Set the default value of ALLOW_TOKEN_RETRIEVAL to False ( #18943 )
...
* Closes #18751 : Set the default value of ALLOW_TOKEN_RETRIEVAL to False
* Enable token retrieval during testing
2025-03-19 09:40:54 -05:00
bctiemann
958dcca8d6
Fix migration conflict in tenancy ( #18957 )
2025-03-19 09:38:10 -05:00
Renato Almeida de Oliveira
bf1a9a6e2d
Fixes : #18833 Inventory Item Bulk Import - 'InventoryItemImportForm' has no field named 'component_id'. ( #18874 )
...
* Refactor InventoryItemImportForm clean method
* Add super().clean(); renamed content_type; simplified component creation
* Fix missing component_name issue
* Update netbox/dcim/forms/bulk_import.py
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-03-19 09:56:42 -04:00
bctiemann
c50b1c989d
Merge pull request #18929 from netbox-community/18928-housekeeping-changelog-cleanup
...
Fixes #18928 : Fix support for cascading deletions when cleaning up expired changelog records
2025-03-19 09:51:11 -04:00
bctiemann
cd10087b2b
Merge pull request #18859 from netbox-community/17602-comments-field-for-nested-models
...
Closes #17602 : adds comments field to NestedGroupModel children
2025-03-19 09:50:11 -04:00
bctiemann
79b0c0f5d6
Merge pull request #18901 from netbox-community/18872-JournalEntry-kind-required
...
Fixes #18872 : JournalEntry `kind` is a required field
2025-03-19 09:40:55 -04:00
github-actions
43840e6a72
Update source translation strings
2025-03-19 05:02:13 +00:00
bctiemann
7c152e9234
Merge pull request #18854 from netbox-community/18782-dashboard-broken-on-notification-list-widget
...
Fixes #18782 : Misconfigured `ObjectListWidget`s now degrade gracefully
2025-03-18 14:45:23 -04:00
Arthur Hanson
af5ec19430
17170 Add ability to add contacts to multiple contact groups ( #18885 )
...
* 17170 Allow multiple Group assignments for Contacts
* 17170 update docs
* 17170 update api, detail view, graphql
* 17170 fixes
* 17170 fixes
* 17170 fixes
* 17170 fixes
* 17170 fixes
* 17170 fixes
* 17170 fix bulk import
* 17170 test fixes
* 17170 test fixes
* 17170 test fixes
* 17178 review changes
* 17178 review changes
* 17178 review changes
* 17178 review changes
* 17178 review changes
* 17178 review changes
* 17170 update migration
* 17170 bulk edit form
2025-03-18 14:05:02 -04:00
Jason Novinger
d7709a2a55
Fixes #18926 : Uses correct icon for base GitHub auth
2025-03-18 08:48:27 -04:00
github-actions
dce694afa9
Update source translation strings
2025-03-18 05:02:07 +00:00
Jeremy Stretch
c5801f9881
Fixes #18928 : Fix support for cascading deletions when cleaning up expired changelog records
2025-03-17 14:16:55 -04:00
Jeremy Stretch
d4f8cb72aa
Closes #18780 : External database configuration ( #18912 )
2025-03-17 10:23:37 -07:00
bctiemann
f69de12c6d
Closes : #15842 - Option to hide local login form if SSO is in use ( #18924 )
...
Closes : #15842
Branched from #18145 by @tobiasge
Provides a new LOGIN_FORM_HIDDEN setting which allows the administrator to hide the local login form, intended only to be used when SSO is used exclusively for authentication. Note that this means local login will be impossible in the event of SSO provider issues, and can be remedied only through a change to the application config and a restart of the service.
* #15842 - Hide login form
This doesn't implement the full solution proposed in #15842 but enables
administrators to hide the login form when users should only login with a SSO
provider. To prevent a complete lockout when the SSO provider is having
issues the GET parameter `skipsso` can be added to the login URL to show
the form regardless.
* Remove skipsso backdoor
* Add warning
---------
Co-authored-by: Tobias Genannt <tobias.genannt@qbeyond.de >
2025-03-17 12:02:18 -05:00
Jeremy Stretch
f86647dc28
Fixes #18884 : Handle tag assignments manually within deserialize_object ( #18908 )
2025-03-17 08:43:08 -07:00
Benjamin Dale
0094703609
Closes #18816:Add FC/UPC, FC/APC and FC/PC port types ( #18913 )
...
* Closes #18816:Add FC/UPC, FC/APC and FC/PC port types
* Remove release note
---------
Co-authored-by: Ben Dale <7621213-ben_dale@users.noreply.gitlab.com >
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-03-17 10:39:28 -04:00
Arthur Hanson
1b4e00aeda
18896 Replace STORAGE_BACKEND with STORAGES and support Script running from S3 ( #18680 )
2025-03-17 07:36:34 -07:00
Jeremy Stretch
ffe035567a
Closes #18820 : Bump minimum PostgreSQL version to 14 ( #18909 )
2025-03-14 13:45:44 -05:00
github-actions
f286449284
Update source translation strings
2025-03-14 05:02:07 +00:00
Jason Novinger
b45e256f27
Removes banner from new migrations
2025-03-13 15:43:32 -05:00
bctiemann
4f45328c77
Fixes : #18863 - Exempt MPTT-based models from centrally applying ordering on querysets ( #18867 )
2025-03-13 13:38:33 -07:00
Jason Novinger
06a206ee33
Extract base NestedGroupModelFilterSet with base search behavior
...
This can easily be extended (as in the case of LocationFilterSet) by
calling super() and ORing a filter to the queryset that is returned.
See: https://docs.djangoproject.com/en/5.1/ref/models/querysets/#or
2025-03-13 15:36:55 -05:00
Jeremy Stretch
994e7eb9f4
Fixes #18872 : JournalEntry kind is a required field
2025-03-13 16:23:53 -04:00
Jason Novinger
2df68e29c9
Ensures overridden filterset search() methods include fields from OrganizationalModelFilterSet
2025-03-13 11:52:06 -05:00
Jason Novinger
1ea6f6e2ce
Ensures that all new comments fields render Markdown in tables
2025-03-13 11:52:06 -05:00
Jason Novinger
c0b019b735
Adds WirelessLANGroup.comments to all the required places
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [x] 6. Add fields to forms
- [x] wireless.forms.model_forms, create/edit (e.g. model_forms.py)
- [x] wireless.forms.bulk_edit, bulk edit
- [x] wireless.forms.bulk_import, CSV import
- [NA] filter (UI and API)
- [x] 7. Extend object filter set
- [NA] 8. Add column to object table (Note: was already present)
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [NA] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
157df20ad4
Adds TenantGroup.comments to the required locations
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [x] 6. Add fields to forms
- [x] tenancy.forms.model_forms, create/edit (e.g. model_forms.py)
- [x] tenancy.forms.bulk_edit, bulk edit
- [x] tenancy.forms.bulk_import, CSV import
- [NA] filter (UI and API)
- [x] 7. Extend object filter set
- [x] 8. Add column to object table
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [NA] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
b8352260ee
Adds ContactGroup.comments in the required locations
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [x] 6. Add fields to forms
- [x] tenancy.forms.model_forms, create/edit (e.g. model_forms.py)
- [x] tenancy.forms.buld_edit, bulk edit
- [x] tenancy.dorms.bulk_import, CSV import
- [NA] filter (UI and API)
- [x] 7. Extend object filter set
- [x] 8. Add column to object table
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [NA] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
ed98756f3e
Adds SiteGroup.comments in the required locations
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [x] 6. Add fields to forms
- [x] dcim.forms.model_forms.LocationForm, create/edit (e.g. model_forms.py)
- [x] dcim.forms.buld_edit.LocationBulkEditForm, bulk edit
- [x] dcim.dorms.bulk_import.LocationImportForm, CSV import
- [x] filter (UI and API)
- [x] 7. Extend object filter set
- [x] 8. Add column to object table
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [x] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
9a9d6cdedb
Adds Region.comments field in the required locations
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [ ] 6. Add fields to forms
- [x] dcim.forms.model_forms.RegionForm, create/edit (e.g. model_forms.py)
- [x] dcim.forms.buld_edit.RegionBulkEditForm, bulk edit
- [x] dcim.dorms.bulk_import.RegionImportForm, CSV import
- [NA] filter (UI and API)
- [x] 7. Extend object filter set
- [x] 8. Add column to object table
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [NA] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
2e2c815c91
Update Location detail UI template
2025-03-13 11:52:06 -05:00
Jason Novinger
44efd5e833
Adds Location.comments field in the required locations
...
- [x] 1. Add the field to the model class
- [x] 2. Generate and run database migrations
- [NA] 3. Add validation logic to clean()
- [NA] 4. Update relevant querysets
- [x] 5. Update API serializer
- [x] 6. Add fields to forms
- [x] dcim.forms.model_forms.LocationForm, create/edit (e.g. model_forms.py)
- [x] dcim.forms.buld_edit.LocationBulkEditForm, bulk edit
- [x] dcim.dorms.bulk_import.LocationImportForm, CSV import
- [x] filter (UI and API)
- [NA] UI
- Note: could not find any comments related things in filtersets
- [x] API
- [x] 7. Extend object filter set
- [x] 8. Add column to object table
- [x] 9. Update the SearchIndex
- [x] 10. Update the UI templates
- [x] 11. Create/extend test cases
- [NA] models
- [x] views
- [NA] forms
- [x] filtersets
- [x] api
- [NA] 12. Update the model's documentation
2025-03-13 11:52:06 -05:00
Jason Novinger
ae7a47ca60
Adds comments field to abstract NestedGroupModel and associated migrations
...
Models affected:
- dcim: `Location`, `Region`, `SiteGroup`
- tenancy`: `ContactGroup`, `TenantGroup`
- wireless: `WirelessLANGroup`
2025-03-13 11:52:06 -05:00
Jeremy Stretch
ed135102be
Fixes #18880 : Delay enqueuing of background tasks until the DB transaction has been committed ( #18899 )
2025-03-13 11:34:12 -05:00
bctiemann
26e02ada30
Merge pull request #18822 from netbox-community/18743-django-52
...
Closes #18743 : Upgrade to Django 5.2
2025-03-13 10:58:58 -04:00
Tobias Genannt
19703f7d69
Fixes : #18568 Update mkdocstrings and adapt config
2025-03-13 10:25:42 -04:00
Jeremy Stretch
3dda4716e7
Adapt RemoteUserMiddleware for Django 5.2
2025-03-13 09:34:00 -04:00
Jeremy Stretch
962d660c2c
Closes #18743 : Upgrade to Django 5.2
2025-03-13 09:34:00 -04:00
Jason Novinger
78332d44c7
Fixes #18845 : restores sort behavior for DeviceTable.name column ( #18861 )
...
* Fixes #18845 : restores sort behavior for DeviceTable.name column
* Remove accessor/order_by and modify DEVICE_LINK template
Thanks to @alehaa for the suggestion.
This also includes an additional `.select_related()` operation on
`DeviceListView.queryset` to avoid extra queries. Thanks to
@renatoalmeidaoliveira and @jeremystretch for pointing out the need for
this.
2025-03-13 09:22:49 -04:00
github-actions
80926cda8f
Update source translation strings
2025-03-13 05:02:07 +00:00
bctiemann
d924d4eb33
Merge pull request #18886 from ITJamie/add-rackname-to-device-rack-view
...
Add rack title above rack view on device page
2025-03-12 19:11:22 -04:00
bctiemann
b1e7d7c76b
Merge pull request #18826 from Tishka17/fix/generic_prefetch_4.2
...
Prefetch interface data for REST API on netbox 4.2
2025-03-12 18:55:58 -04:00
Jeremy Stretch
092f7549ca
Fixes #18869 : Ensure to_meters() always returns a clean decimal value ( #18883 )
...
* Fixes #18869 : Ensure to_meters() always returns a clean decimal value
* Handle float values
2025-03-12 13:42:38 -05:00
Andrey Tikhonov
2f51dfc07a
Merge branch 'fix/generic_prefetch_4.2' of github.com:Tishka17/netbox into fix/generic_prefetch_4.2
2025-03-12 19:13:34 +01:00
Andrey Tikhonov
906654d807
Fix empty line, comments
2025-03-12 19:09:46 +01:00
Renato Almeida de Oliveira
749a83d742
Change JSONField, prepare_value to output str with enclosing " ( #18846 )
2025-03-12 10:00:40 -07:00
Andrey Tikhonov
cdd25368e7
Merge branch 'main' into fix/generic_prefetch_4.2
2025-03-12 16:27:12 +01:00
Andrey Tikhonov
7d64d3b5ed
Move GenericArrayForeignKey to fields module
2025-03-12 16:22:11 +01:00
github-actions
5e22ef59c5
Update source translation strings
2025-03-12 05:02:02 +00:00
Fabi
19d1282683
Fixes #18838 : Correctly reject invalid falsy local context data ( #18860 )
...
* Correctly reject invalid falsy local context data.
* move tests
2025-03-11 14:18:42 -05:00
bctiemann
2266a8af67
Merge pull request #18804 from renatoalmeidaoliveira/18742-Location-List-and-Locations-not-Showing-Associated-VLAN-Groups
...
Fixes : #18742 Location List and Locations not Showing Associated VLAN Groups
2025-03-11 11:13:24 -04:00
Renato Almeida de Oliveira
5d81f911d6
Fixes : #18582 Bulk import prefixes with associated VLAN not working when multiple VLANs with the same vid exist. ( #18844 )
...
* Add site CSVModelChoiceField
* Change site field to vlan_site
2025-03-11 08:46:46 -04:00
github-actions
89e3f3d3e9
Update source translation strings
2025-03-11 05:02:10 +00:00
Jeremy Stretch
292463c0de
Closes #18857 : Fix deprecation warnings ( #18858 )
2025-03-10 14:40:08 -07:00
Antoine Keranflec'h
a9fd191086
Fixes : #18744 Add Contact link as hyperlink ( #18847 )
...
* contact link as hyperlink
* fix(lint) add missing blank lines
* simplify by using lambda function
2025-03-10 12:49:24 -05:00
Tobias Genannt
1a60cb9884
Fixes : #18568 Update mkdocstrings and adapt config ( #18841 )
...
* Fixes : #18568 Update mkdocstrings and adapt config
* Fixed some output formatting errors
When trying to compare the output from "mkdocstrings[python-legacy]==0.27.0" and
"mkdocstrings[python]==0.28.2" I encountered some HTML errors:
- <div> inside a <p>
- unescaped non-tags <pk>
2025-03-10 13:11:35 -04:00
Jason Novinger
76c3c613a9
Adds validation for ObjectListWidget.ConfigForm.model field
2025-03-10 09:57:45 -05:00
Jason Novinger
528248b560
Fixes #18782 : properly check if htmx_url is None
...
If this is done incorrently, then the string formatting operation turns
`htmx_url` into a string and the test in the template fails.
2025-03-10 09:52:59 -05:00
bctiemann
b5d970f7bb
Closes : #18535 - Skip incompatible plugins during startup ( #18537 )
...
* Skip incompatible plugins during startup and remove from PLUGINS
* Handle exceptions on request processors in incompatible plugins, and display status in Plugins page
* Revert "Handle exceptions on request processors in incompatible plugins, and display status in Plugins page"
This reverts commit d97bf2ab146114cc13d751878a17a383de0fd5f8.
* Resolve merge conflicts
* Skip incompatible plugins during startup and remove from PLUGINS
* Rename Installed column to Active, and add custom PluginActiveColumn with tooltip
* Fix is_installed
* Simplify plugin_config.validate syntax
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Merge feature
* Revert "Merge feature"
This reverts commit d1ea60f082 .
* Undo simplification
* Add failed_to_load logic
* Use a TemplateColumn for is_installed
* Remove custom column class
* Remove merge vestige
* Simplify plugin attributes for is_installed column
* Use placeholders for false values to increase legibility of the plugins table
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-03-10 10:51:41 -04:00
github-actions
8823b07745
Update source translation strings
2025-03-08 05:02:21 +00:00
Jeremy Stretch
c35f5f829a
Closes #7598 : Enable custom field filtering for GraphQL ( #18701 )
2025-03-07 10:49:06 -08:00
Mika Busch
29c25e39fc
17686 config option for disk divider ( #18011 )
2025-03-07 10:47:27 -08:00
bctiemann
bbf4eea76c
Fixes : #18808 - Fix incorrect dependencies on squashed migrations ( #18827 )
2025-03-07 10:20:34 -08:00
Andrey Tikhonov
d103e13732
Removed automatic cache invalidation
2025-03-07 17:29:04 +01:00
github-actions
6d69c76b83
Update source translation strings
2025-03-07 05:02:48 +00:00
Jason Novinger
6bc9302ce5
Closes #17608 : Adds L2VPN.status field ( #18791 )
2025-03-06 14:06:06 -08:00
bctiemann
f9c8d12a51
Add docstrings for get_queryset base class methods ( #18832 )
2025-03-06 11:11:55 -06:00
Renato Almeida de Oliveira
3ef7ab4416
Fixes : #18579 Add contact filters to services ( #18818 )
...
* Add Contact filter to Services
* Add ContactModelFilterForm to ProviderAccountFilterForm
* Add Contact filter support for Aggregate
* Add Contact filter support for Prefix
* Add Contact filter to IPRange
* Add Contact filter to IPAddress
* Add Contact filter to L2VPN
* Add Contact filter to TunnelGroup
* Add Contact filter to Tunnel
* Add ContactModelFilterSet to ProviderAccountFilterSet
* Fixes classes inheritance order
Setup NetBoxModelFilterSetForm as the last inherited class
Co-authored-by: Jason Novinger <jnovinger@gmail.com >
---------
Co-authored-by: Jason Novinger <jnovinger@gmail.com >
2025-03-06 09:41:41 -06:00
bctiemann
2d35cc56ed
Merge pull request #18823 from netbox-community/release-v4.2.5
...
Release v4.2.5
2025-03-06 10:10:13 -05:00
Andrey Tikhonov
741645c9f7
Merge branch 'develop' into fix/generic_prefetch_4.2
2025-03-06 16:05:25 +01:00
Andrey Tikhonov
d226af420b
Merge branch 'develop' into fix/generic_prefetch_4.2
2025-03-06 16:02:32 +01:00
Andrey Tikhonov
5c88317745
cleanup unused imports and extra line
2025-03-06 16:01:59 +01:00
Jeremy Stretch
dffa380e5c
Tweak issue ordering
2025-03-06 09:50:32 -05:00
Brian Tiemann
6d2426843b
Merge remote-tracking branch 'origin/release-v4.2.5' into release-v4.2.5
2025-03-06 09:28:08 -05:00
Brian Tiemann
e72b0606ba
Bump Django and add missing PRs
2025-03-06 09:27:44 -05:00
Jeremy Stretch
c933cbf11e
Update translations
2025-03-06 09:00:09 -05:00
github-actions
9f1ffb54f5
Update source translation strings
2025-03-06 05:02:11 +00:00
Brian Tiemann
29b8827128
Add translation files
2025-03-05 18:52:34 -05:00
bctiemann
6efc5682cd
Override get_queryset on generic ObjectListView and NetBoxModelViewSet to reapply model-level ordering ( #18805 )
2025-03-05 15:52:00 -08:00
Brian Tiemann
033a960cab
Fix strawberry-graphql==0.262.0
2025-03-05 18:46:30 -05:00
Brian Tiemann
9f69c46a99
NetBox v4.2.5
2025-03-05 18:43:41 -05:00
Marcus Weiner
631ff3e702
Allow primary key for nested models in OpenAPI request schemas ( #18451 )
2025-03-05 11:46:12 -08:00
Renato Almeida de Oliveira Zaroubin
ed6ccfb723
Add commit test in job execution
2025-03-05 09:34:18 -05:00
Renato Almeida de Oliveira Zaroubin
d3a9a6827f
fix typo in VirtualCircuitFilterForm
2025-03-05 09:28:00 -05:00
github-actions
057653d362
Update source translation strings
2025-03-05 05:02:11 +00:00
Daniel Sheppard
4ab58f2da9
Fixes : #15016 - Catch AssertionError from cable trace and throw ValidationError ( #16384 )
2025-03-04 10:57:27 -08:00
Renato Almeida de Oliveira Zaroubin
d83c2f45bc
Add vlangroup into LocationTable, LocationListView queryset and related_models in LocationView
2025-03-04 18:34:23 +00:00
Jeremy Stretch
4e65117e7c
Closes #18627 : Proxy routing ( #18681 )
...
* Introduce proxy routing
* Misc cleanup
* Document PROXY_ROUTERS parameter
2025-03-04 08:24:54 -05:00
github-actions
d208ddde9a
Update source translation strings
2025-03-04 05:02:19 +00:00
bctiemann
7c52698c08
Merge pull request #18748 from netbox-community/18352-add-poweroutlet-status
...
Closes #18352 : Adds PowerOutlet.status field
2025-03-03 20:07:39 -05:00
Jason Novinger
913405a3ae
Adds PowerOutlet.status to detail view
...
Also fixes color display in list table and detail template
2025-03-03 12:22:34 -06:00
bctiemann
0fbfc4f38c
Merge pull request #18789 from jamestiotio/18774-tag-description
...
Closes #18774 : Set title attribute of each tag to its description
2025-03-03 11:35:33 -05:00
Jason Novinger
e86dba8fc8
Fixes #18768 : allow removing secondary MACAddress from interface
2025-03-03 09:35:00 -05:00
Jeremy Stretch
77b9820577
Closes #18287 : Enable periodic synchronization for data sources ( #18747 )
...
* Add sync_interval to DataSource
* Enqueue a SyncDataSourceJob when needed after saving a DataSource
* Fix logic for clearing pending jobs on interval change
* Fix lingering background tasks after modifying DataSource
2025-03-03 09:29:40 -05:00
atownson
3e1d4369ba
Closes #17944 : Allow filtering of ObjectVar and MultiObjectVar script inputs ( #18725 )
...
* Add the advanced object selector to the ObjectVar and MultiObjectVar script inputs
* Fix formatting issue
2025-03-03 09:20:04 -05:00
James Raphael Tiovalen
06b5ff2e4a
Closes #18774 : Set title attribute of each tag to its description
2025-03-02 18:40:40 +08:00
github-actions
3b1daaaad6
Update source translation strings
2025-03-01 05:02:06 +00:00
Jeremy Stretch
63a167f130
Fixes #15924 : Fix API interface patch tagged all mode ( #18759 )
...
* Fixes : #15924 - Prevent API payload from allowing tagged_vlans while interface mode is set to taged-all
* Prevent cleanup of tagged_vlans when no tagged_vlans set on interface
* Fix test errors
* Remove accidental debug statements
* Update validation to model clean method instead of serializer
* Remove clearing of tagged vlans from `save()`
* Make changes to validation to account for M2M not being available under model in addition to not being able to check incoming vlans under same model.
* Optimize untagged vlan check
* Re-ordering statements in validators
* Forgot to call super().clean()
* Adjust logic for form and serializer. Add tests
* Fix test failure
* Fix ruff errors
* Fix test by removing now invalid test
* Update serializer, form and tests
* Optimize API test for vlan fields
* Optimize API serializer logic
---------
Co-authored-by: Daniel Sheppard <dans@dansheps.com >
2025-02-28 11:01:48 -05:00
Jason Novinger
09d867adc3
Fixes #18758 : Enable sorting by Account count on prodiver list ( #18763 )
2025-02-28 07:28:09 -08:00
Jason Novinger
2ae84ce9fb
Adds initial PowerOutletForm tests
2025-02-27 15:02:14 -06:00
Jeremy Stretch
cf7e2c8dc9
Closes #17424 : Add custom visibility toggle to ViewTab
2025-02-27 10:41:10 -05:00
Jason Novinger
2dcf2d203c
Extend filterset/model tests to cover PowerOutlet.status
2025-02-26 17:09:56 -06:00
Jason Novinger
8efcbddb37
Updates PowetOutler docs to include new status field
2025-02-26 16:51:07 -06:00
Jason Novinger
f2a09333d7
Updates PowerOutletIndex to display status field in results
...
This seemed inline with status fields on other model search indexes
2025-02-26 16:44:54 -06:00
Jason Novinger
1d5c67a0a8
Adds PowerOutlet.status field to PowerOutlet model tables
2025-02-26 16:44:03 -06:00
Jason Novinger
9556b0c480
Adds status field to PowerOutletSerializer
2025-02-26 16:42:44 -06:00
Jason Novinger
d9d7955c19
For #18352 , adds PowerOutlet.status field to forms and filtersets
2025-02-26 16:38:11 -06:00
Jason Novinger
dbac09349b
For #18352 , adds choices, model field, migration
...
Adds:
- dcim.choices.PowerOutletStatusChoices
- dcim.models.device_components.PowerOutlet.status field with `choices`
set to PowerOutletStatusChoices
- adds migration for PowerOutlet.status field
- updates breaking view tests
2025-02-26 16:36:09 -06:00
Jeremy Stretch
7aba6500dd
Fixes #18141 : Fix quick-add support for plugin models
2025-02-26 14:25:38 -05:00
Daniel Sheppard
b9b42cd3b4
Fixes : #15924 - Prevent API payload from allowing tagged_vlans while interface mode is set to tagged-all ( #17211 )
2025-02-26 09:28:02 -08:00
github-actions
787a2dd7c2
Update source translation strings
2025-02-26 05:02:07 +00:00
Marcus Weiner
c81f4da780
Fix definition of vid_ranges in VLANGroup so it shows up in the OpenAPI schema ( #18237 )
2025-02-25 16:34:15 -08:00
Renato Almeida de Oliveira
cffb99cec5
Fixes : #17796 Custom Field Choices -> Create & Add Another causes IndexError ( #18631 )
2025-02-25 14:44:10 -08:00
bctiemann
8dc2154cc3
Merge pull request #18704 from alehaa/18095-inherit-contacts
...
Fixes 18095: inherit contacts
2025-02-25 16:08:32 -05:00
Brian Tiemann
3b894f9ccb
Handle null table in TableConfigForm
2025-02-25 12:59:26 -05:00
Alexander Haase
effc23f5bb
Optimize contact lookup query
2025-02-25 18:36:16 +01:00
bctiemann
ae5314ffa7
Merge pull request #18650 from tobiasge/18635-fix-version-identifier
...
Close #18635 : Show only the semantic version
2025-02-25 12:19:26 -05:00
Jeremy Stretch
26c7c8f08d
Closes #18623 : Upgrade Tabler to v1.0 ( #18624 )
...
* Upgrade Tabler to v1.0
* Fix navigation menu colors
* Reduce table column heading font size
2025-02-25 12:13:53 -05:00
Jeremy Stretch
f7fdf07949
Closes #17793 : Introduce a REST API endpoint for tagged objects ( #18679 )
...
* Closes #17793 : Introduce a REST API endpoint for tagged objects
* Add missing object_id filter to TaggedItemFilterSet
2025-02-25 12:06:44 -05:00
Alexander Haase
bf836c9bc2
Fixes 17357: Use virtual chassis name as fallback for device ( #18710 )
2025-02-25 07:55:00 -08:00
bctiemann
4a4596d5e8
Merge pull request #18721 from atownson/issue_18403
...
Closes #18403 : Do not retrieve the data field from Job objects unless needed
2025-02-25 10:24:42 -05:00
Mathias Guillemot
d1712c45bb
Closes : #18434 - Add SPB in L2VPN ( #18523 )
...
* Add SPB in L2VPN
* Change category as Other
Co-authored-by: Daniel Sheppard <dans@dansheps.com >
---------
Co-authored-by: Daniel Sheppard <dans@dansheps.com >
2025-02-25 10:06:07 -05:00
atownson
48b825c64a
Closes #18024 : Add URL pattern for scripts to reference them by module.name ( #18723 )
...
* Add URL pattern for scripts to reference them by module.name
* Change _get_script function name and syntax
* Fix formatting issue
2025-02-25 09:39:39 -05:00
Jeremy Stretch
7e669d1a14
Closes #18072 : Remove support for single model registration from PluginTemplateExtension
2025-02-25 09:32:48 -05:00
bctiemann
4fb42ac7b3
Merge pull request #18724 from netbox-community/18605-prefix-vlan-assignment-display
...
Fixes #18605 : only VLANs at selected Site are shown in VLAN select
2025-02-25 09:31:48 -05:00
bctiemann
a8b4024016
Merge pull request #18491 from antoinekh/17542-Contact_Assignment_to_vpn_tunnels
...
#17542 contact assignment to vpn tunnels
2025-02-25 09:23:14 -05:00
Arthur Hanson
08b2fc424a
18296 Add Tenancy to VLAN Groups ( #18690 )
...
* 18296 add tenant to vlan groups
* 18296 add tenant to vlan groups
* 18296 add tenant to vlan groups
* 18296 add tenant to vlan groups
* 18296 review changes
2025-02-25 09:13:30 -05:00
Antoine Keranflec'h
a6c07e6a35
fix contact wrong model assignment
2025-02-25 13:53:50 +01:00
Antoine Keranflec'h
59cd5bc653
fix double line breaks
2025-02-25 09:15:55 +01:00
Antoine Keranflec'h
bda4f314a4
Merge branch 'netbox-community:main' into 17542-Contact_Assignment_to_vpn_tunnels
2025-02-25 09:09:13 +01:00
Tobias Genannt
2eaee8bf45
Close #18635 : Show only the semantic version
...
This modifies the 'netbox-version' to only show the semantic version of Netbox
and adds 'netbox-full-version' to show the full version.
Related issues:
- https://github.com/netbox-community/netbox/issues/15908
- https://github.com/netbox-community/ansible_modules/issues/1381
2025-02-25 07:07:14 +01:00
github-actions
2a56c08bc8
Update source translation strings
2025-02-25 05:02:09 +00:00
Brian Tiemann
beb0aff656
Add VLAN Translation Policy to bulk edit forms and tables for Interface and VMInterface
2025-02-24 13:55:40 -05:00
Jason Novinger
64270d6a4e
Fixes #18605 : only VLANs at selected Site are shown in VLAN select
2025-02-24 11:29:31 -06:00
github-actions
fba4141ce3
Update source translation strings
2025-02-24 15:18:11 +00:00
Jeremy Stretch
a4ecb82330
Clarify error message
2025-02-24 10:14:52 -05:00
atownson
5a3e213fb4
Do not retrieve the data field from Job objects unless needed
2025-02-24 09:07:16 -06:00
Andrey Tikhonov
83ca0ef955
Add missed init
2025-02-24 15:43:07 +01:00
Andrey Tikhonov
9c3e7f2c5d
Cleanup
2025-02-24 15:38:19 +01:00
Andrey Tikhonov
7794c6cfcb
Fix link peers
2025-02-24 15:28:45 +01:00
Andrey Tikhonov
8dc1d68aee
port generic field to 4.2
2025-02-24 15:20:18 +01:00
Alexander Haase
ca6b686b88
Limit inherited contacts to model
2025-02-22 00:06:44 +01:00
bctiemann
c4304d059c
Merge pull request #18703 from netbox-community/release-v4.2.4
...
Release v4.2.4
2025-02-21 15:34:15 -05:00
Brian Tiemann
fee66438f3
Fix django-htmx version
2025-02-21 15:19:54 -05:00
Brian Tiemann
0f52712468
Release v4.2.4
2025-02-21 15:15:14 -05:00
Jeremy Stretch
fbaa82df7b
Fixes #18674 : Fix form reset when selecting a value from a speed selection dropdown
2025-02-21 14:04:50 -05:00
mr1716
9c1358e6e7
#18698 Correct REST Wikipedia URL In Documentation
2025-02-21 09:34:16 -05:00
github-actions
63b7145baa
Update source translation strings
2025-02-21 05:02:07 +00:00
Jeremy Stretch
ef89fc1264
Closes #18071 : Remvoe legacy staged changes functionality
2025-02-20 16:50:37 -05:00
Jeremy Stretch
bcd974210d
Update Transifex resource slug
2025-02-20 12:53:25 -05:00
Jason Novinger
ed79e3bbf4
Fixes #18619 : shift-select selects hidden items
...
This also fixes the inverse, when a range is unselected via shift-click,
previously checked checkboxes that are hidden are not changed.
2025-02-20 10:17:43 -05:00
Alexander Haase
b5bc0bad38
Cover multitable inheritance in serialization
...
During serialization, custom fields may be available to a model due to
multi-table inheritance, but might not be available in serialized data
because only direct fields of the model are covered. Now this attribute
is only used if available in serialized data. Models using multi-table
inheritance must modify their serialize_object() method to cover parent
serialization.
2025-02-20 10:09:35 -05:00
Jason Novinger
2a44affd03
Fixes #18594 : asn_count sort in Sites list ( #18634 )
...
* Fixes #18594 : asn_count sort in Sites list
* Fixes similar issue in `circuits.views.ProviderListView`
Thanks @bctiemann for point this out!
2025-02-20 10:01:04 -05:00
Jamie Murphy
d9066d6cff
add device rack title
2025-02-19 22:02:59 +00:00
Daniel Sheppard
49bcf57834
Update Style
2025-02-19 14:58:34 -06:00
github-actions
57ef44706a
Update source translation strings
2025-02-19 05:02:03 +00:00
Alexander Haase
72adda1197
Allow exclusion of inherited contacts
2025-02-18 23:08:47 +01:00
Alexander Haase
d5316de9c8
Move contact queryset into model
2025-02-18 23:02:57 +01:00
Jason Novinger
70dddb673b
Fixes #18585 : filtering circuits by location ( #18641 )
...
* Fixes #18585 : filtering circuits by location
This also fixes a related issue where selected filter is not shown in
the filter form.
Changes:
- Adds `CircuitFilterSet.location_id` field to enable filtering with
incoming GET params
- Adds `CirciotFilterForm.location_id` field to enable filtering from
list form
- Adds `location_id` to the Location fieldset on `CircuitFilterForm`
* Adds test for new CircuitFilterset.location_id filter
2025-02-18 13:33:05 -05:00
Alexander Haase
6c6cb321bf
Fixes 18555: Fix model URL generator for plugins ( #18607 )
...
* Fix model URL generator for plugins
* Fix reverse accessor warning
* Revert "Fix reverse accessor warning"
This reverts commit f07642bb99 .
* Add URL test case for regular models
* Split dummy models
Instead of using a single model for testing, one is used for testing the
plugin API and a dedicated one is used for testing the NetBox plugin
model features.
* Fix filterset test case error
* Rename test module
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-02-18 09:11:32 -05:00
Renato Almeida de Oliveira
11514bfb21
Fixes : #18584 Add rack types column to manufacturers table ( #18636 )
...
* Add racktype_count annotation to list view queryset, create the LinkedCountColumn in ManufacturerTable
* Add Manufacturer field to RackTypeFilterForm
2025-02-18 08:41:12 -05:00
Alexander Haase
701f40e2a8
Show parent contacts for nested models
...
When contacts of a nested model are displayed, the contacts of the
parents are also displayed.
2025-02-16 20:04:12 +01:00
github-actions
c324d23634
Update source translation strings
2025-02-15 05:02:03 +00:00
Alexander Haase
f9431f1c29
Replace DurationChoices by JobIntervalChoices
2025-02-14 14:42:27 -05:00
Renato Almeida de Oliveira Zaroubin
b1ac20ac19
Update ModuleBay instance name before saving it
2025-02-14 14:22:29 -05:00
Daniel Sheppard
01cb7beb68
Update bundle
2025-02-13 10:51:48 -06:00
Daniel Sheppard
762ebe23f9
Merge branch '9583-add_column_specific_search_field_to_tables' of https://github.com/netbox-community/netbox into 9583-add_column_specific_search_field_to_tables
2025-02-13 10:50:13 -06:00
Daniel Sheppard
714495486b
Merge branch 'feature' of https://github.com/netbox-community/netbox into 9583-add_column_specific_search_field_to_tables
2025-02-13 10:48:14 -06:00
github-actions
f8022040b2
Update source translation strings
2025-02-12 05:02:12 +00:00
Tobias Genannt
8114492673
Close #18357 : Display author name for plugins
2025-02-11 12:19:43 -05:00
Renato Almeida de Oliveira
154b3a7abb
Fixes: 18593 - "Create & Add Another" broken for new IP addresses ( #18602 )
...
* update IPAddressEditView get_extra_addanother_params
* Simplify get_extra_addanother_params
2025-02-11 08:31:40 -05:00
github-actions
015ef25ca0
Update source translation strings
2025-02-10 18:34:35 +00:00
Alexander Haase
3e1cc0d7f3
Fixes 18208: Consolidate rendering configuration templates ( #18604 )
2025-02-10 11:03:08 -05:00
Alexander Haase
e1d1aab4bd
Omit empty related models
2025-02-10 10:56:09 -05:00
Matej Vadnjal
299bde9653
use script form's cleaned data when calling script from CLI
...
so ObjectVar and other field values have proper types in script's data variable
2025-02-10 09:46:59 -05:00
Alexander Haase
4b98f74943
Fixes 18247: Fix dark mode button classes ( #18617 )
2025-02-10 09:42:08 -05:00
Jeremy Stretch
a33fb2a0a9
Closes #17918 : Fix styling of "tagged items" list under tag view
2025-02-10 09:00:55 -05:00
github-actions
13dc6854c2
Update source translation strings
2025-02-08 05:02:19 +00:00
Antoine Keranflec'h
e475386936
Fixes : #18408 add STATUS_PAUSED to VirtualMachine ( #18595 )
...
* feat(vm): add extra status
* keep only usefull status
---------
Co-authored-by: Antoine Keranflec'h <antoine.keranflech@worldline.com >
2025-02-07 16:41:45 -05:00
Jeremy Stretch
0b194e363e
Docs cleanup
2025-02-07 15:33:37 -05:00
github-actions
72e93b04da
Update source translation strings
2025-02-07 05:02:00 +00:00
Renato Almeida de Oliveira
7794b6718a
Fixes : #18013 - All saved filters showing up for Change Log table, regardless of defined object type ( #18551 )
...
* Setup ObjectChangeFilterForm __init__ to add query_param to filter_id
* code lint, move __init__ to end of class
* Move filter_id widget setup to SavedFiltersMixin, and add model attributes to Models FilterForms
* Add missing model declarations for filter forms
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2025-02-06 17:21:46 -05:00
Renato Almeida de Oliveira
efa939d0c2
Fixes : #18241 - Script results log_threshold should default to Default ( #18501 )
...
* Changed LogLevelChoices order; Changed ScriptResultView to select LogLevelChoices to LOG_DEFAULT and setup the html template to put (All) in the last one
* Change LogLevelChoices in ScriptResultView get_table method
* Remove default option, add Default string to INFO
* Fix scripts.py and reports.py to reflect removing DEFAULT level
* fix linting
2025-02-06 16:30:25 -05:00
Jeremy Stretch
8e91db0394
Misc cleanup of the release checklist
2025-02-05 11:40:53 -05:00
Antoine Keranflec'h
2a8728544c
fix(pep) fix pep8 compliancy
2025-01-31 08:48:35 +01:00
Antoine Keranflec'h
f83e55e1db
Merge branch 'netbox-community:main' into 17542-Contact_Assignment_to_vpn_tunnels
2025-01-25 14:19:25 +01:00
Daniel Sheppard
e7649f0cc2
Fix test error
2025-01-20 18:45:28 -06:00
Daniel Sheppard
434cf37988
Fix test error and OOB-swap
2025-01-20 18:27:26 -06:00
Daniel Sheppard
451a1f498d
Remove debug
2025-01-20 17:35:20 -06:00
Daniel Sheppard
694fcd3a79
Fix assets
2025-01-20 17:31:16 -06:00
Daniel Sheppard
7e5d8eaf05
Debugging
2025-01-20 17:21:29 -06:00
Daniel Sheppard
1958965c36
More bundle debugging
2025-01-20 17:16:33 -06:00
Daniel Sheppard
e12ae3acde
Figure out what is failing
2025-01-20 17:11:11 -06:00
Daniel Sheppard
a28871296c
Fix assets
2025-01-20 17:07:25 -06:00
Daniel Sheppard
ee83895e2a
Fix bundles
2025-01-20 16:42:59 -06:00
Daniel Sheppard
764c676ffc
Fix bundles
2025-01-20 15:54:07 -06:00
Daniel Sheppard
92f6f426b3
Removed unused import
2025-01-20 14:51:15 -06:00
Daniel Sheppard
4381ea9265
Merge Head
2025-01-20 14:24:47 -06:00
Daniel Sheppard
92c3bbc9db
Correct issue with filter_form not passing through render_table from django_tables2
2025-01-20 14:21:41 -06:00
Daniel Sheppard
8d65973c82
Simplify table header filter rendering
2025-01-20 13:13:19 -06:00
Daniel Sheppard
882aa30043
Simplify filter generation
2025-01-20 12:06:26 -06:00
Daniel Sheppard
f2c74db761
Update display of filtering chits
2025-01-20 12:03:41 -06:00
Daniel Sheppard
852535e3d4
Merge in updates from feature
2025-01-20 11:41:26 -06:00
Jeremy Stretch
012e815f3b
Merge branch 'feature' into 9583-add_column_specific_search_field_to_tables
2024-12-06 15:59:06 -05:00
Antoine Keranflec'h
113c8d1d85
Merge branch 'netbox-community:develop' into 17542-Contact_Assignment_to_vpn_tunnels
2024-11-12 14:17:05 +01:00
Daniel Sheppard
d6ab7b7378
Update bundle
2024-10-16 22:24:48 -05:00
Daniel Sheppard
77cb8ac817
Merge branch 'feature' into 9583-add_column_specific_search_field_to_tables
2024-10-16 22:13:01 -05:00
Antoine Keranflec'h
5b2241aaaf
fix(17542) add contact to tunnels
2024-10-10 15:38:48 +02:00
Daniel Sheppard
b12ce97474
Update to latest feature
2024-07-01 22:27:15 -05:00
Daniel Sheppard
0ad1db9912
Regnerate CSS
2024-06-12 23:22:13 -05:00
Daniel Sheppard
f1306783dc
Merge branch 'feature' of https://github.com/netbox-community/netbox into 9583-add_column_specific_search_field_to_tables
...
# Conflicts:
# netbox/project-static/dist/netbox.css
# netbox/templates/htmx/table.html
# netbox/templates/inc/table_htmx.html
2024-06-12 23:10:25 -05:00
Daniel Sheppard
30e653197e
Add a table form override and add a table column remap option
2024-06-12 23:01:33 -05:00
Daniel Sheppard
fd38255d31
Rename swap variable back and remove join
2024-04-25 13:04:37 -05:00
Daniel Sheppard
5830ae9e9a
Rename variable for doing OOB swaps on the table
2024-04-25 12:53:54 -05:00
Daniel Sheppard
479c69bd2d
Fix up duplication of template chits when rendering HTMX
2024-04-22 22:42:42 -05:00
Daniel Sheppard
1c995fa5f9
Perform OOB swap for filter badges
2024-04-15 08:43:51 -05:00
Daniel Sheppard
35cff12974
Apply suggestions from Arthur
2024-04-15 08:10:40 -05:00
Daniel Sheppard
a9aa0cbaa0
Merge in latest feature
2024-04-15 07:30:28 -05:00
Daniel Sheppard
8ad79a64ae
Update CSS
2024-03-21 23:18:31 -05:00
Daniel Sheppard
a422a3cd98
Modify logic for table column filtering to further isolate the column filtering and the filterset tab
2024-03-21 23:09:30 -05:00
Daniel Sheppard
8a7df0b98d
Update netbox/utilities/templatetags/form_helpers.py
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-03-21 22:37:06 -05:00
Daniel Sheppard
f257f4aad4
Apply suggestions from code review
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-03-21 22:18:34 -05:00
Jeremy Stretch
25a4e9448c
Merge branch 'feature' into 9583-add_column_specific_search_field_to_tables
2024-03-20 15:02:12 -04:00
Jeremy Stretch
77bfd620c3
Merge branch 'feature' into 9583-add_column_specific_search_field_to_tables
2024-03-07 08:50:17 -05:00
Daniel Sheppard
84151cbc1a
Fix tom-select errors related to field id. Break out render_field function for column filters
2024-02-13 15:23:14 -06:00
Daniel Sheppard
0309796bbb
Fix extraneous __all__ entry
2024-02-12 16:09:02 -06:00
Daniel Sheppard
f81f76f862
Optimizations
2024-02-12 16:00:19 -06:00
Daniel Sheppard
c3f1a9601c
Update CSS after merge
2024-02-12 09:49:15 -06:00
Daniel Sheppard
4ae6683abc
Merge in recent feture changes
2024-02-12 09:44:30 -06:00
Daniel Sheppard
06c1aff04f
Fix test failure
2024-02-12 08:17:53 -06:00
Daniel Sheppard
5f69666b7b
Change dropdown position and fix test failure
2024-02-11 21:37:33 -06:00
Daniel Sheppard
b54cfd6ba9
Update CSS
2024-02-11 21:17:06 -06:00
Daniel Sheppard
3243ebd1dd
Merge remote-tracking branch 'origin/9583-add_column_specific_search_field_to_tables' into 9583-add_column_specific_search_field_to_tables
2024-02-09 16:37:47 -06:00
Daniel Sheppard
03f67f373f
CSS update for dropdown
2024-02-09 16:36:13 -06:00
Daniel Sheppard
50557c0f9d
Final work on #9583 for basic functionality
2024-02-09 16:35:09 -06:00
Daniel Sheppard
cc423f5071
Apply some quick fixes and add comments
2024-02-07 13:48:32 -06:00
Daniel Sheppard
664a0eba6d
Preliminary work on 9583.
2024-02-07 13:40:20 -06:00
Daniel Sheppard
f7294f7087
Preliminary work on 9583.
2024-02-07 13:37:57 -06:00
Daniel Sheppard
e762755e80
HTMX work on 9583.
2024-02-07 12:05:11 -06:00
Daniel Sheppard
4c39516253
Preliminary work on 9583.
2024-02-02 15:49:32 -06:00