zulip/tools
Tim Abbott 729c09074a js: Avoid href="#" for buttons with a JavaScript click handler.
As seen in
https://chat.zulip.org/#narrow/stream/9-issues/topic/edit.20history.20bug/near/1320430,
clicking such a link takes you to the user's default view if the click
handler throws an exception before doing preventDefault().

There hrefs also have the negative effect of having your browser claim
that clicking the link will navigate you to the default view, which it
won't.

Comes with a linter rule to prevent future instances, since it seems
there are some recently added ones, though they are likely the result
of copy/paste.
2022-02-08 17:38:12 -08:00
..
ci docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
documentation_crawler use_cases: Rename /for/companies to /for/business. 2021-12-09 17:16:52 -08:00
droplets docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
i18n python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
lib docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
linter_lib js: Avoid href="#" for buttons with a JavaScript click handler. 2022-02-08 17:38:12 -08:00
node_lib js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
oneclickapps python: Replace requests.packages.urllib3 alias with urllib3. 2022-01-23 22:14:17 -08:00
setup docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test-install Remove Ubuntu 18.04 support. 2022-01-21 17:26:14 -08:00
tests docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
wsl tools: Add script to start database services for WSL. 2020-04-11 12:05:33 -07:00
zulip-export python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
build-docs tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
build-release-tarball build-release-tarball: Use require_clean_work_tree helper. 2021-06-10 16:08:28 -07:00
cache-zulip-git-version Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
check-capitalization tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
check-frontend-i18n tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
check-issue-labels docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
check-openapi check-openapi: Automatically fix Prettier formatting errors. 2021-09-10 10:39:25 -07:00
check-provision tools: Rename force argument to skip-provision-check 2021-03-03 09:17:49 -08:00
check-schemas check_schema: Ignore operation field in schema validation for openapi. 2021-03-22 23:45:42 -07:00
check-templates bookend: Move conditional bookend content inside the template. 2022-01-31 16:32:09 -08:00
check-thirdparty python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean-branches Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
commit-message-lint Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
commit-msg requirements: Install gitlint from its Debian package. 2021-09-17 17:05:18 -07:00
conf.ini-template Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
coveragerc parallel: Remove run_parallel. 2020-09-14 16:22:23 -07:00
create-test-api-docs python: Remove locally dead code. 2021-08-19 01:51:37 -07:00
debug-require-webpack-plugin.ts debug-require-webpack-plugin: Handle missing chunkGraph. 2021-10-17 07:15:09 -07:00
debug-require.js webpack: Upgrade to Webpack 5. 2021-09-14 17:02:03 -07:00
deploy-branch Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
diagnose python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
documentation.vnufilter Remove Ubuntu 18.04 support. 2022-01-21 17:26:14 -08:00
duplicate_commits.json tools: Move duplicate_commits.json file to tools directory. 2020-04-07 16:06:29 -07:00
fetch-contributor-data python: Replace deprecated urllib3 BACKOFF_MAX. 2022-01-23 22:14:17 -08:00
fetch-pull-request tools: Avoid readlink -f in *-pull-request scripts. 2021-04-30 14:57:13 -07:00
fetch-rebase-pull-request Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
find-unused-css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
generate-integration-docs-screenshot python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
lint lint: Remove deprecated semgrep flag. 2021-09-17 17:05:18 -07:00
message-screenshot.js tools: Add support for generating integration screenshots remotely. 2021-04-19 10:44:43 -07:00
pre-commit tools: Rename force argument to skip-provision-check 2021-03-03 09:17:49 -08:00
provision Remove Ubuntu 18.04 support. 2022-01-21 17:26:14 -08:00
push-to-pull-request Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
rebuild-dev-database terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
rebuild-test-database shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07: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 python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
reset-to-pull-request tools: Avoid readlink -f in *-pull-request scripts. 2021-04-30 14:57:13 -07:00
review python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
run-codespell run-codespell: Fix invocation with multiple arguments. 2021-10-28 09:59:27 -07:00
run-dev.py clean-repo: Remove. 2021-11-05 17:44:24 -07:00
run-mypy tools: Rename force argument to skip-provision-check 2021-03-03 09:17:49 -08:00
run-tsc tsconfig: Move to top level. 2019-11-04 18:12:11 -08:00
run-yarn-deduplicate yarn.lock: Share duplicate packages with yarn-deduplicate. 2019-09-02 19:30:09 -07:00
semgrep.yml do_delete_user: Add migration to fix bugged UserProfiles. 2022-01-04 15:42:03 -08:00
setup-git-repo shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
show-profile-results python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
stop-run-dev python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test-all test-all: Call documentation tests again. 2021-12-11 12:46:44 -08:00
test-api docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test-backend ci: Migrate to new Codecov uploader. 2021-10-14 17:56:52 -07:00
test-documentation shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
test-help-documentation tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
test-js-with-node lightbox: Replace lightbox_canvas with PanZoom library. 2022-02-04 14:58:36 -08:00
test-js-with-puppeteer test-js-with-puppeteer: Remove bogus CHROMIUM_EXECUTABLE variable. 2021-09-13 10:10:13 -07:00
test-locked-requirements test-locked-requirements: Rename may_be_setup_cache to maybe_set_up_cache. 2022-01-12 13:21:35 -08:00
test-migrations requirements: Upgrade Python requirements. 2021-04-15 21:47:33 -07:00
test-queue-worker-reload python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
test-run-dev test-run-dev: Fix log file opening. 2021-08-02 15:53:52 -07:00
test-tools tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
update-locked-requirements requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
update-prod-static docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
update-zuliprc-api-field python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
upload-release upload-release: Avoid appending to bytes in a loop. 2021-12-29 16:50:08 -08:00
webpack webpack: Increase Node.js heap size on low-memory systems. 2021-09-22 16:01:01 -07:00
webpack.assets.json billing: Migrate to Stripe hosted checkout page. 2021-11-05 17:23:10 -07:00
webpack.dev-assets.json webpack: Introduce webpack.dev-asset.json. 2021-04-19 10:31:39 -07:00
zanitizer zanitizer: Reformat with perltidy. 2021-03-24 12:12:04 -07:00
zanitizer_config.pm.sample zanitizer: Reformat with perltidy. 2021-03-24 12:12:04 -07:00

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.