Anders Kaseorg
7bd5ec28ae
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-10-04 08:47:07 -07:00
Alex Vandiver
94dad72b75
upload: Use @uppy/tus to upload files through tusd.
...
Replace the XHRUpload plugin for Uppy with the Tus plugin, to make use
of the new tusd endpoint. This allows for resumable files, as well as
files which are larger than comfortably fit in memory (the source of
the old 25MB limit).
MAX_FILE_UPLOAD_SIZE is still applied, but can safely be raised above
25MB.
Fixes : #9391 .
Co-authored-by: Brijmohan Siyag <brijsiyag@gmail.com>
2024-09-19 11:37:29 -07:00
Anders Kaseorg
892f988404
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-26 07:44:14 -07:00
Alex Vandiver
2840e68548
static: Pre-compress with zopfli, for better compression.
...
Zopfli[^1] performs very good, but time-intensive, zlib compression.
It is hence only suitable for pre-compressing objects, not on-the-fly
compression.
Use a webpack plugin to write pre-compressed versions of JS and CSS
assets using Zopfli, and configure nginx to serve those assets when
`Accept-Encoding: gzip` is provided.
This reduces the size of the JS and CSS assets on initial pageload
from 1422872 bytes to 1108267 bytes, or about a 22% savings.
[^1]: https://github.com/google/zopfli
2024-08-13 09:01:06 -07:00
Anders Kaseorg
3a535cacdc
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-07-16 23:25:37 -07:00
adnan-td
4ecb46964f
dependencies: Add textarea-caret.
2024-07-11 16:04:15 -07:00
Aman Agrawal
2b33a5af83
tippy: Add patch to avoid text Node as target in Firefox.
...
In Firefox, event targets can be pseudo elements like text
nodes which don't have .closest method. This results in error
when delegate tries to handle trigger for a text node target.
Since https://github.com/atomiks/tippyjs/pull/1166 has no
response from the developer, we decided to apply this patch
ourselves.
2024-07-05 10:15:45 -07:00
Aman Agrawal
f27488adc9
giphy: Upgrade giphy to implement TODO.
...
Upgraded to use the tabindex support provided by giphy itself.
2024-06-27 09:19:23 -07:00
Anders Kaseorg
3dccb72519
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-06-26 21:34:18 -07:00
Shubham Padia
d0ba886df8
dependencies: Update simplebar to 6.2.7.
...
We need this update to configure tabIndex for simplebar.
2024-06-20 10:25:51 -07:00
Anders Kaseorg
a4042d8a5a
dependencies: Add confusing-browser-globals.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-06-07 16:10:39 -07:00
Varun Singh
3c79b07a56
dependencies: Add @types/js-cookie to devDependencies.
2024-06-04 08:50:07 -07:00
Anders Kaseorg
e5ee43a1fb
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-26 19:23:31 -07:00
Anders Kaseorg
08a50cf74b
dependencies: Patch @types/plotly.js for exactOptionalPropertyTypes.
...
Submitted upstream:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69621
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-16 08:58:20 -07:00
Anders Kaseorg
e74ed28f4f
dependencies: Patch bad triple-slash reference out of @uppy/core types.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-15 10:53:09 -07:00
Anders Kaseorg
6914d3151d
dependencies: Add @types/is-url to devDependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-14 14:12:05 -07:00
Anders Kaseorg
d63a9e23eb
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:46:03 -07:00
Anders Kaseorg
da2833319a
dependencies: Move babel-plugin-istanbul to devDependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
03aa2dd596
dependencies: Move @types/* to devDependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
8b4cb2bec7
dependencies: Remove unused @types/koa-bodyparser.
...
It’s been unused since its introduction in commit
c13e3dee24
. (koa-bodyparser is not
@koa/bodyparser; the latter has built-in TypeScript support.)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
c9a9d7b914
dependencies: Remove unused @types/clean-css.
...
It’s unused since commit 79b88b79bb
(#16649 ).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
f56f655844
dependencies: Remove openapi-types.
...
This is a transitive dependency.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
5fdba3dc9d
dependencies: Remove unused config-ini-parser.
...
It’s been unused since its introduction in commit
c13e3dee24
(#29198 ), and also not
permissively licensed.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
43874cb934
dependencies: Remove unused @sentry/integrations.
...
It’s unused since commit 75008d5f50
(#24849 ).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-25 16:04:15 -07:00
Anders Kaseorg
b9e55f2c4d
eslint: Enable no-jquery/no-append-html.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-04 10:11:57 -07:00
Anders Kaseorg
328ac38b0d
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-29 09:37:38 -07:00
Alex Vandiver
bfe4017663
katex_server: Add Prometheus metrics.
2024-03-15 15:34:12 -07:00
Alex Vandiver
c13e3dee24
katex: Replace subprocess call with minimal external service.
...
Replace a separate call to subprocess, starting `node` from scratch,
with an optional standalone node Express service which performs the
rendering. In benchmarking, this reduces the overhead of a KaTeX call
from 120ms to 2.8ms. This is notable because enough calls to KaTeX in
a single message would previously time out the whole message
rendering.
The service is optional because he majority of deployments do not use
enough LaTeX to merit the additional memory usage (60Mb).
Fixes : #17425 .
2024-03-15 15:34:12 -07:00
Anders Kaseorg
275843f9dd
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-26 11:59:02 -08:00
Anders Kaseorg
ac166dcfd4
dependencies: Upgrade JavaScript dependencies.
...
Fixes #26969 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-22 12:46:40 -08:00
Anders Kaseorg
1a9441ec70
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 16:14:26 -08:00
Anders Kaseorg
202d00ebc6
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-07 14:29:32 -08:00
Anders Kaseorg
8a875b119f
people: Remove final use of date-fns-tz.
...
date-fns-tz does not handle daylight saving time correctly, and can be
replaced with modern browser APIs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-19 15:21:34 -08:00
Anders Kaseorg
dadf035366
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-08 16:11:15 -08:00
Anders Kaseorg
519a2af2a4
stream_color: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-02 08:36:44 -07:00
Anders Kaseorg
8f564749bb
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-09 14:16:23 -07:00
Aman Agrawal
724e76ee80
package: Install `open sans` variable font.
...
This will be used by our new /hello page.
2023-09-27 12:15:03 -07:00
Anders Kaseorg
c6b60f6490
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-15 14:09:49 -07:00
Anders Kaseorg
460eb04a2a
dependencies: Patch source-sans to correct format() for variable fonts.
...
https://github.com/adobe-fonts/source-sans/pull/262
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-13 17:08:53 -07:00
Anders Kaseorg
170a857bc1
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-17 18:16:47 -07:00
Junyao Chen
6757c5a9f8
stats: Install @types/plotly.js for type check.
...
This is a prep commit for typescript migration for `stats.js`,
which used a third party module `plotly.js` that doesn't come
with types.
2023-08-17 11:35:00 -07:00
Junyao Chen
4730cdab17
dependencies: Install `@types/jquery.validation for type annotation.
...
`signup.js` uses `jquery-validation` plugin, which is a javascript
package shipped without type definitions. Installing its corresponding
types help with TypeScript migration by allowing types annotations
involving the plugin methods and obejcts.
2023-08-14 16:00:20 -07:00
Karl Stolley
da4e0c4073
compose: Allow URLs to be pasted onto selected text.
...
Fixes : #18692
2023-08-09 15:35:14 -07:00
Anders Kaseorg
7746e11486
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-07-21 15:58:42 -07:00
Zixuan James Li
f89552c226
integrations: Add missing dependencies for screenshots.
...
message-screenshot.js stopped working because these dependencies were not
added to package.json.
2023-07-17 09:23:01 -07:00
Anders Kaseorg
8a2086fb4c
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-06-05 21:51:26 -07:00
Anders Kaseorg
3e6a212ace
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-05-12 11:12:20 -07:00
Alex Vandiver
e2a6a0c440
sentry: Stop importing from `@sentry/tracing`, which is deprecated.
...
This was deprecated in 7.47.0[^1].
[^1]: https://github.com/getsentry/sentry-javascript/releases/tag/7.47.0
2023-05-09 13:16:28 -07:00
Alex Vandiver
cadfbcac76
dependencies: Upgrade Sentry libraries.
2023-05-09 13:16:28 -07:00
Anders Kaseorg
b8023da17a
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-04-25 22:18:48 -07:00