zulip/tools
Alex Vandiver c13e3dee24 katex: Replace subprocess call with minimal external service.
Replace a separate call to subprocess, starting `node` from scratch,
with an optional standalone node Express service which performs the
rendering.  In benchmarking, this reduces the overhead of a KaTeX call
from 120ms to 2.8ms.  This is notable because enough calls to KaTeX in
a single message would previously time out the whole message
rendering.

The service is optional because he majority of deployments do not use
enough LaTeX to merit the additional memory usage (60Mb).

Fixes: #17425.
2024-03-15 15:34:12 -07:00
..
ci katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
documentation_crawler check_help_documentation: Exclude temporarily unavailable endpoint. 2023-12-18 15:44:00 -08:00
droplets ruff: Fix RUF027 Possible f-string without an `f` prefix. 2024-03-01 09:30:04 -08:00
i18n sync-translations: Normalize translations to NFC. 2023-09-08 17:51:47 -07:00
lib install: Support Ubuntu 24.04. 2024-03-01 17:38:08 -08:00
linter_lib linter: Add _html as a variable name for safe html. 2024-03-11 09:56:18 -07:00
node_lib node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
oneclickapps docs: Add missing spaces around code spans. 2023-12-14 00:05:44 -08:00
setup dev-vagrant-docker: Upgrade docker-systemctl-replacement to 1.5.8066. 2024-03-04 15:34:10 -05:00
test-install
tests mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
zulip-export
README.md
__init__.py
backport-pull-request tools: Add a tool for backporting PRs. 2024-01-15 17:27:37 -08:00
build-docs
build-release-tarball emails: Inline CSS in emails in build_email. 2023-04-05 12:22:29 -07:00
cache-zulip-git-version build-release-tarball: Override merge-base for full official releases. 2022-11-15 12:50:41 -08:00
check-capitalization tools: Use subprocess.check_call where appropriate. 2023-08-17 17:05:34 -07:00
check-frontend-i18n tools: Use subprocess.check_call where appropriate. 2023-08-17 17:05:34 -07:00
check-issue-labels ruff: Fix PERF401 Use a list comprehension to create a transformed list. 2023-08-07 17:23:55 -07:00
check-openapi dependencies: Upgrade JavaScript dependencies. 2023-12-07 14:29:32 -08:00
check-provision
check-schemas openapi: Add missing user property to deprecated user settings events. 2023-10-23 09:07:07 -07:00
check-templates check-templates: Check Django/Handlebars templates differently. 2023-10-11 17:53:07 -07:00
check-thirdparty
clean-branches
commit-message-lint
commit-msg commit-msg: Don’t change the current directory for non-Vagrant. 2023-05-23 12:24:44 -07:00
conf.ini-template
coveragerc coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00
deploy-branch
diagnose
documentation.vnufilter dependencies: Upgrade JavaScript dependencies. 2023-04-25 22:18:48 -07:00
duplicate_commits.json
fetch-contributor-data team: Add more repositories and rename tabs. 2024-03-01 14:57:46 -08:00
fetch-pull-request
fetch-rebase-pull-request
find-unused-css web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
generate-integration-docs-screenshot models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
lint python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
message-screenshot.js narrow: Use message list id to track message lists in DOM. 2024-01-18 08:31:48 -08:00
pre-commit
provision
push-to-pull-request push-to-pull-request: Accept intermixed options and arguments again. 2024-02-01 17:08:44 -08:00
rebuild-dev-database
rebuild-test-database
release release: Release 8.0-prereleases from `main`. 2023-07-06 16:16:11 -07:00
release-tarball-exclude.txt puppet: Rename puppet/zulip_ops to puppet/kandra. 2024-02-06 17:56:27 -08:00
renumber-migrations ruff: Fix PIE808 Unnecessary `start` argument in `range`. 2023-09-01 14:57:01 -07:00
reset-to-pull-request
review
run-codespell dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00
run-dev runtornado: Swap deferred reload events to the default. 2024-02-26 22:29:19 -08:00
run-mypy
run-tsc
semgrep-py.yml models: Extract zerver.models.streams. 2023-12-16 22:08:44 -08:00
setup-git-repo
show-profile-results
stop-run-dev
tail-ses ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
test-all install-shellcheck: Upgrade ShellCheck to 0.9.0. 2023-01-04 14:01:34 -08:00
test-api models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
test-backend ruff: Fix PLW0108 Lambda may be unnecessary. 2024-03-01 09:30:04 -08:00
test-documentation
test-help-documentation
test-js-with-node types: Migrated add_stream_options_popover to TypeScript. 2024-03-15 13:02:20 -07:00
test-js-with-puppeteer puppeteer: Allow reruns in interactive mode when tests succeed. 2023-09-13 12:46:22 -07:00
test-locked-requirements
test-migrations
test-queue-worker-reload models: Rename zerver/models.py to zerver/models/__init__.py. 2023-12-16 22:08:44 -08:00
test-run-dev run-dev: Drop .py from script name. 2023-03-03 18:02:37 -08:00
test-tools
total-contributions docs: Fix grammar errors found by mwic. 2023-10-09 13:24:09 -07:00
update-locked-requirements
update-prod-static update-prod-static: Only run generate_landing_page_images if necessary. 2023-10-05 09:04:33 -07:00
update-zuliprc-api-field
upload-release upload-release: Update SHA256SUM for existing files if changed. 2023-01-23 17:41:29 -08:00
webpack katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -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.