Commit Graph

66409 Commits

Author SHA1 Message Date
Alex Vandiver
82b40ac6e2 puppet: Add an exporter to fetch Weblate stats, for graphing.
This is done synchronously, despite taking ~60s.  We can move it to a
background thread later if that's an issue, but generally Prometheus
is tolerant to exporters taking a while to come back with results.
2025-08-14 13:18:56 -07:00
Sahil Batra
0a8238b993 stream-settings: Live update visibility of folder dropdown.
An error was raised where we tried to live update the folder name
in folder dropdown even when there was no dropdown visible
to the non-admin user in settings page. This was because
"There are no channel folders configured in this organization."
text was shown even when a folder was recently created in the
realm as we did not live update the visibility of dropdown on
creating or archiving a folder.

This commit fixes the bug by live-updating the visibility
of folder dropdown when creating or archiving a folder.
2025-08-14 13:18:31 -07:00
Alex Vandiver
331d210dac push_notifications: Revert parallel-device sending.
This reverts #26594, due to unexpected ConnectionClosed errors observed in Django.
2025-08-14 07:36:20 -07:00
Anders Kaseorg
7a8b340ad2 requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-13 23:40:33 -07:00
Anders Kaseorg
26dc355bf5 install-uv: Upgrade uv from 0.7.21 to 0.8.10.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-13 23:40:33 -07:00
Tim Abbott
66114d404a version: Updates version after 11.0 release. 12.0-dev 2025-08-13 16:41:15 -07:00
Tim Abbott
cb9bb96226 Release Zulip Server 11.0. 11.0 2025-08-13 16:12:48 -07:00
Tim Abbott
25319590d0 api_docs: Fix missing changes entry for status endpoint.
715d07c231 was missing an API feature
level change.
2025-08-13 16:07:27 -07:00
Tim Abbott
14122cd5f7 mailmap: Deduplicate a contributor's commits. 2025-08-13 15:36:48 -07:00
Tim Abbott
9b2e270a49 zulip_updates: Add an update for the 11.0 release. 2025-08-13 14:48:11 -07:00
Rakshit
1a9d8acd40 settings: Use monospace font for displaying API key.
Previously, the API key was shown using a variable-width font, making
characters harder to distinguish. This change applies a monospace font to
improve readability and visual consistency.

Fixes #35189.

Co-authored-by: rxkshit04 <rakshitatwork@gmail.com>
Co-authored-by: cpu-ram <petr.stepanenko@gmail.com>
2025-08-13 14:14:04 -07:00
Anders Kaseorg
ff15d746c3 install: Support Debian 13.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
2ddafe728e thumbnail: Avoid BytesIO.getbuffer.
It seems to cause ‘BufferError: Existing exports of data: object
cannot be re-sized’ on Python 3.13.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
f9faad0997 test_timezone: Ignore legacy MET, MEST aliases.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
e216317f88 test_mattermost_importer: Condition html2text crash on Python version.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
fd1543a67c apt-repos: Use signed-by instead of globally trusted keys.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
60fe9d438f build-pgroonga: Use msgpack-c on Debian 13.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
2e97637d8e build-pgroonga: Upgrade PGroonga from 3.1.8 to 4.0.1.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-13 14:11:05 -07:00
Anders Kaseorg
4051b820e2 requirements: Upgrade google-re2.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-08-13 14:11:05 -07:00
Tim Abbott
946136a587 settings: Reword welcome bot custom message setting.
This is more consistent with the adjacent setting, among other
benefits.
2025-08-13 14:09:20 -07:00
Tim Abbott
2eb3e18b63 settings: Extract Onboarding section in realm settings.
The section had gotten too tall, at least when the welcome bot message
was enabled.
2025-08-13 14:09:20 -07:00
Tim Abbott
3e84eaab5d onboarding: Improve welcome bot custom message wrapper.
The previous text was rather wordy, and using a silent mention makes
it clear who has the ability to control this group, and who one can
potentially contact with questions.
2025-08-13 14:09:20 -07:00
Alex Vandiver
04fe9be715 upload: Serve 0-byte files locally, not from S3. 2025-08-13 14:07:21 -07:00
Karl Stolley
3df21d8780 left_sidebar: Ensure home view unreads are shown on hover. 2025-08-13 13:59:13 -07:00
Karl Stolley
340a99c3fb unread_animation: Remove erroneous comma from events. 2025-08-13 13:59:13 -07:00
Karl Stolley
2174f55b87 left_sidebar: Correct unread-pulse on collapsed views. 2025-08-13 13:59:13 -07:00
Karl Stolley
0b13129f54 left_sidebar: Correct no-alpha color to match home view.
This corrects what's probably a very long-standing
regression left over from past experiments with
attention levels on different unread counters.
2025-08-13 13:59:13 -07:00
Anders Kaseorg
72cc530cc1 mypy: Enable error codes deprecated, exhaustive-match.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-13 12:14:12 -07:00
Aman Agrawal
d8985597e7 left_sidebar_mention: Fix mention highlight always visible.
Reproducer:

Mark a message where current user is mention as unread and then
read the message before animation ends. This prevents the
`animationend` from being triggered.

Fixed by also listening for `animationcancel` which fixes the bug.
2025-08-13 11:41:28 -07:00
Aman Agrawal
ab75c4f7c9 sidebar_ui: Fix selection box disappears while navigating to muted row.
This happens since the don't exclude the row which toggles
muted / inactive channels from all_rows, while user is searching
and hence selections box ends up there while navigating to the
muted / inactive channel row.
2025-08-13 11:32:14 -07:00
Alex Vandiver
7480510aeb embeds: Propagate group membership before updating UserMessage flags. 2025-08-13 10:38:40 -07:00
Maneesh Shukla
bfdd28c638 banners: Hide empty banner-action-buttons using CSS.
Previously, the action buttons container was only hidden via
conditional rendering in the template. This commit adds a CSS-based
approach to also hide the container when it becomes empty, using the
:empty pseudo-class. This ensures correct behavior if we later have a
class of banners where the buttons area is dynamically updated, and
buttons are removed dynamically.
2025-08-13 10:31:18 -07:00
Shubham Padia
3f6520e82a starlight_help: Forward to help_center_port in case of dev server.
Fixes
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20run-dev.20options/near/2238128.

When running the dev server, astro/starlight makes a lot of requests on
the base URL, which are not scoped to /starlight_help. We need to host
the dev server on it's own port for it to work well. This commit fixes
that.
2025-08-13 10:10:15 -07:00
Lauryn Menard
8bdb0b119f help: Add mobile instructions for unsubscribing from a channel. 2025-08-13 09:58:04 -07:00
Karl Stolley
b7ac8ea5d8 left_sidebar: Suppress home-view dot with zero unreads. 2025-08-13 09:57:33 -07:00
Karl Stolley
0aa2baa9ca left_sidebar: Remove z-index from sidebar-search.
Now that the left-sidebar filter sits atop the area,
it's no longer necessary to set a z-index here.

This also fixes a bug where a hovered unread in the
collapsed views would be clipped by the filter box
above.
2025-08-13 09:57:33 -07:00
Evy Kassirer
14ce2c5a81 stream_list_sort: Don't include unsubscribed streams in sort results.
Fixes bug reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/exception.20when.20viewing.20world-public.20channel.20as.20a.20guest/near/2240871
2025-08-13 00:16:52 -07:00
Prakhar Pratyush
3cbf0e70a2 push_notification: Add support to send E2EE test push notification.
This commit adds an endpoint `/mobile_push/e2ee/test_notification`
to send an end-to-end encrypted test push notification to the user's
selected mobile device or all of their mobile devices.
2025-08-13 00:13:50 -07:00
Prakhar Pratyush
f034a6c3b4 push_notification: Remove is_removal param from send_push_notifications.
We can determine whether the request is meant to revoke an already
sent push notification using the "type" field of the payload.

Passing `is_removal` parameter explicitly to `send_push_notifications`
is not required.
2025-08-13 00:13:50 -07:00
apoorvapendse
68ea286ced links: Fix glitchy underlines in left sidebar.
This fixes the underlines and blue color that are
visible when selecting multiple topics/channels.

Comment: https://github.com/zulip/zulip/pull/34977#issuecomment-3181802391
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-13 00:11:57 -07:00
Aman Agrawal
526ba0f7d4 sidebar_ui: Fix broken zoomed in topic list.
The zoomed in topic list search doesn't work if user searches
something and presses `enter` on `Show all topics` after
navigating via keyboard.

Fixed by not triggering `input` event on left sidebar search input
which seems to confuse the zoomed in topic search.
2025-08-13 00:06:12 -07:00
Pratik Chanda
406b1e5a44 tooltip: Add channel folder tooltip for truncated names in left sidebar.
There isn't a way to check the complete name for long truncated channel
folders name in the left sidebar.

This commit adds a tooltip for channel folder only when the folder names
are truncated in the left sidebar.

Fixes: zulip#35582.
2025-08-13 00:03:14 -07:00
Evy Kassirer
ef3a68961d left_sidebar: Show add-stream icon when focused during keyboard navigation. 2025-08-12 19:24:46 -07:00
Evy Kassirer
fd3c1977a9 left_sidebar: Hide mention indicator on expanded folder except on hover. 2025-08-12 19:24:29 -07:00
Evy Kassirer
4e930bf660 ui_util: Toggle classname for unread mentions instead of using hide/show. 2025-08-12 19:24:29 -07:00
Tim Abbott
4e94324b9a overlays: Avoid closing when dragging resizers.
Fixes most of #35663.
2025-08-12 18:09:08 -07:00
apoorvapendse
1001c0d60a left_sidebar: Improve text selection for channel names.
Fixes:
https://chat.zulip.org/#narrow/channel/9-issues/topic/.E2.9C.94.20.F0.9F.8E.AF.20focus.20bug.20with.20.22first.20unread.22.20channel.20click.20policy/near/2222421.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
ab01079f40 message_header: Improve text selection.
Fixes: #34959.
2025-08-12 17:40:00 -07:00
apoorvapendse
14231e9fe2 left_sidebar: Improve text selection in buddy list.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
0bc1bdda86 left_sidebar: Improve text selection for dm box.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00