Rishi Gupta
9e5325a164
Add /stats page with basic stats graph.
...
Adds a new url route and a new json endpoint.
2016-12-29 14:20:13 -08:00
Igor Tokarev
f154a3b742
tests: Improve test coverage of templates.
...
Addresses part of #1677 .
2016-12-14 13:08:33 -08:00
Tim Abbott
5e0d2c4e1b
tests: Exclude markdown files from shallow template testing.
...
The markdown files under templates/zerver/help/ are technically not
templates in the standard sense, and thus should not be being
checked with this code path.
(We probably do want to add a test to make sure they all render fine,
but that can be its own project.)
2016-12-01 10:12:38 -08:00
Joy Chen
2784a3e27f
docs: Add user guide for Uploading and Sharing Files.
2016-11-30 22:30:56 -08:00
AZtheAsian
3c0ea4da6f
docs: Add user guide for *mention a team member*.
2016-11-30 19:41:49 -08:00
Tim Abbott
308069d828
test_templates: Fix missing hubot_lozenges_dict.
2016-11-26 16:19:35 -08:00
Calvin Lee
7a3ef2b0eb
tests: Add assert_in_success_response in ZulipTestCase.
...
Clean up the instances of self.assertIn("string", result.content.decode("utf-8")),
and replace them with self.assert_in_response("string").
Fixes : #2313
2016-11-26 14:52:44 -08:00
paxapy
012ec2beda
test-backend: Use a fixed whitelist of shallow-tested templates.
...
This enforces the requirement that all templates not on this list are
tested. Part of #1677 .
2016-11-17 11:34:50 -08:00
sinwar
4582a98c09
tests: Split out ZulipTestCase and WebhookTestCase to a separate file.
...
Fixes #1671 .
2016-11-10 19:29:43 -08:00
Tim Abbott
08043ff9a0
render_markdown_path: Add anchors for table-of-contents.
2016-11-09 21:39:55 -08:00
Tim Abbott
cf2007d4e0
docs: Add a simple markdown-based help center.
...
The plan is to use this for adding user documentation to Zulip.
2016-11-09 21:39:55 -08:00
Tim Abbott
e3affe96a5
subdomains: Use subdomain host in password reset emails.
2016-08-22 22:39:52 -07:00
Steve Howell
fd6ee7117f
tests: Renamed AuthedTestCase to ZulipTestCase.
2016-08-22 19:07:44 -07:00
Tim Abbott
42b63f5caa
test_templates: Fix failure to report a user-facing error.
2016-08-09 09:54:44 -07:00
Tim Abbott
f3365f4089
test_templates: Add integrations_dict to context.
...
This fixes the fact that this test was (silently) failing.
2016-08-09 09:54:36 -07:00
Tim Abbott
f7083b4079
test_templates: Fix Python 3 compatibility.
2016-07-29 21:11:27 -07:00
acrefoot
b7ccf64c79
Move Zulip's TOS to TERMS_OF_SERVICE markdown file.
...
This reimplements zulip.com/terms using the new markdown system.
2016-07-29 20:47:42 -07:00
acrefoot
e568dbc76f
Add TERMS_OF_SERVICE setting.
...
This new setting allows the server administrator to add a custom
Terms of Service page by supplying the path to a markdown file.
Also adds a test.
2016-07-29 20:47:31 -07:00
Tim Abbott
6fba0879a4
Annotate much of the rest of zerver/tests.
2016-06-04 11:53:20 -07:00
Umair Khan
9a57176ad6
Do shallow testing of backend templates.
...
Just render the templates without the actual workflow to see if they
don't return a 500 error; this lets us catch various classes of
template bugs automatically.
Fixes #784 .
2016-05-31 05:42:17 -07:00