Ashish
8fc8717409
Replace json/set_alert_words with REST style route.
2016-04-11 21:38:22 -07:00
Ashish
41993ef2f5
Replace /json/update_message_flags with REST style route.
2016-04-11 21:38:22 -07:00
Ashish
dac4e58b91
Changes REST API backend route for /json/change_enter_sends.
2016-04-11 21:11:51 -07:00
Tim Abbott
73f2d67ba1
Document how to configure Vagrant LXC with passwordless sudo.
2016-04-10 17:37:52 -07:00
Tim Abbott
7d64bd51f5
provision: Don't install recursive pip dependencies.
...
This should prevent future issues like the wrong cryptography module
being in requirements.txt.
2016-04-10 17:37:52 -07:00
Tim Abbott
00a92b5827
Add missing requests_oauthlib dependency.
2016-04-10 17:37:52 -07:00
Tim Abbott
b29cb1dfb8
provision: Remove now-unnecessary patching of PATH.
2016-04-10 17:37:52 -07:00
Tim Abbott
6de15606f9
provision: Add preliminary support for Ubuntu Xenial.
...
This won't actually work because we don't have a tsearch_extras
package built for postgres 9.5.
2016-04-10 17:37:52 -07:00
Tim Abbott
f6a7b192a4
requirements: Upgrade cffi and cryptography libs in development.
...
The older versions apparently don't build on Ubuntu Xenial.
2016-04-10 17:37:52 -07:00
Tim Abbott
3c74bf000f
provision: Add installing recent npm to provisioning process.
...
This fixes a problem where the version of NPM installed in development
environments was too old.
2016-04-10 17:37:43 -07:00
Tim Abbott
5733c32705
Fix install-phantomjs being called before chdir to ZULIP_PATH.
2016-04-10 17:33:37 -07:00
Tim Abbott
52fc1c71bc
provision: Rewrite using subprocess module instead of sh.
...
The `with sh.sudo` pattern that we were using in python-sh was
deprecated, and emperically hangs on Ubuntu xenial. Since in general
the use of python-sh/python-pbs caused trouble (requiring extra
dependencies, confusing syntax), this just removes it.
We replace it with a new zulip_tools.py library function that echoes
the command line and streams the output.
We do the same to install-phantomjs so we can remove that dependency.
2016-04-10 17:33:19 -07:00
Vishnu Ks
2ac5271091
Move global variable have_scrolled_away_from_top to ui.js.
2016-04-10 10:55:16 -07:00
Tim Abbott
fcced9561d
provision: Add dependency on ipython.
...
ipython dramatically improves the experience of `manage.py shell`.
2016-04-09 10:23:13 -07:00
Kumar
4eced69228
Make subscriptions page error bar visible even when scrolled down.
...
Previously, the Zulip subscriptions page's error bar would always be
at the very top of the scrollable view, and thus would likely be out
of view when an error happened. This fixes it by having the error bar
always placed below the search box (and thus visible regardless of
where in the scrollable streams view we are).
Fixes : #515 .
[commit message and comments expanded by tabbott]
2016-04-08 21:04:43 -07:00
Tim Abbott
9584ae1ab8
Add CSS linter for missing space after : in rules.
2016-04-08 21:04:43 -07:00
Tim Abbott
f4bd35678e
Fix missing whitespace after :s in CSS.
2016-04-08 21:04:43 -07:00
Tim Abbott
64e527ff34
Fix ordering of documentation blocks in /integrations.html.
2016-04-08 20:29:45 -07:00
Anindya Chakravarti
efb7c902de
Correct alphabetical order of integrations page.
2016-04-08 20:26:47 -07:00
Tim Abbott
b61d73fc93
Delete unused old StreamColor model.
2016-04-08 13:06:04 -07:00
Tim Abbott
877b4af24a
Replace platform.codename and friends with lsb_release.
...
The old code was producing incorrect output of "debian" as the release
on Travis CI's Ubuntu Trusty nodes.
2016-04-08 12:35:08 -07:00
Tim Abbott
6969c26dfa
provision: Fix hardcoding of trusty codename.
2016-04-08 12:17:45 -07:00
Tim Abbott
64973fc4e6
provision: Refactor postgres version to be a variable.
2016-04-08 12:17:45 -07:00
Tim Abbott
7fe9a6b74b
provision: check arch and codename earlier in setup process.
2016-04-08 12:17:45 -07:00
Tim Abbott
7dd9e93f9b
provision: Exit with an error with unsupported platform.
2016-04-08 12:17:45 -07:00
Tim Abbott
5d13d62057
provision: simplify logging configuration.
2016-04-08 12:17:45 -07:00
Tim Abbott
fc4e8730f3
provision: Compute ZULIP_PATH dynamically.
2016-04-08 12:17:45 -07:00
Aristeidis Fkiaras
0058ccbdb0
Move global unread_messages_read_in_narrow to unread.js.
2016-04-08 12:11:47 -07:00
Tim Abbott
209e6ef7a1
Run trailing whitespace linter on bash files.
2016-04-08 11:52:11 -07:00
Tim Abbott
caba24b2af
Fix existing trailing whitespace in bash scripts.
2016-04-08 11:52:11 -07:00
Tim Abbott
4fa63c29ca
Run whitespace linters on html files.
2016-04-08 11:52:11 -07:00
Tim Abbott
ba30713078
Fix whitespace linting errors in html files.
2016-04-08 11:52:11 -07:00
Tim Abbott
d670e902a9
Run whitespace linters on handlebars templates.
2016-04-08 11:52:11 -07:00
Tim Abbott
88b0c12193
Fix whitespace linting errors in handlebars templates.
2016-04-08 11:52:11 -07:00
Tim Abbott
c6d01ab76b
Run whitespace linters on CSS files.
2016-04-08 11:47:10 -07:00
Tim Abbott
1b84617771
Don't skip running python custom linters inside comments.
...
This fixes an issue where we weren't checking for trailing whitespace
in comments.
2016-04-08 11:47:10 -07:00
Tim Abbott
14b5e265c2
Remove unuseful suspicious code lint check.
2016-04-08 11:47:10 -07:00
Ashish
9cfa7d5765
Annotation of zerver/lib/handlers.py.
2016-04-08 11:18:36 -07:00
Ashish
86a8d3d0f5
Annotation of zerver/lib/rate_limiter.py
2016-04-08 11:18:36 -07:00
Ashish
2f8c717e52
List to tuple conversion for consistency in user rules zerver/lib/rate_limiter.py.
2016-04-08 11:18:35 -07:00
Ashish
8abca4f319
Annotation of zerver/lib/migrate.py
2016-04-08 11:18:35 -07:00
Ashish
038af80889
Annotation of zerver/lib/statistics.py
2016-04-08 11:11:58 -07:00
Ashish
2cf8731444
Annotation of zerver/lib/alert_words.py
2016-04-08 11:11:58 -07:00
Anindya Chakravarti
f3d03d89b4
Add integration for Yo App.
...
[includes some small tweaks by tabbott]
2016-04-08 11:02:10 -07:00
Tomasz Kolek
44ed9da7f0
Add pingdom integration.
2016-04-08 10:36:29 -07:00
Vishnu Ks
fe77559164
Fix broken link to Google Play store badge.
2016-04-08 08:37:17 -07:00
Tim Abbott
efd14e7ad9
Revert "Exclude 'from typing import *' from linter."
...
This reverts commit d936bf61f9
.
We no longer need this since we've migrated to specifying the
dependencies in the typing module that we're actually using.
2016-04-07 14:12:18 -07:00
Tim Abbott
a1b306f9ce
Finish purging 'fromt typing import *' from Zulip codebase.
2016-04-07 14:11:21 -07:00
Varshit
4e1060076d
Purge 'from typing import *' from zerver/.
...
This is a partial implementation of #636 .
2016-04-07 14:07:07 -07:00
Eklavya Sharma
5f03c1444e
Remove duplicate module zerver/views/webhooks.py.
...
Also move type annotations from zerver/views/webhooks.py to
appropriate files in zerver/views/webhooks.py.
2016-04-07 12:37:22 +05:30