From 3755a4437078876d019786e18c1b303c7afc398d Mon Sep 17 00:00:00 2001 From: Chris Wagner Date: Wed, 31 Jul 2024 10:07:07 -0700 Subject: [PATCH] Update to new home - pallets-eco (#1015) * Update to new home - pallets-eco - Change all references to Flask-Security-Too to Flask-Security - update codecov - update badges - regenerate translations - continue finding places that need branch name changed to main --- .github/workflows/tests.yml | 8 +-- .pre-commit-config.yaml | 2 +- AUTHORS | 2 - CHANGES.rst | 15 ++++- CONTRIBUTING.rst | 10 +-- README.rst | 61 +++++++++++-------- docs/conf.py | 14 ++--- docs/index.rst | 2 +- docs/installation.rst | 8 +-- docs/openapi.yaml | 8 +-- docs/quickstart.rst | 12 ++-- docs/spa.rst | 2 +- docs/two_factor_configurations.rst | 2 +- flask_security/__init__.py | 2 +- .../af_ZA/LC_MESSAGES/flask_security.po | 8 +-- .../ca_ES/LC_MESSAGES/flask_security.po | 2 +- .../da_DK/LC_MESSAGES/flask_security.po | 2 +- .../de_DE/LC_MESSAGES/flask_security.po | 2 +- .../es_ES/LC_MESSAGES/flask_security.po | 2 +- .../eu_ES/LC_MESSAGES/flask_security.po | 2 +- .../translations/flask_security.pot | 4 +- .../fr_FR/LC_MESSAGES/flask_security.po | 2 +- .../hu_HU/LC_MESSAGES/flask_security.po | 2 +- .../hy_AM/LC_MESSAGES/flask_security.po | 2 +- .../is_IS/LC_MESSAGES/flask_security.po | 2 +- .../it_IT/LC_MESSAGES/flask_security.po | 2 +- .../ja_JP/LC_MESSAGES/flask_security.po | 2 +- .../nl_NL/LC_MESSAGES/flask_security.po | 2 +- .../pl_PL/LC_MESSAGES/flask_security.po | 4 +- .../pt_BR/LC_MESSAGES/flask_security.po | 2 +- .../pt_PT/LC_MESSAGES/flask_security.po | 2 +- .../ru_RU/LC_MESSAGES/flask_security.po | 2 +- .../tr_TR/LC_MESSAGES/flask_security.po | 2 +- .../zh_Hans_CN/LC_MESSAGES/flask_security.po | 2 +- pyproject.toml | 12 ++-- tests/test_misc.py | 2 +- tox.ini | 2 +- 37 files changed, 114 insertions(+), 100 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 618d8665..60209ee0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,11 +4,11 @@ name: tests on: push: branches: - - master + - main - "[0-9]+.[0-9]+.x" pull_request: branches: - - master + - main - "[0-9]+.[0-9]+.x" # Allows you to run this workflow manually from the Actions tab @@ -27,8 +27,8 @@ jobs: - {python: '3.10', tox: 'py310-low'} - {python: '3.11', tox: 'py311-release'} - {python: '3.11', tox: 'py311-low'} - - { python: '3.12', tox: 'py312-release' } - - { python: '3.12', tox: 'py312-low' } + - {python: '3.12', tox: 'py312-release' } + - {python: '3.12', tox: 'py312-low' } - {python: 'pypy-3.9', tox: 'pypy39-release'} - {python: 'pypy-3.9', tox: 'pypy39-low'} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f06b1a6c..951f2add 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-merge-conflict - id: fix-byte-order-marker - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py39-plus] diff --git a/AUTHORS b/AUTHORS index 3bfdb729..c5485dfe 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,7 +1,5 @@ Flask-Security was written by Matt Wright and various contributors. -Flask-Security-Too is an independently maintained repo: - Development Lead ```````````````` diff --git a/CHANGES.rst b/CHANGES.rst index 53a7cbdb..ffafb2cb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,15 @@ Flask-Security Changelog Here you can see the full list of changes between each Flask-Security release. +Version 5.5.1 +------------- + +Released xxx + +I am pleased to announce that Flask-Security-Too is now part of pallets-eco and has returned +to be released as 'Flask-Security'. For the foreseeable future, we will publish the same release to both +Flask-Security and Flask-Security-Too on PyPI. + Version 5.5.0 ------------- @@ -336,7 +345,7 @@ Fixes Known Issues ++++++++++++ -- Flask-mongoengine hasn't released in a while and currently will not work with latest Flask and Flask-Security-Too +- Flask-mongoengine hasn't released in a while and currently will not work with latest Flask and Flask-Security-Too/Flask-Security (this is due to the JSONEncoder being deprecated and removed). Backwards Compatibility Concerns @@ -905,8 +914,8 @@ using an authenticator app b) the qrcode is only available during the time the user is first setting up their authentication app. The QRcode issue has been fixed in 4.0. -.. _qrcode: https://github.com/Flask-Middleware/flask-security/issues/418 -.. _login: https://github.com/Flask-Middleware/flask-security/issues/421 +.. _qrcode: https://github.com/pallets-eco/flask-security/issues/418 +.. _login: https://github.com/pallets-eco/flask-security/issues/421 Fixed +++++ diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 2233c38e..72232412 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -20,7 +20,7 @@ useful - if your feature has limited applicability, consider making a small change that ENABLES your feature, rather than trying to get the entire feature into Flask-Security. -.. _bug reports: https://github.com/Flask-Middleware/flask-security/issues +.. _bug reports: https://github.com/pallets-eco/flask-security/issues Checklist @@ -38,22 +38,22 @@ Getting the code ---------------- The code is hosted on a GitHub repo at -https://github.com/Flask-Middleware/flask-security. To get a working environment, follow +https://github.com/pallets-eco/flask-security. To get a working environment, follow these steps: #. (Optional, but recommended) Create a Python 3.6 (or greater) virtualenv to work in, and activate it. - #. Fork the repo `Flask-Security `_ + #. Fork the repo `Flask-Security `_ (look for the "Fork" button). #. Clone your fork locally:: $ git clone https://github.com//flask-security - #. Change directory to flask_security:: + #. Change directory to flask-security:: - $ cd flask_security + $ cd flask-security #. Install the requirements:: diff --git a/README.rst b/README.rst index da73bc30..2bccc8e2 100644 --- a/README.rst +++ b/README.rst @@ -1,26 +1,30 @@ Flask-Security =================== -.. image:: https://github.com/Flask-Middleware/flask-security/workflows/tests/badge.svg?branch=master&event=push - :target: https://github.com/Flask-Middleware/flask-security +.. image:: https://github.com/pallets-eco/flask-security/workflows/tests/badge.svg?branch=main&event=push + :target: https://github.com/pallets-eco/flask-security -.. image:: https://codecov.io/gh/Flask-Middleware/flask-security/branch/master/graph/badge.svg?token=U02MUQJ7BM - :target: https://codecov.io/gh/Flask-Middleware/flask-security +.. image:: https://codecov.io/gh/pallets-eco/flask-security/graph/badge.svg?token=ZYS0AST5M3 + :target: https://codecov.io/gh/pallets-eco/flask-security :alt: Coverage! -.. image:: https://img.shields.io/github/tag/Flask-Middleware/flask-security.svg - :target: https://github.com/Flask-Middleware/flask-security/releases +.. image:: https://img.shields.io/github/tag/pallets-eco/flask-security.svg + :target: https://github.com/pallets-eco/flask-security/releases + +.. image:: https://img.shields.io/pypi/dm/flask-security.svg + :target: https://pypi.python.org/pypi/flask-security + :alt: Downloads .. image:: https://img.shields.io/pypi/dm/flask-security-too.svg :target: https://pypi.python.org/pypi/flask-security-too :alt: Downloads -.. image:: https://img.shields.io/github/license/Flask-Middleware/flask-security.svg - :target: https://github.com/Flask-Middleware/flask-security/blob/master/LICENSE +.. image:: https://img.shields.io/github/license/pallets-eco/flask-security.svg + :target: https://github.com/pallets-eco/flask-security/blob/main/LICENSE :alt: License -.. image:: https://readthedocs.org/projects/flask-security-too/badge/?version=latest - :target: https://flask-security-too.readthedocs.io/en/latest/?badge=latest +.. image:: https://readthedocs.org/projects/flask-security/badge/?version=latest + :target: https://flask-security.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://img.shields.io/badge/code%20style-black-000000.svg @@ -34,18 +38,24 @@ Quickly add security features to your Flask application. Notes on this repo ------------------ -This is an independently maintained version of Flask-Security forked from the 3.0.0 +As of 7/30/2024, the independent fork Flask-Security-Too replaced the archived +Flask-Security repo (now called Flask-Security-3.0). This repo is published at PyPI at +both Flask-Security and Flask-Security-Too. + +Flask-Security-Too was a fork from the 3.0.0 version of the `Original `_ +Pallets Community Ecosystem +---------------------------- + +This project is part of the Pallets Community Ecosystem. Pallets is the open +source organization that maintains Flask; Pallets-Eco enables community +maintenance of related projects. If you are interested in helping maintain +this project, please reach out on `the Pallets Discord server `. + Goals +++++ -* Regain momentum for this critical piece of the Flask eco-system. To that end the - plan is to put out small, frequent releases starting with pulling the simplest - and most obvious changes that have already been vetted in the upstream version, as - well as other pull requests. This was completed with the June 29 2019 3.2.0 release. -* Continue work to get Flask-Security to be usable from Single Page Applications, - such as those built with Vue and Angular, that have no html forms. This is true as of the 3.3.0 - release. + * Use `OWASP `_ to guide best practice and default configurations. * Be more opinionated and 'batteries' included by reducing reliance on abandoned projects and bundling in support for common use cases. @@ -63,11 +73,10 @@ Goals Contributing ++++++++++++ -Issues and pull requests are welcome. Other maintainers are also welcome. Unlike -the original Flask-Security - issue pull requests against the *master* branch. +Issues and pull requests are welcome. Other maintainers are also welcome. Please consult these `contributing`_ guidelines. -.. _contributing: https://github.com/Flask-Middleware/flask-security/blob/master/CONTRIBUTING.rst +.. _contributing: https://github.com/pallets-eco/flask-security/blob/main/CONTRIBUTING.rst Installing ---------- @@ -75,13 +84,13 @@ Install and update using `pip `_: :: - pip install -U Flask-Security-Too + pip install -U Flask-Security Resources --------- -- `Documentation `_ -- `Releases `_ -- `Issue Tracker `_ -- `Code `_ +- `Documentation `_ +- `Releases `_ +- `Issue Tracker `_ +- `Code `_ diff --git a/docs/conf.py b/docs/conf.py index a1779f37..ba867150 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,7 +58,7 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -release, version = get_version("Flask-Security-Too") +release, version = get_version("Flask-Security") # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -148,17 +148,15 @@ html_theme_options = {"index_sidebar_logo": False} html_context = { "project_links": [ - ProjectLink("PyPI releases", "https://pypi.org/project/Flask-Security-Too/"), - ProjectLink( - "Source Code", "https://github.com/Flask-Middleware/flask-security/" - ), + ProjectLink("PyPI releases", "https://pypi.org/project/Flask-Security/"), + ProjectLink("Source Code", "https://github.com/pallets-eco/flask-security/"), ProjectLink( "Issue Tracker", - "https://github.com/Flask-Middleware/flask-security/issues/", + "https://github.com/pallets-eco/flask-security/issues/", ), ProjectLink( "Changes", - "https://flask-security-too.readthedocs.io/en/stable/changelog.html", + "https://flask-security.readthedocs.io/en/stable/changelog.html", ), ] } @@ -200,4 +198,4 @@ # -- Options for sphinx-issues --------------------------------------------- # Github repo -issues_github_path = "Flask-Middleware/flask-security" +issues_github_path = "pallets-eco/flask-security" diff --git a/docs/index.rst b/docs/index.rst index 0e1785ee..3109e1c3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,7 +8,7 @@ Welcome to Flask-Security :alt: Flask-Security: add a drop of security to your Flask application. :align: left :width: 100% - :target: https://github.com/Flask-Middleware/flask-security + :target: https://github.com/pallets-eco/flask-security Flask-Security allows you to quickly add common security mechanisms to your diff --git a/docs/installation.rst b/docs/installation.rst index c543239d..4bb8f5e3 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,9 +1,9 @@ Installation ============= -Installing Flask-Security-Too using:: +Installing Flask-Security using:: - pip install flask-security-too + pip install flask-security will install the basic package along with its required dependencies: @@ -18,11 +18,11 @@ will install the basic package along with its required dependencies: These are not sufficient for a complete application - other packages are required based on features desired, password hash algorithms, storage backend, etc. -Flask-Security-Too has additional distribution 'extras' that can reduce the hassle +Flask-Security has additional distribution 'extras' that can reduce the hassle of figuring out all the required packages. You can install these using the standard pip syntax:: - pip install flask-security-too[extra1,extra2, ...] + pip install flask-security[extra1,extra2, ...] Supported extras are: diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 3c1b3c9e..d9960bc4 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -12,15 +12,15 @@ info: if you render the form from your Flask application. If you send JSON, then you must include a request header (configured via __SECURITY_CSRF_HEADER__). Please read the online documentation to find out details on how CSRF can be configured. - You can download the latest spec from: https://github.com/Flask-Middleware/flask-security/blob/master/docs/openapi.yaml + You can download the latest spec from: https://github.com/pallets-eco/flask-security/blob/main/docs/openapi.yaml version: 2.0.0 title: "Flask-Security External API" contact: - name: Flask-Security-Too - url: https://github.com/Flask-Middleware/flask-security + name: Flask-Security + url: https://github.com/pallets-eco/flask-security license: name: MIT - url: https://github.com/Flask-Middleware/flask-security/blob/master/LICENSE + url: https://github.com/pallets-eco/flask-security/blob/main/LICENSE paths: /login: get: diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 3c902169..7cc6022c 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -48,7 +48,7 @@ Flask-SQLAlchemy Install requirements $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[fsqla,common] + $ pip install flask-security[fsqla,common] Flask-SQLAlchemy Application @@ -143,7 +143,7 @@ This requires python >= 3.10:: $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[common] sqlalchemy flask-sqlalchemy-lite + $ pip install flask-security[common] sqlalchemy flask-sqlalchemy-lite Flask-SQLAlchemy-Lite Application ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -242,7 +242,7 @@ This requires python >= 3.10:: $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[common] sqlalchemy + $ pip install flask-security[common] sqlalchemy SQLAlchemy Application (w/o Flask-SQLAlchemy) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -369,7 +369,7 @@ MongoEngine Install requirements $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[common] mongoengine + $ pip install flask-security[common] mongoengine MongoEngine Application ~~~~~~~~~~~~~~~~~~~~~~~ @@ -469,7 +469,7 @@ Peewee Install requirements $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[common] peewee + $ pip install flask-security[common] peewee Peewee Application ~~~~~~~~~~~~~~~~~~ @@ -626,4 +626,4 @@ You also might want to set the following configurations in your conftest.py: # Make this plaintext for most tests - reduces unit test time by 50% app.config["SECURITY_PASSWORD_HASH"] = "plaintext" -.. _Flask-Security repo: https://github.com/Flask-Middleware/flask-security +.. _Flask-Security repo: https://github.com/pallets-eco/flask-security diff --git a/docs/spa.rst b/docs/spa.rst index dcace667..b8050723 100644 --- a/docs/spa.rst +++ b/docs/spa.rst @@ -109,7 +109,7 @@ webserver. A couple of deployment options and their configurations will be descr Nginx ~~~~~ -When serving a SPA from a Nginx webserver the Flask backend, with Flask-Security-Too, will probably be served via +When serving a SPA from a Nginx webserver the Flask backend, with Flask-Security, will probably be served via Nginx's reverse proxy feature. The javascript is served from Nginx itself and all calls to a certain path will be routed to the reversed proxy. The example below routes all http requests to *"/api/"* to the Flask backend and handles all other requests directly from javascript. This has a couple of benefits as all the requests happen within the same domain so you diff --git a/docs/two_factor_configurations.rst b/docs/two_factor_configurations.rst index 4e08782c..0f1135af 100644 --- a/docs/two_factor_configurations.rst +++ b/docs/two_factor_configurations.rst @@ -22,7 +22,7 @@ SQLAlchemy Install requirements $ python3 -m venv pymyenv $ . pymyenv/bin/activate - $ pip install flask-security-too[common,mfa,fsqla] + $ pip install flask-security[common,mfa,fsqla] Two-factor Application diff --git a/flask_security/__init__.py b/flask_security/__init__.py index 55631a39..00b26d04 100644 --- a/flask_security/__init__.py +++ b/flask_security/__init__.py @@ -139,4 +139,4 @@ ) from .webauthn_util import WebauthnUtil -__version__ = "5.5.0" +__version__ = "5.5.1" diff --git a/flask_security/translations/af_ZA/LC_MESSAGES/flask_security.po b/flask_security/translations/af_ZA/LC_MESSAGES/flask_security.po index dd17cf4d..e9900ef9 100644 --- a/flask_security/translations/af_ZA/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/af_ZA/LC_MESSAGES/flask_security.po @@ -1,14 +1,14 @@ -# Afrikaans (South Africa) translations for Flask-Security-Too. +# Afrikaans (South Africa) translations for Flask-Security. # Copyright (C) 2021 Lonely Viking -# This file is distributed under the same license as the Flask-Security-Too +# This file is distributed under the same license as the Flask-Security # project. # Michael Bosch , 2021. # msgid "" msgstr "" -"Project-Id-Version: Flask-Security-Too 4.0.0\n" +"Project-Id-Version: Flask-Security 4.0.0\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Michael Bosch \n" "Language: af_ZA\n" diff --git a/flask_security/translations/ca_ES/LC_MESSAGES/flask_security.po b/flask_security/translations/ca_ES/LC_MESSAGES/flask_security.po index 492d7e20..ff763d21 100644 --- a/flask_security/translations/ca_ES/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/ca_ES/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 3.1.0\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2019-06-16 00:12+0200\n" "Last-Translator: Orestes Sanchez \n" "Language: ca_ES\n" diff --git a/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po b/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po index 3eaf0474..a3830721 100644 --- a/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.1.0\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2017-03-23 14:04+0100\n" "Last-Translator: Leonhard Printz \n" "Language: da_DK\n" diff --git a/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po b/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po index 796a1cfd..3e34ea2b 100644 --- a/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 4.1.3\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2022-04-05 13:50+0200\n" "Last-Translator: Pascua Theus \n" "Language: de_DE\n" diff --git a/flask_security/translations/es_ES/LC_MESSAGES/flask_security.po b/flask_security/translations/es_ES/LC_MESSAGES/flask_security.po index 43c15dd1..bbb3f6cb 100644 --- a/flask_security/translations/es_ES/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/es_ES/LC_MESSAGES/flask_security.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 5.4.3\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2024-07-08 15:04+0200\n" "Last-Translator: Giorgio Stampa \n" "Language: es_ES\n" diff --git a/flask_security/translations/eu_ES/LC_MESSAGES/flask_security.po b/flask_security/translations/eu_ES/LC_MESSAGES/flask_security.po index 26d83755..30214906 100644 --- a/flask_security/translations/eu_ES/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/eu_ES/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 4.0.0\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2020-11-28 13:41+0100\n" "Last-Translator: Martin Mozos \n" "Language: eu_ES\n" diff --git a/flask_security/translations/flask_security.pot b/flask_security/translations/flask_security.pot index 2cfe9b51..dbde265e 100644 --- a/flask_security/translations/flask_security.pot +++ b/flask_security/translations/flask_security.pot @@ -7,9 +7,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Flask-Security 5.5.0\n" +"Project-Id-Version: Flask-Security 5.5.1\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po b/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po index af525497..8655a0c9 100644 --- a/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2017-06-08 10:13+0200\n" "Last-Translator: Alexandre Bulté \n" "Language: fr_FR\n" diff --git a/flask_security/translations/hu_HU/LC_MESSAGES/flask_security.po b/flask_security/translations/hu_HU/LC_MESSAGES/flask_security.po index 2d8cfd2c..65f57887 100644 --- a/flask_security/translations/hu_HU/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/hu_HU/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 4.0.0\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: hu_HU\n" diff --git a/flask_security/translations/hy_AM/LC_MESSAGES/flask_security.po b/flask_security/translations/hy_AM/LC_MESSAGES/flask_security.po index 772269b0..2537cf4b 100644 --- a/flask_security/translations/hy_AM/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/hy_AM/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 4.0.0\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2020-12-01 11:47+0400\n" "Last-Translator: FULL NAME \n" "Language: hy_AM\n" diff --git a/flask_security/translations/is_IS/LC_MESSAGES/flask_security.po b/flask_security/translations/is_IS/LC_MESSAGES/flask_security.po index 9824583d..a60b844d 100644 --- a/flask_security/translations/is_IS/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/is_IS/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 4.0.0\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2022-04-23 17:04+0000\n" "Last-Translator: \n" "Language: is_IS\n" diff --git a/flask_security/translations/it_IT/LC_MESSAGES/flask_security.po b/flask_security/translations/it_IT/LC_MESSAGES/flask_security.po index ea035666..4dcd3357 100644 --- a/flask_security/translations/it_IT/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/it_IT/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 5.4.3\n" "Report-Msgid-Bugs-To: jwag956@github.com\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2024-07-08 15:04+0200\n" "Last-Translator: Giorgio Stampa \n" "Language: it_IT\n" diff --git a/flask_security/translations/ja_JP/LC_MESSAGES/flask_security.po b/flask_security/translations/ja_JP/LC_MESSAGES/flask_security.po index c28c6052..85f01b2b 100644 --- a/flask_security/translations/ja_JP/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/ja_JP/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2018-01-25 14:12+0900\n" "Last-Translator: \n" "Language: ja\n" diff --git a/flask_security/translations/nl_NL/LC_MESSAGES/flask_security.po b/flask_security/translations/nl_NL/LC_MESSAGES/flask_security.po index b2447ed8..50e89335 100644 --- a/flask_security/translations/nl_NL/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/nl_NL/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2017-05-01 17:52+0200\n" "Last-Translator: FULL NAME \n" "Language: nl_NL\n" diff --git a/flask_security/translations/pl_PL/LC_MESSAGES/flask_security.po b/flask_security/translations/pl_PL/LC_MESSAGES/flask_security.po index 2e0d60e3..540ad527 100644 --- a/flask_security/translations/pl_PL/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/pl_PL/LC_MESSAGES/flask_security.po @@ -1,4 +1,4 @@ -# Polish translation for Flask-Security-Too +# Polish translation for Flask-Security # Copyright (C) 2020 Kamil Daniewski # This file is distributed under the same license as the Flask-Security # project. @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2020-11-28 10:19+0100\n" "Last-Translator: Kamil Daniewski \n" "Language: pl_PL\n" diff --git a/flask_security/translations/pt_BR/LC_MESSAGES/flask_security.po b/flask_security/translations/pt_BR/LC_MESSAGES/flask_security.po index 47cac194..2eb02119 100644 --- a/flask_security/translations/pt_BR/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/pt_BR/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2017-09-27 23:39-0300\n" "Last-Translator: José Neto \n" "Language: pt_BR\n" diff --git a/flask_security/translations/pt_PT/LC_MESSAGES/flask_security.po b/flask_security/translations/pt_PT/LC_MESSAGES/flask_security.po index b6fc093a..8b511b0c 100644 --- a/flask_security/translations/pt_PT/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/pt_PT/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2018-04-27 14:00+0100\n" "Last-Translator: Micael Grilo \n" "Language: pt_PT\n" diff --git a/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po b/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po index c16b498b..126af832 100644 --- a/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2024-05-26 04:58+0530\n" "Last-Translator: Ivan Fedorov \n" "Language: ru_RU\n" diff --git a/flask_security/translations/tr_TR/LC_MESSAGES/flask_security.po b/flask_security/translations/tr_TR/LC_MESSAGES/flask_security.po index bf7a9029..34ce6805 100644 --- a/flask_security/translations/tr_TR/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/tr_TR/LC_MESSAGES/flask_security.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2018-12-20 18:48+0300\n" "Last-Translator: Ecmel B. Canlıer \n" "Language: tr_TR\n" diff --git a/flask_security/translations/zh_Hans_CN/LC_MESSAGES/flask_security.po b/flask_security/translations/zh_Hans_CN/LC_MESSAGES/flask_security.po index 0999a345..ada9a619 100644 --- a/flask_security/translations/zh_Hans_CN/LC_MESSAGES/flask_security.po +++ b/flask_security/translations/zh_Hans_CN/LC_MESSAGES/flask_security.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Flask-Security 2.0.1\n" "Report-Msgid-Bugs-To: info@inveniosoftware.org\n" -"POT-Creation-Date: 2024-07-22 16:40-0700\n" +"POT-Creation-Date: 2024-07-30 16:04-0700\n" "PO-Revision-Date: 2018-08-02 19:55+0800\n" "Last-Translator: SteinKuo \n" "Language: zh_CN\n" diff --git a/pyproject.toml b/pyproject.toml index b2df5a1a..89353093 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools"] build-backend = "setuptools.build_meta" [project] -name = "Flask-Security-Too" +name = "Flask-Security" description = "Quickly add security features to your Flask application." readme.content-type = "text/x-rst" readme.file = "README.rst" @@ -12,11 +12,11 @@ keywords = ["flask security"] maintainers = [{ name = "Chris Wagner", email = "jwag.wagner+github@gmail.com"}] authors = [{ name = "Matt Wright"}, { name = "Chris Wagner", email = "jwag.wagner+github@gmail.com"}] requires-python = ">=3.9" -urls.Documentation = "https://flask-security-too.readthedocs.io" -urls.Homepage = "https://github.com/Flask-Middleware/flask-security" -urls.Source = "https://github.com/Flask-Middleware/flask-security" -urls.Tracker = "https://github.com/Flask-Middleware/flask-security/issues" -urls.Releases = "https://pypi.org/project/Flask-Security-Too/" +urls.Documentation = "https://flask-security.readthedocs.io" +urls.Homepage = "https://github.com/pallets-eco/flask-security" +urls.Source = "https://github.com/pallets-eco/flask-security" +urls.Tracker = "https://github.com/pallets-eco/flask-security/issues" +urls.Releases = "https://pypi.org/project/Flask-Security/" classifiers=[ "Environment :: Web Environment", "Framework :: Flask", diff --git a/tests/test_misc.py b/tests/test_misc.py index ea90928c..4d438184 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1390,7 +1390,7 @@ def test_nodatastore(app): @pytest.mark.filterwarnings("ignore:.*Replacing login_manager.*:DeprecationWarning") def test_reuse_security_object(sqlalchemy_datastore): - # See: https://github.com/Flask-Middleware/flask-security/issues/518 + # See: https://github.com/pallets-eco/flask-security/issues/518 # Let folks re-use the Security object (mostly for testing). security = Security(datastore=sqlalchemy_datastore) diff --git a/tox.ini b/tox.ini index 7ed22528..b56f32ba 100644 --- a/tox.ini +++ b/tox.ini @@ -153,7 +153,7 @@ deps = jinja2 skip_install = true commands = - pybabel extract --version 5.5.0 --keyword=_fsdomain --project=Flask-Security \ + pybabel extract --version 5.5.1 --keyword=_fsdomain --project=Flask-Security \ -o flask_security/translations/flask_security.pot \ --msgid-bugs-address=jwag956@github.com --mapping-file=babel.ini \ --add-comments=NOTE flask_security