File python-Flask-Login.changes of Package python-Flask-Login
-------------------------------------------------------------------
Tue May 6 06:02:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Actually run the testsuite.
- Switch to pyproject macros.
- Support both uppercased and normalized metadata directory names.
- Add patch do-not-use-datetime-utcnow.patch:
* Do not use deprecated datetime.utcnow() function.
-------------------------------------------------------------------
Sun Sep 8 12:45:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.6.3:
* Compatibility with Flask 3 and Werkzeug 3. #813
- drop 0001-fix-avoid-Deprecated-werkzeug.urls.url_decode.patch
(upstream)
-------------------------------------------------------------------
Fri Dec 29 12:13:52 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Use %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Oct 30 08:22:57 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Add patch from upstream to fix compatibility with Werkzeug 3.0.x
where werkzeug.urls removed url_decode/url_encode:
* 0001-fix-avoid-Deprecated-werkzeug.urls.url_decode.patch
-------------------------------------------------------------------
Fri Sep 30 04:41:37 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.6.2:
* 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
-------------------------------------------------------------------
Sun Jun 5 04:37:42 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 0.6.1:
* Only preserve subdomain or host view args in unauthorized redirect
#663
* The new utility function login_remembered returns True if the
current login is remembered across sessions. #654
* Fix side effect potentially executing view twice for same
request. #666
* Clarify usage of FlaskLoginClient test client in docs. #668
-------------------------------------------------------------------
Sat Apr 9 02:28:36 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* require python >= 3.7
- update to version 0.6.0:
* Drop support for Python 2.7, 3.5, and 3.6, which have all reached
the end of their official support. #594, #638
* The minimum supported version of Flask is 1.0.4, and Werkzeug is
1.0.1. However, projects are advised to use the latest versions of
both. #639
* Only flash "needs_refresh_message" if value is set #464
* Modify expand_login_view to allow for subdomain and host matching
for login_view #462
* Add accessors for request_loader and user_loader callback
functions #472
* Change "remember_me" cookie to match Werkzeug default value #488
* Change "remember_me" cookie to HttpOnly, matching Flask session
cookie #488
* Add example for using unauthorized_handler #492
* Fix assertEqual deprecation warning in pytest #518
* Fix collections deprecation warning under Python 3.8 #525
* Replace safe_str_cmp with hmac.compare_digest #585
* Document REMEMBER_COOKIE_SAMESITE config #577
* Revise setup.py to use README.md for long description #598
* Various documentation corrections #484, #482, #487, #534
* Fix from flask_login import * behavior, although note that import
* is not usually a good pattern in code. #485
* UserMixin.is_authenticated will return whatever is_active returns
by default. This prevents inactive users from logging in. #486,
#530
* Session protection will only mark the session as not fresh if it's
not already marked as such, avoiding modifying the session cookie
unnecessarily. #612
-------------------------------------------------------------------
Sun Feb 16 05:59:39 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* remove python devel
* be more specific in %files section
- update to version 0.5.0:
* 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
-------------------------------------------------------------------
Sun Dec 3 18:32:18 UTC 2017 - arun@gmx.de
- update to version 0.4.1:
* New config option USE_SESSION_FOR_NEXT to enable storing next url
in session instead of url. #330
* Accept int seconds along with timedelta for
REMEMBER_COOKIE_DURATION. #370
* New config option FORCE_HOST_FOR_REDIRECTS to force host for
redirects. #371
-------------------------------------------------------------------
Fri Sep 8 18:54:27 UTC 2017 - toddrme2178@gmail.com
- Initial version