67045 Commits

Author SHA1 Message Date
Niloth P
f5e925b26b integrations: Add screenshot configs for the project management type.
of integrations that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
24eab61ab0 integrations: Add screenshot configs for deployment integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
7f2161bffa integrations: Add screenshot configs for fixtureless CI integrations. 2025-10-03 15:38:03 -07:00
Niloth P
65d01b553b integrations: Add screenshot configs for fixtureless VCS integrations.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Niloth P
23a8e26741 integrations: Load optional fields for fixtureless screenshot configs.
The hardcoded content (topic and message) for the screenshot configs are
loaded from `fixtureless_integrations.py`. Add a new
FIXTURELESS_SCREENSHOT_CONFIG_OPTIONAL_FIELDS dict to maintain the
optional fields of fixtureless screenshot configs, and load both into
FIXTURELESS_SCREENSHOT_CONFIG.

This commit does not set any screenshot configs, but only adds the
framework.
2025-10-03 15:38:03 -07:00
Niloth P
c7a6fcaf88 integrations: Add new file for fixtureless screenshot configs registry.
This does not include any screenshot configs, just defining the format,
and loading FIXTURELESS_SCREENSHOT_CONFIG from the file.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Niloth P
aed6d37ecd docs: Improve sections of the "Documenting an integration" doc.
This commit generally improves the formatting and phrasing in certain
sections of the page, and is kept separate to distinguish these changes
from the content-related doc updates in the upcoming commits.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00
Evy Kassirer
d9fded98ff search: Remove outline for focused pills in the typeahead.
Reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/extraneous.20box.20when.20clicking.20on.20search.20pill.20in.20typeahead/near/2268435
2025-10-03 10:49:55 -07:00
Evy Kassirer
034353b22d compose: Use compose_state.message_content for preview rendering.
Followup to #36048. Since the trimming done by the compose_state
function is designed to not impact the actual Markdown rendering of a
message, it's safe to simplify the code path in this way.
2025-10-03 10:48:08 -07:00
Evy Kassirer
3366aeb586 compose: Assert message_type not undefined instead.
Followup to #36048.
2025-10-03 10:48:07 -07:00
Alex Vandiver
456354575e kandra: Add a mirror of #signups to CZO. 2025-10-03 10:47:16 -07:00
Anders Kaseorg
890ccec8d4 timestamp: Use localized formatting in format_datetime_to_string.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-03 10:43:16 -07:00
Anders Kaseorg
9ca788cbbc update_subscriber_counts: Fix annotate usage.
Commit 7f3bb4523c (#36160) broke this.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-03 00:01:44 -07:00
Evy Kassirer
5d90f509f5 compose_send_menu_popover: Remove default opts for open_schedule_message_menu. 2025-10-02 16:30:09 -07:00
Evy Kassirer
1818ce1e47 compose_send_menu_popover: Convert module to typescript. 2025-10-02 16:30:09 -07:00
Anders Kaseorg
3f5e39cecf uv.lock: Refresh for uv ≥ 0.8.21.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-02 14:42:13 -07:00
Tim Abbott
a7fa7abd54 total-contributions: Use a more complete set of repositories. 2025-10-02 12:11:43 -07:00
Evy Kassirer
235dfa5280 search: Fix some overflow issues for dm pill operand. 2025-10-02 10:24:33 -07:00
Pratik Chanda
5e33f21af8 info_overlay: Use internationalized strings in keyboard shortcut tab.
This commit internationalizes the strings between the keys in the
right half of the keyboard shortcut tab in info_overlay.

Fixes part of #22875.
2025-10-01 16:54:12 -07:00
Pratik Chanda
dc61ad6071 keyboard_shortcuts: Change selector for home view hotkey in help menu.
This commit changes the selector for home view hotkey shortcut hint in
help menu. This will help in internationalization of the keyboard hints.
2025-10-01 16:54:12 -07:00
Pratik Chanda
97f3be90d6 markdown: Add helper config option to pass diff config to render.
This commit adds option to pass separate helper config to use when
rendering markdown. It uses the passed helper config if available or
fallbacks to web_app_helper config.
2025-10-01 16:54:12 -07:00
Evy Kassirer
635d99ba72 zform: Convert module to typescript. 2025-10-01 16:39:59 -07:00
Evy Kassirer
ec78f0551b server_events: Rename messages to raw_messages. 2025-10-01 16:38:55 -07:00
Evy Kassirer
f186a0edbb message: Make draft_id not optional in LocalMessage. 2025-10-01 16:38:55 -07:00
Evy Kassirer
a175a82590 compose: Convert module to typescript. 2025-10-01 16:38:55 -07:00
Evy Kassirer
66b90d3736 message: Create new LocalMessage to fix type of transmit.send_message. 2025-10-01 16:38:55 -07:00
Evy Kassirer
3c4fe73470 message: Differentiate between new local messages and server messages. 2025-10-01 16:38:55 -07:00
Anders Kaseorg
80b9cffb3d build_emoji: Use clean emoji sheets without Apple fallback images.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-01 13:35:06 -07:00
Anders Kaseorg
85c94599c5 emoji: Remove deprecated Google blobs emoji set.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-01 13:35:06 -07:00
Anders Kaseorg
b742ab18f9 emoji: Remove setting for deprecated Google blobs emoji set.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-01 13:35:06 -07:00
Shubham Padia
bbca79d92e help: Include dist in release tarball and exclude source code.
We don't include starlight_help/dist_no_relative_links since that is
only useful for zulip.com and zulip.com doesn't use tarballs for
deployment.
2025-10-01 13:10:13 -07:00
Aman Agrawal
024559e1b9 email_notifications: Convert datetime to local date string. 2025-10-01 11:25:00 -07:00
Aman Agrawal
a694fe1865 signals: Extract function to convert datetime to readable string. 2025-10-01 11:25:00 -07:00
Alex Vandiver
755cb7d854 export: Move all queries, when possible, to iterators.
This reduces overall memory usage for large exports.
2025-10-01 11:21:34 -07:00
Alex Vandiver
0ffc0e810c export_search: Switch to using orjson_stream. 2025-10-01 11:21:34 -07:00
Alex Vandiver
67743d150a export: Support streaming iterators when writing JSON. 2025-10-01 11:21:34 -07:00
Alex Vandiver
78bc17ecbe export: Switch chunked() to the itertools.batched definition.
We only require Python 3.10, so we cannot use `itertools.batched`
directly, which came in 3.12.  Include and use a short version of it.
2025-10-01 11:21:34 -07:00
Alex Vandiver
cf33119348 export: Remove export-most-recent symlink.
The only callsite of do_export_realm calls `rmtree` on the output
path, which means this symlink is always dangling.  Since realms can
also be exported by end-users, following it would always be a race
condition, anyways.

Remove it.
2025-10-01 11:21:34 -07:00
Alex Vandiver
6a8deb7115 export: We expect that zerver_client is written late.
This silences a misleading warning; the behaviour changed in
f2024ad625.
2025-10-01 11:21:34 -07:00
Alex Vandiver
d17851a3ed openapi: Remove a debugging statement. 2025-10-01 11:21:34 -07:00
Evy Kassirer
2888459f25 peer_data: Add clarity for when we do/don't have the full subscriber set. 2025-10-01 11:10:22 -07:00
Aman Agrawal
180ef91d1a people: Remove incorrect comment.
`error` type blueslip calls are checked.
2025-10-01 11:04:44 -07:00
Alex Vandiver
bea7d6ff93 cache_helpers: Use iterators, so we do not keep the full list in memory. 2025-10-01 10:36:37 -07:00
Alex Vandiver
95354366c7 docs: Fix broken link syntax. 2025-10-01 09:52:09 -07:00
Lauryn Menard
6fb19fdd2d templates: Add rel-canonical link to some documentation pages.
Updates templates/zerver/meta_tags.html to add a rel-canonical
link if REL_CANONICAL_LINK is in the template context dict.

We add REL_CANONICAL_LINK to the documentation context for the
API and integrations documentation pages in all cases. The link
will be self-referencing for the main zulip.com site.

For policies documentation pages, we add REL_CANONICAL_LINK to
the context only when settings.CORPORATE_ENABLED is true, so
that self-hosted servers' policies documentation do not have a
rel-canonical link set.

Part of #35110.
2025-10-01 11:50:59 -04:00
PieterCK
1400ad7307 template_parser: Fix f-string not formatted. 2025-10-01 11:12:44 -04:00
Anders Kaseorg
c1a4dcf33d requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-30 16:47:54 -07:00
Anders Kaseorg
7f3bb4523c update_subscriber_counts: Fix union typing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-30 16:47:54 -07:00
Anders Kaseorg
2eb2d5b6de user_groups: Fix union typing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-30 16:47:54 -07:00
Anders Kaseorg
33b8eabd9f message_flags: Fix type error.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-30 16:47:54 -07:00