Skip to content

Commit

Permalink
py-django-sql-explorer: updated to 3.2.1
Browse files Browse the repository at this point in the history
3.2.1 (2023-07-13)

* Test for SET PASSWORD
* Fix User primary key reference

3.2.0 (2023-05-17)

* CSRF token httponly support + s3 destination for async results

3.1.1 (2023-02-27)

* Added makemigrations --check pre-commit hook
* Add missing migration

3.1.0 (2023-02-25)

* Favorite queries
* Add labels to params like $$paramName|label:defaultValue$$
* Pivot export
* ci: pre-commit autoupdate
* ci: ran pre-commit on all files for ci bot integration
* ci: coverage update
* ci: Adding django 4.2 to the test suite

3.0.1 (2022-12-16)

* Fix for running without optional packages

3.0 (2022-12-15)

Add support for Django >3.2 and drop support for <3.2
Add support for Python 3.9, 3.10 and 3.11 and drop support for <3.8
* Document breakage of "Format" button due to CSRF_COOKIE_HTTPONLY
* Avoid execution of parameterised queries when viewing query
* Change sql blacklist functionality from regex to sqlparse
* Form display in popup now requires sanitize: false flag
* Updated celery support
* Added pre-commit hooks
* Feature/more s3 providers
* Check sql blacklist on execution as well as save
* Conditionally import optional packages
  • Loading branch information
adam committed Dec 7, 2023
1 parent 1143adb commit e615fdc
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 31 deletions.
19 changes: 7 additions & 12 deletions www/py-django-sql-explorer/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.6 2023/07/13 10:03:29 wiz Exp $
# $NetBSD: Makefile,v 1.7 2023/12/07 18:10:26 adam Exp $

DISTNAME= django-sql-explorer-1.1.3
DISTNAME= django-sql-explorer-3.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-sql-explorer/}

Expand All @@ -11,18 +10,14 @@ HOMEPAGE= https://github.com/epantry/django-sql-explorer
COMMENT= Pluggable app that allows to execute SQL, view, and export the results
LICENSE= mit

DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.1.18:../../databases/py-sqlparse
DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-unicodecsv>=0.14.1:../../databases/py-unicodecsv
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-django>=3.2.12:../../www/py-django
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.4.0:../../databases/py-sqlparse

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

# remove cache files from the distribution
post-extract:
${FIND} ${WRKSRC} -type f -name '*.pyc' -print -delete

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
115 changes: 100 additions & 15 deletions www/py-django-sql-explorer/PLIST
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@comment $NetBSD: PLIST,v 1.3 2019/12/15 21:47:20 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}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.4 2023/12/07 18:10:26 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/explorer/__init__.py
${PYSITELIB}/explorer/__init__.pyc
${PYSITELIB}/explorer/__init__.pyo
Expand All @@ -20,6 +20,9 @@ ${PYSITELIB}/explorer/app_settings.pyo
${PYSITELIB}/explorer/apps.py
${PYSITELIB}/explorer/apps.pyc
${PYSITELIB}/explorer/apps.pyo
${PYSITELIB}/explorer/charts.py
${PYSITELIB}/explorer/charts.pyc
${PYSITELIB}/explorer/charts.pyo
${PYSITELIB}/explorer/connections.py
${PYSITELIB}/explorer/connections.pyc
${PYSITELIB}/explorer/connections.pyo
Expand All @@ -29,6 +32,10 @@ ${PYSITELIB}/explorer/exporters.pyo
${PYSITELIB}/explorer/forms.py
${PYSITELIB}/explorer/forms.pyc
${PYSITELIB}/explorer/forms.pyo
${PYSITELIB}/explorer/locale/ru/LC_MESSAGES/django.mo
${PYSITELIB}/explorer/locale/ru/LC_MESSAGES/django.po
${PYSITELIB}/explorer/locale/zh_Hans/LC_MESSAGES/django.mo
${PYSITELIB}/explorer/locale/zh_Hans/LC_MESSAGES/django.po
${PYSITELIB}/explorer/migrations/0001_initial.py
${PYSITELIB}/explorer/migrations/0001_initial.pyc
${PYSITELIB}/explorer/migrations/0001_initial.pyo
Expand All @@ -53,6 +60,18 @@ ${PYSITELIB}/explorer/migrations/0007_querylog_connection.pyo
${PYSITELIB}/explorer/migrations/0008_auto_20190308_1642.py
${PYSITELIB}/explorer/migrations/0008_auto_20190308_1642.pyc
${PYSITELIB}/explorer/migrations/0008_auto_20190308_1642.pyo
${PYSITELIB}/explorer/migrations/0009_auto_20201009_0547.py
${PYSITELIB}/explorer/migrations/0009_auto_20201009_0547.pyc
${PYSITELIB}/explorer/migrations/0009_auto_20201009_0547.pyo
${PYSITELIB}/explorer/migrations/0010_sql_required.py
${PYSITELIB}/explorer/migrations/0010_sql_required.pyc
${PYSITELIB}/explorer/migrations/0010_sql_required.pyo
${PYSITELIB}/explorer/migrations/0011_query_favorites.py
${PYSITELIB}/explorer/migrations/0011_query_favorites.pyc
${PYSITELIB}/explorer/migrations/0011_query_favorites.pyo
${PYSITELIB}/explorer/migrations/0012_alter_queryfavorite_query_alter_queryfavorite_user.py
${PYSITELIB}/explorer/migrations/0012_alter_queryfavorite_query_alter_queryfavorite_user.pyc
${PYSITELIB}/explorer/migrations/0012_alter_queryfavorite_query_alter_queryfavorite_user.pyo
${PYSITELIB}/explorer/migrations/__init__.py
${PYSITELIB}/explorer/migrations/__init__.pyc
${PYSITELIB}/explorer/migrations/__init__.pyo
Expand All @@ -65,11 +84,30 @@ ${PYSITELIB}/explorer/permissions.pyo
${PYSITELIB}/explorer/schema.py
${PYSITELIB}/explorer/schema.pyc
${PYSITELIB}/explorer/schema.pyo
${PYSITELIB}/explorer/static/explorer/bootstrap.min.css
${PYSITELIB}/explorer/static/explorer/explorer.css
${PYSITELIB}/explorer/static/explorer/explorer.js
${PYSITELIB}/explorer/static/explorer/jquery-ui.min.js
${PYSITELIB}/explorer/static/explorer/query-list.js
${PYSITELIB}/explorer/static/explorer/css/bootstrap.min.css
${PYSITELIB}/explorer/static/explorer/css/codemirror.min.css
${PYSITELIB}/explorer/static/explorer/css/explorer.css
${PYSITELIB}/explorer/static/explorer/css/pivot.min.css
${PYSITELIB}/explorer/static/explorer/fonts/glyphicons-halflings-regular.eot
${PYSITELIB}/explorer/static/explorer/fonts/glyphicons-halflings-regular.svg
${PYSITELIB}/explorer/static/explorer/fonts/glyphicons-halflings-regular.ttf
${PYSITELIB}/explorer/static/explorer/fonts/glyphicons-halflings-regular.woff
${PYSITELIB}/explorer/static/explorer/fonts/glyphicons-halflings-regular.woff2
${PYSITELIB}/explorer/static/explorer/js/bootstrap.min.js
${PYSITELIB}/explorer/static/explorer/js/codemirror.min.js
${PYSITELIB}/explorer/static/explorer/js/comment.min.js
${PYSITELIB}/explorer/static/explorer/js/explorer.js
${PYSITELIB}/explorer/static/explorer/js/favorites.js
${PYSITELIB}/explorer/static/explorer/js/jquery-ui.min.js
${PYSITELIB}/explorer/static/explorer/js/jquery.cookie.min.js
${PYSITELIB}/explorer/static/explorer/js/jquery.floatThead.min.js
${PYSITELIB}/explorer/static/explorer/js/jquery.min.js
${PYSITELIB}/explorer/static/explorer/js/list.min.js
${PYSITELIB}/explorer/static/explorer/js/pivot.min.js
${PYSITELIB}/explorer/static/explorer/js/query-list.js
${PYSITELIB}/explorer/static/explorer/js/sql.min.js
${PYSITELIB}/explorer/static/explorer/js/underscore-min.js
${PYSITELIB}/explorer/static/explorer/js/xlsx.mini.min.js
${PYSITELIB}/explorer/tasks.py
${PYSITELIB}/explorer/tasks.pyc
${PYSITELIB}/explorer/tasks.pyo
Expand All @@ -82,6 +120,8 @@ ${PYSITELIB}/explorer/templates/explorer/play.html
${PYSITELIB}/explorer/templates/explorer/preview_pane.html
${PYSITELIB}/explorer/templates/explorer/query.html
${PYSITELIB}/explorer/templates/explorer/query_confirm_delete.html
${PYSITELIB}/explorer/templates/explorer/query_favorite_button.html
${PYSITELIB}/explorer/templates/explorer/query_favorites.html
${PYSITELIB}/explorer/templates/explorer/query_list.html
${PYSITELIB}/explorer/templates/explorer/querylog_list.html
${PYSITELIB}/explorer/templates/explorer/schema.html
Expand All @@ -104,6 +144,9 @@ ${PYSITELIB}/explorer/tests/test_actions.pyo
${PYSITELIB}/explorer/tests/test_apps.py
${PYSITELIB}/explorer/tests/test_apps.pyc
${PYSITELIB}/explorer/tests/test_apps.pyo
${PYSITELIB}/explorer/tests/test_csrf_cookie_name.py
${PYSITELIB}/explorer/tests/test_csrf_cookie_name.pyc
${PYSITELIB}/explorer/tests/test_csrf_cookie_name.pyo
${PYSITELIB}/explorer/tests/test_exporters.py
${PYSITELIB}/explorer/tests/test_exporters.pyc
${PYSITELIB}/explorer/tests/test_exporters.pyo
Expand Down Expand Up @@ -134,6 +177,48 @@ ${PYSITELIB}/explorer/urls.pyo
${PYSITELIB}/explorer/utils.py
${PYSITELIB}/explorer/utils.pyc
${PYSITELIB}/explorer/utils.pyo
${PYSITELIB}/explorer/views.py
${PYSITELIB}/explorer/views.pyc
${PYSITELIB}/explorer/views.pyo
${PYSITELIB}/explorer/views/__init__.py
${PYSITELIB}/explorer/views/__init__.pyc
${PYSITELIB}/explorer/views/__init__.pyo
${PYSITELIB}/explorer/views/auth.py
${PYSITELIB}/explorer/views/auth.pyc
${PYSITELIB}/explorer/views/auth.pyo
${PYSITELIB}/explorer/views/create.py
${PYSITELIB}/explorer/views/create.pyc
${PYSITELIB}/explorer/views/create.pyo
${PYSITELIB}/explorer/views/delete.py
${PYSITELIB}/explorer/views/delete.pyc
${PYSITELIB}/explorer/views/delete.pyo
${PYSITELIB}/explorer/views/download.py
${PYSITELIB}/explorer/views/download.pyc
${PYSITELIB}/explorer/views/download.pyo
${PYSITELIB}/explorer/views/email.py
${PYSITELIB}/explorer/views/email.pyc
${PYSITELIB}/explorer/views/email.pyo
${PYSITELIB}/explorer/views/export.py
${PYSITELIB}/explorer/views/export.pyc
${PYSITELIB}/explorer/views/export.pyo
${PYSITELIB}/explorer/views/format_sql.py
${PYSITELIB}/explorer/views/format_sql.pyc
${PYSITELIB}/explorer/views/format_sql.pyo
${PYSITELIB}/explorer/views/list.py
${PYSITELIB}/explorer/views/list.pyc
${PYSITELIB}/explorer/views/list.pyo
${PYSITELIB}/explorer/views/mixins.py
${PYSITELIB}/explorer/views/mixins.pyc
${PYSITELIB}/explorer/views/mixins.pyo
${PYSITELIB}/explorer/views/query.py
${PYSITELIB}/explorer/views/query.pyc
${PYSITELIB}/explorer/views/query.pyo
${PYSITELIB}/explorer/views/query_favorite.py
${PYSITELIB}/explorer/views/query_favorite.pyc
${PYSITELIB}/explorer/views/query_favorite.pyo
${PYSITELIB}/explorer/views/schema.py
${PYSITELIB}/explorer/views/schema.pyc
${PYSITELIB}/explorer/views/schema.pyo
${PYSITELIB}/explorer/views/stream.py
${PYSITELIB}/explorer/views/stream.pyc
${PYSITELIB}/explorer/views/stream.pyo
${PYSITELIB}/explorer/views/utils.py
${PYSITELIB}/explorer/views/utils.pyc
${PYSITELIB}/explorer/views/utils.pyo
8 changes: 4 additions & 4 deletions www/py-django-sql-explorer/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2021/10/26 11:30:33 nia Exp $
$NetBSD: distinfo,v 1.6 2023/12/07 18:10:26 adam Exp $

BLAKE2s (django-sql-explorer-1.1.3.tar.gz) = f212acc6f2aa97753e12d4665db1d7220e5fa4a0fb67b61c8a5c8c4b39d72986
SHA512 (django-sql-explorer-1.1.3.tar.gz) = 91d88ef63e9171e216624af74b20e4f80cf890fe5a508edfbe17e3da2c18e6ea1d4a64e2c0309ef880c9c6bfe3a205d0782ec4611d808d5fcf00301d5f2f55ea
Size (django-sql-explorer-1.1.3.tar.gz) = 182208 bytes
BLAKE2s (django-sql-explorer-3.2.1.tar.gz) = cd96c8d64d674b9caf851a52b4c01efccd8cc1e97b6a4265dbed0bfbd96fdd88
SHA512 (django-sql-explorer-3.2.1.tar.gz) = 459e1fbf607a993f31657a2d259b10e153cd9e19d6fb98f9df0a01e7f9e1424a6e5e231093336aba170bdb598ceff283d899bdbd6e0e91698c6f95771669a1d4
Size (django-sql-explorer-3.2.1.tar.gz) = 428969 bytes

0 comments on commit e615fdc

Please sign in to comment.