[PR #13387] [MERGED] Closes #13368: Report installed plugins during server error #14176

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13387
Author: @jeremystretch
Created: 8/4/2023
Status: Merged
Merged: 8/7/2023
Merged by: @jeremystretch

Base: developHead: 13368-server-error-plugins


📝 Commits (3)

  • 3597f79 Introduce get_installed_plugins() utility
  • 82180ec Extend 500 error template to list installed plugins
  • a6229ba Move get_plugin_config() to extras.plugins.utils

📊 Changes

6 files changed (+48 additions, -32 deletions)

View changed files

📝 netbox/extras/plugins/__init__.py (+0 -21)
netbox/extras/plugins/utils.py (+37 -0)
📝 netbox/extras/tests/test_plugins.py (+2 -1)
📝 netbox/netbox/api/views.py (+2 -9)
📝 netbox/netbox/views/errors.py (+3 -0)
📝 netbox/templates/500.html (+4 -1)

📄 Description

Closes: #13368

  • Introduce a utility function for collecting installed plugins
  • Refactor slightly into a new extras.plugins.utils module
  • Extend the 500.html error template to display installed plugins

🔄 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/13387 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/4/2023 **Status:** ✅ Merged **Merged:** 8/7/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13368-server-error-plugins` --- ### 📝 Commits (3) - [`3597f79`](https://github.com/netbox-community/netbox/commit/3597f792356e23fe32ec8682b1db1cf9a44c9a6e) Introduce get_installed_plugins() utility - [`82180ec`](https://github.com/netbox-community/netbox/commit/82180ecf42a917dfdb67fa9aea4ecb832c1eada8) Extend 500 error template to list installed plugins - [`a6229ba`](https://github.com/netbox-community/netbox/commit/a6229ba56ea3f0736744a7e43969036335f324b8) Move get_plugin_config() to extras.plugins.utils ### 📊 Changes **6 files changed** (+48 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/plugins/__init__.py` (+0 -21) ➕ `netbox/extras/plugins/utils.py` (+37 -0) 📝 `netbox/extras/tests/test_plugins.py` (+2 -1) 📝 `netbox/netbox/api/views.py` (+2 -9) 📝 `netbox/netbox/views/errors.py` (+3 -0) 📝 `netbox/templates/500.html` (+4 -1) </details> ### 📄 Description ### Closes: #13368 - Introduce a utility function for collecting installed plugins - Refactor slightly into a new `extras.plugins.utils` module - Extend the `500.html` error template to display installed plugins --- <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 23:23:01 +01:00
adam closed this issue 2025-12-29 23:23:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14176