[PR #2494] [MERGED] Release v2.4.6 #12389

Closed
opened 2025-12-29 22:21:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2494
Author: @jeremystretch
Created: 10/5/2018
Status: Merged
Merged: 10/5/2018
Merged by: @jeremystretch

Base: masterHead: develop


📝 Commits (10+)

  • 7583912 Post-release version bump
  • 99848aa Fixes #2483: Set max item count of API-populated form fields to MAX_PAGE_SIZE
  • 1b2e9a6 fixes #2484 - Local config context not available on the Virtual Machine Edit Form
  • db2721c Enable brief API output utilizing nested serializers
  • bf47e7c #2487: Require the 'brief' parameter to evaluate True
  • 259da2d #2487: Added API tests
  • ab53d0e Merge pull request #2488 from digitalocean/2487-api-brief
  • 52f1b1c Changelog entry for #2487
  • 2fee977 Fixes #2485: Fix cancel button when assigning a service to a device/VM
  • 5d10d84 Closes #2479: Add user permissions for creating/modifying API tokens

📊 Changes

24 files changed (+509 additions, -20 deletions)

View changed files

📝 CHANGELOG.md (+18 -0)
📝 docs/api/authentication.md (+3 -0)
📝 netbox/circuits/tests/test_api.py (+30 -0)
📝 netbox/dcim/api/serializers.py (+20 -1)
📝 netbox/dcim/api/views.py (+5 -0)
📝 netbox/dcim/models.py (+1 -1)
📝 netbox/dcim/tests/test_api.py (+180 -0)
📝 netbox/ipam/tests/test_api.py (+81 -1)
📝 netbox/ipam/views.py (+3 -0)
📝 netbox/netbox/settings.py (+1 -1)
📝 netbox/project-static/js/forms.js (+1 -1)
📝 netbox/secrets/tests/test_api.py (+10 -0)
📝 netbox/templates/dcim/device_lldp_neighbors.html (+4 -2)
📝 netbox/templates/users/api_tokens.html (+16 -6)
📝 netbox/tenancy/tests/test_api.py (+20 -0)
netbox/users/migrations/0003_token_permissions.py (+17 -0)
📝 netbox/users/models.py (+1 -1)
📝 netbox/users/views.py (+8 -3)
📝 netbox/utilities/api.py (+13 -0)
📝 netbox/utilities/forms.py (+12 -1)

...and 4 more files

📄 Description

Enhancements

  • #2479 - Add user permissions for creating/modifying API tokens
  • #2487 - Return abbreviated API output when passed ?brief=1

Bug Fixes

  • #2393 - Fix Unicode support for CSV import under Python 2
  • #2483 - Set max item count of API-populated form fields to MAX_PAGE_SIZE
  • #2484 - Local config context not available on the Virtual Machine Edit Form
  • #2485 - Fix cancel button when assigning a service to a device/VM
  • #2491 - Fix exception when importing devices with invalid device type
  • #2492 - Sanitize hostname and port values returned through LLDP

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/2494 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/5/2018 **Status:** ✅ Merged **Merged:** 10/5/2018 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`7583912`](https://github.com/netbox-community/netbox/commit/7583912de7a9cca48cdc5f51a554d8272015594f) Post-release version bump - [`99848aa`](https://github.com/netbox-community/netbox/commit/99848aab6ac2dfb2834ac66afb0438d7ebb06e91) Fixes #2483: Set max item count of API-populated form fields to MAX_PAGE_SIZE - [`1b2e9a6`](https://github.com/netbox-community/netbox/commit/1b2e9a6d066e118850cc01309f1c36b54374b9b4) fixes #2484 - Local config context not available on the Virtual Machine Edit Form - [`db2721c`](https://github.com/netbox-community/netbox/commit/db2721c5815a153a361611da2ddf1e0cd733727f) Enable brief API output utilizing nested serializers - [`bf47e7c`](https://github.com/netbox-community/netbox/commit/bf47e7cae3c359f18b785bec4b28deda7dfa0c64) #2487: Require the 'brief' parameter to evaluate True - [`259da2d`](https://github.com/netbox-community/netbox/commit/259da2d18a84e9612702a237a8b0ada53a685123) #2487: Added API tests - [`ab53d0e`](https://github.com/netbox-community/netbox/commit/ab53d0e863f601bd3fa5acc71e622176b056299b) Merge pull request #2488 from digitalocean/2487-api-brief - [`52f1b1c`](https://github.com/netbox-community/netbox/commit/52f1b1c3bf94ae27541421a46c118845afd28101) Changelog entry for #2487 - [`2fee977`](https://github.com/netbox-community/netbox/commit/2fee977b4c141b39e5b58e6ade9fb676f1d12d46) Fixes #2485: Fix cancel button when assigning a service to a device/VM - [`5d10d84`](https://github.com/netbox-community/netbox/commit/5d10d8418e91907135f1c8ba5ef9104fd3ad5eb3) Closes #2479: Add user permissions for creating/modifying API tokens ### 📊 Changes **24 files changed** (+509 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+18 -0) 📝 `docs/api/authentication.md` (+3 -0) 📝 `netbox/circuits/tests/test_api.py` (+30 -0) 📝 `netbox/dcim/api/serializers.py` (+20 -1) 📝 `netbox/dcim/api/views.py` (+5 -0) 📝 `netbox/dcim/models.py` (+1 -1) 📝 `netbox/dcim/tests/test_api.py` (+180 -0) 📝 `netbox/ipam/tests/test_api.py` (+81 -1) 📝 `netbox/ipam/views.py` (+3 -0) 📝 `netbox/netbox/settings.py` (+1 -1) 📝 `netbox/project-static/js/forms.js` (+1 -1) 📝 `netbox/secrets/tests/test_api.py` (+10 -0) 📝 `netbox/templates/dcim/device_lldp_neighbors.html` (+4 -2) 📝 `netbox/templates/users/api_tokens.html` (+16 -6) 📝 `netbox/tenancy/tests/test_api.py` (+20 -0) ➕ `netbox/users/migrations/0003_token_permissions.py` (+17 -0) 📝 `netbox/users/models.py` (+1 -1) 📝 `netbox/users/views.py` (+8 -3) 📝 `netbox/utilities/api.py` (+13 -0) 📝 `netbox/utilities/forms.py` (+12 -1) _...and 4 more files_ </details> ### 📄 Description ## Enhancements * [#2479](https://github.com/digitalocean/netbox/issues/2479) - Add user permissions for creating/modifying API tokens * [#2487](https://github.com/digitalocean/netbox/issues/2487) - Return abbreviated API output when passed `?brief=1` ## Bug Fixes * [#2393](https://github.com/digitalocean/netbox/issues/2393) - Fix Unicode support for CSV import under Python 2 * [#2483](https://github.com/digitalocean/netbox/issues/2483) - Set max item count of API-populated form fields to MAX_PAGE_SIZE * [#2484](https://github.com/digitalocean/netbox/issues/2484) - Local config context not available on the Virtual Machine Edit Form * [#2485](https://github.com/digitalocean/netbox/issues/2485) - Fix cancel button when assigning a service to a device/VM * [#2491](https://github.com/digitalocean/netbox/issues/2491) - Fix exception when importing devices with invalid device type * [#2492](https://github.com/digitalocean/netbox/issues/2492) - Sanitize hostname and port values returned through LLDP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:21:14 +01:00
adam closed this issue 2025-12-29 22:21:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12389