Commit Graph

65439 Commits

Author SHA1 Message Date
Lauryn Menard
eec6151cd1 help: Remove "Status and availability" mobile tabs.
The ability to view, set, edit a user's status, or to toggle invisible
mode are not yet implemented for the initial launch of the Flutter
mobile app, so we remove the legacy React Native app instructions.

Deletes static/images/help/mobile-x-icon.svg as it is no
longer used.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/197
https://github.com/zulip/zulip-flutter/issues/198
https://github.com/zulip/zulip-flutter/issues/1578

Part of #34748.
2025-06-13 17:05:03 -07:00
Lauryn Menard
815a522b86 help: Remove "Start a video call" mobile tab.
The ability to add a link to a video call is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Deletes static/images/help/mobile-video-icon.svg as it is no
longer used.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1000

Part of #34748.
2025-06-13 17:04:39 -07:00
Lauryn Menard
a9e0831c62 help: Remove "Sharing files" mobile documentation.
The ability to "share to Zulip" from Android apps is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/52

Part of #34748.
2025-06-13 17:04:39 -07:00
Lauryn Menard
13b3a63e08 help: Remove "Rename a channel" mobile tab.
The ability to edit a channel's name is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1102

Part of #34748.
2025-06-13 17:04:39 -07:00
Lauryn Menard
a10bcdfc63 help: Remove "Read receipts" mobile tab.
The ability to view who as read a message is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/667

Part of #34748.
2025-06-13 17:04:39 -07:00
Lauryn Menard
73a523cb64 help: Remove "Pin/Unpin a channel" mobile tabs.
The ability to pin or unpin a channel is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Features are tracked in:
https://github.com/zulip/zulip-flutter/issues/1223

Part of #34748.
2025-06-13 17:04:39 -07:00
Lauryn Menard
7ebd56e4bc help: Remove "Mute/Unmute a channel" mobile tabs.
The ability to mute or unmute a channel is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Features are tracked in:
https://github.com/zulip/zulip-flutter/issues/347

Part of #34748.
2025-06-13 17:04:34 -07:00
Lauryn Menard
31cc168018 help: Remove "Notifications panel" mobile documentation.
The notifications panel (for testing, troubleshooting, and updating
settings for mobile notifications) has not yet been implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

These features are generally tracked in:
https://github.com/zulip/zulip-flutter/issues/323
https://github.com/zulip/zulip-flutter/issues/1194
https://github.com/zulip/zulip-flutter/issues/661

Part of #34748.
2025-06-13 17:04:34 -07:00
Lauryn Menard
ebc48c97be help: Remove "Configure automatically marked as read" mobile tab.
Marking unread messages as read when scrolling is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Features are tracked in:
https://github.com/zulip/zulip-flutter/issues/81

Part of #34748.
2025-06-13 17:04:34 -07:00
Lauryn Menard
3a626036d1 help: Remove "Copy link to topic/channel" mobile tabs.
The ability to copy a link to a topic or channel is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Features are tracked in:
https://github.com/zulip/zulip-flutter/issues/1227
https://github.com/zulip/zulip-flutter/issues/792

Part of #34748.
2025-06-13 17:04:34 -07:00
Lauryn Menard
977c3943d1 help: Remove "Browse and subscribe to channels" mobile tab.
The ability view and subscribe to channels is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Deletes static/images/help/mobile-plus-icon.svg as it is no
longer used.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/188

Part of #34748.
2025-06-13 17:04:34 -07:00
Lauryn Menard
1192491ff1 help: Remove "Create a channel" mobile tab.
The ability to create a channel is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1572

Part of #34748.
2025-06-13 17:04:26 -07:00
Lauryn Menard
40b4ad94cf help: Remove "View who reacted to a message" mobile tab.
The ability to view who reacted to a message is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/740

Part of #34748.
2025-06-13 17:03:26 -07:00
Lauryn Menard
b559c4b1a9 help: Remove "View direct message feed" mobile tab.
Viewing the direct message feed is not implemented for the legacy
React Native app or the Flutter app, so we remove this documentation.

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
75db011fc2 help: Remove "Delete a topic" mobile tab.
The ability to delete a topic is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1549

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
6111949d9e help: Remove "Configure notifications for a single channel" mobile tab.
Updating a channel's notification setting is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1223

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
567dff81ff help: Remove "Configure default notifications for all channels" mobile.
Updating the default channel notification setting is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/661

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
385585fb29 help: Remove "Change the language of the Zulip app" mobile tab.
The ability to change the language setting is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

Deletes static/images/help/mobile-chevron-left.svg as it is no
longer used.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1139

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
8647f6b1f0 help: Remove "Change the privacy of a channel" mobile tab.
The ability to edit a channel's privacy setting is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1102

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
eb21fa7363 help: Remove "Change a channel's description" mobile tab.
The ability to edit a channel's description is not yet implemented
for the initial launch of the Flutter mobile app, so we remove
the legacy React Native app instructions.

This feature is tracked in:
https://github.com/zulip/zulip-flutter/issues/1102

Part of #34748.
2025-06-13 17:03:25 -07:00
Lauryn Menard
3aadb86225 analytics: Update labels for mobile apps for Flutter launch.
Updates the labels in the"Messages set by client" chart so that
the Flutter app is no longer labeled as "beta".

The React Native app is now labeled as "old". And the older
Android and iOS apps are now labeled as "ancient".
2025-06-13 17:00:55 -07:00
Alex Vandiver
dfadc9fa39 puppet: Remove zephyr configuration and hosts. 2025-06-13 16:54:26 -07:00
Karl Stolley
4dff3dfba6 selects: Improve concord with custom, native selects.
This commit cleans up the data URIs for the custom
chevron icons, and sets the same color as used on
select text.

Additionally, the background-image size now scales as
expected, so that browser-native <select> elements
have chevrons that much more closely resemble those
of button-based selects for our custom widgets.
2025-06-13 16:53:46 -07:00
Karl Stolley
9e2ffe7fd5 inputs: Set default text-color explicitly.
This removes the previous slightly-lighter text shade
in light mode, and gets away from the trickiness of
`color: inherit` in dark mode.

While we could probably go with inheritance
everywhere, simply by removing the color: value on
these element, setting an explicit color variable on
the inputs here builds better confidence as to what
the color value will ultimately be.
2025-06-13 16:53:46 -07:00
Shubham Padia
a25000298f help-beta: Add styling for ordered lists to be similar to Steps.
Fixes #34705.
We just copied the css from Steps component of Astro and applied it to
all ordered lists in our case. Future starlight upgrades have the
potential to break this css if they change the underlying variable
names, but the breaks would be obvious when testing the upgrade and if
it becomes a consistent issue, we can look into some other solution.
2025-06-12 11:34:39 -07:00
PieterCK
a5a2adf23d integration-doc: Add instruction to Slack integration.
This adds an instruction on how to configure which Slack channels to
integrate with Zulip.
2025-06-12 09:35:54 -07:00
Anders Kaseorg
717cf60edf python: Use Django 5.2 reverse(…, query=…).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-12 09:32:38 -07:00
Anders Kaseorg
b10bf1dd20 remote_billing_page: Fix redirect on serverlogin/…/confirm/ error.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-12 09:32:38 -07:00
Anders Kaseorg
acd6c51b6f manage: Delete custom PYTHONSTARTUP.
In Django 5.2, manage.py shell automatically imports models.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-12 09:28:00 -07:00
Anders Kaseorg
24e8ba97cb requirements: Upgrade Django from 5.1.10 to 5.2.3.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Anders Kaseorg
927ea011d3 upgrade-postgresql: Get PostgreSQL version without manage.py shell.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Anders Kaseorg
d12601fbee migrations: Add through_fields for NamedUserGroup.direct_subgroups.
https://code.djangoproject.com/ticket/36061

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Anders Kaseorg
4e31948f90 requirements: Upgrade django-cte from 1.3.3 to 2.0.0.dev.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Anders Kaseorg
b3f218bc41 user_groups: Convert realm_groups QuerySet to list.
It’s a list in the other branch.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Anders Kaseorg
f4f8f66961 user_groups: Fix get_members_and_subgroups_of_groups type.
zerver.lib.streams.get_anonymous_group_membership_dict_for_streams
calls it with a QuerySet[int].

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-11 16:25:25 -07:00
Sahil Batra
79c2972232 tests: Move test to check permission to update message retention setting.
This commit moves test to check permission to update message retention
setting of a stream to test_channel_permissions.py.
2025-06-11 15:41:50 -07:00
Sahil Batra
0dee5f4c0d tests: Move subscription properties test to new file.
This commit moves subscription properties test to
test_subscription_settings.py.
2025-06-11 15:41:50 -07:00
Sahil Batra
62579b5b24 tests: Move tests to get streams and subscriptions to test_channel_fetch. 2025-06-11 15:41:50 -07:00
Sahil Batra
679a8363cb tests: Move test for updating default stream to test_default_channels.
This commit moves test for add or removing a stream as default using
"/json/streams/{stream_id}" endpoint to test_default_channels.py.
2025-06-11 15:41:50 -07:00
Sahil Batra
5228c2c97c tests: Create new test_default_channels.py file.
This commit moves tests for default streams and default
stream groups to a new file.

This commit also moves test_guest_user_access_to_streams
test to a different class in test_subs.py since it was
present in DefaultStreamTest class before.
2025-06-11 15:41:50 -07:00
apoorvapendse
378dc7a97d typeahead_helper: Cache diacritic-less names for performance.
This code path now uses the full name with removed diacritics cache,
just like the right sidebar buddy list search.

This fixes a major performance issue with trying to mention users in
organizations with 10,000s of total users.

Fixes:
https://chat.zulip.org/#narrow/channel/9-issues/topic/Mention.20typeahead.20performance/with/2157415.
2025-06-11 15:14:34 -07:00
apoorvapendse
cb0a598481 people: Extract name diacritics removal logic.
This is done as a prep commit to use this new function in
`query_matches_person` to introduce caching on the diacritic-less full
name.
2025-06-11 15:14:34 -07:00
apoorvapendse
1bcf05b13d typeahead: Remove diacritics only for valid queries.
Where a valid query is a string whose lowercase version
contains only ASCII lowercase letters.

@timabbott said:
>Note that the query being ascii is important
to how the comparisons are done, so that queries
with diacritics are handled properly to match
the exact diacritics used, for example.
2025-06-11 15:14:34 -07:00
apoorvapendse
e0c786c7a0 typeahead: Extract matching logic into a new function.
This is a non-functional change done as a part of
a series of commits to eventually cache and use
diacritic-less full names instead of computing them
every time.

The eventual aim is to pass cached diacritic-less
full names directly to
`query_matches_string_in_order_assume_canonicalized`
when the query is plain ascii.
2025-06-11 15:14:34 -07:00
Saubhagya Patel
b82bc1a738 settings: Add button to reset channel notifications to default.
This commit adds a "Reset to default notifications" button in the
Notifications menu, to the right of the channel name, for which a
user has selected custom notifications and a confirmation
dialog to confirm this action.

Fixes #19860.
2025-06-11 15:08:25 -07:00
Saubhagya Patel
a925511a11 settings: Update unmute icon in Personal settings > Notifications.
This commit contains the following changes:
- Updates the unmute stream icon in Personal settings
  > Notifications to use the `icon-button-brand` CSS class.
- Adjusts the tooltip delay for the unmute icon.
- Removes unused CSS.

Prep commit for #19860.
2025-06-11 15:08:25 -07:00
Shubham Padia
7eb9c9deef Groups: Can perform any join, leave, add, remove for deactivated group.
Fixes #33804.

We still do not allow permission settings to be set to deactivated
groups.
2025-06-11 14:58:14 -07:00
Karl Stolley
74b0d8ff61 rendered_markdown: Correct presentation of nested lists.
To properly increment counters, and display lists of the
correct type when nested, we need to use child selectors
and not the previous, overly generic descendant selectors.
2025-06-11 14:56:35 -07:00
Prakhar Pratyush
4e43c2f32d list_util: Narrow event type to JQuery.KeyDownEvent only.
The `inside_list`, `go_down`, and `go_up` function defined
in `list_util.ts` is used in `hotkey.js`.

We made changes in 45e91daa14
to use `keydown` only in `hotkey.js`.

The event type of those three functions should be
`JQuery.KeyDownEvent` only.

This commit fixes that.
2025-06-11 10:18:31 -07:00
Prakhar Pratyush
c98bc0bd01 web: Replace the deprecated keypress event with keydown.
Unlike the deprecated `keypress` event, the `keydown` event is fired
for all keys, regardless of whether they produce a character value.

Our handlers only care about whether Enter key was pressed or not,
so even though the handlers will be executed for modifier keys
like `Option`, `Ctrl`, etc there is no change in the behaviour
practically.
2025-06-11 10:18:31 -07:00