Update the active status of new stream where the messages are moved
into, if appropriate.
Tested by deleting all messages in a stream. Running the command
to update stream status to mark it inactive. Then moving messages
into the stream to check if the status is updated correctly to active.
Quoting Alex:
This test came in during d6ef94f63f,
where the gross query was caused by a bare `select_related()`.
7d0c12aa3a
has enforced that we do not allow that construction anymore,
so IMHO this weird limit test should be removed,
rather than bumping it up every time we add something
useful to the query.
get_options_for_dropdown_widget returns an object with a stream:
StreamSubscription key, not the stream itself.
Introduced by commit fcac413138
(#26067).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This was introduced in ebe15dcf25 where I
mistakenly had us include _all_ participants _always_ even if there was filter
text present. This commit fixes that.
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.
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.
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.
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`.
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.
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.
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.
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.
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.
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.