zulip/zerver
Alex Vandiver 693b959656 markdown: Switch to directly URL-escaping CSS URLs.
soupsieve is a heavy-weight dependency, and Tornado pulls it in by way
of markdown rendering; since we are only using it for a very simple
process, perform that manually.

Per CSS spec[^1]:

> In quoted <string> url()s, only newlines and the character used to
> quote the string need to be escaped.

[^1]: https://drafts.csswg.org/css-values/#urls
2024-04-16 10:48:51 -07:00
..
actions custom_profile_fields: Make required field optional during update. 2024-04-15 16:52:11 -07:00
data_import refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP. 2024-03-21 16:39:33 -07:00
integration_fixtures/nagios
lib markdown: Switch to directly URL-escaping CSS URLs. 2024-04-16 10:48:51 -07:00
management runtornado: Honor the --skip-checks flag. 2024-04-15 14:29:27 -07:00
migrations realm: Change implementation approach for upload_quota_gb. 2024-04-15 15:08:56 -07:00
models realms: Add caching to the get_seat_count calculation for upload limit. 2024-04-15 15:08:56 -07:00
openapi events: Fix realm_upload_quota_mib value to be in MiB. 2024-04-15 15:08:56 -07:00
tests markdown: Switch to directly URL-escaping CSS URLs. 2024-04-16 10:48:51 -07:00
tornado narrow: Move python-only implemenation into its own file. 2024-04-16 09:48:11 -07:00
transaction_tests ruff: Fix PLW0108 Lambda may be unnecessary. 2024-03-01 09:30:04 -08:00
views documentation: Move OpenGraph description updating out of middleware. 2024-04-16 10:41:45 -07:00
webhooks integration: Split 'opened_or_update_pull_request' event type. 2024-04-11 11:23:08 -07:00
worker ruff: Fix UP041 Replace aliased errors with `TimeoutError`. 2024-04-01 18:32:52 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
decorator.py test_decorators: Replace some deleted tests. 2024-03-29 09:39:34 -07:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py settings: Add permission to enforce unique names in realm. 2024-04-02 14:55:59 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py documentation: Move OpenGraph description updating out of middleware. 2024-04-16 10:41:45 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00