zulip/zerver/views
hackerkid ea39fb2556 Add option for hosting each realm on its own subdomain.
This adds support for running a Zulip production server with each
realm on its own unique subdomain, e.g. https://realm_name.example.com.

This patch includes a ton of important features:
* Configuring the Zulip sesion middleware to issue cookier correctly
  for the subdomains case.
* Throwing an error if the user tries to visit an invalid subdomain.
* Runs a portion of the Casper tests with REALMS_HAVE_SUBDOMAINS
  enabled to test the subdomain signup process.
* Updating our integrations documentation to refer to the current subdomain.
* Enforces that users can only login to the subdomain of their realm
  (but does not restrict the API; that will be tightened in a future commit).

Note that toggling settings.REALMS_HAVE_SUBDOMAINS on a live server is
not supported without manual intervention (the main problem will be
adding "subdomain" values for all the existing realms).

[substantially modified by tabbott as part of merging]
2016-09-27 23:24:14 -07:00
..
webhooks GitLab: Fix minor bytes/text types issue. 2016-09-25 23:29:36 -07:00
__init__.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
alert_words.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
integrations.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
messages.py Remove legacy /api/v1/send_message endpoint. 2016-09-27 14:51:54 -07:00
pointer.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
presence.py Remove json/get_active_statuses endpoint. 2016-09-27 14:33:56 -07:00
push_notifications.py push notifications: Fix very minor quirk when adding tokens. 2016-09-15 06:40:18 -07:00
realm.py Add realm-level default language setting. 2016-08-09 17:38:29 -07:00
realm_emoji.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
report.py Use universal_newlines=True in subprocess.check_output. 2016-07-26 12:06:41 -07:00
streams.py streams: Simplify list_to_streams(). 2016-09-15 10:18:10 -07:00
tutorial.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
upload.py Url encoded name of the file should be an ascii. 2016-09-26 21:13:34 -07:00
user_settings.py Move i18n functions from zerver/views/__init__.py to zerver/lib/i18n.py 2016-08-09 16:10:24 -07:00
users.py Remove unused code path in avatar() endpoint. 2016-07-12 17:37:02 -07:00
zephyr.py Move webathena views to its own file. 2016-08-18 18:26:49 -07:00