docs: state fork, original authors and Apache 2.0 license
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]>
This commit is contained in:
1 parent
0f72a53d01
commit
0a81a04746
29 files changed
+109
-15
No files matched your search
@@ -1,5 +1,6 @@
|
||||
"""
|
||||
Copyright 2022-2025 ICTU
|
||||
Modifications Copyright 2026 MrBlake (NetBox-SLM fork, https://git.mrblake.cc/MrBlake/NetBox-SLM)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +18,7 @@ limitations under the License.
|
||||
from netbox.plugins import PluginConfig
|
||||
from django.utils.translation import gettext, gettext_lazy as _
|
||||
|
||||
__version__ = "1.14.0"
|
||||
__version__ = "1.14.1"
|
||||
|
||||
|
||||
class SLMConfig(PluginConfig):
|
||||
@@ -25,8 +26,7 @@ class SLMConfig(PluginConfig):
|
||||
verbose_name = _("Licences")
|
||||
version = __version__
|
||||
description = _("Licence Management NetBox Plugin.")
|
||||
author = "ICTU"
|
||||
author_email = "[email protected]"
|
||||
author = "ICTU (original), MrBlake (fork)"
|
||||
base_url = "slm"
|
||||
required_settings = []
|
||||
default_settings = {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.core.files.uploadedfile import UploadedFile
|
||||
from rest_framework import serializers
|
||||
from rest_framework.serializers import SerializerMethodField, HyperlinkedIdentityField
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from netbox.api.routers import NetBoxRouter
|
||||
from netbox_slm.api.views import (
|
||||
NetboxSLMRootView,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from rest_framework.routers import APIRootView
|
||||
|
||||
from netbox.api.viewsets import NetBoxModelViewSet
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.db.models import Q
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django_filters import CharFilter, DateFilter, ModelMultipleChoiceFilter, MultipleChoiceFilter, NumberFilter
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from .software_license import (
|
||||
SoftwareLicenseForm,
|
||||
SoftwareLicenseFilterForm,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.forms import CharField, DateField, ChoiceField, IntegerField, NullBooleanField, Textarea
|
||||
from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.forms import CharField
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.forms import ValidationError
|
||||
from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.forms import DateField, CharField, MultipleChoiceField
|
||||
from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
import calendar
|
||||
from datetime import timedelta
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from netbox.plugins import PluginMenuButton, PluginMenuItem, PluginMenu, get_plugin_config
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from . import SLMConfig
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
import django_tables2 as tables
|
||||
from django.db.models import Count, F, Value
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM #}
|
||||
{# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files. #}
|
||||
{% load helpers %}
|
||||
{% load i18n %}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM #}
|
||||
{# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files. #}
|
||||
{% extends 'generic/object.html' %}
|
||||
{% load buttons %}
|
||||
{% load static %}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM #}
|
||||
{# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files. #}
|
||||
{% extends 'generic/object.html' %}
|
||||
{% load buttons %}
|
||||
{% load static %}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM #}
|
||||
{# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files. #}
|
||||
{% extends 'generic/object.html' %}
|
||||
{% load buttons %}
|
||||
{% load static %}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM #}
|
||||
{# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files. #}
|
||||
{% extends 'generic/object.html' %}
|
||||
{% load buttons %}
|
||||
{% load static %}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.test import TestCase
|
||||
|
||||
from dcim.models import Device, DeviceRole, DeviceType, Manufacturer, Site
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from datetime import date, timedelta
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from django.urls import path, include
|
||||
|
||||
from netbox_slm import views # noqa F401
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from .software_license import (
|
||||
SoftwareLicenseListView,
|
||||
SoftwareLicenseView,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Modified by MrBlake for the NetBox-SLM fork: https://git.mrblake.cc/MrBlake/NetBox-SLM
|
||||
# Based on ICTU/netbox_slm (Apache License 2.0). See the LICENSE and NOTICE files.
|
||||
from netbox.views import generic
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from netbox_slm import filtersets, forms, tables
|
||||
|
||||
Reference in new issue
Block a user