Commit Graph

4993 Commits

Author SHA1 Message Date
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
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
opmkumar
8482a9480b email: Apply message content visibility settings to digest too.
Fixes #33190.
2025-04-15 16:24:59 -07:00
opmkumar
8c556cafbb email: Update "Log in" string in digest emails. 2025-04-15 16:24:59 -07:00
opmkumar
5530981db9 email: Update message content disabled wording for missed messages.
This commit updates the wording used in missed messages emails
when message content is disabled.
The corresonding help URL included in the email has also
been updated.
2025-04-15 16:24:59 -07:00
Anders Kaseorg
0f2f795fe0 Revert "webpack: Use CORS requests for stylesheets."
This reverts commit bdd11577bf (#34359).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-04-15 16:18:06 -07:00
Maneesh Shukla
7ff6460d4b meta-tag: Remove invalid space in viewport meta tag.
This commit removes a trailing space in the viewport meta tag, which was
causing a browser warning:
“Viewport argument key "" not recognized and ignored.”
2025-04-15 16:09:55 -07:00
Anders Kaseorg
bdd11577bf webpack: Use CORS requests for stylesheets.
This seems to be required for webpack-dev-server 5.2.1, for reasons
that have not yet been made public.  This relies on the
Access-Control-Allow-Origin: * header that we already set for static
content in both development and production.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-04-10 15:02:27 -07:00
Prakhar Pratyush
41df472d41 corporate: Replace /try-zulip with /?show_try_zulip_modal.
This commit removes the `/try-zulip` landing page.

The URLs are replaced with `chat.zulip.org/?show_try_zulip_modal`,
which leads to display a modal for spectators.

Fixes #34181.
2025-04-03 13:01:48 -07:00
Aman Agrawal
4202e4e044 app: Track keyboard overlaps with compose box bug as a TODO.
This will help us revert back to `resizes-visual` on Firefox
Android when the bug is fixed.
2025-04-02 12:36:11 -07:00
Niloth P
b2910aa05c integration-docs: Migrate PythonAPIIntegration docs.
To zulip/python-zulip-api, to keep them closer to their source code.

- Renamed the generate_zulip_bots_static_files to
generate_bots_integrations_static_files to accomodate the new function.
- Added a new function to
tools/setup/generate_bots_integrations_static_files to copy the
integration docs into static/generated/integrations.
- Updated integrations.py and computed_settings.py to use the new doc
paths.
- Deleted the affected integration docs.
- Updated the dependency URL.
2025-03-26 11:19:31 -07:00
Aman Agrawal
ec7252138c home: Fix compose box not visible on focus in Firefox Android.
Fixes #34010

From version 132, Firefox now defaults to not resize the viewport
content but only the visual viewport. While this works well in
Chrome Android, it creates a buggy experience in Firefox Android
where the compose box is hidden under keyboard.

To fix it, we rollback to resizing content when keyboard is shown
on Firefox Android.
2025-03-19 21:54:14 -07:00
Sayam Samal
25627bbb8a web: Replace deprecated apple-mobile-web-app-capable meta tag.
Avoid using deprecated meta tags like apple-mobile-web-app-capable,
as they can interfere with proper PWA installation. Safari may fall
back to these tags if it can’t load the manifest, leading to an
inconsistent and poor app experience.

Instead, this commit adds the mobile-web-app-capable meta tag as
suggested by the developer console.

Sources:
https://web.dev/learn/pwa/web-app-manifest#designing_your_pwa_experience
https://web.dev/learn/pwa/enhancements#installation_reliability
2025-03-19 16:50:07 -07:00
Sayam Samal
9fee2bc507 popup_banners: Redesign reloading application banner.
This commit redesigns the reloading application banner to use the new
banner styles.

Fixes #31289.
2025-03-17 18:31:44 -07:00
Karl Stolley
bb09222662 alerts: Improve styles, behavior between app and portico. 2025-03-14 11:52:18 -07:00
Karl Stolley
fadf68dc1b alerts: Move banner-wrapper to inner div. 2025-03-14 11:52:18 -07:00
Alex Vandiver
721fd26442 send_email: Set the Date header according to local enqueue time.
Email clients tend to sort emails by the "Date" header, which is not
when the email was received -- emails can be arbitrarily delayed
during relaying.  Messages without a Date header (as all Zulip
messages previously) have one inserted by the first mailserver they
encounter.  As there are now multiple email-sending queues, we would
like the view of the database, as presented by the emails that are
sent out, to be consistent based on the Date header, which may not be
the same as when the client gets the email in their inbox.

Insert a Date header of when the Zulip system inserted the data into
the local queue, as that encodes when the full information was pulled
from the database.  This also opens the door to multiple workers
servicing the email_senders queue, to limit backlogging during large
notifications, without having to worry about inconsistent delivery
order between those two workers.

Messages which are sent synchronously via `send_email()` get a Date
header of when we attempt to send the message; this is, in practice,
no different from Django's default behaviour of doing so, but makes
the behaviour slightly more consistent.
2025-03-10 16:48:08 -07:00
Sayam Samal
3275fcc96e popup_banners: Redesign connection banner to use new banner component.
This commit serves as the base commit for redesigning the alert banners
by migrating them to use the new banner component. We use a new name
to refer to these banners — "Popup banners", which is more descriptive
about their behavior.

The Popup banners are appended to the container in a stacking order,
i.e., the most recent popup banner appears on the top and the oldest one
is sent to the bottom of the stack. These banners also inherit the
animations from the alert banners for visual appeal.

This commit also fixes the bug where clicking on the "Try now" button
in the popup banner resulting from an error in the `/json/messages`
endpoint resulted in call to restart_get_events in server_events.js
instead of load_messages in message_fetch.ts.

Fixes #31282.
2025-03-10 11:21:11 -07:00
Lauryn Menard
fc1275ab17 integration-docs: Update BigBlueButton for new documentation format. 2025-03-06 13:31:13 -08:00
Lauryn Menard
36177d974f integrations-docs: Update Jitsi Meet for new documentation format. 2025-03-06 13:31:09 -08:00
Niloth P
b7e79715cc integration-docs: Combine two macros that are always used together.
Edited the git-append-branches.md macro to match the previous
git-branches-additional-feature.md macro, and moved it inside the
webhook-url-with-bot-email.md macro, as it's only ever used
immediately after that macro.
2025-03-05 10:39:13 -08:00
Niloth P
30e7310495 integration-docs: Remove two outdated macros.
- generate-integration-url.md has been long replaced by the
generate-webhook-url-basic.md.
- webhook-url.md was only being used inside the above macro.
2025-03-05 10:39:13 -08:00
Niloth P
8f564b2053 integration-docs: Update branch filtering instructions.
Updated the Git-related integrations that support branch filtering:
- Removed the branch-filtering configuration option, and its macro.
- Added a new macro that integrates the branch-filtering instruction
with the Generate-URL step.

The new macro `generate-webhook-url-with-branch-filtering` builds off of
the `generate-webhook-url-basic` macro, adding only the branch filtering
instruction. But, it does not re-use the macro, instead duplicates it,
to avoid the newline break that would be added otherwise.
2025-03-05 10:39:13 -08:00
Lauryn Menard
b96d94f679 docs: Update sections for organization settings tab changes.
Updates help center, integration and contributor docs where for
the new subsections on the organization settings tab, which were
changed in #33605.

Previously, these settings were all in the "Other settings"
subsection for that organization settings tab.
2025-02-24 18:14:21 -08:00
Niloth P
82ddc73df7 integration-docs: Add context properties for PythonAPIIntegrations.
Updated the change-zulip-config-file macro to use a newly added
context parameter, demonstrating its purpose.
2025-02-24 17:04:58 -08:00
Anders Kaseorg
4e04eed745 typos: Fix typos caught by typos and mwic.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-02-18 19:44:02 -08:00
Aman Agrawal
a2dd84541d auth: Fix 500 error on accessing selfhosting subdomain user login page.
selfhosting in not to valid subdomain for user login, so we render
invalid_realm page on that URL.
2025-02-12 12:43:23 -08:00
Aman Agrawal
b6814d6192 portico-header: Don't show login on server login page.
User cannot login to selfhosting subdomain since it is not a realm.
2025-02-12 12:43:23 -08:00
Lauryn Menard
2de2b22d55 help: Update for subscribe/unsubscribe user to channel terminology.
Instead of referring to users being added or removed from channels,
we now use subscribe or unsubscribed from channels.

Splits the article for adding and removing users from a channel
into separate articles: /help/subscribe-users-to-a-channel and
/help/unsubscribe-users-from-a-channel.

The URL redirects for the combined add/remove articles (for both
channel and stream terminology) go to the subscribe users to a
channel article.
2025-02-10 15:54:35 -08:00
Alya Abbott
8a0e9b87ad integrations: Update documentation on the Zoom integration.
- Duplicate admin instructions on /integrations (with context).
- Move end user instructions to /help.
2025-02-04 12:41:53 -08:00
Niloth P
636f4f457c integration-docs: Remove context property recommended_channel_name.
The context property was previously being used in the macro
`git-webhook-url-with-branches` which has been removed as it is not in
use any longer.

The context property was now being used only in 2 integration docs, both
of which used it only in a single location, and directly used their own
names as the channel name. Making the context property unnecessary.
2025-01-30 11:59:38 -08:00
Niloth P
8e6d8dc845 integration-docs: Remove macros that are used only in Matrix doc.
Moved the content inside the Matrix doc.
2025-01-30 11:59:38 -08:00
Niloth P
68019cb48d integration-docs: Remove unused macros.
The `append-channel-name` and `append-topic` macros' instructions are
unnecessary as the topic and channel names are now part of the generated
URL.

The `git-webhook-url-branches` macro becomes equivalent to
`git-append-branches` with the auto-generation of the URL.
2025-01-30 11:59:38 -08:00
Niloth P
eb353827b2 integrations: Document Zulip Onyx integration.
The integration with Onyx is via the Zulip Connector of Onyx.
2025-01-30 11:48:11 -08:00