Commit Graph

58 Commits

Author SHA1 Message Date
Shubham Padia 33ef160b06 help-beta: Create initial starlight project.
We are adding MDX files to `.gitignore` for now since they are
just a result of a build process, once the migration is done,
we will not ignore them.
We're using PNPM workspaces to manage this project.
The new project's tsconfig.json has been copied from the current
root tsconfig.json while omitting some details that are only
relevant to that project.
`help-beta/src/env.d.ts` is a type declaration file auto-generated
by Astro. See https://github.com/withastro/astro/issues/6013.
2024-08-02 18:18:01 -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 8772a70d15 dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-13 14:46:30 -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 65ea2f7a2e dependencies: Upgrade zxvcbn-ts to restore Safari support.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-06-07 15:38:52 -04: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
sbansal1999 a4f05af256 dependencies: Add "minimalistic-assert" and its type definitions. 2023-04-25 09:31:15 -07:00