Commit Graph

66624 Commits

Author SHA1 Message Date
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
Alya Abbott
b2819dd92f help: Create new help center home page. 2025-09-04 12:15:24 -07:00
Anders Kaseorg
083464fb16 remark: Don’t exclude remark-lint-list-item-indent.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 11:30:43 -07:00
Anders Kaseorg
f191a250ac remark: Override markdown-style-guide preset with recommended.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 11:30:43 -07:00
Anders Kaseorg
1c085b1d77 remark: Don’t exclude remark-lint-no-duplicate-definitions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 11:04:02 -07:00
Anders Kaseorg
1178048a08 format-mdx: Add remark-gfm.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 10:27:47 -07:00
Anders Kaseorg
e4960a7595 help: Put your-org link in a code span.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 10:27:47 -07:00
Anders Kaseorg
2e805be1d8 help: Fix misformatted MDX.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 10:27:47 -07:00
Anders Kaseorg
1a05b2c10f tabbed-instructions: Delete activate_correct_tab.
We no longer have any OS-specific tabs; we can just activate the first
one on the server side.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 09:37:34 -07:00
Anders Kaseorg
35ce90d4f8 help_relative_links: Delete.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 09:37:34 -07:00
Anders Kaseorg
224c143094 convert-help-center-docs-to-mdx: Delete.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-04 09:37:34 -07:00
Prakhar Pratyush
e64be0c48b api_docs: Deprecate 'remove-fcm-token' & 'remove-apns-token'.
Endpoints marked deprecated:
* `DELETE /users/me/apns_device_token`
* `DELETE /users/me/android_gcm_reg_id`

These endpoints were for non-E2EE push notification case.

Fixes #35213.
2025-09-04 09:20:02 -07:00
Lauryn Menard
6a81aba20e help: Fix find direct message conversation tabbed sections. 2025-09-04 09:19:22 -07:00
Alex Vandiver
b4e06a6fa0 help: Uploads do not default to containing the hostname in the link. 2025-09-03 22:39:55 -07:00
Alex Vandiver
4f02f04682 help: Always use your-org.zulipchat.com for Zulip Cloud example URLs. 2025-09-03 22:39:55 -07:00
Alex Vandiver
9fdeddb773 help: Add language and highlight markers. 2025-09-03 22:39:55 -07:00
Alex Vandiver
968dfc5a28 help: Fix the mailto: link in org deactivation. 2025-09-03 22:39:55 -07:00
Alex Vandiver
049ff0b71f help: Remove incorrect escaping, which broke table rendering. 2025-09-03 22:39:55 -07:00
Alex Vandiver
8bf5aa04d6 help: Fix broken spoiler example. 2025-09-03 22:39:55 -07:00
Alex Vandiver
dabe0cc6d6 help: Fix broken LaTeX examples. 2025-09-03 22:39:55 -07:00
Alex Vandiver
78055633d3 help: Fix broken blockquote examples. 2025-09-03 22:39:55 -07:00
Alex Vandiver
9abc3e635a help: Fix broken "Schedule a reminder" steps. 2025-09-03 22:39:55 -07:00
Alex Vandiver
912d1d819c help: Remove incorrect brace escaping. 2025-09-03 22:39:55 -07:00
Anders Kaseorg
619cb0dd4f eslint: Add eslint-plugin-mdx.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 22:36:42 -07:00
Anders Kaseorg
3d510601e5 help: Normalize and sort MDX import statements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 22:36:42 -07:00
Anders Kaseorg
38c0cd5756 help: Replace stray non-breaking spaces.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 22:36:42 -07:00
Rakshit
8814a557a2 settings: Abbreviate long bot owner names in bot management modal.
Previously, long owner names could wrap onto two lines in the bot
management modal, breaking the layout. This commit adds CSS to keep
names on a single line and abbreviate with an ellipsis if too long.

Fixes #23266.
2025-09-03 17:38:55 -07:00
Karl Stolley
be53f22fff layout: Tweak dropdown for correct icon-label alignment. 2025-09-03 17:37:14 -07:00
Shubham Padia
03c73c28cd banners: Capitalise desktop in insecure-desktop-app intent and message. 2025-09-03 17:36:25 -07:00
Anders Kaseorg
c914b7872b help: Finish removing old help center.
These files were converted and moved to
starlight_help/src/content/docs, but were not removed due to an
incorrect rebase of d333ddb961 (#35621).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:41:07 -07:00
Shubham Padia
6bcacb31ef help: Remove incorrectly inserted steps component in code blocks.
The list inside the code block should not have any Steps component
inside it, since that is reserved for our MDX, not the formatting guide
for the Zulip apps.
2025-09-03 16:23:47 -07:00
Alex Vandiver
68edb5ef04 help: Correct link to "subprocessors for Zulip Cloud," to Zulip Cloud. 2025-09-03 16:23:11 -07:00
Alex Vandiver
6bb8e3b86f policies: Remove Mailchimp as a sub-processor.
We have not used their services since 2021.
2025-09-03 16:23:11 -07:00
Alex Vandiver
23f97ae02d policies: Remove Rackspace as a sub-processor.
We no longer use any of their services.
2025-09-03 16:23:11 -07:00
Alex Vandiver
18663648ee help: Use a more straightforward sub-processor example. 2025-09-03 16:23:11 -07:00
Anders Kaseorg
3a56e621f4 Vagrantfile: Forward port 9995 for /help dev server.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:22:29 -07:00
Anders Kaseorg
2bf20e02f2 documentation_crawler: Remove wrongly inverted skip_check_fragment flag.
Due to a missing `not`, this incorrectly skipped checking fragments
for everything *other* than the /help documentation!

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:21:23 -07:00
Anders Kaseorg
a914c8e53f check_help_documentation: Fix HelpDocumentationSpider._is_external_url.
Commits d333ddb961 and
a766c092fc (#35621) broke this by
changing the base class from UnusedImagesLinterSpider to
BaseDocumentationSpider.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:21:23 -07:00
Anders Kaseorg
4540a99959 starlight_help: Remove broken link fragments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:21:23 -07:00
Anders Kaseorg
f8d35c57be starlight_help: Fix broken links.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-03 16:21:23 -07:00
Aman Agrawal
5dbf584ac5 sidebars: Don't highlight selection by default on search input focus.
Unless user wants to move the selection or type a value in search
input, we don't highlight the current selection.
2025-09-03 16:13:38 -07:00
Aman Agrawal
478ea89506 left_sidebar: Avoid selecting header as first row when searching. 2025-09-03 16:13:38 -07:00
Aman Agrawal
a4c2327fa9 sidebar_ui: Extract selectors for left sidebar headers. 2025-09-03 16:13:38 -07:00
Alex Vandiver
fc962b8b0e run-hooks: Handle hooks after OS upgrade on fresh install. 2025-09-03 15:20:53 -07:00
Shubham Padia
012115a2bc documentation: Make sure article is secure to use.
The `article` variable being passed to `get_path` can also be a relative
path, which has it's security implications. By using `secure_filename`,
we mitigate that risk. We don't need to check if `/` exists in article
anymore since `secure_filename` will do so on it's own.
2025-09-03 09:28:15 -07:00
Shubham Padia
f9881b0182 help: Remove sidebar index from includes.
The sidebar index was an includes file in our previous help center since
we were using it to programmatically in documentation.py. Since that is
no longer the case, there is no reason for this file to be in includes.

A side-effect of us doing this is that now the overview section on the
right for the index page will be generated correctly with us avoiding
the issue in #35127.
2025-09-03 09:28:15 -07:00