Commit Graph

6463 Commits

Author SHA1 Message Date
Anders Kaseorg fa91a4493c web: Qualify global uses of location and history.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-06-07 16:10:39 -07:00
Aman Agrawal 371cd0da6c recent_view: Use html as scroll container.
Fixes #17933, #27517

Instead of `recent_view_table`, we make `html` as our scroll container.
This fixes an important bug for us where filters sometimes disappear
due to them scrolling under navbar which is unexpected. Since we are
now using separate containers to display rows and
filter (while includes table headers), where filters use sticky
positioning, this bug will be fixed.
2024-06-07 10:17:10 -07:00
Aman Agrawal 96dee2b987 portico_error_pages: Collect zerver error pages into a folder.
Tested `link_does_not_exist.html`, `404.html` and `unsupported_browser`
pages render correctly.
2024-06-05 09:06:44 -07:00
Aman Agrawal c6c8e831f8 portico_error_page: Apply `error` class to all the error pages.
This helps us control the CSS applied to the elements outside the
content scope of `portico_error_page.html`.
2024-06-04 09:41:34 -07:00
Aman Agrawal b2f0677c25 portico: Remove `container` and `row-fluild` bootstrap classes.
Fixes #28526

* Removed `container` and `row-fluid` class from error pages.
* Use a variable for footer height.
* Made header sticky instead of fixed allowing us to position
  page content without adding arbitrary padding or margin at top.
  Header is around 60px in height, so reduced that much top padding
  or margin.
2024-06-04 09:41:34 -07:00
Aman Agrawal dd70110166 templates: Use a common template for error pages. 2024-06-04 09:41:34 -07:00
Aman Agrawal 27d2b89412 unsupported_browser: Remove not required extra bottom padding. 2024-06-04 09:41:34 -07:00
Lauryn Menard 448b574c65 billing: Update help center links for Cloud or self-hosted.
Updates the links about license management to the help center on
the billing and upgrade pages to go to the section about the type
of license management, and to go to either the Zulip Cloud billing
article or the self-hosted billing article.
2024-06-04 08:49:43 -07:00
Lauryn Menard 2f4bdddd53 upgrade: Simplify logic for descriptive text about license management. 2024-06-04 08:49:43 -07:00
Aman Agrawal bb6e6ecaa5 hello: Redesign landing page.
Co-authored-by: Vlad Korobov <terpimost@gmail.com>
Co-authored-by: Alya Abbott <alya@zulip.com>
2024-06-02 21:45:37 -07:00
Anders Kaseorg e53e3af0f6 codespell: Fix spelling mistakes caught by codespell.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-31 14:32:33 -07:00
Aman Agrawal 3e44765e0b upgrade: Inform customer that fixed price plan will not auto-renew. 2024-05-30 10:49:44 -07:00
Anders Kaseorg 4d8e5b5029 5xx: Fix development server preview of 500 error page.
This can be viewed at http://localhost:9991/webpack/5xx.html on the
development server.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-30 10:49:03 -07:00
Alya Abbott 8f7b111689 portico: Link to sponsorship policies from /for/communities page. 2024-05-30 10:00:37 -07:00
Aman Agrawal 41df20648d templates: Use the same outer HTML structure.
This will be helpful when refactoring them to use a common template.

No visual changes.

Tested by create email confirmation link and then manipulated it to
get to various states. Force rendered the realm_creation_disabled
template instead of link_malformed template to check it.
2024-05-29 09:37:25 -07:00
Vector73 fef31614d3 zerver: Replace occurrences of uri with url in other templates.
This commit replaces occurrences of realm_uri with realm_url in
"context_processors.py" and related templates.

With by-hand translation updates for German (also updated in
Transifex) to avoid breaking the i18n system tests that use some
modified strings.

Co-authored-by: Junyao Chen <junyao.chen@socitydao.org>
2024-05-24 11:18:35 -07:00
Vector73 93262e03ad emails: Replace occurrences of uri with url in email templates.
This commit replaces occurrences of realm_uri with realm_url in email templates
and other related backend files.

Co-authored-by: Junyao Chen <junyao.chen@socitydao.org>
2024-05-24 11:18:35 -07:00
Lauryn Menard 37afad038c support: Add link to stripe customer dashboard.
Adds a link to the stripe customer dashboard if the Customer
object for an active plan has a stripe_customer_id. If there
is no stripe ID to link to, then the icon is shown without
a link, which is the case for remote server/realm sponsorships
and legacy plans.
2024-05-22 11:32:46 -07:00
Lauryn Menard cdacd7929d emails: Update image used in onboarding_zulip_topics.html for channel. 2024-05-21 12:21:53 -07:00
Lauryn Menard 6fc1b7a65a static: Rename images/help/streams-and-topics.png for channel. 2024-05-21 12:21:53 -07:00
Alya Abbott 4179e47578 portico and help: Improve documentation on education pricing. 2024-05-20 14:30:07 -07:00
Alya Abbott 6ca52628ad portico: Mention website previews instead of Tweet previews. 2024-05-17 10:41:58 -07:00
Aman Agrawal 47414d1e4a zerver: Use correct flags to check if this is a self hosted server.
`is_self_hosting_management_page` is used to check if user is
on `selfhosting.ORG_URL` domain which is not what we want for
these pages.
2024-05-16 08:55:51 -07:00
Aman Agrawal 7203661d99 support: Set discounted price instead percentage for customers.
This allows us to set the price of a plan exactly as discussed with
the customer.
2024-05-16 02:18:43 -07:00
Alya Abbott a799441fab portico: Update title/job for quote author. 2024-05-13 16:03:23 -07:00
Alya Abbott 5aeeafd39c portico: Improve message for deactivated, invalid and moved orgs. 2024-05-13 12:44:20 -07:00
Alya Abbott eeaacda4d2 portico: Update /history for 2023. 2024-05-09 12:40:21 -07:00
Vector73 8ab526a25a models: Replace realm.uri with realm.url.
In #23380, we are changing all occurrences of uri with url in order to
follow the latest URL standard. Previous PRs #25038 and #25045 has
replaced the occurences of uri that has no direct relation with realm.

This commit changes just the model property, which has no API
compatibility concerns.
2024-05-08 11:12:43 -07:00
Alya Abbott f7f55192a5 portico: Update features table to reflect current storage policy. 2024-05-08 10:18:27 -07:00
Alya Abbott 4a89b61bbe portico: Tweak quote.
This change has been approved by Kevin.
2024-05-08 09:23:18 -07:00
Prakhar Pratyush 5b3641d92d help: Move 'channels-and-topics' to 'introduction-to-topics'.
Introduction to channel is now moved out as a new article,
the 'channel-and-topics' contains only introduction to topics,
hence renamed.
2024-05-07 16:51:48 -07:00
Alya Abbott 318cb2bfce help: Create an introduction to channels page.
Replaces "Browse and subscribe to channels".

Co-authored-by: Prakhar Pratyush <prakhar@zulip.com>
2024-05-07 16:51:48 -07:00
Alya Abbott 7fc806ef82 help: Consolidate introduction to topics into one article.
Also create dedicated channels and topics sections in sidebar.

Makes 'start a new topic', a section in introduction to topics
page.

Co-authored-by: Prakhar Pratyush <prakhar@zulip.com>
2024-05-07 16:51:48 -07:00
Sayam Samal df693c5cb0 corporate: Rename stream->channel in /help links. 2024-05-07 10:01:47 -07:00
Sayam Samal f0677b6b5c corporate: Rename stream->channel in /for/research docs. 2024-05-07 10:01:47 -07:00
Sayam Samal 9ffc887135 corporate: Rename stream->channel in /for/open-source docs. 2024-05-07 10:01:47 -07:00
Sayam Samal c09643c5fb corporate: Rename stream->channel in /for/communities docs. 2024-05-07 10:01:47 -07:00
Sayam Samal ecfb271a09 corporate: Rename stream->channel in Semsee case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 5f5d4457b9 corporate: Rename stream->channel in Recurse Center case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 0ecd41acee corporate: Rename stream->channel in GUT Contact case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 15e9ac0581 corporate: Rename stream->channel in End Point case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 04a5112d50 corporate: Rename stream->channel in Atolio case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 3728d690d4 corporate: Rename stream->channel in Asciidoctor case study. 2024-05-07 10:01:47 -07:00
Sayam Samal 09f1487bfe corporate: Rename stream->channel in TUM case study. 2024-05-07 10:01:47 -07:00
Sayam Samal a660c66aa4 corporate: Rename stream->channel in terms and privacy policies. 2024-05-07 10:01:47 -07:00
Sayam Samal cd6d76500c corporate: Rename stream->channel for basic instances.
This renames the term "stream" to "channel" in /templates/corporate
for the basic instances, where the term does not interfere with the
quotes and links.
2024-05-07 10:01:47 -07:00
Prakhar Pratyush 6fb43c2f89 help: Update section header in '/development-community' for channel.
This commit updates the term 'stream' to 'channel' in the
section header 'Streams for Zulip users and administrators',
in /development-community'.

Also, references to this section has been updated.
2024-05-06 11:18:45 -07:00
Mateusz Mandera 3c4ab345d0 webhooks: Rename append-stream-name.md->append-channel-name.md. 2024-05-06 09:07:57 -07:00
Mateusz Mandera a119160da3 webhooks: Rename recommended_stream_name->recommended_channel_name. 2024-05-06 09:07:57 -07:00
Mateusz Mandera 5c9f3cd08c webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00