github-actions
0cdc12a8ea
Update source translation strings
2025-03-19 05:02:13 +00:00
bctiemann
51663dd696
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
81c3ecbedb
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
b79fe88aad
Fixes #18926 : Uses correct icon for base GitHub auth
2025-03-18 08:48:27 -04:00
github-actions
d115642cb9
Update source translation strings
2025-03-18 05:02:07 +00:00
Jeremy Stretch
d46f8a1081
Fixes #18928 : Fix support for cascading deletions when cleaning up expired changelog records
2025-03-17 14:16:55 -04:00
Jeremy Stretch
2eb5ab3261
Closes #18780 : External database configuration ( #18912 )
2025-03-17 10:23:37 -07:00
bctiemann
496f114570
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
bec826e7ab
Fixes #18884 : Handle tag assignments manually within deserialize_object ( #18908 )
2025-03-17 08:43:08 -07:00
Benjamin Dale
252ef6a0d8
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
5583595243
18896 Replace STORAGE_BACKEND with STORAGES and support Script running from S3 ( #18680 )
2025-03-17 07:36:34 -07:00
Jeremy Stretch
a52c474d3f
Closes #18820 : Bump minimum PostgreSQL version to 14 ( #18909 )
2025-03-14 13:45:44 -05:00
github-actions
bd04de4b17
Update source translation strings
2025-03-14 05:02:07 +00:00
Jason Novinger
ec3c656f5b
Removes banner from new migrations
2025-03-13 15:43:32 -05:00
bctiemann
33b4e7192d
Fixes : #18863 - Exempt MPTT-based models from centrally applying ordering on querysets ( #18867 )
2025-03-13 13:38:33 -07:00
Jason Novinger
b85a5f471b
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
2d310cee72
Fixes #18872 : JournalEntry kind is a required field
2025-03-13 16:23:53 -04:00
Jason Novinger
cbe3f39eb5
Ensures overridden filterset search() methods include fields from OrganizationalModelFilterSet
2025-03-13 11:52:06 -05:00
Jason Novinger
e33c1f1173
Ensures that all new comments fields render Markdown in tables
2025-03-13 11:52:06 -05:00
Jason Novinger
d557936c98
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
e15468f8eb
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
790acd01e5
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
f487214398
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
6391eb598f
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
5097a64e6a
Update Location detail UI template
2025-03-13 11:52:06 -05:00
Jason Novinger
5fc888bfad
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
d3a88a4c81
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
d639e829ec
Fixes #18880 : Delay enqueuing of background tasks until the DB transaction has been committed ( #18899 )
2025-03-13 11:34:12 -05:00
bctiemann
84d799b663
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
f4581ae388
Fixes : #18568 Update mkdocstrings and adapt config
2025-03-13 10:25:42 -04:00
Jeremy Stretch
2b771a8a35
Adapt RemoteUserMiddleware for Django 5.2
2025-03-13 09:34:00 -04:00
Jeremy Stretch
116d42de74
Closes #18743 : Upgrade to Django 5.2
2025-03-13 09:34:00 -04:00
Jason Novinger
9d16cd21f4
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
dc869458dc
Update source translation strings
2025-03-13 05:02:07 +00:00
bctiemann
640cdf57e9
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
1199f9836f
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
1ad63fce12
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
56107a3857
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
f6160067a3
Fix empty line, comments
2025-03-12 19:09:46 +01:00
Renato Almeida de Oliveira
30ba10dce8
Change JSONField, prepare_value to output str with enclosing " ( #18846 )
2025-03-12 10:00:40 -07:00
Andrey Tikhonov
f160cdb2a9
Merge branch 'main' into fix/generic_prefetch_4.2
2025-03-12 16:27:12 +01:00
Andrey Tikhonov
c54a7c8cb0
Move GenericArrayForeignKey to fields module
2025-03-12 16:22:11 +01:00
github-actions
4fd572ef2f
Update source translation strings
2025-03-12 05:02:02 +00:00
Fabi
9fc63ba52c
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
4c2eea0dfe
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
922c400c4e
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
ea1b2d49be
Update source translation strings
2025-03-11 05:02:10 +00:00
Jeremy Stretch
d873109967
Closes #18857 : Fix deprecation warnings ( #18858 )
2025-03-10 14:40:08 -07:00
Antoine Keranflec'h
b74ec7854d
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
c1074b6c8e
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