zulip/tools
Priyam Seth 57340a888c compose: Extract "compose_validate.js".
This commit first moves the compose.validate() function out
with the functions that are needed by it. Then one by one
checked for which function is now not needed in compose.js.

This moves all validation related functions out of "compose.js"
to "compose_validate.js".

Splitting compose announce variables out of compose.js.

This commit moves the "user_acknowledged_all_everyone" and
"user_acknowledged_announce" out of compose.js to reduce
cyclic dependency of compose_validate on compose.js.

Moving wildcard mentions to compose_validate.

The wildcard mention settings are mostly used while validating.
Also to reduce the cyclic dependence of compose in
compose_validate, the related wildcard mentions are moved out to
compose_vaidate.js.

This also converts reset_acknowledged functions to set values
by passing values.
2021-07-05 19:21:56 -07:00
..
ci js: Fix, and check for, non-ES5 syntax in webpack bundles. 2021-07-05 13:32:37 -07:00
documentation_crawler docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
droplets docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
i18n i18n: Adjust Transifex sync-translations download mode. 2021-06-02 09:48:58 -07:00
lib docs: Correct Big Blue Button to BigBlueButton. 2021-07-05 16:59:00 -07:00
linter_lib lint: Exclude `zerver/views/development/` from i18n lint rules. 2021-07-01 14:56:53 -07:00
node_lib js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
oneclickapps docs: Add additional missing detail to the oneclick app release doc. 2021-06-03 09:35:34 -07:00
setup bootstrap-awscli: Remove executable bit. 2021-06-28 17:13:57 -04:00
test-install install: Replace wget with curl. 2021-06-25 09:05:07 -07:00
tests tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07: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
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
__init__.py
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 version: Display Zulip version in About Zulip dialog. 2021-05-13 11:36:12 -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 python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
check-openapi linter: Fix checking for inline refs. 2021-06-09 12:43:12 -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 tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
check-thirdparty python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean-branches shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
clean-repo
commit-message-lint lint: Set repository variable in tools/commit-message-lint. 2021-05-06 08:13:41 -07:00
commit-msg shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
conf.ini-template
coveragerc parallel: Remove run_parallel. 2020-09-14 16:22:23 -07:00
create-test-api-docs tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
debug-require-webpack-plugin.ts eslint: Enable @typescript-eslint/consistent-type-imports. 2021-03-18 17:26:19 -07:00
debug-require.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
deploy-branch shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
diagnose python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
documentation.vnufilter test-documentation: Clean up fixed HTML validation ignore patterns. 2021-04-30 15:49:30 -07: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: Normalize quotes with Black. 2021-02-12 13:11:19 -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 tools: Avoid `readlink -f` in *-pull-request scripts. 2021-04-30 14:57:13 -07:00
find-unused-css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
generate-integration-docs-screenshot tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
lint mypy: Move configuration to pyproject.toml. 2021-07-05 17:01:32 -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
pretty-print-html tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
provision ci: Remove unused circleci config file and update codebase. 2021-03-16 15:11:21 -07:00
push-to-pull-request push-to-pull-request: Wait for GitHub background update before merge. 2021-02-03 14:55:08 -08: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
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: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
run-dev.py tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -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 semgrep: Use documentation link instead of file path. 2021-06-18 22:15:58 +00: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 tools: Remove -f short option for test-all. 2021-03-03 09:17:49 -08:00
test-api tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
test-backend tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21: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 compose: Extract "compose_validate.js". 2021-07-05 19:21:56 -07:00
test-js-with-puppeteer puppeteer_tests: Show filename when failed for quicker debugging. 2021-05-10 15:08:11 -07:00
test-locked-requirements python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test-migrations requirements: Upgrade Python requirements. 2021-04-15 21:47:33 -07:00
test-queue-worker-reload tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
test-run-dev tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21: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 tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
update-zuliprc-api-field python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
webpack webpack: Fix run-dev.py --minify. 2021-06-10 17:26:55 -07:00
webpack.assets.json js: Extract password_quality module; remove zxcvbn from globals. 2021-04-24 13:08:52 -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

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.