Umair Khan
f45848f62f
Install mypy-lang as egg.
...
It seems that --install-option given in any pip requirement
pollutes the pollutes the global space and causes installation
of mypy-lang to give error.
2016-07-13 11:24:18 -07:00
Umair Khan
395e053ce3
Revert "Revert "Extract reply from email.""
...
This reverts commit f1ba3ded42
.
2016-07-13 11:24:18 -07:00
Umair Khan
f15dfc69fb
Make code Python 3 compatible.
...
Make convert_html_to_markdown function Python 3 compatible.
2016-07-13 11:24:18 -07:00
Tim Abbott
34a251adb1
upload: Fix exception uploaded files with unknown content type.
...
It turns out our detected content_type can actually be None, which
meant calling force_text on it broke uploading some files.
2016-07-13 10:57:55 -07:00
Umair Khan
0aae0eab49
Switch to PyAPNS for sending push notifications.
...
Switch to [PyAPNS](https://github.com/djacobs/PyAPNs ).
Fixes #538 .
2016-07-13 10:55:07 -07:00
Umair Khan
636466ff8b
Fix unreliable tests for missed messages.
...
Generate random token using getrandints.
Resolves the proximal issue discussed in #1212 .
2016-07-13 10:51:21 -07:00
Steve Howell
c069c8f1e7
Add test_update_api_key_for_invalid_user().
2016-07-13 07:51:00 -07:00
Steve Howell
aea79517f5
Test bot_owner logic in /json/users
...
This fixes a small gap in our coverage for get_members_backend.
2016-07-12 23:01:56 -07:00
Tim Abbott
af8047967f
Upgrade ujson to latest version (has indent option).
2016-07-12 22:39:06 -07:00
Steve Howell
108ce82571
Add test_api_with_insufficient_permissions().
2016-07-12 22:16:00 -07:00
Steve Howell
cee47e7f82
Add test_api_with_nonexistent_user().
2016-07-12 22:16:00 -07:00
Steve Howell
f43be3bd8f
Add test_updating_non_existent_user().
2016-07-12 22:16:00 -07:00
Tim Abbott
4c8a0340ef
Update requirements docs with LetsEncrypt mention.
2016-07-12 22:15:01 -07:00
Tim Abbott
564d41644d
deactivated: Fix whitespace around before the . end of sentence.
2016-07-12 20:38:49 -07:00
Taranjeet Singh
5971203864
settings: Store uploaded files under var/ in development environment.
2016-07-12 20:33:31 -07:00
Taranjeet Singh
f18f3f4c1a
settings: Move development logs to var/log for development environment.
...
This updates all the paths in ZULIP_PATHS to store logs in the
zulip/var/log directory.
2016-07-12 20:33:31 -07:00
Taranjeet Singh
03384deb86
provision: Create zulip/var/log directory.
...
The purpose of this is to move a lot of the log and other generated
files used by the Zulip development environment into a consistent
hierarchy.
We also need to create this in tools/build-release-tarball as well,
since that runs a development environment out of a temporary
directory.
2016-07-12 20:33:30 -07:00
Rishi Gupta
a3aebb63b7
casper tests: Increase default viewport size.
...
Changed from 1280x768 to 1280x1024 (from 5:3 to 5:4 aspect ratio) to make
failure screenshots more useful.
2016-07-12 19:26:54 -07:00
Tim Abbott
2338421c6d
lint: Add documentation lint check for JavaScript spelling.
2016-07-12 19:22:21 -07:00
Sumana Harihareswara
8257701dc9
Fix formatting & capitalization in testing doc.
2016-07-12 19:14:31 -07:00
Sumana Harihareswara
850d8d1181
Fix formatting, capitalization, & grammar in mypy doc.
2016-07-12 19:14:31 -07:00
Tim Abbott
647cead0d1
slow queries: Include full log line in slow query log.
...
The extra data is useful, and I think this won't make the lines annoying long.
2016-07-12 19:12:49 -07:00
Tim Abbott
305189956b
update_message_flags: Log number of messages updated.
2016-07-12 19:12:49 -07:00
Tim Abbott
4972154df9
setup-production: Improve debugging of build-release-tarball errors.
2016-07-12 19:09:28 -07:00
Tim Abbott
0b7788be6b
Fix indentation in compose.html.
2016-07-12 18:36:02 -07:00
Tim Abbott
d424813687
Fix indentation in deactivated.html.
2016-07-12 18:34:17 -07:00
Tim Abbott
491e98e457
docs: Document the fact that installer is idempotent.
2016-07-12 18:26:44 -07:00
Jeff Fowler
6102110a1b
timerender: Include year in message interstitials.
...
For longer running servers, searching the backlog can become ambiguous
since the date stamps that demarcate the messages only include the month
and day. This commit changes the behavior to include the year for
messages which are more than a year old.
2016-07-12 18:26:42 -07:00
Eklavya Sharma
e28b038f1d
Use assert_in_response by fixing line-wrapping in templates.
2016-07-12 17:52:47 -07:00
Rishi Gupta
235162e000
admin.js: Rename overloaded variable.
...
We were using data for both the request and response data in
$(".administration").on("submit", "form.admin-realm-form".
Left the request data as data to be consistent with the rest of the
file, renamed the response data to response_data.
2016-07-12 17:41:48 -07:00
Steve Howell
3923f94a2b
Remove unused code path in avatar() endpoint.
2016-07-12 17:37:02 -07:00
Steve Howell
3995a5d8eb
Add test coverage for /avatar/<email>
2016-07-12 17:37:02 -07:00
Tomasz Kolek
d0066c37ff
Add bitbucket2 integration.
...
Bitbucket changed the format of their API. The old format is still
useful for BitBucket enterprise, but for the main cloud verison of
Bitbucket, we need a new BitBucket integration supporting the new API.
2016-07-12 17:34:34 -07:00
Tim Abbott
71b3c116bb
local_settings_template: Improve AUTHENTICATION_BACKENDS comments.
2016-07-12 16:19:13 -07:00
Tim Abbott
6301fd22dc
docs: Turn SSO auth documentation into general auth page.
...
Also remove this page from the breadcrumb.
2016-07-12 16:19:13 -07:00
Sumana Harihareswara
6ed73b430a
Change doc links to point to RTD for prod docs.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
260baff4db
Move prod postgres details to separate page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
3a13cf1865
Move prod remote user SSO auth guide to new page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
bfa81a80ad
Move prod maintenance guide to new page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
76fea4f4d4
Move prod customization guide to new page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
07afc9d34b
Move production health check doc to separate page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
ec005726c4
Move prod auth and first login doc to new page.
2016-07-12 15:46:10 -07:00
Sumana Harihareswara
7d092d2cc4
Move production install instructions to new page.
2016-07-12 15:46:09 -07:00
Tim Abbott
a10833f489
Simplify title for production requrements page.
2016-07-12 15:44:48 -07:00
Sumana Harihareswara
3f90f9e29e
Move production installation requirements to separate page.
...
To begin the process of consolidating Zulip documentation on Read
the Docs, the requirements are now their own topic page, and
index.rst links to it.
Fixes : #669 .
2016-07-12 15:43:06 -07:00
Tim Abbott
883e991adf
install: Improve support for non-default puppet rules.
...
Previously, the install script would fail if you passed various
non-default puppet rules, since the code to configure and restart
services that runs later on in the install script largely ran
unconditionally, regardless of whether the relevant service was
actually installed on the target system.
This should make the main install script reusable for installing
e.g. a dedicated Postgres server for use with Zulip.
2016-07-12 14:12:09 -07:00
Tim Abbott
80bf7e32a4
Add option to not create a virtualenv.
2016-07-12 14:12:05 -07:00
Steve Howell
f57a17abdf
Lint-check more Django files for indentation.
...
(This starts to address github ticket #1236.)
2016-07-12 14:08:17 -07:00
Steve Howell
52af46a74b
Fix whitespace in keyboard_shortcuts.html
2016-07-12 14:08:17 -07:00
Eklavya Sharma
c98c3d5f8d
Re-enable some backend tests on python 3.
2016-07-12 14:06:29 -07:00