Commit Graph

61828 Commits

Author SHA1 Message Date
Apoorva Pendse
67a60829e6 docs: Add WSL rebuild steps.
Previously, the rebuild steps for WSL in the recommended setup guide
incorrectly just included the Vagrant instructions.

This commit fixes the issue by adding the appropriate steps to delete
the WSL instance using `wsl --unregister` in the docs.

Additionally, it includes steps to rebuild the development database,
which is a much faster alternative for folks who just want that.

Fixes #32402.
2024-11-27 14:33:18 -08:00
Apoorva Pendse
5fd872ba3f docs: Add note to use fresh instance of WSL.
This change ensures that developers use a fresh WSL instance when setting up the Zulip environment locally. Doing so helps prevent dependency and versioning conflicts.
2024-11-27 14:30:17 -08:00
Tim Abbott
3d5dbefcb5 settings: Rename misleadingly named user list template. 2024-11-27 14:28:17 -08:00
sujal shah
74f3036d19 settings_bots: Fix deactivation icon and you indicator.
The deactivation icon was incorrectly showing for both active bots and
active users in the admin settings panel, due to parameters
incorrectly not being passed through to the partial template.
2024-11-27 14:25:45 -08:00
evykassirer
a939fcad2e buddy_list: Fix calculation for has_inactive_users_matching_view. 2024-11-27 14:23:27 -08:00
evykassirer
cb91ca3a07 buddy_list: Separate logic for display/hide of sections.
This also fixes a bug where the code to hide the matching
view container didn't run when we early-returned from
`render_section_headers`. Now it always runs in
`display_or_hide_sections`.
2024-11-27 14:23:27 -08:00
evykassirer
2937031f83 buddy_list: Refactor to use hide_participants_list to match hide_headers. 2024-11-27 14:23:27 -08:00
evykassirer
c17babd0e7 buddy_list: Render view user links after filling screen.
We need to have the lists of rendered users so we can check if
we should be showing the links. This commit fixes a bug where
we showed the "view all subscribers" link even if all subscribers
were visible on the screen.
2024-11-27 14:23:27 -08:00
evykassirer
d0c402ac0f buddy_list: Add style-change options to buddy list popover. 2024-11-27 14:08:46 -08:00
Anders Kaseorg
550287b33c navbar_menus: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 13:59:19 -08:00
Anders Kaseorg
34ccf15daa popover_menus: Fix boolean | undefined types.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 13:59:19 -08:00
Anders Kaseorg
cf7e420847 templates: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 13:52:21 -08:00
Anders Kaseorg
19f5ea8832 css_variables: Convert module to TypeScript.
This is okay now due to #32327.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 12:24:58 -08:00
Pratik Chanda
fb0ae31206 typeahead: Remove empty user groups from typeahead suggestion.
Earlier, user groups with deactivated users or empty groups would
show up in the typeahead suggestion.

This commit removes empty user group while iterating over each group
items.

Fixes: zulip#30890.
2024-11-27 10:26:44 -08:00
Alya Abbott
510af0e0fc help: Document adding users to groups via invitation modal. 2024-11-27 09:56:33 -08:00
Alya Abbott
c40cbd4623 help: Improve subgroups documentation. 2024-11-27 09:56:33 -08:00
Anders Kaseorg
cac3bca409 dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
9a4728425d eslint: Migrate to flat configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
7950696081 eslint: Remove unused web/third configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
eeb78fe3a4 eslint: Remove @babel/eslint-parser remnant.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
cc7b667d57 message_list_tooltips: Fix observer type.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
bb174e9b64 gear_menu: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:34:49 -08:00
Anders Kaseorg
aa0dd44234 eslint: Remove incorrectly duplicated configuration for help-beta.
`help-beta/**.ts` does not work in ESLint, and the duplication is
unnecessary.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-26 19:46:02 -08:00
Anders Kaseorg
111afd3207 help-beta: Fix TypeScript module configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-26 19:46:02 -08:00
Sahil Batra
ba48e01064 settings: Make the empty panel text darker in light theme.
Text shown for empty left and right panels in stream and group
settings UI was too faded in light theme, so we make the text
a little darker.

Fixes #32212.
2024-11-26 15:10:55 -08:00
evykassirer
cda30ec1cb buddy_list: Fix incorrect id name for popover. 2024-11-26 15:06:43 -08:00
Niloth P
a350de447b integrations: Make client_name a kwarg.
All integrations currently use their name as their client name as
well. Removed the redundancy of declaring the same name twice, while
retaining the support for client names.
2024-11-26 15:03:47 -08:00
Niloth P
a3b572f9cd integrations: Remove redundant display_name values. 2024-11-26 15:03:45 -08:00
Niloth P
2ad19ff05e integrations: Update Beeminder example screenshot. 2024-11-26 12:43:31 -08:00
Niloth P
d6fe41878e integrations: Fix $ position in Beeminder message template. 2024-11-26 12:43:31 -08:00
Lauryn Menard
a0bbc62f2b support: Add fixed-price plan configuration to Cloud support view.
Adds ability to configure a fixed-price plan and to delete a
configured fixed-price plan in the Cloud support view.

Updates the invoice processing to send reminder emails to the
billing support email for these Cloud fixed-price plans about
renewals since we now are able to configure them via our support
panel.

Updates function to get the billing session for stripe webhook
events to handle an intial upgrade for a custom generated invoice
for a fixed-price plan for a Cloud organization, which won't have
a user_id in the invoice metadata.
2024-11-26 12:42:39 -08:00
Lauryn Menard
89b5e850b2 support: Implement setting a current plan end date for Cloud support.
Prep for implementing fixed-price plan offers in Cloud support view.
2024-11-26 12:42:39 -08:00
Lauryn Menard
6376fb7fec support: Remove count check of keys in Cloud support view.
This check made sense before the support view expanded with the
billing system work over this past year. As we continue to expand
the actions/features of the support views, it's likely we'll have
cases where we're passing more values for particular features.

Prep for implementing fixed-price plan offers in Cloud support view.
2024-11-26 12:42:39 -08:00
Lauryn Menard
84dddbd496 support: Pass remote_support_view boolean in context for views.
Many of the templates for the remote and Cloud support views are
designed to be shared, but some features/actions have not yet been
implemented for both types of support views.

Adds a remote_support_view boolean to each type of support view
context so that it's easy to add checks to existing templates.

Updates the Cloud support view to use the current_plan_forms_support
template, and fixes existing bug of offering the upgrade to Plus
option for modifying a Cloud plan when the current plan is a
fixed-price plan.

Prep for implementing fixed-price plan offers in Cloud support view.
2024-11-26 12:42:39 -08:00
Lauryn Menard
746268e878 test-stripe: Confirm update of plan type for fixed-price plan upgrade. 2024-11-26 12:42:39 -08:00
Lauryn Menard
375095abca corporate: Remove out-of-date TODO for CustomerPlanOffer name property.
In commit c4b6cfe142, get_next_plan was updated to no longer check
CustomerPlanOffer, but this TODO comment was missed in those changes.
2024-11-26 12:42:39 -08:00
Aman Agrawal
7ee90ac458 pm_list: Persist DM section collapsed status across reloads. 2024-11-26 11:39:29 -08:00
Aman Agrawal
875b7099e7 pm_list: Move throttled update function.
Move it inside `initialize` function so that we can call it after
we restored DM collapsed status from localstorage.
2024-11-26 11:39:29 -08:00
sujal shah
771d3b1434 invites: Enable adding users to user groups during invitations.
This commit allows users to be assigned to custom groups when
inviting them to join Zulip, similar to how channels are handled.
The implementation follows a similar pattern for adding pills,
ensuring consistency, as user groups and channels are parallel
in nature.

Fixes #24365.
2024-11-26 11:26:34 -08:00
Alya Abbott
16d6fb8f07 help: Remove extraneous banner about requiring a paid plan. 2024-11-26 11:24:45 -08:00
evykassirer
8fff2fcd3c stream_events: Assume mark_unsusbscribed sub is defined.
THere's only one call to this function, which should have
a defined `sub`, so we can enforce this through typescript
instead of doing an `undefined` check.
2024-11-26 09:18:12 -08:00
evykassirer
12c18a026b stream_events: Remove error for undefined sub, enforce through typescript. 2024-11-26 09:18:12 -08:00
evykassirer
64c8884487 stream_events: Convert module to typescript. 2024-11-26 09:18:12 -08:00
Anders Kaseorg
c1cd21d8d1 desktop_integration: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-26 09:17:03 -08:00
Alya Abbott
c4c1edfa6e updates: Add update message (level=10). 2024-11-25 16:58:58 -08:00
Aman Agrawal
d86f0172e1 support: Add form for sales support queries. 2024-11-25 16:53:33 -08:00
Mateusz Mandera
4681c6154d unarchive_stream: Fix logic checking for name collision.
After #28478 we no longer change the name when deactivating a channel,
so this is particularly needed - now there's always a "collision" on
new_name.

Also fixes a second detail - the name should be matched
case-insensitively.
2024-11-25 16:22:11 -08:00
evykassirer
26aa43fc16 sidebars: Remove transition when link buttons are clicked on. 2024-11-25 16:21:40 -08:00
Shubham Padia
00bbde8edb user_group: Show display_name instead of name for direct subgroups.
For a system group, we were showing it's name, e.g. `role:members` when
we want to show it's display_name instead i.e `Members` in the user
group popover.

Fixes https://chat.zulip.org/#narrow/channel/9-issues/topic/system.20group.20subgroup.20display.20in.20group.20popovers/near/1986632
2024-11-25 13:11:35 -08:00
Lauryn Menard
8c51d8d5d0 templates: Remove "no-validation" class.
The CSS rule for the "no-validation" class was removed in
commit 388acbbfcb, but the class was not removed from the
templates in those changes.
2024-11-25 13:08:47 -08:00