Commit Graph

6716 Commits

Author SHA1 Message Date
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
Lauryn Menard
bbd0f6e11c support: Revise view for scrubbed realms.
When a realm is scrubbed, there should be no support actions to
take and all user information has been removed.
2025-06-18 16:51:25 -07:00
Lauryn Menard
79ea4b6eb0 support: Revise management forms for deactivated realms.
The only form we want to show in the "Realm management" section of
the support view for deactivate realms is the one to reactivate it.
2025-06-18 16:51:25 -07:00
Lauryn Menard
f9dd3aada3 support: Show sponsorship forms only for non-deactivated realms.
For deactivated realms, we show their sponsorship state (discount,
required plan tier, etc.) but not the form to update those fields.
2025-06-18 16:51:25 -07:00
Lauryn Menard
405dc6131f support: Show scrub realm button only when realm is deactivated. 2025-06-18 16:51:25 -07:00
Lauryn Menard
696bdf0b17 support: Update view for placeholder realms.
When a realm is a placeholder realm due, i.e., the realm redirects
to another URL due to previously changing the realm's subdomain,
we only show the redirect information.

There is a copy link that for the redirect URL that can be pasted
into the search bar to get to the support view for the actual
realm.
2025-06-18 16:51:25 -07:00
Lauryn Menard
a29dd27c4a support: Add label when a realm is deactivated. 2025-06-18 16:51:25 -07:00
Lauryn Menard
466ef9d682 support: Improve format of confirmation realm section.
For confirmation objects that do not show realm details, but have
a realm object, format the header information to match what we do
show in the realm details page and show the realm's subdomain.
2025-06-18 16:51:25 -07:00
Lauryn Menard
7f0697eccb support: Set realm correctly for realm reactivation confirmations. 2025-06-18 16:51:25 -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
Lauryn Menard
59a55e6d88 corporate: Update Android APK note.
Updates APK fine print on /apps for Android to link to both the
Flutter app and legacy React Native app.

Part of #34748.
2025-06-13 22:17:17 -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
Niloth P
e826a232d3 integration-docs: Update Errbot for new doc format.
Part of zulip#29592.
2025-05-29 15:36:11 -07:00
Alex Vandiver
f3d6de390f i18n: Remove a spurious leading space in a translation string. 2025-05-29 11:58:57 -07:00
Lauryn Menard
fd16c2e2b0 templates: Update deactivated organization template for deleted data.
If a realm's data has been scrubbed, update the deactivated realm
to note the URL can be reused, but not that the realm can be
reactivated.

Updates the template for context variables that are no longer used.
2025-05-28 17:32:29 -07:00
Aman Agrawal
6e9a65e0dc slack_import: Rename heading for input. 2025-05-28 17:19:51 -07:00
Aman Agrawal
9b2bf87bff realm_import_post_process: Show verified email in bold. 2025-05-28 17:19:51 -07:00
Aman Agrawal
2d509c2351 slack_import: Add missing element to show error message.
This appears to have been lost somewhere in one of the rebases.
2025-05-28 17:18:07 -07:00
Aman Agrawal
e07a17eff5 slack_import: Add instruction to get export file. 2025-05-28 17:18:07 -07:00
Aman Agrawal
ef8f9f0585 slack_import: Use textarea for slack access token.
This is to help user see the complete access token at once.
2025-05-28 17:18:07 -07:00
Aman Agrawal
18b0681d26 slack_import: Show validation error on empty slack access token.
We used to rely on browser to show error for empty slack access
token, but now we are using our own error element for this.
2025-05-28 17:18:07 -07:00
Aman Agrawal
079e46404f slack_import: Tweak instruction to get slack bot user OAuth token.
Note that the link highlights the section to get bot OAuth token.
2025-05-28 17:18:07 -07:00
Alex Vandiver
df74c54f38 find_account: Fix HTML version of email.
This was broken in the refactor in 0078310be7.
2025-05-22 10:31:21 -07:00
Aman Agrawal
2767122a3d realm_creation_form: Change style of import tooltip. 2025-05-20 07:03:51 -07:00
Alya Abbott
dd7e871b11 portico: Add partnership program page. 2025-05-19 16:36:26 -07:00
Alex Vandiver
33f7da23a0 stripe: Do not place Realm objects into context. 2025-05-16 11:30:48 -07:00
Alex Vandiver
222729728c password_reset: Do not place Realm objects into context. 2025-05-16 11:30:48 -07:00
Alex Vandiver
0078310be7 find_account: Do not place Realm objects into context. 2025-05-16 11:30:48 -07:00
Alya Abbott
d3b9dfa997 new: Tweak import tip. 2025-05-15 14:04:20 -07:00
Aman Agrawal
136c0f1c44 registration: Enable import from slack using realm registration form.
Co-authored-by: Alex Vandiver <alexmv@zulip.com>
Co-authored-by: Tim Abbott <tabbott@zulip.com>
2025-05-14 13:24:38 -07:00
Lauryn Menard
7fc9d29c1e support: Show file upload usage compared to realm upload quota.
Implemented on Zulip Cloud support view only since this information
isn't relevant for self-hosted support actions.

Looking up the realm's currently used upload space adds 3 database
queries to the support view test as there is no RealmCount data for
the upload quota used in the test. And therefore installation_epoch
is called for the realm.

With RealmCount upload quota used data, only 2 additional database
queries would be made for the realm's support view data.
2025-05-08 09:38:02 -07:00
Niloth P
f57768f4c4 integration-docs: Update Discourse for new doc format.
Part of zulip#29592.
2025-05-07 16:50:12 -07:00
Niloth P
ed005e7bf7 integration-docs: Update URL in change-zulip-config-file macro.
Use the context variable `zulip_url` instead of `api_url` to remove the
'/api' suffix.
2025-05-07 12:57:53 -07:00
PieterCK
cc39b6860b email_change: Use HTML error for user deactivated error.
Currently when a deactivated user tries to access the change email link
(generated when their account still active), a JSON error message will
be shown.

This adds a new portico error page for user deactivated errors. Now,
`confirm_email_change` renders a portico error page when the user trying
to change their email is deactivated.

Fixes #20227.
2025-05-06 11:12:16 -07:00
Lauryn Menard
6d7bff4a16 create-realm: Simplify organization name field on new org form.
Removes the placeholder text and hint. Adds a link to the help
center article about creating your organization profile.

Fixes #34496.
2025-05-01 12:00:56 -07:00
Aman Agrawal
5d4142e056 realm_creation_form: Capture import_from if realm import enabled.
We store user's preference for `import_from` to be acted upon in
later commits.
2025-04-30 00:06:43 -07:00
Aman Agrawal
80e76d24e9 create_realm: Show import text only if automated import is disabled.
This helps preserve the original form in production.

The new "Import from" option button allows user to automate the
process, so this is not required in that case.
2025-04-30 00:06:43 -07:00
Karl Stolley
a9e3331fcc page_loader: Correct clipped logo circle. 2025-04-29 11:36:54 -07:00
Niloth P
ec6506c643 integration-docs: Clarify the download-python-bindings macro.
Replaced "server" with "system" so that the macro can be used with all
integrations with integration scripts, irrespective of whether it needs
to be run from a server or a user's machine.

Replaced "bot" with "integration script" to ensure that the integration
script is not confused with the Zulip bot user that is created using the
UI in the instruction above this instruction.
2025-04-29 09:27:37 -07:00
Aman Agrawal
6f4fee37e4 inbox: Remove stale CSS.
We stopped using `#reload-lnk` element in #26116 and since we
were satisfied with the reload link styling in that PR, this
CSS is no longer needed.
2025-04-25 11:49:17 -07:00
Mohammad Reza Kianifar
7907c5f846 refactor: Rename huddle to direct_message_group in email templates.
The huddle database table was renamed to direct_message_group.
This commit updates all references to huddle in the missed_message
email templates and locale files.
2025-04-23 17:45:03 -07:00
Alex Vandiver
eae18738a6 signup: Add optional Altcha to realm registration. 2025-04-23 17:18:40 -07:00