zulip/tools
aryanshridhar f92f99d92d dependencies: Replace moment.js with date-fns.
Replaced methods/functions of moment.js with date-fns library.
The motive was to replace it with a smaller frontend timezone library.

Date-fns ~ 11.51 kb
moment.js ~ 217.87 kb

Some of the format strings change because date-fns encodes them
differently from how moment did.

Fixes #16373.
2021-02-05 11:04:32 -08:00
..
ci tools: Rename tool to check-schemas. 2021-01-20 13:17:32 -08:00
documentation_crawler docs check: Check only the file and directory GitHub urls of zulip/zulip. 2020-12-16 15:13:25 -08:00
droplets docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
i18n python: Use universal_newlines to get str from subprocess. 2020-10-30 11:36:38 -07:00
lib dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
linter_lib ui_report: Add ui_report.client_error. 2021-01-30 07:48:44 -08:00
node_lib js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
setup dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
test-install shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
tests queue: Eliminate useless "burst" concept in monitoring. 2020-09-21 15:24:04 -07:00
wsl tools: Add script to start database services for WSL. 2020-04-11 12:05:33 -07:00
zulip-export python: Open text files as text to skip decode operations. 2020-10-30 11:36:38 -07:00
README.md
__init__.py
build-docs docs: Replace Makefile based on output of newer sphinx-quickstart. 2019-12-02 18:39:33 -08:00
build-release-tarball docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
cache-zulip-git-version shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
check-capitalization python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
check-frontend-i18n python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
check-issue-labels docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
check-openapi dependencies: Upgrade JavaScript dependencies. 2021-01-25 14:53:19 -08:00
check-provision python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
check-schemas event tests: Cover do_update_user_status better. 2021-01-20 13:17:32 -08:00
check-templates docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
check-thirdparty check-thirdparty: Work around deficient Mypy annotations for debian. 2020-10-19 11:54:14 -07:00
clean-branches shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
clean-repo
commit-message-lint docs: Use consistent spelling of CircleCI. 2020-04-28 11:26:58 -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 python: Catch specific exceptions from orjson. 2020-10-11 16:11:41 -07:00
debug-require-webpack-plugin.ts debug-require: Throw errors for unknown and unloaded modules. 2020-07-29 11:17:24 -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: Sort imports with isort. 2020-06-11 16:45:32 -07:00
documentation.vnufilter requirements: Upgrade Python requirements. 2020-06-25 13:14:37 -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: Pass query parameters as a dict when making GET requests. 2020-10-27 13:47:02 -07:00
fetch-pull-request tools: Use require_clean_work_tree everywhere. 2020-04-06 17:52:10 -07:00
fetch-rebase-pull-request tools: Use require_clean_work_tree everywhere. 2020-04-06 17:52:10 -07:00
find-unused-css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
generate-integration-docs-screenshot events: Stop sending occupy/vacate events. 2020-10-14 10:53:10 -07:00
lint eslint: Remove and prohibit unused eslint-disable directives. 2020-12-10 18:08:45 -08:00
message-screenshot.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
pre-commit shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
pretty-print-html python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
provision shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -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 renumber-migrations: Skip migration 0261. 2020-06-18 15:42:57 -07:00
reset-to-pull-request shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
review python: Use universal_newlines to get str from subprocess. 2020-10-30 11:36:38 -07:00
run-dev.py run-dev: Fix dev url showing extra port. 2021-01-27 11:37:26 -08:00
run-mypy python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07: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: Update rule syntax documentation URL. 2020-12-03 17:30:11 -08:00
setup-git-repo shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
show-profile-results python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
stop-run-dev python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test-all tools: Rename tool to check-schemas. 2021-01-20 13:17:32 -08:00
test-api api: Require can_create_users permission to create users via API. 2020-12-21 13:20:21 -08:00
test-backend hipchat_import: Remove tool from codebase. 2020-12-23 08:28:49 -08:00
test-documentation shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
test-help-documentation tests: Remove use_db flag from test_server_running. 2020-09-18 15:13:40 -07:00
test-js-with-node postcss-simple-vars: Add media query breakpoint variables. 2021-01-25 14:49:32 -08:00
test-js-with-puppeteer puppeteer: Add clear success message at end of a test run. 2020-11-29 18:08:20 -08:00
test-locked-requirements python: Open text files as text to skip decode operations. 2020-10-30 11:36:38 -07:00
test-migrations shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
test-queue-worker-reload queue_processors: Don't run test queues with run-dev.py. 2020-10-18 14:07:31 -07:00
test-run-dev python: Open text files as text to skip decode operations. 2020-10-30 11:36:38 -07:00
test-tools python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
update-locked-requirements shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
update-prod-static dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
update-zuliprc-api-field python: Use universal_newlines to get str from subprocess. 2020-10-30 11:36:38 -07:00
webpack webpack: Use Webpack’s mode option rather than repurposing env. 2020-09-28 10:57:08 -07:00
webpack.assets.json landing-page: Rename to landing_page.css. 2020-10-19 11:50:39 -07:00
zanitizer
zanitizer_config.pm.sample

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.