From nobody Fri Feb 23 13:19:45 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Th9bP6qc5z5CS8k; Fri, 23 Feb 2024 13:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Th9bP5dLFz40K2; Fri, 23 Feb 2024 13:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708694385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g6WwcwqXPL7ZLvSlS37WbO+UT9/RZXnbwhWn3PmuS8U=; b=lsbBVQHKI+VsmK60qPpcmBs6CIIFPDgwjIsAQoUvs63rgMXdeN3D20AkLKapDQcqFYJQPx ayG2Ju0seKe3tH5V6FV0A8VKUA/+dNXQmcQ+ySodHQj933KHBwZcsdb3juu24NtNt49oJb SCI0SFmtVdstkwvQtonPX25AoLP0dwVykYAjjAyJHcGLweAUdm9WTHgqdWamPUI1Bfw5IR ASBtVnybdq91Ihs2gbkZDHWSOr8sh3dkUnLCU3KTEb0NxG6VXXUgfgmR9kR/2uEgQgtdTh 55WXcwhth85QIhYPxhahv268fPOJp54+l2A69FDRVGLmVBqmHGF6UXVEG5ZonA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708694385; a=rsa-sha256; cv=none; b=xi/6G2g72uHc+Zb72RcXh75sfAoeuWemiHKIbAM4npEPrN8en+Hm6ovbbELd7sBN73gG9I Y8NUDmh+GLgOktK/ZEg3TUJm7CCe5KAbQ/m7ldiqZO51RKr7tyJrkxnDStCbCOuwi49tC6 2khAmYscU6H4296BveQPZl9M7deFBfMBNgeswfkRYjEDpsKYHYMGdV1RV1Z7V/9pzwvMiA SFoIcaCO3cjFjMYvQKvckCWArQLmEpWcS88TgyjYW5c+NQ+uKwqs8kDwIkEVo55Nvkfc38 rh9A2cULZJgTZWSrJVI7plXJx4KczA+rZ6cMOx3ILJdKOp4zvSt2cFOgjPQgkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708694385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g6WwcwqXPL7ZLvSlS37WbO+UT9/RZXnbwhWn3PmuS8U=; b=LKuq5Gtr1Nt79c1Jaoe/bQ0ojYm+MndXdcNjXcBucAmE63luSCZSZ55k+OJIInRq27KwKW wqiWodGMx5KBu+WqldOw42dXWYxlH7/C+rSKwTBk4afEDcwUBhiumKeLSoJJ4aNPEzSi4B bYrwXt2PSjwFE3q0zoiKWeDKOqCAV1vZQq8mjG1bUoZ4/lYF73NI877b/jQmAzMhNG1sUI SLcZdvjdGDGuOPgcCdL5grdnyIBa0KnAQgyS5CfG1s4vfbYddWG2I21QiauQwcY6bBIg58 ogeNE/UD/gaJOoblbnprcpeX+swCnajgbJ3zMFsVUDj6/XcDAiI62zGjc3lkcw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Th9bP4QglzHMD; Fri, 23 Feb 2024 13:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41NDJjhO037794; Fri, 23 Feb 2024 13:19:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41NDJjul037791; Fri, 23 Feb 2024 13:19:45 GMT (envelope-from git) Date: Fri, 23 Feb 2024 13:19:45 GMT Message-Id: <202402231319.41NDJjul037791@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 0fb2ce6efd78 - main - net-mgmt/netbox: Update to 3.7.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0fb2ce6efd78c98ff9cf84deab10f5e5585cad63 Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=0fb2ce6efd78c98ff9cf84deab10f5e5585cad63 commit 0fb2ce6efd78c98ff9cf84deab10f5e5585cad63 Author: Kai Knoblich AuthorDate: 2024-02-23 13:16:34 +0000 Commit: Kai Knoblich CommitDate: 2024-02-23 13:19:23 +0000 net-mgmt/netbox: Update to 3.7.3 * Remove no longer required workaround for older releases of py-markdown after 3bf88f001d59. Changelog: Enhancements: * Display a human-friendly name for the OpenID Connect remote auth backend * Remove associate_by_email() from default social auth pipeline * Add PostgreSQL index for object type & ID on CachedValue table to improve performance * Add "last login" time to user display & REST API serializer Bug Fixes: * Limit platform options by manufacturer when editing a device or device type * Resolving parent location should consider assigned site when bulk importing locations * Ensure changes are logged on related objects when deleting an object referenced via a many-to-many relationship (e.g. tags) * Clean up formatting of link peers in bulk CSV export of cable termination objects * Preserve "empty" default values for JSON custom fields * Update existing AutoSyncRecord when changing the data file of an auto-synced object * Correct IP address count link in VM interfaces table * Fix uncaught exception when attempting invalid device bay import * Fix inclusion of config_template field on REST API serializer for virtual machines * Fix "add export template" link under "export" button on object list views * Ensure protection rules are evaluated prior to enqueueing events when deleting an object * Fix designation of the active tab for assigned object when modifying an L2VPN termination * Correct OpenAPI schema for rack elevation REST API endpoint * Fix unhandled exception with invalid permission constraints * "group" field should be optional when creating VPN tunnel via REST API * Add missing group column to VPN tunnels table * Fix FHRP group representation on assignments REST API endpoint using brief mode * Warn that permission constraints are not supported for reports or scripts * Correct REST API schema definition for front_image & rear_image on DeviceType * Ensure error messages pertaining to related objects are displayed on the bulk import form * Fix exception when viewing current config when no history is present https://github.com/netbox-community/netbox/releases/tag/v3.7.3 --- net-mgmt/netbox/Makefile | 16 ++++++------ net-mgmt/netbox/distinfo | 6 ++--- ...tbox_utilities_templatetags_builtins_filters.py | 29 ---------------------- net-mgmt/netbox/pkg-plist | 1 + 4 files changed, 12 insertions(+), 40 deletions(-) diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile index 1a6e0628a018..8a7ad5a9c63a 100644 --- a/net-mgmt/netbox/Makefile +++ b/net-mgmt/netbox/Makefile @@ -1,6 +1,6 @@ PORTNAME= netbox DISTVERSIONPREFIX= v -DISTVERSION= 3.7.2 +DISTVERSION= 3.7.3 CATEGORIES= net-mgmt python MAINTAINER= kai@FreeBSD.org @@ -23,7 +23,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt # - www/py-dj42-django-tables2 # - www/py-dj42-djangorestframework # -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2.9<4.3:www/py-django42@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2.10<4.3:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj42-django-cors-headers>=4.3.1<5:www/py-dj42-django-cors-headers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj42-django-debug-toolbar>=4.3.0<5:www/py-dj42-django-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj42-django-filter>=23.5<24:www/py-dj42-django-filter@${PY_FLAVOR} \ @@ -44,19 +44,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2.9<4.3:www/py-django42@${PY_FLA ${PYTHON_PKGNAMEPREFIX}bleach>=6.1.0<7:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.10<7:textproc/py-feedparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.3<4:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7<3.6:textproc/py-markdown@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.5.7<10:textproc/py-mkdocs-material@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markdown>=3.4.4<3.6:textproc/py-markdown@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.5.10<10:textproc/py-mkdocs-material@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.24.0<1:textproc/py-mkdocstrings@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy>0:textproc/py-mkdocstrings-python-legacy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}netaddr>=0.10.1<1:net/py-netaddr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=10.1.0:graphics/py-pillow@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}psycopg>=3.1.16<4:databases/py-psycopg@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netaddr>=0.10.1<2:net/py-netaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=10.2.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psycopg>=3.1.18<4:databases/py-psycopg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-app-django>=5.4.0<6:www/py-social-auth-app-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.5.1<5:security/py-social-auth-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tablib>=3.5.0<4:textproc/py-tablib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tzdata>=2023.4:devel/py-tzdata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzdata>=2024.1:devel/py-tzdata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=6.0.1<7:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=21.2.0<22:www/py-gunicorn@${PY_FLAVOR} diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo index c9e17cc6c2c0..56cb955c56e3 100644 --- a/net-mgmt/netbox/distinfo +++ b/net-mgmt/netbox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1707337293 -SHA256 (netbox-community-netbox-v3.7.2_GH0.tar.gz) = eb3df922e5f9971d6ccf3816b7ea94882ecde04585abad1e484233649643039b -SIZE (netbox-community-netbox-v3.7.2_GH0.tar.gz) = 9237184 +TIMESTAMP = 1708582174 +SHA256 (netbox-community-netbox-v3.7.3_GH0.tar.gz) = 8159c7c9916241da25cde5a75899ac24f3209938a6ac5d8f2676d90c379aa318 +SIZE (netbox-community-netbox-v3.7.3_GH0.tar.gz) = 9318252 diff --git a/net-mgmt/netbox/files/patch-netbox_utilities_templatetags_builtins_filters.py b/net-mgmt/netbox/files/patch-netbox_utilities_templatetags_builtins_filters.py deleted file mode 100644 index 6913656e19e5..000000000000 --- a/net-mgmt/netbox/files/patch-netbox_utilities_templatetags_builtins_filters.py +++ /dev/null @@ -1,29 +0,0 @@ -Add backwards compatibility for textproc/py-markdown < 3.4. - -Previous releases of py-markdown cannot access the "use_align_attribute" -configuration option, which was introduced with py-markdown 3.4. - ---- netbox/utilities/templatetags/builtins/filters.py.orig 2023-12-29 15:02:38 UTC -+++ netbox/utilities/templatetags/builtins/filters.py -@@ -163,12 +163,20 @@ def render_markdown(value): - if not value: - return '' - -+ TE_Shim = None -+ -+ try: -+ TE_Shim = TableExtension(use_align_attribute=True) -+ except KeyError: -+ TE_Shim = TableExtension() -+ pass -+ - # Render Markdown - html = markdown(value, extensions=[ - 'def_list', - 'fenced_code', - StrikethroughExtension(), -- TableExtension(use_align_attribute=True), -+ TE_Shim, - ]) - - # If the string is not empty wrap it in rendered-markdown to style tables diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist index 33e1e0d4a0b4..25a63f5dbafe 100644 --- a/net-mgmt/netbox/pkg-plist +++ b/net-mgmt/netbox/pkg-plist @@ -604,6 +604,7 @@ %%DATADIR%%/extras/migrations/0104_stagedchange_remove_change_logging.py %%DATADIR%%/extras/migrations/0105_customfield_min_max_values.py %%DATADIR%%/extras/migrations/0106_bookmark_user_cascade_deletion.py +%%DATADIR%%/extras/migrations/0107_cachedvalue_extras_cachedvalue_object.py %%DATADIR%%/extras/migrations/__init__.py %%DATADIR%%/extras/models/__init__.py %%DATADIR%%/extras/models/change_logging.py