zulip/tools
Steve Howell 0bdc9fef5c Upgrade caspersjs to version 1.1.3. (w/acrefoot)
(Most of this work was done by acrefoot in an earlier branch.
I took over the branch to fix casper tests that were broken during
the upgrade (which were fixed in a different commit).  I also
made most of the changes to run-casper.)

This also upgrades phantomjs to 2.1.7.

The huge structural change here is that we no longer vendor casperjs
or download phantomjs with our own script.  Instead, we just use
casperjs and phantomjs from npm, via package.json.

Another thing that we do now is run casperjs tests individually, so
that we don't get strange test flakes from test interactions.  (Tests
can still influence each other in terms of changing data, since we
don't yet have code to clear the test database in between tests.)

A lot of this diff is just removing files and obsolete configurations.

The main new piece is in package.json, which causes npm to install the
new version.

Also, run-casper now runs files individually, as mentioned above.

We had vendored casperjs in the past.  I didn't bring over any of our
changes.  Some of the changes were performance-related (primarily
5fd58cf249), so the upgraded version may
be slower in some instances.  (I didn't do much measurement of that,
since most of our slowness when running tests is about the setup
environment, not casper itself.)  Any bug fixes that we may have
implemented in the past were either magically fixed by changes to
casper itself or by improvements we have made in the tests themselves
over the years.

Tim tested the Casper suite on his machine and running the full Casper
test suite is faster than it was before this change (1m30 vs. 1m50),
so we're at least not regressing overall performance.
2016-10-08 12:08:43 -07:00
..
deprecated Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
jslint Move respond_to_message to compose.js. 2016-06-29 13:04:02 -07:00
lib Add overlay lightbox for displaying inline image previews. 2016-09-27 17:50:51 -07:00
print-all Remove unused puppet-common third-party module code. 2016-07-31 19:24:42 -07:00
setup Upgrade caspersjs to version 1.1.3. (w/acrefoot) 2016-10-08 12:08:43 -07:00
tests Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
travis Upgrade Django to 1.8.15 with Zulip patches. 2016-09-27 20:29:08 -07:00
zulip-export tools/zulip-export/zulip-export: Fix how files are opened. 2016-07-24 22:32:08 +05:30
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
analyze-url-coverage Add tools/analyze-url-coverage 2016-07-29 21:23:33 -07:00
build-api-tarball api: Include get_subscribers endpoint in public release. 2016-01-23 11:38:42 -08:00
build-deb Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
build-release-tarball update-prod-static: Fix buggy color code usage. 2016-08-22 16:38:23 -07:00
check-css Add tools/check-css and tools/lib/css_parser.py. 2016-08-02 16:22:46 -07:00
check-py3 check-py3: Display git status --porcelain output. 2016-05-12 16:30:58 -07:00
check-templates Switch tools/check-templates from optparse to argparse. 2016-09-12 12:00:16 -07:00
clean-branches Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
clean-repo Remove __pycache__ in tools/clean-repo. 2016-05-24 13:43:49 -07:00
clean-venv-cache clean-venv-cache: Fix python 3 compatibility. 2016-06-27 20:39:22 -07:00
compile-handlebars-templates Allow for templates/settings to be read and compiled. 2016-10-05 22:24:22 -07:00
deploy-branch Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
deployment-lock-ctl Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
django-template-graph Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-database Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
do-destroy-rebuild-test-database Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
fetch-rebase-pull-request Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
find-add-class Switch tools/find-add-class from optparse to argparse. 2016-09-12 12:00:16 -07:00
find-unused-css Add hackish tool for finding unused CSS. 2016-04-01 09:34:46 -07:00
get-handlebar-vars Annotate tools/get-handlebar-vars. 2016-07-24 22:12:32 +05:30
html-grep Add tools/html-grep. 2016-08-03 11:29:37 -07:00
install-mypy Move mypy requirements to requirements/ directory. 2016-06-18 16:41:40 -07:00
lint-all Upgrade caspersjs to version 1.1.3. (w/acrefoot) 2016-10-08 12:08:43 -07:00
lister.py Add option to only show extensionless files in lister. 2016-07-21 16:59:52 +05:30
minify-js Switch tools/minify-js from optparse to argparse. 2016-09-12 12:00:16 -07:00
munge_postgres_logs.pl Make munge_postgres_logs.pl executable 2013-01-29 12:16:32 -05:00
node Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
post-receive zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
pre-commit tools: Update pre-commit hook so it works with vagrant dev setup. 2016-08-25 15:19:40 -07:00
provision.py Upgrade caspersjs to version 1.1.3. (w/acrefoot) 2016-10-08 12:08:43 -07:00
reset-to-pull-request tools: Use 'upstream' as expected name for main zulip repo. 2016-08-24 14:23:37 -07:00
run-dev-queue-processors Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
run-dev.py run-dev-proxy: Fix twisted py3 compatibility. 2016-10-06 20:21:25 -07:00
run-graphiti [manual] Rename /home/humbug to /home/zulip. 2013-10-08 08:57:29 -04:00
run-mypy mypy: Require new Python functions to have type annotations. 2016-09-12 14:56:08 -07:00
send_github_payloads.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
setup-git-repo Remove git commit domain restrictions. 2015-08-19 21:40:04 -07:00
show-profile-results.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
start-dockers Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-all Add test coverage for parsers in tools/lib. 2016-08-04 10:47:09 -07:00
test-all-docker Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-backend test-backend: remove trailing forward slash from test suite names. 2016-10-08 11:52:55 -07:00
test-js-with-casper casper: Rename frontend_tests/run to clarify it uses casper. 2015-10-28 10:11:47 -07:00
test-js-with-node provision: Use NVM to install node and npm. 2016-09-23 14:34:44 -07:00
test-management Add new test for management commands running with --help. 2015-11-11 21:34:39 -08:00
test-migrations test-migrations: Fix missing exit status on error. 2016-06-15 09:26:04 -07:00
test-queue-worker-reload Fix and re-enable test-queue-worker-reload. 2016-08-10 16:17:23 -07:00
test-run-dev check_send_receive_time: Cleanup unnecessary print statement. 2016-08-11 14:48:21 -07:00
test-tools Switch tools/test-tools from optparse to argparse. 2016-09-12 12:00:16 -07:00
test_user_agent_parsing.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
update-deployment Move update-deployment to scripts/deploy-zulip-from-git. 2016-08-02 14:31:07 -07:00
update-prod-static Use npm caching in tools/update-prod-static. 2016-09-16 12:40:48 -07:00
user_agents_unique Kill Embed.ly integration. 2015-08-20 19:46:48 -07:00
webpack Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
webpack.config.js run-dev: Hardcode 127.0.0.1 rather than localhost. 2016-07-27 11:39:12 -07:00
webpack.production.config.js Move webpack configuration to tools/. 2016-04-06 08:09:55 -07:00
zanitizer zanitizer: Remove -- argument that confuses some Git verisons 2015-09-25 00:46:00 -07:00
zanitizer_config.pm.sample zanitizer: Support renaming files 2015-09-24 18:10:02 -07:00