66598 Commits

Author SHA1 Message Date
Nikita Tarasov
2e7f715c0d puppet: Use memory limits from cgroup, if set.
This fixes behaviour where a Docker image with a memory limit would
immediately OOM, as it would not detect the container's memory limit,
only the host's.

Fixes: #29794
(cherry picked from commit c75535a154)
2025-10-27 15:43:53 -04:00
Alex Vandiver
8650417cf1 version: Update version after 11.4 release. 2025-10-23 20:08:12 +00:00
Alex Vandiver
6690267272 Release Zulip Server 11.4. 11.4 2025-10-23 19:51:08 +00:00
Alex Vandiver
943e55d1e6 email_mirror_server: Fix the logfile path which is checked.
(cherry picked from commit 17fd249a62)
2025-10-23 15:50:25 -04:00
Alex Vandiver
55e10fb3cc version: Update version after 11.3 release. 2025-10-23 04:09:29 +00:00
Alex Vandiver
b75f2a319f Release Zulip Server 11.3. 11.3 2025-10-22 20:12:52 +00:00
Anders Kaseorg
45736ef68f requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit c1a4dcf33d)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
4569dd5a29 update_subscriber_counts: Fix union typing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 7f3bb4523c)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
e9c377cf15 user_groups: Fix union typing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 2eb2d5b6de)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
535d9597f7 message_flags: Fix type error.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 33b8eabd9f)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
1199927a6c test_auth_backends: Fix _LDAPUser type errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 3ba68e7847)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
ad7eed2d7e mypy: Fix no-redef errors from django-stubs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 1d694aeff4)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
99445ce496 ruff: Fix RUF059 Unpacked variable is never used.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit f24a0a6b81)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
eb9e5893a6 ruff: Fix PYI059 Generic[] should always be the last base class.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit fa4d680851)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
7ad6e2f46c ruff: Fix PYI061 Use None rather than Literal[None].
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit e9abaacd5c)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
f72ba77718 install-uv: Upgrade uv from 0.8.15 to 0.8.22.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 0b400a66cc)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
5d79c7962f requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit a47c8ce15f)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
582bc7d303 install-uv: Upgrade uv from 0.8.10 to 0.8.15.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 270c50651c)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
316802fa3e tabbed-instructions: Delete activate_correct_tab.
We no longer have any OS-specific tabs; we can just activate the first
one on the server side.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 1a05b2c10f)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
c1b1ed8371 help_relative_links: Delete.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 35ce90d4f8)
2025-10-22 16:08:09 -04:00
Anders Kaseorg
d92c3bf0de convert-help-center-docs-to-mdx: Delete.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 224c143094)
2025-10-22 16:08:09 -04:00
Alex Vandiver
2f2400a73e navbar_alerts: Fix download link.
Fix this download link to not be a 404.

(cherry picked from commit bb5dc82ce6)
2025-10-22 19:06:57 +00:00
Alex Vandiver
8f2bd334e7 i18n: Updated .po files for new strings. 2025-10-21 22:49:08 -04:00
Hosted Weblate
c6349660a8 i18n: Sync translations from Weblate. 2025-10-21 22:49:08 -04:00
Alex Vandiver
06810ab8d9 docs: Fix a typo in supported backups_compression_method values.
(cherry picked from commit bcdc2bd491)
2025-10-21 16:01:15 -04:00
Alex Vandiver
0430e25dcf docs: Update some broken links.
(cherry picked from commit ef238f2bf5)
2025-10-21 16:01:15 -04:00
Alya Abbott
1dbf60cb43 docs: Revamp production doc on security.
- Remove duplicative content.
- Move content to topic-focused pages.

(cherry picked from commit d3ca0fc7ae)
2025-10-21 16:01:15 -04:00
Alya Abbott
ccd99b2924 help: Organize details on bots overview page.
Also document can_forge_sender permission.

(cherry picked from commit be0fc99b58)
2025-10-21 16:01:15 -04:00
Alya Abbott
53da2d6b6f help: Add a note about DMs privacy model.
(cherry picked from commit 9e3fea7ed3)
2025-10-21 16:01:15 -04:00
Alya Abbott
31b75891bb help: Add links to related articles.
(cherry picked from commit 10ce39a82c)
2025-10-21 16:01:15 -04:00
Alya Abbott
d95f0f6eb6 help: Update password reset instructions for new UI.
(cherry picked from commit 0edacce98e)
2025-10-21 16:01:15 -04:00
Alya Abbott
909d48e2de docs: Clarify how security releases are done.
(cherry picked from commit 36a63f7963)
2025-10-21 10:37:53 -07:00
Lauryn Menard
75f6d543bb docs: Rename "security-model.md" to "securing-your-zulip-server.md".
Updates relative links and any "security-model" label for ref links.

(cherry picked from commit 04275d8e14)
2025-10-21 10:37:53 -07:00
Lauryn Menard
967ba5432c prod-template: Fix link for LDAP email sync unique ID.
(cherry picked from commit b4c63b73dc)
2025-10-21 10:37:53 -07:00
Alya Abbott
569d37afe5 docs: Reorganize authentication backends documentation.
(cherry picked from commit f20035e2ad)
2025-10-21 10:37:53 -07:00
Alex Vandiver
c4c189894b Revert "compose: Track when the recipient box has recently had focus."
This reverts commits 5ce956c9bb and
14c51bd0ec, which broke the compose box
in channels with "only general chat" set.

(cherry picked from commit 52ba675a26)
2025-10-21 14:30:14 +00:00
Alex Vandiver
8179eb15c1 emoji: Fix aliases for dotted_six_pointed_star.
CLDR 46 added this alias, which is not accurate; remove it.

(cherry picked from commit ca01de84be)
2025-10-21 01:01:10 -04:00
Sahil Batra
b0604da430 drodpown: Do not use fa-ban icon for disabled option.
(cherry picked from commit feaaf9ff03)
2025-10-21 01:01:10 -04:00
Sahil Batra
ddeff4752a dropdown-widget: Remove left padding for icons.
This commit removes left padding for the stream privacy
and disabled icon in dropdown widgets. There is already
a padding in grid container and we are fine with removing
the 2px padding to avoid maintaining more pixel values.

(cherry picked from commit 60074db0ed)
2025-10-21 01:01:10 -04:00
Sahil Batra
d9ea917b46 dropdown-widget: Fix alignment of disabled option.
The alignment of icon and text of the disabled option in
dropdown widget was somewhow broken due to an extra span
element present which broke the grid layout used for
rendering the icon and text properly.

This also makes the layout consistent with other options
shown with icon.

This was due to e643d7e6fd which resulted in space
between icon and text. We could have fix that by using
"~" character to remove whitespace in handlebar templates
but making the layout consistent felt a better choice.

(cherry picked from commit 46f338f54f)
2025-10-21 01:01:10 -04:00
Aman Agrawal
e12a9fccc6 inbox: Fix collapsed note missing user only has unread DMs.
When there are only unread DMs and it is collapsed, the all rows
collapsed not is not shown.

This occurred since we didn't check for that.

(cherry picked from commit d1cedb7f1d)
2025-10-21 01:01:10 -04:00
PieterCK
b056554740 slack_importer_doc: Fix outdated links.
Existing links redirects to irrelevant documentation pages.

(cherry picked from commit b36f09c67f)
2025-10-21 01:01:10 -04:00
Mateusz Mandera
dd86a958b5 slack: Requote image_url in render_attachment.
Slack attachment urls with white spaces,
e.g. `https://example.com/some file.png`,
were rejected by `check_url`. We want to call `requote_url` to deal with
any url-quoting jankiness that may be present in the exported data.

(cherry picked from commit e65fb2d051)
2025-10-21 01:01:10 -04:00
Mateusz Mandera
8868aad2dc slack: Add missing block types.
1. `call` is a block type we've observed in the wild in a Slack export,
   despite not being documented in
   https://docs.slack.dev/reference/block-kit/blocks/

2. We already have the logic for converting `condition` block type below
   in the function, but it was erroneously missing from the list of valid
   types.

(cherry picked from commit d484fd95d8)
2025-10-21 01:01:10 -04:00
Mateusz Mandera
52d7b88c0d slack: Fix formation of bot email addresses with non-ascii chars.
(cherry picked from commit a473d05840)
2025-10-21 01:01:10 -04:00
Shubham Padia
571a79151a css: Do not use non-color values inside light-dark().
Non-color values are not permitted inside light-dark(). This commit
fixes that for --color-invalid-input-box-shadow.

(cherry picked from commit 7bce6361b3)
2025-10-21 01:01:10 -04:00
Alex Vandiver
6687af0ad3 email_mirror: Drop missed-message emails which are autogenerated.
Emails to missed-message email addressees which are marked
"auto-replied" are clearly auto-replies, and will not contribute
usefully to the conversation.  We also ignore "auto-generated" emails
to missed-message addresses, as they must actually be auto-replies
which are misclassifying themselves, as missed-message addresses are
not meant to be targets for any auto-generated emails.

We accept auto-generated and auto-replied emails to stream incoming
email addresses, as auto-generated emails to those are clearly useful,
and auto-replied emails are unexpected enough to allow (given that
Zulip does not produce outgoing emails From: stream email addresses).

(cherry picked from commit 3538455ca8)
2025-10-21 01:01:10 -04:00
Sahil Batra
7cb16993fa user_groups: Remove unnecessary select_related.
There is no need for 'select_related("usergroup_ptr")' in queries
for NamedUserGroup table because Django always does a join against
base UserGroup table.

(cherry picked from commit de5a78344a)
2025-10-17 15:49:56 -07:00
Sahil Batra
dc00903d87 groups: Use realm_for_sharding for limiting NamedUserGroup queries.
For get and filter queries of NamedUserGroup, realm_for_sharding
field is used instead of realm field, as directly using
realm_for_sharding field on NamedUserGroup makes the query faster
than using realm present on the base UserGroup table.

(cherry picked from commit 764f4aa2e0)
2025-10-17 15:49:56 -07:00
Sahil Batra
64773a91e2 streams: Make sure that unused anonymous groups are not created.
Anonymous groups were being created for stream permission
settings when calling the subscriptions endpoint without
any streams data or when calling it only for subscribing
users to streams and not for creating any new streams.

This commit makes sure that no such unused anonymous groups
are created.

(cherry picked from commit d4d7a8fe2a)
2025-10-17 15:49:56 -07:00