zulip/tools/setup
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
..
apns
dev-vagrant-docker dev-vagrant-docker: Fix PostgreSQL version. 2024-04-02 17:02:20 -07:00
emoji emoji: Convert spritesheets to webp. 2024-09-11 09:03:47 -07:00
__init__.py
bootstrap-aws-installer kandra: Install the right PostgreSQL. 2024-04-17 17:31:49 -07:00
build_pygments_data web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
build_timezone_values ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
dev-motd run-dev: Drop .py from script name. 2023-03-03 18:02:37 -08:00
generate-fixtures
generate-test-credentials
generate_integration_bots_avatars.py integrations: Generate avatars using pyvips. 2024-06-20 23:06:08 -04:00
generate_landing_page_images.py generate_landing_page_images: Rewrite in pyvips. 2024-06-20 23:06:08 -04:00
generate_zulip_bots_static_files.py ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
install-aws-server install-aws-server: Output tsh ssh command, not ssh. 2024-08-20 10:04:40 -07:00
install-shellcheck install-shellcheck: Upgrade ShellCheck from 0.9.0 to 0.10.0. 2024-03-29 09:37:38 -07:00
install-shfmt install-shfmt: Upgrade shfmt from 3.8.0 to 3.9.0. 2024-08-26 14:17:05 -07:00
install-transifex-cli install-transifex-cli: Upgrade Transifex CLI from 1.6.14 to 1.6.16. 2024-08-26 14:17:05 -07:00
install-tusd upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
lang.json
optimize-svg dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00
pack-local-script pack-local-script: Match mode of file outside of packing. 2024-02-07 10:42:12 -08:00
postgresql-init-dev-db postgresql-init-dev-db: Add missing quotes. 2024-06-16 11:36:58 -07:00
postgresql-init-test-db
setup_venvs.py
vagrant-provision Upgrade development environment to Ubuntu 22.04. 2024-04-01 13:27:39 -07:00