Jeremy Stretch
4509c52579
Merge b31f185f42
into 6df0a02d8d
2025-07-24 10:26:26 -04:00
Jeremy Stretch
b31f185f42
Deprecate get_for_id() on ObjectTypeManager
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-24 10:24:04 -04:00
Jeremy Stretch
944ea00a86
Misc cleanup
2025-07-24 10:02:24 -04:00
Jeremy Stretch
943f98e86d
Extend has_feature() to accept a model or OT/CT
2025-07-24 09:29:27 -04:00
Jeremy Stretch
9f2ef2b909
Fix test
2025-07-24 09:19:56 -04:00
Jeremy Stretch
3589f73da1
Don't automatically create ObjectTypes when a ContentType is created
2025-07-24 09:17:58 -04:00
Jeremy Stretch
13c3ce39ee
Don't populate ObjectTypes during migration
2025-07-24 08:41:47 -04:00
Jeremy Stretch
533fe555ea
Misc cleanup
2025-07-24 08:25:55 -04:00
Jeremy Stretch
34d9ecb7f3
ObjectTypeManager should not inherit from ContentTypeManager
2025-07-24 08:14:09 -04:00
Jeremy Stretch
0d8b6c78ae
Introduce has_feature() utility function
2025-07-23 14:40:42 -04:00
Jeremy Stretch
e38ba29928
Automatically create ObjectTypes
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-23 13:00:25 -04:00
Jeremy Stretch
68edba8c22
Reference ObjectType records instead of registry for feature support
2025-07-23 08:56:12 -04:00
Jeremy Stretch
28e5543297
Catch post_migrate signal to update ObjectTypes
2025-07-23 08:53:47 -04:00
Jeremy Stretch
1871f6f3d7
Add public flag to ObjectType
2025-07-23 08:53:47 -04:00
Jeremy Stretch
30dfe5a62e
Convert ObjectType to a concrete child model of ContentType
2025-07-23 08:53:46 -04: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
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
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