Commit Graph

63651 Commits

Author SHA1 Message Date
sanchi-t
1aef79078c stream_settings: Display archived channels.
By default, archived channels will be hidden.
2025-03-07 18:08:41 -08:00
sanchi-t
f9babb37a2 delete_sub: Do not remove stream from subscriptions when archived. 2025-03-07 18:08:41 -08:00
sanchi-t
874e7bacf9 popover_menus_data: Hide actions user can't take for archived channels.
Hide actions users cannot perform for messages and topics within
archived channels.
2025-03-07 18:08:41 -08:00
sanchi-t
a2ef0c6185 common_click_handlers: Remove redundant statement.
The `e.preventDefault()` method was called twice,
so one of the calls has been removed.
2025-03-07 18:08:41 -08:00
sanchi-t
386111d4cc stream_ui_updates: Remove reference to non-existent selector.
The class ".general_settings" was removed in commit
87e824d43e, so the
reference to it has been updated accordingly.
2025-03-07 18:08:41 -08:00
Tim Abbott
f50235098e api_docs: Document API changes to archived channels. 2025-03-07 18:08:41 -08:00
sanchi-t
200606902a stream: Send archived channels for non-subscribed channels.
Allows admins to view archived streams of non-subscribed
channels in the channel settings.
2025-03-07 18:08:41 -08:00
Tim Abbott
c58f14b159 streams: Allow editing subscriptions in archived channels.
Since this does impact the ability to access the channel's content, it
makes sense to permit changing subscriptions, just like other
permissions settings on the archived channel.
2025-03-07 18:08:41 -08:00
Tim Abbott
5b2bd07612 streams: Require content access to change channel privacy.
This code path had not been properly updated for the new ways of
having content access to a channel.

Also adjust the error messages for missing content access.
2025-03-07 18:08:41 -08:00
Tim Abbott
494f28c64e streams: Add require_active_channel access parameter. 2025-03-07 18:08:41 -08:00
Tim Abbott
f68692a893 access_stream: Use mandatory kwargs. 2025-03-07 18:08:41 -08:00
Tim Abbott
e92d68fffe streams: Remove require_active in access_stream code path.
This was confusingly doing an assertion about the subscription being
active, not the channel. We could rename it to
require_active_subscription. But it was only passed with a non-default
value in b2cb443d24, and that call was
removed in 378062cc83.
2025-03-07 18:08:41 -08:00
Tim Abbott
322199efeb test_subs: Fix stale stream object in archive tests. 2025-03-07 18:08:41 -08:00
Alya Abbott
fdd04b56a7 help and docs: Document how to disable file uploads on a server. 2025-03-07 17:07:50 -08:00
Karl Stolley
13b4531873 emoji: Allow emoji space, including alt_code, to better scale. 2025-03-07 15:27:55 -08:00
Karl Stolley
370f3aa8d0 tables: Remove remaining padding on sort.
With the sort arrow icons no longer positioned absolutely, this
padding is unnecessary (icons now participate in the width).
2025-03-07 15:26:15 -08:00
Karl Stolley
58e726d39d recent_view: Better account for sortable widths on Topics, Unreads. 2025-03-07 15:26:15 -08:00
Karl Stolley
e65b57cdbf tables: Remove unnecessary styles that interfere with centering. 2025-03-07 15:26:15 -08:00
Karl Stolley
4b4dc6b556 message_edit: Allow Save/Cancel buttons to properly size and flex. 2025-03-07 15:24:24 -08:00
Karl Stolley
cb9a21a741 rendered_markdown: Allow legacy YouTube thumbnails to size up. 2025-03-07 15:19:35 -08:00
ubaidrmn
714def080f compose_tooltips: Fix overlapping tooltips.
Previously, the send button's tooltip was triggered by
the entire message controls row, which also contains the
options button. This caused overlapping tooltips as the
options button has its own tooltip.

This commit resolves the issue by applying the tooltip
only to the send button.
2025-03-07 12:53:09 -08:00
Karl Stolley
d46afab036 channel_picker: Better align privacy icons with shifting line height. 2025-03-07 12:28:46 -08:00
Karl Stolley
dffbf63bdd settings: Remove conflicting mobile active styles. 2025-03-07 12:00:24 -08:00
Karl Stolley
412e840478 settings: Correct bottom border on mobile headings. 2025-03-07 12:00:24 -08:00
Karl Stolley
fa1ffad817 settings: Use border-box sizing on mobile headers. 2025-03-07 12:00:24 -08:00
Karl Stolley
0b8290f231 settings: Correct rounding on header heights. 2025-03-07 12:00:24 -08:00
Tim Abbott
04bff0fe26 docs: Add missing details to release lifecycle docs.
- Clarify what we mean by supported ranges of Git versions.
- Document terminal app compatibility policies.
- Clarify that forks are an option on top of all supported Git
  versions.
2025-03-07 11:59:36 -08:00
Alya Abbott
988622c5bb docs: Clean up release lifecycle doc.
- Split out roadmap page.
- Reorganize content.
- Clarify the major points and reduce redundancy.
2025-03-07 11:59:36 -08:00
Alya Abbott
4246d42d91 docs: Reocmmend upgrading to latest release in upgrade doc. 2025-03-07 11:59:36 -08:00
evykassirer
e421e18b49 settings: Adjust widths in change email modal with font size. 2025-03-07 11:53:45 -08:00
Lauryn Menard
8f9a0516b6 docs: Update video call links for new configure call provider article.
Co-authored-by: Alya Abbott <alya@zulip.com>
2025-03-07 11:34:21 -08:00
Maneesh Shukla
d2a9b5dda5 modals: Remove data-dismiss usage and update cancel actions.
Replaced `data-dismiss="modal"` attributes with class/ID-based event
handling to align with Micromodal usage. Also removed an unused CSS
rule which was defined.
2025-03-07 09:10:47 -08:00
Kislay Verma
dfaecab2b8 server_events_dispatch: Sort array entries.
This commit sorts entries in `user_preferences`
and `privacy_settings`.

This is a follow-up to #30425, addressing
https://github.com/zulip/zulip/pull/30425#discussion_r1882887744
2025-03-07 09:10:05 -08:00
Aman Agrawal
d8e944385a emoji_popover: Fix arrow detached with the popover.
Initialy, both emoji search container and catalog were displayed
which made popper position the popover for double the height than
real. When search container was hidden `onMount`, the popover
position was not updated which results in arrow being detached
from the popover.
2025-03-07 09:08:45 -08:00
Lauryn Menard
3143662830 narrow-state: Use stream_id in cases where only stream ID is needed.
Updates calls to narrow_state.stream_sub that do not use the
StreamSubscription data, but rather just need a valid stream ID.
2025-03-06 17:47:59 -08:00
Lauryn Menard
51bb8eff59 narrow-state: Add only_valid_id boolean param to stream_id function.
Updates narrow_state.stream_id to have a boolean parameter, that
defaults to false. When true, the function will return an ID or
undefined based on the stream data that we have. When false, the
function will return the operand of the channel narrow term when
it's a valid number or undefined if it's not.

Replaces all uses of narrow_state.stream_sub()?.stream_id to
instead use the updated stream_id function with only_valid_id set
to true.
2025-03-06 17:47:57 -08:00
Lauryn Menard
4ab4b7d435 narrow-state: Use stream_id function to get StreamSubscription.
Updates `narrow_state.stream_sub` to use `narrow_state.stream_id`.

Updates test that was not setting/sorting subscribers correctly
due to `narrow_state.stream_sub` returning "undefined".
2025-03-06 17:44:49 -08:00
Tim Abbott
8cbd5e3612 buddy_data: Fix inconsistent subscriber status test.
The `subscribed` state elsewhere in this test has the current user
subscribed, so they should be there in peer_data.
2025-03-06 17:44:36 -08:00
Lauryn Menard
61fa5ccbf1 narrow-state: Return undefined for a channel ID that would be NaN.
When the channel operand would return NaN for the ID value, we now
return undefined, so that there is only one invalid value being
returned by narrow_state.stream_id.
2025-03-06 17:42:50 -08:00
Lauryn Menard
edc9853a3e narrow_state: Refactor get_first_unread_info to take a defined filter.
This function is called when entering a message feed view. Therefore,
it should always have a defined MessateListData filter.

Follow-up clean up from reworking the home view to use a Filter
object.
2025-03-06 17:42:50 -08:00
Lauryn Menard
c78d5acddd narrow-state: Refactor and rename is_for_stream_id.
Renames is_for_stream_id to narrowed_to_stream_id, and updates it
to use narrow_state.stream_id for the comparison check instead of
getting the full StreamSubscription object.
2025-03-06 17:42:50 -08:00
Tim Abbott
fb244a611a Release Zulip Server 10.0-beta2. 10.0-beta2 2025-03-06 17:13:29 -08:00
Karl Stolley
e2bf50f358 compose: Share 'normal' line height on recipient row. 2025-03-06 17:05:41 -08:00
Karl Stolley
7b453770d7 compose: Shore up flex properties for uniform compose buttons. 2025-03-06 17:05:41 -08:00
Karl Stolley
c509c196e5 compose: Shore up row definitions for topic box. 2025-03-06 17:05:41 -08:00
Karl Stolley
be20d8634a compose: Correct flexbox definitions for recipient row. 2025-03-06 17:05:41 -08:00
Alya Abbott
931dc92f93 help: Split out call provider config into separate page. 2025-03-06 13:31:13 -08:00
Lauryn Menard
fc1275ab17 integration-docs: Update BigBlueButton for new documentation format. 2025-03-06 13:31:13 -08:00
Lauryn Menard
36177d974f integrations-docs: Update Jitsi Meet for new documentation format. 2025-03-06 13:31:09 -08:00
Alya Abbott
a9a73f6f10 portico: Add Changelog interview to history page. 2025-03-06 13:24:51 -08:00