Commit Graph

60115 Commits

Author SHA1 Message Date
Karl Stolley d34183154f modal_button: Use negative outline-offset to compensate for scaling.
(cherry picked from commit e11cfd7ba8)
2024-08-01 11:24:58 -07:00
Anders Kaseorg 3c7dcce08d users: Reduce date_joined precision to minutes.
Fixes #31188, removing a lot of useless high-entropy data from the
/register response.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 8f1a97f168)
2024-08-01 11:24:58 -07:00
Alex Vandiver efed087741 lightbox: Disable controls on video previews in lightbox.
Setting any value for a boolean attribute (like "controls") enables
it.

(cherry picked from commit 2d0468bde5)
2024-08-01 11:24:58 -07:00
Alya Abbott 44026444dc docs: Tweak server roadmap documentation.
(cherry picked from commit 01d6126681)
2024-08-01 11:24:58 -07:00
Karl Stolley e5b485db64 user_profile: Properly center icon for copying URLs.
(cherry picked from commit 0831636050)
2024-08-01 11:24:58 -07:00
Alex Vandiver a3a919e01f analytics: Better indexed join to analytics_usercount, using realm_id.
analytics_usercount_property_realm_id_end_time_591dbec1_idx, added
back in b7df84d5a8, makes this lookup actually indexed.
195defb031 rewrote this query in a way which stopped using the
index.

(cherry picked from commit 94795500b5)
2024-08-01 11:24:58 -07:00
Kenneth Rodrigues be658cdee5 ListWidget: Fix sliding of actions column in tables.
Added right padding to the actions heading in the table.

Fixes #29633.

(cherry picked from commit 4b04e2c09c)
2024-08-01 11:24:58 -07:00
lumpleme fba7e02c24 integrations: Prevent duplicate GitHub pull request review messages.
GitHub sends two almost identical payloads when a pull
request is reviewed, which results in two duplicative
notification messages.

The payloads have different "action" value, with one
having the "submitted" action, whereas the other is
"edited" and has an empty "changes" dict.

We now ignore the payload with the "edited" action type
and an empty "changes" dict.

Fixes #26145.

Co-authored-by: Pieter CK <pieterceka123@gmail.com>
(cherry picked from commit b5c63cfb85)
2024-08-01 11:24:58 -07:00
Aman Agrawal 3709faf36c typeahead: Fix typeahead overflowing out of window.
When the caret in textarea is around the right end of the screen,
typeahead can overflow the window. To fix it, we use tippy's
mechanism to keep the tooltip inside the visible boundary.

(cherry picked from commit 6c500e9a6e)
2024-08-01 11:24:58 -07:00
adnan-td 3aefc1a8ca integration-docs: Update Semaphore to the new doc format.
Part of #29592.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
(cherry picked from commit 76df435dab)
2024-08-01 11:24:58 -07:00
adnan-td e910a3d1f8 integration-docs: Update Sentry to the new doc format.
Part of #29592.

(cherry picked from commit bdbe3adf1b)
2024-08-01 11:24:58 -07:00
Tim Abbott e80274c089 version: Add changelog entry for Zulip Server 8.5. 2024-07-31 21:54:31 -07:00
Tim Abbott 6b697b7563 i18n: Update translations from Transifex. 2024-07-31 12:52:10 -07:00
Alex Vandiver 63cfde3a34 docs: Add OS upgrade instructions for 22.04 to 24.04.
(cherry picked from commit 604e328038)
2024-07-31 12:52:10 -07:00
Alex Vandiver ae14d05aa8 docs: Remove an "e.g." when we have explicit steps.
(cherry picked from commit 5df48dd4d0)
2024-07-31 12:52:10 -07:00
Alex Vandiver 82bfcbd3e1 docs: Document the dialogs shown by needrestart in 22.04.
(cherry picked from commit 7594d2eecf)
2024-07-31 12:52:10 -07:00
Alex Vandiver cc495d0aed docs: Document when to restart the server.
(cherry picked from commit 49a9405aad)
2024-07-31 12:52:10 -07:00
Alex Vandiver ac58088dfa docs: Swap upgrade-postgresql steps with rebuilding the venv.
As of 1f68726cb8, the upgrade-postgresql tool uses Python to connect
to the database used by Django, and thus requires a working venv.
There is no reason we cannot reinstall the venv with the old version
of PostgreSQL; swap the steps.

(cherry picked from commit 5e5478307a)
2024-07-31 12:52:10 -07:00
Alex Vandiver 1deab9d4f4 docs: Document supported PostgreSQL versions in 9.x series.
(cherry picked from commit e77a425a2b)
2024-07-31 12:52:10 -07:00
Alex Vandiver 86f8c553e3 upgrade-zulip-stage-2: Be more specific about OS upgrade steps.
(cherry picked from commit 1f2f28bbf5)
2024-07-31 12:52:10 -07:00
Tim Abbott 81a79c3594 version: Update version after 9.0 release. 2024-07-25 13:43:02 -07:00
Tim Abbott a8368ca3c3 Release Zulip Server 9.0. 2024-07-25 13:25:21 -07:00
Alya Abbott 7a1f5765b7 updates: Add update message (level=8). 2024-07-25 13:19:25 -07:00
Anders Kaseorg cd4052cf8a release: Parse version.py using the language it was written in.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-07-25 13:17:49 -07:00
Alya Abbott 6f4d4eebe8 docs: Tweak 9.0 release highlights to better match blog post wording. 2024-07-25 12:37:26 -07:00
Tim Abbott 00c6b1d655 i18n: Update translation data from Transifex. 2024-07-25 12:34:41 -07:00
Aman Agrawal 88b54526ba message_view: Fix current narrow doesn't rerender when asked to.
Here we want to rerender the current narrow after receiving an
event which moves messages. We have mechanisms to keep using
the cached list if we are narrowing to the same narrow which
we want to avoid in this case.
2024-07-25 12:02:57 -07:00
Tim Abbott 169e953e73 docs: Update changelog with changes and upgrade notes. 2024-07-25 11:59:18 -07:00
Shubham Padia bbd9b91238 hotkey: Put focus back into edit text area after Alt + P.
Fixes
https://chat.zulip.org/#narrow/stream/101-design/topic/key.20combination.20for.20hotkey.20to.20toggle.20compose.20preview/near/1902135.
The logic to put focus back to textarea is not part of the
`clear_preview_area` function because you wouldn't expect a function
clearing the preview area to somehow put focus into the edit area.
2024-07-25 11:33:53 -07:00
Tim Abbott d61820634e mailmap: Canonicalize name for Kunal Sharma.
By request over DM.
2024-07-25 11:23:44 -07:00
roanster007 7f1396de32 lightbox: Update `canonical_url_of_media` to use URL pathname.
This reworks canonical_url_of_media to work with HTMLMediaElement,
making it possible to do cross-browser inspection of media sources.
(Firefox and Chrome disagree on whether to return the "href"
attribute as the path in the source, or a full URL).

Additionally, we ensure non-empty cache keys on media so
unexpected results from the DOM do not get cached.

Co-Authored-By: Alex Vandiver <alexmv@zulip.com>
Co-Authored-By: roanster007 <rohan.gudimetla07@gmail.com>
2024-07-25 11:21:02 -07:00
Tim Abbott 6844f7056c mailmap: Canonicalize a few more duplicate users. 2024-07-25 10:41:53 -07:00
Tim Abbott cb4028d5c9 mailmap: Canonicalize names for 9.0 contributors. 2024-07-25 10:11:04 -07:00
Tim Abbott f61f138b75 tooltips: Clean up aria-label for visiblity tooltips.
Using different punctuation for the aria-label from the tooltip is
silly. Additionally, we don't need to repeat the channel name in
aria-label; it essentially will never be seen and the message list
copy of getting the channel name was buggy.
2024-07-25 08:24:14 -07:00
Tim Abbott a1c8e3549a message_list_view: Don't assume stream_id is defined. 2024-07-25 08:24:14 -07:00
Tim Abbott 966fe68591 emoji: Fix canonical name for folded_hands emoji.
The more neutral folded_hands is the official name and should make
folks more confortable with using this for thank_you, which is
certainly a more common use in work contexts than pray.
2024-07-24 22:44:33 -07:00
Tim Abbott cbca3a8080 lightbox: Don't try to use unavailable width.
We don't have a width for images without dimensions attributes, and
all such images will have used the other code path.
2024-07-24 17:44:36 -07:00
Alex Vandiver c726d2ec01 thumbnail: Do not Camo old thumbor URLs; serve images directly.
Providing a signed Camo URL for arbitrary URLs opened the server up to
being an open redirector.  Return 403 if the URL is not a user upload,
and the backend image if it is.  Since we do not have ImageAttachment
rows for uploads at a time we wrote `/thumbnail?` URLs, return the
full-size content.
2024-07-24 16:04:34 -07:00
Alya Abbott a7b304d61d help: Add caveat about previews of old image uploads always animating. 2024-07-24 15:50:30 -07:00
Aman Agrawal dd7a5ac4c5 recent_view_ui: Fix dm rows not updated for deleted messages.
Tested by deleting a DM and navigating to recent view. No error
is thrown and dm row is correctly placed.

Co-authored-by: Tim Abbott <tabbott@zulip.com>
2024-07-24 13:51:56 -07:00
Pratik Chanda 1ccf5e3ac3 tooltip: Change tooltip info for default topic menu option.
Earlier tooltip info for the default topic menu notification option
had static string to display.

This commit changes the string info and includes channel name and its
corresponding privacy icon to display in the tooltip.
2024-07-24 13:34:52 -07:00
Pratik Chanda 4ef7394df4 tooltip: Change tooltip for topic menu option.
Earlier tooltips for topic menu button had inconsistent context with
that of other tooltips. In topic menu tooltip, action was described in
first line which different from that of other tooltips.

This commit changes the tooltip context and rearranges them to match
the format of action on first line and more context on second line.
2024-07-24 13:31:24 -07:00
Alex Vandiver d88f98c46b puppet: Upgrade dependencies. 2024-07-24 13:02:04 -07:00
Alya Abbott 7f0e3e84f5 help: Document new way to remove pasted formatting. 2024-07-24 12:33:53 -07:00
Sahil Batra 9aa4ce28ce css: Improve selectors used for recent topics table.
Using "*" selector is inefficient as they require checking every
element because of the browser's bottom-up matching process.
This commit instead updates the selector to use individual
classes for elements to apply the CSS rules keeping in mind
to use unique class names instead of general class names.
2024-07-24 12:31:20 -07:00
Sahil Batra b0e8096579 css: Do not use "*" selector for color_animated_button styles.
Using "*" selector is inefficient as they require checking every
element because of the browser's bottom-up matching process.
2024-07-24 12:31:20 -07:00
Kenneth Rodrigues c4c9c59a41 default_channel: Fix multiple modals opening.
Earlier, the `Add Channel` button was being focused even after the
modal was open, causing multiple modals to open on pressing enter
repeatedly.
This commit fixes the issue by removing the focus from the `Add
Channel` button after the modal is open by focusing the dropdown on the
modal.
2024-07-24 12:26:31 -07:00
Kenneth Rodrigues fe557bde77 custom_profile_fields: Fix multiple modals opening.
Earlier the focus remained on the button to open the modal,
causing multiple modals to open on pressing enter repeatedly.
This commit fixes the issue by removing the focus from the button
by focusing on the first input field of the modal.
2024-07-24 12:26:31 -07:00
Tim Abbott 55884b1338 paste_handler: Skip undo dance if formatting was a noop.
The intent had been only to do the fancy undo thing when no formatting
is present.
2024-07-24 11:11:29 -07:00
Aman Agrawal 8a82639762 message_events: Fix compose stream not updated when moving messages.
When moving message while compose box has content, stream was not
updated to the new stream if it was changed.

Tested by moving message with stream changed and with / without topic
changed.
2024-07-24 10:46:01 -07:00