zulip/zproject
Mateusz Mandera 99b97ea883 saml: Don't put group_memberships_sync_map in the session.
In 40956ae4c5 we implemented group sync
via SAML during sign in and sign up. The sign up implementation used a
session variable group_memberships_sync_map to plumb through the sync
information to the registration codepath, to execute group sync after
user creation.

We can use a more robust approach instead, and just amend groups on the
`PreregistrationUser` object that's going to be used for registration.
2025-07-11 10:18:58 -07:00
..
jinja2 i18n: Trim {% trans %} sections by default. 2025-05-29 11:58:57 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py saml: Don't put group_memberships_sync_map in the session. 2025-07-11 10:18:58 -07:00
computed_settings.py saml: Implement group sync. 2025-07-08 17:02:08 -07:00
config.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
configured_settings.py settings: Print about custom settings from runtornado. 2023-12-05 12:33:34 -08:00
default_settings.py ldap: Implement external auth id auth+sync. 2025-07-09 15:31:17 -07:00
dev_settings.py realm_creation_form: Capture import_from if realm import enabled. 2025-04-30 00:06:43 -07:00
dev_urls.py showroom: Set up devtools/inputs page for showcasing input components. 2025-07-03 11:45:35 -07:00
email_backends.py send_email: Set the Date header according to local enqueue time. 2025-03-10 16:48:08 -07:00
prod_settings_template.py ldap: Implement external auth id auth+sync. 2025-07-09 15:31:17 -07:00
prod_settings.pyi lint: Replace pycodestyle and pyflakes with ruff. 2022-11-03 12:10:15 -07:00
sentry.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
settings_types.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
settings.py settings: Hide django_stubs_ext from mypy. 2024-04-17 16:49:03 -07:00
template_loaders.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
test_extra_settings.py ldap: Implement external auth id auth+sync. 2025-07-09 15:31:17 -07:00
test_settings.py settings: Refactor how TEST_SUITE is configured. 2023-12-04 09:50:14 -08:00
urls.py confirm_email_change: Use redirect-to-POST trick. 2025-07-07 17:15:08 -07:00
wsgi.py restart-server: Wait until chain reload has completed. 2024-08-29 12:12:34 -07:00