Steve Howell
241b03e427
Add --force option to run-casper.
2016-10-16 14:52:15 -07:00
Steve Howell
6e628e23aa
Add --force option to test-backend.
2016-10-16 14:52:14 -07:00
Steve Howell
f48c5e55dc
Check provisioning status in run-casper.
2016-10-16 14:52:14 -07:00
Steve Howell
10667b3cdb
Check provisioning status in tools/test-backend.
2016-10-16 14:52:14 -07:00
Steve Howell
8bc027e71b
Add tools/lib/test_script.py w/get_provisioning_status().
2016-10-16 14:52:13 -07:00
Steve Howell
37842d5d15
Have provision.py write to var/provision_version.
2016-10-16 14:44:45 -07:00
Steve Howell
e25f93fa8a
Add PROVISION_VERSION to version.py.
2016-10-16 14:44:45 -07:00
Steve Howell
f0b8f741b9
contrib_bots: Simulate a file system with a bot.
2016-10-16 14:41:24 -07:00
Steve Howell
ff5a2b21d0
Add StateHandler to contrib_bots/run.py.
...
This allows bots to be stateful. It doesn't handle persistence
after the bot shuts down, but it does store state between
invocations of handle_message.
2016-10-16 14:41:24 -07:00
Tim Abbott
258dd28fcc
03-narrow: Test the 'topic:' narrowing syntax.
...
This being a very old test, it had previously only really tested the
(deprecated) 'subject:' syntax.
2016-10-16 14:10:18 -07:00
Tim Abbott
8f71d3702b
filter: Add missing canonicalization to operator_to_prefix.
...
This makes it possible to reuse this function for validating whether a
given search operator is valid.
2016-10-16 14:06:55 -07:00
Tim Abbott
a28a5bb977
docs: Update roadmap HTML with now-completed issues.
2016-10-16 13:09:28 -07:00
Tim Abbott
df617225fd
lint-all: Check for untranslated placeholders in handlebars templates.
2016-10-16 12:59:41 -07:00
trueskawka
aa7fd9a07c
stream_creation: Add a clear error message for duplicate streams.
...
User is now unable to create a stream with duplicate or empty name
through the create stream modal. An appropriate error message appears
on attempt.
2016-10-16 12:59:41 -07:00
trueskawka
9c8f4d9a1e
stream_filtering: Filter streams on subscriptions page.
...
Filter behaves similarly to filter in left sidebar, see PR #684 . Added
stream input field to the stream creation modal along with other settings,
for clarity.
Fixes #455 , #563 .
2016-10-16 12:59:41 -07:00
deekshaarul
357fbfcaa3
Zocial buttons: Fix overflow of text when internationalized.
...
Previously, the text in the Google/GitHub auth buttons would overflow
in languages like German where text is longer than in English.
Fixes #1876 .
2016-10-16 12:35:43 -07:00
Sumana Harihareswara
a4ac09cb8f
Clarify comment on empty json_rules list.
...
Fixes : #2030 .
2016-10-16 12:28:16 -07:00
Sumana Harihareswara
bef73be824
lint: Improve documentation lint check for JavaScript capitalization.
...
Move JavaScript capitalization rule to new ruleset for HTML and
Markdown checkers to run, and add exclusion to avoid catching
URLs and divs/hrefs. Also fix affected HTML pages, and remove
now-obsolete exclusion for doc that no longer exists.
For exhaustive thought-process on this change see:
https://zulip.tabbott.net/#narrow/stream/test.20suites/topic/watch.20over.20my.20shoulder.20as.20I.20improve.20the.20linter
2016-10-16 12:28:16 -07:00
Tim Abbott
2bea0c46fe
HomeTest: Add a basic test for desktop_home.
2016-10-16 11:39:08 -07:00
Tim Abbott
3ee9e2c45f
tests: Add some basic i18n public URL tests.
2016-10-16 11:26:01 -07:00
Tim Abbott
122164fffb
DocPageTest: add test for /about/ page.
2016-10-16 11:19:27 -07:00
Mohsen Ibrahim
ca1789892d
api: Fix broken link to zulip-js github page.
2016-10-16 01:42:30 -07:00
Tim Abbott
fc20c86d8d
install: Move apt-get update into setup-apt-repo.
2016-10-16 01:13:50 -07:00
Tim Abbott
cf6feac65f
provision: Remove unnecessary second apt-get update.
...
Since we do this slightly later (after setting up our apt repository,
where it's actually required), there's no need to do this here.
2016-10-16 01:13:50 -07:00
Tim Abbott
e91f227c0b
requirements: Update python-social dependency.
...
Also, fix the use of `>=` in the version declarations; we want to be
precise about what versions we're installing.
2016-10-16 01:13:50 -07:00
Tim Abbott
14e2540b2f
requirements: Upgrade a bunch of dependencies.
...
These are all minor version upgrades that should be safe.
2016-10-16 01:13:50 -07:00
Tim Abbott
ec9dcd7fb4
Upgrade mypy to version 0.4.5.
...
Now that 0.4.5 is out, we no longer need to use a forked version of mypy.
2016-10-16 01:10:43 -07:00
Tim Abbott
fcde846b58
setup_venv: Fix handling of Git requirements.
...
get_package_names did not correctly strip the GitHub URLs from package
names, resulting in the "package names" for our dependencies installed
from Git being tracked with the complete sha1sum included in the name.
This meant that upgrading our virtualenvs incorrectly ended up
resorting to creating an entirely new virtualenv whenever we changed a
dependency that had previously been installed from GitHub URLs.
2016-10-16 01:10:43 -07:00
Tim Abbott
e37b6488b8
Bugdown: Remove checked-in CodeHilite extension.
...
The changes that required us to fork this extension had been merged
into upstream CodeHilite, so we can remove it and switch to using the
version that comes with python-markdown.
2016-10-16 00:40:08 -07:00
umkay
c028815385
bugdown: Update python-markdown to version 2.6.7.
...
This updates Bugdown to reflect the changes in the updated
markdown. In particular, we now pass a default config object in the
__init__ for the Bugdown extension, update the make_md_engine function
to take kwargs as opposed to a config list, and have UListProcessor
inherit from ulist as opposed to olist (which no longer works).
We update the (forked from upstream) fenced_code extension's
makeExtension to take args and kwargs, and update
FencedBlockPreprocessor __init__ method with updated Codehilite
arguments.
We update the (forked from upstream) Codehilite extension to
mirror the logic with the latest upstream Codehilite:
Add parse_hl_lines function
update makeExtension to take args and kwarfs instead of config
list
Add regex for highlight lines
use linenums instead of linenos
use get_formatter_by_name instead of HtmlFormatter
user get_lexer_by_name instead of TextLexer
add hl_lines and use_pygments arguments to the codehlite
constructor
2016-10-15 23:38:32 -07:00
Tim Abbott
217212b773
run-mypy: Use the experimental new mypy cache.
...
This makes iteratively running mypy approximately 5x faster.
Fixes #1981 .
2016-10-15 22:57:11 -07:00
Tim Abbott
9e503f2dcf
run-mypy: Check scripts by default.
...
Previously, we checked scripts in a separate run to work around mypy
not supporting multiple scripts with the same name. Since we have
fixed that issue, we can restore the original behavior.
We leave the --scripts-only option available, though I'm not sure it's
particularly useful and we'll probably eventually remove it.
2016-10-15 22:53:29 -07:00
Tim Abbott
4dbdf7e373
run-mypy: Consolidate exclude lists.
2016-10-15 22:53:29 -07:00
Tim Abbott
67e9f35f6f
run-mypy: Use new --scripts-are-modules argument.
...
This allows us to check all the Zulip scripts in just 3s, rather than
inefficiently looping through all the Zulip scripts.
2016-10-15 22:53:29 -07:00
Tim Abbott
1a751af148
run-mypy: Exclude puppet/zulip_internal.
2016-10-15 22:53:29 -07:00
Tim Abbott
2e50dce9dd
check_queue_worker_errors: Don't import zproject.settings directly.
2016-10-15 22:53:28 -07:00
Tim Abbott
7c16172f9e
node_cache: Fix buggy annotations for stdout/stderr.
2016-10-15 22:53:28 -07:00
Tim Abbott
913d913c90
puppet: Annotate Nagios plugins.
2016-10-15 22:44:15 -07:00
Tim Abbott
458e455b75
Annotate process_fts_updates.
2016-10-15 22:44:15 -07:00
Tim Abbott
37722fa650
Annotate remaining scripts.
2016-10-15 22:36:10 -07:00
Tim Abbott
400e3b7dba
Annotate API scripts.
2016-10-15 22:36:10 -07:00
Tim Abbott
172809d4e2
Annotate the rest of scripts in tools/.
2016-10-15 22:36:10 -07:00
Tim Abbott
75daba345a
Finish annotating test-backend.
2016-10-15 22:36:10 -07:00
Tim Abbott
58a8934a86
tools: Remove unused post-receive script.
2016-10-15 22:36:10 -07:00
Tim Abbott
1a2b593a7c
tools: Remove now-unused update-deployment symlink.
2016-10-15 22:36:10 -07:00
Tim Abbott
0c5f419be0
Annotate test-queue-worker-reload.
2016-10-15 22:36:10 -07:00
Steve Howell
a85f9a951a
subscriptions: Remove spurious error handling.
...
Remove error handling in stream_data.add_subscriber() that no
longer makes sense in a world where we track streams that we
are not yet subscribed to.
2016-10-15 21:36:38 -07:00
Steve Howell
6a6f45f525
streams: Handle stream/create event.
2016-10-15 21:36:38 -07:00
Steve Howell
dca5a3354e
Extract stream_data.create_sub_from_server_data().
2016-10-15 21:36:38 -07:00
Brock Whittaker
baa5de5230
Increase default emoji box size.
...
Set the default emoji box size height to 140px rather than 60px, so
you can see more than one row of text.
2016-10-15 12:29:05 -07:00