Alex Vandiver
475d4800f9
thumbnailing: Add pyvips dependency.
2024-06-20 23:06:08 -04:00
Mateusz Mandera
4917e01ffb
push_notifications: Migrate to FCM HTTP v1 API.
...
The legacy API we use via python-gcm is deprecated and about to be
disabled.
Fixes #29768 .
2024-06-17 18:26:26 -07:00
Anders Kaseorg
fd55da4ed8
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-31 14:32:33 -07:00
Anders Kaseorg
f72f156c0e
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-07 13:11:28 -07:00
Anders Kaseorg
f13e94d9ae
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-06 12:56:30 -07:00
Anders Kaseorg
3b4527843d
requirements: Upgrade Django to 5.0.5.dev.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-18 12:39:47 -07:00
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
Anders Kaseorg
0d1ed06762
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-10 15:32:37 -07:00
Anders Kaseorg
70914b0475
Remove support for Ubuntu 20.04 and Debian 11.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-01 13:27:39 -07:00
Anders Kaseorg
e3340774ce
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-21 08:59:17 -07:00
Anders Kaseorg
0d30ae8f44
requirements: Fix Python 3.12 issue in pip._vendor.pkg_resources.
...
76ef30913d
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-15 17:37:11 -07:00
Anders Kaseorg
e00641b0c4
requirements: Move pip and zoneinfo forks to zulip organization.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-07 18:44:04 -05:00
Anders Kaseorg
119900120e
requirements: Patch pip 20 to run on Python 3.12.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-01 17:38:08 -08:00
Anders Kaseorg
c85b2edbd4
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-29 16:24:43 -08:00
Alex Vandiver
dfdaddea38
kandra: Add a memcached exporter using bmemcached.
2024-02-23 13:32:04 -08:00
Anders Kaseorg
1fdc09a88f
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-22 21:57:38 -08:00
Anders Kaseorg
d9f2f23c6a
requirements: Upgrade to openapi-core pre-release.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-05 19:57:21 -05:00
Alex Vandiver
437361de32
requirements: Revert orjson upgrade due to segfault.
...
Version 3.9.11 and 3.9.12 are susceptible to random segfaults:
- https://github.com/ijl/orjson/issues/452
2024-02-05 08:42:29 -08:00
Anders Kaseorg
93198a19ed
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Anders Kaseorg
396e995502
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-07 14:41:01 -08:00
Anders Kaseorg
1efc6efd23
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-01 18:52:00 -08:00
Greg Price
40e5243c35
requirements: Support multiple APNs topics in aioapns.
2023-11-16 12:03:30 -08:00
Anders Kaseorg
f4e7a11c35
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-15 15:27:54 -08:00
Anders Kaseorg
7807bff526
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-09 11:55:16 -07:00
Anders Kaseorg
9a53baea93
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-15 10:12:26 -07:00
Anders Kaseorg
cf4791264c
python: Replace functools.partial with type-safe returns.curry.partial.
...
The type annotation for functools.partial uses unchecked Any for all
the function parameters (both early and late). returns.curry.partial
uses a mypy plugin to check the parameters safely.
https://returns.readthedocs.io/en/latest/pages/curry.html
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-11 18:03:45 -07:00
Anders Kaseorg
1905df2342
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-09 12:53:39 -07:00
Zixuan James Li
7da4e73d57
requirements: Add pydantic and configure mypy plugin.
...
Along with pydantic we add annotated_types for Annotated utils that can
be used for more specific validation constraints.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2023-09-08 08:20:17 -07:00
Alex Vandiver
2612a3b657
requirements: Downgrade orjson to 3.9.2.
...
orjson 3.9.3 introduced a crash (ijl/orjson#415 ) -- revert to the last
version before the bug.
2023-08-31 10:13:10 -07:00
Alex Vandiver
2e760f18ac
requirements: Use greenlet>=3.0.0a1 to fix uwsgi segfault.
...
Pull in the fix for python-greenlet/greenlet#330 .
2023-08-30 11:58:30 -07:00
Alex Vandiver
733c6da298
push_notifications: Upgrade aioapns.
2023-08-30 11:56:52 -07:00
Anders Kaseorg
4300ec3293
requirements: Fix transitively replaced two_factor migrations.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-23 22:22:15 -07:00
evykassirer
0289beb784
emoji: Match emoji sequences in markdown.
...
Fixes #11767 .
Previously multi-character emoji sequences weren't matched in the
emoji regex, so we'd convert the characters to separate images,
breaking the intended display.
This change allows us to match the full emoji sequence, and
therefore show the correct image.
2023-08-23 16:18:15 -07:00
Anders Kaseorg
113ac6eb98
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-18 21:05:53 -07:00
Anders Kaseorg
e32366638a
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-17 17:05:34 -07:00
Anders Kaseorg
29bdaaf5b5
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-07-19 16:14:59 -07:00
Anders Kaseorg
784622ee5d
requirements: Upgrade Python requirements.
2023-06-20 16:17:55 -07:00
Anders Kaseorg
66501a8eae
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-26 22:09:18 -07:00
Anders Kaseorg
fea0ae1a2b
requirements: Switch to released jsx-lexer fix (same code).
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-23 13:47:36 -07:00
Anders Kaseorg
067a7a3a0f
Fix jsx-lexer to avoid breaking Pygments TypeScriptLexer.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-15 14:52:32 -07:00
Anders Kaseorg
b110d88389
requirements: Switch talon fork to a maintained cchardet fork.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-11 15:52:37 -07:00
Anders Kaseorg
d0481be3e5
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-10 19:44:47 -07:00
Anders Kaseorg
03b3c8522d
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-04-25 21:20:33 -07:00
Anders Kaseorg
9db3451333
Remove statsd support.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-04-25 19:58:16 -07:00
Zixuan James Li
8b43a50a78
requirements: Add uri-template.
...
This is later used for supporting RFC 6570 URI Template in place of the
URL format string that we were using for linkifiers.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2023-04-19 12:20:49 -07:00
Alex Vandiver
e536a14b61
report_error: Remove API endpoint for client error reporting.
2023-04-13 14:59:58 -07:00
Anders Kaseorg
2c20028aa4
requirements: Upgrade Django to 4.2.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-04-06 17:58:44 -07:00
Anders Kaseorg
a881918a05
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-04-03 22:39:21 -07:00
Daniil Fadeev
5c6f842b28
emails: Replace Premailer with CSS-inline.
...
Primary goal of library replacement is improving execution speed.
This commit should not affect the functionality of the system
or make any changes to it.
2023-04-03 15:15:05 -07:00
Zixuan James Li
24f24d236d
cache: Use QuerySetAny for isinstance check.
...
Previously, `QuerySet` does not support isinstance check since it is
defined to be generic in django-stubs. In a recent update, such check is
possible by using `QuerySetAny`, a non-generic alias of `QuerySet`.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2023-03-17 08:38:20 -07:00