py-filebrowser_safe: updated to 1.1.1

1.1.1 (2022-01-05)

Bug Fixes

prevent path traversal when browsing

1.1.0 (2021-12-29)

Features

add Django 4.0.0 compatibility

1.0.0 (2021-11-19)

Bug Fixes

provide fallback for THUMBNAILS_DIR_NAME (f9991d5)
Features

add Django 2.2 compatability
BREAKING CHANGES

dropped support for Python 2 and Django < 2.2

Swap self.path for self.name

Remove future import
Fix formatting

Add a renderer kwarg to FileBrowseWidget.render

Required by Django>=2.1

Python bump for travis

Version bump for tox

Make widget scripts load in correct order in dj2.2

Fix crash when date filtering folders with folders inside
This commit is contained in:
adam 2024-02-21 19:31:34 +00:00
parent a0dcf203db
commit 86a51be07e
3 changed files with 16 additions and 18 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.4 2023/07/13 10:03:30 wiz Exp $
# $NetBSD: Makefile,v 1.5 2024/02/21 19:31:34 adam Exp $
DISTNAME= filebrowser_safe-0.5.0
DISTNAME= filebrowser_safe-1.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/filebrowser_safe/}
@ -11,11 +10,13 @@ HOMEPAGE= https://github.com/stephenmcd/filebrowser-safe
COMMENT= Permanent fork of FileBrowser asset manager for Mezzanine
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,18 +1,15 @@
@comment $NetBSD: PLIST,v 1.2 2018/10/26 09:23:31 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.3 2024/02/21 19:31:34 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/filebrowser_safe/__init__.py
${PYSITELIB}/filebrowser_safe/__init__.pyc
${PYSITELIB}/filebrowser_safe/__init__.pyo
${PYSITELIB}/filebrowser_safe/base.py
${PYSITELIB}/filebrowser_safe/base.pyc
${PYSITELIB}/filebrowser_safe/base.pyo
${PYSITELIB}/filebrowser_safe/decorators.py
${PYSITELIB}/filebrowser_safe/decorators.pyc
${PYSITELIB}/filebrowser_safe/decorators.pyo
${PYSITELIB}/filebrowser_safe/fields.py
${PYSITELIB}/filebrowser_safe/fields.pyc
${PYSITELIB}/filebrowser_safe/fields.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2021/10/26 11:30:36 nia Exp $
$NetBSD: distinfo,v 1.5 2024/02/21 19:31:34 adam Exp $
BLAKE2s (filebrowser_safe-0.5.0.tar.gz) = df2f58b36db9b059f1e6748fb1d2e104c83cee5da7a80418db35af9d74fc9722
SHA512 (filebrowser_safe-0.5.0.tar.gz) = 53e458b311e758e95b3d7dbe9612e58b3a285a6b3c0fab3d89865a891f78fabddd4d7dca7825c176d150149d05bb8080e4e13d616ad44914b5790f2ea463cb54
Size (filebrowser_safe-0.5.0.tar.gz) = 76694 bytes
BLAKE2s (filebrowser_safe-1.1.1.tar.gz) = 8ac1b9c82e4f23782e9ed8b64c050134d8f02a8637dc619af0f08c10e7266abc
SHA512 (filebrowser_safe-1.1.1.tar.gz) = 258fa6848b94624027b9800f0f0f23b7761d0ae41d4eb7847de073c860b2d7207257705ab80cf423a8898dbc5de49e8fcafe2e3fc116ed73a28dcff9f98225a0
Size (filebrowser_safe-1.1.1.tar.gz) = 79818 bytes