Commit Graph

65306 Commits

Author SHA1 Message Date
Pratik Chanda
fd355e2028 social_auth: Fix keyboard navigation on accounts in oauth.
This commit makes the accounts in oauth page navigable on `Tab`.

Fixes:zulip#34724.

Co-authored-by: Parasaran <v.parasaran@gmail.com>
2025-06-26 10:02:30 -07:00
Vector73
27bfca61c1 settings: Update move messages settings label.
Updates organzation-level move messages permission setting
labels to make it clear that the settings apply to all channels.
2025-06-26 10:01:43 -07:00
Tim Abbott
9fe3a03661 i18n: Update translations from Transifex. 2025-06-25 22:58:55 -07:00
Mateusz Mandera
9e3a9b4349 process_new_human_user: Update comments.
These comments miss to mention adding to user groups on the list of
things done with the new user account.
2025-06-25 17:38:12 -07:00
Anders Kaseorg
dbd63203af dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 16:53:17 -07:00
Anders Kaseorg
7959a1853c install-node: Upgrade Node.js from 22.16.0 to 22.17.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 16:53:09 -07:00
Anders Kaseorg
9f8f6e60d9 install-uv: Upgrade uv from 0.7.11 to 0.7.15.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 16:52:39 -07:00
apoorvapendse
ed84264c39 message_row: Add cursor:pointer for all control icons.
Fixes: https://chat.zulip.org/#narrow/channel/137-feedback/topic/.60cursor.3A.20pointer.60.20applied.20to.20whole.20message.20content/near/2203930.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-06-25 16:33:49 -07:00
Alya Abbott
edcf0d1013 help: Document how to view availability. 2025-06-25 12:19:56 -07:00
Aman Agrawal
bf1b571af5 message_reminder: Set a 6s delay before closing reminder feedback widget.
Increases the feedback widget from 4s to 6s for reminder scheduled
toast.
2025-06-25 12:05:28 -07:00
Aman Agrawal
b5f7e24669 message_reminder: Add UI to schedule message reminder.
This adds an option in message actions popover menu to schedule
a message reminder.
2025-06-25 12:05:28 -07:00
Aman Agrawal
1384a8d19b compose_send_menu_popover: Extract function to parse send_at_time.
This will be commonly used to schedule a reminder and a message.
2025-06-25 12:05:28 -07:00
Aman Agrawal
68aefeafdd reminder: Use pretty message link for reminder text. 2025-06-25 12:05:28 -07:00
Tim Abbott
b437bcd5c4 topic_link: Document get_fallback_markdown_link. 2025-06-25 12:03:54 -07:00
Anders Kaseorg
392ac742b4 deferred_email_senders: Correct worker class name.
This name seems to have been copied from
zerver.worker.email_senders.ImmediateEmailSenderWorker, but deferred
is the opposite of immediate.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 12:03:23 -07:00
Aman Agrawal
8427c2e763 css: Remove outline on buttons on click.
Fixes #34479
2025-06-25 11:55:36 -07:00
Niloth P
fb74cd3ddf webhooks/opsgenie: Support linking to EU instances.
Adds a URL parameter to the webhook to track the region of the Opsgenie
instance (US/EU), and uses that to construct the alert URL in the
message.

Fixes #34947.
2025-06-25 11:52:02 -07:00
Anders Kaseorg
162a0980c0 requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
cdbe2d157f flush_memcached: Respect DJANGO_SETTINGS_MODULE.
We don’t need to flush anything for zproject.test_settings, which
disables memcached.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
2539d9774e populate_db: Copy lists before shuffling them.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
9ebf461998 user_settings: Add event_value type annotation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
47aa34097b lookups: Adjust for django-stubs change.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
750a08ad17 ruff: Fix LOG014 exc_info= outside exception handlers.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
10705e0db3 validator: Disable WildValue equality comparison.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
2747127e6c push_notifications: Convert UserPushIdentityCompat to dataclass.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
f990a1400f ruff: Fix FURB122 Use of f.write in a for loop.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Anders Kaseorg
e8fdae8f7b ruff: Fix PLR1733 Unnecessary lookup of dictionary value by key.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-25 11:49:02 -07:00
Alex Vandiver
b924169d17 setup-apt-repo: Add libheif PPA, and debian bookworm backport.
libheif 1.18 is required to be able to parse images generated by iOS
18; none of Zulip's supported distributions package libheif 1.18, so
we pull new version of the package from PPA (Ubuntu) or backports
(Debian).
2025-06-25 11:39:18 -07:00
Maneesh Shukla
74b928e3dc add-emoji: Disable browser autocomplete for emoji name input. 2025-06-25 11:36:25 -07:00
Maneesh Shukla
5f0a761512 add-emoji: Redesign buttons in add emoji modal.
This commit redesigns the clear image and add image buttons to new
action button.
2025-06-25 11:36:25 -07:00
Alex Vandiver
0fb87acfa8 help: Make sure curl is installed before calling it. 2025-06-25 11:35:05 -07:00
Alex Vandiver
484928d425 logo: Add BIMI-compatible SVG P/S logo.
Follows https://bimigroup.org/creating-bimi-svg-logo-files/.
2025-06-25 10:58:08 -07:00
Alya Abbott
aa0f1711c7 help: Document channel-specific permissions to move messages. 2025-06-24 16:56:01 -07:00
Vector73
b612351e48 stream_setting: Add setting for who can move messages out of channel.
Adds `can_move_messages_out_of_channel_group` channel-level
permission for who can move messages out of the channel.

Fixes #34243.
2025-06-24 16:52:53 -07:00
Vector73
703601a5d5 stream_setting: Add setting for who can move messages within channel.
Adds `can_move_messages_within_channel_group` channel-level
permission for who can move messages within the channel.
2025-06-24 16:52:53 -07:00
Vector73
43dcc6e3fd bug: Fix incorrect topic resolution check.
Previously, when sending messages to resolved topics, the warning
suggesting to resolve that topic used wrong check to verify if the
user is allowed to resolve the topic. This commit fixes that.
2025-06-24 16:52:53 -07:00
Alya Abbott
1e4bdf1a79 import: Label tweak. 2025-06-24 16:50:05 -07:00
Shubham Padia
4d081c6124 markdown: Make start border of link previews and blockquotes same.
We also want to align them alongside making them look same.
https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.93.82.20message_inline_ref.20dropbox.20links/near/2191600
2025-06-24 13:48:01 -07:00
Shubham Padia
83755c1aec markdown: Remove unused message_inline_ref.
Fixes #32640.
We cannot remove the styles yet since older dropbox previews will still
be using them. We can remove those in a followup issue.
2025-06-24 13:48:01 -07:00
Shubham Padia
bace83ec5a markdown: Change URL structure for dropbox preview to be up-to-date.
The URL structure for a shared link has changed since this function was
returned and this commit makes sure our code is in compliance with that
structure.

The concept of an album doesn't exist anymore and folders exist in-lieu
of that.

For dropbox links that are folders on non-image files, we show previews
same as any other link previews. It is not possible to get information
about the shared link except whether it is a file or folder. So for
title and description for that linked preview, we use `Dropbox file` or
`Dropbox folder` respectively.

Earlier, we were just having raw=1 as the query param to get the image
file if required, but now for every dropbox sharing link, preserving
query params is important (otherwise we get a 404), this commit makes
changes to address that.

For /sc/ links, it is not possible to generate them anymore (afaik), but
it is possible to view those existing links, so we support that link but
treat it as a folder instead.

You can check
https://www.dropboxforum.com/discussions/101001012/shared-link--scl-to-s/689070/replies/695266
for URL structure info.

We have used inline ignore for codespell since fo can be a valid
misspell of `of` and we don't want to ignore that.

https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.93.82.20message_inline_ref.20dropbox.20links

Co-authored-by: Tim Abbott <tabbott@zulip.com>
2025-06-24 13:48:01 -07:00
Shubham Padia
22b5744726 help: Remove unused message_handle_match.
A search for `relative|message` returns zero matches. We should remove
this unused part of `help_relative_links`.
2025-06-24 12:54:39 -07:00
Prakhar Pratyush
0be5ea715d hotkey: Ignore keydown events with event.key=undefined.
Some browsers trigger a 'keydown' event with `key === undefined`
on selecting autocomplete suggestion. These are not real keypresses
and can be safely ignored.

See: https://issues.chromium.org/issues/41425904

Earlier, not handling it was resulting in error later in the codepath.
2025-06-24 12:44:16 -07:00
Aman Agrawal
fd911095eb inbox: Fix first row icon visible without user action.
Now the icons will only be visible if user made a relevant
keyboard input or hovers over the row.
2025-06-24 12:08:46 -07:00
Shubham Padia
92d1fcdce6 banners: Change insecure-desktop-app intent and message.
Fixes
https://chat.zulip.org/#narrow/channel/438-release-management/topic/desktop.20minimum.20versions/near/2116356.
We have changed the intent from danger to warning.
2025-06-24 12:07:54 -07:00
Alya Abbott
3207403425 help: Describe topic mentions as separate from wildcard mentions. 2025-06-24 12:07:16 -07:00
Aman Agrawal
5046c8a1a2 register: Fix ToS error overlapping with subscribed checkbox text.
Fixed by using the same set of classes we use to show error when
verifying the form locally.
2025-06-24 12:01:50 -07:00
Karl Stolley
5170a4ad28 widgets: Make poll options clickable. 2025-06-24 10:14:05 -07:00
Karl Stolley
9dec5481eb compose: Set grid-area for iconless channel label. 2025-06-24 10:13:16 -07:00
Kislay Verma
9507b7b36f organization settings: Clean up labels for custom time limits.
We make the text "minutes" agree with the number
in the input field.
In the future, we could make the units configurable
as in the invitation modal.

Fixes #34692.
2025-06-24 10:12:15 -07:00
Varun-Kolanu
d5e9d81957 integrations: Add support for GitLab access token expiry events.
Fixes #34405.
2025-06-24 10:08:56 -07:00