Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ready for 5.3.1 #849

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: check-merge-conflict
- id: fix-byte-order-marker
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.14.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand Down
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ Version 5.3.1

Released October XX, 2023

Please Note: py_webauthn is pinned to 1.9.0 until the issue with user_handle
is resolved.
Please Note: If your application uses webauthn you must pin py_webauthn to 1.9.0
until the issue with user_handle is resolved.

Fixes
++++++

- (:issue:`847`) Compatability with Flask 3.0 (wangsha)
- (:issue:`829`) Revert change in 5.3.0 that added a Referrer-Policy header.
- (:issue:`826`) Fix error in quickstart (codycollier)
- (:pr:`835`) Update Armenian translations (amkrtchyan-tmp)
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ extensions out of the box for data persistence:
1. `Flask-SQLAlchemy <https://pypi.python.org/pypi/flask-sqlalchemy/>`_
2. `MongoEngine <https://pypi.python.org/pypi/mongoengine/>`_
3. `Peewee Flask utils <https://docs.peewee-orm.com/en/latest/peewee/playhouse.html#flask-utils>`_
4. `PonyORM <https://pypi.python.org/pypi/pony/>`_ - NOTE: not currently supported.
5. `SQLAlchemy sessions <https://docs.sqlalchemy.org/en/14/orm/session_basics.html>`_
4. `PonyORM <https://pypi.python.org/pypi/pony/>`_ - NOTE: not currently working - Help needed!.
5. `SQLAlchemy sessions <https://docs.sqlalchemy.org/en/20/orm/session_basics.html>`_


Getting Started
Expand Down
2 changes: 1 addition & 1 deletion flask_security/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@
)
from .webauthn_util import WebauthnUtil

__version__ = "5.3.0"
__version__ = "5.3.1"
3 changes: 2 additions & 1 deletion flask_security/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
import inspect
import typing as t

from flask import Markup, current_app, request
from flask import current_app, request
from flask_login import current_user
from flask_wtf import FlaskForm as BaseForm
from markupsafe import Markup
from wtforms import (
BooleanField,
EmailField,
Expand Down
60 changes: 30 additions & 30 deletions flask_security/translations/af_ZA/LC_MESSAGES/flask_security.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Security-Too 4.0.0\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2023-07-26 08:24-0700\n"
"POT-Creation-Date: 2023-10-04 16:34-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Michael Bosch <[email protected]>\n"
"Language: af_ZA\n"
Expand Down Expand Up @@ -430,124 +430,124 @@ msgstr ""
msgid "Credential user handle didn't match"
msgstr ""

#: flask_security/forms.py:58
#: flask_security/forms.py:59
msgid "Email Address"
msgstr "E-pos adres"

#: flask_security/forms.py:59
#: flask_security/forms.py:60
msgid "Password"
msgstr "Wagwoord"

#: flask_security/forms.py:60
#: flask_security/forms.py:61
msgid "Remember Me"
msgstr "Onthou My"

#: flask_security/forms.py:61 flask_security/templates/security/_menu.html:33
#: flask_security/forms.py:62 flask_security/templates/security/_menu.html:33
#: flask_security/templates/security/login_user.html:6
#: flask_security/templates/security/send_login.html:6
msgid "Login"
msgstr "Teken In"

#: flask_security/forms.py:62
#: flask_security/forms.py:63
#: flask_security/templates/security/email/us_instructions.html:14
#: flask_security/templates/security/us_signin.html:6
msgid "Sign In"
msgstr "Teken In"

#: flask_security/forms.py:63 flask_security/templates/security/_menu.html:43
#: flask_security/forms.py:64 flask_security/templates/security/_menu.html:43
#: flask_security/templates/security/register_user.html:6
msgid "Register"
msgstr "Registreer"

#: flask_security/forms.py:64
#: flask_security/forms.py:65
msgid "Resend Confirmation Instructions"
msgstr "Stuur Weer Bevestigings Instruksies"

#: flask_security/forms.py:65
#: flask_security/forms.py:66
msgid "Recover Password"
msgstr "Herstel Wagwoord"

#: flask_security/forms.py:66
#: flask_security/forms.py:67
msgid "Reset Password"
msgstr "Stel Wagwoord Terug"

#: flask_security/forms.py:67
#: flask_security/forms.py:68
msgid "Retype Password"
msgstr "Sleutel Weer Wagwoord In"

#: flask_security/forms.py:68
#: flask_security/forms.py:69
msgid "New Password"
msgstr "Nuwe Wagwoord"

#: flask_security/forms.py:69 flask_security/templates/security/_menu.html:12
#: flask_security/forms.py:70 flask_security/templates/security/_menu.html:12
msgid "Change Password"
msgstr "Verander Wagwoord"

#: flask_security/forms.py:70
#: flask_security/forms.py:71
msgid "Send Login Link"
msgstr "Stuur Intekenings Skakel"

#: flask_security/forms.py:71
#: flask_security/forms.py:72
msgid "Verify Password"
msgstr "Bevestig Wagwoord"

#: flask_security/forms.py:72
#: flask_security/forms.py:73
msgid "Change Method"
msgstr "Verander Metode"

#: flask_security/forms.py:73
#: flask_security/forms.py:74
msgid "Phone Number"
msgstr "Telefoon Nommer"

#: flask_security/forms.py:74
#: flask_security/forms.py:75
msgid "Authentication Code"
msgstr "Verifikasie Kode"

#: flask_security/forms.py:75
#: flask_security/forms.py:76
msgid "Submit"
msgstr "Stuur"

#: flask_security/forms.py:76
#: flask_security/forms.py:77
msgid "Submit Code"
msgstr "Stuur Kode"

#: flask_security/forms.py:77
#: flask_security/forms.py:78
msgid "Error(s)"
msgstr "Fout(e)"

#: flask_security/forms.py:78
#: flask_security/forms.py:79
msgid "Identity"
msgstr "Identiteit"

#: flask_security/forms.py:79
#: flask_security/forms.py:80
msgid "Send Code"
msgstr "Stuur Kode"

#: flask_security/forms.py:80
#: flask_security/forms.py:81
msgid "Passcode"
msgstr "Wagkode"

#: flask_security/forms.py:81
#: flask_security/forms.py:82
msgid "Username"
msgstr ""

#: flask_security/forms.py:82
#: flask_security/forms.py:83
msgid "Delete"
msgstr ""

#: flask_security/forms.py:83
#: flask_security/forms.py:84
msgid "Set up using email"
msgstr "Stel up deur midde van e-pos"

#: flask_security/forms.py:84
#: flask_security/forms.py:85
msgid "Set up using an authenticator app (e.g. google, lastpass, authy)"
msgstr "Stel op deur midde van verifikasie toep (bv. google, lastpass, authy)"

#: flask_security/forms.py:87
#: flask_security/forms.py:88
msgid "Set up using SMS"
msgstr "Stel op deur midde van SMS"

#: flask_security/forms.py:767
#: flask_security/forms.py:768
msgid "Disable two factor authentication"
msgstr ""

Expand Down
60 changes: 30 additions & 30 deletions flask_security/translations/ca_ES/LC_MESSAGES/flask_security.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Security 3.1.0\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2023-07-26 08:24-0700\n"
"POT-Creation-Date: 2023-10-04 16:34-0700\n"
"PO-Revision-Date: 2019-06-16 00:12+0200\n"
"Last-Translator: Orestes Sanchez <[email protected]>\n"
"Language: ca_ES\n"
Expand Down Expand Up @@ -432,124 +432,124 @@ msgstr ""
msgid "Credential user handle didn't match"
msgstr ""

#: flask_security/forms.py:58
#: flask_security/forms.py:59
msgid "Email Address"
msgstr "Correu electrònic"

#: flask_security/forms.py:59
#: flask_security/forms.py:60
msgid "Password"
msgstr "Contrasenya"

#: flask_security/forms.py:60
#: flask_security/forms.py:61
msgid "Remember Me"
msgstr "Recorda'm"

#: flask_security/forms.py:61 flask_security/templates/security/_menu.html:33
#: flask_security/forms.py:62 flask_security/templates/security/_menu.html:33
#: flask_security/templates/security/login_user.html:6
#: flask_security/templates/security/send_login.html:6
msgid "Login"
msgstr "Iniciar sessió"

#: flask_security/forms.py:62
#: flask_security/forms.py:63
#: flask_security/templates/security/email/us_instructions.html:14
#: flask_security/templates/security/us_signin.html:6
msgid "Sign In"
msgstr ""

#: flask_security/forms.py:63 flask_security/templates/security/_menu.html:43
#: flask_security/forms.py:64 flask_security/templates/security/_menu.html:43
#: flask_security/templates/security/register_user.html:6
msgid "Register"
msgstr "Registrar-se"

#: flask_security/forms.py:64
#: flask_security/forms.py:65
msgid "Resend Confirmation Instructions"
msgstr "Reenviar les instruccions de confirmació"

#: flask_security/forms.py:65
#: flask_security/forms.py:66
msgid "Recover Password"
msgstr "Restablir la contrasenya"

#: flask_security/forms.py:66
#: flask_security/forms.py:67
msgid "Reset Password"
msgstr "Restablir la contrasenya"

#: flask_security/forms.py:67
#: flask_security/forms.py:68
msgid "Retype Password"
msgstr "Escriu la contrasenya una altra vegada"

#: flask_security/forms.py:68
#: flask_security/forms.py:69
msgid "New Password"
msgstr "Nova contrasenya"

#: flask_security/forms.py:69 flask_security/templates/security/_menu.html:12
#: flask_security/forms.py:70 flask_security/templates/security/_menu.html:12
msgid "Change Password"
msgstr "Canvi de contrasenya"

#: flask_security/forms.py:70
#: flask_security/forms.py:71
msgid "Send Login Link"
msgstr "Enviar l'enllaç d'inici de sessió"

#: flask_security/forms.py:71
#: flask_security/forms.py:72
msgid "Verify Password"
msgstr ""

#: flask_security/forms.py:72
#: flask_security/forms.py:73
msgid "Change Method"
msgstr ""

#: flask_security/forms.py:73
#: flask_security/forms.py:74
msgid "Phone Number"
msgstr ""

#: flask_security/forms.py:74
#: flask_security/forms.py:75
msgid "Authentication Code"
msgstr ""

#: flask_security/forms.py:75
#: flask_security/forms.py:76
msgid "Submit"
msgstr ""

#: flask_security/forms.py:76
#: flask_security/forms.py:77
msgid "Submit Code"
msgstr ""

#: flask_security/forms.py:77
#: flask_security/forms.py:78
msgid "Error(s)"
msgstr ""

#: flask_security/forms.py:78
#: flask_security/forms.py:79
msgid "Identity"
msgstr ""

#: flask_security/forms.py:79
#: flask_security/forms.py:80
msgid "Send Code"
msgstr ""

#: flask_security/forms.py:80
#: flask_security/forms.py:81
msgid "Passcode"
msgstr ""

#: flask_security/forms.py:81
#: flask_security/forms.py:82
msgid "Username"
msgstr ""

#: flask_security/forms.py:82
#: flask_security/forms.py:83
msgid "Delete"
msgstr ""

#: flask_security/forms.py:83
#: flask_security/forms.py:84
msgid "Set up using email"
msgstr ""

#: flask_security/forms.py:84
#: flask_security/forms.py:85
msgid "Set up using an authenticator app (e.g. google, lastpass, authy)"
msgstr ""

#: flask_security/forms.py:87
#: flask_security/forms.py:88
msgid "Set up using SMS"
msgstr ""

#: flask_security/forms.py:767
#: flask_security/forms.py:768
msgid "Disable two factor authentication"
msgstr ""

Expand Down
Loading