mealie/tests/utils
Hayden b3c41a4bd0
security: implement user lockout (#1552)
* add data-types required for login security

* implement user lockout checking at login

* cleanup legacy patterns

* expose passwords in test_user

* test user lockout after bad attempts

* test user service

* bump alembic version

* save increment to database

* add locked_at to datetime transformer on import

* do proper test cleanup

* implement scheduled task

* spelling

* document env variables

* implement context manager for session

* use context manager

* implement reset script

* cleanup generator

* run generator

* implement API endpoint for resetting locked users

* add button to reset all locked users

* add info when account is locked

* use ignore instead of expect-error
2022-08-13 13:18:12 -08:00
..
routes fix #1144 (#1207) 2022-05-07 20:08:04 -08:00
__init__.py feature: proper multi-tenant-support (#969)(WIP) 2022-02-13 12:23:42 -09:00
app_routes.py feat(backend): refactor/fix group management for admins (#838) 2021-11-25 14:17:02 -09:00
assertion_helpers.py Feature/shopping lists second try (#927) 2022-01-16 15:24:24 -09:00
factories.py feat: extend Apprise JSON notification functionality with programmatic data (#1355) 2022-06-15 11:49:42 -08:00
fixture_schemas.py security: implement user lockout (#1552) 2022-08-13 13:18:12 -08:00
helpers.py Improve Test Coverage (#511) 2021-06-13 13:09:44 -08:00
jsonify.py feature: proper multi-tenant-support (#969)(WIP) 2022-02-13 12:23:42 -09:00
recipe_data.py Feature/import keywords as tags (#1170) 2022-04-23 12:23:12 -08:00
user_login.py fix #967 and test error to catch (#979) 2022-02-13 18:33:25 -09:00