Commit Graph

5054 Commits

Author SHA1 Message Date
Lauryn Menard
97fc26dd99 create-realm: Remove 'left' and 'center' classes.
The 'left' and 'center' classes have no apparent CSS styles or
frontend code that uses them on the `create_realm.html` template.
2025-10-13 10:08:14 -07:00
Niloth P
36b3d24ee6 integration-docs: Add the install-requirements.md macro.
The macro will be used by some script integrations in python-zulip-api.
2025-10-10 09:45:45 -07:00
Alex Vandiver
fdcfafd13d send_custom_email: Add a flag for sending release announcements. 2025-10-09 12:10:15 -07:00
Lauryn Menard
5b5292d138 templates: Remove unnecessary "margin" class from register template.
Removes the instances of the "margin" class from register.html and
the portico CSS rule. Doing so does not result in any visible
changes in the only place it was being applied the terms of service
checkbox on the page.
2025-10-08 17:05:28 -07:00
Niloth P
6469fc5395 integration-docs: Add missing example screenshots.
For Asana, Discourse, GitHub Actions, Phabricator, Puppet integrations
that previously did not have any example screenshots.

The screenshot images were generated in the prior commit.
2025-10-03 15:38:03 -07:00
Lauryn Menard
6fb19fdd2d templates: Add rel-canonical link to some documentation pages.
Updates templates/zerver/meta_tags.html to add a rel-canonical
link if REL_CANONICAL_LINK is in the template context dict.

We add REL_CANONICAL_LINK to the documentation context for the
API and integrations documentation pages in all cases. The link
will be self-referencing for the main zulip.com site.

For policies documentation pages, we add REL_CANONICAL_LINK to
the context only when settings.CORPORATE_ENABLED is true, so
that self-hosted servers' policies documentation do not have a
rel-canonical link set.

Part of #35110.
2025-10-01 11:50:59 -04:00
Shubham Padia
c3fbe00eb0 help: Add default page to display on /help when help server is off.
We've copied the button and error colors from portico_signin.css. We did
not want the new HTML file to depend on portico_signin.css since they
are unrelated. In addition, having those colors diverge over time might
not be an issue.

We make the raw mode work with /help and /help/ both.

See https://chat.zulip.org/#narrow/channel/19-documentation/topic/edits.20not.20appearing.20with.20vagrant/near/2257442

Co-authored-by: Alya Abbott <alya@zulip.com>
2025-09-26 11:41:10 -07:00
Shubham Padia
3b6d8de815 help: Rename --help-center to --help-center-static-build for run-dev.
Having it name --help-center made it sound like it was the default mode.
The new name reflects that option more accurately.
2025-09-26 11:18:26 -07:00
Shubham Padia
b79b068568 help: Add --only-help-center to run-dev.
The astro dev server takes a lot of memory and is disabled by default in
`run-dev`. We add another option to only run the dev server which is the
recommended mode for development. We still keep around the
`--help-center-dev-server` mode for folks who have machines with higher
specifications.

See https://chat.zulip.org/#narrow/channel/19-documentation/topic/edits.20not.20appearing.20with.20vagrant/near/2256856
2025-09-26 11:18:26 -07:00
Aman Agrawal
8b8d23cc5f realm_redirect: Add help for self hosted users to login. 2025-09-26 11:02:26 -07:00
Aman Agrawal
63613051ac deactivated_org: Direct org members to contact org admins.
This helps clarify that normal members cannot reactivate the
org by contacting us.
2025-09-24 12:02:56 -07:00
Aman Agrawal
40f4ad2cb0 register: Add AI/LLM as option for how user found Zulip. 2025-09-24 10:24:23 -07:00
Aman Agrawal
e36147a94e realm_creation: Disable import from input.
We are not processing this input at the POST endpoint, this
commit just disables the selection from changing.

It is not easy to process changing "import from" at this stage,
but we can possible allow that in a future refactor.
2025-09-22 09:37:34 -07:00
Aman Agrawal
f45552fadd slack_import: Disable submit button if file is invalid. 2025-09-22 09:37:34 -07:00
Aman Agrawal
04fa43e1df slack_import: Don't use a tag for form submission.
This can mislead user into thinking this is a link they can
open in a new tab, which we don't want to allow.
2025-09-22 09:37:34 -07:00
Shubham Padia
468a7a82dd help: Do not treat Help Center as a proper noun.
Fixes https://chat.zulip.org/#narrow/channel/101-design/topic/help.20center.20capitalization
2025-09-17 13:20:25 -07:00
Anders Kaseorg
40a022dcc3 zephyr: Remove Zephyr mirroring support.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-16 11:18:18 -07:00
Anders Kaseorg
8ebb8ba4b0 landing_nav: Fix invalid <div> inside <ul>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
cfc802ea2a register: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
17980c205e index: Fix invalid <div class="loading-indicator"> inside <button>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
c3b55702db email_base_messages: Add missing <body>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
9ec4f726ac digest_base: Remove stray <body> tag.
We’re already inside the <body> provided by base.html.

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
Anders Kaseorg
2975c1bc62 stylelint: Type-check Stylelint configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00
Shubham Padia
d333ddb961 help: Remove current help center.
This commit removes the current help center markdown files and any logic
that was used to host those files at help/.

We also remove a bunch of tests, we should the equivalent of those tests
for the new help center. Issues to track: #35649, #35647. These issues
track adding back tests for redirects and broken links.

We had a symlink from templates/zerver/integrations/email.md pointing to
help/using-zulip-via-email.md. We can no longer have that symlink since
the latter has been converted to an MDX file. We have deleted the
symlink and put a markdown file in it's place. Both the files have
comments to edit the other in case of changes.

This commit also makes changes in astro config, astro component paths
and other places to move the starlight help center docs base path from
/starlight_help to /help.

The change to rename /starlight_help/ to /help/ in MDX files is done in
the next commit. If we squash these commits, this line should be
removed.

`./tools/build-help-center` no longer does the conversion step.

We also remove some dead code related to the old help center in
documentation.py.
2025-09-03 09:28:15 -07:00
Lauryn Menard
1caff10df7 corporate: Send fixed-price stale audit log internal billing email.
Still send an internal billing notice when a fixed-price plan is
invoiced while the remote server has stale audit log data. This
does not trigger updating the stale_audit_log_data_email_sent
field on the CustomerPlan as the plan will be invoiced in this
case.
2025-08-27 11:54:33 -07:00
Niloth P
e7735e21be integration-docs: Update Notion for new doc format.
Part of zulip#29592.
2025-08-14 13:21:04 -07:00
Niloth P
1dbf0f33fe integration-docs: Update Mastodon for new doc format.
Part of zulip#29592.
2025-08-14 13:20:11 -07:00
Shubham Padia
3f6520e82a starlight_help: Forward to help_center_port in case of dev server.
Fixes
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20run-dev.20options/near/2238128.

When running the dev server, astro/starlight makes a lot of requests on
the base URL, which are not scoped to /starlight_help. We need to host
the dev server on it's own port for it to work well. This commit fixes
that.
2025-08-13 10:10:15 -07:00
Shubham Padia
3e60b16ac1 starlight_help: Move help-beta over to starlight_help.
We are starting the cutover process and starlight_help is the directory
we have agreed on to place our new help center project. We do not want
to use `starlight_help` as the URL for the project, but this commit
changes the url from `help-beta` to `starlight_help` temporarily since
we can only change URL once we get rid of the current help center
project. That will be done in a future commit.
2025-08-08 11:59:29 -07:00
Aman Agrawal
0f1cccc1cc inbox: Don't show focus outlines without inbox relevant keypress.
Untill user uses a keypress that inbox handles, we don't show
focus outlines.
2025-07-22 17:23:47 -07:00
Alex Vandiver
10cf86291e i18n: Trim some unnecessary leading/trailing spaces from translation strings. 2025-07-18 11:08:34 -07:00
Niloth P
c75a48b63b integrations: Remove Phabricator integration.
Phabricator has not been actively maintained since June 2021.
2025-07-14 12:03:48 -07:00
Aman Agrawal
9b15dce1b2 auth: Only automatically redirect for same domain redirects.
If the `deactivated_redirect` belongs to the same domain as
`EXTERNAL_HOST`, automatically redirect, otherwise just point
user to the new URL.
2025-07-10 10:46:59 -07:00
Sayam Samal
f8d82775d1 showroom: Set up devtools/inputs page for showcasing input components.
This is a prep commit to setup the devtools/inputs page for the
redesigned input components.
2025-07-03 11:45:35 -07:00
Aman Agrawal
4a8d86f151 overlays: Add overlay to display scheduled reminders. 2025-07-02 13:02:45 -07:00
Aman Agrawal
29c4d86d81 case-studies: Add WindBorne case study.
Co-authored-by: Alya Abbott <alya@zulip.com>
2025-07-02 09:36:47 -07:00
Pratik Chanda
fd355e2028 social_auth: Fix keyboard navigation on accounts in oauth.
This commit makes the accounts in oauth page navigable on `Tab`.

Fixes:zulip#34724.

Co-authored-by: Parasaran <v.parasaran@gmail.com>
2025-06-26 10:02:30 -07:00
Alya Abbott
1e4bdf1a79 import: Label tweak. 2025-06-24 16:50:05 -07:00
Aman Agrawal
5046c8a1a2 register: Fix ToS error overlapping with subscribed checkbox text.
Fixed by using the same set of classes we use to show error when
verifying the form locally.
2025-06-24 12:01:50 -07:00
Niloth P
9fb06e81b7 integ-docs/hubot: Use a sample API key instead of a placeholder. 2025-06-20 16:04:26 -07:00
Niloth P
59839be9d6 integ-docs: Update the sample site URLs and bot emails.
To use the appropriate context properties.

This commit does not touch the integration docs that do not use the
new integration doc format, as this update will be included in their
format update sweep.
2025-06-20 16:04:26 -07:00
Niloth P
dab97304f6 documentation: Add context properties for subdomain and host segments.
The subdomain and host parts are already used within zulip_url, api_url,
this commit adds them as context properties themselves, so that they
can be used in email addresses and URLs without the URI scheme,
increasing uniformity.

The new context properties `display_host` and `display_subdomain` are
usable in the Help, API docs and Policies.

Occurrences of `*.zulipchat.com` have been updated to use them.
2025-06-20 16:04:26 -07:00
Aman Agrawal
4cca5652e3 slack_import: Pipe file processing error message to the user.
When the slack import fails due to invalid zip file being uploaded,
we take user back to the file upload page with an appropriate
error message.
2025-06-16 10:46:25 -07:00
Tim Abbott
fd6b70e1ca portico: Fix signup-column typo. 2025-06-05 15:59:34 -07:00
kumbhar-sarthak
13eb79493b ui: Improve the placement of the "Forgot password" action.
Previously, the "Forgot password" action was bit difficult to
locate due to its position. This commit adjusts its placement
to enhance discoverability and improve the user experience.
2025-06-05 15:58:29 -07:00
Aman Agrawal
87694e9606 support: Add field to ask type of hosting request in demo form. 2025-06-04 16:29:03 -07:00
Sayam Samal
f2b4480d76 blueslip: Decouple blueslip error overlay from popup alerts. 2025-06-04 11:28:49 -07:00
Sayam Samal
9008e35acb alerts: Wrap the alert-box to prevent safari container regression.
This commit wraps the alert-box into a wrapper, and moves the
position related CSS to the wrapper, to avoid safari container
regression — which results when position: fixed is applied on the
element which is also the container.
2025-06-04 11:28:49 -07:00
Lauryn Menard
9edabf5ac8 corporate: Revise internal billing emails for stale audit log data.
These emails are not necessarily sent when an self-hosted customer
has an outstanding invoice, e.g., they are on an annual plan and
the monthly check for additional licenses happens when the audit
log data is stale.

Updates the notice_reason to be "stale_audit_log_data" instead of
"invoice_overdue". Revises the email subject and text to better
reflect what the support admin needs to investigate.
2025-05-30 14:57:00 -07:00