zulip/tools
Steve Howell bacf896228 poll widget: Clean up code and add edit controls.
NOTE: If you revert this commit, you want to revert
the immediately prior commit as well.  The history
is that Ishan made some improvements to the widget,
but there were some minor bugs.  I decided not
to squash the commits together so that the git
history is clear who did what.  (In particular, I
want questions about the JS code to come to me if
somebody does `git blame`.)

Anyway...

This is a fairly significant rewrite of the polling
widget, where I clean up the overall structure of
the code (including things from before the prior
fix) and try to polish the prior commit a bit as
well.

There are a few new features:

    * We tell "other" users to wait for the poll
      to start (if there's no question yet).
    * We tip the author to say "/poll foo" (as
      needed).
    * We add edit controls for the question.
    * We don't allow new choices until there's
      a question.
2019-01-22 10:27:39 -08:00
..
ci test-help-documentation: Skips checking external links. 2018-12-29 20:15:30 +05:30
circleci circleci: Add a base image for Ubuntu Bionic. 2018-05-31 18:51:32 -07:00
documentation_crawler test-documentation: Exclude the 500ing Citizen Code of Conduct. 2018-12-29 15:30:19 -08:00
droplets create-production-venv: Remove Python 2 support. 2019-01-09 17:32:05 -08:00
i18n tools: Move a few i18n scripts to tools/i18n. 2018-08-09 15:46:27 -07:00
lib tools: Remove check-css. 2019-01-15 16:05:50 -08:00
linter_lib lint: Allow usage of the word subject in test_email_mirror.py. 2019-01-05 15:59:19 -08:00
setup Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
test-install test-install: Avoid hardcoded paths in /tmp. 2019-01-15 16:05:51 -08:00
tests tools: Remove check-css. 2019-01-15 16:05:50 -08:00
zulint docs: Add documentation for `if False` mypy pattern in scripts. 2018-12-17 11:12:53 -08:00
zulip-export zulip-export: Convert to using argparse from optparse. 2017-11-10 15:54:02 -08:00
README.md docs: Update links to ReadTheDocs to always use https. 2017-11-16 10:59:24 -08:00
__init__.py
build-docs build-docs: Fix shellcheck warnings. 2018-10-17 17:38:56 -07:00
build-release-tarball build-release-tarball: Fix shellcheck warnings. 2018-10-17 17:38:56 -07:00
check-capitalization check-capitalization: Include banned words in overall output. 2018-03-16 16:59:02 -07:00
check-frontend-i18n tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
check-issue-labels tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
check-provision check-provision: Replace optparse with argparse. 2017-09-30 09:32:46 -07:00
check-swagger
check-templates emails: Inline CSS in missed_message. 2019-01-03 17:55:29 -08:00
check-urls billing: Move billing-related views and urls to corporate. 2018-10-01 15:43:21 -07:00
clean-branches clean-branches: Fix shellcheck warnings. 2018-10-17 17:38:56 -07:00
clean-repo clean-repo: Revert optimization to .pyc removal. 2017-07-30 17:24:55 -07:00
commit-message-lint Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
commit-msg Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
compile-handlebars-templates Add basic widgets framework (JS side). 2018-05-16 15:13:33 -07:00
conf.ini-template
coveragerc webhooks: Add generic exception for unexpected webhook events. 2018-05-22 08:30:19 -07:00
create-test-api-docs tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
deploy-branch Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
diagnose docs: Add documentation for `if False` mypy pattern in scripts. 2018-12-17 11:12:53 -08:00
django-template-graph django-template-graph: Fix shellcheck warnings. 2018-10-17 17:38:56 -07:00
do-destroy-rebuild-database test_fixtures: Move test_db_status state under UUID_VAR_PATH. 2017-10-17 21:15:58 -07:00
do-destroy-rebuild-test-database do-destroy-rebuild-test-database: Fix shellcheck warnings. 2018-08-03 09:15:26 -07:00
fetch-pull-request Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
fetch-rebase-pull-request Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
find-add-class tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
find-unused-css Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
get-handlebar-vars Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
html-grep zulint: Move lister.py to tools/zulint. 2018-08-04 19:53:53 -07:00
inline-email-css emails: Fix duplicate <html> blocks in missed-message emails. 2019-01-11 14:23:30 -08:00
js-dep-visualizer.py Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
lint lint: Respect `--force` flag while running mypy. 2019-01-17 10:34:43 -08:00
list-outdated-packages tools: Add tool for listing outdated pip packages. 2018-05-24 15:16:02 -07:00
minify-js tools: Remove pointless uses of shell=True. 2018-07-30 22:39:06 -07:00
pre-commit Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
pretty-print-html tools: Remove print_function. 2017-09-29 15:44:56 -07:00
provision provision: Clean up comments and unused variables. 2019-01-04 15:16:19 -08:00
push-to-pull-request Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
release-tarball-exclude.txt tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
renumber-migrations tools: Only files starting with same migration number conflict. 2018-07-10 21:09:34 +05:30
replacer zulint: Move lister.py to tools/zulint. 2018-08-04 19:53:53 -07:00
reset-to-pull-request Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
review tools/review: Don’t pretend to emulate shell=True either. 2018-07-30 22:39:08 -07:00
run-dev-queue-processors tools: Remove absolute_import in most tools. 2017-09-29 12:28:43 -07:00
run-dev.py tests: Clean up calls to tools/webpack. 2018-09-07 11:39:55 -04:00
run-mypy docs: Move mypy documentation from contributing to testing. 2018-12-16 21:52:53 -08:00
setup-git-repo Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
show-profile-results mypy: Remove ignores for a few typeshed bugs fixed upstream. 2017-10-27 17:09:00 -07:00
start-dockers Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
stop-run-dev tools: Consistently use hyphen in user script names. 2017-10-11 12:52:36 -07:00
test-all lint: Run mypy as part of main linter. 2018-12-16 21:52:53 -08:00
test-all-docker Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
test-api Fix usage for test-api. 2018-09-07 11:39:55 -04:00
test-backend profiling: Use mkstemp for profile.data filename. 2019-01-15 16:08:48 -08:00
test-documentation test-documentation: Simplify --skip-external-links code path. 2018-12-29 09:09:18 -08:00
test-emoji-name-scripts test-emoji-name-scripts: Avoid hardcoded paths in /var/tmp. 2019-01-15 16:05:50 -08:00
test-help-documentation test-help-documentation: Skips checking external links. 2018-12-29 20:15:30 +05:30
test-js-with-casper
test-js-with-node poll widget: Clean up code and add edit controls. 2019-01-22 10:27:39 -08:00
test-locked-requirements test-locked-requirements: Avoid hardcoded paths in /var/tmp. 2019-01-15 16:05:51 -08:00
test-migrations Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
test-queue-worker-reload test-queue-worker-reload: Use a pipe rather than polling a log file. 2019-01-15 16:00:48 -08:00
test-run-dev test-run-dev: Use a pipe rather than polling a log file. 2019-01-15 16:00:48 -08:00
test-tools tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
update-authors-json team: Include contributions from legacy repositories in the total. 2018-08-28 16:45:00 -07:00
update-locked-requirements update-locked-requirements: Fix shellcheck warnings. 2018-08-03 09:15:27 -07:00
update-prod-static provision: Rename generate_zulip_bots_static_files to .py. 2018-12-09 21:42:40 -08:00
upgrade-python-dependencies tools: Add script to automate python dependency upgrade. 2019-01-07 10:25:35 -08:00
webpack tests: Clean up calls to tools/webpack. 2018-09-07 11:39:55 -04:00
webpack-helpers.ts webpack: Transition app.js to be compiled by webpack. 2018-07-05 11:03:08 +02:00
webpack.assets.json billing: Separate billing.js into multiple modules. 2019-01-04 23:52:00 +05:30
webpack.config.ts simplebar: Add simplebar dependency for help page scrolling. 2018-07-11 20:04:55 +05:30
zanitizer docs: Avoid hardcoded /tmp paths in miscellaneous documentation. 2019-01-15 16:16:12 -08:00
zanitizer_config.pm.sample zanitizer_config.pm.sample: keep_file → scrub_filename 2018-09-23 20:42:27 -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 https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.