Commit Graph

65483 Commits

Author SHA1 Message Date
Evy Kassirer
31fb0bd6d7 channel_folders: Let a new channel in a folder be created through a hash. 2025-06-27 17:09:08 -07:00
opmkumar
87cdea0fa1 left_sidebar: Always show home-view row popover, even with no unreads.
Fixes #28759.
2025-06-27 13:50:18 -07:00
opmkumar
2712325d1f left_sidebar: Use popover to show/hide unread summary counts.
Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>

Fixes part of #28759.
2025-06-27 13:50:18 -07:00
opmkumar
d3a7122b62 left_sidebar: Use personal settings to hide unread summary counts.
This commit adds code to use
`web_left_sidebar_unreads_count_summary` from personal
settings in web app.

Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>

Fixes part of #28759.
2025-06-27 13:50:18 -07:00
opmkumar
87d14086af settings: Add web_left_sidebar_unreads_count_summary setting.
Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>

Fixes part of #28759.
2025-06-27 13:50:15 -07:00
opmkumar
cf658155e7 left_sidebar: Remove logic of hiding unread counter of STREAMS header.
This removes the previous logic where the STREAMS header unread counter was
hidden when "Show unread counts for" was set to "No streams."
2025-06-27 13:38:38 -07:00
Pratik Chanda
a2fc3a0d7f unread_banner: Fix unread banner not hiding when marking topic as read.
Earlier, when we had unread banner in message list and user marks
all messages as read for topic, unread banner would persist even
though we had no unread messages in current message list.

This commit hides unread banner when there are no unreads just like
we show banner when unread messages appear in message list.

Fixes:zulip#33866.
2025-06-27 13:18:43 -07:00
Tim Abbott
5cfa8b4dc2 settings: Consistently describe Slack-compatible webhook format.
Previously, the settings edit UI used a different phrasing, and "Slack
compatible" used a dash only in the documentation.

We settle on "Slack-compatible", since that's what we use for the
similar incoming webhook format.
2025-06-27 11:31:59 -07:00
Tim Abbott
711d45de11 api_docs: Clarify Slack compatible webhook format. 2025-06-27 11:31:59 -07:00
Lauryn Menard
8cb6919c9c help: Add tabbed notes and links for previous mobile features.
For mobile features that were documented and implemented for the legacy
React Native app, adds back a tabbed block for mobile with a note to
use the web app instructions in a mobile device browser, and with a
link to the Flutter GitHub issues tracking implementing the feature in
the new mobile app.

If the feature is a mobile only feature, then adds the link to the
Flutter GitHub issue in a warning note.
2025-06-27 11:08:29 -07:00
ben
954c06cc7d docs: Fix changelog and postgres info for 11.x.
- Fixed misordered changelog entries for version 11.x and 10.3.
- Removed postgres 13 from support table for zulip 11.x.
2025-06-27 10:54:38 -07:00
Karl Stolley
1a3cf7c07a copy_paste: Offset to the left, not the right. 2025-06-26 17:39:14 -07:00
Mateusz Mandera
d5edaf33d0 signup: Add user to groups when joining via multiuse invite+social auth.
When a user was joining via a multi-use invitation link, using one of
the social auth methods (e.g. Login with Google), the intended group
memberships configured on the multi-use invite would be ignored.
2025-06-26 12:29:10 -07:00
Tim Abbott
ed2e9777c9 build-help-center: Don't fail the first time. 2025-06-26 11:24:31 -07:00
Tim Abbott
48c2b19066 tools: Fix linter error in build-help-center.
I'm not sure how I missed this when moving the django import.
2025-06-26 11:19:40 -07:00
Shubham Padia
8d4c2b7847 help-beta: Add support for relative links.
Fixes #31253.
We've added another env variable called `SHOW_BILLING_HELP_LINKS`.
This env variable is set to `settings.CORPORATE_ENABLED` if the
`build-help-center` tool is used.
2025-06-26 10:53:53 -07:00
Shubham Padia
a90856864a help-beta: Convert build-help-center to a Python script.
We need to fetch some values from settings in the future and use it in
the build process, we need our script to be in Python for that.
2025-06-26 10:53:51 -07:00
Shubham Padia
224b98b455 help-beta: Fix relative path during initial stages of conversion.
When we were doing it later, the issue we encountered was that when we
add support for relative links in the future, relative path fixing was
happening after `relative/help` had been added to the modified markdown
file, replacing it with `relative/help-beta` which wasn't the
replacement we intended.
2025-06-26 10:46:37 -07:00
Shubham Padia
a0deeae80e help-beta: Introduce NavigationSteps component for settings links.
Fixes #31254.
We are using `SHOW_RELATIVE_LINKS` as the env variable to set if we
want to show relative settings link or non-linked markdown instructions.
We are not trying to determine `SHOW_SETTINGS_LINK` by ourselves. See
https://chat.zulip.org/#narrow/channel/49-development-help/topic/Passing.20sitename.20for.20astro.20project.20in.20production.2E
for more details.
Until the cutover happens, we would need to manually update the mapping
in both the astro component and the python file, but since that mapping
is not frequently changed, that is a tradeoff we can make.
We had to add margin-bottom: 0 to icon styling since starlight was
inserting a margin-bottom of 1.25 em for list items.
2025-06-26 10:46:37 -07:00
Prakhar Pratyush
8e1f0c4bcf topic_list: Fix "show all topics" flashing.
Earlier, 'all_topics_in_cache' used to return `false`
in the case where we were unsure if some topics were
present even before the user subscribed to the channel
and hence missing in the cache.

Returning `false` led to visible 'show all topics',
even if all the topics were already displayed. This was
helpful if the API call to fetch channel history failed,
as users had the option to make another request.

That resulted in a bug where "show all topics" was flashing
in channels with less number of topics. We used to display
"show all topics" initially and then hide it after the API
call confirmed that there were no new topics to display.

To fix this bug, we return `true`. So, the "show all topics"
is not displayed beforehand. We let the API call fetch the history
and rebuild the topic list based on the updated data.

Instead of show then hide. We now prefer, show if needed.

To fix the issue of API call failure and users having no option
to see all topics, we did prep work in the last commit
to add retry mechanism to the concerned API call.
2025-06-26 10:11:05 -07:00
Prakhar Pratyush
43249cb431 stream_topic_history_util: Add retry mechanism to get_server_history.
Earlier, in `get_server_history` the API call to fetch stream-topic
history didn't have a retry logic.

This commit adds a retry mechanism.

If the request to fetch stream topic history fails, we now retry
the request up to a fixed number of times before giving up.
This improves UX in case of temporary network issues.
2025-06-26 10:11:05 -07:00
Prakhar Pratyush
2bf13c36be test_stream_topic_history: Remove unused mock for people.ts.
This commit removes the unused mock for 'people.ts' in
'stream_topic_history.test.cjs'.
2025-06-26 10:11:05 -07:00
Kislay Verma
8d0f13cad4 help: Document Send notification message to newly subscribed users.
This option appears in the subscribers tab of existing
channels.

Fixes #31189.
2025-06-26 10:08:11 -07:00
Kislay Verma
ee8913e14b streams: Fix typos in comments.
This commit fixes some old typos in comments in views/streams.py file.
2025-06-26 10:08:11 -07:00
Kislay Verma
f448890158 channel: Add option to notify users newly added to a channel.
When a user is added to a channel, we send
the user that was added a Notification Bot
DMs to let them know about it.

In this commit, we add an option for whether or not
this message is sent.

If more than 100 users are added at once, we
do not send notification bot DMs since it would
be a performance-costly operation.

We also send this threshold value of 100 in the
initial state data to the clients.

Fixes part of #31189
2025-06-26 10:08:11 -07:00
Kislay Verma
9e854edd70 add_subscribers_pill: Export get_pill_user_ids.
This is a prep to #31189, where we need this function
out of this module, in a callback.
2025-06-26 10:08:11 -07:00
Kislay Verma
5f80f0a970 channel: Add option to notify users newly added to a channel.
When a user is added to a channel, we send
the user that was added a Notification Bot
DMs to let them know about it.

In this commit, we add an option for whether or not
this message is sent.

If more than 100 users are added at once, we
do not send notification bot DMs since it would
be a performance-costly operation.

We also send this threshold value of 100 in the
initial state data to the clients.

Fixes part of #31189
2025-06-26 10:08:11 -07:00
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