zulip/zerver
Eeshan Garg 50a6887d94 plans_page: Compute sponsorship link for subdomain pages correctly.
Currently, in the FAQ on our /plans page, when the user clicks on
the sponsorship link in the answer for the first question, they
are always taken to /accounts/go, causing them to have to input
their organization URL even if they are on a subdomain page.

This commit makes it so that when the user is on a subdomain page,
they are taken to /upgrade#sponsorship directly. On the other
hand, when they are on a root domain (/) page, they have to go
through /accounts/go and specify their organization's name.
2021-06-10 09:10:38 -07:00
..
data_import data_import: Protect better against bad Slack tokens. 2021-05-27 22:46:58 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
management python: Simplify stdio flushing using print(…, flush=True). 2021-06-09 14:05:31 -07:00
migrations python: Simplify stdio flushing using print(…, flush=True). 2021-06-09 14:05:31 -07:00
openapi openapi: Enhance markdown extension for responses. 2021-06-09 12:43:12 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests plans_page: Compute sponsorship link for subdomain pages correctly. 2021-06-10 09:10:38 -07:00
tornado muting: Don't enqueue notifications for messages from muted senders. 2021-06-08 14:58:14 -07:00
views plans_page: Compute sponsorship link for subdomain pages correctly. 2021-06-10 09:10:38 -07:00
webhooks integrations: Add V3 support for PagerDuty. 2021-06-09 16:34:34 -07:00
worker queue_processors: Log more detailed info when marking messages as read. 2021-05-26 11:17:21 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py page_params: Remove duplicate debug_mode field. 2021-05-20 14:57:34 -07:00
decorator.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
models.py settings: Make `MAX_MESSAGE_LENGTH` a server-level setting. 2021-06-03 09:26:28 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00