Commit Graph

67392 Commits

Author SHA1 Message Date
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
Nirvedh Harpal
d1049f3818 left-sidebar: Add expand/collapse all options to filter menu.
This adds two new options to the left sidebar filter menu:

- Expand all sections (zulip-icon-expand)
- Collapse all sections (zulip-icon-collapse)

These appear above the existing "Don't group channels by folder" entry,
and expand/collapse all sidebar sections (Views, DMs, folders, etc.)
at once.

Fixes #35884.
2025-11-13 14:51:24 -08:00
Aman Agrawal
8ee196431d slack_import: Use dashboard instead of drag drop for file uploads. 2025-11-13 14:46:15 -08:00
Aman Agrawal
8e27424996 slack_import: Move slack import file upload logic to separate file.
This helps us remove additional dependency from other pages.
2025-11-13 14:46:15 -08:00
Aman Agrawal
3e3d09b9c7 slack_import: Fix unable check import progress from confirmation link. 2025-11-13 14:46:15 -08:00
Aman Agrawal
4a674d66e7 slack_import: Add option to create new user for the importer.
If there is no user matching the email of the importing user,
the importer can now create a new user.
2025-11-13 14:46:12 -08:00
Pratik Chanda
619aebaf9c reminders: Use acting user permissions when sending reminders.
We add a acting_user to get relevant permissions to render the
reminder message. This in turn fixes channel links not rendering
properly when notification bot is not in private channel.

Fixes: zulip#36575.
2025-11-13 14:45:40 -08:00
apoorvapendse
4141919c4b copy_messages: Improve language metadata retention.
This fixes the incosistent behavior of copy pasting
content from language code blocks containing the
language in the paste output code block by wrapping
the selection content inside a `.codehilite` that
contains the language metadata, so paste_html
contains that part to ensure consistent paste
behavior.

Report and Discussion: https://chat.zulip.org/#narrow/channel/9-issues/topic/Pasting.20code.20block.20does.20not.20include.20language.20in.20code.20block

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-11-13 14:45:37 -08:00
apoorvapendse
40ceb352f6 compose_paste: Wrap single line content in language block.
We now wrap single liner code content in a language block if the
required metadata is present in the `paste_html`. The inline
markdown paste behavior now only applies to codeblocks that don't
have a language associated with them or miss the language
metatdata in the `paste_html`.

The latter will occur less frequently after change
that will be introduced in the following commit.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-11-13 14:29:47 -08:00
apoorvapendse
fb7fcebb2c copy_messages: Make language extraction easier to read.
This gets rid of the hard-to-read ternary logic
that was used to extract the language of the code block.

Discussion:
https://github.com/zulip/zulip/pull/35639#discussion_r2263824293.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-11-13 14:29:47 -08:00
Aman Agrawal
5b22d6e2b8 left_sidebar: Scroll user to top on search.
Also, restore scroll position when input is cleared.

Tested locally that the scroll position is properly restored
in left sidebar search, topic zoom and DM zoom states.
2025-11-13 14:09:50 -08:00
Aman Agrawal
c7ee445879 sidebar_ui: Don't use throttled function on enter keypress.
There is no benefit from throttling `enter` keypress here.
2025-11-13 14:09:50 -08:00
Aman Agrawal
b21ac8936a hash_util: Revert support for incorrectly cased operator in URL.
This commit aims to revert the behaviour of supporting incorrectly
cased operators in URLs introduced in #36554.
2025-11-13 11:38:50 -08:00
Mateusz Mandera
1f602f8c03 saml: Use match syntax for parsing groups config.
Using `match`/`case` looks a bit cleaner, with the built-in tuple
destructuring, than `if`/`else` with `isinstance`.
2025-11-13 11:37:59 -08:00
Mateusz Mandera
813f28970a saml: Extract process_social_auth_group_sync_info function.
All this bunch of logic for processing the configuration and generating
the sets of syncable+intended groups is fairly long and makes the core
social_auth_sync_user_attributes logic very hard to read.
This clearly belongs in a helper function.
2025-11-13 11:37:59 -08:00
Sahil Batra
836b9dbafb settings: Add buttons for common bot actions in the table.
This commit adds code to show a "Download zuliprc" button
for "Generic" bots and "Generate URL for integration" button
for "Incoming Webhook" bots in "Actions" column of the bots
table as they are commonly used actions and would be good
to have it such that they are easy to access.

URL integration button is shown to admins and bot owners and
download zuliprc button is only shown to bot owner which is
same as what we do in "Manage bot" form.
2025-11-13 10:08:33 -08:00
Alya Abbott
ef69702058 help: Update button label.
Follow-up to #35579.
2025-11-12 17:39:33 -08:00
Alya Abbott
fadd80ae60 compose: Make banner for pasting long text more succinct.
Follow-up to #35579.
2025-11-12 17:39:33 -08:00