Commit Graph

65770 Commits

Author SHA1 Message Date
Mateusz Mandera
342c00cc7b data_import: Set a default announcements channel for 3rd party imports.
For Slack, Mattermost and RocketChat, set the default announcement
channels if the sane default channel is available in the import.

The next commit will add a mechanism to choose an alternative default if
the expected channel name is not present.

Addresses the major part of #34984.
2025-07-18 17:45:21 -07:00
ducnb
715d07c231 api: Add administrator endpoint for updating user status.
Fixes #33139.
2025-07-18 17:37:26 -07:00
Alya Abbott
fdb35f2f81 compose: Improve preview mode tooltips.
Also modernize help center instructions for message previews.
2025-07-18 17:22:34 -07:00
Alya Abbott
bfdd858799 help: Modernize instructions for inserting a GIF. 2025-07-18 17:22:34 -07:00
Tim Abbott
8d5abc34ac channel_folders: Fix stale code in a node test. 2025-07-18 16:49:36 -07:00
Aman Agrawal
61e25ff0cd channel_popover: Fix go-to-list-of-topics not working on enter.
Used `navigate-link-on-enter` class to fix it.
2025-07-18 16:41:26 -07:00
Aman Agrawal
2ba72101a2 inbox: Simplify keyboard navigation.
This makes use of `data-col-index` attribute on the elements
to know which column to focus based on user input.
2025-07-18 16:41:26 -07:00
Aman Agrawal
35c0de27fe hotkey: Add y hotkey support for inbox and recent view. 2025-07-18 16:41:26 -07:00
Aman Agrawal
2223ab176c inbox: Fix left side text overlflowing their containers.
Fixed channel name, folder name and topic overflowing their containers.
2025-07-18 16:41:26 -07:00
Aman Agrawal
cf40aa9bb5 tippy: Show expand / collapse tooltip on hover. 2025-07-18 16:41:26 -07:00
Aman Agrawal
47f42ed149 inbox: Redesign to show channel folders. 2025-07-18 16:41:26 -07:00
Aman Agrawal
ded8f93ca0 inbox: Always show collapsed icon for collapsed headers. 2025-07-18 16:41:26 -07:00
Aman Agrawal
189f1a8899 inbox: Only show collapse icon on hover or focus. 2025-07-18 16:41:25 -07:00
Aman Agrawal
ebb0c9b496 inbox: Move collapse button after the header name. 2025-07-18 16:41:25 -07:00
Aman Agrawal
51047d3b43 inbox: Treat DM row as a folder row. 2025-07-18 16:41:25 -07:00
Tim Abbott
0f19fda610 filter: Mark messages as read in -is:dm view.
We avoid doing the more complex composability here, since that's
potentially risky.

Fixes #25113.
2025-07-18 16:35:30 -07:00
Tim Abbott
3bd82927dc ldap: Improve unique_account_id defaults and docs.
Some installations will change `dn` when a user marries, and also for
Active Directory and various other LDAP providers I've checked,
there's often a better value to use.
2025-07-18 14:34:09 -07:00
Tim Abbott
eaf4970215 help-beta: Shrink all the headings some more. 2025-07-18 14:12:16 -07:00
whilstsomebody
1c697a42ff user_status_ui: Show remove status icon when only emoji is present.
Previously, due to a logic issue, the clear status icon did not
appear when there is only selected emoji in the status—it appeared
only when status text was present.

This commit fixes the bug and now the clear status icon disappears
only when neither status text nor a selected emoji is present.

Fixes: #35176
2025-07-18 12:55:55 -07:00
Sahil Batra
80b9caa5ac user-profile: Add maxlength attribute to name inputs in edit form.
This commit adds maxlength attribute with value set to 100 to
name inputs in both "Manage user" and "Manage bot" modals since
we allow maximum 100 characters for both user and bot names.
2025-07-18 12:46:48 -07:00
Sahil Batra
b9e9697be2 settings: Fix maxlength for name input in "Profile" panel.
The "maxlength" attribute for "Full name" input in "Profile"
settings panel was incorrectly set to 60, when we allow
maximum 100 characters. This commit fixes that.
2025-07-18 12:46:48 -07:00
Shubham Padia
4dc802aa9a help-beta: Add option to format mdx documents.
Partially fixes #35129.

Prettier could not be used because of prettier issue number 12209, not
linked here to avoid spam backlinks on the original issue. Prettier does
not have support for mdx v2 and v3.

We are using remarkLintRulesLintRecommended and
remarkPresentLintMarkdownStyleGuide as our starting set of rules.
None of the rules were giving an error on the starting set, but some
rules were giving lots of warnings on the generated mdx. They are
set to false in this file, we can add them back later as and when
required.

We have not inserted this in the main lint tool, we should do that in
the final cutover PR since we don't want the lint here to give any
unexpected warnings when people are linting stuff unrelated to the mdx
files.

This commit has been tested out on the current state of help center to
not produce any errors or warnings. The first run of format will produce
tons of warnings which are the issues being auto-fixed by the linter.
After that, the second run should produce zero errors.
2025-07-18 12:44:29 -07:00
Shubham Padia
48c8e0a700 help: Fix instances of empty url.
The linting in our new help center does not allow empty urls, so we
need to fix it at source before conversion. We replace these with
destinations on the current page.
2025-07-18 12:44:13 -07:00
Shubham Padia
d9bd2731da help: Use triple dash for comments. 2025-07-18 12:38:57 -07:00
Alex Vandiver
51f214877f message_edit: Improve error message string. 2025-07-18 11:08:34 -07:00
Alex Vandiver
10cf86291e i18n: Trim some unnecessary leading/trailing spaces from translation strings. 2025-07-18 11:08:34 -07:00
Alex Vandiver
4c2cf4dca8 compilemessages: Weblate's Language-Team uses <>. 2025-07-18 04:33:52 +00:00
Alex Vandiver
7f90f9b864 i18n: Trim and remove "fuzzy" flag from msgstr with trimmed msgid.
This repeats #34801, but also covers the cases where the msgstr was
already trimmed, because the translator did not bother to include the
leading/trailing whitespace in their translations.
2025-07-18 03:47:45 +00:00
Alex Vandiver
808e47c4e8 i18n: Update .po files with ./manage.py makemessages. 2025-07-18 03:41:11 +00:00
Hosted Weblate
83b762ef98 i18n: Sync translations from Weblate. 2025-07-18 05:24:13 +02:00
Tim Abbott
d465705177 api: Document meaning for twenty_four_hour_time=null.
This documentation-only change will allow us to add that as a valid
value in the future, by having client implementations not crash on
seeing the value.

See [the API design discussion](https://chat.zulip.org/#narrow/channel/378-api-design/topic/.60user_settings.2Etwenty_four_hour_time.60/near/2220575).
2025-07-17 17:45:49 -07:00
Pratik Chanda
e04e281413 search: Remove background suggestion highlight for text search.
This commit removes the background suggestion highlight in the
search suggestion for text search suggestion.
2025-07-17 15:57:53 -07:00
Tim Abbott
fe8853bcc9 api: Increment API feature level to 407. 2025-07-17 15:45:17 -07:00
Alya Abbott
854c7d4ea8 help: Update help center for new channel permissions. 2025-07-17 15:44:53 -07:00
Vector73
9e63cd57fe tests: Add tests for deleting private messages. 2025-07-17 15:44:53 -07:00
Vector73
97e98e0f8f settings: Rename organizaton-level delete own message setting label. 2025-07-17 15:44:53 -07:00
Vector73
a02614204a settings: Add can_set_delete_message_policy_group setting.
Adds new organization setting `can_set_delete_message_policy_group`
for defining who can set per-channel message delete permissions.

Fixes #34214.
2025-07-17 15:44:53 -07:00
Vector73
97a43fa6b6 stream_settings: Add can_delete_own_message_group setting.
Adds per-channel `can_delete_own_message_group` setting for
defining who can delete their own message in the channel.
2025-07-17 15:44:52 -07:00
Vector73
c4e641365b stream_settings: Add can_delete_any_message_group setting.
Adds per-channel can_delete_any_message_group setting for
defining who can delete any message in the channel.
2025-07-17 15:44:42 -07:00
Vector73
be1876c01c message_edit: Add is_spectator check for deletability of message. 2025-07-17 15:36:15 -07:00
Anders Kaseorg
d24eab02d2 request: Use Django 5.2 HttpRequest.get_preferred_type.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-17 14:37:11 -07:00
Anders Kaseorg
6006ba4c44 upload: Make closest_thumbnail_format take an HttpRequest.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-17 14:37:11 -07:00
Alya Abbott
f3e12b2403 portico: Add new features to comparison table. 2025-07-17 14:35:20 -07:00
Alya Abbott
6bf278cfa5 help: Cross-reference scheduled messages with message reminders. 2025-07-17 12:08:20 -07:00
Tim Abbott
8933f21e60 version: Update version following 11.0-beta1. 2025-07-17 11:51:19 -07:00
Tim Abbott
e77733c8d5 Release Zulip Server 11.0-beta1. 11.0-beta1 2025-07-17 11:37:40 -07:00
Tim Abbott
ae80f81a42 Revert "i18n: Run ./manage.py makemessages to regenerate .po files."
This reverts commit 3ad8395aba.

The Weblate merge conflicts are too annoying with this having sat
overnight.
2025-07-17 09:56:05 -07:00
Tim Abbott
6d9ae6fcd5 Revert "i18n: Trim and remove "fuzzy" flag from msgstr with trimmed msgid."
This reverts commit a9c37cbc07.
2025-07-17 09:56:05 -07:00
Tim Abbott
05700ce943 docs: Update changelog in preparation for 11.0-beta1. 2025-07-17 09:42:50 -07:00
Shubham Padia
81fbc93cd9 help-beta: Build step should accept --no-relative-links.
Partially fixes #35131.
2025-07-17 09:22:13 -07:00