Commit Graph

66444 Commits

Author SHA1 Message Date
Alex Vandiver
baecf15955 docs: Add upgrade note for S3_SKIP_CHECKSUM.
This forward-ports bc3753d859, which was only merged into 10.x.
2025-08-26 12:34:47 -04:00
apoorvapendse
533f177175 tests: Make puppeteer tests for drafts more robust.
I noticed that when you are in a group dm narrow
and open drafts, the overlay-message-row class
is inside different containers, and the nth last
child check does not apply for that case, which is
why the test failed.

More generally, last-child is just not a good selector for robust
testing.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-19 23:44:01 -07:00
apoorvapendse
7391a2983f links: Fix unnecessary blocking of click behavior.
Links become unclickable if the following is true:
1. Composebox is open
2. You have selected some text

Currently doing this will prevent the default click behavior
which is a big bug and can get quite annoying.

We now switch to a more robust check which only prevents the
click behavior if some drag evidence is present, determined with
`mouse_drag.is_drag`

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-19 23:43:58 -07:00
Shubham Padia
5938f685ad starlight_help: Display gradient for the idle status icon.
Fixes #35496.

We were displaying a solid color until we figured out how to accurately
display the gradient in the SVG itself.
2025-08-19 23:40:51 -07:00
Alex Vandiver
72ea340f80 puppet: Skip client reloads during weekly restarts.
Weekly restarts do not deploy any new client code, so there is no
reason to push clients to reload.
2025-08-19 23:39:38 -07:00
Alex Vandiver
bef864251b reload-clients: Ensure that Smokescreen does not interfere with reloads.
When run from cron, reload-server (and thus reload-clients) picks up
the `HTTP_proxy` environment variable, which redirects HTTP requests
through Smokescreen -- which prevents localhost requests.  This
results in clients never getting sent reload events.

Explicitly unset proxies when talking to localhost in reload-clients.
2025-08-19 23:39:38 -07:00
Alex Vandiver
3d1a4e718e zilencer: Limit all hostname lookups with deactivated=False.
We enforce at registration time that hostnames with deactivated=False
must be unique, though we do not enforce it in the database because we
have historical data for which that is not true.

However, we should perform all hostname lookups with a
`deactivated=False` filter, as that will resolve the majority of
`RemoteZulipServer.MultipleObjectsReturned` errors.  Once the
production data is cleaned up, this can be enforced via a partial
unique index.
2025-08-19 23:38:13 -07:00
Alex Vandiver
2dd8818517 zilencer: Fix typo in comment. 2025-08-19 23:38:13 -07:00
Mateusz Mandera
51cef01c29 message: Use .is_channel_message column instead of is_stream_message().
This avoids a potential unnecessary message.recipient fetch required by
is_stream_message(). is_stream_message() methods precedes the addition
of the denormalized is_channel_message column and is now unnecessary.

In practice, we usually fetch Message objects with `.recipient` already,
so I don't expect any notable performance impact here - but it's still a
useful change to make.
2025-08-19 23:37:07 -07:00
Mateusz Mandera
4e3ec77a0f retention: Eliminate join with Recipient table when archiving DMs.
We can use the is_channel_message column instead of doing the join to
filter on recipient type.
2025-08-19 23:36:10 -07:00
Alex Vandiver
fd4104f365 ci: Test upgrades from 11.0. 2025-08-19 23:35:09 -07:00
Pratik Chanda
f9dc13014f hotkey: Fix argument type for narrow filter.
This commit fixes the operand argument type passed in for showing
message list.
2025-08-19 09:11:36 +05:30
Alex Vandiver
bcdc2bd491 docs: Fix a typo in supported backups_compression_method values. 2025-08-18 15:40:09 +00:00
Kislay Verma
a03e3a5166 ui_init: Fix bug in argument type.
As per the type definition of `NarrowTerm`,
the operand should be a string.

This bug caused exceptions each time a topic was
clicked in the left sidebar.
2025-08-18 18:27:18 +05:30
Maneesh Shukla
6787a14d74 tooltips: Use group ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
group's name in their `id` attributes.

This change uses the group's ID instead, which is more reliable.
2025-08-15 10:17:30 -07:00
Maneesh Shukla
daa98c72d3 tooltips: Use stream ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
stream's name in their `id` attributes.

This commit changes the tooltip IDs to use the stream's ID instead,
rather than its name, to ensure uniqueness and avoid potential conflicts.
2025-08-15 10:17:30 -07:00
Anders Kaseorg
7b0c6f9d3f dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
5d13749d26 eslint: Fix @typescript-eslint/no-unnecessary-type-conversion.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
72e762f075 stylelint: Fix property-no-deprecated.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
1539a23af0 stylelint: Fix nesting-selector-no-missing-scoping-root.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
8de55e7cc1 install-node: Upgrade Node.js from 22.17.1 to 22.18.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Lauryn Menard
cd4cc1a4b1 tools: Add help text to generate-user-messages-screenshot.
Adds general help description text for the tool that generates
cropped message screenshots for corporate pages.

Notes some of the known issues when updating these screenshots
after there have been UI changes, such as partial dates showing
and truncated channel/topic names in screenshots.
2025-08-14 16:55:13 -07:00
Lauryn Menard
3096d7ec51 help: Update invitation email example image for Elena canonical name. 2025-08-14 16:55:13 -07:00
Lauryn Menard
d53f75d0a9 corporate: Update for/education screenshots for canonical Elena.
Fixes the screenshots on the for/education page to have the
canonical last name for the example user Elena Garcia.

Updates year in dates for screenshot content to align with when
the screenshots were taken.

Adjusts the width of the viewport for changes in the message
header bar in the web app. Also closes any alert banner at the
top of the app before navigating to the narrow so that doesn't
impact the cropped screenshot area that's computed later.

Finally, sets hover on the new conversation button so that none
of the message action buttons are visible in the message feed
when the screenshot is taken.
2025-08-14 16:55:13 -07:00
Lauryn Menard
6847c5bfdb api-docs: Revise "description" parameter of new channel folder.
This parameter should be marked as required, but allowing an empty
string value. Updates the description of the parameter to be more
explicit of that fact.
2025-08-14 16:51:35 -07:00
Lauryn Menard
a497571be6 api-docs: Use a more realistic example for a new channel folder ID. 2025-08-14 16:51:35 -07:00
Lauryn Menard
1d99e55bb4 api-docs: Revise descriptive text in channel folders endpoints.
Adds links to relevant help center documentation on channel
folders.
2025-08-14 16:51:35 -07:00
Lauryn Menard
4f4923ef2b channel-folders: Create two channel folders in the dev database.
Adds a visible example to the PATCH /channel_folders endpoint for
reordering an organization's channel folders. So that the example
works in a normal dev environment, we also add a second channel
folder when populating the dev database.
2025-08-14 16:51:35 -07:00
Lauryn Menard
451e64b3e6 api-docs: Mark "name" required for new channel folder.
Also, note that an empty string for the "name" parameter, when
creating or updating a channel folder, is not a valid value.
2025-08-14 16:51:35 -07:00
Lauryn Menard
4b0a9e484a api-docs: Mark "order" as required for reodering channel folders. 2025-08-14 16:51:35 -07:00
Lauryn Menard
4b7e0be1ab api-docs: Add admin only notes for channel folder endpoints. 2025-08-14 16:51:35 -07:00
Alya Abbott
da700cb4a8 portico: Extend /history events to August 2025. 2025-08-14 16:45:58 -07:00
Evy Kassirer
81c7ebe2fc topic_list: Enable left sidebar search when closing topic list. 2025-08-14 16:44:43 -07:00
Niloth P
e7735e21be integration-docs: Update Notion for new doc format.
Part of zulip#29592.
2025-08-14 13:21:04 -07:00
Niloth P
1dbf0f33fe integration-docs: Update Mastodon for new doc format.
Part of zulip#29592.
2025-08-14 13:20:11 -07:00
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