1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
mealie/tests/unit_tests
Elegant 11eeab1b51
feat: LDAP improvements (#1487)
* Use Base DN for LDAP and fetch user attrs

Requires that a Base DN be set for LDAP
Set `full_name` and `email` based on LDAP attributes when creating user

* Add support for secure LDAP

Allow insecure LDAP connection (disabled by default)
Use CA when connecting to secure LDAP server

* Added missing quotes to example

* Update security.py

* Update security.py formatting

* Update security.py

Switched to f-String formatting

* formatting

* Update test_security.py

Added at attributes for testing

* Update test_security.py

Modified tests for base DN

* Update test_security.py

Set proper base DN for testing

* Update test_security.py

Corrected testing for LDAP

* Update test_security.py

Defined base_dn

* Authenticated user not in base DN

Add check for when user can authenticate but is not in base DN

* Update test_security.py

LDAP user cannot exist as it is searched before it is created and the list returns False

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-09-15 19:33:36 -08:00
..
core fix: group creation (#1126) 2022-04-02 19:33:15 -08:00
pkgs/i18n Feature/improve localization (#1147) 2022-04-10 14:07:35 -08:00
repository_tests feat: unify recipe card sections (#1560) 2022-08-20 10:59:49 -08:00
schema_tests chore: refactor base schema (#1098) 2022-03-25 10:56:49 -08:00
services_tests security: implement user lockout (#1552) 2022-08-13 13:18:12 -08:00
validator_tests feature: proper multi-tenant-support (#969)(WIP) 2022-02-13 12:23:42 -09:00
__init__.py v0.4.0 (#236) 2021-03-31 07:20:35 -08:00
test_alembic.py Set up alembic migration usage (#954) 2022-02-21 11:44:23 -09:00
test_cleaner.py feat: Paprika/Mealie Migration support (#873) 2021-12-09 19:52:53 -09:00
test_config.py feat: extend email support for SSL/No Auth Email Support (#1235) 2022-05-21 11:15:14 -08:00
test_exceptions.py Feature/improve localization (#1147) 2022-04-10 14:07:35 -08:00
test_ingredient_parser.py refactor: remove depreciated repo call (#1370) 2022-06-10 19:01:14 -08:00
test_open_api.py fix: validate OpenAPI spec (#1528) 2022-08-06 16:54:29 -08:00
test_recipe_export_types.py feat(backend): 🚧 stub out new exporter service (WIP) (#715) 2021-10-02 11:37:04 -08:00
test_recipe_parser.py Feature/import keywords as tags (#1170) 2022-04-23 12:23:12 -08:00
test_security.py feat: LDAP improvements (#1487) 2022-09-15 19:33:36 -08:00
test_utils.py feature: proper multi-tenant-support (#969)(WIP) 2022-02-13 12:23:42 -09:00