Commit Graph

66058 Commits

Author SHA1 Message Date
Tim Abbott
afca3d1c3a Release Zulip Server 11.0-beta2. 11.0-beta2 2025-07-29 17:43:18 -07:00
Evy Kassirer
abd1bf00eb left_sidebar: Fade muted unread dots on headers and inactive toggles. 2025-07-29 17:37:29 -07:00
Evy Kassirer
033ef953db left_sidebar: Fully rerender stream list when count display policy changes.
Now that there are many counts to update, we may as well just rerender
the whole stream list.
2025-07-29 17:37:29 -07:00
Evy Kassirer
07b05f3c78 left_sidebar: Apply summary counter setting only to home view.
Fixes #35326.

Previously, the visibility of unread counts for both the home view and
the "CHANNELS" heading was controlled by the "Hide unread summary counts"
setting. Now, it controls only the visibility of unread counts in the
home view.
2025-07-29 17:37:29 -07:00
Evy Kassirer
ef052182b1 left_sidebar: Clean up hide_unread_counts vs hide-unread-messages-count.
Now the former is only used in the channels list (headers and inactive
toggles included) and the latter is only used for the home view.

Note that this changes some behavior, notably the header and inactive
toggles now show the masked dots when all unread markers in them are
also masked.
2025-07-29 17:37:29 -07:00
Alya Abbott
756ff53912 help: Put alternate instructions into a tab. 2025-07-29 16:35:48 -07:00
Alya Abbott
42a095b2c2 help: Link to zulip.com landing page, rather than local. 2025-07-29 16:35:48 -07:00
Alya Abbott
ab89b40c8d help: Remove extra line breaks in bulleted list. 2025-07-29 16:35:48 -07:00
Alya Abbott
d15edeff1c help: Update docs for new notification options (followed topics). 2025-07-29 15:11:53 -07:00
Alya Abbott
a94b05eb19 help: Document end-to-end encryption setting for mobile notifications. 2025-07-29 15:11:51 -07:00
Alya Abbott
d6af4acb35 help: Move DM search instructions into the section about searching. 2025-07-29 12:59:20 -07:00
Tim Abbott
3c6c2c1d5a notify_local_mixes: Reorder for better readability.
No functional changes, just simpler conditionals.
2025-07-29 12:52:56 -07:00
Aman Agrawal
e5ca153673 message_view: Fix scroll jumps to top when user sends a message.
When navigating user to a `near` narrow if
`first_unread_msg_id_pending_server_verification`,
we didn't remove the `with` term, which results in
`is_conversation_view_with_near` check failing and hence
results in unexpected behaviour.
2025-07-29 12:46:16 -07:00
Aman Agrawal
3dec633ac4 compose_notifications: Extract function to show scroll to view banner. 2025-07-29 12:46:16 -07:00
Lauryn Menard
070361e28c help: Add mobile instructions for setting and clearing user status. 2025-07-29 12:35:20 -07:00
Lauryn Menard
7aa93d3447 help: Improve emoji reactions documentation. 2025-07-29 12:25:10 -07:00
Lauryn Menard
c7a4d0f470 help: Remove "general chat" italic formatting for title/sidebar.
Once the help center has transitioned to astro, we will look at
adding back the formatting to the title and sidebar for these
two articles: "General chat topic" and "General chat channels".
2025-07-29 11:24:51 -07:00
Alya Abbott
0db75c6c03 help: Remove list formatting from tip.
This simplifies the converstion to Astro.
2025-07-29 10:33:40 -07:00
Shubham Padia
6e7f1999a3 help: Use unordered lists for sub-lists in saml-authentication.md.
Our current conversion script does not work well with inserting
flattened steps in indented lists. Adding support for indented lists
would be non-trivial. Flattened steps are inserted either in case of
files or relative/setting links. I used this (  +)\{ regex to test for
instances where we might need to insert Flattened steps in an indented
block. Turns out saml-login-button.md is the only includes that faces
the issue only in saml-authentication.md.

There was no strong reason for these sub-lists to be ordered lists and
we decided to turn it into unordered list. Discussion at
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20numbering.20regression/near/2232242
2025-07-29 10:10:32 -07:00
Shubham Padia
34633d467e help: Multiline ordered list items should have spacing after 2nd line.
The expected behaviour would be to have some spaces from the second line
onwards for multi-list items. Regex used to check for this was
`^1\..*\r?\n^[^\s].*$` which gives us some extra results that don't fit
our criteria which we can chose to ignore.
2025-07-29 10:09:21 -07:00
Shubham Padia
ecf3fd90c2 help-beta: Recursively traverse for get_include_files_info.
We do have cases of multi level includes that apply to
is_include_only_ordered_list.
2025-07-29 10:09:21 -07:00
Shubham Padia
8b9c616ea2 help-beta: Remove reduntant TODO item for ordered list numbering.
The TODO list item wanted us to check that all ordered list items
started with `1.`. We fixed this in #34964.
2025-07-29 10:09:21 -07:00
Shubham Padia
b19fbe5c9b help-beta: Remove redundant TODO item for indented admonitions.
This was fixed in 41846b35ab.
2025-07-29 10:09:21 -07:00
Shubham Padia
96bb7ffc05 help-beta: Includes with tips can also now be only ordered lists.
FlattenList was not able to handle other components inside a list in the
past, but that has changed in the past few commits and we no longer need
to check for tips in include files for `is_include_only_ordered_list`.
2025-07-29 10:09:21 -07:00
Shubham Padia
646558af13 help-beta: Check for nested ordered list for flatten list conversion.
We had some include files that started with another include, and in some
cases this nested included file was also `only` an ordered list. In that
case, we need to add a flattenlist around the file, but our current
conversion script was not accounting for that.
2025-07-29 10:09:21 -07:00
Shubham Padia
4b9a8d8fa7 help-beta: Indent includes and code blocks for import files.
The indentation in the original files was fine for the current help
center, but when converting the files to MDX, the indentation made the
includes and the code blocks look like they were on the same level as
the list item and not part of it.

I did a manual check of code blocks with indentation in help/ and how
they looked when converted to the new help center and the rest of the
cases looked fine.
2025-07-29 10:09:21 -07:00
Shubham Padia
62988bb09e help-beta: Seperate heading/description and ordered list into 2 files.
For included files, our conversion tool needs a file just to be an
ordered list to properly surround it with FlattenList. If there is
heading and description in the file, the conversion script will not
insert FlattenList. So, we just create two different include files in
this case, first for the heading/description and second for the ordered
list.
2025-07-29 10:09:21 -07:00
Shubham Padia
429bbae77c help-beta: Flatten only in case of matching tagName.
In the commits following this, we are going to make changes which will
introduce cases with paragraphs, code blocks and other elements inside
list items. Right now, FlattenList will just break in those cases. We
need to return those elements without flattening since those are valid
elements inside a list item.
2025-07-29 10:09:21 -07:00
Shubham Padia
8d0f67c3d5 help-beta: Add support for converting {{ support_email }} variable.
Fixes
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20support.20email.20variable.20conversion

We already have this variable defined in astro.config.mjs. We just need
to convert it to appropriate syntax.
2025-07-29 10:04:40 -07:00
Shubham Padia
cb8ecc6143 help: Point mailto to {{ support_email }} instead of zulip cloud email.
We were displaying the email as `{{ support_email }}` but we were not
changing the mailto link to point to that email. This commit fixes that.
2025-07-29 10:04:40 -07:00
Alex Vandiver
085d137871 upload: Rename attachment_vips_source, as it's not just for vips_source. 2025-07-29 10:01:40 -07:00
Alex Vandiver
e37ee13577 upload: Add charset even on content-types guessed at download time. 2025-07-29 10:01:40 -07:00
Alex Vandiver
0c6b3373be upload: Ensure that we always have a content-type.
Old uploads are stored without a content-type, and guess_type may not
provide a type for them.
2025-07-29 10:01:40 -07:00
Alya Abbott
1bc7696c24 updates: Add Zulip update (level=20). 2025-07-28 23:52:56 -07:00
Alya Abbott
c22204c092 help: Document how to find channels and DMs in the left sidebar. 2025-07-28 23:52:55 -07:00
Alya Abbott
641a436b44 preferences: Update inactive channels preference setting for new UI.
"Hide" is a better verb with the channel folders UI.

Also automatically hide inactive channels at 20+ susbscribed channels,
as we have more content in the left sidebar now.
2025-07-28 23:52:55 -07:00
Alya Abbott
3e661bee9b help: Document channel folders, and update existing docs. 2025-07-28 23:52:53 -07:00
Aman Agrawal
ade30e822a inbox: Fix left alignment of user full name in DM rows.
They were misaligned since `user-circle` uses a different font-size
than rest of the icons and thus needed a different padding in `em`.
2025-07-28 23:46:28 -07:00
Sahil Batra
8ae9cca3c9 channel_folders: Check max length restrictions while updating.
This commit updates code to make sure we check maximum allowed
length for name and description for channel folders when updating
them.
2025-07-28 23:12:58 -07:00
Sahil Batra
6186df4f72 channel_folders: Update MAX_NAME_LENGTH to 60. 2025-07-28 23:12:58 -07:00
Sahil Batra
db00ceaeb2 register: Pass channel folder max name and description length.
This commit adds "max_channel_folder_name" and
"max_channel_folder_description" fields to response.

Also updated webapp to use these fields instead of hardcoding
the values.
2025-07-28 23:12:58 -07:00
Sahil Batra
945e5553e4 test_channel_folders: Add test for long name and description.
This commit add tests for name and description being too long
when creating channel folders.
2025-07-28 23:12:58 -07:00
Shubham Padia
f343fc6823 help-beta: Correct casing for sidebar sections. 2025-07-28 22:19:30 -07:00
Evy Kassirer
769dc06704 left_sidebar: Rename OTHER CHANNELS folder to CHANNELS.
We're changing this so that in views like inbox (which
only shows locations with unreads), it feels a bit weird
for it to possibly only have a "DIRECT MESSAGES" and then
"OTHER CHANNELS" section, if your only unreads are in
non-pinned folders.

More discussion here:
https://chat.zulip.org/#narrow/channel/101-design/topic/channel.20folders.20in.20left.20sidebar.20.2331972/near/2231091
2025-07-28 22:10:14 -07:00
Sahil Batra
04a356b4a1 streams-ui: Focus on name input after opening folder creation modal. 2025-07-28 22:09:16 -07:00
Evy Kassirer
c9cee7ece2 left_sidebar: Don't scroll stream into view on folder update.
It's an administrator action to edit channel folder membership, so it
doesn't make sense to update the user view for this action.

Fixes #35493.
2025-07-28 17:47:03 -07:00
Evy Kassirer
fd32450488 left_sidebar: Prevent wrap on channel folder names. 2025-07-28 17:46:29 -07:00
Anders Kaseorg
b404ca1a02 makemessages: Remove vestigial custom JavaScript extraction.
Commit d8a36d0702 (#18075) should have
removed this.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-28 17:44:23 -07:00
Tim Abbott
afdf20c67e docs: Document PUSH_NOTIFICATION_REDACT_CONTENT changes.
This needs explanation both in upgrade notes and in the main
documentation for mobile push notifications.

Co-authored-by: Prakhar Pratyush <prakhar@zulip.com>
2025-07-28 17:06:59 -07:00
Prakhar Pratyush
d972bb1ca9 push_notifications: Redact content for older clients if E2EE required.
This commit replaces the `PUSH_NOTIFICATION_REDACT_CONTENT` server
setting with `require_e2ee_push_notifications` realm setting.

If `require_e2ee_push_notifications` set to True:
* Older clients: Content redacted
* Updated clients: Encrypted content

If `require_e2ee_push_notifications` set to False:
* Older clients: Content NOT redacted
* Updated clients: Encrypted content

Note: Older clients refers to clients that don't support E2EE.

Fixes part of #35370.
2025-07-28 17:06:59 -07:00