Follow the attribution requirements of the Apache License 2.0 for this fork of
ICTU/netbox_slm:
- add a NOTICE file with the original copyright (ICTU) and the fork's notice
- mark every file changed since upstream 1.9.0 as modified (section 4b);
the original copyright header in __init__.py is kept
- add a visible fork notice and a section on origin, credits, changes and
license to the README
- point project URLs to this fork (with an Upstream link), list ICTU as
author and MrBlake as maintainer, and stop showing ICTU's email address
as the plugin contact
- ship NOTICE in the package and drop the MANIFEST entry for the removed
SECURITY.md
Bump version to 1.14.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
NetBox ObjectPermission actions are limited to 30 characters, so assigning
manage_softwarelicense_email_notifications or
manage_certificate_email_notifications to a group failed validation.
Rename them to manage_license_emails and manage_certificate_emails and
migrate existing auth permissions in place to keep assignments.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
NetBox 4.7 form mixins return None from clean(), which crashed adding a
certificate with AttributeError. Use self.cleaned_data instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Parse uploaded PEM or DER certificates with cryptography and fill common
name, SANs, issuer, serial number, SHA-256 fingerprint and validity dates.
Name and type are only set when left empty; the type is derived from the
CA flag and extended key usage. Files containing a private key are
rejected. Works in the UI form and the REST API.
Adds cryptography as a dependency.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
NetBox loads only one menu per plugin, so the certificate menu is
registered explicitly in SLMConfig.ready(). Without top_level_menu the
certificate entry stays in the shared plugin menu items.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
NetBox squashed its app migrations, so ('virtualization', '0001_initial') and
similar nodes no longer exist. The required dcim, extras, tenancy and
virtualization tables are already guaranteed through earlier netbox_slm
migrations.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add a Certificate model alongside software licenses with type, common
name, SANs, issuer, serial number, fingerprint, validity period, auto
renewal, certificate file and storage locations. Certificates can be
assigned to software products, installations, devices, virtual machines
and tenants.
Extract the expiration reminder settings and logic into a shared
ExpirationNotificationModel base and a generic notification job, so
certificates get the same default/custom reminders, NetBox notifications
and optional SMTP emails as licenses (separate event type, log model and
email permission).
Includes UI views, filters, table, bulk import/edit, REST API endpoint,
migration 0015, German translations, tests and README/CHANGELOG updates.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fixtures were created in setUpClass, so a test that changed the shared license instance affected later tests. Use setUpTestData, which rolls back after the class and gives each test its own copy. All 20 tests pass on NetBox 4.7.2.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Align the migration state with the model's check constraint, including its violation_error_message. Verified with NetBox 4.7.2. Bump version to 1.13.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Group device, virtual machine, and cluster as the required platform destination and validate that exactly one is selected with an actionable localized error.
Make license type optional and add lifetime or recurring renewal terms, license file and key storage, and provider portal URLs across the UI, API, filters, imports, translations, and migrations.
Internationalize plugin navigation, forms, tables, model labels, detail templates, choices, and validation messages. Ship a compiled German Django message catalog and bump the plugin version to 1.10.0.
Add tenant group and tenant assignments across the model, forms, filters, API, tables, imports, and tests. Replace the Docker-based setup with Git/Pip installation documentation for NetBox 4.6.5.
* Updated imports for Netbox 3.6.1
Closes#21 and #23
* Changed Fieldtypes of Start and Expiration Date
Closes#22
* Bump to NetBox v3.6.1
* Add pyproject.toml and python workflow
---------
Co-authored-by: Manuel Hartung <[email protected]>