[PR #17035] [MERGED] 17034 Add error handling to Plugins Catalog API #14983

Closed
opened 2025-12-30 00:19:16 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17035
Author: @arthanson
Created: 7/31/2024
Status: Merged
Merged: 8/1/2024
Merged by: @jeremystretch

Base: featureHead: 17034-plugins-catalog


📝 Commits (4)

  • f53ff24 17034 add error handling to plugins catalog API
  • 0440e7e 17034 refactor from review feedback
  • 65cd124 17034 refactor from review feedback
  • 0902428 Misc cleanup

📊 Changes

2 files changed (+106 additions, -91 deletions)

View changed files

📝 netbox/core/plugins.py (+85 -83)
📝 netbox/core/views.py (+21 -8)

📄 Description

Fixes: #17034

Put error handling around plugins catalog API, added a toast if the API could not be loaded with a 15 minute timeout so you don't keep getting spammed by toasts. Not sure if this is acceptable for an offline installation as when you go back to the page (after 15 minutes) you will get another toast.


🔄 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/17035 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 8/1/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `17034-plugins-catalog` --- ### 📝 Commits (4) - [`f53ff24`](https://github.com/netbox-community/netbox/commit/f53ff24885940be53fa06fd021f2e2892fab57a9) 17034 add error handling to plugins catalog API - [`0440e7e`](https://github.com/netbox-community/netbox/commit/0440e7e7b9fadb82c7fe54c2e499940da5d7dc86) 17034 refactor from review feedback - [`65cd124`](https://github.com/netbox-community/netbox/commit/65cd124f6ff809af1f762453dcf18028cb0fc13d) 17034 refactor from review feedback - [`0902428`](https://github.com/netbox-community/netbox/commit/09024283b89ba52ae9cdfcab44fde81c4736c770) Misc cleanup ### 📊 Changes **2 files changed** (+106 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/plugins.py` (+85 -83) 📝 `netbox/core/views.py` (+21 -8) </details> ### 📄 Description ### Fixes: #17034 Put error handling around plugins catalog API, added a toast if the API could not be loaded with a 15 minute timeout so you don't keep getting spammed by toasts. Not sure if this is acceptable for an offline installation as when you go back to the page (after 15 minutes) you will get another toast. --- <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-30 00:19:16 +01:00
adam closed this issue 2025-12-30 00:19:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14983