• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip / 5402
3%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2016 06:31AM UTC
Jobs 6
Files 203
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5402

push

travis-ci

timabbott
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]

193 of 193 new or added lines in 14 files covered. (100.0%)

19946 of 22840 relevant lines covered (87.33%)

1.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
zerver/tests/test_signup.py
2
100.0
zerver/lib/utils.py
2
100.0
zerver/middleware.py
2
100.0
zerver/models.py
2
100.0
zerver/views/integrations.py
5
100.0
zerver/forms.py
7
100.0
zerver/views/__init__.py
7
100.0
zproject/backends.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
zproject/backends.py
2
100.0
zerver/views/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 5402.1 (TEST_SUITE=frontend) 28 Sep 2016 06:31AM UTC 0
Travis Job 5402.1
2 5402.2 (TEST_SUITE=frontend) 28 Sep 2016 06:31AM UTC 0
Travis Job 5402.2
3 5402.3 (TEST_SUITE=backend) 28 Sep 2016 06:31AM UTC 0
87.31
Travis Job 5402.3
4 5402.4 (TEST_SUITE=backend) 28 Sep 2016 06:31AM UTC 0
87.32
Travis Job 5402.4
5 5402.5 (TEST_SUITE=static-analysis) 28 Sep 2016 06:31AM UTC 0
Travis Job 5402.5
6 5402.6 (TEST_SUITE=production) 28 Sep 2016 06:38AM UTC 0
Travis Job 5402.6
Source Files on build 5402
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5402
  • ea39fb25 on github
  • Prev Build on master (#5400)
  • Next Build on master (#5403)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc