zulip/zerver
Mateusz Mandera 6c3ba25474 retention: Use RETURNING to speed up database queries.
We add RETURNING to fetch relevant message and usermessage ids in
archiving queries and use them to make other queries faster and slower.
A side-effect of this implementation is that with cross-realm messages,
the UserMessage of the recipient and the Message will not be deleted -
but cross-realm messages are rare, will still get correctly put in the
archive tables and so failing to delete should not be a problem for now.
They will be fully handled later.
2019-06-02 14:55:14 -07:00
..
data_import import: Handle hidden_by_limit case for files in slack import. 2019-05-30 12:01:09 -07:00
lib retention: Use RETURNING to speed up database queries. 2019-06-02 14:55:14 -07:00
management export: Rename `--upload-to-s3` to be `--upload`. 2019-05-20 19:59:57 -07:00
migrations url preview: Turn Realm.inline_url_embed_preview off by default. 2019-05-31 15:28:32 -07:00
openapi docs: Extract a Writing Documentation top-level section. 2019-05-29 15:52:11 -07:00
templatetags api_docs: Detect missing arguments in curl examples. 2019-05-28 16:53:48 -07:00
tests retention: Use RETURNING to speed up database queries. 2019-06-02 14:55:14 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views public_export: Add support for deleting export after access. 2019-05-31 22:54:27 -07:00
webhooks webhooks/buildbot: Add missing "skipped" build result code. 2019-05-31 16:59:42 -07:00
worker public_export: Add support for deleting export after access. 2019-05-31 22:54:27 -07:00
__init__.py
apps.py python: Mark intentionally unused imports with noop statements. 2019-02-22 16:54:47 -08:00
context_processors.py open graph: Uploaded realm icon URL is absolute for some backends. 2019-05-20 13:14:28 -07:00
decorator.py rate_limiter: Create a general rate_limit_request_by_entity function. 2019-05-30 16:50:11 -07:00
filters.py filters: Don't include realm_counts/installation_counts in errors. 2019-04-30 14:10:59 -07:00
forms.py authenticate: Remove default values for required parameters. 2019-05-27 23:47:22 -07:00
logging_handlers.py try_git_describe: Set cwd, not --git-dir. 2019-02-28 14:59:33 -08:00
middleware.py rate_limiter: Create a general rate_limit_request_by_entity function. 2019-05-30 16:50:11 -07:00
models.py url preview: Turn Realm.inline_url_embed_preview off by default. 2019-05-31 15:28:32 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt