pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-flask-security py-flask-security: update to 3.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3817a3c137f5
branches:  trunk
changeset: 315342:3817a3c137f5
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 22 03:16:18 2018 +0000

description:
py-flask-security: update to 3.0.0

- Fixed a bug when user clicking confirmation link after confirmation
  and expiration causes confirmation email to resend.
- Added support for I18N.
- Added options `SECURITY_EMAIL_PLAINTEXT` and `SECURITY_EMAIL_HTML`
  for sending respecively plaintext and HTML version of email.
- Fixed validation when missing login information.
- Fixed condition for token extraction from JSON body.
- Better support for universal bdist wheel.
- Added port of CLI using Click configurable using options
  `SECURITY_CLI_USERS_NAME` and `SECURITY_CLI_ROLES_NAME`.
- Added new configuration option `SECURITY_DATETIME_FACTORY` which can
  be used to force default timezone for newly created datetimes.
- Better IP tracking if using Flask 0.12.
- Renamed deprecated Flask-WFT base form class.
- Added tests for custom forms configured using app config.
- Added validation and tests for next argument in logout endpoint.
- Bumped minimal required versions of several packages.
- Extended test matric on Travis CI for minimal and released package
  versions.
- Added of .editorconfig and forced tests for code style.
- Fixed a security bug when validating a confirmation token, also checks
  if the email that the token was created with matches the user's current
  email.
- Replaced token loader with request loader.
- Changed trackable behavior of `login_user` when IP can not be detected
  from a request from 'untrackable' to `None` value.
- Use ProxyFix instead of inspecting X-Forwarded-For header.
- Fix identical problem with app as with datastore.
- Removed always-failing assertion.
- Fixed failure of init_app to set self.datastore.
- Changed to new style flask imports.
- Added proper error code when returning JSON response.
- Changed obsolete Required validator from WTForms to DataRequired. Bumped
  Flask-WTF to 0.13.
- Fixed missing `SECURITY_SUBDOMAIN` in config docs.
- Added cascade delete in PeeweeDatastore.
- Added notes to docs about `SECURITY_USER_IDENTITY_ATTRIBUTES`.
- Inspect value of `SECURITY_UNAUTHORIZED_VIEW`.
- Send password reset instructions if an attempt has expired.
- Added "Forgot password?" link to LoginForm description.
- Upgraded passlib, and removed bcrypt version restriction.
- Removed a duplicate line ('retype_password': 'Retype Password') in
  forms.py.
- Various documentation improvement.

diffstat:

 www/py-flask-security/Makefile |  15 ++++++++-------
 www/py-flask-security/PLIST    |  18 +++++++++++++++++-
 www/py-flask-security/distinfo |  10 +++++-----
 3 files changed, 30 insertions(+), 13 deletions(-)

diffs (89 lines):

diff -r d6b051ba9852 -r 3817a3c137f5 www/py-flask-security/Makefile
--- a/www/py-flask-security/Makefile    Thu Nov 22 02:36:28 2018 +0000
+++ b/www/py-flask-security/Makefile    Thu Nov 22 03:16:18 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2016/06/08 17:43:47 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2018/11/22 03:16:18 markd Exp $
 
-DISTNAME=      Flask-Security-1.7.5
+DISTNAME=      Flask-Security-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Security/}
@@ -10,13 +10,14 @@
 COMMENT=       Simple security for Flask apps
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-flask>=0.9:../../www/py-flask
-DEPENDS+=      ${PYPKGPREFIX}-flask-login>=0.2.3:../../www/py-flask-login
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel
+DEPENDS+=      ${PYPKGPREFIX}-flask>=0.11:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-flask-login>=0.3.0:../../www/py-flask-login
 DEPENDS+=      ${PYPKGPREFIX}-flask-mail>=0.7.3:../../www/py-flask-mail
 DEPENDS+=      ${PYPKGPREFIX}-flask-principal>=0.3.3:../../www/py-flask-principal
-DEPENDS+=      ${PYPKGPREFIX}-flask-wtf>=0.8:../../www/py-flask-wtf
-DEPENDS+=      ${PYPKGPREFIX}-itsdangerous>=0.17:../../security/py-itsdangerous
-DEPENDS+=      ${PYPKGPREFIX}-passlib>=1.6.1:../../security/py-passlib
+DEPENDS+=      ${PYPKGPREFIX}-flask-wtf>=0.13.1:../../www/py-flask-wtf
+DEPENDS+=      ${PYPKGPREFIX}-itsdangerous>=0.21:../../security/py-itsdangerous
+DEPENDS+=      ${PYPKGPREFIX}-passlib>=1.7:../../security/py-passlib
 
 USE_LANGUAGES= # empty
 
diff -r d6b051ba9852 -r 3817a3c137f5 www/py-flask-security/PLIST
--- a/www/py-flask-security/PLIST       Thu Nov 22 02:36:28 2018 +0000
+++ b/www/py-flask-security/PLIST       Thu Nov 22 03:16:18 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/08/05 17:54:13 kleink Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/11/22 03:16:18 markd Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,9 +8,15 @@
 ${PYSITELIB}/flask_security/__init__.py
 ${PYSITELIB}/flask_security/__init__.pyc
 ${PYSITELIB}/flask_security/__init__.pyo
+${PYSITELIB}/flask_security/babel.py
+${PYSITELIB}/flask_security/babel.pyc
+${PYSITELIB}/flask_security/babel.pyo
 ${PYSITELIB}/flask_security/changeable.py
 ${PYSITELIB}/flask_security/changeable.pyc
 ${PYSITELIB}/flask_security/changeable.pyo
+${PYSITELIB}/flask_security/cli.py
+${PYSITELIB}/flask_security/cli.pyc
+${PYSITELIB}/flask_security/cli.pyo
 ${PYSITELIB}/flask_security/confirmable.py
 ${PYSITELIB}/flask_security/confirmable.pyc
 ${PYSITELIB}/flask_security/confirmable.pyo
@@ -63,6 +69,16 @@
 ${PYSITELIB}/flask_security/templates/security/reset_password.html
 ${PYSITELIB}/flask_security/templates/security/send_confirmation.html
 ${PYSITELIB}/flask_security/templates/security/send_login.html
+${PYSITELIB}/flask_security/translations/da_DK/LC_MESSAGES/flask_security.mo
+${PYSITELIB}/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po
+${PYSITELIB}/flask_security/translations/de_DE/LC_MESSAGES/flask_security.mo
+${PYSITELIB}/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po
+${PYSITELIB}/flask_security/translations/flask_security.pot
+${PYSITELIB}/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.mo
+${PYSITELIB}/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po
+${PYSITELIB}/flask_security/translations/nl_NL/LC_MESSAGES/messages.po
+${PYSITELIB}/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.mo
+${PYSITELIB}/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po
 ${PYSITELIB}/flask_security/utils.py
 ${PYSITELIB}/flask_security/utils.pyc
 ${PYSITELIB}/flask_security/utils.pyo
diff -r d6b051ba9852 -r 3817a3c137f5 www/py-flask-security/distinfo
--- a/www/py-flask-security/distinfo    Thu Nov 22 02:36:28 2018 +0000
+++ b/www/py-flask-security/distinfo    Thu Nov 22 03:16:18 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2016/01/08 17:52:33 kleink Exp $
+$NetBSD: distinfo,v 1.10 2018/11/22 03:16:18 markd Exp $
 
-SHA1 (Flask-Security-1.7.5.tar.gz) = 7962f133fa471e9c6b9e7af9cdead4407eb1ba57
-RMD160 (Flask-Security-1.7.5.tar.gz) = 8fe419bfc63c0f86adaadc012677e6fdf3b5d633
-SHA512 (Flask-Security-1.7.5.tar.gz) = 41fd806d35746bdc212aa4ab01af678d39765a6d4df42cd19c87b8a2060374112d3e8a5f2fc243e88906505d6a942b9a824cf19a29b2c0eebacde9299534ffc9
-Size (Flask-Security-1.7.5.tar.gz) = 42261 bytes
+SHA1 (Flask-Security-3.0.0.tar.gz) = 6a2b9bc23c24d728b8d2d5b8aabb0c9feb45615c
+RMD160 (Flask-Security-3.0.0.tar.gz) = 2bc3bed86bf177df6c26a4233b86d60e33d0f265
+SHA512 (Flask-Security-3.0.0.tar.gz) = 09b94f0850372513add5c054c07aa465ecb95e8d1c414647e3ebee571ec08c94a29f0c138d092c02a55e242c422bc53f929ca066d671c082dcb29834ac753984
+Size (Flask-Security-3.0.0.tar.gz) = 160367 bytes



Home | Main Index | Thread Index | Old Index