zulip/zerver/actions
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
..
__init__.py
alert_words.py
bots.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
create_realm.py invite: Add new setting for "Who can create multiuse invite links". 2023-09-07 14:21:01 -07:00
create_user.py i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
custom_profile_fields.py
default_streams.py
hotspots.py
invites.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_delete.py models: Always search Messages with a realm_id or id limit. 2023-09-11 15:00:37 -07:00
message_edit.py python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
message_flags.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_send.py build_message_send_dict: Remove redundant realm arg. 2023-09-20 09:55:25 -07:00
muted_users.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
presence.py
reactions.py message: Access realm object directly from message. 2023-08-23 11:38:32 -07:00
realm_domains.py django: Use .exists() instead of .count() when possible. 2023-09-11 15:00:37 -07:00
realm_emoji.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_export.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_icon.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_linkifiers.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_logo.py
realm_playgrounds.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_settings.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
scheduled_messages.py
streams.py management: Rename command reactivate_stream -> unarchive_stream. 2023-09-19 15:03:33 -07:00
submessage.py
typing.py
uploads.py
user_activity.py
user_groups.py user_groups: Improve bulk membership change logic. 2023-09-29 15:08:02 +02:00
user_settings.py emails: Update subject for confirm_new_email to have realm host. 2023-09-17 15:12:21 -07:00
user_status.py
user_topics.py
users.py scim: Add supporting for syncing the user role. 2023-09-15 13:15:45 -07:00
video_calls.py