Commit Graph

6747 Commits

Author SHA1 Message Date
Alya Abbott
18921ae79c portico: Add job posting for go-to-market leader. 2025-03-19 23:58: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
Alya Abbott
0c55b0f6ac corporate: Post a designer job.
Also update some surrounding context.
2025-03-14 17:01:03 -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
Vector73
158fd58cde settings: Add "can_manage_billing_group" realm setting.
Added "can_manage_billing_group" realm group permission setting
to control who can manage billing and plans in the organization.

Fixes #32745.
2025-03-10 09:36:30 -07:00
Alya Abbott
931dc92f93 help: Split out call provider config into separate page. 2025-03-06 13:31:13 -08: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
Alya Abbott
a9a73f6f10 portico: Add Changelog interview to history page. 2025-03-06 13:24:51 -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
Alya Abbott
c4c91d295f portico: Update features table. 2025-03-04 17:51:12 -08:00
Alya Abbott
eb1cc50e65 help: Document new "who can subscribe" channel setting.
Also clean up link labels for "who can subscribe other users".
2025-02-27 13:27:44 -08:00
Lauryn Menard
5e7f9ccb0b help: Update links for information about users to new intro article.
Updates "help/manage-a-user" links that are contextually for general
information about users to go to the new "help/introduction-to-users"
article.

Adds a link to "Manage a user" in the related articles section of
the new intro to users article.
2025-02-26 13:22:12 -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
Alya Abbott
e22c786d4b portico: Make community norms section easier to follow.
- More clear subsection structure and headings.
- Bold to highlight key points.
- Tighten wording of individual points.
- Link to more resources.
2025-02-13 16:12:50 -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
Alya Abbott
8f7c968408 help: Update self-hosted billing instructions.
Remove most references to Server 8.0 (not relevant for new installs).
2025-02-12 09:41:20 -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
Sayam Samal
028e9dc58a banners: Redesign desktop notifications navbar banner.
As part of the banner redesign project, this commit applies the new
banner styles to the desktop notifications navbar banner.

This commit also acts as a base for the following banner redesign
commits by defining the `banners.ts` module, which now acts as the
centralized module to handle the banner rendering and sets up the
common event listeners.
2025-01-30 10:17:39 -08:00
Alya Abbott
bf22ac9763 help: Update doc on linking to channels and topics within Zulip. 2025-01-30 09:23:50 -08:00
Aman Agrawal
9f71f4578b portico: Replace "Find accounts" link with "Log in".
Fixes #32199

We only need a log in button since that will take users to
"/accounts/go" if we are on a non-realm specific URL.

"/accounts/go" already has link to go to "Find accounts" page.
2025-01-24 14:55:47 -08:00
Aman Agrawal
b549562a4d sponsorship: Ask user how they plan to use Zulip.
This will help avoid some back-and-forth on sponsorship requests.
2025-01-22 09:22:52 -08:00
Lauryn Menard
10b2e2a092 support: Update support view PlanData to use "complimentary access".
Prep for implementing a complimentary access plan for Zulip Cloud.
2025-01-21 15:40:27 -08:00
Lauryn Menard
8d638363da corporate: Update self-hosted complimentary access plan name.
Updates the name for the self-hosted complimentary access plan
to "Zulip Basic (complimentary)" instead of "Free (legacy plan)".

Since these plans are never billed in Stripe, we don't need to
hold to the 22 character limit for the plan name.
2025-01-21 15:40:27 -08:00
Lauryn Menard
bc20a0f086 support: Update "temporary courtesy" to "complimentary access".
Updates support actions for "temporary courtesy" plans to instead
use "complimentary access" to refer to these plans and actions.

Prep for implementing a complimentary access plan for Zulip Cloud.
2025-01-21 15:40:27 -08:00
Lauryn Menard
9fdaa9de0c portico: Fix logic for scheduled upgrade context variables.
Renames context variables used for the pricing model template for
when the customer has a current plan that has an upgrade to a new
plan tier scheduled.

Fixes the "Upgrade scheduled" note that was being shown when an
annual fixed-price plan has a subsequent fixed-price plan scheduled
to start when the current plan ends.

Prep for adding a complimentary access plan for Zulip Cloud.
2025-01-21 15:39:13 -08:00
Lauryn Menard
522ca946cf templates: Use h2 elements instead of label elements on billing page.
The majority of the label elements on the billing page are not
associated with a form element and function more as section headers.

Also removes the padding/margin 25px rules for these so that the
rendered page is less fragile to cases where content could overlap,
such as when there was no text before the next expected charge h1
element.
2025-01-21 15:21:15 -08:00
Lauryn Menard
f936a8592b templates: Removed unneeded for attributes on label elements.
The for attribute for a label element is only used to associate it
with a form  control. Removes the for attribute and any related
div element id attributes that were not being used.
2025-01-21 15:21:15 -08:00
Lauryn Menard
ab4d2be36c templates: Remove classes from label elements in billing.html.
Some of the label elements had no class attributes set in the
template, and all of them were being rendered the same in the
billing page. Therefore the "inline-block" and "label-title"
classes can be removed without any visual changes to the page.
2025-01-21 15:21:15 -08:00
Aman Agrawal
b870faec5a stripe: Require 10 minimum licenses for cloud plus plan. 2025-01-16 11:32:03 -08:00
Sayam Samal
75dabca291 showroom: Rename dev/design-testing -> showroom. 2025-01-13 17:46:15 -08:00
Sayam Samal
6c16adc9d8 showroom: Standardize "showroom" name for UI components testing pages.
This commit standardizes the naming convention to be used for the UI
components being used in the `/devtools/` storybook-like pages for
testing the UI components.
2025-01-13 17:46:15 -08:00
Sayam Samal
6dabfa02cb banners: Add new redesigned banner component.
This commit adds the redesigned banner component to the codebase along
with a storybook-style page in /devtools/banners to view and test the
redesigned banner component.

Any banner using the new redesigned styles, requires two classes,
- First, the base `banner` class which defines the structure and
    behavior of the banner.
- Second, a modifier class like `banner-info` which defines the styles
    for the particular banner type.

The navbar alert banners also have a custom class `navbar-alert-banner`
which is used to define the specific style and structure for these
banner types.

This commit also makes the `banner`, `action-button` and `icon-button`
components into handlebar templates to maintain consistency in their
usage in the codebase.
2025-01-13 17:46:13 -08:00
Maneesh Shukla
16188400f7 password: Add password limit inidcator to form.
Fixes: #27922.
2025-01-13 11:53:40 -08:00
Alya Abbott
126d76db50 help and policies: Reorganize GDPR compliance documentation.
Also add reference links.
2025-01-12 08:13:13 -08:00