git: 48cad252e510 - main - net-mgmt/netbox: Update to 3.2.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jun 2022 19:34:19 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=48cad252e510c26676542b91886e063c93deebfd
commit 48cad252e510c26676542b91886e063c93deebfd
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-06-23 19:28:24 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-06-23 19:28:24 +0000
net-mgmt/netbox: Update to 3.2.5
Changelog:
Enhancements:
* Shift-click to select multiple objects in a list
* Support filtering IP addresses by multiple parent prefixes
* Include count of IP ranges under tenant view
* Initialize manufacturer selection when inserting a new module
* Add support for custom Jinja2 filters
* Linkify related power port on power outlet view
* Provide one-click edit link for objects in tables
* Move Markdown reference to local documentation
* Add VLAN group selector to interface bulk edit forms
* Leave dropdown open upon selection for multi-select fields
Bug Fixes:
* Fix rendering of Markdown links with colons
* Fix rendering of bracketed Markdown links
* Improve performance when retrieving devices/VMs with config
context data
* Avoid sending webhooks after script/report failure
* Fix sorting services & service templates by port numbers
* Include services listening on "all IPs" under IP address view
* Fix redirect URL when adding device components from the module view
* Correct link to contacts in contact groups table column
* Hyperlinks in rack elevation SVGs must always use absolute URLs
* Fix duplicate site results when searching by ASN
* Correct order of VLAN fields under VM interface creation form
* Ensure consistent use of placeholder tag throughout UI
* Fix device counts for rack list under rack role view
---
net-mgmt/netbox/Makefile | 9 +++++----
net-mgmt/netbox/distinfo | 6 +++---
net-mgmt/netbox/files/pkg-message.in | 13 +++++++++++--
net-mgmt/netbox/pkg-plist | 3 +++
4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index 8a2d45c33a81..3fba566a65a2 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
PORTNAME= netbox
DISTVERSIONPREFIX= v
-DISTVERSION= 3.2.4
+DISTVERSION= 3.2.5
CATEGORIES= net-mgmt python
MAINTAINER= kai@FreeBSD.org
@@ -22,10 +22,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
# - www/py-dj40-django-tables2
# - www/py-dj40-djangorestframework (in conjunction with www/py-dj40-drf-yasg)
#
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=4.0.4<4.1:www/py-django40@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj40-django-cors-headers>=3.12.0<4:www/py-dj40-django-cors-headers@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=4.0.5<4.1:www/py-django40@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dj40-django-cors-headers>=3.13.0<4:www/py-dj40-django-cors-headers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj40-django-debug-toolbar>=3.2.4<4:www/py-dj40-django-debug-toolbar@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj40-django-filter>=21.1<22:www/py-dj40-django-filter@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dj40-django-filter>=22.1<23:www/py-dj40-django-filter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj40-django-graphiql-debug-toolbar>=0.2.0<1:www/py-dj40-django-graphiql-debug-toolbar@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj40-django-mptt>=0.13.4<0.14:www/py-dj40-django-mptt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj40-django-prometheus>=2.2.0<2.3:www/py-dj40-django-prometheus@${PY_FLAVOR} \
@@ -38,6 +38,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=4.0.4<4.1:www/py-django40@${PY_FLA
${PYTHON_PKGNAMEPREFIX}dj40-drf-yasg>=1.20.0<1.21:www/py-dj40-drf-yasg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj40-graphene-django>=2.15.0<3:devel/py-dj40-graphene-django@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}bleach>=5.0.0<6:www/py-bleach@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.1<4:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7<3.5:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown-include>=0.6.0<1:textproc/py-markdown-include@${PY_FLAVOR} \
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index df9d4b1fad14..6548a040e3ee 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654793742
-SHA256 (netbox-community-netbox-v3.2.4_GH0.tar.gz) = 6eaf5b63812f2055c6a1d11a4465086e11a8968eec0b3c055e4abbb8512f6550
-SIZE (netbox-community-netbox-v3.2.4_GH0.tar.gz) = 4828917
+TIMESTAMP = 1655741927
+SHA256 (netbox-community-netbox-v3.2.5_GH0.tar.gz) = 601282206ac1ef0ad54cca214ba4a0c9549f31b6fee9a1c63f7943f89acd4841
+SIZE (netbox-community-netbox-v3.2.5_GH0.tar.gz) = 4835019
diff --git a/net-mgmt/netbox/files/pkg-message.in b/net-mgmt/netbox/files/pkg-message.in
index dd29a7a50431..9350f504ac23 100644
--- a/net-mgmt/netbox/files/pkg-message.in
+++ b/net-mgmt/netbox/files/pkg-message.in
@@ -18,8 +18,8 @@ database migrations will be executed.
The following steps are required to finish the upgrade:
1. Run database migrations, trace any missing cable paths, build the embedded
- documentation, collect static files, remove stale content files and delete
- any expired user sessions
+ documentation, collect static files, remove stale content files, delete any
+ expired user sessions and clear the cache.
# cd %%DATADIR%%
# python%%PYTHON_VER%% manage.py migrate
@@ -28,6 +28,7 @@ The following steps are required to finish the upgrade:
# python%%PYTHON_VER%% manage.py collectstatic --no-input
# python%%PYTHON_VER%% manage.py remove_stale_contenttypes --no-input
# python%%PYTHON_VER%% manage.py clearsessions
+# python%%PYTHON_VER%% manage.py clearcache
2. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
EOD
@@ -321,4 +322,12 @@ The NetBox 3.2 release contains major changes, so at least items 1.), 2.) and
changelogs for further details.
EOD
}
+{ type: upgrade
+ maximum_version: 3.2.5
+ message: <<EOD
+Please note that the general update instructions got another command that needs
+to be issued after each update:
+
+# python%%PYTHON_VER%% manage.py clearcache
+}
]
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index 223a930334e4..b15a491fd56a 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -312,6 +312,7 @@
%%DATADIR%%/docs/plugins/development/views.md
%%DATADIR%%/docs/plugins/index.md
%%DATADIR%%/docs/reference/conditions.md
+%%DATADIR%%/docs/reference/markdown.md
%%DATADIR%%/docs/release-notes/index.md
%%DATADIR%%/docs/release-notes/version-2.0.md
%%DATADIR%%/docs/release-notes/version-2.1.md
@@ -621,6 +622,7 @@
%%DATADIR%%/project-static/src/buttons/moveOptions.ts
%%DATADIR%%/project-static/src/buttons/reslug.ts
%%DATADIR%%/project-static/src/buttons/selectAll.ts
+%%DATADIR%%/project-static/src/buttons/selectMultiple.ts
%%DATADIR%%/project-static/src/clipboard.ts
%%DATADIR%%/project-static/src/colorMode.ts
%%DATADIR%%/project-static/src/dateSelector.ts
@@ -652,6 +654,7 @@
%%DATADIR%%/project-static/src/state/index.ts
%%DATADIR%%/project-static/src/stores/index.ts
%%DATADIR%%/project-static/src/stores/objectDepth.ts
+%%DATADIR%%/project-static/src/stores/previousPkCheck.ts
%%DATADIR%%/project-static/src/stores/rackImages.ts
%%DATADIR%%/project-static/src/tableConfig.ts
%%DATADIR%%/project-static/src/tables/index.ts