zulip/zerver
Tim Abbott c6fe799369 i18n: Fix default language for users created via API/LDAP.
This fixes a regression introduced in
9954db4b59, where the realm's default
language would be ignored for users created via API/LDAP/SAML,
resulting in all such users having English as their default language.

The API/LDAP/SAML account creation code paths don't have a request,
and thus cannot pull default language from the user's browser.

We have the `realm.default_language` field intended for this use case,
but it was not being passed through the system.

Rather than pass `realm.default_language` through from each caller, we
make the low-level user creation code set this field, as that seems
more robust to the creation of future callers.
2023-10-01 21:10:13 +02:00
..
actions i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
data_import data_import: Skip Slack "Posts" which we don't otherwise support. 2023-09-29 12:34:07 -07:00
integration_fixtures/nagios
lib i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
management delete_old_unclaimed_attachments: Update docs on default max age. 2023-09-29 09:49:03 -07:00
migrations org_settings: Add backend for `realm_jitsi_server_url` setting. 2023-09-21 17:39:10 -07:00
openapi api-docs: Correct error documentation for api/deactivate-own-user. 2023-09-28 08:39:29 -07:00
tests i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
tornado python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
transaction_tests docs: Fix typos caught by ‘typos’. 2023-09-06 18:59:05 -07:00
views i18n: Tweak args/kwargs for get_default_language_for_new_user. 2023-10-01 21:10:13 +02:00
webhooks typed_endpoint: Rename WebhookPayload to JsonBodyPayload. 2023-09-27 14:21:42 -07:00
worker python: Replace functools.partial with type-safe returns.curry.partial. 2023-09-11 18:03:45 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
filters.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
forms.py realm: Differentiate reserved realms from in-use realms. 2023-09-25 12:48:14 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
models.py models: Add more comments documenting AbstractMessage. 2023-09-27 11:49:04 -07:00
signals.py demo-orgs: Create dev environment demo organization without email. 2023-08-31 15:02:16 -07:00