zulip/tools
Tim Abbott d90f7c72a3 zephyr: Fix broken postgres regular expression logic and add tests.
Like many rare-case code with new tests, it turns out that the logic
for handling null characters in our Zephyr postgres query escaping
never worked, in multiple ways.  First, it always changed the second
character in s, not the current one being inspected, and second, the
value it replaced it with was no the correct postgres escape of the
null byte.  We fix this and add tests.

This completes the effort to get zerver/views/messages.py to 100%
test coverage.

Fixes #1006.
2017-03-01 10:38:48 -08:00
..
deprecated Delete deprecated iframe-bot. 2017-01-07 10:53:20 -08:00
documentation_crawler documentation-crawler: Check images in help documentation. 2017-01-12 10:02:32 -08:00
lib Add Django and html singleton tags support to pretty print. 2017-02-22 20:21:58 -08:00
print-all lint: Remove old jslint linter. 2016-12-02 18:49:42 -08:00
setup build_emoji: Add `name_to_codepoint` dict to emoji_codes.js file. 2017-02-26 18:28:42 -08:00
tests Add Django and html singleton tags support to pretty print. 2017-02-22 20:21:58 -08:00
travis queue_workers: Fix confusing --queue_type argument name. 2017-02-22 00:23:26 -08:00
zulip-export Simplify, document, and fix the API code. 2016-12-21 11:22:42 -08:00
README.md docs: Add README.md files for scripts/ and tools/. 2017-01-17 11:01:27 -08:00
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
build-api-tarball Always start python via shebang lines. 2016-11-26 14:46:37 -08:00
build-deb Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
build-release-tarball storage: Fix static files storage reuse issues. 2017-02-06 16:10:24 -08:00
check-css tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
check-issue-labels Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
check-provision lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
check-py3 check-py3: Display git status --porcelain output. 2016-05-12 16:30:58 -07:00
check-templates check-templates: Check left and right sidebars. 2017-03-01 09:08:09 -08:00
check-urls Django 1.10: Add tool to check urls. 2016-11-10 16:20:04 +05: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 Add server error response for failed handlebars template compilation. 2017-02-28 09:44:08 -08:00
conf.ini-template Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
create-test-api-docs tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08: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
diagnose tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
django-template-graph Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-database Always start python via shebang lines. 2016-11-26 14:46:37 -08: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 tools: Improve git scripts. 2016-10-11 13:38:38 -07:00
find-add-class tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
find-unused-css Add hackish tool for finding unused CSS. 2016-04-01 09:34:46 -07:00
get-handlebar-vars tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
html-grep templates: Rename right-sidebar.html to right_sidebar.html. 2017-03-01 09:02:15 -08:00
install-mypy Move mypy requirements to requirements/ directory. 2016-06-18 16:41:40 -07:00
lint-all lint: Expand lint check for use of .text() without i18n. 2017-02-28 20:37:52 -08:00
lister.py tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
minify-js lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
munge_postgres_logs.pl Make munge_postgres_logs.pl executable 2013-01-29 12:16:32 -05:00
pre-commit lint: Include pep8 checks in pre-commit hook. 2017-02-07 13:22:01 -08:00
provision provision: Simplify messaging in tools/provision. 2017-01-19 14:55:22 -08:00
replace-tarball-shebang lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
reset-to-pull-request tools: Improve git scripts. 2016-10-11 13:38:38 -07:00
review lint: Clean up E241 PEP-8 rule. 2017-01-23 21:21:14 -08:00
run-dev-queue-processors run-dev-queue-processors: Remove dead code. 2017-02-19 13:11:19 -08:00
run-dev.py run-dev: Use a different path for casper test PID file. 2017-02-17 16:31:28 -08:00
run-graphiti [manual] Rename /home/humbug to /home/zulip. 2013-10-08 08:57:29 -04:00
run-mypy mypy: Stop using deprecated --silent-imports. 2017-02-10 23:53:44 -08: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 mypy: Upgrade to new package name and version 0.571. 2017-02-10 23:53:44 -08:00
start-dockers Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
stop_run_dev run-dev: Add pid file to development server. 2017-02-02 21:07:03 -08:00
test-all optimization: Use Python to test management commands. 2017-02-11 13:48:16 -08:00
test-all-docker Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-api tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
test-backend zephyr: Fix broken postgres regular expression logic and add tests. 2017-03-01 10:38:48 -08:00
test-documentation test-documentation: Add pretty success/failure output. 2016-10-25 11:41:12 -07:00
test-help-documentation.py tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08: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-migrations test-migrations: Fix inverted check. 2017-02-10 16:41:04 -08:00
test-queue-worker-reload travis: Automate updates to production-helper Nagios test. 2017-02-19 16:19:53 -08:00
test-run-dev tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
test-tools tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
test_user_agent_parsing.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
update-authors-json tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
update-prod-static update-prod-static: Fix incorrect ordering of venv setup code. 2017-02-07 11:49:31 -08:00
user_agents_unique Kill Embed.ly integration. 2015-08-20 19:46:48 -07:00
webpack tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
webpack.config.js dev-proxy-logging: Add client ip transference to proxy server. 2016-12-21 17:18:02 +06:00
webpack.production.config.js eslint: Fix comma-dangle rules in JS support files. 2016-12-03 15:00:24 -08: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

README.md

This directory contains scripts that are used in building, managing, testing, and other forms of work in a Zulip development environment. Note that tools that are also useful in production belong in scripts/ or should be Django management commands.

For more details, see http://zulip.readthedocs.io/en/latest/directory-structure.html.