zulip/zerver
Clara Dantas 05bf72a75c attachments: Add is_web_public field.
This commit adds the is_web_public field in the AbstractAttachment
class. This is useful when validating user access to the attachment,
as otherwise we would have to make a query in the db to check if
that attachment was sent in a message in a web-public stream or not.
2020-08-12 17:26:03 -07:00
..
data_import python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
lib attachments: Add is_web_public field. 2020-08-12 17:26:03 -07:00
management python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
migrations attachments: Add is_web_public field. 2020-08-12 17:26:03 -07:00
openapi openapi: Fix validate_schema recursion structure. 2020-08-12 16:11:29 -07:00
templatetags docs: Fix various capitalization errors. 2020-08-11 10:25:52 -07:00
tests attachments: Add is_web_public field. 2020-08-12 17:26:03 -07:00
tornado python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
views streams: Allow stream admin to update and deactivate streams. 2020-08-12 17:02:01 -07:00
webhooks python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
worker python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py auth: Make apple log in and sign up buttons consistent with others. 2020-06-18 13:06:10 -07:00
decorator.py python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py middleware: Make HostDomain into a process_request, not process_response. 2020-08-11 10:37:55 -07:00
logging_handlers.py docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
middleware.py sentry: Ignore all SuspiciousOperation loggers. 2020-08-12 16:08:38 -07:00
models.py attachments: Add is_web_public field. 2020-08-12 17:26:03 -07:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00