Commit Graph

67409 Commits

Author SHA1 Message Date
Aman Agrawal
00a7a31404 pm_list: Show all DMs if header matches search term. 2025-11-17 17:26:00 -08:00
Aman Agrawal
024081a171 pm_list: Only update search_term if left sidebar search is active. 2025-11-17 17:26:00 -08:00
Aman Agrawal
069a5ef949 sidebar_ui: Show all views if searched term matches header name. 2025-11-17 17:26:00 -08:00
Aman Agrawal
1bf357d462 sidebar_ui: Use prefix_match for VIEWS to match with channels.
Since channels use prefix match in left sidebar, it makes
sense to use the same here for consistency.
2025-11-17 17:26:00 -08:00
Aman Agrawal
cfe3f42b72 util: Add simplified version of prefix match. 2025-11-17 17:26:00 -08:00
Aman Agrawal
6e3f98b33a sidebar_ui: Extract name of some left sidebar headers. 2025-11-17 17:26:00 -08:00
Aman Agrawal
1b18b069dc example_stream: Set default folder_id to be null.
This is per the type definition of `folder_id: number | null`,
otherwise it can be set `undefined` in tests which can break
certain logic.
2025-11-17 17:26:00 -08:00
Niloth P
9dc2268dc8 integrations: Split out OTHER_INTEGRATIONS.
Into VIDEO_CALL_INTEGRATIONS, EMBEDDED_INTEGRATIONS,
ZAPIER_INTEGRATIONS, PLUGIN_INTEGRATIONS, STANDALONE_REPO_INTEGRATIONS.
2025-11-17 17:19:20 -08:00
Niloth P
93ea34bee2 integrations: Use dict comprehension to define INTEGRATIONS. 2025-11-17 17:19:20 -08:00
Niloth P
021048ca5f integrations: Add test to verify alphabetical order of registries.
Added a test to ensure integration declarations are alphabetically
ordered in each registry - `WEBHOOK_INTEGRATIONS`,
`PYTHON_API_INTEGRATIONS`, `BOT_INTEGRATIONS`, `HUBOT_INTEGRATIONS`,
`OTHER_INTEGRATIONS`.

Split out an `OTHER_INTEGRATIONS` registry from the INTEGRATIONS to
make the test function easier to implement.
2025-11-17 17:19:20 -08:00
Niloth P
4046e747aa integrations: Re-group integrations without screenshot configurations.
To clearly distinguish the integrations missing screenshot configs from
the integrations that have no example screenshots.
2025-11-17 16:35:27 -08:00
Niloth P
fd2da3f7ef integrations: Re-order part of the integrations registry alphabetically. 2025-11-17 16:35:27 -08:00
Niloth P
a8bc5bb843 integrations: Use global time in GitHub Actions & OpenShift screenshots. 2025-11-17 16:32:13 -08:00
Niloth P
e4f7ba6f70 integrations/canarytoken: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
253483b10a integrations/thinkst: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
929b23e5e2 integrations/updown: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
0b64d722bb integrations/trello: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
5c8d9edaae integrations/stripe: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
a25445bf27 integrations/sentry: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
c2dd2c8527 integrations/raygun: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
2403d0d379 integrations/papertrail: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
c89b2ed93f integrations/opensearch: Use global time.
Updated the fixtures as OpenSearch sends text payloads in the template
given by the user.
Updated the doc to suggest using global time in the example template.
2025-11-17 16:32:13 -08:00
Niloth P
1573e74550 integrations/librato: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
36ba58abb2 integrations/insping: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
ad12588524 integrations/gocd: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
139ff7aeb6 integrations/freshstatus: Use global time. 2025-11-17 16:32:13 -08:00
Niloth P
9e89b65e57 integrations/appveyor: Use global time. 2025-11-17 16:32:13 -08:00
Alya Abbott
e048c26430 help: Document reminder indicators on messages.
Follow-up to #36074.
2025-11-17 16:14:24 -08:00
Anders Kaseorg
308480dd43 compose_paste: Fix misspelled function name.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-11-17 14:13:21 -08:00
Balamurugan1962
8511eec1d6 settings_bots: Sort "No owner" bots at the bottom when sorting by owner.
Fixes: #36570.

Modify `sort_bot_owner` to place bots without an owner at the bottom
when sorting by the "Owner" column. This groups bots with owners
together for easier scanning.

The logic first prioritizes moving any bot with "No owner" to the
bottom of the list. Alphabetical name comparison is only applied when
both bots have owners to compare.
2025-11-17 12:27:14 -08:00
Raj Vishwakarma
05c28cb4ed
auth: Deduplicate social_start_signup/login.
Fixes #36581.
2025-11-17 12:23:23 -08:00
Aditya Kasaudhan
c9450c366e user_settings: Sort modern settings dictionaries alphabetically.
Some checks failed
Notify of issues resolved in latest Zulip Cloud deploy / zulip-cloud-deploy (push) Has been cancelled
2025-11-17 11:23:32 -08:00
Sahil Batra
ad08ae8a3b css: Remove transition for background-color on hovering table headers.
This commit removes transition for background-color on hovering over
table headers with "data-sort" attribute.

This is done so that we can fix the weird behavior of background
color of header being set to a weird value when clicking on a
dropdown widget option rendered over the table header for bots table.

This was likely due to transition being stopped midway by the browser
which resulted in a weird background highlight for the header.

And anyways the transition is brief and appears only on hover, so
removing it does not result in a major change of user behavior.
2025-11-17 11:22:39 -08:00
Sahil Batra
ae601560b3 ui_init: Initialize user_groups before people.
The user_group module must be initialized before people
module, so that can_access_all_users_group setting group
can be used to check whether the user has permission to
access all other users.
2025-11-17 11:04:48 -08:00
Aman Agrawal
8b51340bb0 reminders: Remove unused forwarder_user_profile.
There is no use for them since current_user has the same permissions
as the forwarder_user_profile passed to `check_message`
2025-11-17 11:03:30 -08:00
Alya Abbott
dd09539926 api docs: Remove outdated "(beta)" label.
Some checks failed
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
Code scanning / CodeQL (push) Has been cancelled
Zulip production suite / Ubuntu 22.04 production build (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:trixie, false, false, Debian 13 (Python 3.13, backend), trixie) (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie, , Debian 13 production install, trixie) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-10.0, 10.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:trixie-11.0, 11.0 Version Upgrade, trixie) (push) Has been cancelled
2025-11-14 16:48:30 -08:00
Alya Abbott
9fa9f9fbc1 api docs: Clean up running-bots intro and ending. 2025-11-14 14:23:58 -08:00
Alya Abbott
9ae317f5fb api docs: Tweak intros. 2025-11-14 14:23:58 -08:00
Alya Abbott
071638a33c api docs: Clean up and simplify writing bots documentation. 2025-11-14 14:23:58 -08:00
Alya Abbott
6d41fdeb3f api docs: Move headings on new pages one level up. 2025-11-14 14:23:58 -08:00
Alya Abbott
7cf3dcaa30 api docs: Split writing interactive bots page into three pages. 2025-11-14 14:23:58 -08:00
Alya Abbott
8eab4e0cdd devtools: Clean up devtools instructions. 2025-11-14 14:13:02 -08:00
Alya Abbott
624a339ae1 help: Update inactive and muted docs to match UI. 2025-11-14 13:41:01 -08:00
Amit Patil
246167858e todo widget: Add support for adding tasks via Enter key press.
This commit adds a unified keydown listener to both the task name (`input.add-task`)
and description (`input.add-desc`) input elements. Pressing Enter triggers the `add_task()`
function, enabling keyboard-based submission of new tasks in the widget.
2025-11-14 12:01:14 -08:00
Niloth P
049e2fb5ac integrations: Make screenshot_configs a field in Integration class.
Previously, we maintained separate registeries for the screenshot
configurations - `WEBHOOK_SCREENSHOT_CONFIG`,
`FIXTURELESS_SCREENSHOT_CONFIG`, `DOC_SCREENSHOT_CONFIG`. Now, all
integration-related configuration is in a single registry
`INTEGRATIONS`.

Updated all mentions of DOC_SCREENSHOT_CONFIG in the docs.
2025-11-14 11:03:02 -08:00
Therese Selberg
e5c0d06481 popover: Fix too wide popup on narrow viewport.
Fixes #36141.
2025-11-14 10:54:51 -08:00
Shubham Padia
bff08e6bb8 fenced_code: Remove zulip-mobile specific pygments_data check.
We still have to check whether we have a valid lang value or not since
markdown.ts does not pass a lang, and depends on this logic to continue
working the same as before.
2025-11-14 10:19:12 -08:00
Shubham Padia
e7269a1368 shared: Move icons to web/images/icons.
This completes the removal of web/shared.
https://chat.zulip.org/#narrow/channel/6-frontend/topic/web.2Fshared
2025-11-14 10:19:12 -08:00
Evy Kassirer
89dc1bbf67 reload_setup: Fix zod parse error.
Followup to #36085, the type for the old format wasn't written
correctly.

Fixes error: https://chat.zulip.org/#narrow/channel/464-kandra-js-errors/topic/.24ZodError.3A.20.5B/near/2295347
2025-11-13 16:09:37 -08:00
Pratik Chanda
ade60f2571 info_overlays: Use internationalized strings for message_formatting tab.
This commit changes all user facing strings to internationalized
strings in message formatting tab in info overlays.

Fixes: zulip#22875.
2025-11-13 15:58:51 -08:00