Lauryn Menard
f31371969d
integration-docs: Limit client-side error reporting to 40x errors.
2024-09-13 08:56:03 -07:00
Tim Abbott
819c38bda8
docs: Update changelog for Zulip Server 9.2 release.
2024-09-12 15:30:56 -07:00
evykassirer
ed42e971ed
search: Switch to pressing tab able to select typeahead item.
...
By request:
https://chat.zulip.org/#narrow/stream/9-issues/topic/search.3A.20press.20tab.20to.20select.20item.20in.20autocomplete/near/1936714
2024-09-12 09:46:34 -07:00
Tim Abbott
cb53c60563
models: Clean up CommonMessagePolicyEnum.
...
This is no longer used outside an old migration.
2024-09-12 09:36:02 -07:00
Vector73
0cd51f2fea
settings: Remove `delete_own_message_policy` realm property.
...
Removed `delete_own_message_policy` realm property as the permission
to delete own messages is controlled by `can_delete_own_message_group`
setting.
2024-09-12 09:36:02 -07:00
Vector73
28c7a04734
settings: Add `can_delete_own_message_group` realm setting.
...
Added `can_delete_message_group` realm setting to replace
`delete_own_message_policy` property.
2024-09-12 09:36:02 -07:00
evykassirer
26da3300ec
message_list_view: Remove undefined option for two parameters.
2024-09-12 09:34:29 -07:00
evykassirer
d0c63be9be
message_list_view: Add TODO for followup for later.
...
From comments from #31576 .
2024-09-12 09:34:29 -07:00
evykassirer
c19b3b0826
message_list_view: Simplify type of mention_classname.
2024-09-12 09:34:29 -07:00
evykassirer
0c4186d91f
message_list_view: Use more specific type for message_id_to_focus.
2024-09-12 09:34:29 -07:00
evykassirer
93d8db11bf
message_list_view: Change moved and modified to pure booleans, not optional.
2024-09-12 09:34:29 -07:00
evykassirer
97705efb5a
message_list_view: Remove unused edited_* vars.
2024-09-12 09:34:29 -07:00
evykassirer
09de447dd9
message_list_view: Move relevant types to module.
2024-09-11 14:59:31 -07:00
evykassirer
e41e365085
message_list_view: Convert module to typescript.
2024-09-11 14:59:31 -07:00
evykassirer
bf64ac7918
message_list_view: Create group and message container all at once.
...
To be able to convert this module to typescript, we can't create
these objects iteratively, we have to collect the property values
and create it all at once. Partially formed objects aren't very
easy to type.
2024-09-11 14:59:31 -07:00
evykassirer
e65bf5cbe2
message_list_view: Set up new group in start_group function.
...
This will make the upcoming refactor a bit easier to read.
2024-09-11 14:59:31 -07:00
evykassirer
22d2111130
message_list_view: Check message type instead of stream_id.
2024-09-11 14:59:31 -07:00
evykassirer
1ff5bc0fca
message_list_view: Remove stale reference to rerender_messages.
2024-09-11 14:59:31 -07:00
Karl Stolley
554221e3c8
cleanup: Remove structural .new-style references.
2024-09-11 14:22:45 -07:00
Karl Stolley
d91321a2c4
cleanup: Remove singleton .new-style class refs.
2024-09-11 14:22:45 -07:00
Karl Stolley
7b7e21384f
cleanup: Remove remaining CSS, JS .new-style references.
2024-09-11 14:22:45 -07:00
Karl Stolley
c43aaed37c
settings: Leverage .settings_text_input class.
2024-09-11 14:22:45 -07:00
Karl Stolley
a0fc663490
todo_widget: Replicate necessary checkbox styles.
2024-09-11 14:22:45 -07:00
Karl Stolley
8c984f68ec
checkboxes: Decouple label.checkbox from .new-style tangle.
2024-09-11 14:22:45 -07:00
Karl Stolley
148169546d
buttons: Set Zulip styles on :focus-visible.
2024-09-11 14:22:45 -07:00
Karl Stolley
df3d3197ff
buttons: Simplify color declarations attached to .button.
2024-09-11 14:22:45 -07:00
Karl Stolley
dca1ecf3b0
bootstrap-btn: Remove unnecessary warning, danger styles.
...
With Zulip's own .button class rewriting these everywhere, outside
of .new-style, there is no need to maintain the Bootrap
definitions.
2024-09-11 14:22:45 -07:00
Karl Stolley
7cb55d2f91
buttons: Remove unused .btn-link styles.
2024-09-11 14:22:45 -07:00
Karl Stolley
af066842b1
components: Decouple .button from .new-style tangle.
2024-09-11 14:22:45 -07:00
Karl Stolley
7674318332
settings: Move tab-switcher out of .new-style block.
2024-09-11 14:22:45 -07:00
Lauryn Menard
0147578de6
corporate: Make initial upgrade license checks more robust.
...
In cases where the seat count for automated license management is
stale when the upgrade process is initiated and the user has chosen
automated license management, we should get the current billable
license count when doing the initial payment/charge.
Also, makes the post-payment check for inconsistencies more robust
in that we check for both under and over billing cases. In the case
where the customer may have been overbilled, an email is sent to
the billing support team so that manual investigation can happen.
2024-09-11 11:16:55 -07:00
Alex Vandiver
2eb5bcbcc9
install: Update postgresql.version comment to be more accurate.
2024-09-11 09:54:43 -07:00
Alex Vandiver
22300373d3
install: We need postgresql.version with zulip::postgresql_client too.
...
5308fbdeac
split out `zulip::postgresql_client`, and 80ef38757a
made it no longer depend on `zulip::postgresql_common`, but directly
on `zulipconf('postgresql', 'version', undef)`. However, the
installer depended on recognizing `zulip::postgresql_common` in the
list of pulled-in classes to know that we needed to keep the
`postgresql.version` setting in `/etc/zulip.conf`.
Update the installer to also recognize `zulip::postgresql_client` as a
class which tells us to keep `postgresql.version` in our settings.
2024-09-11 09:54:43 -07:00
Tim Abbott
2585d209c0
user_groups: Rename misleadingly named view function.
2024-09-11 09:43:56 -07:00
Sahil Batra
688c5ad0af
groups: Allow excluding deactivated groups in 'GET /user_groups' response.
2024-09-11 09:43:56 -07:00
Sahil Batra
fef2925ff0
mention: Handle mentioning deactivated user groups.
...
If someone tries to mention a deactivated user group,
then it is automatically converted to a silent mention
like we do for deactivated users.
2024-09-11 09:43:56 -07:00
Sahil Batra
c1d6da0a5c
user_groups: Update handling of deactivated groups.
...
We only allow updating name of a deactivated group, and not
allow updating description, members, subgroups and any setting
of a deactivated user group.
Deactivated user groups cannot be a a subgroup of any group
or used as a setting for a group.
2024-09-11 09:43:56 -07:00
Sahil Batra
e1cfe61452
user_groups: Add API support for deactivating user groups.
2024-09-11 09:43:56 -07:00
Sahil Batra
bef7cfe00f
user_groups: Add deactivated field to NamedUserGroup model.
2024-09-11 09:43:56 -07:00
Sahil Batra
f0c0eef8dc
groups: Lock user group rows while using them for settings.
...
This is important to make sure that we handle cases when there
are two parallel requests - one for using a group for a setting
and one for deactivating the same group. This makes sure that
atleast one of the above task fails.
2024-09-11 09:43:56 -07:00
Alex Vandiver
38053e9c7c
emoji: Convert spritesheets to webp.
...
This provides significant size savings:
| Emoji set | png size | webp size | webp/png percent |
| ----------- | -------- | --------- | ---------------- |
| google-blob | 1968954 | 1373350 | 69.75% |
| twitter | 2972820 | 2149672 | 72.31% |
| google | 3455270 | 2327834 | 67.37% |
Since these are the largest assets that we ship to clients, it is
worth shaving off every byte we can.
2024-09-11 09:03:47 -07:00
Alex Vandiver
a2517e1115
build-emoji: Reorganize /srv/zulip-emoji-cache.
...
This more explicitly splits out the files bound for web/generated/ from
those bound for static/generated/.
2024-09-11 09:03:47 -07:00
Alex Vandiver
5eb38f24ec
setup_venv: Fix name of libvips in yum.
...
RHEL provisioning likely doesn't currently work, but no reason to not do slightly better.
2024-09-11 09:03:47 -07:00
Aman Agrawal
a6e3a38e68
typeahead: Remove unsubscribe icon.
2024-09-11 08:26:52 -07:00
Aman Agrawal
93e0561857
message_events: Fix CI failure.
...
Broken in #31540
2024-09-11 12:05:44 +05:30
evykassirer
05e58de3f5
stream_data: Get stream id instead of name from slug.
...
This more closely matches the mobile code.
https://github.com/zulip/zulip/pull/31299#discussion_r1719556337
This shouldn't have any functional changes.
2024-09-10 17:51:39 -07:00
evykassirer
b6830ff5df
narrow_state: Remove unused search_string function.
2024-09-10 17:51:39 -07:00
evykassirer
a4f7db3c4b
compose_reply: Use narrow stream_id instead of parsing filter operand.
2024-09-10 17:51:39 -07:00
Aman Agrawal
8763d55911
message_events: Fix live update for views based on message property.
...
Fixes #31208
Fixes #14510
2024-09-10 17:28:04 -07:00
Aman Agrawal
c653508aa5
message_parser: Directly use message content to check property.
...
This will allow us to use these functions in message events where
the full message object is not available.
2024-09-10 17:28:04 -07:00