Commit Graph

61813 Commits

Author SHA1 Message Date
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
Alya Abbott
4ff3359bad help and modals: Describe "edit your last message" consistently. 2024-11-25 12:26:59 -08:00
bedo
95bc5f8597 stream_popover: Default to "Move only this message" in search views.
Default to "Move only this message" select option if the message is in
any sort of search view, because the search view by its construction
doesn't guarantee to show all/later messages in the relevant topic.

Fixes #32106.
2024-11-25 09:47:10 -08:00
bedo
bf05694e59 message_list_view: Move "is_search_view" to narrow_state.
This helper function is only ever used to describe the current view,
so it might as well be in the module for such views.

Also added the test coverage for "is_search_view".
2024-11-25 09:47:10 -08:00
evykassirer
d4f43839a2 compose: Remove duplicate call to clear_preview_area.
This first call was added in this commit:
41afdc6526
At the time of this commit, the second call was already there.
When removing this line in this commit, it seems like the
earlier reported bug isn't present. So we can remove it, to avoid
doing extra work when sending a message.
2024-11-25 08:57:04 -08:00
Tim Abbott
211ab37f1d i18n: Update translations from Transifex. 2024-11-24 22:36:12 -08:00
evykassirer
4ff7bc16bc settings: Convert module to typescript. 2024-11-24 21:45:41 -08:00
evykassirer
278d7405d8 settings: Remove unused extra parameter passed to get_by_user_id. 2024-11-24 21:45:41 -08:00
evykassirer
4ee8175a25 settings_toggle: Convert module to typescript. 2024-11-24 18:45:25 -08:00
Anders Kaseorg
ce96b8ed66 templates: Avoid confusing Mustache-style conditionals.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-24 08:29:08 -08:00
Tim Abbott
f0422e07a4 docs: Update changelog for Zulip Server 9.3 release. 2024-11-22 17:21:20 -08:00
Alex Vandiver
d8ed381789 puppet: Increase email_senders page threshold.
Email senders having a few minutes of backlog does not justify paging.

In the future, this worker will be async or sharded and not backlog.
2024-11-22 14:31:30 -08:00
Alex Vandiver
19d115a9da email_mirror: Set a short timeout on parsing incoming emails.
This timeout needs to be short enough that we don't drop the RabbitMQ
connection. Also drop the offending message (by returning with no
further exception) so we don't hit a head-of-queue failure situation.

Ideally, the parser would just be lightning-fast, so this would never
happen.
2024-11-22 14:31:30 -08:00
Tim Abbott
c134cc3136 queue_processors: Disable missedmesssage worker on staging.
This worker isn't designed to have multiple copies running.
2024-11-22 14:31:30 -08:00
Tim Abbott
cc110cd7e4 migrations: Add progress indicator for imageattachment backfill.
These migrations can take a while, so it's worth having a progress
indicator.

Fixes #32232.
2024-11-22 14:24:36 -08:00
Shubham Padia
c06a955340 docs: User cannot create groups on a limited plan.
We add this information to our homepage wherever applicable and in our
documentation.
2024-11-22 13:42:59 -08:00