Up to [cvs.NetBSD.org] / pkgsrc / www / py-flask-login
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-flask-login: updated to 0.6.3 Version 0.6.3 - Compatibility with Flask 3 and Werkzeug 3.
py-flask-login: Update to 0.6.2. Version 0.6.2 ------------- Released on July 25th, 2022 - Fix compatibility with Werkzeug 2.2 and Flask 2.2. 691 - Revert change to `expand_login_view` that attempted to preserve a dynamic subdomain value. Such values should be handled using `app.url_value_preprocessor` and `app.url_defaults`. 691 - Ensure deprecation warnings are present for deprecated features that will be removed in the next feature release. - Use `request_loader` instead of `header_loader`. - Use `user_loaded_from_request` instead of `user_loaded_from_header`. - Use `app.config["LOGIN_DISABLED"]` instead of `_login_disabled`. - Use `init_app` instead of `setup_app`.
py-flask-login: Update to 0.6.1. Version 0.6.1 ------------- Released on May 1st, 2022 - Only preserve subdomain or host view args in unauthorized redirect - The new utility function `login_remembered` returns `True` if the current login is remembered across sessions. - Fix side effect potentially executing view twice for same request. - Clarify usage of FlaskLoginClient test client in docs.
*: mark py-flask dependencies as not-for-python-2.x I'll update py-flask soon; the current pkgsrc of py-flask version is broken and all newer versions do not support python 2.x
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-flask-login: Update to 0.5.0. Version 0.5.0 ------------- Released on February 9th, 2020 - New custom test client: `flask_login.FlaskLoginClient`. You can use this to write clearer automated tests. 431 - Prefix authenticated user_id, remember, and remember_seconds in Flask Session with underscores to prevent accidental usage in application code. 470 - Simplify user loading. 378 - Various documentation improvements. 393, 394, 397, 417 - Set session ID when setting next. 403 - Clear session identifier on logout. 404 - Ensure use of a safe and up-to-date version of Flask. - Drop support of Python versions: 2.6, 3.3, 3.4 450
py-flask-login: updated to 0.4.1 Version 0.4.1: - New config option USE_SESSION_FOR_NEXT to enable storing next url in session instead of url. - Accept int seconds along with timedelta for REMEMBER_COOKIE_DURATION. - New config option FORCE_HOST_FOR_REDIRECTS to force host for redirects.
Update py-flask-login to 0.4.0. Version 0.4.0 ------------- Released on October 26th, 2016 - Fixes OPTIONS exemption from login. #244 - Fixes use of MD5 by replacing with SHA512. #264 - BREAKING: The `login_manager.token_handler` function, `get_auth_token` method on the User class, and the `utils.make_secure_token` utility function have been removed to prevent users from creating insecure auth implementations. Use the `Alternative Tokens` example from the docs instead. #291
Update py-flask-login to 0.3.2. Version 0.3.2 ------------- Released on October 8th, 2015 - Fixes Python 2.6 compatibility. - Updates SESSION_KEYS to include "remember". Version 0.3.1 ------------- Released on September 30th, 2015 - Fixes removal of non-Flask-Login keys from session object when using 'strong' protection.
Update py-flask-login to 0.3.0. Version 0.3.0 ------------- Released on September 10th, 2015 - Fixes handling of X-Forward-For header. - Update to use SHA512 instead of MS5 for session identifier creation. - Fixes session creation for every view. - BREAKING: UTC used to set cookie duration. - BREAKING: Non-fresh logins now returns HTTP 401. - Support unicode user IDs in cookie. - Fixes user_logged_out signal invocation. - Support for per-Blueprint login views. - BREAKING: The `is_authenticated`, `is_active`, and `is_anonymous` members of the user class are now properties, not methods. Applications should update their user classes accordingly. - Various other improvements including documentation and code clean up.
Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages.
Update py-flask-login to 0.2.11. Version 0.2.11 -------------- - Fixes missing request loader invocation when authorization header exists.
Update py-flask-login to 0.2.10. Version 0.2.10 -------------- Released on March 9th, 2014 - Generalized `request_loader` introduced; ability to log users in via customized callback over request. - Fixes request context dependency by explicitly checking `has_request_context`. - Fixes remember me issues since lazy user loading changes.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
PYTHON_VERSIONS_INCOMPATIBLE cleanup.
Update py-flask-login to 0.2.9. Version 0.2.9-dev ----------------- Released on December 28th, 2013 - Fixes anonymous user assignment. - Fixes localization in Python 3. Version 0.2.8 ------------- Released on December 21st 2013 - Support login via authorization header. This allows login via Basic Auth, for example. Useful in an API presentation context. - Ability to override user ID method name. This is useful if the ID getter is named differently than the default. - Session data is now only read when the user is requested. This can be beneficial for cookie and caching control when differenting between requests that use user information for rendering and ones where all users (including anonymous) get the same result (e.g. static pages) - BREAKING: User *must* always be accessed through the ``current_user`` local. This breaks any previous direct access to ``_request_ctx.top.user``. This is because user is not loaded until current_user is accessed. - Fixes unnecessary access to the session when the user is anonymous and session protection is active. see https://github.com/maxcountryman/flask-login/issues/120 - Fixes issue where order dependency of applying the login manager before dependent applications was required. see https://github.com/mattupstate/flask-principal/issues/22 - Fixes Python 3 ``UserMixin`` hashing. - Fixes incorrect documentation.
Update py-flask-login to 0.2.7. No changelog provided; fixes to unicode handling.
Enable Python 3.3.
Update py-flask-login to 0.2.6. 0.2.6 ----- * Add options to disable the login decorators. * if availabe, use X-Forwarded-For header instead of request.remote_addr for the session protectin id
Update py-flask-login to 0.2.5. 0.2.4 ----- * Python 3 related changes * Auto app initalization 0.2.5 ----- * Don't modify the session unless there's something to do
Update www/py-flask-login to 0.2.3. No changelog provided; several bug fixes, including compatibility with Werkzeug-0.9 and Flask-0.10.
Sprinkle empty USE_LANGUAGES definitions in pure python packages where missed at import time.
Import Flask-Login-0.1.3 as www/py-flask-login. Flask-Login provides user session management for Flask. It handles the common tasks of logging in, logging out, and remembering your users' sessions over extended periods of time.