Commit Graph

66669 Commits

Author SHA1 Message Date
Anders Kaseorg
ce43111b03 templates: Fix invalid <td> inside <tfoot> (missing <tr>).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
460d63c4dc templates: Fix invalid <th> inside <thead> (missing <tr>).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
d3238e9a1b templates: Fix invalid lists inside <p>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Evy Kassirer
9a5c41cb9d compose: Remove Zephyr mirroring custom logic.
Followup to https://github.com/zulip/zulip/pull/35921#discussion_r2320358287
2025-09-10 09:47:05 -07:00
Anders Kaseorg
d8c0eb91c1 postcss: Type-check PostCSS configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
7157a424a8 babel: Type-check Babel configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
2975c1bc62 stylelint: Type-check Stylelint configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
58df0e519f prettier: Type-check Prettier configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
01c3f714c6 remark: Type-check Remark configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
3163805b92 astro: Type-check Astro configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
56fc587dfd eslint: Type-check ESLint configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
1e463d1db5 tsconfig: Enable allowJs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Anders Kaseorg
57e8c44e81 starlight_help: Use ‘astro check’ for development only.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Alex Vandiver
db89874bb0 cache: Write cache_key_prefixes without any compression.
This ensures that the new choice of zstd compression does not break
the previous, still-running, install during upgrades when the list of
cache_key_prefixes is updated.
2025-09-09 19:28:52 -07:00
Karl Stolley
8022e26ed4 search_pills: Increase opacity in dark mode. 2025-09-09 12:49:59 -07:00
Alex Vandiver
530685a597 docs: Document Tornado sharding configurations. 2025-09-09 10:41:21 -07:00
Sayam Samal
fa154b675d dark_theme: Clean up feedback container styles.
The feedback container doesn't have a border so it doesn't make sense
to have a border color defined for the dark theme, and the hover color
change on the `a` tag was an unintended side effect of
commit d73a5d06c0, which while correcting
the hover effect on the typeaheads, also affected the link hover styles
in the feedback container.

This commit, due the reasons mentioned above, removes the entire CSS
block related to the feedback container from web/styles/dark_theme.css.

Fixes part of #35880.
2025-09-09 09:21:36 -07:00
Sayam Samal
f724ad7a33 dark_theme: Clean up read receipts modal styles.
Fixes part of #35880.
2025-09-09 09:21:16 -07:00
Evy Kassirer
093ce93fa4 message: Make sure submessages is always defined. 2025-09-09 09:20:40 -07:00
Evy Kassirer
d3ef72f1d6 message: Remove unused recipient_id.
I confirmed this isn't used in any .hbs templates, so
it doesn't seem to be being used anywhere.
2025-09-09 09:20:40 -07:00
Alya Abbott
6027344ad5 help: Add more links to self-hosted export instructions. 2025-09-09 09:18:41 -07:00
Lauryn Menard
1030f41884 test-subs: Make new channel name consistent in notification bot test.
Updates final check in test_notification_bot_dm_on_subscription to
use the same pattern for the new channel name, and adds a comment
to clarify what that final check is for since it doesn't look at
the Notification Bot DM or channel messages for that case.
2025-09-08 16:52:37 -07:00
Lauryn Menard
14581de0de test-subs: Fix comment in test_notification_bot_dm_on_subscription. 2025-09-08 16:52:37 -07:00
Maneesh Shukla
7e43ee625c confirm-dialog: Rename "confirm_delete_user" to "confirm_deactivate_user_group".
This commit renames the template file "confirm_delete_user.hbs" to
"confirm_deactivate_user_group.hbs" since it has now text specific to
user-groups.
2025-09-08 14:43:53 -07:00
Maneesh Shukla
f0e1a56b1a user-group: Replace the deactivate modal text.
Previously, the modal text stated, "This action cannot be undone."
However, since it is now possible to reactivate the user-group at any
time, we should update the modal text to reflect this change.
2025-09-08 14:43:53 -07:00
Evy Kassirer
39aa0eea4c compose: Create new message object all at once.
This will be helpful for converting this file to typescript.
2025-09-08 14:43:13 -07:00
Evy Kassirer
d2f7b1a7ac compose: Remove create_message_object.
This will help with typescript conversion by reducing partially
formed message object types.
2025-09-08 14:43:13 -07:00
Aman Agrawal
203da5008a stripe: Fix licenses not updated to latest seat count after trial ends.
Since we are forward dating the LicenseLedger entry user initially
paid for, we need to create the new LicenseLedger entry with
current license count so that user can be billed for the difference
in licenses.
2025-09-08 14:38:54 -07:00
Evy Kassirer
28a7507b8e echo: Add reactions to LocalMessage.
This will make it easier to type the raw message in
process_new_message. The blueslip error is left here
as a precaution, but I'm fairly confident that if
RawMessage and LocalMessage both have reactions then
that codeblock will never be called.
2025-09-08 14:33:08 -07:00
Alex Vandiver
839135d007 users: Allow 1-character names.
Real people have 1-character names.  As seen by the previous attempt
to enforce length, in b7779667fc, real
people have names with all sorts of lengths.  All that we should care
about is that they're non-empty.
2025-09-08 14:30:59 -07:00
Shubham Padia
daec793b9d help: Insert headings inside import for ReadingConversations.
Fixes #35127.

Headings inside the import will not be rendered anywhere, but the `On
this page` component on the right needs those headings in the main file
to read it and then make it a part of `On this page`.

We have skipped includes with `What you type` and `What it looks like`
in them as we don't need to show them in the `on this page` overview.

We have skipped adding any headings with four hashes `####`, since they
do not appear in `on this page`
overview.`ImportIntoAZulipCloudOrganization` and
`ImportIntoASelfHostedServerDescription` are two examples of this.

See https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20on.20this.20page.20overview/near/2249466
2025-09-08 14:29:08 -07:00
Shubham Padia
22605a3f14 help: Insert headings inside import for ImportHowUsersWillLogIn.
Headings inside the import will not be rendered anywhere, but the `On
this page` component on the right needs those headings in the main file
to read it and then make it a part of `On this page`.

See https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20on.20this.20page.20overview/near/2249466
2025-09-08 14:29:08 -07:00
Shubham Padia
4196a17024 help: Insert headings inside import for AutomaticallyFollowTopics.
Headings inside the import will not be rendered anywhere, but the `On
this page` component on the right needs those headings in the main file
to read it and then make it a part of `On this page`.

See https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20on.20this.20page.20overview/near/2249466
2025-09-08 14:29:08 -07:00
Alya Abbott
5759d90629 help: Remove unnecessary "with Zulip". 2025-09-08 11:49:07 -07:00
Evy Kassirer
7b18e026bb echo: Make type of content_type more specific.
The only LocalMessage is created in insert_local_message
which has `content_type: "text/html"`.

This change lets us create LocalMessage objects with data
parsed from raw_message_schema.
2025-09-08 11:48:37 -07:00
Evy Kassirer
31505e90f7 subscription_info: Improve subscriber fetch preformance.
Discussed here:
https://chat.zulip.org/#narrow/channel/141-kandra-ops/topic/partial.20subscribers.20query.20does.20users.20sequential.20scan/near/2255421
2025-09-08 11:47:59 -07:00
Alex Vandiver
74b07740b0 openapi: Make example UUID be a UUID. 2025-09-08 11:47:03 -07:00
Alex Vandiver
bf6ccf974e i18n: Updated .po files for new strings. 2025-09-08 12:19:47 -04:00
Hosted Weblate
3975338f73 i18n: Sync translations from Weblate. 2025-09-08 12:19:47 -04:00
Prakhar Pratyush
271aba001c api_docs: Fix 500 error on /api/register-remote-push-device.
`settings.ZULIP_SERVICES_URL` is used to construct curl
example for `/api/register-remote-push-device`.

On zulip cloud `settings.ZULIP_SERVICES_URL=None`, it resulted
in 500 error on visiting that page.

This commit fixes the bug by using "https://push.zulipchat.com"
as the default value if `settings.ZULIP_SERVICES_URL=None`.

The doc already mentions that the endpoint is meant to be used
by self-hosted servers, so the default value makes sense if
ZULIP_SERVICES_URL=None.
2025-09-05 11:01:05 -07:00
Aman Agrawal
39b560e611 inbox: Remove empty space below filters for hidden folders.
Hidden folders occupied space due to bottom margin.

Fixed by moving the margin to elements which have `display: none`
property so that margin is removed.
2025-09-05 10:35:38 -07:00
Alex Vandiver
257cfad667 outgoing_webhook: Lump chunked-encoding errors with connection errors. 2025-09-05 10:35:01 -07:00
Anders Kaseorg
a47c8ce15f requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 19:48:55 -07:00
Anders Kaseorg
270c50651c install-uv: Upgrade uv from 0.8.10 to 0.8.15.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 19:48:55 -07:00
Anders Kaseorg
0fc5f6994f check-openapi: Convert to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 17:02:06 -07:00
Anders Kaseorg
29dd592f38 types: Add declarations for openapi-examples-validator.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 17:02:06 -07:00
Anders Kaseorg
49caa9dc85 dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 15:20:47 -07:00
Anders Kaseorg
fc32adaa38 install-node: Upgrade Node.js from 22.18.0 to 22.19.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 15:01:37 -07:00
Anders Kaseorg
6615756437 lint: Don’t auto-fix with remark unless requested.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 13:13:37 -07:00
Alya Abbott
3ad0db8c05 help: Add a dedicated sidebar section for advanced guides. 2025-09-04 12:15:24 -07:00