zulip/tools
Alex Vandiver 818c30372f upload: Use tusd for resumable, larger uploads.
Currently, it handles two hook types: 'pre-create' (to verify that the
user is authenticated and the file size is within the limit) and
'pre-finish' (which creates an attachment row).

No secret is shared between Django and tusd for authentication of the
hooks endpoints, because none is necessary -- tusd forwards the
end-user's credentials, and the hook checks them like it would any
end-user request.  An end-user gaining access to the endpoint would be
able to do no more harm than via tusd or the normal file upload API.

Regardless, the previous commit has restricted access to the endpoint
at the nginx layer.

Co-authored-by: Brijmohan Siyag <brijsiyag@gmail.com>
2024-09-19 11:37:29 -07:00
..
ci ci: Backport #29443 to 8.0 so it installs. 2024-07-26 14:25:49 -07:00
documentation_crawler python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
droplets ruff: Fix PLR6104 Use `+=` to perform an augmented assignment directly. 2024-07-14 13:49:51 -07:00
i18n ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
lib upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
linter_lib endpoints: Remove the has_request_variables decorator. 2024-09-05 16:02:12 -07:00
node_lib
oneclickapps ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
screenshots python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
setup upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
test-install Remove support for Ubuntu 20.04 and Debian 11. 2024-04-01 13:27:39 -07:00
tests ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
zulip-export
README.md
__init__.py
backport-pull-request backport: Fix the commit-ids that are used. 2024-05-06 14:47:22 -07:00
build-docs
build-help-center run-dev: Add option to host help center with starlight. 2024-08-02 18:18:01 -07:00
build-release-tarball
cache-zulip-git-version
check-capitalization python: Mark regexes as raw strings. 2024-04-26 12:30:31 -07:00
check-frontend-i18n ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
check-issue-labels ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
check-openapi check-openapi: Modernize yargs usage. 2024-04-08 16:50:56 -07:00
check-provision
check-schemas ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
check-templates ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
check-thirdparty
clean-branches
commit-message-lint
commit-msg
conf.ini-template
convert-help-center-docs-to-mdx tools: Add script to convert .md files to .mdx. 2024-08-02 18:18:01 -07:00
coveragerc
deploy-branch
diagnose ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
documentation.vnufilter docs: Update VNU filter to ignore warnings about sphinx-design. 2024-03-22 16:54:57 -07:00
duplicate_commits.json
fetch-contributor-data ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
fetch-pull-request
fetch-rebase-pull-request
find-unused-css
lint requirements: Upgrade Python requirements. 2024-06-27 15:31:43 -07:00
pre-commit
provision Remove support for Ubuntu 20.04 and Debian 11. 2024-04-01 13:27:39 -07:00
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 refactor: Rename `huddle` to `direct_message_group` in non api files. 2024-07-31 23:25:56 -07:00
release release: Parse version.py using the language it was written in. 2024-07-25 13:17:49 -07:00
release-tarball-exclude.txt puppet: Rename puppet/zulip_ops to puppet/kandra. 2024-02-06 17:56:27 -08:00
renumber-migrations renumber-migrations: Avoid crashing with squashed migrations. 2024-09-13 18:44:58 -07:00
reset-to-pull-request
review ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
run-codespell
run-dev upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
run-mypy ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
run-tsc
semgrep-py.yml endpoints: Remove the has_request_variables decorator. 2024-09-05 16:02:12 -07:00
setup-git-repo
show-profile-results
stop-run-dev
tail-ses ruff: Fix SIM117 Use a single `with` statement with multiple contexts. 2024-07-14 13:48:32 -07:00
test-all
test-api realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
test-backend test_backend: For serial mode for stripe fixture generation. 2024-09-19 11:26:21 -07:00
test-documentation ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
test-help-documentation ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test-js-with-node settings: Add new module to handle pills for group settings. 2024-09-19 09:08:33 -07:00
test-js-with-puppeteer ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
test-locked-requirements ruff: Fix SIM117 Use a single `with` statement with multiple contexts. 2024-07-14 13:48:32 -07:00
test-migrations
test-queue-worker-reload ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
test-run-dev ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
test-tools
total-contributions ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -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 python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
webpack ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -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.