zulip/zerver/views
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
..
development docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
__init__.py
alert_words.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
archive.py archive: Use access_web_public_stream helper. 2021-04-14 12:37:34 -07:00
attachments.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
auth.py auth: Implement a generic OpenID Connect backend. 2021-05-28 09:43:06 -07:00
compatibility.py compatibility: Shift functions to new module. 2021-06-05 07:33:25 -07:00
custom_profile_fields.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
digest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
documentation.py docs: Deemphasize Hubot as an integration bridge. 2021-06-09 14:04:01 -07:00
drafts.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
email_mirror.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
events_register.py mypy: Don’t use Iterable for values iterated multiple times. 2021-04-29 16:06:17 -07:00
home.py compatibility: Shift functions to new module. 2021-06-05 07:33:25 -07:00
hotspots.py api: Fix encoding of strings in hotspot endpoint. 2021-05-07 11:45:25 -07:00
invite.py invites: Allow user to be invited as a moderator. 2021-04-30 15:57:09 -07:00
message_edit.py message delete: Select Message FOR UPDATE when archiving. 2021-06-04 08:18:17 -07:00
message_fetch.py docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
message_flags.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
message_send.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
muting.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
portico.py plans_page: Compute sponsorship link for subdomain pages correctly. 2021-06-10 09:10:38 -07:00
presence.py docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
push_notifications.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
reactions.py reactions: Select Message FOR UPDATE when adding/removing. 2021-06-04 08:18:17 -07:00
realm.py settings: Add new setting for controlling who can move msgs to stream. 2021-04-16 15:10:39 -07:00
realm_domains.py api: Fix encoding of strings in realm domain endpoint. 2021-05-07 14:06:54 -07:00
realm_emoji.py settings: Rename MAX_EMOJI_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_export.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_icon.py settings: Rename MAX_ICON_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_linkifiers.py linkifiers: Add an API to support the editing of linkifier. 2021-04-19 18:01:45 -07:00
realm_logo.py settings: Rename MAX_LOGO_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_playgrounds.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
registration.py billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
report.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
storage.py storage: Fix get_storage and remove_storage with empty keys list. 2021-04-13 08:53:03 -07:00
streams.py message delete: Select Message FOR UPDATE when archiving. 2021-06-04 08:18:17 -07:00
submessage.py submessage: Select Message FOR UPDATE when creating. 2021-06-04 08:18:17 -07:00
thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
tutorial.py api: Fix encoding of strings in tutorial endpoint. 2021-05-07 14:06:54 -07:00
typing.py typing: Support sending stream/topic typing status. 2021-04-27 20:52:21 -07:00
unsubscribe.py unsubscribe: Configure as csrf_exempt. 2021-04-28 15:33:32 -07:00
upload.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_groups.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_settings.py settings: Rename MAX_AVATAR_FILE_SIZE. 2021-06-02 13:55:15 -07:00
users.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
video_calls.py api: Fix encoding of strings in video calls endpoint. 2021-05-07 14:11:48 -07:00
zephyr.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00