* Fix 2 Flask apps in same thread with USERNAME_ENABLE set. There was a too aggressive config check. * Fix json/flask backwards compatibility hack. * Fix unified signup when two-factor not enabled. (sebdroid) * Add dependency on setuptools (pkg_resources). (hroncok) * Option to encrypt recovery codes. * Support for authentication via 'social' oauth. * Support for Python 3.11 * Fixes for Flask-SQLAlchemy 3.0.0. (jrast) * Fixes for sqlalchemy 2.0.0 (jrast) * Webauthn and Unified signin features now properly take into account blueprint prefixes. * Properly propagate ?next=/xx - the verify, webauthn, and unified signin endpoints, that had multiple redirects, needed fixes. * Two factor redirects ignored url_prefix. Added a SECURITY_TWO_FACTOR_ERROR_VIEW configuration option. * Add configurations for static folder/URL and make sure templates reference blueprint relative static folder. * Send entire context to MailUtil::send_mail (patrickyan) * Support for Flask-Babel 3.0.0 * Add configuration option SECURITY_TWO_FACTOR_POST_SETUP_VIEW which is redirected to upon successful change of a two factor method. * The ability to pass in a LoginManager instance which was deprecated in 5.0 has been removed. - Drop patch support-Flask-SQLAlchemy-3.0.patch, now included upstream. - Refresh all other patches. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Security-Too?expand=0&rev=27
23 lines
959 B
Diff
23 lines
959 B
Diff
Index: Flask-Security-Too-5.1.1/tests/conftest.py
|
|
===================================================================
|
|
--- Flask-Security-Too-5.1.1.orig/tests/conftest.py
|
|
+++ Flask-Security-Too-5.1.1/tests/conftest.py
|
|
@@ -879,7 +879,7 @@ def client_nc(request, sqlalchemy_app):
|
|
return app.test_client(use_cookies=False)
|
|
|
|
|
|
-@pytest.fixture(params=["cl-sqlalchemy", "c2", "cl-mongo", "cl-peewee"])
|
|
+@pytest.fixture(params=["cl-sqlalchemy", "c2", "cl-peewee"])
|
|
def clients(request, app, tmpdir, realdburl, realmongodburl):
|
|
if request.param == "cl-sqlalchemy":
|
|
ds = sqlalchemy_setup(request, app, tmpdir, realdburl)
|
|
@@ -925,7 +925,7 @@ def get_message_local(app):
|
|
|
|
|
|
@pytest.fixture(
|
|
- params=["sqlalchemy", "sqlalchemy-session", "mongoengine", "peewee", "pony"]
|
|
+ params=["sqlalchemy", "sqlalchemy-session", "peewee", "pony"]
|
|
)
|
|
def datastore(request, app, tmpdir, realdburl, realmongodburl):
|
|
if request.param == "sqlalchemy":
|