From d1de84a07e21645d886ab7e7d28ba336f5e089df Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 16 Nov 2024 13:45:14 -0500 Subject: [PATCH 001/145] Reduce build time (#7965) * Test using xlarge * wip * wip --- .circleci/config.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index edba1a5a38..37169b47a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,12 +4,6 @@ defaults: &defaults working_directory: ~/outline docker: - image: cimg/node:20.10 - - image: cimg/redis:5.0 - - image: cimg/postgres:14.2 - environment: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: password - POSTGRES_DB: circle_test resource_class: large environment: NODE_ENV: test @@ -78,6 +72,14 @@ jobs: test-server: <<: *defaults parallelism: 3 + docker: + - image: cimg/node:20.10 + - image: cimg/redis:5.0 + - image: cimg/postgres:14.2 + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: password + POSTGRES_DB: circle_test steps: - checkout - restore_cache: From 19ea7ee52b82904ff5b09896de23afca818d8924 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 16 Nov 2024 19:57:19 -0500 Subject: [PATCH 002/145] Remove sourcemap generation in bundle size calc (#7966) --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index faf09a5df3..01b91564d3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -159,7 +159,7 @@ export default () => build: { outDir: "./build/app", manifest: true, - sourcemap: true, + sourcemap: process.env.CI ? false : "hidden", minify: "terser", // Prevent asset inling as it does not conform to CSP rules assetsInlineLimit: 0, From c222782534fe70313791079977f2099f4da31768 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 17 Nov 2024 09:51:46 -0500 Subject: [PATCH 003/145] Upgrade Mermaid script in exported HTML, related #7964 --- server/models/helpers/ProsemirrorHelper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/models/helpers/ProsemirrorHelper.tsx b/server/models/helpers/ProsemirrorHelper.tsx index 99104df4ff..9ac99647fc 100644 --- a/server/models/helpers/ProsemirrorHelper.tsx +++ b/server/models/helpers/ProsemirrorHelper.tsx @@ -558,7 +558,7 @@ export class ProsemirrorHelper { // Inject Mermaid script if (mermaidElements.length) { element.innerHTML = ` - import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.esm.min.mjs'; + import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs'; mermaid.initialize({ startOnLoad: true, fontFamily: "inherit", From 86c3ea8e9d78a639d54c35df4904f071c28586b0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 17 Nov 2024 10:00:52 -0500 Subject: [PATCH 004/145] fix: Copy toolbar positioning --- shared/editor/components/Styles.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 8c5f6188e8..0568113948 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -1310,7 +1310,9 @@ mark { } .ProseMirror[contenteditable="false"] .code-block[data-language=mermaidjs] { - display: none; + height: 0; + overflow: hidden; + margin: -0.5em 0 0 0; } .code-block.with-line-numbers { From 8efa601967c63cea123345884d323a34feb0483c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:40:53 -0800 Subject: [PATCH 005/145] chore(deps-dev): bump @relative-ci/agent from 4.2.12 to 4.2.13 (#7975) Bumps [@relative-ci/agent](https://github.com/relative-ci/agent) from 4.2.12 to 4.2.13. - [Release notes](https://github.com/relative-ci/agent/releases) - [Commits](https://github.com/relative-ci/agent/compare/v4.2.12...v4.2.13) --- updated-dependencies: - dependency-name: "@relative-ci/agent" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 5203ffb165..e6cab7a7de 100644 --- a/package.json +++ b/package.json @@ -254,7 +254,7 @@ "@babel/cli": "^7.25.9", "@babel/preset-typescript": "^7.24.1", "@faker-js/faker": "^8.4.1", - "@relative-ci/agent": "^4.2.12", + "@relative-ci/agent": "^4.2.13", "@testing-library/react": "^12.0.0", "@types/addressparser": "^1.0.3", "@types/body-scroll-lock": "^3.1.2", diff --git a/yarn.lock b/yarn.lock index 93d1011b2e..cf599e753e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1796,15 +1796,15 @@ dependencies: "@bull-board/api" "4.12.2" -"@bundle-stats/plugin-webpack-filter@4.15.1": - version "4.15.1" - resolved "https://registry.yarnpkg.com/@bundle-stats/plugin-webpack-filter/-/plugin-webpack-filter-4.15.1.tgz#486771ba1ff2233212862d87532ebe53553dc7ca" - integrity sha512-NCQy/KvCeGNyRfcB4IoMFIfCmA4U448rHCnVIV5l4xr1QAaeVR2fQqdhoNZEzwKvsmbpfEk3fTwNuB7ZPIGBhw== +"@bundle-stats/plugin-webpack-filter@4.16.0": + version "4.16.0" + resolved "https://registry.yarnpkg.com/@bundle-stats/plugin-webpack-filter/-/plugin-webpack-filter-4.16.0.tgz#9d3bd29cc3b896411350b7c34ed8658bf88a3f2a" + integrity sha512-+U5l8GSIvARjfPOrp+Nxjw0dGkr9rQVGtof5dqmamt7RmYUBnVsjZy85N4LJypivjEzSFOlRl79i/oqSCCT1/A== -"@bundle-stats/plugin-webpack-validate@4.15.1": - version "4.15.1" - resolved "https://registry.yarnpkg.com/@bundle-stats/plugin-webpack-validate/-/plugin-webpack-validate-4.15.1.tgz#c67c60eb837d09d1eedc8769cef45608fa29b334" - integrity sha512-VycwooUWK3yCAWK2fKN7Qr2ies+Ujzvq0LmAs7zYUUkCKfQgBeyY/vLfq8WrsS17poVJ+05XCJQavQm6IQEldg== +"@bundle-stats/plugin-webpack-validate@4.16.0": + version "4.16.0" + resolved "https://registry.yarnpkg.com/@bundle-stats/plugin-webpack-validate/-/plugin-webpack-validate-4.16.0.tgz#b9618787b1410527c0dae2a746605eb0fdf7f461" + integrity sha512-2i+iGMOBS1uPy7nZR9apHbdx8x+FBO9iW69J3IOvAoliwE/KHl2mBpXAUhg8U4f/Sv3ujfue2VFaVlP1gIqyLQ== dependencies: lodash "4.17.21" superstruct "2.0.2" @@ -3434,13 +3434,13 @@ dependencies: "@react-types/shared" "^3.14.1" -"@relative-ci/agent@^4.2.12": - version "4.2.12" - resolved "https://registry.yarnpkg.com/@relative-ci/agent/-/agent-4.2.12.tgz#de1b9697aaad78c79a3b802059e7bb69a63dc473" - integrity sha512-391B0ABbQYexBe0CHTd8QiQuW5o/qKZRdhdR+rHe0MJpmYSXFEI54pU/EJgZByAjm5c1TYKXafyn0mMAMZ0iKQ== +"@relative-ci/agent@^4.2.13": + version "4.2.13" + resolved "https://registry.yarnpkg.com/@relative-ci/agent/-/agent-4.2.13.tgz#0cfd1732767dbf4e8f27e6b41c040d1a18cff0b2" + integrity sha512-vDNtYz38vScbK6NZ2FD8QxvjgQGKtY104wyassL3qMLYrYTdWUDqDiAJC7lHsh/LlUZOakv9M9lIPGVU99ue8Q== dependencies: - "@bundle-stats/plugin-webpack-filter" "4.15.1" - "@bundle-stats/plugin-webpack-validate" "4.15.1" + "@bundle-stats/plugin-webpack-filter" "4.16.0" + "@bundle-stats/plugin-webpack-validate" "4.16.0" core-js "3.38.1" cosmiconfig "9.0.0" debug "4.3.7" From cae8de7c7abe21c81ac76d6e57b51b527d2e2e12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:41:05 -0800 Subject: [PATCH 006/145] chore(deps): bump @octokit/auth-app from 6.1.2 to 6.1.3 (#7974) Bumps [@octokit/auth-app](https://github.com/octokit/auth-app.js) from 6.1.2 to 6.1.3. - [Release notes](https://github.com/octokit/auth-app.js/releases) - [Commits](https://github.com/octokit/auth-app.js/compare/v6.1.2...v6.1.3) --- updated-dependencies: - dependency-name: "@octokit/auth-app" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index e6cab7a7de..09613d80c4 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@hocuspocus/server": "1.1.2", "@joplin/turndown-plugin-gfm": "^1.0.49", "@juggle/resize-observer": "^3.4.0", - "@octokit/auth-app": "^6.1.2", + "@octokit/auth-app": "^6.1.3", "@outlinewiki/koa-passport": "^4.2.1", "@outlinewiki/passport-azure-ad-oauth2": "^0.1.0", "@renderlesskit/react": "^0.11.0", diff --git a/yarn.lock b/yarn.lock index cf599e753e..84b26b7e4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2876,10 +2876,10 @@ "@octokit/types" "^12.0.0" "@octokit/webhooks" "^12.0.4" -"@octokit/auth-app@^6.0.0", "@octokit/auth-app@^6.1.2": - version "6.1.2" - resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-6.1.2.tgz#19ff1d7f2ffa5ed630d468fa45330ea59b39b47c" - integrity sha512-fWjIOpxnL8/YFY3kqquciFQ4o99aCqHw5kMFoGPYbz/h5HNZ11dJlV9zag5wS2nt0X1wJ5cs9BUo+CsAPfW4jQ== +"@octokit/auth-app@^6.0.0", "@octokit/auth-app@^6.1.3": + version "6.1.3" + resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-6.1.3.tgz#68372159aa7b3c80d0c2319f96e1d93e2e5614d2" + integrity sha512-dcaiteA6Y/beAlDLZOPNReN3FGHu+pARD6OHfh3T9f3EO09++ec+5wt3KtGGSSs2Mp5tI8fQwdMOEnrzBLfgUA== dependencies: "@octokit/auth-oauth-app" "^7.1.0" "@octokit/auth-oauth-user" "^4.1.0" @@ -2887,7 +2887,7 @@ "@octokit/request-error" "^5.1.0" "@octokit/types" "^13.1.0" deprecation "^2.3.1" - lru-cache "^10.0.0" + lru-cache "npm:@wolfy1339/lru-cache@^11.0.2-patch.1" universal-github-app-jwt "^1.1.2" universal-user-agent "^6.0.0" @@ -11455,11 +11455,6 @@ lop@^0.4.1: option "~0.2.1" underscore "^1.13.1" -lru-cache@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484" - integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== - lru-cache@^4.1.5: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" @@ -11487,6 +11482,11 @@ lru-cache@^7.14.0: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.0.tgz#21be64954a4680e303a09e9468f880b98a0b3c7f" integrity "sha1-Ib5klUpGgOMDoJ6UaPiAuYoLPH8= sha512-EIRtP1GrSJny0dqb50QXRUNBxHJhcpxHC++M5tD7RYbvLLn5KVWKsbyswSSqDuU15UFi3bgTQIY8nhDMeF6aDQ==" +"lru-cache@npm:@wolfy1339/lru-cache@^11.0.2-patch.1": + version "11.0.2-patch.1" + resolved "https://registry.yarnpkg.com/@wolfy1339/lru-cache/-/lru-cache-11.0.2-patch.1.tgz#bb648b660478099c9022ee71a00b80603daf7294" + integrity sha512-BgYZfL2ADCXKOw2wJtkM3slhHotawWkgIRRxq4wEybnZQPjvAp71SPX35xepMykTw8gXlzWcWPTY31hlbnRsDA== + lru-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" From 8204ac343f3499c61795adb2a5ab5e7b34c403cb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 18 Nov 2024 17:48:36 -0500 Subject: [PATCH 007/145] chore: Upgrade Sentry/AWS --- package.json | 12 +- yarn.lock | 1539 +++++++++++++++++++++++++------------------------- 2 files changed, 766 insertions(+), 785 deletions(-) diff --git a/package.json b/package.json index 09613d80c4..4b5b6c026b 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,11 @@ "> 0.25%, not dead" ], "dependencies": { - "@aws-sdk/client-s3": "3.616.0", - "@aws-sdk/lib-storage": "3.616.0", - "@aws-sdk/s3-presigned-post": "3.616.0", - "@aws-sdk/s3-request-presigner": "3.616.0", - "@aws-sdk/signature-v4-crt": "^3.616.0", + "@aws-sdk/client-s3": "3.693.0", + "@aws-sdk/lib-storage": "3.693.0", + "@aws-sdk/s3-presigned-post": "3.693.0", + "@aws-sdk/s3-request-presigner": "3.693.0", + "@aws-sdk/signature-v4-crt": "^3.693.0", "@babel/core": "^7.24.7", "@babel/plugin-proposal-decorators": "^7.24.7", "@babel/plugin-transform-class-properties": "^7.24.7", @@ -83,7 +83,7 @@ "@outlinewiki/koa-passport": "^4.2.1", "@outlinewiki/passport-azure-ad-oauth2": "^0.1.0", "@renderlesskit/react": "^0.11.0", - "@sentry/node": "^7.117.0", + "@sentry/node": "^7.119.0", "@sentry/react": "^7.119.0", "@tippyjs/react": "^4.2.6", "@types/form-data": "^2.5.0", diff --git a/yarn.lock b/yarn.lock index 84b26b7e4b..07d05b0046 100644 --- a/yarn.lock +++ b/yarn.lock @@ -96,7 +96,7 @@ dependencies: tslib "^2.6.2" -"@aws-crypto/util@^5.2.0": +"@aws-crypto/util@5.2.0", "@aws-crypto/util@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-5.2.0.tgz#71284c9cffe7927ddadac793c14f14886d3876da" integrity sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ== @@ -105,591 +105,569 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.6.2" -"@aws-sdk/client-s3@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.616.0.tgz#3b86643233908a91de5c9bb13b63e0f728dd4836" - integrity sha512-6gyZnBlAgOU8cwNqPhFO9s6maGI4/iHV3cmqvQgUn3uqhi1EgTSZSsTMuRzKEgBpTGgC+9Bm6djKqOderMqjdA== +"@aws-sdk/client-s3@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.693.0.tgz#188b621498ffaeb7b1ea5794f61e3e8d9a4bcac2" + integrity sha512-vgGI2e0Q6pzyhqfrSysi+sk/i+Nl+lMon67oqj/57RcCw9daL1/inpS+ADuwHpiPWkrg+U0bOXnmHjkLeTslJg== dependencies: "@aws-crypto/sha1-browser" "5.2.0" "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/client-sso-oidc" "3.616.0" - "@aws-sdk/client-sts" "3.616.0" - "@aws-sdk/core" "3.616.0" - "@aws-sdk/credential-provider-node" "3.616.0" - "@aws-sdk/middleware-bucket-endpoint" "3.616.0" - "@aws-sdk/middleware-expect-continue" "3.616.0" - "@aws-sdk/middleware-flexible-checksums" "3.616.0" - "@aws-sdk/middleware-host-header" "3.616.0" - "@aws-sdk/middleware-location-constraint" "3.609.0" - "@aws-sdk/middleware-logger" "3.609.0" - "@aws-sdk/middleware-recursion-detection" "3.616.0" - "@aws-sdk/middleware-sdk-s3" "3.616.0" - "@aws-sdk/middleware-signing" "3.616.0" - "@aws-sdk/middleware-ssec" "3.609.0" - "@aws-sdk/middleware-user-agent" "3.616.0" - "@aws-sdk/region-config-resolver" "3.614.0" - "@aws-sdk/signature-v4-multi-region" "3.616.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-endpoints" "3.614.0" - "@aws-sdk/util-user-agent-browser" "3.609.0" - "@aws-sdk/util-user-agent-node" "3.614.0" - "@aws-sdk/xml-builder" "3.609.0" - "@smithy/config-resolver" "^3.0.5" - "@smithy/core" "^2.2.7" - "@smithy/eventstream-serde-browser" "^3.0.4" - "@smithy/eventstream-serde-config-resolver" "^3.0.3" - "@smithy/eventstream-serde-node" "^3.0.4" - "@smithy/fetch-http-handler" "^3.2.2" - "@smithy/hash-blob-browser" "^3.1.2" - "@smithy/hash-node" "^3.0.3" - "@smithy/hash-stream-node" "^3.1.2" - "@smithy/invalid-dependency" "^3.0.3" - "@smithy/md5-js" "^3.0.3" - "@smithy/middleware-content-length" "^3.0.4" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/middleware-retry" "^3.0.10" - "@smithy/middleware-serde" "^3.0.3" - "@smithy/middleware-stack" "^3.0.3" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/node-http-handler" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" + "@aws-sdk/client-sso-oidc" "3.693.0" + "@aws-sdk/client-sts" "3.693.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/credential-provider-node" "3.693.0" + "@aws-sdk/middleware-bucket-endpoint" "3.693.0" + "@aws-sdk/middleware-expect-continue" "3.693.0" + "@aws-sdk/middleware-flexible-checksums" "3.693.0" + "@aws-sdk/middleware-host-header" "3.693.0" + "@aws-sdk/middleware-location-constraint" "3.693.0" + "@aws-sdk/middleware-logger" "3.693.0" + "@aws-sdk/middleware-recursion-detection" "3.693.0" + "@aws-sdk/middleware-sdk-s3" "3.693.0" + "@aws-sdk/middleware-ssec" "3.693.0" + "@aws-sdk/middleware-user-agent" "3.693.0" + "@aws-sdk/region-config-resolver" "3.693.0" + "@aws-sdk/signature-v4-multi-region" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-endpoints" "3.693.0" + "@aws-sdk/util-user-agent-browser" "3.693.0" + "@aws-sdk/util-user-agent-node" "3.693.0" + "@aws-sdk/xml-builder" "3.693.0" + "@smithy/config-resolver" "^3.0.11" + "@smithy/core" "^2.5.2" + "@smithy/eventstream-serde-browser" "^3.0.12" + "@smithy/eventstream-serde-config-resolver" "^3.0.9" + "@smithy/eventstream-serde-node" "^3.0.11" + "@smithy/fetch-http-handler" "^4.1.0" + "@smithy/hash-blob-browser" "^3.1.8" + "@smithy/hash-node" "^3.0.9" + "@smithy/hash-stream-node" "^3.1.8" + "@smithy/invalid-dependency" "^3.0.9" + "@smithy/md5-js" "^3.0.9" + "@smithy/middleware-content-length" "^3.0.11" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/middleware-retry" "^3.0.26" + "@smithy/middleware-serde" "^3.0.9" + "@smithy/middleware-stack" "^3.0.9" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/node-http-handler" "^3.3.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/url-parser" "^3.0.9" "@smithy/util-base64" "^3.0.0" "@smithy/util-body-length-browser" "^3.0.0" "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.10" - "@smithy/util-defaults-mode-node" "^3.0.10" - "@smithy/util-endpoints" "^2.0.5" - "@smithy/util-retry" "^3.0.3" - "@smithy/util-stream" "^3.1.0" + "@smithy/util-defaults-mode-browser" "^3.0.26" + "@smithy/util-defaults-mode-node" "^3.0.26" + "@smithy/util-endpoints" "^2.1.5" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-retry" "^3.0.9" + "@smithy/util-stream" "^3.3.0" "@smithy/util-utf8" "^3.0.0" - "@smithy/util-waiter" "^3.1.2" + "@smithy/util-waiter" "^3.1.8" tslib "^2.6.2" -"@aws-sdk/client-sso-oidc@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.616.0.tgz#eb298b1c543465a5f7ebd28f8148d68654edf9d1" - integrity sha512-YY1hpYS/G1uRGjQf88dL8VLHkP/IjGxKeXdhy+JnzMdCkAWl3V9j0fEALw40NZe0x79gr6R2KUOUH/IKYQfUmg== +"@aws-sdk/client-sso-oidc@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.693.0.tgz#2fd7f93bd81839f5cd08c5e6e9a578b80572d3c4" + integrity sha512-UEDbYlYtK/e86OOMyFR4zEPyenIxDzO2DRdz3fwVW7RzZ94wfmSwBh/8skzPTuY1G7sI064cjHW0b0QG01Sdtg== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.616.0" - "@aws-sdk/credential-provider-node" "3.616.0" - "@aws-sdk/middleware-host-header" "3.616.0" - "@aws-sdk/middleware-logger" "3.609.0" - "@aws-sdk/middleware-recursion-detection" "3.616.0" - "@aws-sdk/middleware-user-agent" "3.616.0" - "@aws-sdk/region-config-resolver" "3.614.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-endpoints" "3.614.0" - "@aws-sdk/util-user-agent-browser" "3.609.0" - "@aws-sdk/util-user-agent-node" "3.614.0" - "@smithy/config-resolver" "^3.0.5" - "@smithy/core" "^2.2.7" - "@smithy/fetch-http-handler" "^3.2.2" - "@smithy/hash-node" "^3.0.3" - "@smithy/invalid-dependency" "^3.0.3" - "@smithy/middleware-content-length" "^3.0.4" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/middleware-retry" "^3.0.10" - "@smithy/middleware-serde" "^3.0.3" - "@smithy/middleware-stack" "^3.0.3" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/node-http-handler" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/credential-provider-node" "3.693.0" + "@aws-sdk/middleware-host-header" "3.693.0" + "@aws-sdk/middleware-logger" "3.693.0" + "@aws-sdk/middleware-recursion-detection" "3.693.0" + "@aws-sdk/middleware-user-agent" "3.693.0" + "@aws-sdk/region-config-resolver" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-endpoints" "3.693.0" + "@aws-sdk/util-user-agent-browser" "3.693.0" + "@aws-sdk/util-user-agent-node" "3.693.0" + "@smithy/config-resolver" "^3.0.11" + "@smithy/core" "^2.5.2" + "@smithy/fetch-http-handler" "^4.1.0" + "@smithy/hash-node" "^3.0.9" + "@smithy/invalid-dependency" "^3.0.9" + "@smithy/middleware-content-length" "^3.0.11" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/middleware-retry" "^3.0.26" + "@smithy/middleware-serde" "^3.0.9" + "@smithy/middleware-stack" "^3.0.9" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/node-http-handler" "^3.3.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/url-parser" "^3.0.9" "@smithy/util-base64" "^3.0.0" "@smithy/util-body-length-browser" "^3.0.0" "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.10" - "@smithy/util-defaults-mode-node" "^3.0.10" - "@smithy/util-endpoints" "^2.0.5" - "@smithy/util-middleware" "^3.0.3" - "@smithy/util-retry" "^3.0.3" + "@smithy/util-defaults-mode-browser" "^3.0.26" + "@smithy/util-defaults-mode-node" "^3.0.26" + "@smithy/util-endpoints" "^2.1.5" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-retry" "^3.0.9" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/client-sso@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.616.0.tgz#d4bbb279daf6b4fde7ec2df9243526eb5119b0c0" - integrity sha512-hwW0u1f8U4dSloAe61/eupUiGd5Q13B72BuzGxvRk0cIpYX/2m0KBG8DDl7jW1b2QQ+CflTLpG2XUf2+vRJxGA== +"@aws-sdk/client-sso@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.693.0.tgz#9cd5e07e57013b8c7980512810d775d7b6f67e36" + integrity sha512-QEynrBC26x6TG9ZMzApR/kZ3lmt4lEIs2D+cHuDxt6fDGzahBUsQFBwJqhizzsM97JJI5YvmJhmihoYjdSSaXA== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.616.0" - "@aws-sdk/middleware-host-header" "3.616.0" - "@aws-sdk/middleware-logger" "3.609.0" - "@aws-sdk/middleware-recursion-detection" "3.616.0" - "@aws-sdk/middleware-user-agent" "3.616.0" - "@aws-sdk/region-config-resolver" "3.614.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-endpoints" "3.614.0" - "@aws-sdk/util-user-agent-browser" "3.609.0" - "@aws-sdk/util-user-agent-node" "3.614.0" - "@smithy/config-resolver" "^3.0.5" - "@smithy/core" "^2.2.7" - "@smithy/fetch-http-handler" "^3.2.2" - "@smithy/hash-node" "^3.0.3" - "@smithy/invalid-dependency" "^3.0.3" - "@smithy/middleware-content-length" "^3.0.4" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/middleware-retry" "^3.0.10" - "@smithy/middleware-serde" "^3.0.3" - "@smithy/middleware-stack" "^3.0.3" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/node-http-handler" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/middleware-host-header" "3.693.0" + "@aws-sdk/middleware-logger" "3.693.0" + "@aws-sdk/middleware-recursion-detection" "3.693.0" + "@aws-sdk/middleware-user-agent" "3.693.0" + "@aws-sdk/region-config-resolver" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-endpoints" "3.693.0" + "@aws-sdk/util-user-agent-browser" "3.693.0" + "@aws-sdk/util-user-agent-node" "3.693.0" + "@smithy/config-resolver" "^3.0.11" + "@smithy/core" "^2.5.2" + "@smithy/fetch-http-handler" "^4.1.0" + "@smithy/hash-node" "^3.0.9" + "@smithy/invalid-dependency" "^3.0.9" + "@smithy/middleware-content-length" "^3.0.11" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/middleware-retry" "^3.0.26" + "@smithy/middleware-serde" "^3.0.9" + "@smithy/middleware-stack" "^3.0.9" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/node-http-handler" "^3.3.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/url-parser" "^3.0.9" "@smithy/util-base64" "^3.0.0" "@smithy/util-body-length-browser" "^3.0.0" "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.10" - "@smithy/util-defaults-mode-node" "^3.0.10" - "@smithy/util-endpoints" "^2.0.5" - "@smithy/util-middleware" "^3.0.3" - "@smithy/util-retry" "^3.0.3" + "@smithy/util-defaults-mode-browser" "^3.0.26" + "@smithy/util-defaults-mode-node" "^3.0.26" + "@smithy/util-endpoints" "^2.1.5" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-retry" "^3.0.9" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/client-sts@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.616.0.tgz#9616c3693d9ae5232ccc12d570f46abe4ec49d2b" - integrity sha512-FP7i7hS5FpReqnysQP1ukQF1OUWy8lkomaOnbu15H415YUrfCp947SIx6+BItjmx+esKxPkEjh/fbCVzw2D6hQ== +"@aws-sdk/client-sts@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.693.0.tgz#9e2c418f4850269635632bee4d1a31057c04bcc5" + integrity sha512-4S2y7VEtvdnjJX4JPl4kDQlslxXEZFnC50/UXVUYSt/AMc5A/GgspFNA5FVz4E3Gwpfobbf23hR2NBF8AGvYoQ== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/client-sso-oidc" "3.616.0" - "@aws-sdk/core" "3.616.0" - "@aws-sdk/credential-provider-node" "3.616.0" - "@aws-sdk/middleware-host-header" "3.616.0" - "@aws-sdk/middleware-logger" "3.609.0" - "@aws-sdk/middleware-recursion-detection" "3.616.0" - "@aws-sdk/middleware-user-agent" "3.616.0" - "@aws-sdk/region-config-resolver" "3.614.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-endpoints" "3.614.0" - "@aws-sdk/util-user-agent-browser" "3.609.0" - "@aws-sdk/util-user-agent-node" "3.614.0" - "@smithy/config-resolver" "^3.0.5" - "@smithy/core" "^2.2.7" - "@smithy/fetch-http-handler" "^3.2.2" - "@smithy/hash-node" "^3.0.3" - "@smithy/invalid-dependency" "^3.0.3" - "@smithy/middleware-content-length" "^3.0.4" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/middleware-retry" "^3.0.10" - "@smithy/middleware-serde" "^3.0.3" - "@smithy/middleware-stack" "^3.0.3" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/node-http-handler" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" + "@aws-sdk/client-sso-oidc" "3.693.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/credential-provider-node" "3.693.0" + "@aws-sdk/middleware-host-header" "3.693.0" + "@aws-sdk/middleware-logger" "3.693.0" + "@aws-sdk/middleware-recursion-detection" "3.693.0" + "@aws-sdk/middleware-user-agent" "3.693.0" + "@aws-sdk/region-config-resolver" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-endpoints" "3.693.0" + "@aws-sdk/util-user-agent-browser" "3.693.0" + "@aws-sdk/util-user-agent-node" "3.693.0" + "@smithy/config-resolver" "^3.0.11" + "@smithy/core" "^2.5.2" + "@smithy/fetch-http-handler" "^4.1.0" + "@smithy/hash-node" "^3.0.9" + "@smithy/invalid-dependency" "^3.0.9" + "@smithy/middleware-content-length" "^3.0.11" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/middleware-retry" "^3.0.26" + "@smithy/middleware-serde" "^3.0.9" + "@smithy/middleware-stack" "^3.0.9" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/node-http-handler" "^3.3.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/url-parser" "^3.0.9" "@smithy/util-base64" "^3.0.0" "@smithy/util-body-length-browser" "^3.0.0" "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.10" - "@smithy/util-defaults-mode-node" "^3.0.10" - "@smithy/util-endpoints" "^2.0.5" - "@smithy/util-middleware" "^3.0.3" - "@smithy/util-retry" "^3.0.3" + "@smithy/util-defaults-mode-browser" "^3.0.26" + "@smithy/util-defaults-mode-node" "^3.0.26" + "@smithy/util-endpoints" "^2.1.5" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-retry" "^3.0.9" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/core@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.616.0.tgz#4d7f79cd62e545e6db677216a17dab84c2b4cda3" - integrity sha512-O/urkh2kECs/IqZIVZxyeyHZ7OR2ZWhLNK7btsVQBQvJKrEspLrk/Fp20Qfg5JDerQfBN83ZbyRXLJOOucdZpw== +"@aws-sdk/core@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.693.0.tgz#437969dd740895a59863d737bad14646bc2e1725" + integrity sha512-v6Z/kWmLFqRLDPEwl9hJGhtTgIFHjZugSfF1Yqffdxf4n1AWgtHS7qSegakuMyN5pP4K2tvUD8qHJ+gGe2Bw2A== dependencies: - "@smithy/core" "^2.2.7" - "@smithy/protocol-http" "^4.0.4" - "@smithy/signature-v4" "^4.0.0" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - fast-xml-parser "4.2.5" + "@aws-sdk/types" "3.692.0" + "@smithy/core" "^2.5.2" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/property-provider" "^3.1.9" + "@smithy/protocol-http" "^4.1.6" + "@smithy/signature-v4" "^4.2.2" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/util-middleware" "^3.0.9" + fast-xml-parser "4.4.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-env@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.609.0.tgz#b3f32e5a8ff8b541e151eadadfb60283aa3d835e" - integrity sha512-v69ZCWcec2iuV9vLVJMa6fAb5xwkzN4jYIT8yjo2c4Ia/j976Q+TPf35Pnz5My48Xr94EFcaBazrWedF+kwfuQ== +"@aws-sdk/credential-provider-env@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.693.0.tgz#f97feed9809fe2800216943470015fdaaba47c4f" + integrity sha512-hMUZaRSF7+iBKZfBHNLihFs9zvpM1CB8MBOTnTp5NGCVkRYF3SB2LH+Kcippe0ats4qCyB1eEoyQX99rERp2iQ== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/types" "^3.3.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-http@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.616.0.tgz#207cbe3e74c6c55208fd4bf0ff59df6e765d2c41" - integrity sha512-1rgCkr7XvEMBl7qWCo5BKu3yAxJs71dRaZ55Xnjte/0ZHH6Oc93ZrHzyYy6UH6t0nZrH+FAuw7Yko2YtDDwDeg== +"@aws-sdk/credential-provider-http@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.693.0.tgz#5caad0ac47eded1edeb63f907280580ccfaadba3" + integrity sha512-sL8MvwNJU7ZpD7/d2VVb3by1GknIJUxzTIgYtVkDVA/ojo+KRQSSHxcj0EWWXF5DTSh2Tm+LrEug3y1ZyKHsDA== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/fetch-http-handler" "^3.2.2" - "@smithy/node-http-handler" "^3.1.3" - "@smithy/property-provider" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" - "@smithy/util-stream" "^3.1.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/fetch-http-handler" "^4.1.0" + "@smithy/node-http-handler" "^3.3.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" + "@smithy/util-stream" "^3.3.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-ini@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.616.0.tgz#5bb726e969908a28e960d65016e7440b78056209" - integrity sha512-5gQdMr9cca3xV7FF2SxpxWGH2t6+t4o+XBGiwsHm8muEjf4nUmw7Ij863x25Tjt2viPYV0UStczSb5Sihp7bkA== +"@aws-sdk/credential-provider-ini@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.693.0.tgz#b4557ac1092657660a15c9bd55e17c27f79ec621" + integrity sha512-kvaa4mXhCCOuW7UQnBhYqYfgWmwy7WSBSDClutwSLPZvgrhYj2l16SD2lN4IfYdxARYMJJ1lFYp3/jJG/9Yk4Q== dependencies: - "@aws-sdk/credential-provider-env" "3.609.0" - "@aws-sdk/credential-provider-http" "3.616.0" - "@aws-sdk/credential-provider-process" "3.614.0" - "@aws-sdk/credential-provider-sso" "3.616.0" - "@aws-sdk/credential-provider-web-identity" "3.609.0" - "@aws-sdk/types" "3.609.0" - "@smithy/credential-provider-imds" "^3.1.4" - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/credential-provider-env" "3.693.0" + "@aws-sdk/credential-provider-http" "3.693.0" + "@aws-sdk/credential-provider-process" "3.693.0" + "@aws-sdk/credential-provider-sso" "3.693.0" + "@aws-sdk/credential-provider-web-identity" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/credential-provider-imds" "^3.2.6" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-node@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.616.0.tgz#0887ab7b9bab3031fe3ed8aaee2d4abb5091a67f" - integrity sha512-Se+u6DAxjDPjKE3vX1X2uxjkWgGq69BTo0uTB0vDUiWwBVgh16s9BsBhSAlKEH1CCbbJHvOg4YdTrzjwzqyClg== +"@aws-sdk/credential-provider-node@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.693.0.tgz#c5ceac64a69304d5b4db3fd68473480cafddb4a9" + integrity sha512-42WMsBjTNnjYxYuM3qD/Nq+8b7UdMopUq5OduMDxoM3mFTV6PXMMnfI4Z1TNnR4tYRvPXAnuNltF6xmjKbSJRA== dependencies: - "@aws-sdk/credential-provider-env" "3.609.0" - "@aws-sdk/credential-provider-http" "3.616.0" - "@aws-sdk/credential-provider-ini" "3.616.0" - "@aws-sdk/credential-provider-process" "3.614.0" - "@aws-sdk/credential-provider-sso" "3.616.0" - "@aws-sdk/credential-provider-web-identity" "3.609.0" - "@aws-sdk/types" "3.609.0" - "@smithy/credential-provider-imds" "^3.1.4" - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/credential-provider-env" "3.693.0" + "@aws-sdk/credential-provider-http" "3.693.0" + "@aws-sdk/credential-provider-ini" "3.693.0" + "@aws-sdk/credential-provider-process" "3.693.0" + "@aws-sdk/credential-provider-sso" "3.693.0" + "@aws-sdk/credential-provider-web-identity" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/credential-provider-imds" "^3.2.6" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-process@3.614.0": - version "3.614.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.614.0.tgz#b6b9382346dfe51c8fb448595ae55b930532c897" - integrity sha512-Q0SI0sTRwi8iNODLs5+bbv8vgz8Qy2QdxbCHnPk/6Cx6LMf7i3dqmWquFbspqFRd8QiqxStrblwxrUYZi09tkA== +"@aws-sdk/credential-provider-process@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.693.0.tgz#e84e945f1a148f06ff697608d5309e73347e5aa9" + integrity sha512-cvxQkrTWHHjeHrPlj7EWXPnFSq8x7vMx+Zn1oTsMpCY445N9KuzjfJTkmNGwU2GT6rSZI9/0MM02aQvl5bBBTQ== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-sso@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.616.0.tgz#051b1a2eb31fa30866f2c1e95bbcf965911b16c3" - integrity sha512-3rsWs9GBi8Z8Gps5ROwqguxtw+J6OIg1vawZMLRNMqqZoBvbOToe9wEnpid8ylU+27+oG8uibJNlNuRyXApUjw== +"@aws-sdk/credential-provider-sso@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.693.0.tgz#72767389f533d9d17a14af63daaafcc8368ab43a" + integrity sha512-479UlJxY+BFjj3pJFYUNC0DCMrykuG7wBAXfsvZqQxKUa83DnH5Q1ID/N2hZLkxjGd4ZW0AC3lTOMxFelGzzpQ== dependencies: - "@aws-sdk/client-sso" "3.616.0" - "@aws-sdk/token-providers" "3.614.0" - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/client-sso" "3.693.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/token-providers" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-web-identity@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.609.0.tgz#d29222d6894347ee89c781ea090d388656df1d2a" - integrity sha512-U+PG8NhlYYF45zbr1km3ROtBMYqyyj/oK8NRp++UHHeuavgrP+4wJ4wQnlEaKvJBjevfo3+dlIBcaeQ7NYejWg== +"@aws-sdk/credential-provider-web-identity@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.693.0.tgz#b6133b5ef9d3582e36e02e9c66766714ff672a11" + integrity sha512-8LB210Pr6VeCiSb2hIra+sAH4KUBLyGaN50axHtIgufVK8jbKIctTZcVY5TO9Se+1107TsruzeXS7VeqVdJfFA== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/types" "^3.3.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/lib-storage@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/lib-storage/-/lib-storage-3.616.0.tgz#d54f8b13b8969283e8ea1a0719782ad3fffb18c4" - integrity sha512-VhuJGCbJvI1TGGWDd5pdnCa+pobKAGv5/H4MqN1GlyRuWd6Biwby+pRaFb2nL4GT3bOJdCcM24CyZXO2PefPaw== +"@aws-sdk/lib-storage@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/lib-storage/-/lib-storage-3.693.0.tgz#d689e4a93caa0e987dcd53a965e42550d672525b" + integrity sha512-3sHR0Dnrz63kKyFNx5l2/50i4VnbfCjQbhPkkFwt2Cu/6DjtJp5J8eAr6DHK+vS4cEFkCTQZ7UOayPmHqTLeeQ== dependencies: - "@smithy/abort-controller" "^3.1.1" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/smithy-client" "^3.1.8" + "@smithy/abort-controller" "^3.1.7" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/smithy-client" "^3.4.3" buffer "5.6.0" events "3.3.0" stream-browserify "3.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-bucket-endpoint@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.616.0.tgz#76b32df698a6d9fddeb64d166df477d4632ce0f9" - integrity sha512-KZv78s8UE7+s3qZCfG3pE9U9XV5WTP478aNWis5gDXmsb5LF7QWzEeR8kve5dnjNlK6qVQ33v+mUZa6lR5PwMw== +"@aws-sdk/middleware-bucket-endpoint@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.693.0.tgz#e4823a40935d34f5e58a4fbc830d8ff92e44fc99" + integrity sha512-cPIa+lxMYiFRHtxKfNIVSFGO6LSgZCk42pu3d7KGwD6hu6vXRD5B2/DD3rPcEH1zgl2j0Kx1oGAV7SRXKHSFag== dependencies: - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-arn-parser" "3.568.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-arn-parser" "3.693.0" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" "@smithy/util-config-provider" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-expect-continue@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.616.0.tgz#02e4dcee8044c60050dcf4da221b3bdbae36ccf8" - integrity sha512-IM1pfJPm7pDUXa55js9bnGjS8o3ldzDwf95mL9ZAYdEsm10q6i0ZxZbbro2gTq25Ap5ykdeeS34lOSzIqPiW1A== +"@aws-sdk/middleware-expect-continue@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.693.0.tgz#d8696cee9ebea1d973d8daf872fd913b41d62cf0" + integrity sha512-MuK/gsJWpHz6Tv0CqTCS+QNOxLa2RfPh1biVCu/uO3l7kA0TjQ/C+tfgKvLXeH103tuDrOVINK+bt2ENmI3SWg== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/middleware-flexible-checksums@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.616.0.tgz#7fac7de33f366fb769ba4d3f1f29129456908339" - integrity sha512-Mrco/dURoTXVqwcnYRcyrFaPTIg36ifg2PK0kUYfSVTGEOClZOQXlVG5zYCZoo3yEMgy/gLT907FjUQxwoifIw== +"@aws-sdk/middleware-flexible-checksums@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.693.0.tgz#80f07802d98ff33a6899a09c59cf51aab426aaac" + integrity sha512-xkS6zjuE11ob93H9t65kHzphXcUMnN2SmIm2wycUPg+hi8Q6DJA6U2p//6oXkrr9oHy1QvwtllRd7SAd63sFKQ== dependencies: "@aws-crypto/crc32" "5.2.0" "@aws-crypto/crc32c" "5.2.0" - "@aws-sdk/types" "3.609.0" + "@aws-crypto/util" "5.2.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" "@smithy/is-array-buffer" "^3.0.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-stream" "^3.3.0" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-host-header@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.616.0.tgz#542dac3370374ba3733c96a6bb153e6fe53fafe6" - integrity sha512-mhNfHuGhCDZwYCABebaOvTgOM44UCZZRq2cBpgPZLVKP0ydAv5aFHXv01goexxXHqgHoEGx0uXWxlw0s2EpFDg== +"@aws-sdk/middleware-host-header@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.693.0.tgz#69322909c0792df1e6be7c7fb5e2b6f76090a55c" + integrity sha512-BCki6sAZ5jYwIN/t3ElCiwerHad69ipHwPsDCxJQyeiOnJ8HG+lEpnVIfrnI8A0fLQNSF3Gtx6ahfBpKiv1Oug== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/middleware-location-constraint@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.609.0.tgz#7ed82d71e5ddcd50683ef2bbde10d1cc2492057e" - integrity sha512-xzsdoTkszGVqGVPjUmgoP7TORiByLueMHieI1fhQL888WPdqctwAx3ES6d/bA9Q/i8jnc6hs+Fjhy8UvBTkE9A== +"@aws-sdk/middleware-location-constraint@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.693.0.tgz#1856eaaad64d41d1f8fa53ced58a6c7cf5eccc6e" + integrity sha512-eDAExTZ9uNIP7vs2JCVCOuWJauGueisBSn+Ovt7UvvuEUp6KOIJqn8oFxWmyUQu2GvbG4OcaTLgbqD95YHTB0Q== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/middleware-logger@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.609.0.tgz#ed44d201f091b8bac908cbf14724c7a4d492553f" - integrity sha512-S62U2dy4jMDhDFDK5gZ4VxFdWzCtLzwbYyFZx2uvPYTECkepLUfzLic2BHg2Qvtu4QjX+oGE3P/7fwaGIsGNuQ== +"@aws-sdk/middleware-logger@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.693.0.tgz#fc10294e6963f8e5d58ba1ededd891e999f544a9" + integrity sha512-dXnXDPr+wIiJ1TLADACI1g9pkSB21KkMIko2u4CJ2JCBoxi5IqeTnVoa6YcC8GdFNVRl+PorZ3Zqfmf1EOTC6w== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/middleware-recursion-detection@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.616.0.tgz#fa87c9d77c6f85d02b9cf8394f52b2d6334a63af" - integrity sha512-LQKAcrZRrR9EGez4fdCIVjdn0Ot2HMN12ChnoMGEU6oIxnQ2aSC7iASFFCV39IYfeMh7iSCPj7Wopqw8rAouzg== +"@aws-sdk/middleware-recursion-detection@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.693.0.tgz#88a8157293775e7116707da26501da4b5e042f51" + integrity sha512-0LDmM+VxXp0u3rG0xQRWD/q6Ubi7G8I44tBPahevD5CaiDZTkmNTrVUf0VEJgVe0iCKBppACMBDkLB0/ETqkFw== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/middleware-sdk-s3@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.616.0.tgz#9630cab19a9899b705b08db3653e64c1fb8b3138" - integrity sha512-heq9pzn0NRX6VL/oMlmwZdgcCh5eJUDscvwMl/oGev0tNdTpB2oGU+wPaNMka7IrW3eBPn7APmY9fdS1kBaBoQ== +"@aws-sdk/middleware-sdk-s3@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.693.0.tgz#e0850854d5079f372786b2ccfe85729caa7a49d8" + integrity sha512-5A++RBjJ3guyq5pbYs+Oq5hMlA8CK2OWaHx09cxVfhHWl/RoaY8DXrft4gnhoUEBrrubyMw7r9j7RIMLvS58kg== dependencies: - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-arn-parser" "3.568.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/protocol-http" "^4.0.4" - "@smithy/signature-v4" "^4.0.0" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-arn-parser" "3.693.0" + "@smithy/core" "^2.5.2" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/protocol-http" "^4.1.6" + "@smithy/signature-v4" "^4.2.2" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-stream" "^3.1.0" + "@smithy/util-middleware" "^3.0.9" + "@smithy/util-stream" "^3.3.0" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-sdk-s3@3.620.0": - version "3.620.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.620.0.tgz#901773b4b64ffab71cc810fd74c8221acc8f74b7" - integrity sha512-AAZ6NLVOx/bP97PYj/afCMeySzxOHocgJG3ZXh6f8MnJcGpZgx8NyRm0vtiYUTFrS2JtU4xV05Dl3j4afV3s4A== +"@aws-sdk/middleware-ssec@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.693.0.tgz#2ff779147d188090b3a6cda3ed12ca4085220a73" + integrity sha512-Ro5vzI7SRgEeuoMk3fKqFjGv6mG4c7VsSCDwnkiasmafQFBTPvUIpgmu2FXMHqW/OthvoiOzpSrlJ9Bwlx2f8A== dependencies: - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-arn-parser" "3.568.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/protocol-http" "^4.1.0" - "@smithy/signature-v4" "^4.1.0" - "@smithy/smithy-client" "^3.1.10" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/types" "^3.7.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-user-agent@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.693.0.tgz#4b55cfab3fc7e671b08e1ea63a98e45a1e13e6a5" + integrity sha512-/KUq/KEpFFbQmNmpp7SpAtFAdViquDfD2W0QcG07zYBfz9MwE2ig48ALynXm5sMpRmnG7sJXjdvPtTsSVPfkiw== + dependencies: + "@aws-sdk/core" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-endpoints" "3.693.0" + "@smithy/core" "^2.5.2" + "@smithy/protocol-http" "^4.1.6" + "@smithy/types" "^3.7.0" + tslib "^2.6.2" + +"@aws-sdk/region-config-resolver@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.693.0.tgz#9cde5e99f654c788540acfb2a4218d444e8621c2" + integrity sha512-YLUkMsUY0GLW/nfwlZ69cy1u07EZRmsv8Z9m0qW317/EZaVx59hcvmcvb+W4bFqj5E8YImTjoGfE4cZ0F9mkyw== + dependencies: + "@aws-sdk/types" "3.692.0" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/types" "^3.7.0" "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-stream" "^3.1.2" - "@smithy/util-utf8" "^3.0.0" + "@smithy/util-middleware" "^3.0.9" tslib "^2.6.2" -"@aws-sdk/middleware-signing@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.616.0.tgz#7270662413c6c092c2680aa37a80358e8338ec35" - integrity sha512-wwzZFlXyURwo40oz1NmufreQa5DqwnCF8hR8tIP5+oKCyhbkmlmv8xG4Wn51bzY2WEbQhvFebgZSFTEvelCoCg== +"@aws-sdk/s3-presigned-post@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-presigned-post/-/s3-presigned-post-3.693.0.tgz#79608a6cf694c9b7584b8ef2b7cf3e54f50acd0c" + integrity sha512-03PStpjtUuiN3dQvQDD6M5/CSmX6C85K/obDvPgjCIYjCEvbN6WqLqim1oTqUnSLSsIAmVtcMTmXvy39k/OcFQ== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/protocol-http" "^4.0.4" - "@smithy/signature-v4" "^4.0.0" - "@smithy/types" "^3.3.0" - "@smithy/util-middleware" "^3.0.3" - tslib "^2.6.2" - -"@aws-sdk/middleware-ssec@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.609.0.tgz#b87a8bc6133f3f6bdc6801183d0f9dad3f93cf9f" - integrity sha512-GZSD1s7+JswWOTamVap79QiDaIV7byJFssBW68GYjyRS5EBjNfwA/8s+6uE6g39R3ojyTbYOmvcANoZEhSULXg== - dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/types" "^3.3.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-user-agent@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.616.0.tgz#fe11d62e9cdc96a354c37968499fa32637a70f45" - integrity sha512-iMcAb4E+Z3vuEcrDsG6T2OBNiqWAquwahP9qepHqfmnmJqHr1mSHtXDYTGBNid31+621sUQmneUQ+fagpGAe4w== - dependencies: - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-endpoints" "3.614.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/types" "^3.3.0" - tslib "^2.6.2" - -"@aws-sdk/region-config-resolver@3.614.0": - version "3.614.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.614.0.tgz#9cebb31a5bcfea2a41891fff7f28d0164cde179a" - integrity sha512-vDCeMXvic/LU0KFIUjpC3RiSTIkkvESsEfbVHiHH0YINfl8HnEqR5rj+L8+phsCeVg2+LmYwYxd5NRz4PHxt5g== - dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/types" "^3.3.0" - "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-middleware" "^3.0.3" - tslib "^2.6.2" - -"@aws-sdk/s3-presigned-post@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-presigned-post/-/s3-presigned-post-3.616.0.tgz#fd464ad4e3de654ca8f14b9ba8bfd39e9938f4f2" - integrity sha512-2cAt+zxNZuP90dZIS/bSL/Vnc3mKP3KzSUPBHiZkhPWJA8hq4jkNXxG5JGamwGN/XSu2ywD7dtIS0C36tZpBZg== - dependencies: - "@aws-sdk/client-s3" "3.616.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-format-url" "3.609.0" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/signature-v4" "^4.0.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/client-s3" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-format-url" "3.693.0" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/signature-v4" "^4.2.2" + "@smithy/types" "^3.7.0" "@smithy/util-hex-encoding" "^3.0.0" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/s3-request-presigner@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.616.0.tgz#65bd11f480903905801d389a82564624d32f6188" - integrity sha512-C5ADFHTBCPGw+W3XNvS7vZdCY2LtRbcw05hu34xxhNlDXatOAPE4O22uRfiaZq12Lu0Qq8ylNYnD8I28r7I4Qg== +"@aws-sdk/s3-request-presigner@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.693.0.tgz#4b43cb5d987cf0f358c2a3a0b6d8f8322618babd" + integrity sha512-I/TCM43kZn1xb+EWMAjkcisDVrq3mYsu0ZFP81J9K/PM6n3s9bK04jaY56c3pCl6btigIOHhreutYSRRBJsCDw== dependencies: - "@aws-sdk/signature-v4-multi-region" "3.616.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-format-url" "3.609.0" - "@smithy/middleware-endpoint" "^3.0.5" - "@smithy/protocol-http" "^4.0.4" - "@smithy/smithy-client" "^3.1.8" - "@smithy/types" "^3.3.0" + "@aws-sdk/signature-v4-multi-region" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-format-url" "3.693.0" + "@smithy/middleware-endpoint" "^3.2.2" + "@smithy/protocol-http" "^4.1.6" + "@smithy/smithy-client" "^3.4.3" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/signature-v4-crt@^3.616.0": - version "3.620.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-crt/-/signature-v4-crt-3.620.0.tgz#8904d143a3026ddd35ae76c36c28e206fa287c18" - integrity sha512-rdX9wJL8ImA+kzpBSu5Id0pA4UZZJpYDrZ21Cgwg/VQunEGZCn6hzyK/pQg25WjMUz/AkMPOouFfBT9XBmtJmA== +"@aws-sdk/signature-v4-crt@^3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-crt/-/signature-v4-crt-3.693.0.tgz#6d0a64b984a9ff4744423dcecabacfefe079fbbd" + integrity sha512-2yBhR4CWzMRDPpnlOh41YwYEjX5mTTsrKjMeK/WDNCI+GQtLHavLsXNrvc+AMiBQClzyQ9e8eP7hm9Gotokdzg== dependencies: - "@aws-sdk/signature-v4-multi-region" "3.620.0" - "@aws-sdk/types" "3.609.0" - "@aws-sdk/util-user-agent-node" "3.614.0" - "@smithy/querystring-parser" "^3.0.3" - "@smithy/signature-v4" "^4.1.0" - "@smithy/types" "^3.3.0" - "@smithy/util-middleware" "^3.0.3" + "@aws-sdk/signature-v4-multi-region" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@aws-sdk/util-user-agent-node" "3.693.0" + "@smithy/querystring-parser" "^3.0.9" + "@smithy/signature-v4" "^4.2.2" + "@smithy/types" "^3.7.0" + "@smithy/util-middleware" "^3.0.9" aws-crt "^1.18.3" tslib "^2.6.2" -"@aws-sdk/signature-v4-multi-region@3.616.0": - version "3.616.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.616.0.tgz#2794d8c497c496fbb0f767b9c9d3ee20a8879d9f" - integrity sha512-WQn43cfnwbG6jnPjh/SyujDQVqbRjGFY9tGI/tqtUvvGwoDhI343TSDCA7fvs0FEC6Za6vgOBq1CwPv3CFyfhA== +"@aws-sdk/signature-v4-multi-region@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.693.0.tgz#85bd90bb78be1a98d5a5ca41033cb0703146c2c4" + integrity sha512-s7zbbsoVIriTR4ZGaateKuTqz6ddpazAyHvjk7I9kd+NvGNPiuAI18UdbuiiRI6K5HuYKf1ah6mKWFGPG15/kQ== dependencies: - "@aws-sdk/middleware-sdk-s3" "3.616.0" - "@aws-sdk/types" "3.609.0" - "@smithy/protocol-http" "^4.0.4" - "@smithy/signature-v4" "^4.0.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/middleware-sdk-s3" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/protocol-http" "^4.1.6" + "@smithy/signature-v4" "^4.2.2" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/signature-v4-multi-region@3.620.0": - version "3.620.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.620.0.tgz#8ccb1069413208a1aaeecef1fbe25a90fabb8bed" - integrity sha512-yu1pTCqIbkSdaOvmyfW9vV9jWe3pDApkQPZLg4VEN5dXDWRtgQ/amv88myyCEoG14irUN1tsbvytcKzGyEXnhA== +"@aws-sdk/token-providers@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.693.0.tgz#5ce7d6aa7a3437d4abdc0dca1be47f5158d15c85" + integrity sha512-nDBTJMk1l/YmFULGfRbToOA2wjf+FkQT4dMgYCv+V9uSYsMzQj8A7Tha2dz9yv4vnQgYaEiErQ8d7HVyXcVEoA== dependencies: - "@aws-sdk/middleware-sdk-s3" "3.620.0" - "@aws-sdk/types" "3.609.0" - "@smithy/protocol-http" "^4.1.0" - "@smithy/signature-v4" "^4.1.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/token-providers@3.614.0": - version "3.614.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.614.0.tgz#88da04f6d4ce916b0b0f6e045676d04201fb47fd" - integrity sha512-okItqyY6L9IHdxqs+Z116y5/nda7rHxLvROxtAJdLavWTYDydxrZstImNgGWTeVdmc0xX2gJCI77UYUTQWnhRw== +"@aws-sdk/types@3.692.0", "@aws-sdk/types@^3.222.0": + version "3.692.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.692.0.tgz#c8f6c75b6ad659865b72759796d4d92c1b72069b" + integrity sha512-RpNvzD7zMEhiKgmlxGzyXaEcg2khvM7wd5sSHVapOcrde1awQSOMGI4zKBQ+wy5TnDfrm170ROz/ERLYtrjPZA== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.0" tslib "^2.6.2" -"@aws-sdk/types@3.609.0", "@aws-sdk/types@^3.222.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.609.0.tgz#06b39d799c9f197a7b43670243e8e78a3bf7d6a5" - integrity sha512-+Tqnh9w0h2LcrUsdXyT1F8mNhXz+tVYBtP19LpeEGntmvHwa2XzvLUCWpoIAIVsHp5+HdB2X9Sn0KAtmbFXc2Q== - dependencies: - "@smithy/types" "^3.3.0" - tslib "^2.6.2" - -"@aws-sdk/util-arn-parser@3.568.0": - version "3.568.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.568.0.tgz#6a19a8c6bbaa520b6be1c278b2b8c17875b91527" - integrity sha512-XUKJWWo+KOB7fbnPP0+g/o5Ulku/X53t7i/h+sPHr5xxYTJJ9CYnbToo95mzxe7xWvkLrsNtJ8L+MnNn9INs2w== +"@aws-sdk/util-arn-parser@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.693.0.tgz#8dae27eb822ab4f88be28bb3c0fc11f1f13d3948" + integrity sha512-WC8x6ca+NRrtpAH64rWu+ryDZI3HuLwlEr8EU6/dbC/pt+r/zC0PBoC15VEygUaBA+isppCikQpGyEDu0Yj7gQ== dependencies: tslib "^2.6.2" -"@aws-sdk/util-endpoints@3.614.0": - version "3.614.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.614.0.tgz#6564b0ffd7dc3728221e9f9821f5aab1cc58468e" - integrity sha512-wK2cdrXHH4oz4IomV/yrGkftU9A+ITB6nFL+rxxyO78is2ifHJpFdV4aqk4LSkXYPi6CXWNru/Dqc7yiKXgJPw== +"@aws-sdk/util-endpoints@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.693.0.tgz#99f56f83fc25bdc3321f5871d6354abd56768891" + integrity sha512-eo4F6DRQ/kxS3gxJpLRv+aDNy76DxQJL5B3DPzpr9Vkq0ygVoi4GT5oIZLVaAVIJmi6k5qq9dLsYZfWLUxJJSg== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/types" "^3.3.0" - "@smithy/util-endpoints" "^2.0.5" + "@aws-sdk/types" "3.692.0" + "@smithy/types" "^3.7.0" + "@smithy/util-endpoints" "^2.1.5" tslib "^2.6.2" -"@aws-sdk/util-format-url@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.609.0.tgz#f53907193bb636b52b61c81bbe6d7bd5ddc76c68" - integrity sha512-fuk29BI/oLQlJ7pfm6iJ4gkEpHdavffAALZwXh9eaY1vQ0ip0aKfRTiNudPoJjyyahnz5yJ1HkmlcDitlzsOrQ== +"@aws-sdk/util-format-url@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.693.0.tgz#66f0ad5265244c82f1294216580d2d1a148705e0" + integrity sha512-0O4fSq45GOwC89Os0f92z9kK1AV22+W980O+v+GkMLUkRG7/nsIJkq1LKiIPV+sbC+KC/HmW4yThxFzHO7GDxA== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/querystring-builder" "^3.0.3" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/querystring-builder" "^3.0.9" + "@smithy/types" "^3.7.0" tslib "^2.6.2" "@aws-sdk/util-locate-window@^3.0.0": @@ -699,24 +677,25 @@ dependencies: tslib "^2.6.2" -"@aws-sdk/util-user-agent-browser@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.609.0.tgz#aa15421b2e32ae8bc589dac2bd6e8969832ce588" - integrity sha512-fojPU+mNahzQ0YHYBsx0ZIhmMA96H+ZIZ665ObU9tl+SGdbLneVZVikGve+NmHTQwHzwkFsZYYnVKAkreJLAtA== +"@aws-sdk/util-user-agent-browser@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.693.0.tgz#c6969be97e7cd0190b3b72a82a642b29ff4659c4" + integrity sha512-6EUfuKOujtddy18OLJUaXfKBgs+UcbZ6N/3QV4iOkubCUdeM1maIqs++B9bhCbWeaeF5ORizJw5FTwnyNjE/mw== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/types" "^3.3.0" + "@aws-sdk/types" "3.692.0" + "@smithy/types" "^3.7.0" bowser "^2.11.0" tslib "^2.6.2" -"@aws-sdk/util-user-agent-node@3.614.0": - version "3.614.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.614.0.tgz#1e3f49a80f841a3f21647baed2adce01aac5beb5" - integrity sha512-15ElZT88peoHnq5TEoEtZwoXTXRxNrk60TZNdpl/TUBJ5oNJ9Dqb5Z4ryb8ofN6nm9aFf59GVAerFDz8iUoHBA== +"@aws-sdk/util-user-agent-node@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.693.0.tgz#b26c806faa2001d4fa1d515b146eeff411513dd9" + integrity sha512-td0OVX8m5ZKiXtecIDuzY3Y3UZIzvxEr57Hp21NOwieqKCG2UeyQWWeGPv0FQaU7dpTkvFmVNI+tx9iB8V/Nhg== dependencies: - "@aws-sdk/types" "3.609.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/types" "^3.3.0" + "@aws-sdk/middleware-user-agent" "3.693.0" + "@aws-sdk/types" "3.692.0" + "@smithy/node-config-provider" "^3.1.10" + "@smithy/types" "^3.7.0" tslib "^2.6.2" "@aws-sdk/util-utf8-browser@^3.109.0": @@ -726,12 +705,12 @@ dependencies: tslib "^2.3.1" -"@aws-sdk/xml-builder@3.609.0": - version "3.609.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.609.0.tgz#eeb3d5cde000a23cfeeefe0354b6193440dc7d87" - integrity sha512-l9XxNcA4HX98rwCC2/KoiWcmEiRfZe4G+mYwDbCFT87JIMj6GBhLDkAzr/W8KAaA2IDr8Vc6J8fZPgVulxxfMA== +"@aws-sdk/xml-builder@3.693.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.693.0.tgz#709a46a3335b71144d9f7917a7cb3033b5a04e82" + integrity sha512-C/rPwJcqnV8VDr2/VtcQnymSpcfEEgH1Jm6V0VmfXNZFv4Qzf1eCS8nsec0gipYgZB+cBBjfXw5dAk6pJ8ubpw== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.0" tslib "^2.6.2" "@babel/cli@^7.25.9": @@ -3628,15 +3607,6 @@ "@sentry/types" "7.119.0" "@sentry/utils" "7.119.0" -"@sentry-internal/tracing@7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.117.0.tgz#c7d2357dae8d7ea2bc130e4513ac4ffc8dc7553c" - integrity sha512-fAIyijNvKBZNA12IcKo+dOYDRTNrzNsdzbm3DP37vJRKVQu19ucqP4Y6InvKokffDP2HZPzFPDoGXYuXkDhUZg== - dependencies: - "@sentry/core" "7.117.0" - "@sentry/types" "7.117.0" - "@sentry/utils" "7.117.0" - "@sentry-internal/tracing@7.119.0": version "7.119.0" resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.119.0.tgz#201561af2a4ad1837333287c26050a5e688537ca" @@ -3646,6 +3616,15 @@ "@sentry/types" "7.119.0" "@sentry/utils" "7.119.0" +"@sentry-internal/tracing@7.120.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.120.0.tgz#1896e5ecdfc6b238f099f958c4888ab445505227" + integrity sha512-VymJoIGMV0PcTJyshka9uJ1sKpR7bHooqW5jTEr6g0dYAwB723fPXHjVW+7SETF7i5+yr2KMprYKreqRidKyKA== + dependencies: + "@sentry/core" "7.120.0" + "@sentry/types" "7.120.0" + "@sentry/utils" "7.120.0" + "@sentry/browser@7.119.0": version "7.119.0" resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.119.0.tgz#65004015c107be5d2f49a852ebcffc5d19d90e0d" @@ -3660,14 +3639,6 @@ "@sentry/types" "7.119.0" "@sentry/utils" "7.119.0" -"@sentry/core@7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.117.0.tgz#eebdb6e700d5fbdf3102c4abfb4ff92ef79ae9a5" - integrity sha512-1XZ4/d/DEwnfM2zBMloXDwX+W7s76lGKQMgd8bwgPJZjjEztMJ7X0uopKAGwlQcjn242q+hsCBR6C+fSuI5kvg== - dependencies: - "@sentry/types" "7.117.0" - "@sentry/utils" "7.117.0" - "@sentry/core@7.119.0": version "7.119.0" resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.119.0.tgz#a6e41119bb03ec27689f9ad04e79d1fba5b7fc37" @@ -3676,15 +3647,13 @@ "@sentry/types" "7.119.0" "@sentry/utils" "7.119.0" -"@sentry/integrations@7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.117.0.tgz#4613dae3bc1d257c3c870461327fd4f70dbda229" - integrity sha512-U3suSZysmU9EiQqg0ga5CxveAyNbi9IVdsapMDq5EQGNcVDvheXtULs+BOc11WYP3Kw2yWB38VDqLepfc/Fg2g== +"@sentry/core@7.120.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.120.0.tgz#9be72d6900ceb2ed986c4ceab30f52c6b01e2170" + integrity sha512-uTc2sUQ0heZrMI31oFOHGxjKgw16MbV3C2mcT7qcrb6UmSGR9WqPOXZhnVVuzPWCnQ8B5IPPVdynK//J+9/m6g== dependencies: - "@sentry/core" "7.117.0" - "@sentry/types" "7.117.0" - "@sentry/utils" "7.117.0" - localforage "^1.8.1" + "@sentry/types" "7.120.0" + "@sentry/utils" "7.120.0" "@sentry/integrations@7.119.0": version "7.119.0" @@ -3696,16 +3665,26 @@ "@sentry/utils" "7.119.0" localforage "^1.8.1" -"@sentry/node@^7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.117.0.tgz#a548e7c2d395e01818814573b5f420eb061ebcf9" - integrity sha512-0MWXdT8dv1MtQGF0aeB8LQTBTJS1L1Vz24+wvdXroR3/52mPYrPWlzuc7+Ew/Dlqdlb5LKVIlkuDSRWj8UKpTQ== +"@sentry/integrations@7.120.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.120.0.tgz#59ff04276d62498551154e3e7ecd0f956daff668" + integrity sha512-/Hs9MgSmG4JFNyeQkJ+MWh/fxO/U38Pz0VSH3hDrfyCjI8vH9Vz9inGEQXgB9Ke4eH8XnhsQ7xPnM27lWJts6g== dependencies: - "@sentry-internal/tracing" "7.117.0" - "@sentry/core" "7.117.0" - "@sentry/integrations" "7.117.0" - "@sentry/types" "7.117.0" - "@sentry/utils" "7.117.0" + "@sentry/core" "7.120.0" + "@sentry/types" "7.120.0" + "@sentry/utils" "7.120.0" + localforage "^1.8.1" + +"@sentry/node@^7.119.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.120.0.tgz#260828da2e7e3287d806060c5bc63f34502c3693" + integrity sha512-GAyuNd8WUznsiOyDq2QUwR/aVnMmItUc4tgZQxhH1R+n4Adx3cAhnpq3zEuzsIAC5+/7ut+4Q4B3akh6SDZd4w== + dependencies: + "@sentry-internal/tracing" "7.120.0" + "@sentry/core" "7.120.0" + "@sentry/integrations" "7.120.0" + "@sentry/types" "7.120.0" + "@sentry/utils" "7.120.0" "@sentry/react@^7.119.0": version "7.119.0" @@ -3728,22 +3707,15 @@ "@sentry/types" "7.119.0" "@sentry/utils" "7.119.0" -"@sentry/types@7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.117.0.tgz#c4d89aba487c05f4e5cbfa2f1c65180b536393b4" - integrity sha512-5dtdulcUttc3F0Te7ekZmpSp/ebt/CA71ELx0uyqVGjWsSAINwskFD77sdcjqvZWek//WjiYX1+GRKlpJ1QqsA== - "@sentry/types@7.119.0": version "7.119.0" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.119.0.tgz#8b3d7a1405c362e75cd900d46089df4e70919d2a" integrity sha512-27qQbutDBPKGbuJHROxhIWc1i0HJaGLA90tjMu11wt0E4UNxXRX+UQl4Twu68v4EV3CPvQcEpQfgsViYcXmq+w== -"@sentry/utils@7.117.0": - version "7.117.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.117.0.tgz#ac367a6f623bd09440b39d947437009c0ffe52b2" - integrity sha512-KkcLY8643SGBiDyPvMQOubBkwVX5IPknMHInc7jYC8pDVncGp7C65Wi506bCNPpKCWspUd/0VDNWOOen51/qKA== - dependencies: - "@sentry/types" "7.117.0" +"@sentry/types@7.120.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.120.0.tgz#63f662d5a5bfb18e3a88e311e2ca736abada642d" + integrity sha512-3mvELhBQBo6EljcRrJzfpGJYHKIZuBXmqh0y8prh03SWE62pwRL614GIYtd4YOC6OP1gfPn8S8h9w3dD5bF5HA== "@sentry/utils@7.119.0": version "7.119.0" @@ -3752,6 +3724,13 @@ dependencies: "@sentry/types" "7.119.0" +"@sentry/utils@7.120.0": + version "7.120.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.120.0.tgz#22a0f3202b2122d6c5a21f4bf509e69622711438" + integrity sha512-XZsPcBHoYu4+HYn14IOnhabUZgCF99Xn4IdWn8Hjs/c+VPtuAVDhRTsfPyPrpY3OcN8DgO5fZX4qcv/6kNbX1A== + dependencies: + "@sentry/types" "7.120.0" + "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" @@ -3771,156 +3750,156 @@ dependencies: "@sinonjs/commons" "^2.0.0" -"@smithy/abort-controller@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.1.1.tgz#291210611ff6afecfc198d0ca72d5771d8461d16" - integrity sha512-MBJBiidoe+0cTFhyxT8g+9g7CeVccLM0IOKKUMCNQ1CNMJ/eIfoo0RTfVrXOONEI1UCN1W+zkiHSbzUNE9dZtQ== +"@smithy/abort-controller@^3.1.7", "@smithy/abort-controller@^3.1.8": + version "3.1.8" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.1.8.tgz#ce0c10ddb2b39107d70b06bbb8e4f6e368bc551d" + integrity sha512-+3DOBcUn5/rVjlxGvUPKc416SExarAQ+Qe0bqk30YSUjbepwpS7QN0cyKUSifvLJhdMZ0WPzPP5ymut0oonrpQ== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/chunked-blob-reader-native@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.0.tgz#f1104b30030f76f9aadcbd3cdca4377bd1ba2695" - integrity sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg== +"@smithy/chunked-blob-reader-native@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.1.tgz#39045ed278ee1b6f4c12715c7565678557274c29" + integrity sha512-VEYtPvh5rs/xlyqpm5NRnfYLZn+q0SRPELbvBV+C/G7IQ+ouTuo+NKKa3ShG5OaFR8NYVMXls9hPYLTvIKKDrQ== dependencies: "@smithy/util-base64" "^3.0.0" tslib "^2.6.2" -"@smithy/chunked-blob-reader@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-3.0.0.tgz#e5d3b04e9b273ba8b7ede47461e2aa96c8aa49e0" - integrity sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA== +"@smithy/chunked-blob-reader@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-4.0.0.tgz#754099909957fb1986c16eb88afad75919d7129d" + integrity sha512-jSqRnZvkT4egkq/7b6/QRCNXmmYVcHwnJldqJ3IhVpQE2atObVJ137xmGeuGFhjFUr8gCEVAOKwSY79OvpbDaQ== dependencies: tslib "^2.6.2" -"@smithy/config-resolver@^3.0.5": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.5.tgz#727978bba7ace754c741c259486a19d3083431fd" - integrity sha512-SkW5LxfkSI1bUC74OtfBbdz+grQXYiPYolyu8VfpLIjEoN/sHVBlLeGXMQ1vX4ejkgfv6sxVbQJ32yF2cl1veA== +"@smithy/config-resolver@^3.0.11", "@smithy/config-resolver@^3.0.12": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.12.tgz#f355f95fcb5ee932a90871a488a4f2128e8ad3ac" + integrity sha512-YAJP9UJFZRZ8N+UruTeq78zkdjUHmzsY62J4qKWZ4SXB4QXJ/+680EfXXgkYA2xj77ooMqtUY9m406zGNqwivQ== dependencies: - "@smithy/node-config-provider" "^3.1.4" - "@smithy/types" "^3.3.0" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/types" "^3.7.1" "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-middleware" "^3.0.3" + "@smithy/util-middleware" "^3.0.10" tslib "^2.6.2" -"@smithy/core@^2.2.7": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.3.1.tgz#99cb8eda23009fd7df736c82072dafcf4eb4ff5d" - integrity sha512-BC7VMXx/1BCmRPCVzzn4HGWAtsrb7/0758EtwOGFJQrlSwJBEjCcDLNZLFoL/68JexYa2s+KmgL/UfmXdG6v1w== +"@smithy/core@^2.5.2", "@smithy/core@^2.5.3": + version "2.5.3" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.5.3.tgz#1d5723f676b0d6ec08c515272f0ac03aa59fac72" + integrity sha512-96uW8maifUSmehaeW7uydWn7wBc98NEeNI3zN8vqakGpyCQgzyJaA64Z4FCOUmAdCJkhppd/7SZ798Fo4Xx37g== dependencies: - "@smithy/middleware-endpoint" "^3.1.0" - "@smithy/middleware-retry" "^3.0.13" - "@smithy/middleware-serde" "^3.0.3" - "@smithy/protocol-http" "^4.1.0" - "@smithy/smithy-client" "^3.1.11" - "@smithy/types" "^3.3.0" - "@smithy/util-middleware" "^3.0.3" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-stream" "^3.3.1" + "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/credential-provider-imds@^3.1.4", "@smithy/credential-provider-imds@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.2.0.tgz#0e0e7ddaff1a8633cb927aee1056c0ab506b7ecf" - integrity sha512-0SCIzgd8LYZ9EJxUjLXBmEKSZR/P/w6l7Rz/pab9culE/RWuqelAKGJvn5qUOl8BgX8Yj5HWM50A5hiB/RzsgA== +"@smithy/credential-provider-imds@^3.2.6", "@smithy/credential-provider-imds@^3.2.7": + version "3.2.7" + resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.2.7.tgz#6eedf87ba0238723ec46d8ce0f18e276685a702d" + integrity sha512-cEfbau+rrWF8ylkmmVAObOmjbTIzKyUC5TkBL58SbLywD0RCBC4JAUKbmtSm2w5KUJNRPGgpGFMvE2FKnuNlWQ== dependencies: - "@smithy/node-config-provider" "^3.1.4" - "@smithy/property-provider" "^3.1.3" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/property-provider" "^3.1.10" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" tslib "^2.6.2" -"@smithy/eventstream-codec@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.1.2.tgz#4a1c72b34400631b829241151984a1ad8c4f963c" - integrity sha512-0mBcu49JWt4MXhrhRAlxASNy0IjDRFU+aWNDRal9OtUJvJNiwDuyKMUONSOjLjSCeGwZaE0wOErdqULer8r7yw== +"@smithy/eventstream-codec@^3.1.9": + version "3.1.9" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.1.9.tgz#4271354e75e57d30771fca307da403896c657430" + integrity sha512-F574nX0hhlNOjBnP+noLtsPFqXnWh2L0+nZKCwcu7P7J8k+k+rdIDs+RMnrMwrzhUE4mwMgyN0cYnEn0G8yrnQ== dependencies: "@aws-crypto/crc32" "5.2.0" - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" "@smithy/util-hex-encoding" "^3.0.0" tslib "^2.6.2" -"@smithy/eventstream-serde-browser@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.4.tgz#98d6e7ae60d297e37ee7775af2a7a8bbe574579d" - integrity sha512-Eo4anLZX6ltGJTZ5yJMc80gZPYYwBn44g0h7oFq6et+TYr5dUsTpIcDbz2evsOKIZhZ7zBoFWHtBXQ4QQeb5xA== +"@smithy/eventstream-serde-browser@^3.0.12": + version "3.0.13" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.13.tgz#191dcf9181e7ab0914ec43d51518d471b9d466ae" + integrity sha512-Nee9m+97o9Qj6/XeLz2g2vANS2SZgAxV4rDBMKGHvFJHU/xz88x2RwCkwsvEwYjSX4BV1NG1JXmxEaDUzZTAtw== dependencies: - "@smithy/eventstream-serde-universal" "^3.0.4" - "@smithy/types" "^3.3.0" + "@smithy/eventstream-serde-universal" "^3.0.12" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/eventstream-serde-config-resolver@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.3.tgz#f852e096d0ad112363b4685e1d441088d1fce67a" - integrity sha512-NVTYjOuYpGfrN/VbRQgn31x73KDLfCXCsFdad8DiIc3IcdxL+dYA9zEQPyOP7Fy2QL8CPy2WE4WCUD+ZsLNfaQ== +"@smithy/eventstream-serde-config-resolver@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.10.tgz#5c0b2ae0bb8e11cfa77851098e46f7350047ec8d" + integrity sha512-K1M0x7P7qbBUKB0UWIL5KOcyi6zqV5mPJoL0/o01HPJr0CSq3A9FYuJC6e11EX6hR8QTIR++DBiGrYveOu6trw== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/eventstream-serde-node@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.4.tgz#6301752ca51b3ebabcd2dec112f1dacd990de4c1" - integrity sha512-mjlG0OzGAYuUpdUpflfb9zyLrBGgmQmrobNT8b42ZTsGv/J03+t24uhhtVEKG/b2jFtPIHF74Bq+VUtbzEKOKg== +"@smithy/eventstream-serde-node@^3.0.11": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.12.tgz#7312383e821b5807abf2fe12316c2a8967d022f0" + integrity sha512-kiZymxXvZ4tnuYsPSMUHe+MMfc4FTeFWJIc0Q5wygJoUQM4rVHNghvd48y7ppuulNMbuYt95ah71pYc2+o4JOA== dependencies: - "@smithy/eventstream-serde-universal" "^3.0.4" - "@smithy/types" "^3.3.0" + "@smithy/eventstream-serde-universal" "^3.0.12" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/eventstream-serde-universal@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.4.tgz#6754de5b94bdc286d8ef1d6bcf22d80f6ab68f30" - integrity sha512-Od9dv8zh3PgOD7Vj4T3HSuox16n0VG8jJIM2gvKASL6aCtcS8CfHZDWe1Ik3ZXW6xBouU+45Q5wgoliWDZiJ0A== +"@smithy/eventstream-serde-universal@^3.0.12": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.12.tgz#803d7beb29a3de4a64e91af97331a4654741c35f" + integrity sha512-1i8ifhLJrOZ+pEifTlF0EfZzMLUGQggYQ6WmZ4d5g77zEKf7oZ0kvh1yKWHPjofvOwqrkwRDVuxuYC8wVd662A== dependencies: - "@smithy/eventstream-codec" "^3.1.2" - "@smithy/types" "^3.3.0" + "@smithy/eventstream-codec" "^3.1.9" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/fetch-http-handler@^3.2.2", "@smithy/fetch-http-handler@^3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.4.tgz#c754de7e0ff2541b73ac9ba7cc955940114b3d62" - integrity sha512-kBprh5Gs5h7ug4nBWZi1FZthdqSM+T7zMmsZxx0IBvWUn7dK3diz2SHn7Bs4dQGFDk8plDv375gzenDoNwrXjg== +"@smithy/fetch-http-handler@^4.1.0", "@smithy/fetch-http-handler@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-4.1.1.tgz#cead80762af4cdea11e7eeb627ea1c4835265dfa" + integrity sha512-bH7QW0+JdX0bPBadXt8GwMof/jz0H28I84hU1Uet9ISpzUqXqRQ3fEZJ+ANPOhzSEczYvANNl3uDQDYArSFDtA== dependencies: - "@smithy/protocol-http" "^4.1.0" - "@smithy/querystring-builder" "^3.0.3" - "@smithy/types" "^3.3.0" + "@smithy/protocol-http" "^4.1.7" + "@smithy/querystring-builder" "^3.0.10" + "@smithy/types" "^3.7.1" "@smithy/util-base64" "^3.0.0" tslib "^2.6.2" -"@smithy/hash-blob-browser@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.1.2.tgz#90281c1f183d93686fb4f26107f1819644d68829" - integrity sha512-hAbfqN2UbISltakCC2TP0kx4LqXBttEv2MqSPE98gVuDFMf05lU+TpC41QtqGP3Ff5A3GwZMPfKnEy0VmEUpmg== +"@smithy/hash-blob-browser@^3.1.8": + version "3.1.9" + resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.1.9.tgz#1f2c3ef6afbb0ce3e58a0129753850bb9267aae8" + integrity sha512-wOu78omaUuW5DE+PVWXiRKWRZLecARyP3xcq5SmkXUw9+utgN8HnSnBfrjL2B/4ZxgqPjaAJQkC/+JHf1ITVaQ== dependencies: - "@smithy/chunked-blob-reader" "^3.0.0" - "@smithy/chunked-blob-reader-native" "^3.0.0" - "@smithy/types" "^3.3.0" + "@smithy/chunked-blob-reader" "^4.0.0" + "@smithy/chunked-blob-reader-native" "^3.0.1" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/hash-node@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.3.tgz#82c5cb7b0f1a29ee7319081853d2d158c07dff24" - integrity sha512-2ctBXpPMG+B3BtWSGNnKELJ7SH9e4TNefJS0cd2eSkOOROeBnnVBnAy9LtJ8tY4vUEoe55N4CNPxzbWvR39iBw== +"@smithy/hash-node@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.10.tgz#93c857b4bff3a48884886440fd9772924887e592" + integrity sha512-3zWGWCHI+FlJ5WJwx73Mw2llYR8aflVyZN5JhoqLxbdPZi6UyKSdCeXAWJw9ja22m6S6Tzz1KZ+kAaSwvydi0g== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" "@smithy/util-buffer-from" "^3.0.0" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/hash-stream-node@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.1.2.tgz#89f0290ae44b113863878e75b10c484ff48af71c" - integrity sha512-PBgDMeEdDzi6JxKwbfBtwQG9eT9cVwsf0dZzLXoJF4sHKHs5HEo/3lJWpn6jibfJwT34I1EBXpBnZE8AxAft6g== +"@smithy/hash-stream-node@^3.1.8": + version "3.1.9" + resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.1.9.tgz#97eb416811b7e7b9d036f0271588151b619759e9" + integrity sha512-3XfHBjSP3oDWxLmlxnt+F+FqXpL3WlXs+XXaB6bV9Wo8BBu87fK1dSEsyH7Z4ZHRmwZ4g9lFMdf08m9hoX1iRA== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/invalid-dependency@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.3.tgz#8d9fd70e3a94b565a4eba4ffbdc95238e1930528" - integrity sha512-ID1eL/zpDULmHJbflb864k72/SNOZCADRc9i7Exq3RUNJw6raWUSlFEQ+3PX3EYs++bTxZB2dE9mEHTQLv61tw== +"@smithy/invalid-dependency@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.10.tgz#8616dee555916c24dec3e33b1e046c525efbfee3" + integrity sha512-Lp2L65vFi+cj0vFMu2obpPW69DU+6O5g3086lmI4XcnRCG8PxvpWC7XyaVwJCxsZFzueHjXnrOH/E0pl0zikfA== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" "@smithy/is-array-buffer@^2.2.0": @@ -3937,177 +3916,179 @@ dependencies: tslib "^2.6.2" -"@smithy/md5-js@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.3.tgz#55ee40aa24075b096c39f7910590c18ff7660c98" - integrity sha512-O/SAkGVwpWmelpj/8yDtsaVe6sINHLB1q8YE/+ZQbDxIw3SRLbTZuRaI10K12sVoENdnHqzPp5i3/H+BcZ3m3Q== +"@smithy/md5-js@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.10.tgz#52ab927cf03cd1d24fed82d8ba936faf5632436e" + integrity sha512-m3bv6dApflt3fS2Y1PyWPUtRP7iuBlvikEOGwu0HsCZ0vE7zcIX+dBoh3e+31/rddagw8nj92j0kJg2TfV+SJA== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/middleware-content-length@^3.0.4": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.5.tgz#1680aa4fb2a1c0505756103c9a5c2916307d9035" - integrity sha512-ILEzC2eyxx6ncej3zZSwMpB5RJ0zuqH7eMptxC4KN3f+v9bqT8ohssKbhNR78k/2tWW+KS5Spw+tbPF4Ejyqvw== +"@smithy/middleware-content-length@^3.0.11": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.12.tgz#3b248ed1e8f1e0ae67171abb8eae9da7ab7ca613" + integrity sha512-1mDEXqzM20yywaMDuf5o9ue8OkJ373lSPbaSjyEvkWdqELhFMyNNgKGWL/rCSf4KME8B+HlHKuR8u9kRj8HzEQ== dependencies: - "@smithy/protocol-http" "^4.1.0" - "@smithy/types" "^3.3.0" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/middleware-endpoint@^3.0.5", "@smithy/middleware-endpoint@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.1.0.tgz#9b8a496d87a68ec43f3f1a0139868d6765a88119" - integrity sha512-5y5aiKCEwg9TDPB4yFE7H6tYvGFf1OJHNczeY10/EFF8Ir8jZbNntQJxMWNfeQjC1mxPsaQ6mR9cvQbf+0YeMw== +"@smithy/middleware-endpoint@^3.2.2", "@smithy/middleware-endpoint@^3.2.3": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.2.3.tgz#7dd3df0052fc55891522631a7751e613b6efd68a" + integrity sha512-Hdl9296i/EMptaX7agrSzJZDiz5Y8XPUeBbctTmMtnCguGpqfU3jVsTUan0VLaOhsnquqWLL8Bl5HrlbVGT1og== dependencies: - "@smithy/middleware-serde" "^3.0.3" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" - "@smithy/url-parser" "^3.0.3" - "@smithy/util-middleware" "^3.0.3" + "@smithy/core" "^2.5.3" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/shared-ini-file-loader" "^3.1.11" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" + "@smithy/util-middleware" "^3.0.10" tslib "^2.6.2" -"@smithy/middleware-retry@^3.0.10", "@smithy/middleware-retry@^3.0.13": - version "3.0.13" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.13.tgz#3bdd662aff01f360fcbaa166500bbc575dc9d1d0" - integrity sha512-zvCLfaRYCaUmjbF2yxShGZdolSHft7NNCTA28HVN9hKcEbOH+g5irr1X9s+in8EpambclGnevZY4A3lYpvDCFw== +"@smithy/middleware-retry@^3.0.26": + version "3.0.27" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.27.tgz#2e4dda420178835cd2d416479505d313b601ba21" + integrity sha512-H3J/PjJpLL7Tt+fxDKiOD25sMc94YetlQhCnYeNmina2LZscAdu0ZEZPas/kwePHABaEtqp7hqa5S4UJgMs1Tg== dependencies: - "@smithy/node-config-provider" "^3.1.4" - "@smithy/protocol-http" "^4.1.0" - "@smithy/service-error-classification" "^3.0.3" - "@smithy/smithy-client" "^3.1.11" - "@smithy/types" "^3.3.0" - "@smithy/util-middleware" "^3.0.3" - "@smithy/util-retry" "^3.0.3" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/protocol-http" "^4.1.7" + "@smithy/service-error-classification" "^3.0.10" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-retry" "^3.0.10" tslib "^2.6.2" uuid "^9.0.1" -"@smithy/middleware-serde@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.3.tgz#74d974460f74d99f38c861e6862984543a880a66" - integrity sha512-puUbyJQBcg9eSErFXjKNiGILJGtiqmuuNKEYNYfUD57fUl4i9+mfmThtQhvFXU0hCVG0iEJhvQUipUf+/SsFdA== +"@smithy/middleware-serde@^3.0.10", "@smithy/middleware-serde@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.10.tgz#5f6c0b57b10089a21d355bd95e9b7d40378454d7" + integrity sha512-MnAuhh+dD14F428ubSJuRnmRsfOpxSzvRhaGVTvd/lrUDE3kxzCCmH8lnVTvoNQnV2BbJ4c15QwZ3UdQBtFNZA== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/middleware-stack@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.3.tgz#91845c7e61e6f137fa912b623b6def719a4f6ce7" - integrity sha512-r4klY9nFudB0r9UdSMaGSyjyQK5adUyPnQN/ZM6M75phTxOdnc/AhpvGD1fQUvgmqjQEBGCwpnPbDm8pH5PapA== +"@smithy/middleware-stack@^3.0.10", "@smithy/middleware-stack@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.10.tgz#73e2fde5d151440844161773a17ee13375502baf" + integrity sha512-grCHyoiARDBBGPyw2BeicpjgpsDFWZZxptbVKb3CRd/ZA15F/T6rZjCCuBUjJwdck1nwUuIxYtsS4H9DDpbP5w== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/node-config-provider@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.4.tgz#05647bed666aa8036a1ad72323c1942e5d421be1" - integrity sha512-YvnElQy8HR4vDcAjoy7Xkx9YT8xZP4cBXcbJSgm/kxmiQu08DwUwj8rkGnyoJTpfl/3xYHH+d8zE+eHqoDCSdQ== +"@smithy/node-config-provider@^3.1.10", "@smithy/node-config-provider@^3.1.11": + version "3.1.11" + resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.11.tgz#95feba85a5cb3de3fe9adfff1060b35fd556d023" + integrity sha512-URq3gT3RpDikh/8MBJUB+QGZzfS7Bm6TQTqoh4CqE8NBuyPkWa5eUXj0XFcFfeZVgg3WMh1u19iaXn8FvvXxZw== dependencies: - "@smithy/property-provider" "^3.1.3" - "@smithy/shared-ini-file-loader" "^3.1.4" - "@smithy/types" "^3.3.0" + "@smithy/property-provider" "^3.1.10" + "@smithy/shared-ini-file-loader" "^3.1.11" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/node-http-handler@^3.1.3", "@smithy/node-http-handler@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.1.4.tgz#be4195e45639e690d522cd5f11513ea822ff9d5f" - integrity sha512-+UmxgixgOr/yLsUxcEKGH0fMNVteJFGkmRltYFHnBMlogyFdpzn2CwqWmxOrfJELhV34v0WSlaqG1UtE1uXlJg== +"@smithy/node-http-handler@^3.3.0", "@smithy/node-http-handler@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.3.1.tgz#788fc1c22c21a0cf982f4025ccf9f64217f3164f" + integrity sha512-fr+UAOMGWh6bn4YSEezBCpJn9Ukp9oR4D32sCjCo7U81evE11YePOQ58ogzyfgmjIO79YeOdfXXqr0jyhPQeMg== dependencies: - "@smithy/abort-controller" "^3.1.1" - "@smithy/protocol-http" "^4.1.0" - "@smithy/querystring-builder" "^3.0.3" - "@smithy/types" "^3.3.0" + "@smithy/abort-controller" "^3.1.8" + "@smithy/protocol-http" "^4.1.7" + "@smithy/querystring-builder" "^3.0.10" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/property-provider@^3.1.3": - version "3.1.3" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.3.tgz#afd57ea82a3f6c79fbda95e3cb85c0ee0a79f39a" - integrity sha512-zahyOVR9Q4PEoguJ/NrFP4O7SMAfYO1HLhB18M+q+Z4KFd4V2obiMnlVoUFzFLSPeVt1POyNWneHHrZaTMoc/g== +"@smithy/property-provider@^3.1.10", "@smithy/property-provider@^3.1.9": + version "3.1.10" + resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.10.tgz#ae00447c1060c194c3e1b9475f7c8548a70f8486" + integrity sha512-n1MJZGTorTH2DvyTVj+3wXnd4CzjJxyXeOgnTlgNVFxaaMeT4OteEp4QrzF8p9ee2yg42nvyVK6R/awLCakjeQ== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/protocol-http@^4.0.4", "@smithy/protocol-http@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.1.0.tgz#23519d8f45bf4f33960ea5415847bc2b620a010b" - integrity sha512-dPVoHYQ2wcHooGXg3LQisa1hH0e4y0pAddPMeeUPipI1tEOqL6A4N0/G7abeq+K8wrwSgjk4C0wnD1XZpJm5aA== +"@smithy/protocol-http@^4.1.6", "@smithy/protocol-http@^4.1.7": + version "4.1.7" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.1.7.tgz#5c67e62beb5deacdb94f2127f9a344bdf1b2ed6e" + integrity sha512-FP2LepWD0eJeOTm0SjssPcgqAlDFzOmRXqXmGhfIM52G7Lrox/pcpQf6RP4F21k0+O12zaqQt5fCDOeBtqY6Cg== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/querystring-builder@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.3.tgz#6b0e566f885bb84938d077c69e8f8555f686af13" - integrity sha512-vyWckeUeesFKzCDaRwWLUA1Xym9McaA6XpFfAK5qI9DKJ4M33ooQGqvM4J+LalH4u/Dq9nFiC8U6Qn1qi0+9zw== +"@smithy/querystring-builder@^3.0.10", "@smithy/querystring-builder@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.10.tgz#db8773af85ee3977c82b8e35a5cdd178c621306d" + integrity sha512-nT9CQF3EIJtIUepXQuBFb8dxJi3WVZS3XfuDksxSCSn+/CzZowRLdhDn+2acbBv8R6eaJqPupoI/aRFIImNVPQ== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" "@smithy/util-uri-escape" "^3.0.0" tslib "^2.6.2" -"@smithy/querystring-parser@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.3.tgz#272a6b83f88dfcbbec8283d72a6bde850cc00091" - integrity sha512-zahM1lQv2YjmznnfQsWbYojFe55l0SLG/988brlLv1i8z3dubloLF+75ATRsqPBboUXsW6I9CPGE5rQgLfY0vQ== +"@smithy/querystring-parser@^3.0.10", "@smithy/querystring-parser@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.10.tgz#62db744a1ed2cf90f4c08d2c73d365e033b4a11c" + integrity sha512-Oa0XDcpo9SmjhiDD9ua2UyM3uU01ZTuIrNdZvzwUTykW1PM8o2yJvMh1Do1rY5sUQg4NDV70dMi0JhDx4GyxuQ== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/service-error-classification@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.3.tgz#73484255060a094aa9372f6cd972dcaf97e3ce80" - integrity sha512-Jn39sSl8cim/VlkLsUhRFq/dKDnRUFlfRkvhOJaUbLBXUsLRLNf9WaxDv/z9BjuQ3A6k/qE8af1lsqcwm7+DaQ== +"@smithy/service-error-classification@^3.0.10": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.10.tgz#941c549daf0e9abb84d3def1d9e1e3f0f74f5ba6" + integrity sha512-zHe642KCqDxXLuhs6xmHVgRwy078RfqxP2wRDpIyiF8EmsWXptMwnMwbVa50lw+WOGNrYm9zbaEg0oDe3PTtvQ== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" -"@smithy/shared-ini-file-loader@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.4.tgz#7dceaf5a5307a2ee347ace8aba17312a1a3ede15" - integrity sha512-qMxS4hBGB8FY2GQqshcRUy1K6k8aBWP5vwm8qKkCT3A9K2dawUwOIJfqh9Yste/Bl0J2lzosVyrXDj68kLcHXQ== +"@smithy/shared-ini-file-loader@^3.1.10", "@smithy/shared-ini-file-loader@^3.1.11": + version "3.1.11" + resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.11.tgz#0b4f98c4a66480956fbbefc4627c5dc09d891aea" + integrity sha512-AUdrIZHFtUgmfSN4Gq9nHu3IkHMa1YDcN+s061Nfm+6pQ0mJy85YQDB0tZBCmls0Vuj22pLwDPmL92+Hvfwwlg== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/signature-v4@^4.0.0", "@smithy/signature-v4@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.1.0.tgz#251ff43dc1f4ad66776122732fea9e56efc56443" - integrity sha512-aRryp2XNZeRcOtuJoxjydO6QTaVhxx/vjaR+gx7ZjaFgrgPRyZ3HCTbfwqYj6ZWEBHkCSUfcaymKPURaByukag== +"@smithy/signature-v4@^4.2.2": + version "4.2.3" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.2.3.tgz#abbca5e5fe9158422b3125b2956791a325a27f22" + integrity sha512-pPSQQ2v2vu9vc8iew7sszLd0O09I5TRc5zhY71KA+Ao0xYazIG+uLeHbTJfIWGO3BGVLiXjUr3EEeCcEQLjpWQ== dependencies: "@smithy/is-array-buffer" "^3.0.0" - "@smithy/protocol-http" "^4.1.0" - "@smithy/types" "^3.3.0" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" "@smithy/util-hex-encoding" "^3.0.0" - "@smithy/util-middleware" "^3.0.3" + "@smithy/util-middleware" "^3.0.10" "@smithy/util-uri-escape" "^3.0.0" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/smithy-client@^3.1.10", "@smithy/smithy-client@^3.1.11", "@smithy/smithy-client@^3.1.8": - version "3.1.11" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.1.11.tgz#f12a7a0acaa7db3ead488ddf12ef4681daec11a7" - integrity sha512-l0BpyYkciNyMaS+PnFFz4aO5sBcXvGLoJd7mX9xrMBIm2nIQBVvYgp2ZpPDMzwjKCavsXu06iuCm0F6ZJZc6yQ== +"@smithy/smithy-client@^3.4.3", "@smithy/smithy-client@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.4.4.tgz#460870dc97d945fa2f390890359cf09d01131e0f" + integrity sha512-dPGoJuSZqvirBq+yROapBcHHvFjChoAQT8YPWJ820aPHHiowBlB3RL1Q4kPT1hx0qKgJuf+HhyzKi5Gbof4fNA== dependencies: - "@smithy/middleware-endpoint" "^3.1.0" - "@smithy/middleware-stack" "^3.0.3" - "@smithy/protocol-http" "^4.1.0" - "@smithy/types" "^3.3.0" - "@smithy/util-stream" "^3.1.3" + "@smithy/core" "^2.5.3" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/middleware-stack" "^3.0.10" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" + "@smithy/util-stream" "^3.3.1" tslib "^2.6.2" -"@smithy/types@^3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.3.0.tgz#fae037c733d09bc758946a01a3de0ef6e210b16b" - integrity sha512-IxvBBCTFDHbVoK7zIxqA1ZOdc4QfM5HM7rGleCuHi7L1wnKv5Pn69xXJQ9hgxH60ZVygH9/JG0jRgtUncE3QUA== +"@smithy/types@^3.3.0", "@smithy/types@^3.7.0", "@smithy/types@^3.7.1": + version "3.7.1" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.7.1.tgz#4af54c4e28351e9101996785a33f2fdbf93debe7" + integrity sha512-XKLcLXZY7sUQgvvWyeaL/qwNPp6V3dWcUjqrQKjSb+tzYiCy340R/c64LV5j+Tnb2GhmunEX0eou+L+m2hJNYA== dependencies: tslib "^2.6.2" -"@smithy/url-parser@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.3.tgz#e8a060d9810b24b1870385fc2b02485b8a6c5955" - integrity sha512-pw3VtZtX2rg+s6HMs6/+u9+hu6oY6U7IohGhVNnjbgKy86wcIsSZwgHrFR+t67Uyxvp4Xz3p3kGXXIpTNisq8A== +"@smithy/url-parser@^3.0.10", "@smithy/url-parser@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.10.tgz#f389985a79766cff4a99af14979f01a17ce318da" + integrity sha512-j90NUalTSBR2NaZTuruEgavSdh8MLirf58LoGSk4AtQfyIymogIhgnGUU2Mga2bkMkpSoC9gxb74xBXL5afKAQ== dependencies: - "@smithy/querystring-parser" "^3.0.3" - "@smithy/types" "^3.3.0" + "@smithy/querystring-parser" "^3.0.10" + "@smithy/types" "^3.7.1" tslib "^2.6.2" "@smithy/util-base64@^3.0.0": @@ -4156,37 +4137,37 @@ dependencies: tslib "^2.6.2" -"@smithy/util-defaults-mode-browser@^3.0.10": - version "3.0.13" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.13.tgz#f574bbb89d60f5dcc443f106087d317b370634d0" - integrity sha512-ZIRSUsnnMRStOP6OKtW+gCSiVFkwnfQF2xtf32QKAbHR6ACjhbAybDvry+3L5qQYdh3H6+7yD/AiUE45n8mTTw== +"@smithy/util-defaults-mode-browser@^3.0.26": + version "3.0.27" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.27.tgz#d5df39faee8ad4bb5a6920b208469caa9dda2ccb" + integrity sha512-GV8NvPy1vAGp7u5iD/xNKUxCorE4nQzlyl057qRac+KwpH5zq8wVq6rE3lPPeuFLyQXofPN6JwxL1N9ojGapiQ== dependencies: - "@smithy/property-provider" "^3.1.3" - "@smithy/smithy-client" "^3.1.11" - "@smithy/types" "^3.3.0" + "@smithy/property-provider" "^3.1.10" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" bowser "^2.11.0" tslib "^2.6.2" -"@smithy/util-defaults-mode-node@^3.0.10": - version "3.0.13" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.13.tgz#cdd3a08bb5af4d17c2b0a951af9936ce7f3bae93" - integrity sha512-voUa8TFJGfD+U12tlNNLCDlXibt9vRdNzRX45Onk/WxZe7TS+hTOZouEZRa7oARGicdgeXvt1A0W45qLGYdy+g== +"@smithy/util-defaults-mode-node@^3.0.26": + version "3.0.27" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.27.tgz#a7248c9d9cb620827ab57ef9d1867bfe8aef42d0" + integrity sha512-7+4wjWfZqZxZVJvDutO+i1GvL6bgOajEkop4FuR6wudFlqBiqwxw3HoH6M9NgeCd37km8ga8NPp2JacQEtAMPg== dependencies: - "@smithy/config-resolver" "^3.0.5" - "@smithy/credential-provider-imds" "^3.2.0" - "@smithy/node-config-provider" "^3.1.4" - "@smithy/property-provider" "^3.1.3" - "@smithy/smithy-client" "^3.1.11" - "@smithy/types" "^3.3.0" + "@smithy/config-resolver" "^3.0.12" + "@smithy/credential-provider-imds" "^3.2.7" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/property-provider" "^3.1.10" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/util-endpoints@^2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.0.5.tgz#e3a7a4d1c41250bfd2b2d890d591273a7d8934be" - integrity sha512-ReQP0BWihIE68OAblC/WQmDD40Gx+QY1Ez8mTdFMXpmjfxSyz2fVQu3A4zXRfQU9sZXtewk3GmhfOHswvX+eNg== +"@smithy/util-endpoints@^2.1.5": + version "2.1.6" + resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.1.6.tgz#720cbd1a616ad7c099b77780f0cb0f1f9fc5d2df" + integrity sha512-mFV1t3ndBh0yZOJgWxO9J/4cHZVn5UG1D8DeCc6/echfNkeEJWu9LD7mgGH5fHrEdR7LDoWw7PQO6QiGpHXhgA== dependencies: - "@smithy/node-config-provider" "^3.1.4" - "@smithy/types" "^3.3.0" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/types" "^3.7.1" tslib "^2.6.2" "@smithy/util-hex-encoding@^3.0.0": @@ -4196,31 +4177,31 @@ dependencies: tslib "^2.6.2" -"@smithy/util-middleware@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.3.tgz#07bf9602682f5a6c55bc2f0384303f85fc68c87e" - integrity sha512-l+StyYYK/eO3DlVPbU+4Bi06Jjal+PFLSMmlWM1BEwyLxZ3aKkf1ROnoIakfaA7mC6uw3ny7JBkau4Yc+5zfWw== +"@smithy/util-middleware@^3.0.10", "@smithy/util-middleware@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.10.tgz#ab8be99f1aaafe5a5490c344f27a264b72b7592f" + integrity sha512-eJO+/+RsrG2RpmY68jZdwQtnfsxjmPxzMlQpnHKjFPwrYqvlcT+fHdT+ZVwcjlWSrByOhGr9Ff2GG17efc192A== dependencies: - "@smithy/types" "^3.3.0" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/util-retry@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.3.tgz#9b2ac0dbb1c81f69812a8affa4d772bebfc0e049" - integrity sha512-AFw+hjpbtVApzpNDhbjNG5NA3kyoMs7vx0gsgmlJF4s+yz1Zlepde7J58zpIRIsdjc+emhpAITxA88qLkPF26w== +"@smithy/util-retry@^3.0.10", "@smithy/util-retry@^3.0.9": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.10.tgz#fc13e1b30e87af0cbecadf29ca83b171e2040440" + integrity sha512-1l4qatFp4PiU6j7UsbasUHL2VU023NRB/gfaa1M0rDqVrRN4g3mCArLRyH3OuktApA4ye+yjWQHjdziunw2eWA== dependencies: - "@smithy/service-error-classification" "^3.0.3" - "@smithy/types" "^3.3.0" + "@smithy/service-error-classification" "^3.0.10" + "@smithy/types" "^3.7.1" tslib "^2.6.2" -"@smithy/util-stream@^3.1.0", "@smithy/util-stream@^3.1.2", "@smithy/util-stream@^3.1.3": - version "3.1.3" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.1.3.tgz#699ee2397cc1d474e46d2034039d5263812dca64" - integrity sha512-FIv/bRhIlAxC0U7xM1BCnF2aDRPq0UaelqBHkM2lsCp26mcBbgI0tCVTv+jGdsQLUmAMybua/bjDsSu8RQHbmw== +"@smithy/util-stream@^3.3.0", "@smithy/util-stream@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.3.1.tgz#a2636f435637ef90d64df2bb8e71cd63236be112" + integrity sha512-Ff68R5lJh2zj+AUTvbAU/4yx+6QPRzg7+pI7M1FbtQHcRIp7xvguxVsQBKyB3fwiOwhAKu0lnNyYBaQfSW6TNw== dependencies: - "@smithy/fetch-http-handler" "^3.2.4" - "@smithy/node-http-handler" "^3.1.4" - "@smithy/types" "^3.3.0" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/types" "^3.7.1" "@smithy/util-base64" "^3.0.0" "@smithy/util-buffer-from" "^3.0.0" "@smithy/util-hex-encoding" "^3.0.0" @@ -4250,13 +4231,13 @@ "@smithy/util-buffer-from" "^3.0.0" tslib "^2.6.2" -"@smithy/util-waiter@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.1.2.tgz#2d40c3312f3537feee763459a19acafab4c75cf3" - integrity sha512-4pP0EV3iTsexDx+8PPGAKCQpd/6hsQBaQhqWzU4hqKPHN5epPsxKbvUTIiYIHTxaKt6/kEaqPBpu/ufvfbrRzw== +"@smithy/util-waiter@^3.1.8": + version "3.1.9" + resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.1.9.tgz#1330ce2e79b58419d67755d25bce7a226e32dc6d" + integrity sha512-/aMXPANhMOlMPjfPtSrDfPeVP8l56SJlz93xeiLmhLe5xvlXA5T3abZ2ilEsDEPeY9T/wnN/vNGn9wa1SbufWA== dependencies: - "@smithy/abort-controller" "^3.1.1" - "@smithy/types" "^3.3.0" + "@smithy/abort-controller" "^3.1.8" + "@smithy/types" "^3.7.1" tslib "^2.6.2" "@socket.io/component-emitter@~3.1.0": @@ -8731,10 +8712,10 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" -fast-xml-parser@4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz#a6747a09296a6cb34f2ae634019bf1738f3b421f" - integrity sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g== +fast-xml-parser@4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f" + integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw== dependencies: strnum "^1.0.5" From d4d683c046effe0bee861dac5ca7feb0abd55e29 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 18 Nov 2024 17:51:49 -0500 Subject: [PATCH 008/145] fix: Missing space character in invite modal, related #7968 --- app/scenes/Invite.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Invite.tsx b/app/scenes/Invite.tsx index 0d4e36be60..8cb13d9c1b 100644 --- a/app/scenes/Invite.tsx +++ b/app/scenes/Invite.tsx @@ -127,7 +127,7 @@ function Invite({ onSubmit }: Props) { {{ collectionCount }} collections - . + .{" "} ) : undefined; From 326f733d4c06da4e0bcbf5182a8761c6ea745adb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 18 Nov 2024 18:04:10 -0500 Subject: [PATCH 009/145] fix: Further improvements to diacritics matching in CMD+F --- app/editor/extensions/FindAndReplace.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/editor/extensions/FindAndReplace.tsx b/app/editor/extensions/FindAndReplace.tsx index 9cca9db143..98dbb87bb1 100644 --- a/app/editor/extensions/FindAndReplace.tsx +++ b/app/editor/extensions/FindAndReplace.tsx @@ -248,14 +248,19 @@ export default class FindAndReplaceExtension extends Extension { let m; const search = this.findRegExp; - while ((m = search.exec(deburr(text)))) { + // We construct a string with the text stripped of diacritics plus the original text for + // search allowing to search for diacritics-insensitive matches easily. + while ((m = search.exec(deburr(text) + text))) { if (m[0] === "") { break; } + // Reconstruct the correct match position + const i = m.index > text.length ? m.index - text.length : m.index; + this.results.push({ - from: pos + m.index, - to: pos + m.index + m[0].length, + from: pos + i, + to: pos + i + m[0].length, }); } } catch (e) { From c62900664200deab3dee9e12cc3b4bfb5a64d971 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 18 Nov 2024 21:36:44 -0500 Subject: [PATCH 010/145] Add inline resolve action on comment threads (#7977) * Add inline resolve action on comment threads * perf refactor --- app/components/Reactions/ReactionPicker.tsx | 29 +++---- .../Document/components/CommentThreadItem.tsx | 77 +++++++++++++------ shared/i18n/locales/en_US/translation.json | 1 + 3 files changed, 72 insertions(+), 35 deletions(-) diff --git a/app/components/Reactions/ReactionPicker.tsx b/app/components/Reactions/ReactionPicker.tsx index 72e329fc25..f6eda81966 100644 --- a/app/components/Reactions/ReactionPicker.tsx +++ b/app/components/Reactions/ReactionPicker.tsx @@ -2,7 +2,6 @@ import { ReactionIcon } from "outline-icons"; import React from "react"; import { useTranslation } from "react-i18next"; import { PopoverDisclosure, usePopoverState } from "reakit"; -import styled from "styled-components"; import EventBoundary from "@shared/components/EventBoundary"; import Flex from "~/components/Flex"; import NudeButton from "~/components/NudeButton"; @@ -11,6 +10,7 @@ import Popover from "~/components/Popover"; import useMobile from "~/hooks/useMobile"; import useOnClickOutside from "~/hooks/useOnClickOutside"; import useWindowSize from "~/hooks/useWindowSize"; +import Tooltip from "../Tooltip"; const EmojiPanel = React.lazy( () => import("~/components/IconPicker/components/EmojiPanel") @@ -98,15 +98,22 @@ const ReactionPicker: React.FC = ({ <> {(props) => ( - - - + + + + )} ) : undefined } @@ -257,14 +264,20 @@ function CommentThreadItem({ {!isEditing && ( + {firstOfThread && ( + + )} {!comment.isResolved && ( - )} - void; +}) => { + const context = useActionContext(); + const { t } = useTranslation(); + + return ( + + onUpdate({ resolved: true }), + })} + rounded + > + + + + ); +}; + const StyledCommentEditor = styled(CommentEditor)` ${(props) => !props.readOnly && @@ -308,25 +353,13 @@ const Body = styled.form` border-radius: 2px; `; -const StyledMenu = styled(CommentMenu)` - color: ${s("textSecondary")}; - - svg { - fill: currentColor; - opacity: 0.5; - } - - &: ${hover}, &[aria-expanded= "true"] { - background: ${s("backgroundQuaternary")}; - - svg { - opacity: 0.75; - } - } -`; - -const StyledReactionPicker = styled(ReactionPicker)` +const Action = styled.span<{ rounded?: boolean }>` color: ${s("textSecondary")}; + ${(props) => + props.rounded && + css` + border-radius: 50%; + `} svg { fill: currentColor; @@ -352,7 +385,7 @@ const Actions = styled(Flex)<{ dir?: "rtl" | "ltr" }>` background: ${s("backgroundSecondary")}; padding-left: 4px; - &:has(${StyledReactionPicker}[aria-expanded="true"], ${StyledMenu}[aria-expanded="true"]) { + &:has(${Action}[aria-expanded="true"]) { opacity: 1; } `; diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 050acdc59b..842e768c89 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -308,6 +308,7 @@ "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}", "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} and {{ count }} other reacted with {{ emoji }}", "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}", + "Add reaction": "Add reaction", "Reaction picker": "Reaction picker", "Could not load reactions": "Could not load reactions", "Reaction": "Reaction", From 1c86119065362aa13e46a504a32b63fc5c9a4111 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 19 Nov 2024 19:22:53 -0500 Subject: [PATCH 011/145] fix: Cannot sort by role on member settings, closes #7986 --- app/scenes/Settings/components/PeopleTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Settings/components/PeopleTable.tsx b/app/scenes/Settings/components/PeopleTable.tsx index 476011ec22..cc2ab44d77 100644 --- a/app/scenes/Settings/components/PeopleTable.tsx +++ b/app/scenes/Settings/components/PeopleTable.tsx @@ -52,7 +52,7 @@ function PeopleTable({ canManage, ...rest }: Props) { ), }, { - id: "isAdmin", + id: "role", Header: t("Role"), accessor: "rank", Cell: observer(({ row }: { row: { original: User } }) => ( From b595a0d427ac0fe7d5e38c3100e5cdeb17613f20 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 19 Nov 2024 20:45:32 -0500 Subject: [PATCH 012/145] fix: No-op sending emails in self-hosted if configuration is unavailable rather than retrying towards #7982 --- server/emails/templates/BaseEmail.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/emails/templates/BaseEmail.tsx b/server/emails/templates/BaseEmail.tsx index 2fb1fe7bc9..a20269d2dd 100644 --- a/server/emails/templates/BaseEmail.tsx +++ b/server/emails/templates/BaseEmail.tsx @@ -51,6 +51,15 @@ export default abstract class BaseEmail< * @returns A promise that resolves once the email is placed on the task queue */ public schedule(options?: Bull.JobOptions) { + // No-op to schedule emails if SMTP is not configured + if (!env.SMTP_FROM_EMAIL) { + Logger.info( + "email", + `Email ${this.constructor.name} not sent due to missing SMTP configuration` + ); + return; + } + const templateName = this.constructor.name; Metrics.increment("email.scheduled", { From 6e685ee8d990c2fd2318bcc94a5244bb57e54603 Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Thu, 21 Nov 2024 03:57:16 +0530 Subject: [PATCH 013/145] store pin location on mount (#7994) --- app/components/DocumentCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/components/DocumentCard.tsx b/app/components/DocumentCard.tsx index fb9b802fa9..3968e0f468 100644 --- a/app/components/DocumentCard.tsx +++ b/app/components/DocumentCard.tsx @@ -39,6 +39,7 @@ function DocumentCard(props: Props) { const { collections } = useStores(); const theme = useTheme(); const { document, pin, canUpdatePin, isDraggable } = props; + const pinnedToHome = React.useRef(!pin?.collectionId).current; const collection = document.collectionId ? collections.get(document.collectionId) : undefined; @@ -122,13 +123,13 @@ function DocumentCard(props: Props) { {collection?.icon && collection?.icon !== "letter" && collection?.icon !== "collection" && - !pin?.collectionId ? ( + pinnedToHome ? ( ) : ( From fd5391cbb6b6f35818422546b7a91e86924f37df Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 20 Nov 2024 17:45:12 -0500 Subject: [PATCH 014/145] Cache diff generation for email notifications (#7987) * Cache diff generation, closes #7982 * Handle cannot acquire lock * Refactor to guard --- package.json | 1 + .../DocumentPublishedOrUpdatedEmail.tsx | 34 ++++++++----- server/utils/CacheHelper.ts | 49 +++++++++++++++++++ server/utils/MutexLock.ts | 20 ++++++++ yarn.lock | 11 ++++- 5 files changed, 100 insertions(+), 15 deletions(-) create mode 100644 server/utils/MutexLock.ts diff --git a/package.json b/package.json index 4b5b6c026b..849371b73c 100644 --- a/package.json +++ b/package.json @@ -208,6 +208,7 @@ "react-waypoint": "^10.3.0", "react-window": "^1.8.10", "reakit": "^1.3.11", + "redlock": "^5.0.0-beta.2", "reflect-metadata": "^0.2.2", "refractor": "^3.6.0", "request-filtering-agent": "^1.1.2", diff --git a/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx b/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx index 08fdaa5545..f5d4b34fc0 100644 --- a/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx +++ b/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx @@ -7,6 +7,7 @@ import HTMLHelper from "@server/models/helpers/HTMLHelper"; import NotificationSettingsHelper from "@server/models/helpers/NotificationSettingsHelper"; import SubscriptionHelper from "@server/models/helpers/SubscriptionHelper"; import { can } from "@server/policies"; +import { CacheHelper } from "@server/utils/CacheHelper"; import BaseEmail, { EmailMessageCategory, EmailProps } from "./BaseEmail"; import Body from "./components/Body"; import Button from "./components/Button"; @@ -68,21 +69,28 @@ export default class DocumentPublishedOrUpdatedEmail extends BaseEmail< let body; if (revisionId && team?.getPreference(TeamPreference.PreviewsInEmails)) { - // generate the diff html for the email - const revision = await Revision.findByPk(revisionId); + body = await CacheHelper.getDataOrSet( + `diff:${revisionId}`, + async () => { + // generate the diff html for the email + const revision = await Revision.findByPk(revisionId); - if (revision) { - const before = await revision.before(); - const content = await DocumentHelper.toEmailDiff(before, revision, { - includeTitle: false, - centered: false, - signedUrls: 4 * Day.seconds, - baseUrl: props.teamUrl, - }); + if (revision) { + const before = await revision.before(); + const content = await DocumentHelper.toEmailDiff(before, revision, { + includeTitle: false, + centered: false, + signedUrls: 4 * Day.seconds, + baseUrl: props.teamUrl, + }); - // inline all css so that it works in as many email providers as possible. - body = content ? await HTMLHelper.inlineCSS(content) : undefined; - } + // inline all css so that it works in as many email providers as possible. + return content ? await HTMLHelper.inlineCSS(content) : undefined; + } + return; + }, + 30 + ); } return { diff --git a/server/utils/CacheHelper.ts b/server/utils/CacheHelper.ts index c5bb5fe5e7..441de236f6 100644 --- a/server/utils/CacheHelper.ts +++ b/server/utils/CacheHelper.ts @@ -1,6 +1,7 @@ import { Day } from "@shared/utils/time"; import Logger from "@server/logging/Logger"; import Redis from "@server/storage/redis"; +import { MutexLock } from "./MutexLock"; /** * A Helper class for server-side cache management @@ -9,6 +10,54 @@ export class CacheHelper { // Default expiry time for cache data in seconds private static defaultDataExpiry = Day.seconds; + /** + * Given a key this method will attempt to get the data from cache store first + * If data is not found, it will call the callback to get the data and save it in cache + * using a distributed lock to prevent multiple writes. + * + * @param key Cache key + * @param callback Callback to get the data if not found in cache + * @param expiry Cache data expiry in seconds + */ + public static async getDataOrSet( + key: string, + callback: () => Promise, + expiry?: number + ): Promise { + let cache = await this.getData(key); + + if (cache) { + return cache; + } + + // Nothing in the cache, acquire a lock to prevent multiple writes + let lock; + const lockKey = `lock:${key}`; + try { + try { + lock = await MutexLock.lock.acquire( + [lockKey], + MutexLock.defaultLockTimeout + ); + } catch (err) { + Logger.error(`Could not acquire lock for ${key}`, err); + } + cache = await this.getData(key); + if (cache) { + return cache; + } + + // Get the data from the callback and save it in cache + const value = await callback(); + if (value) { + await this.setData(key, value, expiry); + } + return value; + } finally { + await lock?.release(); + } + } + /** * Given a key, gets the data from cache store * diff --git a/server/utils/MutexLock.ts b/server/utils/MutexLock.ts new file mode 100644 index 0000000000..70b5713ead --- /dev/null +++ b/server/utils/MutexLock.ts @@ -0,0 +1,20 @@ +import Redlock from "redlock"; +import Redis from "@server/storage/redis"; + +export class MutexLock { + // Default expiry time for qcuiring lock in milliseconds + public static defaultLockTimeout = 5000; + + /** + * Returns the redlock instance + */ + public static get lock(): Redlock { + this.redlock ??= new Redlock([Redis.defaultClient], { + retryJitter: 10, + }); + + return this.redlock; + } + + private static redlock: Redlock; +} diff --git a/yarn.lock b/yarn.lock index 07d05b0046..49c3b4fd59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4075,7 +4075,7 @@ "@smithy/util-stream" "^3.3.1" tslib "^2.6.2" -"@smithy/types@^3.3.0", "@smithy/types@^3.7.0", "@smithy/types@^3.7.1": +"@smithy/types@^3.7.0", "@smithy/types@^3.7.1": version "3.7.1" resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.7.1.tgz#4af54c4e28351e9101996785a33f2fdbf93debe7" integrity sha512-XKLcLXZY7sUQgvvWyeaL/qwNPp6V3dWcUjqrQKjSb+tzYiCy340R/c64LV5j+Tnb2GhmunEX0eou+L+m2hJNYA== @@ -11906,7 +11906,7 @@ node-abort-controller@^1.1.0: resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-1.2.1.tgz#1eddb57eb8fea734198b11b28857596dc6165708" integrity "sha1-Ht21frj+pzQZixGyiFdZbcYWVwg= sha512-79PYeJuj6S9+yOHirR0JBLFOgjB6sQCir10uN6xRx25iD+ZD4ULqgRn3MwWBRaQGB0vEgReJzWwJo42T1R6YbQ==" -node-abort-controller@^3.1.1: +node-abort-controller@^3.0.1, node-abort-controller@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.1.1.tgz#a94377e964a9a37ac3976d848cb5c765833b8548" integrity "sha1-qUN36WSpo3rDl22EjLXHZYM7hUg= sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" @@ -13479,6 +13479,13 @@ redis@^3.0.0: redis-errors "^1.2.0" redis-parser "^3.0.0" +redlock@^5.0.0-beta.2: + version "5.0.0-beta.2" + resolved "https://registry.yarnpkg.com/redlock/-/redlock-5.0.0-beta.2.tgz#a629c07e07d001c0fdd9f2efa614144c4416fe44" + integrity sha512-2RDWXg5jgRptDrB1w9O/JgSZC0j7y4SlaXnor93H/UJm/QyDiFgBKNtrh0TI6oCXqYSaSoXxFh6Sd3VtYfhRXw== + dependencies: + node-abort-controller "^3.0.1" + redux@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.0.tgz#46f10d6e29b6666df758780437651eeb2b969f13" From 28cb5aa3795bf9aa938da1a5a4ee09addae60b9b Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Thu, 21 Nov 2024 05:44:11 +0530 Subject: [PATCH 015/145] Convert pin mutations to use auto event insertion (#7993) --- server/commands/pinCreator.test.ts | 29 ++++++++-------- server/commands/pinCreator.ts | 49 +++++++-------------------- server/commands/pinDestroyer.ts | 2 ++ server/commands/pinUpdater.ts | 53 ------------------------------ server/models/Pin.ts | 2 ++ server/routes/api/pins/pins.ts | 39 ++++++++++++++-------- 6 files changed, 57 insertions(+), 117 deletions(-) delete mode 100644 server/commands/pinUpdater.ts diff --git a/server/commands/pinCreator.test.ts b/server/commands/pinCreator.test.ts index 42da0c78d8..79f8d0e46c 100644 --- a/server/commands/pinCreator.test.ts +++ b/server/commands/pinCreator.test.ts @@ -1,10 +1,9 @@ import { Event } from "@server/models"; import { buildDocument, buildUser } from "@server/test/factories"; +import { withAPIContext } from "@server/test/support"; import pinCreator from "./pinCreator"; describe("pinCreator", () => { - const ip = "127.0.0.1"; - it("should create pin to home", async () => { const user = await buildUser(); const document = await buildDocument({ @@ -12,11 +11,13 @@ describe("pinCreator", () => { teamId: user.teamId, }); - const pin = await pinCreator({ - documentId: document.id, - user, - ip, - }); + const pin = await withAPIContext(user, (ctx) => + pinCreator({ + ctx, + user, + documentId: document.id, + }) + ); const event = await Event.findLatest({ teamId: user.teamId, @@ -36,12 +37,14 @@ describe("pinCreator", () => { teamId: user.teamId, }); - const pin = await pinCreator({ - documentId: document.id, - collectionId: document.collectionId, - user, - ip, - }); + const pin = await withAPIContext(user, (ctx) => + pinCreator({ + ctx, + user, + documentId: document.id, + collectionId: document.collectionId, + }) + ); const event = await Event.findLatest({ teamId: user.teamId, diff --git a/server/commands/pinCreator.ts b/server/commands/pinCreator.ts index cab9caa5c5..6c5adeb04a 100644 --- a/server/commands/pinCreator.ts +++ b/server/commands/pinCreator.ts @@ -2,10 +2,12 @@ import fractionalIndex from "fractional-index"; import { Sequelize, Op, WhereOptions } from "sequelize"; import { PinValidation } from "@shared/validations"; import { ValidationError } from "@server/errors"; -import { Pin, User, Event } from "@server/models"; -import { sequelize } from "@server/storage/database"; +import { Pin, User } from "@server/models"; +import { APIContext } from "@server/types"; type Props = { + /** The request context */ + ctx: APIContext; /** The user creating the pin */ user: User; /** The document to pin */ @@ -14,8 +16,6 @@ type Props = { collectionId?: string | null; /** The index to pin the document at. If no index is provided then it will be pinned to the end of the collection */ index?: string; - /** The IP address of the user creating the pin */ - ip: string; }; /** @@ -26,10 +26,10 @@ type Props = { * @returns Pin The pin that was created */ export default async function pinCreator({ + ctx, user, documentId, collectionId, - ip, ...rest }: Props): Promise { let { index } = rest; @@ -62,38 +62,13 @@ export default async function pinCreator({ index = fractionalIndex(pins.length ? pins[0].index : null, null); } - const transaction = await sequelize.transaction(); - let pin; - - try { - pin = await Pin.create( - { - createdById: user.id, - teamId: user.teamId, - collectionId, - documentId, - index, - }, - { transaction } - ); - - await Event.create( - { - name: "pins.create", - modelId: pin.id, - teamId: user.teamId, - actorId: user.id, - documentId, - collectionId, - ip, - }, - { transaction } - ); - await transaction.commit(); - } catch (err) { - await transaction.rollback(); - throw err; - } + const pin = await Pin.createWithCtx(ctx, { + createdById: user.id, + teamId: user.teamId, + collectionId, + documentId, + index, + }); return pin; } diff --git a/server/commands/pinDestroyer.ts b/server/commands/pinDestroyer.ts index 594f4bcbf1..af59e095d0 100644 --- a/server/commands/pinDestroyer.ts +++ b/server/commands/pinDestroyer.ts @@ -13,6 +13,8 @@ type Props = { }; /** + * @deprecated use pin.destroyWithCtx instead. This will be removed once document routes migrate to auto event insertion using APIContext. + * * This command destroys a document pin. This just removes the pin itself and * does not touch the document * diff --git a/server/commands/pinUpdater.ts b/server/commands/pinUpdater.ts deleted file mode 100644 index e87173f481..0000000000 --- a/server/commands/pinUpdater.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Event, Pin, User } from "@server/models"; -import { sequelize } from "@server/storage/database"; - -type Props = { - /** The user updating the pin */ - user: User; - /** The existing pin */ - pin: Pin; - /** The index to pin the document at */ - index: string; - /** The IP address of the user creating the pin */ - ip: string; -}; - -/** - * This command updates a "pinned" document. A pin can only be moved to a new - * index (reordered) once created. - * - * @param Props The properties of the pin to update - * @returns Pin The updated pin - */ -export default async function pinUpdater({ - user, - pin, - index, - ip, -}: Props): Promise { - const transaction = await sequelize.transaction(); - - try { - pin.index = index; - await pin.save({ transaction }); - - await Event.create( - { - name: "pins.update", - modelId: pin.id, - teamId: user.teamId, - actorId: user.id, - documentId: pin.documentId, - collectionId: pin.collectionId, - ip, - }, - { transaction } - ); - await transaction.commit(); - } catch (err) { - await transaction.rollback(); - throw err; - } - - return pin; -} diff --git a/server/models/Pin.ts b/server/models/Pin.ts index 0234194a6a..bebd850358 100644 --- a/server/models/Pin.ts +++ b/server/models/Pin.ts @@ -20,6 +20,8 @@ class Pin extends IdModel< InferAttributes, Partial> > { + static eventNamespace = "pins"; + @Length({ max: 256, msg: `index must be 256 characters or less`, diff --git a/server/routes/api/pins/pins.ts b/server/routes/api/pins/pins.ts index c359866ff2..015661a532 100644 --- a/server/routes/api/pins/pins.ts +++ b/server/routes/api/pins/pins.ts @@ -1,9 +1,8 @@ import Router from "koa-router"; -import { Sequelize, Op } from "sequelize"; +import { Sequelize, Op, Transaction } from "sequelize"; import pinCreator from "@server/commands/pinCreator"; -import pinDestroyer from "@server/commands/pinDestroyer"; -import pinUpdater from "@server/commands/pinUpdater"; import auth from "@server/middlewares/authentication"; +import { transaction } from "@server/middlewares/transaction"; import validate from "@server/middlewares/validate"; import { Collection, Document, Pin } from "@server/models"; import { authorize } from "@server/policies"; @@ -22,18 +21,21 @@ router.post( "pins.create", auth(), validate(T.PinsCreateSchema), + transaction(), async (ctx: APIContext) => { const { documentId, collectionId, index } = ctx.input.body; const { user } = ctx.state.auth; + const { transaction } = ctx.state; const document = await Document.findByPk(documentId, { userId: user.id, + transaction, }); authorize(user, "read", document); if (collectionId) { const collection = await Collection.scope({ method: ["withMembership", user.id], - }).findByPk(collectionId); + }).findByPk(collectionId, { transaction }); authorize(user, "update", collection); authorize(user, "pin", document); } else { @@ -41,10 +43,10 @@ router.post( } const pin = await pinCreator({ + ctx, user, documentId, collectionId, - ip: ctx.request.ip, index, }); @@ -108,13 +110,20 @@ router.post( "pins.update", auth(), validate(T.PinsUpdateSchema), + transaction(), async (ctx: APIContext) => { const { id, index } = ctx.input.body; const { user } = ctx.state.auth; - let pin = await Pin.findByPk(id, { rejectOnEmpty: true }); + const { transaction } = ctx.state; + const pin = await Pin.findByPk(id, { + transaction, + lock: Transaction.LOCK.UPDATE, + rejectOnEmpty: true, + }); const document = await Document.findByPk(pin.documentId, { userId: user.id, + transaction, }); if (pin.collectionId) { @@ -123,12 +132,7 @@ router.post( authorize(user, "update", pin); } - pin = await pinUpdater({ - user, - pin, - ip: ctx.request.ip, - index, - }); + await pin.updateWithCtx(ctx, { index }); ctx.body = { data: presentPin(pin), @@ -141,14 +145,21 @@ router.post( "pins.delete", auth(), validate(T.PinsDeleteSchema), + transaction(), async (ctx: APIContext) => { const { id } = ctx.input.body; + const { transaction } = ctx.state; const { user } = ctx.state.auth; - const pin = await Pin.findByPk(id, { rejectOnEmpty: true }); + const pin = await Pin.findByPk(id, { + transaction, + lock: Transaction.LOCK.UPDATE, + rejectOnEmpty: true, + }); const document = await Document.findByPk(pin.documentId, { userId: user.id, + transaction, }); if (pin.collectionId) { @@ -157,7 +168,7 @@ router.post( authorize(user, "delete", pin); } - await pinDestroyer({ user, pin, ip: ctx.request.ip }); + await pin.destroyWithCtx(ctx); ctx.body = { success: true, From eedfd549b3b2a8859633c966f2d641a565be59ab Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 20 Nov 2024 19:17:28 -0500 Subject: [PATCH 016/145] fix: Rare loop of storage events between tabs causing flickering UI (#7996) * fix: Rare loop of storage events between tabs causing flickering UI * Types cleanup --- app/components/LanguagePrompt.tsx | 6 +- app/components/Sidebar/Right.tsx | 4 +- app/components/Sidebar/Sidebar.tsx | 25 ++++---- app/scenes/Document/components/Header.tsx | 8 ++- app/stores/AuthStore.ts | 29 +++------ app/stores/UiStore.ts | 73 ++++++++++------------- 6 files changed, 63 insertions(+), 82 deletions(-) diff --git a/app/components/LanguagePrompt.tsx b/app/components/LanguagePrompt.tsx index 616b4b8756..8bf72554f5 100644 --- a/app/components/LanguagePrompt.tsx +++ b/app/components/LanguagePrompt.tsx @@ -47,14 +47,16 @@ export default function LanguagePrompt() {
{ - ui.setLanguagePromptDismissed(); + ui.set({ languagePromptDismissed: true }); await user.save({ language }); }} > {t("Change Language")} {" "} ·{" "} - {t("Dismiss")} + ui.set({ languagePromptDismissed: true })}> + {t("Dismiss")} + diff --git a/app/components/Sidebar/Right.tsx b/app/components/Sidebar/Right.tsx index 3861a0ca0c..9071e93d24 100644 --- a/app/components/Sidebar/Right.tsx +++ b/app/components/Sidebar/Right.tsx @@ -32,13 +32,13 @@ function Right({ children, border, className }: Props) { Math.min(window.innerWidth - event.pageX, maxWidth), minWidth ); - ui.setRightSidebarWidth(width); + ui.set({ sidebarRightWidth: width }); }, [minWidth, maxWidth, ui] ); const handleReset = React.useCallback(() => { - ui.setRightSidebarWidth(theme.sidebarRightWidth); + ui.set({ sidebarRightWidth: theme.sidebarRightWidth }); }, [ui, theme.sidebarRightWidth]); const handleStopDrag = React.useCallback(() => { diff --git a/app/components/Sidebar/Sidebar.tsx b/app/components/Sidebar/Sidebar.tsx index 5245be4043..53d55eb7cf 100644 --- a/app/components/Sidebar/Sidebar.tsx +++ b/app/components/Sidebar/Sidebar.tsx @@ -46,7 +46,6 @@ const Sidebar = React.forwardRef(function _Sidebar( const maxWidth = theme.sidebarMaxWidth; const minWidth = theme.sidebarMinWidth + 16; // padding - const setWidth = ui.setSidebarWidth; const [offset, setOffset] = React.useState(0); const [isHovering, setHovering] = React.useState(false); const [isAnimating, setAnimating] = React.useState(false); @@ -62,13 +61,13 @@ const Sidebar = React.forwardRef(function _Sidebar( const width = Math.min(event.pageX - offset, maxWidth); const isSmallerThanCollapsePoint = width < minWidth / 2; - if (isSmallerThanCollapsePoint) { - setWidth(theme.sidebarCollapsedWidth); - } else { - setWidth(width); - } + ui.set({ + sidebarWidth: isSmallerThanCollapsePoint + ? theme.sidebarCollapsedWidth + : width, + }); }, - [theme, offset, minWidth, maxWidth, setWidth] + [ui, theme, offset, minWidth, maxWidth] ); const handleStopDrag = React.useCallback(() => { @@ -86,13 +85,13 @@ const Sidebar = React.forwardRef(function _Sidebar( setCollapsing(true); ui.collapseSidebar(); } else { - setWidth(minWidth); + ui.set({ sidebarWidth: minWidth }); setAnimating(true); } } else { - setWidth(width); + ui.set({ sidebarWidth: width }); } - }, [ui, isSmallerThanMinimum, minWidth, width, setWidth]); + }, [ui, isSmallerThanMinimum, minWidth, width]); const handleBlur = React.useCallback(() => { setHovering(false); @@ -149,11 +148,11 @@ const Sidebar = React.forwardRef(function _Sidebar( React.useEffect(() => { if (isCollapsing) { setTimeout(() => { - setWidth(minWidth); + ui.set({ sidebarWidth: minWidth }); setCollapsing(false); }, ANIMATION_MS); } - }, [setWidth, minWidth, isCollapsing]); + }, [ui, minWidth, isCollapsing]); React.useEffect(() => { if (isResizing) { @@ -174,7 +173,7 @@ const Sidebar = React.forwardRef(function _Sidebar( }, [isResizing, handleDrag, handleBlur, handleStopDrag]); const handleReset = React.useCallback(() => { - ui.setSidebarWidth(theme.sidebarWidth); + ui.set({ sidebarWidth: theme.sidebarWidth }); }, [ui, theme.sidebarWidth]); React.useEffect(() => { diff --git a/app/scenes/Document/components/Header.tsx b/app/scenes/Document/components/Header.tsx index de8d64acb6..cb9cec7668 100644 --- a/app/scenes/Document/components/Header.tsx +++ b/app/scenes/Document/components/Header.tsx @@ -103,6 +103,10 @@ function DocumentHeader({ }); }, [onSave]); + const handleToggle = React.useCallback(() => { + ui.set({ tocVisible: !ui.tocVisible }); + }, [ui]); + const context = useActionContext({ activeDocumentId: document?.id, }); @@ -129,7 +133,7 @@ function DocumentHeader({ placement="bottom" > - + ) : ( )} {showSaveChanges && ( - - - + )} From 63171e5da28c96cb3b8d24e44380dfbceb62756b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 09:33:52 -0500 Subject: [PATCH 042/145] fix: Incorrect cursor on sortable table headers --- app/components/Table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Table.tsx b/app/components/Table.tsx index b8cdb61e91..717b14670d 100644 --- a/app/components/Table.tsx +++ b/app/components/Table.tsx @@ -253,6 +253,7 @@ const SortWrapper = styled(Flex)<{ $sortable: boolean }>` white-space: nowrap; margin: 0 -4px; padding: 0 4px; + cursor: ${(props) => (props.$sortable ? `var(--pointer)` : "")}; &:hover { background: ${(props) => @@ -309,14 +310,13 @@ const Row = styled.tr` const Head = styled.th` text-align: left; - padding: 6px 6px 0; + padding: 6px 6px 2px; border-bottom: 1px solid ${s("divider")}; background: ${s("background")}; font-size: 14px; color: ${s("textSecondary")}; font-weight: 500; z-index: 1; - cursor: var(--pointer) !important; :first-child { padding-left: 0; From 8c9c83eb5a80a6fc9d9752b1969c357d85e08ea2 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 10:16:22 -0500 Subject: [PATCH 043/145] fix: Improve contrast on context menus in dark mode --- app/components/ContextMenu/index.tsx | 16 ---------------- app/components/FilterOptions.tsx | 2 +- shared/styles/theme.ts | 2 +- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/app/components/ContextMenu/index.tsx b/app/components/ContextMenu/index.tsx index 35fe1ee265..93cf5368ba 100644 --- a/app/components/ContextMenu/index.tsx +++ b/app/components/ContextMenu/index.tsx @@ -262,22 +262,6 @@ export const Position = styled.div` transition-property: outline-width; transition-duration: 0; outline: none; - - &:after { - content: ""; - position: absolute; - top: 1px; - left: 1px; - right: 1px; - bottom: 1px; - pointer-events: none; - border-radius: 4px; - - outline-color: ${s("accent")}; - outline-width: initial; - outline-offset: -1px; - outline-style: solid; - } } /* diff --git a/app/components/FilterOptions.tsx b/app/components/FilterOptions.tsx index cbeb198cda..61fd0fd250 100644 --- a/app/components/FilterOptions.tsx +++ b/app/components/FilterOptions.tsx @@ -229,7 +229,7 @@ const SearchInput = styled(Input)` ${Outline} { border: none; border-radius: 0; - border-bottom: 1px solid ${s("inputBorder")}; + border-bottom: 1px solid rgb(34 40 52); background: ${s("menuBackground")}; } diff --git a/shared/styles/theme.ts b/shared/styles/theme.ts index 6b31f4f844..67d2a2dbde 100644 --- a/shared/styles/theme.ts +++ b/shared/styles/theme.ts @@ -202,7 +202,7 @@ export const buildDarkTheme = (input: Partial): DefaultTheme => { menuItemSelected: lighten(0.09, "#181c25"), menuBackground: "#181c25", menuShadow: - "0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.08)", + "0 0 0 1px rgb(34 40 52), 0 8px 16px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.08)", divider: lighten(0.1, colors.almostBlack), titleBarDivider: darken(0.4, colors.slate), inputBorder: colors.slateDark, From 54b43c6e6fc07a6d47122ed13be050d3f7479756 Mon Sep 17 00:00:00 2001 From: Translate-O-Tron <75237327+outline-translations@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:38:31 +0100 Subject: [PATCH 044/145] New Crowdin updates (#8029) * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] --- shared/i18n/locales/zh_CN/translation.json | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/shared/i18n/locales/zh_CN/translation.json b/shared/i18n/locales/zh_CN/translation.json index 210be818e6..1bb72dee86 100644 --- a/shared/i18n/locales/zh_CN/translation.json +++ b/shared/i18n/locales/zh_CN/translation.json @@ -26,7 +26,7 @@ "Thread resolved": "话题已解决", "Mark as unresolved": "标记为未解决", "View reactions": "", - "Reactions": "Reactions", + "Reactions": "回应", "Copy ID": "复制 ID", "Clear IndexedDB cache": "清除 IndexedDB 缓存", "IndexedDB cache cleared": "IndexedDB 缓存已清除", @@ -94,9 +94,9 @@ "Insights": "统计", "Disable viewer insights": "禁用浏览者统计", "Enable viewer insights": "启用浏览者统计", - "Leave document": "Leave document", - "You have left the shared document": "You have left the shared document", - "Could not leave document": "Could not leave document", + "Leave document": "离开文档", + "You have left the shared document": "你已经离开了此共享文档", + "Could not leave document": "无法离开文档", "Home": "主页", "Drafts": "草稿箱", "Trash": "回收站", @@ -304,14 +304,14 @@ "Mark all as read": "全部标记为已读", "You're all caught up": "你已了解所有情况", "Documents": "文档", - "{{ username }} reacted with {{ emoji }}": "{{ username }} reacted with {{ emoji }}", - "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}", - "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} and {{ count }} other reacted with {{ emoji }}", - "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}", - "Add reaction": "Add reaction", - "Reaction picker": "Reaction picker", - "Could not load reactions": "Could not load reactions", - "Reaction": "Reaction", + "{{ username }} reacted with {{ emoji }}": "{{ username }} 回应 {{ emoji }}", + "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} 和 {{ secondUsername }} 已回应 {{ emoji }}", + "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} 和 {{ count }} 其他人已回应 {{ emoji }}", + "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} 和 {{ count }} 其他人已回应 {{ emoji }}", + "Add reaction": "添加回应", + "Reaction picker": "回应选择器", + "Could not load reactions": "无法加载回应", + "Reaction": "回应", "Results": "结果", "No results for {{query}}": "没有关于 {{query}} 的结果", "Manage": "管理", @@ -354,8 +354,8 @@ "Anyone with the link can access because the parent document, <2>{{documentTitle}}, is shared": "知道该链接的任何人都可以访问,因为父级文档 <2>{{documentTitle}} 已共享", "Allow anyone with the link to access": "允许所有知道链接的人访问", "Publish to internet": "发布到互联网", - "Search engine indexing": "Search engine indexing", - "Disable this setting to discourage search engines from indexing the page": "Disable this setting to discourage search engines from indexing the page", + "Search engine indexing": "搜索引擎索引", + "Disable this setting to discourage search engines from indexing the page": "禁用此设置以阻止搜索引擎对该页建立索引", "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "嵌套文档不会在网页上共享。切换共享以启用访问,这将是未来的默认行为。", "{{ userName }} was added to the document": "{{ userName }} 已被添加到此文档", "{{ count }} people added to the document": "{{ count }} 个人被添加到此文档", @@ -597,13 +597,13 @@ "Upload image": "上传图片", "No resolved comments": "没有已解决的评论", "No comments yet": "暂无评论", - "New comments": "New comments", + "New comments": "新建评论", "Sort comments": "排序评论", "Most recent": "最近的", - "Order in doc": "Order in doc", + "Order in doc": "按文档中的顺序排序", "Resolved": "已解决", - "Show {{ count }} reply": "Show {{ count }} reply", - "Show {{ count }} reply_plural": "Show {{ count }} replies", + "Show {{ count }} reply": "显示 {{ count }} 回复", + "Show {{ count }} reply_plural": "显示 {{ count }} 回复", "Error updating comment": "更新评论时出错", "Document restored": "文档已恢复", "Images are still uploading.\nAre you sure you want to discard them?": "图片仍在上传中。\n你确定要丢弃它们吗?", @@ -793,7 +793,7 @@ "This workspace has been suspended. Please contact support to restore access.": "此工作区已暂停。 请联系支持人员以恢复访问权限。", "Authentication failed – this login method was disabled by a team admin.": "身份验证失败 – 此登录方式已被团队管理员禁用。", "The workspace you are trying to join requires an invite before you can create an account.<1>Please request an invite from your workspace admin and try again.": "你正在尝试加入的工作区需要邀请才能创建账户。<1>请向你的工作区管理员申请邀请并重试。", - "Sorry, an unknown error occurred.": "Sorry, an unknown error occurred.", + "Sorry, an unknown error occurred.": "抱歉,发生未知错误。", "Login": "登录", "Error": "加载失败", "Failed to load configuration.": "配置文件加载失败。", @@ -969,8 +969,8 @@ "When enabled, documents have a separate editing mode. When disabled, documents are always editable when you have permission.": "启用时,文档为独立编辑模式。禁用时,文档在你拥有权限时始终可编辑。", "Remember previous location": "记住上一次的位置", "Automatically return to the document you were last viewing when the app is re-opened.": "重新打开应用程序时自动返回到你上次浏览的文档。", - "Smart text replacements": "Smart text replacements", - "Auto-format text by replacing shortcuts with symbols, dashes, smart quotes, and other typographical elements.": "Auto-format text by replacing shortcuts with symbols, dashes, smart quotes, and other typographical elements.", + "Smart text replacements": "智能文本替换", + "Auto-format text by replacing shortcuts with symbols, dashes, smart quotes, and other typographical elements.": "用符号、破折号、 智能引号和其他排版元素替换快捷方式来自动格式化文本。", "You may delete your account at any time, note that this is unrecoverable": "你可以随时删除你的帐户,请注意这不可恢复", "Profile saved": "配置已保存", "Profile picture updated": "头像已更新", From 3f6390ff1843cf4f875684687a8e73bc979001b8 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 17:56:02 -0500 Subject: [PATCH 045/145] chore: Remove error on double reload --- app/hooks/useAutoRefresh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hooks/useAutoRefresh.ts b/app/hooks/useAutoRefresh.ts index d2d4e3c943..609af54722 100644 --- a/app/hooks/useAutoRefresh.ts +++ b/app/hooks/useAutoRefresh.ts @@ -31,7 +31,7 @@ export default function useAutoRefresh() { return; } if (isReloaded) { - Logger.error("lifecycle", new Error("Attempted to reload twice")); + Logger.warn("Attempted to reload twice"); return; } From 29329daf1544eae040d7180680d513e593b39e01 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 17:59:46 -0500 Subject: [PATCH 046/145] chore: Record on users.signin event --- server/utils/authentication.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/utils/authentication.ts b/server/utils/authentication.ts index 59961d6f04..10ac921949 100644 --- a/server/utils/authentication.ts +++ b/server/utils/authentication.ts @@ -7,7 +7,7 @@ import { getCookieDomain } from "@shared/utils/domains"; import env from "@server/env"; import Logger from "@server/logging/Logger"; import { Event, Collection, View } from "@server/models"; -import { AuthenticationResult } from "@server/types"; +import { AuthenticationResult, AuthenticationType } from "@server/types"; /** * Parse and return the details from the "sessions" cookie in the request, if @@ -68,6 +68,7 @@ export async function signIn( actorId: user.id, userId: user.id, teamId: team.id, + authType: AuthenticationType.APP, data: { name: user.name, service, From ed2555460733a950c0ed346fc58c0ecac1fb4213 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 18:20:49 -0500 Subject: [PATCH 047/145] fix: Hide TOC on templates --- app/scenes/Document/components/Document.tsx | 4 +++- app/scenes/Document/components/Header.tsx | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index ef87755e99..384eebae24 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -412,7 +412,8 @@ class DocumentScene extends React.Component { (team && team.documentEmbeds === false) || document.embedsDisabled; const showContents = - ui.tocVisible === true || (isShare && ui.tocVisible !== false); + (ui.tocVisible === true && !document.isTemplate) || + (isShare && ui.tocVisible !== false); const tocPos = tocPosition ?? ((team?.getPreference(TeamPreference.TocPosition) as TOCPosition) || @@ -567,6 +568,7 @@ class DocumentScene extends React.Component { )} {!isShare && !revision && ( <> +

test

diff --git a/app/scenes/Document/components/Header.tsx b/app/scenes/Document/components/Header.tsx index cb9cec7668..39319b2e08 100644 --- a/app/scenes/Document/components/Header.tsx +++ b/app/scenes/Document/components/Header.tsx @@ -117,7 +117,8 @@ function DocumentHeader({ const canToggleEmbeds = team?.documentEmbeds; const isShare = !!shareId; const showContents = - ui.tocVisible === true || (isShare && ui.tocVisible !== false); + (ui.tocVisible === true && !document.isTemplate) || + (isShare && ui.tocVisible !== false); const toc = ( ) : ( - {toc} + {document.isTemplate ? null : ( + <> + {toc} + + )} ) } From c7d339ded5aaa071645472a795d69528fb492390 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 21:42:23 -0500 Subject: [PATCH 048/145] Tracking of total uploaded attachments / team (#8031) * Add column and task to calculate size * Store in MB, rather than Bytes * Add cron task to recalculate attachment sizes * findAllInBatches * Index createdAt * fix: Index on incorrect table --- .../20241127151705-attachment-tracking.js | 21 ++++++++ server/models/Team.ts | 6 +++ .../tasks/UpdateTeamAttachmentsSizeTask.ts | 31 +++++++++++ .../tasks/UpdateTeamsAttachmentsSizeTask.ts | 53 +++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 server/migrations/20241127151705-attachment-tracking.js create mode 100644 server/queues/tasks/UpdateTeamAttachmentsSizeTask.ts create mode 100644 server/queues/tasks/UpdateTeamsAttachmentsSizeTask.ts diff --git a/server/migrations/20241127151705-attachment-tracking.js b/server/migrations/20241127151705-attachment-tracking.js new file mode 100644 index 0000000000..2ada3411b7 --- /dev/null +++ b/server/migrations/20241127151705-attachment-tracking.js @@ -0,0 +1,21 @@ +"use strict"; + +/** @type {import('sequelize-cli').Migration} */ +module.exports = { + async up(queryInterface, Sequelize) { + await queryInterface.sequelize.transaction(async transaction => { + await queryInterface.addColumn("teams", "approximateTotalAttachmentsSize", { + type: Sequelize.BIGINT, + defaultValue: 0, + }, { transaction }); + await queryInterface.addIndex("attachments", ["createdAt"], { transaction }); + }); + }, + + async down(queryInterface, Sequelize) { + await queryInterface.sequelize.transaction(async transaction => { + await queryInterface.removeIndex("attachments", ["createdAt"], { transaction }); + await queryInterface.removeColumn("teams", "approximateTotalAttachmentsSize", { transaction }); + }); + }, +}; diff --git a/server/models/Team.ts b/server/models/Team.ts index f54882dd02..a8c844a9a1 100644 --- a/server/models/Team.ts +++ b/server/models/Team.ts @@ -25,6 +25,7 @@ import { AfterUpdate, BeforeUpdate, BeforeCreate, + IsNumeric, } from "sequelize-typescript"; import { TeamPreferenceDefaults } from "@shared/constants"; import { TeamPreference, TeamPreferences, UserRole } from "@shared/types"; @@ -151,6 +152,11 @@ class Team extends ParanoidModel< @Column(DataType.STRING) defaultUserRole: UserRole; + /** Approximate size in bytes of all attachments in the team. */ + @IsNumeric + @Column(DataType.BIGINT) + approximateTotalAttachmentsSize: number; + @AllowNull @Column(DataType.JSONB) preferences: TeamPreferences | null; diff --git a/server/queues/tasks/UpdateTeamAttachmentsSizeTask.ts b/server/queues/tasks/UpdateTeamAttachmentsSizeTask.ts new file mode 100644 index 0000000000..49c5f2c1e7 --- /dev/null +++ b/server/queues/tasks/UpdateTeamAttachmentsSizeTask.ts @@ -0,0 +1,31 @@ +import { Attachment, Team } from "@server/models"; +import BaseTask, { TaskPriority } from "./BaseTask"; + +type Props = { + /** The teamId to operate on */ + teamId: string; +}; + +/** + * A task that updates the team stats. + */ +export default class UpdateTeamAttachmentsSizeTask extends BaseTask { + public async perform({ teamId }: Props) { + const sizeInBytes = await Attachment.getTotalSizeForTeam(teamId); + if (!sizeInBytes) { + return; + } + + await Team.update( + { approximateTotalAttachmentsSize: sizeInBytes }, + { where: { id: teamId } } + ); + } + + public get options() { + return { + attempts: 1, + priority: TaskPriority.Background, + }; + } +} diff --git a/server/queues/tasks/UpdateTeamsAttachmentsSizeTask.ts b/server/queues/tasks/UpdateTeamsAttachmentsSizeTask.ts new file mode 100644 index 0000000000..433a0835a7 --- /dev/null +++ b/server/queues/tasks/UpdateTeamsAttachmentsSizeTask.ts @@ -0,0 +1,53 @@ +import { subDays } from "date-fns"; +import { Op } from "sequelize"; +import Logger from "@server/logging/Logger"; +import { Attachment } from "@server/models"; +import { sequelize } from "@server/storage/database"; +import BaseTask, { TaskPriority, TaskSchedule } from "./BaseTask"; +import UpdateTeamAttachmentsSizeTask from "./UpdateTeamAttachmentsSizeTask"; + +type Props = { + limit: number; +}; + +export default class UpdateTeamsAttachmentsSizeTask extends BaseTask { + static cron = TaskSchedule.Daily; + + public async perform({ limit }: Props) { + Logger.info( + "task", + `Recalculating attachment sizes for upto ${limit} teams…` + ); + + // Find unique attachment teamIds created in the last day, update only + // those teams' approximate attachment sizes + await Attachment.findAllInBatches( + { + attributes: [ + [sequelize.fn("DISTINCT", sequelize.col("teamId")), "teamId"], + ], + where: { + createdAt: { + [Op.gt]: subDays(new Date(), 1), + }, + }, + batchLimit: 100, + raw: true, + }, + async (rows) => { + const teamIds = rows.map((row) => row.teamId); + + for (const teamId of teamIds) { + await UpdateTeamAttachmentsSizeTask.schedule({ teamId }); + } + } + ); + } + + public get options() { + return { + attempts: 1, + priority: TaskPriority.Background, + }; + } +} From 8a3a3453e7eb79f0b38a8af204680f96c9535270 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 22:42:10 -0500 Subject: [PATCH 049/145] fix: The operation was unable to achieve a quorum during its retry window --- server/utils/MutexLock.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/utils/MutexLock.ts b/server/utils/MutexLock.ts index 70b5713ead..307c93a797 100644 --- a/server/utils/MutexLock.ts +++ b/server/utils/MutexLock.ts @@ -2,8 +2,8 @@ import Redlock from "redlock"; import Redis from "@server/storage/redis"; export class MutexLock { - // Default expiry time for qcuiring lock in milliseconds - public static defaultLockTimeout = 5000; + // Default expiry time for acquiring lock in milliseconds + public static defaultLockTimeout = 4000; /** * Returns the redlock instance @@ -11,6 +11,8 @@ export class MutexLock { public static get lock(): Redlock { this.redlock ??= new Redlock([Redis.defaultClient], { retryJitter: 10, + retryCount: 20, + retryDelay: 200, }); return this.redlock; From 746e65e65819d001a5be3f9f338953a316b2b5d1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 27 Nov 2024 23:04:14 -0500 Subject: [PATCH 050/145] fix: Recursively filter source document from explorer, closes #8028 --- app/scenes/DocumentMove.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/scenes/DocumentMove.tsx b/app/scenes/DocumentMove.tsx index bab7be78a5..5d7993d2fa 100644 --- a/app/scenes/DocumentMove.tsx +++ b/app/scenes/DocumentMove.tsx @@ -28,12 +28,24 @@ function DocumentMove({ document }: Props) { ); const items = React.useMemo(() => { + // Recursively filter out the document itself and its existing parent doc, if any. + const filterSourceDocument = (node: NavigationNode): NavigationNode => ({ + ...node, + children: node.children + ?.filter( + (c) => c.id !== document.id && c.id !== document.parentDocumentId + ) + .map(filterSourceDocument), + }); + // Filter out the document itself and its existing parent doc, if any. const nodes = flatten(collectionTrees.map(flattenTree)) .filter( (node) => node.id !== document.id && node.id !== document.parentDocumentId ) + .map(filterSourceDocument) + // Filter out collections that we don't have permission to create documents in. .filter((node) => node.collectionId ? policies.get(node.collectionId)?.abilities.createDocument From ee426de9428a4e92b4d614ba2376a742c7fb6e19 Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Fri, 29 Nov 2024 18:44:59 +0530 Subject: [PATCH 051/145] Cleanup random text (#8036) --- app/scenes/Document/components/Document.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index 384eebae24..c6c940905d 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -568,7 +568,6 @@ class DocumentScene extends React.Component { )} {!isShare && !revision && ( <> -

test

From 554c2a5cdb20838e69788697818fe7110309b5a9 Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:11:48 +0530 Subject: [PATCH 052/145] Simplify determining from email address (#8039) * Simplify determining from email address * override only for cloud-hosted --- server/emails/mailer.tsx | 4 ++-- server/emails/templates/BaseEmail.tsx | 22 +++++++++------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/server/emails/mailer.tsx b/server/emails/mailer.tsx index 64fd26c01b..1141fca96f 100644 --- a/server/emails/mailer.tsx +++ b/server/emails/mailer.tsx @@ -11,7 +11,7 @@ const useTestEmailService = env.isDevelopment && !env.SMTP_USERNAME; type SendMailOptions = { to: string; - from?: EmailAddress | string; + from: EmailAddress; replyTo?: string; messageId?: string; references?: string[]; @@ -143,7 +143,7 @@ export class Mailer { Logger.info("email", `Sending email "${data.subject}" to ${data.to}`); const info = await transporter.sendMail({ - from: env.isCloudHosted && data.from ? data.from : env.SMTP_FROM_EMAIL, + from: data.from, replyTo: data.replyTo ?? env.SMTP_REPLY_EMAIL ?? env.SMTP_FROM_EMAIL, to: data.to, messageId: data.messageId, diff --git a/server/emails/templates/BaseEmail.tsx b/server/emails/templates/BaseEmail.tsx index a20269d2dd..13c9e1a4a9 100644 --- a/server/emails/templates/BaseEmail.tsx +++ b/server/emails/templates/BaseEmail.tsx @@ -1,4 +1,4 @@ -import addressparser from "addressparser"; +import addressparser, { EmailAddress } from "addressparser"; import Bull from "bull"; import invariant from "invariant"; import { Node } from "prosemirror-model"; @@ -184,26 +184,22 @@ export default abstract class BaseEmail< } } - private from(props: S & T) { + private from(props: S & T): EmailAddress { invariant( env.SMTP_FROM_EMAIL, "SMTP_FROM_EMAIL is required to send emails" ); const parsedFrom = addressparser(env.SMTP_FROM_EMAIL)[0]; - const name = this.fromName?.(props); - - if (this.category === EmailMessageCategory.Authentication) { - const domain = parsedFrom.address.split("@")[1]; - return { - name: name ?? parsedFrom.name, - address: `noreply-${randomstring.generate(24)}@${domain}`, - }; - } + const domain = parsedFrom.address.split("@")[1]; return { - name: name ?? parsedFrom.name, - address: parsedFrom.address, + name: this.fromName?.(props) ?? parsedFrom.name, + address: + env.isCloudHosted && + this.category === EmailMessageCategory.Authentication + ? `noreply-${randomstring.generate(24)}@${domain}` + : parsedFrom.address, }; } From c98d6aa33a26da9fe4fa5ea4f47471ab9f586add Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Fri, 29 Nov 2024 23:33:38 +0800 Subject: [PATCH 053/145] Allow user to select doc-copy destination (#8030) * DocumentExplorer: make style extensible * Allow user to select doc-copy dest The change in `documentDuplicator` essentially alters the fallback from "parent" to "top of collection". But there is only 1 place that uses it so far, so I think it's fine to support this PR. In the next commit, the caller side will restore the default to "parent". * Auto select parent as initial target (to retain existing behavior) Otherwise, user would need to always search/expand the tree. I have a feeling that people might want the last selection to be persistent, but ignoring that for now. The 50ms timeout feels dirty, but 0 was too fast, at least on my machine. I couldn't find anything in react-window for a "ready" flag. * Rename: DuplicateDialog -> DocumentCopy This begins the switch to DocumentCopy's look in the next few commits * Revert DocumentExplorer style override No longer needed since we won't be using it under a ConfirmationDialog anymore in the next commit. * Switch to DocumentMove's style * initialSelectionId -> defaultValue --------- Co-authored-by: Tom Moor --- app/actions/definitions/documents.tsx | 4 +- app/components/DocumentCopy.tsx | 149 +++++++++++++++++++++ app/components/DocumentExplorer.tsx | 32 ++++- app/components/DuplicateDialog.tsx | 97 -------------- app/models/Document.ts | 2 + app/scenes/DocumentMove.tsx | 6 +- server/commands/documentDuplicator.ts | 2 +- shared/i18n/locales/en_US/translation.json | 8 +- 8 files changed, 189 insertions(+), 111 deletions(-) create mode 100644 app/components/DocumentCopy.tsx delete mode 100644 app/components/DuplicateDialog.tsx diff --git a/app/actions/definitions/documents.tsx b/app/actions/definitions/documents.tsx index 4716e712c8..8954337a58 100644 --- a/app/actions/definitions/documents.tsx +++ b/app/actions/definitions/documents.tsx @@ -45,7 +45,7 @@ import DocumentPermanentDelete from "~/scenes/DocumentPermanentDelete"; import DocumentPublish from "~/scenes/DocumentPublish"; import DeleteDocumentsInTrash from "~/scenes/Trash/components/DeleteDocumentsInTrash"; import ConfirmationDialog from "~/components/ConfirmationDialog"; -import DuplicateDialog from "~/components/DuplicateDialog"; +import DocumentCopy from "~/components/DocumentCopy"; import Icon from "~/components/Icon"; import MarkdownIcon from "~/components/Icons/MarkdownIcon"; import SharePopover from "~/components/Sharing/Document"; @@ -562,7 +562,7 @@ export const duplicateDocument = createAction({ stores.dialogs.openModal({ title: t("Copy document"), content: ( - { stores.dialogs.closeAllModals(); diff --git a/app/components/DocumentCopy.tsx b/app/components/DocumentCopy.tsx new file mode 100644 index 0000000000..ba90f940b7 --- /dev/null +++ b/app/components/DocumentCopy.tsx @@ -0,0 +1,149 @@ +import flatten from "lodash/flatten"; +import { observer } from "mobx-react"; +import * as React from "react"; +import { Trans, useTranslation } from "react-i18next"; +import { toast } from "sonner"; +import styled from "styled-components"; +import { NavigationNode } from "@shared/types"; +import Document from "~/models/Document"; +import { FlexContainer, Footer, StyledText } from "~/scenes/DocumentMove"; +import Button from "~/components/Button"; +import DocumentExplorer from "~/components/DocumentExplorer"; +import useCollectionTrees from "~/hooks/useCollectionTrees"; +import useStores from "~/hooks/useStores"; +import { flattenTree } from "~/utils/tree"; +import Switch from "./Switch"; +import Text from "./Text"; + +type Props = { + /** The original document to duplicate */ + document: Document; + onSubmit: (documents: Document[]) => void; +}; + +function DocumentCopy({ document, onSubmit }: Props) { + const { t } = useTranslation(); + const { policies } = useStores(); + const collectionTrees = useCollectionTrees(); + const [publish, setPublish] = React.useState(!!document.publishedAt); + const [recursive, setRecursive] = React.useState(true); + const [selectedPath, selectPath] = React.useState( + null + ); + + const items = React.useMemo(() => { + const nodes = flatten(collectionTrees.map(flattenTree)).filter((node) => + node.collectionId + ? policies.get(node.collectionId)?.abilities.createDocument + : true + ); + + if (document.isTemplate) { + return nodes + .filter((node) => node.type === "collection") + .map((node) => ({ ...node, children: [] })); + } + return nodes; + }, [policies, collectionTrees, document.isTemplate]); + + const handlePublishChange = React.useCallback( + (ev: React.ChangeEvent) => { + setPublish(ev.target.checked); + }, + [] + ); + + const handleRecursiveChange = React.useCallback( + (ev: React.ChangeEvent) => { + setRecursive(ev.target.checked); + }, + [] + ); + + const copy = async () => { + if (!selectedPath) { + toast.message(t("Select a location to copy")); + return; + } + + try { + const result = await document.duplicate({ + publish, + recursive, + title: document.title, + collectionId: selectedPath.collectionId, + ...(selectedPath.type === "document" + ? { parentDocumentId: selectedPath.id } + : {}), + }); + + toast.success(t("Document copied")); + onSubmit(result); + } catch (err) { + toast.error(t("Couldn’t copy the document, try again?")); + } + }; + + return ( + + + + {!document.isTemplate && ( + <> + {document.collectionId && ( + + + + )} + {document.publishedAt && document.childDocuments.length > 0 && ( + + + + )} + + )} + +
+ + {selectedPath ? ( + }} + /> + ) : ( + t("Select a location to copy") + )} + + +
+
+ ); +} + +const OptionsContainer = styled.div` + margin: 16px 0 8px 0; + padding-left: 24px; + padding-right: 24px; +`; + +export default observer(DocumentCopy); diff --git a/app/components/DocumentExplorer.tsx b/app/components/DocumentExplorer.tsx index a09161d6df..323eaef947 100644 --- a/app/components/DocumentExplorer.tsx +++ b/app/components/DocumentExplorer.tsx @@ -31,15 +31,15 @@ import { ancestors, descendants } from "~/utils/tree"; type Props = { /** Action taken upon submission of selected item, could be publish, move etc. */ onSubmit: () => void; - /** A side-effect of item selection */ onSelect: (item: NavigationNode | null) => void; - /** Items to be shown in explorer */ items: NavigationNode[]; + /** Automatically expand to and select item with the given id */ + defaultValue?: string; }; -function DocumentExplorer({ onSubmit, onSelect, items }: Props) { +function DocumentExplorer({ onSubmit, onSelect, items, defaultValue }: Props) { const isMobile = useMobile(); const { collections, documents } = useStores(); const { t } = useTranslation(); @@ -47,12 +47,25 @@ function DocumentExplorer({ onSubmit, onSelect, items }: Props) { const [searchTerm, setSearchTerm] = React.useState(); const [selectedNode, selectNode] = React.useState( - null + () => { + const node = + defaultValue && items.find((item) => item.id === defaultValue); + return node || null; + } ); const [initialScrollOffset, setInitialScrollOffset] = React.useState(0); const [activeNode, setActiveNode] = React.useState(0); - const [expandedNodes, setExpandedNodes] = React.useState([]); + const [expandedNodes, setExpandedNodes] = React.useState(() => { + if (defaultValue) { + const node = items.find((item) => item.id === defaultValue); + if (node) { + return ancestors(node).map((node) => node.id); + } + } + return []; + }); + const [itemRefs, setItemRefs] = React.useState< React.RefObject[] >([]); @@ -94,6 +107,15 @@ function DocumentExplorer({ onSubmit, onSelect, items }: Props) { onSelect(selectedNode); }, [selectedNode, onSelect]); + React.useEffect(() => { + if (defaultValue && selectedNode && listRef) { + const index = nodes.findIndex((node) => node.id === selectedNode.id); + if (index > 0) { + setTimeout(() => listRef.current?.scrollToItem(index, "center"), 50); + } + } + }, []); + function getNodes() { function includeDescendants(item: NavigationNode): NavigationNode[] { return expandedNodes.includes(item.id) diff --git a/app/components/DuplicateDialog.tsx b/app/components/DuplicateDialog.tsx deleted file mode 100644 index e84191533c..0000000000 --- a/app/components/DuplicateDialog.tsx +++ /dev/null @@ -1,97 +0,0 @@ -import { observer } from "mobx-react"; -import * as React from "react"; -import { useTranslation } from "react-i18next"; -import { DocumentValidation } from "@shared/validations"; -import Document from "~/models/Document"; -import ConfirmationDialog from "~/components/ConfirmationDialog"; -import Input from "./Input"; -import Switch from "./Switch"; -import Text from "./Text"; - -type Props = { - /** The original document to duplicate */ - document: Document; - onSubmit: (documents: Document[]) => void; -}; - -function DuplicateDialog({ document, onSubmit }: Props) { - const { t } = useTranslation(); - const defaultTitle = t(`Copy of {{ documentName }}`, { - documentName: document.title, - }); - const [publish, setPublish] = React.useState(!!document.publishedAt); - const [recursive, setRecursive] = React.useState(true); - const [title, setTitle] = React.useState(defaultTitle); - - const handlePublishChange = React.useCallback( - (ev: React.ChangeEvent) => { - setPublish(ev.target.checked); - }, - [] - ); - - const handleRecursiveChange = React.useCallback( - (ev: React.ChangeEvent) => { - setRecursive(ev.target.checked); - }, - [] - ); - - const handleTitleChange = React.useCallback( - (ev: React.ChangeEvent) => { - setTitle(ev.target.value); - }, - [] - ); - - const handleSubmit = async () => { - const result = await document.duplicate({ - publish, - recursive, - title, - }); - onSubmit(result); - }; - - return ( - - - {!document.isTemplate && ( - <> - {document.collectionId && ( - - - - )} - {document.publishedAt && document.childDocuments.length > 0 && ( - - - - )} - - )} - - ); -} - -export default observer(DuplicateDialog); diff --git a/app/models/Document.ts b/app/models/Document.ts index ebeb697ced..6c0a9736a7 100644 --- a/app/models/Document.ts +++ b/app/models/Document.ts @@ -573,6 +573,8 @@ export default class Document extends ArchivableModel { title?: string; publish?: boolean; recursive?: boolean; + collectionId?: string | null; + parentDocumentId?: string; }) => this.store.duplicate(this, options); /** diff --git a/app/scenes/DocumentMove.tsx b/app/scenes/DocumentMove.tsx index 5d7993d2fa..73cec45b11 100644 --- a/app/scenes/DocumentMove.tsx +++ b/app/scenes/DocumentMove.tsx @@ -120,21 +120,21 @@ function DocumentMove({ document }: Props) { ); } -const FlexContainer = styled(Flex)` +export const FlexContainer = styled(Flex)` margin-left: -24px; margin-right: -24px; margin-bottom: -24px; outline: none; `; -const Footer = styled(Flex)` +export const Footer = styled(Flex)` height: 64px; border-top: 1px solid ${(props) => props.theme.horizontalRule}; padding-left: 24px; padding-right: 24px; `; -const StyledText = styled(Text)` +export const StyledText = styled(Text)` ${ellipsis()} margin-bottom: 0; `; diff --git a/server/commands/documentDuplicator.ts b/server/commands/documentDuplicator.ts index 301f375e39..803c9d7b75 100644 --- a/server/commands/documentDuplicator.ts +++ b/server/commands/documentDuplicator.ts @@ -43,7 +43,7 @@ export default async function documentDuplicator({ }; const duplicated = await documentCreator({ - parentDocumentId: parentDocumentId ?? document.parentDocumentId, + parentDocumentId, icon: document.icon, color: document.color, template: document.template, diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 9745451f83..13b4f33d1b 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "Deleted Collection", "Unpin": "Unpin", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Search collections & documents", "No results found": "No results found", "Untitled": "Untitled", @@ -227,9 +232,6 @@ "Currently editing": "Currently editing", "Currently viewing": "Currently viewing", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Module failed to load", "Loading Failed": "Loading Failed", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.", From b2d6c40ea8e6de59b095657891f5a710a6474feb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 29 Nov 2024 11:07:23 -0500 Subject: [PATCH 054/145] chore: Add warning for problematic selfhosted config, closes #8025 --- server/storage/files/S3Storage.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/storage/files/S3Storage.ts b/server/storage/files/S3Storage.ts index 4b4fba9e83..beba39ab23 100644 --- a/server/storage/files/S3Storage.ts +++ b/server/storage/files/S3Storage.ts @@ -230,6 +230,9 @@ export default class S3Storage extends BaseStorage { if (env.AWS_S3_UPLOAD_BUCKET_NAME) { const url = new URL(env.AWS_S3_UPLOAD_BUCKET_URL); if (url.hostname.startsWith(env.AWS_S3_UPLOAD_BUCKET_NAME + ".")) { + Logger.warn( + "AWS_S3_UPLOAD_BUCKET_URL contains the bucket name, this configuration combination will always point to AWS.\nRename your bucket or hostname if not using AWS S3.\nSee: https://github.com/outline/outline/issues/8025" + ); return undefined; } } From d66f41c854eaee054264eb00e420cc40c36a756c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 29 Nov 2024 11:20:01 -0500 Subject: [PATCH 055/145] fix: Improve behavior of LaTeX at small screensizes, closes #8032 --- shared/editor/components/Styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 843cd89edc..2aaa54c71b 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -52,6 +52,8 @@ const mathStyle = (props: Props) => css` font-size: 0.95em; font-family: ${props.theme.fontFamilyMono}; cursor: auto; + white-space: pre-wrap; + overflow-x: auto; } .math-node.empty-math .math-render::before { From 514a724d9d1c3d09d5df8ccb4100c852348303a3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 29 Nov 2024 23:05:30 -0500 Subject: [PATCH 056/145] fix: Add default value for attachment preset for easier API use --- server/routes/api/attachments/schema.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/routes/api/attachments/schema.ts b/server/routes/api/attachments/schema.ts index ea206cc798..c01c20699d 100644 --- a/server/routes/api/attachments/schema.ts +++ b/server/routes/api/attachments/schema.ts @@ -18,7 +18,9 @@ export const AttachmentsCreateSchema = BaseSchema.extend({ contentType: z.string().optional().default("application/octet-stream"), /** Attachment type */ - preset: z.nativeEnum(AttachmentPreset), + preset: z + .nativeEnum(AttachmentPreset) + .default(AttachmentPreset.DocumentAttachment), }), }); From d8fbe35455fb36582befba34fb4ae3b567d886b3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 30 Nov 2024 10:13:44 -0500 Subject: [PATCH 057/145] fix: Template variables are not applied on client (#8044) * fix: Template variables are not applied on client * test --- app/menus/TemplatesMenu.tsx | 4 +-- app/scenes/Document/components/Document.tsx | 14 +++++--- app/utils/date.ts | 29 +---------------- server/commands/documentCreator.ts | 4 +-- server/models/helpers/ProsemirrorHelper.tsx | 25 --------------- server/models/helpers/TextHelper.ts | 26 --------------- shared/utils/ProsemirrorHelper.ts | 29 +++++++++++++++++ .../utils}/TextHelper.test.ts | 12 ++++--- shared/utils/TextHelper.ts | 32 +++++++++++++++++++ 9 files changed, 83 insertions(+), 92 deletions(-) rename {server/models/helpers => shared/utils}/TextHelper.test.ts (73%) create mode 100644 shared/utils/TextHelper.ts diff --git a/app/menus/TemplatesMenu.tsx b/app/menus/TemplatesMenu.tsx index c1a07a23c8..60582cda9a 100644 --- a/app/menus/TemplatesMenu.tsx +++ b/app/menus/TemplatesMenu.tsx @@ -3,6 +3,7 @@ import { DocumentIcon } from "outline-icons"; import * as React from "react"; import { useTranslation } from "react-i18next"; import { MenuButton, useMenuState } from "reakit/Menu"; +import { TextHelper } from "@shared/utils/TextHelper"; import Document from "~/models/Document"; import Button from "~/components/Button"; import ContextMenu from "~/components/ContextMenu"; @@ -11,7 +12,6 @@ import Icon from "~/components/Icon"; import useCurrentUser from "~/hooks/useCurrentUser"; import useStores from "~/hooks/useStores"; import { MenuItem } from "~/types"; -import { replaceTitleVariables } from "~/utils/date"; type Props = { document: Document; @@ -29,7 +29,7 @@ function TemplatesMenu({ onSelectTemplate, document }: Props) { const templateToMenuItem = React.useCallback( (tmpl: Document): MenuItem => ({ type: "button", - title: replaceTitleVariables(tmpl.titleWithDefault, user), + title: TextHelper.replaceTemplateVariables(tmpl.titleWithDefault, user), icon: tmpl.icon ? ( ) : ( diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index c6c940905d..f8a32ab6a1 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -26,6 +26,7 @@ import { TeamPreference, } from "@shared/types"; import { ProsemirrorHelper } from "@shared/utils/ProsemirrorHelper"; +import { TextHelper } from "@shared/utils/TextHelper"; import { parseDomain } from "@shared/utils/domains"; import { determineIconType } from "@shared/utils/icon"; import RootStore from "~/stores/RootStore"; @@ -44,7 +45,6 @@ import withStores from "~/components/withStores"; import type { Editor as TEditor } from "~/editor"; import { SearchResult } from "~/editor/components/LinkEditor"; import { client } from "~/utils/ApiClient"; -import { replaceTitleVariables } from "~/utils/date"; import { emojiToUrl } from "~/utils/emoji"; import { isModKey } from "~/utils/keyboard"; @@ -151,7 +151,13 @@ class DocumentScene extends React.Component { } const { view, schema } = editorRef; - const doc = Node.fromJSON(schema, template.data); + const doc = Node.fromJSON( + schema, + ProsemirrorHelper.replaceTemplateVariables( + template.data, + this.props.auth.user! + ) + ); if (doc) { view.dispatch( @@ -168,9 +174,9 @@ class DocumentScene extends React.Component { } if (!this.title) { - const title = replaceTitleVariables( + const title = TextHelper.replaceTemplateVariables( template.title, - this.props.auth.user || undefined + this.props.auth.user! ); this.title = title; this.props.document.title = title; diff --git a/app/utils/date.ts b/app/utils/date.ts index e38113f92f..bb686a8d4d 100644 --- a/app/utils/date.ts +++ b/app/utils/date.ts @@ -10,16 +10,7 @@ import { isPast, } from "date-fns"; import { TFunction } from "i18next"; -import startCase from "lodash/startCase"; -import { - getCurrentDateAsString, - getCurrentDateTimeAsString, - getCurrentTimeAsString, - unicodeCLDRtoBCP47, - dateLocale, - locales, -} from "@shared/utils/date"; -import User from "~/models/User"; +import { dateLocale, locales } from "@shared/utils/date"; export function dateToHeading( dateTime: string, @@ -121,21 +112,3 @@ export function dateToExpiry( date: formatDate(date, "MMM dd, yyyy", { locale }), }); } - -/** - * Replaces template variables in the given text with the current date and time. - * - * @param text The text to replace the variables in - * @param user The user to get the language/locale from - * @returns The text with the variables replaced - */ -export function replaceTitleVariables(text: string, user?: User) { - const locales = user?.language - ? unicodeCLDRtoBCP47(user.language) - : undefined; - - return text - .replace("{date}", startCase(getCurrentDateAsString(locales))) - .replace("{time}", startCase(getCurrentTimeAsString(locales))) - .replace("{datetime}", startCase(getCurrentDateTimeAsString(locales))); -} diff --git a/server/commands/documentCreator.ts b/server/commands/documentCreator.ts index 2cf96e9849..e90f91f5c8 100644 --- a/server/commands/documentCreator.ts +++ b/server/commands/documentCreator.ts @@ -1,8 +1,8 @@ import { Optional } from "utility-types"; +import { ProsemirrorHelper } from "@shared/utils/ProsemirrorHelper"; +import { TextHelper } from "@shared/utils/TextHelper"; import { Document, Event, User } from "@server/models"; import { DocumentHelper } from "@server/models/helpers/DocumentHelper"; -import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; -import { TextHelper } from "@server/models/helpers/TextHelper"; import { APIContext } from "@server/types"; type Props = Optional< diff --git a/server/models/helpers/ProsemirrorHelper.tsx b/server/models/helpers/ProsemirrorHelper.tsx index 9ac99647fc..a7b6dd1d9f 100644 --- a/server/models/helpers/ProsemirrorHelper.tsx +++ b/server/models/helpers/ProsemirrorHelper.tsx @@ -21,9 +21,7 @@ import { schema, parser } from "@server/editor"; import Logger from "@server/logging/Logger"; import { trace } from "@server/logging/tracing"; import Attachment from "@server/models/Attachment"; -import User from "@server/models/User"; import FileStorage from "@server/storage/files"; -import { TextHelper } from "./TextHelper"; export type HTMLOptions = { /** A title, if it should be included */ @@ -264,29 +262,6 @@ export class ProsemirrorHelper { return removeMarksInner(json); } - /** - * Replaces all template variables in the node. - * - * @param data The ProsemirrorData object to replace variables in - * @param user The user to use for replacing variables - * @returns The content with variables replaced - */ - static replaceTemplateVariables(data: ProsemirrorData, user: User) { - function replace(node: ProsemirrorData) { - if (node.type === "text" && node.text) { - node.text = TextHelper.replaceTemplateVariables(node.text, user); - } - - if (node.content) { - node.content.forEach(replace); - } - - return node; - } - - return replace(data); - } - static async replaceInternalUrls( doc: Node | ProsemirrorData, basePath: string diff --git a/server/models/helpers/TextHelper.ts b/server/models/helpers/TextHelper.ts index e91ade6337..8f321d0a9f 100644 --- a/server/models/helpers/TextHelper.ts +++ b/server/models/helpers/TextHelper.ts @@ -1,13 +1,6 @@ import chunk from "lodash/chunk"; import escapeRegExp from "lodash/escapeRegExp"; -import startCase from "lodash/startCase"; import { AttachmentPreset } from "@shared/types"; -import { - getCurrentDateAsString, - getCurrentDateTimeAsString, - getCurrentTimeAsString, - unicodeCLDRtoBCP47, -} from "@shared/utils/date"; import attachmentCreator from "@server/commands/attachmentCreator"; import env from "@server/env"; import { trace } from "@server/logging/tracing"; @@ -19,25 +12,6 @@ import parseImages from "@server/utils/parseImages"; @trace() export class TextHelper { - /** - * Replaces template variables in the given text with the current date and time. - * - * @param text The text to replace the variables in - * @param user The user to get the language/locale from - * @returns The text with the variables replaced - */ - static replaceTemplateVariables(text: string, user: User) { - const locales = user.language - ? unicodeCLDRtoBCP47(user.language) - : undefined; - - return text - .replace(/{date}/g, startCase(getCurrentDateAsString(locales))) - .replace(/{time}/g, startCase(getCurrentTimeAsString(locales))) - .replace(/{datetime}/g, startCase(getCurrentDateTimeAsString(locales))) - .replace(/{author}/g, user.name); - } - /** * Converts attachment urls in documents to signed equivalents that allow * direct access without a session cookie diff --git a/shared/utils/ProsemirrorHelper.ts b/shared/utils/ProsemirrorHelper.ts index 595757d775..be1b16a1c4 100644 --- a/shared/utils/ProsemirrorHelper.ts +++ b/shared/utils/ProsemirrorHelper.ts @@ -2,6 +2,7 @@ import { Node, Schema } from "prosemirror-model"; import headingToSlug from "../editor/lib/headingToSlug"; import textBetween from "../editor/lib/textBetween"; import { ProsemirrorData } from "../types"; +import { TextHelper } from "./TextHelper"; export type Heading = { /* The heading in plain text */ @@ -28,6 +29,11 @@ export type Task = { completed: boolean; }; +interface User { + name: string; + language: string | null; +} + export const attachmentRedirectRegex = /\/api\/attachments\.redirect\?id=(?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/gi; @@ -307,4 +313,27 @@ export class ProsemirrorHelper { }); return headings; } + + /** + * Replaces all template variables in the node. + * + * @param data The ProsemirrorData object to replace variables in + * @param user The user to use for replacing variables + * @returns The content with variables replaced + */ + static replaceTemplateVariables(data: ProsemirrorData, user: User) { + function replace(node: ProsemirrorData) { + if (node.type === "text" && node.text) { + node.text = TextHelper.replaceTemplateVariables(node.text, user); + } + + if (node.content) { + node.content.forEach(replace); + } + + return node; + } + + return replace(data); + } } diff --git a/server/models/helpers/TextHelper.test.ts b/shared/utils/TextHelper.test.ts similarity index 73% rename from server/models/helpers/TextHelper.test.ts rename to shared/utils/TextHelper.test.ts index 601b93bab3..e1e2ddca97 100644 --- a/server/models/helpers/TextHelper.test.ts +++ b/shared/utils/TextHelper.test.ts @@ -1,4 +1,3 @@ -import { buildUser } from "@server/test/factories"; import { TextHelper } from "./TextHelper"; describe("TextHelper", () => { @@ -12,18 +11,21 @@ describe("TextHelper", () => { }); describe("replaceTemplateVariables", () => { + const user = { + name: "John Doe", + language: "en", + }; + it("should replace {time} with current time", async () => { - const user = await buildUser(); const result = TextHelper.replaceTemplateVariables("Hello {time}", user); - expect(result).toBe("Hello 12 00 AM"); + expect(result).toBe("Hello 12:00 AM"); }); it("should replace {date} with current date", async () => { - const user = await buildUser(); const result = TextHelper.replaceTemplateVariables("Hello {date}", user); - expect(result).toBe("Hello January 1 2021"); + expect(result).toBe("Hello January 1, 2021"); }); }); }); diff --git a/shared/utils/TextHelper.ts b/shared/utils/TextHelper.ts new file mode 100644 index 0000000000..39987f7c16 --- /dev/null +++ b/shared/utils/TextHelper.ts @@ -0,0 +1,32 @@ +import { + getCurrentDateAsString, + getCurrentDateTimeAsString, + getCurrentTimeAsString, + unicodeCLDRtoBCP47, +} from "./date"; + +interface User { + name: string; + language: string | null; +} + +export class TextHelper { + /** + * Replaces template variables in the given text with the current date and time. + * + * @param text The text to replace the variables in + * @param user The user to get the language/locale from + * @returns The text with the variables replaced + */ + static replaceTemplateVariables(text: string, user: User) { + const locales = user.language + ? unicodeCLDRtoBCP47(user.language) + : undefined; + + return text + .replace(/{date}/g, getCurrentDateAsString(locales)) + .replace(/{time}/g, getCurrentTimeAsString(locales)) + .replace(/{datetime}/g, getCurrentDateTimeAsString(locales)) + .replace(/{author}/g, user.name); + } +} From 8de59f0a2f09884804fad6d15eb9e488e566c96d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 1 Dec 2024 09:53:38 -0500 Subject: [PATCH 058/145] fix: 'Resolve' button appearing on resolved threads, closes #8047 --- .../Document/components/CommentThreadItem.tsx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/scenes/Document/components/CommentThreadItem.tsx b/app/scenes/Document/components/CommentThreadItem.tsx index 59446400b6..d4dcfedcbc 100644 --- a/app/scenes/Document/components/CommentThreadItem.tsx +++ b/app/scenes/Document/components/CommentThreadItem.tsx @@ -264,17 +264,19 @@ function CommentThreadItem({ {!isEditing && ( - {firstOfThread && ( - - )} {!comment.isResolved && ( - + <> + {firstOfThread && ( + + )} + + )} Date: Mon, 2 Dec 2024 23:36:10 +0100 Subject: [PATCH 059/145] New Crowdin updates (#8040) --- shared/i18n/locales/cs_CZ/translation.json | 8 +- shared/i18n/locales/da_DK/translation.json | 8 +- shared/i18n/locales/de_DE/translation.json | 8 +- shared/i18n/locales/es_ES/translation.json | 8 +- shared/i18n/locales/fa_IR/translation.json | 8 +- shared/i18n/locales/fr_FR/translation.json | 8 +- shared/i18n/locales/he_IL/translation.json | 8 +- shared/i18n/locales/hu_HU/translation.json | 8 +- shared/i18n/locales/id_ID/translation.json | 24 +-- shared/i18n/locales/it_IT/translation.json | 8 +- shared/i18n/locales/ja_JP/translation.json | 8 +- shared/i18n/locales/ko_KR/translation.json | 12 +- shared/i18n/locales/nb_NO/translation.json | 8 +- shared/i18n/locales/nl_NL/translation.json | 8 +- shared/i18n/locales/pl_PL/translation.json | 8 +- shared/i18n/locales/pt_BR/translation.json | 8 +- shared/i18n/locales/pt_PT/translation.json | 8 +- shared/i18n/locales/sv_SE/translation.json | 8 +- shared/i18n/locales/th_TH/translation.json | 8 +- shared/i18n/locales/tr_TR/translation.json | 8 +- shared/i18n/locales/uk_UA/translation.json | 176 +++++++++++---------- shared/i18n/locales/vi_VN/translation.json | 8 +- shared/i18n/locales/zh_CN/translation.json | 8 +- shared/i18n/locales/zh_TW/translation.json | 8 +- 24 files changed, 214 insertions(+), 166 deletions(-) diff --git a/shared/i18n/locales/cs_CZ/translation.json b/shared/i18n/locales/cs_CZ/translation.json index 499485227c..8f651eb35f 100644 --- a/shared/i18n/locales/cs_CZ/translation.json +++ b/shared/i18n/locales/cs_CZ/translation.json @@ -196,6 +196,11 @@ "Install now": "Nainstalovat", "Deleted Collection": "Odstraněná sbírka", "Unpin": "Zrušit připnutí", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Zahrnout vnořené dokumenty", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Prohledat sbírky a dokumenty", "No results found": "Nebyly nalezeny žádné výsledky", "Untitled": "Bez názvu", @@ -227,9 +232,6 @@ "Currently editing": "Právě upravuje", "Currently viewing": "Právě prohlíží", "Viewed {{ timeAgo }}": "Zobrazeno před {{ timeAgo }}", - "Copy of {{ documentName }}": "Kopie {{ documentName }}", - "Title": "Název", - "Include nested documents": "Zahrnout vnořené dokumenty", "Module failed to load": "Modul se nepodařilo načíst", "Loading Failed": "Načítání selhalo", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Litujeme, část aplikace se nepodařilo načíst. Může to být způsobeno tím, že byla aktualizována od chvíle, kdy jste kartu otevřeli, nebo kvůli neúspěšnému síťovému požadavku. Zkuste znovu načíst.", diff --git a/shared/i18n/locales/da_DK/translation.json b/shared/i18n/locales/da_DK/translation.json index a52e67acbb..568935092e 100644 --- a/shared/i18n/locales/da_DK/translation.json +++ b/shared/i18n/locales/da_DK/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "Deleted Collection", "Unpin": "Unpin", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Search collections & documents", "No results found": "Ingen resultater fundet", "Untitled": "Unavngivet", @@ -227,9 +232,6 @@ "Currently editing": "Redigerer nu", "Currently viewing": "Ser nu", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Modulet kunne ikke indlæses", "Loading Failed": "Loading Failed", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.", diff --git a/shared/i18n/locales/de_DE/translation.json b/shared/i18n/locales/de_DE/translation.json index a65e4da1d2..f2e3df6f80 100644 --- a/shared/i18n/locales/de_DE/translation.json +++ b/shared/i18n/locales/de_DE/translation.json @@ -196,6 +196,11 @@ "Install now": "Jetzt installieren", "Deleted Collection": "Gelöschte Sammlung", "Unpin": "Lospinnen", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Verschachtelte Dokumente einbeziehen", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Sammlungen und Dokumente durchsuchen", "No results found": "Keine Ergebnisse gefunden", "Untitled": "Ohne Titel", @@ -227,9 +232,6 @@ "Currently editing": "Derzeit in Bearbeitung", "Currently viewing": "Gerade angezeigt", "Viewed {{ timeAgo }}": "Angesehen {{ timeAgo }}", - "Copy of {{ documentName }}": "Kopie von {{ documentName }}", - "Title": "Überschrift", - "Include nested documents": "Verschachtelte Dokumente einbeziehen", "Module failed to load": "Modul konnte nicht geladen werden", "Loading Failed": "Laden fehlgeschlagen", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Leider konnte ein Teil der Software nicht geladen werden weil der Inhalt sich inzwischen geändert hat oder eine Abfrage nicht erfolgreich abgeschlossen werden konnte. Bitte neu laden.", diff --git a/shared/i18n/locales/es_ES/translation.json b/shared/i18n/locales/es_ES/translation.json index 81b1d3e477..eacdd18ea5 100644 --- a/shared/i18n/locales/es_ES/translation.json +++ b/shared/i18n/locales/es_ES/translation.json @@ -196,6 +196,11 @@ "Install now": "Instalar ahora", "Deleted Collection": "Colección Eliminada", "Unpin": "Desfijar", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Incluir documentos anidados", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Buscar en colecciones y documentos", "No results found": "No se encontraron resultados", "Untitled": "Sin título", @@ -227,9 +232,6 @@ "Currently editing": "Editando actualmente", "Currently viewing": "Visualizando actualmente", "Viewed {{ timeAgo }}": "Visto {{ timeAgo }}", - "Copy of {{ documentName }}": "Copia de {{ documentName }}", - "Title": "Título", - "Include nested documents": "Incluir documentos anidados", "Module failed to load": "El módulo no ha podido ser cargado", "Loading Failed": "Carga fallida", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Lo sentimos, parte de la aplicación no pudo ser cargada. Esto puede deberse a que se actualizó desde que abriste la pestaña o debido a una solicitud de red fallida. Por favor intenta recargar la página.", diff --git a/shared/i18n/locales/fa_IR/translation.json b/shared/i18n/locales/fa_IR/translation.json index 54f17f04f4..fab9b51fdc 100644 --- a/shared/i18n/locales/fa_IR/translation.json +++ b/shared/i18n/locales/fa_IR/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "مجموعه‌های حذف شده", "Unpin": "برداشتن سنجاق", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "جستجوی مجموعه ها و اسناد", "No results found": "No results found", "Untitled": "بدون عنوان", @@ -227,9 +232,6 @@ "Currently editing": "در حال ویرایش", "Currently viewing": "در حال مشاهده", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "بارگیری ماژول با خطا مواجه شد", "Loading Failed": "بارگیری ناموفق", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "متأسفانه امکان بارگیری بخشی از برنامه وجود نداشت. این خطا ممکن است به خاطر به‌روزرسانی ماژول یا اختلال شبکه ایجاد شده باشد. لطفاً دوباره صفحه را بارگیری کنید.", diff --git a/shared/i18n/locales/fr_FR/translation.json b/shared/i18n/locales/fr_FR/translation.json index 4b1f065a83..3ed2fcd4c7 100644 --- a/shared/i18n/locales/fr_FR/translation.json +++ b/shared/i18n/locales/fr_FR/translation.json @@ -196,6 +196,11 @@ "Install now": "Installer maintenant", "Deleted Collection": "Collection supprimée", "Unpin": "Désépingler", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Inclure les documents imbriqués", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Rechercher dans les collections et documents", "No results found": "Aucun résultat", "Untitled": "Sans titre", @@ -227,9 +232,6 @@ "Currently editing": "En cours de modification", "Currently viewing": "En train de consulter", "Viewed {{ timeAgo }}": "Vu il y a {{ timeAgo }}", - "Copy of {{ documentName }}": "Copie de {{ documentName }}", - "Title": "Titre", - "Include nested documents": "Inclure les documents imbriqués", "Module failed to load": "Le module n'a pas pu être chargé", "Loading Failed": "Échec du chargement", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Désolé, le chargement d'une partie de l'application a échoué. C'est probablement dû au fait qu'elle a été mise à jour depuis que vous avez ouvert l'onglet, ou en raison d'une requête réseau échouée. Essayez d'actualiser la page.", diff --git a/shared/i18n/locales/he_IL/translation.json b/shared/i18n/locales/he_IL/translation.json index 39a5f1938a..83810416f7 100644 --- a/shared/i18n/locales/he_IL/translation.json +++ b/shared/i18n/locales/he_IL/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "Deleted Collection", "Unpin": "Unpin", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Search collections & documents", "No results found": "No results found", "Untitled": "Untitled", @@ -227,9 +232,6 @@ "Currently editing": "Currently editing", "Currently viewing": "Currently viewing", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Module failed to load", "Loading Failed": "Loading Failed", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.", diff --git a/shared/i18n/locales/hu_HU/translation.json b/shared/i18n/locales/hu_HU/translation.json index e55ac1bab3..ab57b30389 100644 --- a/shared/i18n/locales/hu_HU/translation.json +++ b/shared/i18n/locales/hu_HU/translation.json @@ -196,6 +196,11 @@ "Install now": "Telepítés most", "Deleted Collection": "Törölt gyűjtemény", "Unpin": "Feloldás", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Beágyazott dokumentumokkal együtt", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Keresés a gyűteményekben és dokumentumokban", "No results found": "Nincs találat", "Untitled": "Névtelen", @@ -227,9 +232,6 @@ "Currently editing": "Jelenleg szerkeszti", "Currently viewing": "Jelenleg megtekinti", "Viewed {{ timeAgo }}": "Megtekintve: {{ timeAgo }}", - "Copy of {{ documentName }}": "{{ documentName }} másolata", - "Title": "Cím", - "Include nested documents": "Beágyazott dokumentumokkal együtt", "Module failed to load": "A modult nem sikerült betölteni", "Loading Failed": "Betöltés sikertelen", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Elnézést, az alkalmazás egy részének betöltése sikertelen. Lehet, hogy frissült, mióta megnyitotta a fület, vagy hálózati kapcsolati hiba történt. Kérem próbálja újratölteni.", diff --git a/shared/i18n/locales/id_ID/translation.json b/shared/i18n/locales/id_ID/translation.json index ee79dd3605..ad027a5ca1 100644 --- a/shared/i18n/locales/id_ID/translation.json +++ b/shared/i18n/locales/id_ID/translation.json @@ -26,7 +26,7 @@ "Thread resolved": "Thread resolved", "Mark as unresolved": "Mark as unresolved", "View reactions": "View reactions", - "Reactions": "Reactions", + "Reactions": "Reaksi", "Copy ID": "Salin ID", "Clear IndexedDB cache": "Clear IndexedDB cache", "IndexedDB cache cleared": "IndexedDB cache cleared", @@ -54,9 +54,9 @@ "Markdown": "Markdown", "Download": "Unduh", "Download document": "Unduh dokumen", - "Copy as Markdown": "Copy as Markdown", + "Copy as Markdown": "Salin sebagai Markdown", "Markdown copied to clipboard": "Markdown copied to clipboard", - "Copy public link": "Copy public link", + "Copy public link": "Salin tautan publik", "Link copied to clipboard": "Tautan disalin ke papan klip", "Copy link": "Salin tautan", "Copy": "Salin", @@ -159,7 +159,7 @@ "Save": "Simpan", "Creating": "Membuat", "Create": "Buat", - "Collection deleted": "Collection deleted", + "Collection deleted": "Koleksi berhasil dihapus", "I’m sure – Delete": "Saya yakin – Hapus", "Deleting": "Menghapus", "Are you sure about that? Deleting the {{collectionName}} collection is permanent and cannot be restored, however all published documents within will be moved to the trash.": "Anda yakin? Menghapus koleksi {{collectionName}} bersifat permanen dan tidak dapat dipulihkan, namun dokumen di dalamnya akan dipindahkan ke tempat sampah.", @@ -169,11 +169,11 @@ "Collapse": "Persingkat", "Expand": "Perlengkap", "Type a command or search": "Ketik perintah atau penelusuran", - "Choose a template": "Choose a template", + "Choose a template": "Pilih templat", "Are you sure you want to permanently delete this entire comment thread?": "Apakah Anda yakin ingin menghapus semua komentar ini secara permanen?", "Are you sure you want to permanently delete this comment?": "Apa Anda yakin ingin menghapus komentar ini secara permanen?", "Confirm": "Konfirmasi", - "manage access": "manage access", + "manage access": "Kelola akses", "view and edit access": "melihat dan mengedit akses", "view only access": "akses hanya melihat", "no access": "tidak ada akses", @@ -182,9 +182,9 @@ "Moving the document {{ title }} to the {{ newCollectionName }} collection will change permission for all workspace members from {{ prevPermission }} to {{ newPermission }}.": "Moving the document {{ title }} to the {{ newCollectionName }} collection will change permission for all workspace members from {{ prevPermission }} to {{ newPermission }}.", "Document is too large": "Document is too large", "This document has reached the maximum size and can no longer be edited": "This document has reached the maximum size and can no longer be edited", - "Authentication failed": "Authentication failed", + "Authentication failed": "Autentikasi gagal", "Please try logging out and back in again": "Please try logging out and back in again", - "Authorization failed": "Authorization failed", + "Authorization failed": "Otorisasi gagal", "You may have lost access to this document, try reloading": "You may have lost access to this document, try reloading", "Too many users connected to document": "Too many users connected to document", "Your edits will sync once other users leave the document": "Your edits will sync once other users leave the document", @@ -196,6 +196,11 @@ "Install now": "Pasang sekarang", "Deleted Collection": "Koleksi Dihapus", "Unpin": "Unpin", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Telusuri koleksi & dokumen", "No results found": "Tak ditemukan hasil", "Untitled": "Tak Berjudul", @@ -227,9 +232,6 @@ "Currently editing": "Sedang menyunting", "Currently viewing": "Sedang melihat", "Viewed {{ timeAgo }}": "Dilihat {{ timeAgo }} lalu", - "Copy of {{ documentName }}": "Salinan {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Modul gagal dimuat", "Loading Failed": "Gagal Memuat", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Maaf, sebagian dari aplikasi gagal dimuat. Hal ini mungkin terjadi karena aplikasi telah diperbarui sejak Anda membuka tab atau karena permintaan yang gagal. Silakan coba memuat ulang.", diff --git a/shared/i18n/locales/it_IT/translation.json b/shared/i18n/locales/it_IT/translation.json index 594acb6e06..91d570f99e 100644 --- a/shared/i18n/locales/it_IT/translation.json +++ b/shared/i18n/locales/it_IT/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "Raccolte Eliminate", "Unpin": "Rimuovi contrassegno", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Cerca raccolte e documenti", "No results found": "Nessun risultato trovato", "Untitled": "Senza titolo", @@ -227,9 +232,6 @@ "Currently editing": "Attualemente in modifica", "Currently viewing": "Attualmente visualizzato", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Caricamento del modulo fallito", "Loading Failed": "Caricamento fallito", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Spiacenti, parte dell'applicazione non si è caricata correttamente. È possibile che sia stata aggiornata da quando hai aperto la scheda oppure è fallita una richiesta di rete. Si prega di ricaricare la pagina.", diff --git a/shared/i18n/locales/ja_JP/translation.json b/shared/i18n/locales/ja_JP/translation.json index 00563b7952..4d3833b3a0 100644 --- a/shared/i18n/locales/ja_JP/translation.json +++ b/shared/i18n/locales/ja_JP/translation.json @@ -196,6 +196,11 @@ "Install now": "インストールしています", "Deleted Collection": "削除したコレクション", "Unpin": "ピン留めを外す", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "子ドキュメントを含める", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "ドキュメントやコレクションを検索する", "No results found": "なにも見つかりませんでした", "Untitled": "無題のドキュメント", @@ -227,9 +232,6 @@ "Currently editing": "編集中", "Currently viewing": "閲覧中", "Viewed {{ timeAgo }}": "{{ timeAgo }} 前に閲覧済み", - "Copy of {{ documentName }}": "{{ documentName }} のコピー", - "Title": "タイトル", - "Include nested documents": "子ドキュメントを含める", "Module failed to load": "モジュールの読み込みに失敗しました", "Loading Failed": "読み込みに失敗しました", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "一部のアプリケーションを読み込めませんでした。 再読み込みしてください。", diff --git a/shared/i18n/locales/ko_KR/translation.json b/shared/i18n/locales/ko_KR/translation.json index f29c8bb75d..14173530ec 100644 --- a/shared/i18n/locales/ko_KR/translation.json +++ b/shared/i18n/locales/ko_KR/translation.json @@ -196,6 +196,11 @@ "Install now": "지금 설치", "Deleted Collection": "삭제 된 콜렉션", "Unpin": "고정 해제", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "중첩된 문서 포함", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "컬렉션 및 문서 검색", "No results found": "결과가 없습니다.", "Untitled": "제목없음", @@ -227,9 +232,6 @@ "Currently editing": "현재 수정 중", "Currently viewing": "현재 보는 중", "Viewed {{ timeAgo }}": "전에 봄 {{ timeAgo }}", - "Copy of {{ documentName }}": "{{ documentName }} 사본", - "Title": "제목", - "Include nested documents": "중첩된 문서 포함", "Module failed to load": "모듈 불러오기 실패", "Loading Failed": "불러오기 실패", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "죄송합니다, 일부 애플리케이션을 불러올 수 없습니다. 탭을 연 이후 업데이트 되었거나 네트워크 요청이 실패했기 때문일 수 있습니다. 새로고침을 시도해보세요", @@ -354,8 +356,8 @@ "Anyone with the link can access because the parent document, <2>{{documentTitle}}, is shared": "상위 문서인 <2>{{documentTitle}} 이(가) 공유되어 있으므로 링크를 가진 사람은 누구나 접근 가능", "Allow anyone with the link to access": "링크가 있는 모든 사람에 대해 접근 허용", "Publish to internet": "인터넷에 게시", - "Search engine indexing": "Search engine indexing", - "Disable this setting to discourage search engines from indexing the page": "Disable this setting to discourage search engines from indexing the page", + "Search engine indexing": "검색 엔진 인덱싱 허용", + "Disable this setting to discourage search engines from indexing the page": "검색 엔진이 페이지를 인덱싱하지 못하도록 하려면 이 옵션을 비활성화 합니다", "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "중첩된 문서들은 웹에 공유되지 않습니다. 공유 버튼을 토글해 액세스를 활성화하면, 미래에도 기본 동작으로 유지됩니다.", "{{ userName }} was added to the document": "{{ userName }} was added to the document", "{{ count }} people added to the document": "{{ count }} people added to the document", diff --git a/shared/i18n/locales/nb_NO/translation.json b/shared/i18n/locales/nb_NO/translation.json index 00335ed5b7..82bfdbb463 100644 --- a/shared/i18n/locales/nb_NO/translation.json +++ b/shared/i18n/locales/nb_NO/translation.json @@ -196,6 +196,11 @@ "Install now": "Installer nå", "Deleted Collection": "Slettet samling", "Unpin": "Løsne", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Inkluder underdokumenter", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Søk i samlinger og dokumenter", "No results found": "Ingen resultater funnet", "Untitled": "Uten tittel", @@ -227,9 +232,6 @@ "Currently editing": "Redigerer nå", "Currently viewing": "Ser nå", "Viewed {{ timeAgo }}": "Sett {{ timeAgo }}", - "Copy of {{ documentName }}": "Kopi av {{ documentName }}", - "Title": "Tittel", - "Include nested documents": "Inkluder underdokumenter", "Module failed to load": "Feil ved innlasting av modul", "Loading Failed": "Innlasting Feilet", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Beklager, en del av applikasjonen mislyktes i å laste. Dette kan være fordi den ble oppdatert etter du åpnet fanen eller på grunn av en nettverksfeil. Vennligst prøv å laste inn på nytt.", diff --git a/shared/i18n/locales/nl_NL/translation.json b/shared/i18n/locales/nl_NL/translation.json index fd740e135c..1b19ce1496 100644 --- a/shared/i18n/locales/nl_NL/translation.json +++ b/shared/i18n/locales/nl_NL/translation.json @@ -196,6 +196,11 @@ "Install now": "Nu installeren", "Deleted Collection": "Verwijderde Collectie", "Unpin": "Losmaken", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Inclusief geneste documenten", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Zoeken in collecties en documenten", "No results found": "Geen resultaten gevonden", "Untitled": "Naamloos", @@ -227,9 +232,6 @@ "Currently editing": "Momenteel aan het bewerken", "Currently viewing": "Momenteel aan het bekijken", "Viewed {{ timeAgo }}": "{{ timeAgo }} bekeken", - "Copy of {{ documentName }}": "Kopie van {{ documentName }}", - "Title": "Titel", - "Include nested documents": "Inclusief geneste documenten", "Module failed to load": "Module kon niet geladen worden", "Loading Failed": "Laden mislukt", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Sorry, een deel van de toepassing kon niet geladen worden. Dit kan komen doordat het is bijgewerkt sinds het tabblad is geopend of door een mislukt netwerkverzoek. Probeer het opnieuw te laden.", diff --git a/shared/i18n/locales/pl_PL/translation.json b/shared/i18n/locales/pl_PL/translation.json index ea239a3946..26ef6a15d3 100644 --- a/shared/i18n/locales/pl_PL/translation.json +++ b/shared/i18n/locales/pl_PL/translation.json @@ -196,6 +196,11 @@ "Install now": "Zainstaluj teraz", "Deleted Collection": "Usunięta kolekcja", "Unpin": "Odepnij", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Dołącz zagnieżdżone dokumenty", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Przeszukaj kolekcje i dokumenty", "No results found": "Nie znaleziono wyników", "Untitled": "Bez tytułu", @@ -227,9 +232,6 @@ "Currently editing": "Aktualnie edytujesz", "Currently viewing": "Aktualnie wyświetlasz", "Viewed {{ timeAgo }}": "Przeglądnięty {{ timeAgo }}", - "Copy of {{ documentName }}": "Kopiuj jako {{ documentName }}", - "Title": "Tytuł", - "Include nested documents": "Dołącz zagnieżdżone dokumenty", "Module failed to load": "Nie udało się załadować modułu", "Loading Failed": "Ładowanie nie powiodło się", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Przepraszamy, nie udało się załadować części aplikacji. Może to być spowodowane tym, że został zaktualizowany od momentu otwarcia karty lub z powodu nieudanego żądania sieciowego. Spróbuj ponownie załadować.", diff --git a/shared/i18n/locales/pt_BR/translation.json b/shared/i18n/locales/pt_BR/translation.json index b5bcf0ca24..d15b55fd34 100644 --- a/shared/i18n/locales/pt_BR/translation.json +++ b/shared/i18n/locales/pt_BR/translation.json @@ -196,6 +196,11 @@ "Install now": "Instalar agora", "Deleted Collection": "Excluir Coleção", "Unpin": "Desafixar", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Incluir documentos aninhados", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Pesquisar coleções e documentos", "No results found": "Nenhum resultado encontrado", "Untitled": "Sem título", @@ -227,9 +232,6 @@ "Currently editing": "Atualmente editando", "Currently viewing": "Atualmente visualizando", "Viewed {{ timeAgo }}": "Visualizou {{ timeAgo }} atrás", - "Copy of {{ documentName }}": "Cópia de {{ documentName }}", - "Title": "Título", - "Include nested documents": "Incluir documentos aninhados", "Module failed to load": "Falha ao carregar módulo", "Loading Failed": "Falha ao carregar", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Desculpe, parte da aplicação falhou ao carregar. Isto pode ser porque foi atualizado desde que você abriu a guia ou devido a uma requisição de redecom falha. Tente recarregar.", diff --git a/shared/i18n/locales/pt_PT/translation.json b/shared/i18n/locales/pt_PT/translation.json index 0c90a88baa..fa01271943 100644 --- a/shared/i18n/locales/pt_PT/translation.json +++ b/shared/i18n/locales/pt_PT/translation.json @@ -196,6 +196,11 @@ "Install now": "Instalar agora", "Deleted Collection": "Coleção eliminada", "Unpin": "Tirar pino", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Incluir sub-documentos", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Procurar coleções e documentos", "No results found": "Nenhum resultado encontrado", "Untitled": "Sem título", @@ -227,9 +232,6 @@ "Currently editing": "Em edição", "Currently viewing": "Em visualização", "Viewed {{ timeAgo }}": "Visto {{ timeAgo }}", - "Copy of {{ documentName }}": "Cópia do {{ documentName }}", - "Title": "Título", - "Include nested documents": "Incluir sub-documentos", "Module failed to load": "Módulo falhou ao carregar", "Loading Failed": "Carregamento falhou", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Parte da aplicação não foi carregada. Isto pode ser porque foi atualizado desde que abriu o separador ou devido a um erro de rede. Tente recarregar.", diff --git a/shared/i18n/locales/sv_SE/translation.json b/shared/i18n/locales/sv_SE/translation.json index 9ba090b42a..7297d3e92c 100644 --- a/shared/i18n/locales/sv_SE/translation.json +++ b/shared/i18n/locales/sv_SE/translation.json @@ -196,6 +196,11 @@ "Install now": "Installera nu", "Deleted Collection": "Raderad samling", "Unpin": "Lossa", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Inkludera nästlade dokument", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Sök i samlingar och dokument", "No results found": "Inga resultat hittades", "Untitled": "Utan titel", @@ -227,9 +232,6 @@ "Currently editing": "Redigerar just nu", "Currently viewing": "Visar för närvarande", "Viewed {{ timeAgo }}": "Visades för {{ timeAgo }} sedan", - "Copy of {{ documentName }}": "Kopia av {{ documentName }}", - "Title": "Titel", - "Include nested documents": "Inkludera nästlade dokument", "Module failed to load": "Modulen kunde inte laddas", "Loading Failed": "Laddning misslyckades", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Tyvärr, en del av programmet kunde inte laddas. Det kan bero på att den uppdaterades sedan du öppnade fliken eller på grund av en misslyckad nätverksbegäran. Försök att ladda om.", diff --git a/shared/i18n/locales/th_TH/translation.json b/shared/i18n/locales/th_TH/translation.json index 82a2ac1e74..8e02619798 100644 --- a/shared/i18n/locales/th_TH/translation.json +++ b/shared/i18n/locales/th_TH/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "คอลเลคชั่นที่ถูกลบ", "Unpin": "เลิกปักหมุด", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Search collections & documents", "No results found": "No results found", "Untitled": "ไม่มีชื่อ", @@ -227,9 +232,6 @@ "Currently editing": "กำลังแก้ไข", "Currently viewing": "กำลังดู", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "โหลดโมดูลไม่สำเร็จ", "Loading Failed": "การโหลดล้มเหลว", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "ขออภัย บางส่วนของแอปไม่สามารถโหลดได้ อาจเป็นเพราะว่ามีการปรับปรุงหลังจากคุณเปิดแท็บหรือเนื่องจากเครือข่ายล้มเหลว โปรดลองใหม่อีกครั้ง", diff --git a/shared/i18n/locales/tr_TR/translation.json b/shared/i18n/locales/tr_TR/translation.json index c7997045c7..06ac236e67 100644 --- a/shared/i18n/locales/tr_TR/translation.json +++ b/shared/i18n/locales/tr_TR/translation.json @@ -196,6 +196,11 @@ "Install now": "Install now", "Deleted Collection": "Silinmiş Koleksiyon", "Unpin": "Sabitlemeyi kaldır", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Include nested documents", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Koleksiyonlarda ve belgelerde arama yapın", "No results found": "Sonuç bulunamadı", "Untitled": "Başlıksız", @@ -227,9 +232,6 @@ "Currently editing": "Şu anda düzenliyor", "Currently viewing": "Şu anda görüntülüyor", "Viewed {{ timeAgo }}": "Viewed {{ timeAgo }}", - "Copy of {{ documentName }}": "Copy of {{ documentName }}", - "Title": "Title", - "Include nested documents": "Include nested documents", "Module failed to load": "Modül yüklenemedi", "Loading Failed": "Yükleme başarısız oldu", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Maalesef uygulamanın bir kısmı yüklenemedi. Bunun nedeni, sekmeyi açtığınızdan beri güncellenmiş olması veya başarısız bir ağ isteği olabilir. Lütfen yeniden yüklemeyi deneyin.", diff --git a/shared/i18n/locales/uk_UA/translation.json b/shared/i18n/locales/uk_UA/translation.json index b80b331034..02f83b27e5 100644 --- a/shared/i18n/locales/uk_UA/translation.json +++ b/shared/i18n/locales/uk_UA/translation.json @@ -12,12 +12,12 @@ "Star": "Додати в обране", "Unstar": "Прибрати з обраного", "Archive": "Архівувати", - "Archive collection": "Archive collection", - "Collection archived": "Collection archived", + "Archive collection": "Архівувати колекцію", + "Collection archived": "Колекцію архівовано", "Archiving": "Архівація", - "Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.": "Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.", + "Archiving this collection will also archive all documents within it. Documents from the collection will no longer be visible in search results.": "Архівування цієї колекції також архівує всі документи в ній. Документи з колекції більше не будуть видимі в результатах пошуку.", "Restore": "Відновити", - "Collection restored": "Collection restored", + "Collection restored": "Колекцію відновлено", "Delete": "Видалити", "Delete collection": "Видалити колекцію", "New template": "Новий шаблон", @@ -25,8 +25,8 @@ "Mark as resolved": "Позначити як вирішене", "Thread resolved": "Обговорення закрито", "Mark as unresolved": "Позначити як невирішене", - "View reactions": "View reactions", - "Reactions": "Reactions", + "View reactions": "Переглянути реакції", + "Reactions": "Реакції", "Copy ID": "Скопіювати ID", "Clear IndexedDB cache": "Очистити кеш IndexedDB", "IndexedDB cache cleared": "Кеш IndexedDB очищено", @@ -56,7 +56,7 @@ "Download document": "Завантажити документ", "Copy as Markdown": "Скопіювати як Markdown", "Markdown copied to clipboard": "Markdown скопійовано в буфер обміну", - "Copy public link": "Copy public link", + "Copy public link": "Копіювати публічне посилання", "Link copied to clipboard": "Посилання скопійовано в буфер обміну", "Copy link": "Скопіювати лінк", "Copy": "Копіювати", @@ -77,13 +77,13 @@ "Create template": "Створити шаблон", "Open random document": "Відкрити випадковий документ", "Search documents for \"{{searchQuery}}\"": "Шукати в документах \"{{searchQuery}}\"", - "Move to workspace": "Move to workspace", + "Move to workspace": "Перемістити в робоче середовище", "Move": "Перемістити", - "Move to collection": "Move to collection", + "Move to collection": "Перемістити до колекції", "Move {{ documentType }}": "Перемістити {{ documentType }}", - "Are you sure you want to archive this document?": "Are you sure you want to archive this document?", + "Are you sure you want to archive this document?": "Ви впевнені, що хочете архівувати цей документ?", "Document archived": "Документ архівовано", - "Archiving this document will remove it from the collection and search results.": "Archiving this document will remove it from the collection and search results.", + "Archiving this document will remove it from the collection and search results.": "Архівування цього документу прибере його з колекції та результатів пошуку.", "Delete {{ documentName }}": "Видалити {{ documentName }}", "Permanently delete": "Видалити остаточно", "Permanently delete {{ documentName }}": "Остаточно видалити {{ documentName }}", @@ -94,9 +94,9 @@ "Insights": "Статистика", "Disable viewer insights": "Вимкнути статистику перегляду", "Enable viewer insights": "Увімкнути статистику перегляду", - "Leave document": "Leave document", - "You have left the shared document": "You have left the shared document", - "Could not leave document": "Could not leave document", + "Leave document": "Вийти з документа", + "You have left the shared document": "Ви залишили спільний документ", + "Could not leave document": "Не вдалося покинути документ", "Home": "Головна", "Drafts": "Чернетки", "Trash": "Кошик", @@ -169,17 +169,17 @@ "Collapse": "Згорнути", "Expand": "Розгорнути", "Type a command or search": "Введіть команду або текст для пошуку", - "Choose a template": "Choose a template", + "Choose a template": "Виберіть шаблон", "Are you sure you want to permanently delete this entire comment thread?": "Ви впевнені, що бажаєте остаточно видалити весь цей ланцюжок коментарів?", "Are you sure you want to permanently delete this comment?": "Ви впевнені, що хочете остаточно видалити цей коментар?", "Confirm": "Підтвердити", - "manage access": "manage access", + "manage access": "керування доступом", "view and edit access": "право перегляду та редагування", "view only access": "доступ лише на перегляд", "no access": "немає доступу", "Move document": "Перемістити документ", "Moving": "Переміщення", - "Moving the document {{ title }} to the {{ newCollectionName }} collection will change permission for all workspace members from {{ prevPermission }} to {{ newPermission }}.": "Moving the document {{ title }} to the {{ newCollectionName }} collection will change permission for all workspace members from {{ prevPermission }} to {{ newPermission }}.", + "Moving the document {{ title }} to the {{ newCollectionName }} collection will change permission for all workspace members from {{ prevPermission }} to {{ newPermission }}.": "Переміщення документа {{ title }} до колекції {{ newCollectionName }} призведе до зміни дозволу для всіх учасників робочої області з {{ prevPermission }} на {{ newPermission }}.", "Document is too large": "Документ занадто великий", "This document has reached the maximum size and can no longer be edited": "Цей документ досяг максимального розміру і більше не може бути відредагований", "Authentication failed": "Помилка автентифікації", @@ -196,6 +196,11 @@ "Install now": "Встановити зараз", "Deleted Collection": "Видалена колекція", "Unpin": "Відкріпити", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Включаючи вкладені документи", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Пошук колекцій і документів", "No results found": "Результатів не знайдено", "Untitled": "Без назви", @@ -227,9 +232,6 @@ "Currently editing": "Зараз редагується", "Currently viewing": "Зараз переглядають", "Viewed {{ timeAgo }}": "Переглянуто {{ timeAgo }}", - "Copy of {{ documentName }}": "Копія {{ documentName }}", - "Title": "Заголовок", - "Include nested documents": "Включаючи вкладені документи", "Module failed to load": "Не вдалося завантажити модуль", "Loading Failed": "Не вдалося завантажити", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "На жаль, не вдалося завантажити частину програми. Це може бути тому, що вона була оновлена після того, як ви відкрили вкладку або через невдалий мережевий запит. Будь ласка, спробуйте перезавантажити.", @@ -267,25 +269,25 @@ "Group members": "Учасники групи", "{{authorName}} created <3>": "{{authorName}} створив <3>", "{{authorName}} opened <3>": "{{authorName}} відкрив <3>", - "Search emoji": "Search emoji", - "Search icons": "Search icons", + "Search emoji": "Пошук емодзі", + "Search icons": "Пошук значків", "Choose default skin tone": "Оберіть колір", "Show menu": "Показати меню", - "Icon Picker": "Icon Picker", - "Icons": "Icons", - "Emojis": "Emojis", + "Icon Picker": "Вибір значків", + "Icons": "Значки", + "Emojis": "Емодзі", "Remove": "Видалити", "All": "Всі", - "Frequently Used": "Frequently Used", + "Frequently Used": "Часто використовувані", "Search Results": "Результати пошуку", - "Smileys & People": "Smileys & People", + "Smileys & People": "Смайли та люди", "Animals & Nature": "Тварини та природа", - "Food & Drink": "Food & Drink", - "Activity": "Activity", - "Travel & Places": "Travel & Places", - "Objects": "Objects", - "Symbols": "Symbols", - "Flags": "Flags", + "Food & Drink": "Їжа та напої", + "Activity": "Активність", + "Travel & Places": "Подорожі та місця", + "Objects": "Об'єкти", + "Symbols": "Символи", + "Flags": "Прапори", "Select a color": "Виберіть колір", "Loading": "Завантаження", "Search": "Пошук", @@ -304,40 +306,40 @@ "Mark all as read": "Позначити все як прочитане", "You're all caught up": "У вас все налаштовано", "Documents": "Документи", - "{{ username }} reacted with {{ emoji }}": "{{ username }} reacted with {{ emoji }}", - "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}", - "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} and {{ count }} other reacted with {{ emoji }}", - "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}", - "Add reaction": "Add reaction", - "Reaction picker": "Reaction picker", - "Could not load reactions": "Could not load reactions", - "Reaction": "Reaction", + "{{ username }} reacted with {{ emoji }}": "{{ username }} відреагував з {{ emoji }}", + "{{ firstUsername }} and {{ secondUsername }} reacted with {{ emoji }}": "{{ firstUsername }} та {{ secondUsername }} відреагували з {{ emoji }}", + "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}": "{{ firstUsername }} та {{ count }} інші відреагували з {{ emoji }}", + "{{ firstUsername }} and {{ count }} others reacted with {{ emoji }}_plural": "{{ firstUsername }} та {{ count }} інші відреагували з {{ emoji }}", + "Add reaction": "Додати реакцію", + "Reaction picker": "Вибір реакцій", + "Could not load reactions": "Не вдалося завантажити реакції", + "Reaction": "Реакції", "Results": "Результати", "No results for {{query}}": "За запитом \"{{query}}\" нічого не знайдено :(", - "Manage": "Manage", + "Manage": "Керування", "All members": "Усі учасники", "Everyone in the workspace": "Усі у робочому середовищі", - "Invite": "Invite", + "Invite": "Запросити", "{{ userName }} was added to the collection": "{{ userName }} додано до колекції", "{{ count }} people added to the collection": "{{ count }} people added to the collection", "{{ count }} people added to the collection_plural": "{{ count }} people added to the collection", "{{ count }} people and {{ count2 }} groups added to the collection": "{{ count }} people and {{ count2 }} groups added to the collection", "{{ count }} people and {{ count2 }} groups added to the collection_plural": "{{ count }} people and {{ count2 }} groups added to the collection", "Add": "Додати", - "Add or invite": "Add or invite", + "Add or invite": "Додати або запросити", "Viewer": "Переглядач", "Editor": "Редактор", - "Suggestions for invitation": "Suggestions for invitation", - "No matches": "No matches", + "Suggestions for invitation": "Пропозиції щодо запрошення", + "No matches": "Немає збігів", "Can view": "Може переглядати", "Everyone in the collection": "Усі у колекції", - "You have full access": "You have full access", - "Created the document": "Created the document", - "Other people": "Other people", - "Other workspace members may have access": "Other workspace members may have access", + "You have full access": "У вас є повний доступ", + "Created the document": "Створено документ", + "Other people": "Інші люди", + "Other workspace members may have access": "Інші члени робочої області можуть мати доступ", "This document may be shared with more workspace members through a parent document or collection you do not have access to": "This document may be shared with more workspace members through a parent document or collection you do not have access to", - "Access inherited from collection": "Access inherited from collection", - "{{ userName }} was removed from the document": "{{ userName }} was removed from the document", + "Access inherited from collection": "Доступ успадковано від колекції", + "{{ userName }} was removed from the document": "{{ userName }} було видалено з документа", "Could not remove user": "Не вдалось вилучити користувача", "Permissions for {{ userName }} updated": "Права для {{ userName }} оновлено", "Could not update user": "Неможливо оновити користувача", @@ -349,22 +351,22 @@ "Leave": "Вихід", "Only lowercase letters, digits and dashes allowed": "Допускаються тільки маленькі літери, цифри і дефіси", "Sorry, this link has already been used": "Вибачте, це посилання вже використано", - "Public link copied to clipboard": "Public link copied to clipboard", - "Web": "Web", - "Anyone with the link can access because the parent document, <2>{{documentTitle}}, is shared": "Anyone with the link can access because the parent document, <2>{{documentTitle}}, is shared", - "Allow anyone with the link to access": "Allow anyone with the link to access", + "Public link copied to clipboard": "Публічне посилання скопійовано в буфер обміну", + "Web": "Веб", + "Anyone with the link can access because the parent document, <2>{{documentTitle}}, is shared": "Будь-хто з посиланням може отримати доступ, оскільки батьківський документ <2>{{documentTitle}}, поширює", + "Allow anyone with the link to access": "Дозволити будь-кому з посиланням для доступу", "Publish to internet": "Опублікувати в інтернеті", - "Search engine indexing": "Search engine indexing", - "Disable this setting to discourage search engines from indexing the page": "Disable this setting to discourage search engines from indexing the page", - "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future", - "{{ userName }} was added to the document": "{{ userName }} was added to the document", + "Search engine indexing": "Індексація пошуковою системою", + "Disable this setting to discourage search engines from indexing the page": "Вимкніть цей параметр, щоб заборонити пошуковій системі індексувати сторінку", + "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "Вкладені документи не поширюються в інтернеті. Ввімкніть спільний доступ для доступу, це буде типовою поведінкою в майбутньому", + "{{ userName }} was added to the document": "{{ userName }} було додано до документа", "{{ count }} people added to the document": "{{ count }} people added to the document", "{{ count }} people added to the document_plural": "{{ count }} people added to the document", "{{ count }} groups added to the document": "{{ count }} groups added to the document", "{{ count }} groups added to the document_plural": "{{ count }} groups added to the document", "Logo": "Лого", - "Archived collections": "Archived collections", - "Change permissions?": "Change permissions?", + "Archived collections": "Заархівовані колекції", + "Change permissions?": "Змінити права доступу?", "New doc": "Новий документ", "You can't reorder documents in an alphabetically sorted collection": "Ви не можете змінити порядок документів у колекції, яка відсортована за алфавітом", "Empty": "Порожньо", @@ -372,35 +374,35 @@ "Document not supported – try Markdown, Plain text, HTML, or Word": "Документ не підтримується – спробуйте Markdown, TXT-файл, HTML або Word", "Go back": "Назад", "Go forward": "Вперед", - "Could not load shared documents": "Could not load shared documents", - "Shared with me": "Shared with me", + "Could not load shared documents": "Не вдалося завантажити спільні документи", + "Shared with me": "Відкриті для мене", "Show more": "Показати більше", - "Could not load starred documents": "Could not load starred documents", + "Could not load starred documents": "Не вдалося завантажити обрані документи", "Starred": "Обране", "Up to date": "Остання версія", "{{ releasesBehind }} versions behind": "{{ releasesBehind }} версія позаду", "{{ releasesBehind }} versions behind_plural": "{{ releasesBehind }} версій позаду", "Return to App": "Назад до програми", "Installation": "Встановлення", - "Unstar document": "Unstar document", - "Star document": "Star document", + "Unstar document": "Видалити з обраного", + "Star document": "Додати до обраного", "Previous page": "Попередня сторінка", "Next page": "Наступна сторінка", "Template created, go ahead and customize it": "Шаблон створено, тепер налаштуйте його під ваші потреби", "Creating a template from {{titleWithDefault}} is a non-destructive action – we'll make a copy of the document and turn it into a template that can be used as a starting point for new documents.": "Створення шаблону з {{titleWithDefault}} не є руйнівною дією – ми зробимо копію документа та перетворимо її на шаблон, який можна використовувати як основу для нових документів.", "Published": "Опубліковано", - "Enable other members to use the template immediately": "Enable other members to use the template immediately", - "Location": "Location", - "Admins can manage the workspace and access billing.": "Admins can manage the workspace and access billing.", - "Editors can create, edit, and comment on documents.": "Editors can create, edit, and comment on documents.", - "Viewers can only view and comment on documents.": "Viewers can only view and comment on documents.", - "Are you sure you want to make {{ userName }} a {{ role }}?": "Are you sure you want to make {{ userName }} a {{ role }}?", + "Enable other members to use the template immediately": "Дозволити іншим учасникам відразу використовувати шаблон", + "Location": "Місцезнаходження", + "Admins can manage the workspace and access billing.": "Адміністратори можуть керувати робочою областю та оплатою доступу.", + "Editors can create, edit, and comment on documents.": "Редактори можуть створювати, редагувати і коментувати документи.", + "Viewers can only view and comment on documents.": "Переглядачі можуть переглядати й коментувати документи.", + "Are you sure you want to make {{ userName }} a {{ role }}?": "Ви впевнені, що хочете зробити з {{ userName }} в ролі {{ role }}?", "I understand, delete": "Я розумію, видалити", "Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable, consider suspending the user instead.": "Ви впевнені, що бажаєте остаточно видалити {{ userName }}? Цю операцію неможливо скасувати, подумайте натомість про деактивацію користувача.", "Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.": "Ви впевнені, що хочете заблокувати {{ userName }}? Заблоковані користувачі не зможуть увійти.", "New name": "Нова назва", "Name can't be empty": "Назва не може бути незаповненою", - "Your import completed": "Your import completed", + "Your import completed": "Ваш імпорт завершено", "Previous match": "Попередній збіг", "Next match": "Наступний збіг", "Find and replace": "Знайти та замінити", @@ -411,7 +413,7 @@ "Replacement": "Заміна", "Replace": "Замінити", "Replace all": "Замінити все", - "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} won't be notified, as they do not have access to this document", + "{{ userName }} won't be notified, as they do not have access to this document": "{{ userName }} не буде повідомлено, тому що він не має доступу до цього документа", "Profile picture": "Аватар", "Add column after": "Add column after", "Add column before": "Add column before", @@ -530,7 +532,7 @@ "New document in {{ collectionName }}": "Новий документ у {{ collectionName }}", "New child document": "Новий вкладений документ", "Save in workspace": "Save in workspace", - "Notification settings": "Notification settings", + "Notification settings": "Налаштування сповіщень", "Revision options": "Варіанти перегляду", "Share link revoked": "Посилання для спільного доступу скасовано", "Share link copied": "Посилання скопійоване", @@ -761,10 +763,10 @@ "Move list item up": "Переміщення елемента списку вгору", "Move list item down": "Переміщення елемента списку вниз", "Tables": "Tables", - "Insert row": "Insert row", - "Next cell": "Next cell", - "Previous cell": "Previous cell", - "Space": "Space", + "Insert row": "Вставити рядок", + "Next cell": "Наступна клітинка", + "Previous cell": "Попередня клітинка", + "Space": "Пробіл", "Numbered list": "Нумерований список", "Blockquote": "Цитата", "Horizontal divider": "Горизонтальний роздільник", @@ -775,8 +777,8 @@ "Continue with Email": "Продовжити з електронною поштою", "Continue with {{ authProviderName }}": "Продовжити з {{ authProviderName }}", "Back to home": "Повернутися на головну", - "The workspace could not be found": "The workspace could not be found", - "To continue, enter your workspace’s subdomain.": "To continue, enter your workspace’s subdomain.", + "The workspace could not be found": "Робоче середовище не знайдено", + "To continue, enter your workspace’s subdomain.": "Щоб продовжити, введіть піддомен вашого робочого середовища.", "subdomain": "піддомен", "The domain associated with your email address has not been allowed for this workspace.": "Домен, пов'язаний з вашою електронною адресою, не був дозволений для робочої області.", "Unable to sign-in. Please navigate to your workspace's custom URL, then try to sign-in again.<1>If you were invited to a workspace, you will find a link to it in the invite email.": "Неможливо увійти. Будь ласка, перейдіть до користувацької URL-адреси робочої області, потім спробуйте увійти знову. <1>Якщо ви були запрошені на робочу область, знайдіть посилання на неї в електронному листі із запрошенням.", @@ -870,16 +872,16 @@ "In Notion, click Settings & Members in the left sidebar and open Settings. Look for the Export section, and click Export all workspace content. Choose HTML as the format for the best data compatability.": "У Notion натисніть Налаштування та учасники на лівій бічній панелі та відкрийте Налаштування. Знайдіть розділ «Експорт» і натисніть «Експортувати весь вміст робочого простору. Виберіть HTML як формат для найкращої сумісності даних.", "Drag and drop the zip file from Notion's HTML export option, or click to upload": "Перетягніть zip-файл із опції експорту HTML Notion або натисніть, щоб завантажити", "Last active": "Остання активність", - "Guest": "Guest", - "Shared by": "Shared by", + "Guest": "Гість", + "Shared by": "Поділився", "Date shared": "Дата публікації", "Last accessed": "Останній доступ", "Domain": "Domain", "Views": "Перегляди", - "All roles": "All roles", + "All roles": "Всі ролі", "Admins": "Адміністратори", - "Editors": "Editors", - "All status": "All status", + "Editors": "Редактори", + "All status": "Весь статус", "Active": "Активний", "Settings saved": "Налаштування збережено", "Logo updated": "Логотип оновлено", diff --git a/shared/i18n/locales/vi_VN/translation.json b/shared/i18n/locales/vi_VN/translation.json index cc0ed35291..c41b3a83ff 100644 --- a/shared/i18n/locales/vi_VN/translation.json +++ b/shared/i18n/locales/vi_VN/translation.json @@ -196,6 +196,11 @@ "Install now": "Cài đặt ngay", "Deleted Collection": "Xóa Bộ Sưu Tập", "Unpin": "Bỏ ghim", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "Bao gồm các tài liệu lồng nhau", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "Tìm kiếm bộ sưu tập và tài liệu", "No results found": "Không tìm thấy kết quả", "Untitled": "Chưa đặt tên", @@ -227,9 +232,6 @@ "Currently editing": "Hiện đang chỉnh sửa", "Currently viewing": "Hiện đang xem", "Viewed {{ timeAgo }}": "Đã xem {{ timeAgo }}", - "Copy of {{ documentName }}": "Sao chép {{ documentName }}", - "Title": "Tiêu đề", - "Include nested documents": "Bao gồm các tài liệu lồng nhau", "Module failed to load": "Không tải được Module", "Loading Failed": "Tải không thành công", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "Xin lỗi, một phần của ứng dụng không tải được. Điều này có thể là do nó đã được cập nhật kể từ khi bạn mở tab hoặc do yêu cầu mạng không thành công. Vui lòng thử tải lại.", diff --git a/shared/i18n/locales/zh_CN/translation.json b/shared/i18n/locales/zh_CN/translation.json index 1bb72dee86..4707625b5c 100644 --- a/shared/i18n/locales/zh_CN/translation.json +++ b/shared/i18n/locales/zh_CN/translation.json @@ -196,6 +196,11 @@ "Install now": "立即安装", "Deleted Collection": "删除文档集", "Unpin": "取消置顶", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "包含子文档", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "搜索文档集和文档", "No results found": "未找到结果", "Untitled": "无标题", @@ -227,9 +232,6 @@ "Currently editing": "正在编辑", "Currently viewing": "正在浏览", "Viewed {{ timeAgo }}": "{{ timeAgo }} 浏览", - "Copy of {{ documentName }}": "复制 {{ documentName }}", - "Title": "标题", - "Include nested documents": "包含子文档", "Module failed to load": "模块加载失败", "Loading Failed": "加载失败", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "对不起,部分应用程序加载失败。这可能是因为它在您打开选项卡后更新了,或者是因为网络请求失败。请尝试重新加载。", diff --git a/shared/i18n/locales/zh_TW/translation.json b/shared/i18n/locales/zh_TW/translation.json index bef72ab1e5..5692582a33 100644 --- a/shared/i18n/locales/zh_TW/translation.json +++ b/shared/i18n/locales/zh_TW/translation.json @@ -196,6 +196,11 @@ "Install now": "立即安裝", "Deleted Collection": "刪除的文件集", "Unpin": "取消釘選", + "Select a location to copy": "Select a location to copy", + "Document copied": "Document copied", + "Couldn’t copy the document, try again?": "Couldn’t copy the document, try again?", + "Include nested documents": "包含所有子文件", + "Copy to {{ location }}": "Copy to {{ location }}", "Search collections & documents": "搜尋文件集與文件", "No results found": "找不到任何結果", "Untitled": "無標題", @@ -227,9 +232,6 @@ "Currently editing": "正在編輯", "Currently viewing": "正在瀏覽", "Viewed {{ timeAgo }}": "{{ timeAgo }} 前瀏覽過", - "Copy of {{ documentName }}": "拷貝 {{ documentName }}", - "Title": "標題", - "Include nested documents": "包含所有子文件", "Module failed to load": "模組載入失敗", "Loading Failed": "載入失敗", "Sorry, part of the application failed to load. This may be because it was updated since you opened the tab or because of a failed network request. Please try reloading.": "抱歉,部分應用程式載入失敗。有可能是因為在您打開分頁後被更新過,或是網路連線請求失敗。請嘗試重新載入。", From 4b833b3e2edd102537def2f0a16922e551e7b280 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 2 Dec 2024 21:10:36 -0500 Subject: [PATCH 060/145] Add screen for API key management (#8049) * API keys * Add api key list for admins * permissions --- app/hooks/useSettingsConfig.ts | 17 +++- app/scenes/Settings/ApiKeys.tsx | 39 ++-------- app/scenes/Settings/PersonalApiKeys.tsx | 77 +++++++++++++++++++ .../Settings/components/ApiKeyListItem.tsx | 35 ++++++--- server/policies/apiKey.ts | 9 ++- shared/i18n/locales/en_US/translation.json | 11 ++- 6 files changed, 137 insertions(+), 51 deletions(-) create mode 100644 app/scenes/Settings/PersonalApiKeys.tsx diff --git a/app/hooks/useSettingsConfig.ts b/app/hooks/useSettingsConfig.ts index e9bc8b915d..89935f8c80 100644 --- a/app/hooks/useSettingsConfig.ts +++ b/app/hooks/useSettingsConfig.ts @@ -29,6 +29,7 @@ import useCurrentUser from "./useCurrentUser"; import usePolicy from "./usePolicy"; const ApiKeys = lazy(() => import("~/scenes/Settings/ApiKeys")); +const PersonalApiKeys = lazy(() => import("~/scenes/Settings/PersonalApiKeys")); const Details = lazy(() => import("~/scenes/Settings/Details")); const Export = lazy(() => import("~/scenes/Settings/Export")); const Features = lazy(() => import("~/scenes/Settings/Features")); @@ -87,10 +88,10 @@ const useSettingsConfig = () => { icon: EmailIcon, }, { - name: t("API"), - path: settingsPath("tokens"), - component: ApiKeys, - enabled: can.createApiKey, + name: t("API Keys"), + path: settingsPath("personal-api-keys"), + component: PersonalApiKeys, + enabled: can.createApiKey && !can.listApiKeys, group: t("Account"), icon: CodeIcon, }, @@ -143,6 +144,14 @@ const useSettingsConfig = () => { group: t("Workspace"), icon: ShapesIcon, }, + { + name: t("API Keys"), + path: settingsPath("api-keys"), + component: ApiKeys, + enabled: can.listApiKeys, + group: t("Workspace"), + icon: CodeIcon, + }, { name: t("Shared Links"), path: settingsPath("shares"), diff --git a/app/scenes/Settings/ApiKeys.tsx b/app/scenes/Settings/ApiKeys.tsx index 42e3825872..ca411e3935 100644 --- a/app/scenes/Settings/ApiKeys.tsx +++ b/app/scenes/Settings/ApiKeys.tsx @@ -2,7 +2,6 @@ import { observer } from "mobx-react"; import { CodeIcon } from "outline-icons"; import * as React from "react"; import { useTranslation, Trans } from "react-i18next"; -import { toast } from "sonner"; import ApiKey from "~/models/ApiKey"; import { Action } from "~/components/Actions"; import Button from "~/components/Button"; @@ -13,36 +12,17 @@ import Text from "~/components/Text"; import { createApiKey } from "~/actions/definitions/apiKeys"; import useActionContext from "~/hooks/useActionContext"; import useCurrentTeam from "~/hooks/useCurrentTeam"; -import useCurrentUser from "~/hooks/useCurrentUser"; import usePolicy from "~/hooks/usePolicy"; import useStores from "~/hooks/useStores"; import ApiKeyListItem from "./components/ApiKeyListItem"; function ApiKeys() { const team = useCurrentTeam(); - const user = useCurrentUser(); const { t } = useTranslation(); const { apiKeys } = useStores(); const can = usePolicy(team); const context = useActionContext(); - const [copiedKeyId, setCopiedKeyId] = React.useState(); - const copyTimeoutIdRef = React.useRef>(); - - const handleCopy = React.useCallback( - (keyId: string) => { - if (copyTimeoutIdRef.current) { - clearTimeout(copyTimeoutIdRef.current); - } - setCopiedKeyId(keyId); - copyTimeoutIdRef.current = setTimeout(() => { - setCopiedKeyId(null); - }, 3000); - toast.message(t("API key copied to clipboard")); - }, - [t] - ); - return ( } > - {t("API")} + {t("API Keys")} {t("Personal keys")}} + items={apiKeys.orderedData} + heading={

{t("All")}

} renderItem={(apiKey: ApiKey) => ( - + )} />
diff --git a/app/scenes/Settings/PersonalApiKeys.tsx b/app/scenes/Settings/PersonalApiKeys.tsx new file mode 100644 index 0000000000..b0bfaf6c62 --- /dev/null +++ b/app/scenes/Settings/PersonalApiKeys.tsx @@ -0,0 +1,77 @@ +import { observer } from "mobx-react"; +import { CodeIcon } from "outline-icons"; +import * as React from "react"; +import { useTranslation, Trans } from "react-i18next"; +import ApiKey from "~/models/ApiKey"; +import { Action } from "~/components/Actions"; +import Button from "~/components/Button"; +import Heading from "~/components/Heading"; +import PaginatedList from "~/components/PaginatedList"; +import Scene from "~/components/Scene"; +import Text from "~/components/Text"; +import { createApiKey } from "~/actions/definitions/apiKeys"; +import useActionContext from "~/hooks/useActionContext"; +import useCurrentTeam from "~/hooks/useCurrentTeam"; +import useCurrentUser from "~/hooks/useCurrentUser"; +import usePolicy from "~/hooks/usePolicy"; +import useStores from "~/hooks/useStores"; +import ApiKeyListItem from "./components/ApiKeyListItem"; + +function PersonalApiKeys() { + const team = useCurrentTeam(); + const user = useCurrentUser(); + const { t } = useTranslation(); + const { apiKeys } = useStores(); + const can = usePolicy(team); + const context = useActionContext(); + + return ( + } + actions={ + <> + {can.createApiKey && ( + + )} @@ -74,4 +91,4 @@ const ApiKeyListItem = ({ apiKey, isCopied, onCopy }: Props) => { ); }; -export default ApiKeyListItem; +export default observer(ApiKeyListItem); diff --git a/server/policies/apiKey.ts b/server/policies/apiKey.ts index f51eb977d3..d9eb08c7eb 100644 --- a/server/policies/apiKey.ts +++ b/server/policies/apiKey.ts @@ -1,7 +1,13 @@ import { TeamPreference } from "@shared/types"; import { ApiKey, User, Team } from "@server/models"; import { allow } from "./cancan"; -import { and, isOwner, isTeamModel, isTeamMutable } from "./utils"; +import { + and, + isCloudHosted, + isOwner, + isTeamModel, + isTeamMutable, +} from "./utils"; allow(User, "createApiKey", Team, (actor, team) => and( @@ -18,6 +24,7 @@ allow(User, "createApiKey", Team, (actor, team) => allow(User, "listApiKeys", Team, (actor, team) => and( // + isCloudHosted(), isTeamModel(actor, team), actor.isAdmin ) diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 13b4f33d1b..e24ac9aa20 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -497,7 +497,7 @@ "Could not import file": "Could not import file", "Unsubscribed from document": "Unsubscribed from document", "Account": "Account", - "API": "API", + "API Keys": "API Keys", "Details": "Details", "Security": "Security", "Features": "Features", @@ -829,11 +829,12 @@ "Something went wrong": "Something went wrong", "Please try again or contact support if the problem persists": "Please try again or contact support if the problem persists", "No documents found for your search filters.": "No documents found for your search filters.", - "API key copied to clipboard": "API key copied to clipboard", - "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the developer documentation.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the developer documentation.", - "Personal keys": "Personal keys", + "API": "API", + "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the developer documentation.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the developer documentation.", + "by {{ name }}": "by {{ name }}", "Last used": "Last used", "No expiry": "No expiry", + "API key copied to clipboard": "API key copied to clipboard", "Copied": "Copied", "Revoking": "Revoking", "Are you sure you want to revoke the {{ tokenName }} token?": "Are you sure you want to revoke the {{ tokenName }} token?", @@ -958,6 +959,8 @@ "Email address": "Email address", "Your email address should be updated in your SSO provider.": "Your email address should be updated in your SSO provider.", "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.": "The email integration is currently disabled. Please set the associated environment variables and restart the server to enable notifications.", + "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the developer documentation.": "Create personal API keys to authenticate with the API and programatically control\n your workspace's data. API keys have the same permissions as your user account.\n For more details see the developer documentation.", + "Personal keys": "Personal keys", "Preferences saved": "Preferences saved", "Delete account": "Delete account", "Manage settings that affect your personal experience.": "Manage settings that affect your personal experience.", From 183d02d5c6a4e2d05882288379094ca3dadd6609 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:10:54 -0800 Subject: [PATCH 061/145] chore(deps-dev): bump react-refresh from 0.14.0 to 0.14.2 (#8053) Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.14.0 to 0.14.2. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v0.14.2/packages/react) --- updated-dependencies: - dependency-name: react-refresh dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f5924afca2..03b3aa5a9e 100644 --- a/package.json +++ b/package.json @@ -351,7 +351,7 @@ "nodemon": "^3.1.7", "postinstall-postinstall": "^2.1.0", "prettier": "^2.8.8", - "react-refresh": "^0.14.0", + "react-refresh": "^0.14.2", "rimraf": "^2.5.4", "rollup-plugin-webpack-stats": "^0.4.1", "terser": "^5.36.0", diff --git a/yarn.lock b/yarn.lock index 2fd7281468..7f182e9c5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13276,10 +13276,10 @@ react-portal@^4.2.2: dependencies: prop-types "^15.5.8" -react-refresh@^0.14.0: - version "0.14.0" - resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e" - integrity "sha1-TgKCU3il8icHlVTUKEiJNU5fVT4= sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==" +react-refresh@^0.14.0, react-refresh@^0.14.2: + version "0.14.2" + resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.2.tgz#3833da01ce32da470f1f936b9d477da5c7028bf9" + integrity sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA== react-remove-scroll-bar@^2.3.3: version "2.3.3" From e8ab7a4885c39900c3775376c6b5cda6a7634185 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 2 Dec 2024 21:22:58 -0500 Subject: [PATCH 062/145] chore: Add additional node validation --- shared/editor/marks/Comment.ts | 2 ++ shared/editor/marks/Highlight.ts | 1 + shared/editor/marks/Link.tsx | 2 ++ shared/editor/nodes/Video.tsx | 5 ++++- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/shared/editor/marks/Comment.ts b/shared/editor/marks/Comment.ts index 2ccbcea704..df0fc4a1d4 100644 --- a/shared/editor/marks/Comment.ts +++ b/shared/editor/marks/Comment.ts @@ -21,9 +21,11 @@ export default class Comment extends Mark { userId: {}, resolved: { default: false, + validate: "boolean", }, draft: { default: false, + validate: "boolean", }, }, inclusive: false, diff --git a/shared/editor/marks/Highlight.ts b/shared/editor/marks/Highlight.ts index 3aa576a756..f56f2ce2a5 100644 --- a/shared/editor/marks/Highlight.ts +++ b/shared/editor/marks/Highlight.ts @@ -24,6 +24,7 @@ export default class Highlight extends Mark { attrs: { color: { default: null, + validate: "string|null", }, }, parseDOM: [ diff --git a/shared/editor/marks/Link.tsx b/shared/editor/marks/Link.tsx index 139f712df1..d4f841471c 100644 --- a/shared/editor/marks/Link.tsx +++ b/shared/editor/marks/Link.tsx @@ -56,9 +56,11 @@ export default class Link extends Mark { attrs: { href: { default: "", + validate: "string", }, title: { default: null, + validate: "string|null", }, }, inclusive: false, diff --git a/shared/editor/nodes/Video.tsx b/shared/editor/nodes/Video.tsx index 57f2f9f729..db6e0a0105 100644 --- a/shared/editor/nodes/Video.tsx +++ b/shared/editor/nodes/Video.tsx @@ -36,7 +36,10 @@ export default class Video extends Node { height: { default: null, }, - title: {}, + title: { + default: null, + validate: "string|null", + }, }, group: "block", selectable: true, From 48cae96a56efb75f1cb2eae880cf5d4eb279459d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 2 Dec 2024 21:58:22 -0500 Subject: [PATCH 063/145] fix: Improve validation around emoji node serialization/deserialization --- shared/editor/nodes/Emoji.tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/shared/editor/nodes/Emoji.tsx b/shared/editor/nodes/Emoji.tsx index 0ecd72a7a7..5839113325 100644 --- a/shared/editor/nodes/Emoji.tsx +++ b/shared/editor/nodes/Emoji.tsx @@ -40,23 +40,27 @@ export default class Emoji extends Extension { { tag: "strong.emoji", preserveWhitespace: "full", - getAttrs: (dom: HTMLElement) => ({ - "data-name": dom.dataset.name, - }), + getAttrs: (dom: HTMLElement) => + dom.dataset.name + ? { + "data-name": dom.dataset.name, + } + : false, }, ], toDOM: (node) => { - if (getEmojiFromName(node.attrs["data-name"])) { + const name = node.attrs["data-name"]; + if (name && getEmojiFromName(name)) { return [ "strong", { - class: `emoji ${node.attrs["data-name"]}`, - "data-name": node.attrs["data-name"], + class: `emoji ${name}`, + "data-name": name, }, - getEmojiFromName(node.attrs["data-name"]), + getEmojiFromName(name), ]; } - return ["strong", { class: "emoji" }, `:${node.attrs["data-name"]}:`]; + return ["strong", { class: "emoji" }, `:${name}:`]; }, toPlainText: (node) => getEmojiFromName(node.attrs["data-name"]), }; From 5d09be4addf585d458faebaba2806f8a6a4e9aed Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 2 Dec 2024 22:28:59 -0500 Subject: [PATCH 064/145] More improvements to LaTeX fence detection --- shared/editor/lib/isMarkdown.test.ts | 7 ++++++- shared/editor/lib/isMarkdown.ts | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/shared/editor/lib/isMarkdown.test.ts b/shared/editor/lib/isMarkdown.test.ts index 29b6b85b03..f0232c50af 100644 --- a/shared/editor/lib/isMarkdown.test.ts +++ b/shared/editor/lib/isMarkdown.test.ts @@ -36,7 +36,12 @@ this is code }); test("returns true for latex fence", () => { - expect(isMarkdown(`\$\$i\$\$`)).toBe(true); + expect(isMarkdown(`\$i\$`)).toBe(true); + expect( + isMarkdown(`\$0.00 +random content +\$1.00`) + ).toBe(false); }); test("returns false for non-closed fence", () => { diff --git a/shared/editor/lib/isMarkdown.ts b/shared/editor/lib/isMarkdown.ts index 43cd9db656..4909a63686 100644 --- a/shared/editor/lib/isMarkdown.ts +++ b/shared/editor/lib/isMarkdown.ts @@ -10,8 +10,8 @@ export default function isMarkdown(text: string): boolean { } // latex-ish - const latex = text.match(/\$\$/gm); - if (latex && latex.length > 1) { + const latex = text.match(/\$(.+)\$/g); + if (latex && latex.length > 0) { signals += latex.length; } From 7a6f75c34f6940518b5e2cc88c1cda7afaac9939 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 3 Dec 2024 22:11:36 -0500 Subject: [PATCH 065/145] fix: Improved responsiveness of document header elements (#8066) * fix: Made the document header components more responsive to the available space * doc --- app/components/Breadcrumb.tsx | 21 +++++++-------- app/components/Collaborators.tsx | 6 +++-- app/components/DocumentBreadcrumb.tsx | 15 +++++------ app/components/Header.tsx | 33 +++++++++++++++++------ app/components/Sidebar/Right.tsx | 2 +- app/menus/TemplatesMenu.tsx | 17 +++++++++--- app/scenes/Document/components/Header.tsx | 21 ++++++++++----- 7 files changed, 75 insertions(+), 40 deletions(-) diff --git a/app/components/Breadcrumb.tsx b/app/components/Breadcrumb.tsx index d94ca8d49e..a80041a288 100644 --- a/app/components/Breadcrumb.tsx +++ b/app/components/Breadcrumb.tsx @@ -8,18 +8,16 @@ import BreadcrumbMenu from "~/menus/BreadcrumbMenu"; import { undraggableOnDesktop } from "~/styles"; import { MenuInternalLink } from "~/types"; -type Props = { +type Props = React.PropsWithChildren<{ items: MenuInternalLink[]; max?: number; highlightFirstItem?: boolean; -}; +}>; -function Breadcrumb({ - items, - highlightFirstItem, - children, - max = 2, -}: React.PropsWithChildren) { +function Breadcrumb( + { items, highlightFirstItem, children, max = 2 }: Props, + ref: React.RefObject | null +) { const totalItems = items.length; const topLevelItems: MenuInternalLink[] = [...items]; let overflowItems; @@ -37,7 +35,7 @@ function Breadcrumb({ } return ( - + {topLevelItems.map((item, index) => ( {item.icon} @@ -67,6 +65,8 @@ const Slash = styled(GoToIcon)` const Item = styled(Link)<{ $highlight: boolean; $withIcon: boolean }>` ${ellipsis()} + ${undraggableOnDesktop()} + display: flex; flex-shrink: 1; min-width: 0; @@ -76,7 +76,6 @@ const Item = styled(Link)<{ $highlight: boolean; $withIcon: boolean }>` height: 24px; font-weight: ${(props) => (props.$highlight ? "500" : "inherit")}; margin-left: ${(props) => (props.$withIcon ? "4px" : "0")}; - ${undraggableOnDesktop()} svg { flex-shrink: 0; @@ -87,4 +86,4 @@ const Item = styled(Link)<{ $highlight: boolean; $withIcon: boolean }>` } `; -export default Breadcrumb; +export default React.forwardRef(Breadcrumb); diff --git a/app/components/Collaborators.tsx b/app/components/Collaborators.tsx index 0442410a4e..9ee6e21040 100644 --- a/app/components/Collaborators.tsx +++ b/app/components/Collaborators.tsx @@ -18,6 +18,8 @@ import useStores from "~/hooks/useStores"; type Props = { /** The document to display live collaborators for */ document: Document; + /** The maximum number of collaborators to display, defaults to 6 */ + limit?: number; }; /** @@ -25,6 +27,7 @@ type Props = { * and presence status. */ function Collaborators(props: Props) { + const { limit = 6 } = props; const { t } = useTranslation(); const user = useCurrentUser(); const currentUserId = user?.id; @@ -75,8 +78,6 @@ function Collaborators(props: Props) { placement: "bottom-end", }); - const limit = 8; - return ( <> @@ -88,6 +89,7 @@ function Collaborators(props: Props) { > { const isPresent = presentIds.includes(collaborator.id); diff --git a/app/components/DocumentBreadcrumb.tsx b/app/components/DocumentBreadcrumb.tsx index 9f87573aa2..c3cd582dab 100644 --- a/app/components/DocumentBreadcrumb.tsx +++ b/app/components/DocumentBreadcrumb.tsx @@ -57,11 +57,10 @@ function useCategory(document: Document): MenuInternalLink | null { return null; } -const DocumentBreadcrumb: React.FC = ({ - document, - children, - onlyText, -}: Props) => { +function DocumentBreadcrumb( + { document, children, onlyText }: Props, + ref: React.RefObject | null +) { const { collections } = useStores(); const { t } = useTranslation(); const category = useCategory(document); @@ -140,11 +139,11 @@ const DocumentBreadcrumb: React.FC = ({ } return ( - + {children} ); -}; +} const StyledIcon = styled(Icon)` margin-right: 2px; @@ -160,4 +159,4 @@ const SmallSlash = styled(GoToIcon)` opacity: 0.5; `; -export default observer(DocumentBreadcrumb); +export default observer(React.forwardRef(DocumentBreadcrumb)); diff --git a/app/components/Header.tsx b/app/components/Header.tsx index ff204acd45..06f3a5ee41 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -3,6 +3,7 @@ import { observer } from "mobx-react"; import { MenuIcon } from "outline-icons"; import { transparentize } from "polished"; import * as React from "react"; +import { mergeRefs } from "react-merge-refs"; import styled from "styled-components"; import breakpoint from "styled-components-breakpoint"; import { depths, s } from "@shared/styles"; @@ -10,6 +11,7 @@ import { supportsPassiveListener } from "@shared/utils/browser"; import Button from "~/components/Button"; import Fade from "~/components/Fade"; import Flex from "~/components/Flex"; +import useComponentSize from "~/hooks/useComponentSize"; import useEventListener from "~/hooks/useEventListener"; import useMobile from "~/hooks/useMobile"; import useStores from "~/hooks/useStores"; @@ -21,16 +23,22 @@ export const HEADER_HEIGHT = 64; type Props = { left?: React.ReactNode; title: React.ReactNode; - actions?: React.ReactNode; + actions?: + | ((props: { isCompact: boolean }) => React.ReactNode) + | React.ReactNode; hasSidebar?: boolean; className?: string; }; -function Header({ left, title, actions, hasSidebar, className }: Props) { +function Header( + { left, title, actions, hasSidebar, className }: Props, + ref: React.RefObject | null +) { const { ui } = useStores(); const isMobile = useMobile(); const hasMobileSidebar = hasSidebar && isMobile; - + const internalRef = React.useRef(null); + const breadcrumbsRef = React.useRef(null); const passThrough = !actions && !left && !title; const [isScrolled, setScrolled] = React.useState(false); @@ -53,8 +61,18 @@ function Header({ left, title, actions, hasSidebar, className }: Props) { }); }, []); + const setBreadcrumbRef = React.useCallback((node: HTMLDivElement) => { + breadcrumbsRef.current = node.firstElementChild as HTMLDivElement; + }, []); + + const size = useComponentSize(internalRef); + const breadcrumbsSize = useComponentSize(breadcrumbsRef); + const breadcrumbMakesCompact = breadcrumbsSize.width > size.width / 3; + const isCompact = size.width < 1000 || breadcrumbMakesCompact; + return ( {left || hasMobileSidebar ? ( - + {hasMobileSidebar && ( ) : null} - {isScrolled ? ( + {isScrolled && !isCompact ? ( <Fade>{title}</Fade> @@ -82,7 +100,7 @@ function Header({ left, title, actions, hasSidebar, className }: Props) {
)} - {actions} + {typeof actions === "function" ? actions({ isCompact }) : actions} ); @@ -151,7 +169,6 @@ const Wrapper = styled(Flex)` ${breakpoint("tablet")` padding: 16px; - justify-content: center; ${(props: WrapperProps) => props.$insetTitleAdjust && `padding-left: 64px;`} `}; `; @@ -190,4 +207,4 @@ const MobileMenuButton = styled(Button)` } `; -export default observer(Header); +export default observer(React.forwardRef(Header)); diff --git a/app/components/Sidebar/Right.tsx b/app/components/Sidebar/Right.tsx index 9071e93d24..b70e2e3189 100644 --- a/app/components/Sidebar/Right.tsx +++ b/app/components/Sidebar/Right.tsx @@ -128,7 +128,7 @@ const Sidebar = styled(m.div)<{ max-width: 80%; border-left: 1px solid ${s("divider")}; transition: border-left 100ms ease-in-out; - z-index: 1; + z-index: ${depths.sidebar}; ${breakpoint("mobile", "tablet")` display: flex; diff --git a/app/menus/TemplatesMenu.tsx b/app/menus/TemplatesMenu.tsx index 60582cda9a..2afb47a4f1 100644 --- a/app/menus/TemplatesMenu.tsx +++ b/app/menus/TemplatesMenu.tsx @@ -1,5 +1,5 @@ import { observer } from "mobx-react"; -import { DocumentIcon } from "outline-icons"; +import { DocumentIcon, ShapesIcon } from "outline-icons"; import * as React from "react"; import { useTranslation } from "react-i18next"; import { MenuButton, useMenuState } from "reakit/Menu"; @@ -14,11 +14,15 @@ import useStores from "~/hooks/useStores"; import { MenuItem } from "~/types"; type Props = { + /** The document to which the templates will be applied */ document: Document; + /** Whether to render the button as a compact icon */ + isCompact?: boolean; + /** Callback to handle when a template is selected */ onSelectTemplate: (template: Document) => void; }; -function TemplatesMenu({ onSelectTemplate, document }: Props) { +function TemplatesMenu({ isCompact, onSelectTemplate, document }: Props) { const menu = useMenuState({ modal: true, }); @@ -79,8 +83,13 @@ function TemplatesMenu({ onSelectTemplate, document }: Props) { <> {(props) => ( - )} diff --git a/app/scenes/Document/components/Header.tsx b/app/scenes/Document/components/Header.tsx index 39319b2e08..228f43670c 100644 --- a/app/scenes/Document/components/Header.tsx +++ b/app/scenes/Document/components/Header.tsx @@ -30,6 +30,7 @@ import { publishDocument } from "~/actions/definitions/documents"; import { navigateToTemplateSettings } from "~/actions/definitions/navigation"; import { restoreRevision } from "~/actions/definitions/revisions"; import useActionContext from "~/hooks/useActionContext"; +import useComponentSize from "~/hooks/useComponentSize"; import useCurrentTeam from "~/hooks/useCurrentTeam"; import useCurrentUser from "~/hooks/useCurrentUser"; import useEditingFocus from "~/hooks/useEditingFocus"; @@ -86,11 +87,13 @@ function DocumentHeader({ const team = useCurrentTeam({ rejectOnEmpty: false }); const user = useCurrentUser({ rejectOnEmpty: false }); const { resolvedTheme } = ui; - const isMobile = useMobile(); + const isMobileMedia = useMobile(); const isRevision = !!revision; const isEditingFocus = useEditingFocus(); - const { editor } = useDocumentContext(); - const { hasHeadings } = useDocumentContext(); + const { hasHeadings, editor } = useDocumentContext(); + const ref = React.useRef(null); + const size = useComponentSize(ref); + const isMobile = isMobileMedia || size.width < 700; // We cache this value for as long as the component is mounted so that if you // apply a template there is still the option to replace it until the user @@ -230,6 +233,7 @@ function DocumentHeader({ return ( <> {t("Archived")}} } - actions={ + actions={({ isCompact }) => ( <> @@ -262,11 +266,15 @@ function DocumentHeader({ {t("Saving")}… )} {!isDeleted && !isRevision && can.listViews && ( - + )} {(isEditing || !user?.separateEditMode) && !isTemplate && isNew && ( @@ -306,6 +314,7 @@ function DocumentHeader({ {can.update && can.createChildDocument && !isRevision && + !isCompact && !isMobile && ( - } + )} /> ); From 5cb3da82bc96ef68c8f7637bf19efd7cdeee127e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:15:07 -0800 Subject: [PATCH 066/145] chore(deps): bump socket.io from 4.7.5 to 4.8.1 (#8056) Bumps [socket.io](https://github.com/socketio/socket.io) from 4.7.5 to 4.8.1. - [Release notes](https://github.com/socketio/socket.io/releases) - [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md) - [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.1) --- updated-dependencies: - dependency-name: socket.io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 03b3aa5a9e..fa5b42c5f3 100644 --- a/package.json +++ b/package.json @@ -223,7 +223,7 @@ "sequelize-typescript": "^2.1.6", "slug": "^5.3.0", "slugify": "^1.6.6", - "socket.io": "^4.7.5", + "socket.io": "^4.8.1", "socket.io-client": "^4.8.0", "socket.io-redis": "^6.1.1", "sonner": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index 7f182e9c5f..7885c1c40c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6915,10 +6915,10 @@ cookie@^0.7.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.0.tgz#2148f68a77245d5c2c0005d264bc3e08cfa0655d" integrity sha512-qCf+V4dtlNhSRXGAZatc1TasyFO6GjohcOul807YOb5ik3+kQSnb4d7iajeCL8QHaJ4uZEjCgiCJerKXwdRVlQ== -cookie@~0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" - integrity "sha1-r9cT/ibr0hupXOth+agRblClN9E= sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" +cookie@~0.7.2: + version "0.7.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" + integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== cookies@~0.9.0: version "0.9.1" @@ -7959,21 +7959,21 @@ engine.io-parser@~5.2.1: resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.2.1.tgz#9f213c77512ff1a6cc0c7a86108a7ffceb16fcfb" integrity "sha1-nyE8d1Ev8abMDHqGEIp//OsW/Ps= sha512-9JktcM3u18nU9N2Lz3bWeBgxVgOKpw7yhRaoxQA3FUDZzzw+9WlA6p4G4u0RixNkg14fH7EfEc/RhpurtiROTQ==" -engine.io@~6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-6.5.2.tgz#769348ced9d56bd47bd83d308ec1c3375e85937c" - integrity "sha1-dpNIztnVa9R72D0wjsHDN16Fk3w= sha512-IXsMcGpw/xRfjra46sVZVHiSWo/nJ/3g1337q9KNXtS6YRzbW5yIzTCb9DjhrBe7r3GZQR0I4+nq+4ODk5g/cA==" +engine.io@~6.6.0: + version "6.6.2" + resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-6.6.2.tgz#32bd845b4db708f8c774a4edef4e5c8a98b3da72" + integrity sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw== dependencies: "@types/cookie" "^0.4.1" "@types/cors" "^2.8.12" "@types/node" ">=10.0.0" accepts "~1.3.4" base64id "2.0.0" - cookie "~0.4.1" + cookie "~0.7.2" cors "~2.8.5" debug "~4.3.1" engine.io-parser "~5.2.1" - ws "~8.11.0" + ws "~8.17.1" enhanced-resolve@^5.15.0: version "5.17.1" @@ -14185,16 +14185,16 @@ socket.io-redis@^6.1.1: socket.io-adapter "~2.2.0" uid2 "0.0.3" -socket.io@^4.7.5: - version "4.7.5" - resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.7.5.tgz#56eb2d976aef9d1445f373a62d781a41c7add8f8" - integrity sha512-DmeAkF6cwM9jSfmp6Dr/5/mfMwb5Z5qRrSXLpo3Fq5SqyU8CMF15jIN4ZhfSwu35ksM1qmHZDQ/DK5XTccSTvA== +socket.io@^4.8.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.8.1.tgz#fa0eaff965cc97fdf4245e8d4794618459f7558a" + integrity sha512-oZ7iUCxph8WYRHHcjBEc9unw3adt5CmSNlppj/5Q4k2RIrhl8Z5yY2Xr4j9zj0+wzVZ0bxmYoGSzKJnRl6A4yg== dependencies: accepts "~1.3.4" base64id "~2.0.0" cors "~2.8.5" debug "~4.3.2" - engine.io "~6.5.2" + engine.io "~6.6.0" socket.io-adapter "~2.5.2" socket.io-parser "~4.2.4" From dddb12027c3dcd367982e60e0257fb84d92c623b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 4 Dec 2024 08:35:22 -0500 Subject: [PATCH 067/145] fix: Crash in header ref, regressed in 7a6f75c34f6940518b5e2cc88c1cda7afaac9939 closes #8068 --- app/components/Header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Header.tsx b/app/components/Header.tsx index 06f3a5ee41..959f7166a3 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -61,8 +61,8 @@ function Header( }); }, []); - const setBreadcrumbRef = React.useCallback((node: HTMLDivElement) => { - breadcrumbsRef.current = node.firstElementChild as HTMLDivElement; + const setBreadcrumbRef = React.useCallback((node: HTMLDivElement | null) => { + breadcrumbsRef.current = node?.firstElementChild as HTMLDivElement; }, []); const size = useComponentSize(internalRef); From e8bddbe104fdd8457f12457c247ac369b1550849 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Thu, 5 Dec 2024 07:10:03 +0800 Subject: [PATCH 068/145] Notification for resolved comment (#8045) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: probably copy-pasted function description * fix: userIdsMentioned was always empty * add: NotificationEventType.ResolveComment * move: split handler for "mentioned" vs. "resolved" The recipients for "resolved" will include more people (creator, repliers, mentioned), so it's easier to just split the handler than trying to augment it. * implement: handleResolvedComment * clone: CommentMentionedEmail as CommentResolvedEmail Changes coming up in next commit... * implement: CommentResolvedEmail * Fix "New Comment↓" incorrectly showing in Resolved ## Repro 1 (with production code) 1. In a list of long resolved comments, scroll up and select the first one. 2. From another account, resolve another comment. The hint appears. ## Repro 2 (with production code) 1. Select Most-Recent, then Resolved. 2. F5. It's scrolled all the way to the bottom. ## Repro 3 (after this PR) 1. Click on the notification when someone resolved a comment. The screen jumps to "Resolved" + showing hint unnecessarily. ## Fix The scrolling and hint was meant for Most Recent only, but missed out this case since "Resolve" is not part of the enum. * Better sentences * Refactor "mentions + author" calculation * Remove unnecessary check The resolver is already added to `userIdsNotified` from the start, so no point checking it again here. --- app/models/Notification.ts | 3 + app/scenes/Document/components/Comments.tsx | 12 +- app/scenes/Settings/Notifications.tsx | 9 + .../templates/CommentMentionedEmail.tsx | 3 +- .../emails/templates/CommentResolvedEmail.tsx | 163 ++++++++++++++++++ server/queues/processors/EmailsProcessor.ts | 18 ++ .../tasks/CommentUpdatedNotificationsTask.ts | 75 ++++++++ shared/i18n/locales/en_US/translation.json | 2 + shared/types.ts | 2 + 9 files changed, 281 insertions(+), 6 deletions(-) create mode 100644 server/emails/templates/CommentResolvedEmail.tsx diff --git a/app/models/Notification.ts b/app/models/Notification.ts index 95494e1e8b..463b8c4d5c 100644 --- a/app/models/Notification.ts +++ b/app/models/Notification.ts @@ -119,6 +119,8 @@ class Notification extends Model { return t("mentioned you in"); case NotificationEventType.CreateComment: return t("left a comment on"); + case NotificationEventType.ResolveComment: + return t("resolved a comment on"); case NotificationEventType.AddUserToDocument: return t("shared"); case NotificationEventType.AddUserToCollection: @@ -170,6 +172,7 @@ class Notification extends Model { return this.document?.path; } case NotificationEventType.MentionedInComment: + case NotificationEventType.ResolveComment: case NotificationEventType.CreateComment: { return this.document && this.comment ? commentPath(this.document, this.comment) diff --git a/app/scenes/Document/components/Comments.tsx b/app/scenes/Document/components/Comments.tsx index 6822fa3d8d..63034508db 100644 --- a/app/scenes/Document/components/Comments.tsx +++ b/app/scenes/Document/components/Comments.tsx @@ -94,14 +94,18 @@ function Comments() { React.useEffect(() => { // Handles: 1. on refresh 2. when switching sort setting const readyToDisplay = Boolean(document && isEditorInitialized); - if (readyToDisplay && sortOption.type === CommentSortType.MostRecent) { + if ( + readyToDisplay && + sortOption.type === CommentSortType.MostRecent && + !viewingResolved + ) { scrollToBottom(); } - }, [sortOption.type, document, isEditorInitialized]); + }, [sortOption.type, document, isEditorInitialized, viewingResolved]); React.useEffect(() => { setShowJumpToRecentBtn(false); - if (sortOption.type === CommentSortType.MostRecent) { + if (sortOption.type === CommentSortType.MostRecent && !viewingResolved) { const commentsAdded = threads.length > prevThreadCount.current; if (commentsAdded) { if (isAtBottom.current) { @@ -112,7 +116,7 @@ function Comments() { } } prevThreadCount.current = threads.length; - }, [sortOption.type, threads.length]); + }, [sortOption.type, threads.length, viewingResolved]); if (!document || !isEditorInitialized) { return null; diff --git a/app/scenes/Settings/Notifications.tsx b/app/scenes/Settings/Notifications.tsx index 5071c10b69..162b09d825 100644 --- a/app/scenes/Settings/Notifications.tsx +++ b/app/scenes/Settings/Notifications.tsx @@ -6,6 +6,7 @@ import { CollectionIcon, CommentIcon, DocumentIcon, + DoneIcon, EditIcon, EmailIcon, PublishIcon, @@ -65,6 +66,14 @@ function Notifications() { "Receive a notification when someone mentions you in a document or comment" ), }, + { + event: NotificationEventType.ResolveComment, + icon: , + title: t("Resolved"), + description: t( + "Receive a notification when a comment thread you were involved in is resolved" + ), + }, { event: NotificationEventType.CreateCollection, icon: , diff --git a/server/emails/templates/CommentMentionedEmail.tsx b/server/emails/templates/CommentMentionedEmail.tsx index 4f64a129ca..8bdb026621 100644 --- a/server/emails/templates/CommentMentionedEmail.tsx +++ b/server/emails/templates/CommentMentionedEmail.tsx @@ -32,8 +32,7 @@ type BeforeSend = { type Props = InputProps & BeforeSend; /** - * Email sent to a user when a new comment is created in a document they are - * subscribed to. + * Email sent to a user when they are mentioned in a comment. */ export default class CommentMentionedEmail extends BaseEmail< InputProps, diff --git a/server/emails/templates/CommentResolvedEmail.tsx b/server/emails/templates/CommentResolvedEmail.tsx new file mode 100644 index 0000000000..98fc4ea6ec --- /dev/null +++ b/server/emails/templates/CommentResolvedEmail.tsx @@ -0,0 +1,163 @@ +import * as React from "react"; +import { NotificationEventType } from "@shared/types"; +import { Collection, Comment, Document } from "@server/models"; +import NotificationSettingsHelper from "@server/models/helpers/NotificationSettingsHelper"; +import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; +import { can } from "@server/policies"; +import BaseEmail, { EmailMessageCategory, EmailProps } from "./BaseEmail"; +import Body from "./components/Body"; +import Button from "./components/Button"; +import Diff from "./components/Diff"; +import EmailTemplate from "./components/EmailLayout"; +import EmptySpace from "./components/EmptySpace"; +import Footer from "./components/Footer"; +import Header from "./components/Header"; +import Heading from "./components/Heading"; + +type InputProps = EmailProps & { + userId: string; + documentId: string; + actorName: string; + commentId: string; + teamUrl: string; +}; + +type BeforeSend = { + document: Document; + collection: Collection; + body: string | undefined; + unsubscribeUrl: string; +}; + +type Props = InputProps & BeforeSend; + +/** + * Email sent to a user when a comment they are involved in was resolved. + */ +export default class CommentResolvedEmail extends BaseEmail< + InputProps, + BeforeSend +> { + protected get category() { + return EmailMessageCategory.Notification; + } + + protected async beforeSend(props: InputProps) { + const { documentId, commentId } = props; + const document = await Document.unscoped().findByPk(documentId); + if (!document) { + return false; + } + + const collection = await document.$get("collection"); + if (!collection) { + return false; + } + + const [comment, team] = await Promise.all([ + Comment.findByPk(commentId), + document.$get("team"), + ]); + if (!comment || !team) { + return false; + } + + const body = await this.htmlForData( + team, + ProsemirrorHelper.toProsemirror(comment.data) + ); + + return { + document, + collection, + body, + unsubscribeUrl: this.unsubscribeUrl(props), + }; + } + + protected unsubscribeUrl({ userId }: InputProps) { + return NotificationSettingsHelper.unsubscribeUrl( + userId, + NotificationEventType.ResolveComment + ); + } + + protected replyTo({ notification }: Props) { + if (notification?.user && notification.actor?.email) { + if (can(notification.user, "readEmail", notification.actor)) { + return notification.actor.email; + } + } + return; + } + + protected subject({ document }: Props) { + return `Resolved a comment thread in “${document.title}”`; + } + + protected preview({ actorName }: Props): string { + return `${actorName} resolved a comment thread`; + } + + protected fromName({ actorName }: Props): string { + return actorName; + } + + protected renderAsText({ + actorName, + teamUrl, + document, + commentId, + collection, + }: Props): string { + const t1 = `${actorName} resolved a comment thread on "${document.title}"`; + const t2 = collection.name ? ` in the ${collection.name} collection` : ""; + const t3 = `Open Thread: ${teamUrl}${document.url}?commentId=${commentId}`; + return `${t1}${t2}.\n\n${t3}`; + } + + protected render(props: Props) { + const { + document, + collection, + actorName, + teamUrl, + commentId, + unsubscribeUrl, + body, + } = props; + const threadLink = `${teamUrl}${document.url}?commentId=${commentId}&ref=notification-email`; + + return ( + +
+ + + {document.title} +

+ {actorName} resolved a comment on{" "} + {document.title}{" "} + {collection.name ? `in the ${collection.name} collection` : ""}. +

+ {body && ( + <> + + +
+ + + + )} +

+ +

+ + +
+ + ); + } +} diff --git a/server/queues/processors/EmailsProcessor.ts b/server/queues/processors/EmailsProcessor.ts index 0ab034d479..2ba41dcd12 100644 --- a/server/queues/processors/EmailsProcessor.ts +++ b/server/queues/processors/EmailsProcessor.ts @@ -4,6 +4,7 @@ import CollectionCreatedEmail from "@server/emails/templates/CollectionCreatedEm import CollectionSharedEmail from "@server/emails/templates/CollectionSharedEmail"; import CommentCreatedEmail from "@server/emails/templates/CommentCreatedEmail"; import CommentMentionedEmail from "@server/emails/templates/CommentMentionedEmail"; +import CommentResolvedEmail from "@server/emails/templates/CommentResolvedEmail"; import DocumentMentionedEmail from "@server/emails/templates/DocumentMentionedEmail"; import DocumentPublishedOrUpdatedEmail from "@server/emails/templates/DocumentPublishedOrUpdatedEmail"; import DocumentSharedEmail from "@server/emails/templates/DocumentSharedEmail"; @@ -143,6 +144,23 @@ export default class EmailsProcessor extends BaseProcessor { ).schedule({ delay: Minute.ms, }); + return; + } + + case NotificationEventType.ResolveComment: { + await new CommentResolvedEmail( + { + to: notification.user.email, + userId: notification.userId, + documentId: notification.documentId, + teamUrl: notification.team.url, + actorName: notification.actor.name, + commentId: notification.commentId, + }, + { notificationId: notification.id } + ).schedule({ + delay: Minute.ms, + }); } } } diff --git a/server/queues/tasks/CommentUpdatedNotificationsTask.ts b/server/queues/tasks/CommentUpdatedNotificationsTask.ts index 421adc3166..f02fb56394 100644 --- a/server/queues/tasks/CommentUpdatedNotificationsTask.ts +++ b/server/queues/tasks/CommentUpdatedNotificationsTask.ts @@ -1,3 +1,5 @@ +import invariant from "invariant"; +import { Op } from "sequelize"; import { NotificationEventType } from "@shared/types"; import { Comment, Document, Notification, User } from "@server/models"; import { ProsemirrorHelper } from "@server/models/helpers/ProsemirrorHelper"; @@ -7,6 +9,16 @@ import BaseTask, { TaskPriority } from "./BaseTask"; export default class CommentUpdatedNotificationsTask extends BaseTask { public async perform(event: CommentUpdateEvent) { + const isResolving = + event.changes?.previous?.resolvedAt === null && + event.changes?.attributes?.resolvedAt !== null; + + return isResolving + ? await this.handleResolvedComment(event) + : await this.handleMentionedComment(event); + } + + private async handleMentionedComment(event: CommentUpdateEvent) { const newMentionIds = event.data?.newMentionIds; if (!newMentionIds) { return; @@ -53,6 +65,69 @@ export default class CommentUpdatedNotificationsTask extends BaseTask mention.modelId); + + // Comment author: + userIds.push(item.createdById); + + for (const userId of userIds) { + if (userIdsNotified.includes(userId)) { + continue; + } + + const user = await User.findByPk(userId); + + if ( + user && + user.subscribedToEventType(NotificationEventType.ResolveComment) && + (await canUserAccessDocument(user, document.id)) + ) { + await Notification.create({ + event: NotificationEventType.ResolveComment, + userId: user.id, + actorId: event.actorId, + teamId: document.teamId, + documentId: document.id, + commentId: event.modelId, + }); + + userIdsNotified.push(userId); + } } } } diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index e24ac9aa20..6f416145ba 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -557,6 +557,7 @@ "created the collection": "created the collection", "mentioned you in": "mentioned you in", "left a comment on": "left a comment on", + "resolved a comment on": "resolved a comment on", "shared": "shared", "invited you to": "invited you to", "Choose a date": "Choose a date", @@ -939,6 +940,7 @@ "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment": "Receive a notification when a document you are subscribed to or a thread you participated in receives a comment", "Mentioned": "Mentioned", "Receive a notification when someone mentions you in a document or comment": "Receive a notification when someone mentions you in a document or comment", + "Receive a notification when a comment thread you were involved in is resolved": "Receive a notification when a comment thread you were involved in is resolved", "Collection created": "Collection created", "Receive a notification whenever a new collection is created": "Receive a notification whenever a new collection is created", "Invite accepted": "Invite accepted", diff --git a/shared/types.ts b/shared/types.ts index a6d629bc58..c90a2c3f3a 100644 --- a/shared/types.ts +++ b/shared/types.ts @@ -277,6 +277,7 @@ export enum NotificationEventType { CreateRevision = "revisions.create", CreateCollection = "collections.create", CreateComment = "comments.create", + ResolveComment = "comments.resolve", MentionedInDocument = "documents.mentioned", MentionedInComment = "comments.mentioned", InviteAccepted = "emails.invite_accepted", @@ -305,6 +306,7 @@ export const NotificationEventDefaults: Record = [NotificationEventType.UpdateDocument]: true, [NotificationEventType.CreateCollection]: false, [NotificationEventType.CreateComment]: true, + [NotificationEventType.ResolveComment]: true, [NotificationEventType.CreateRevision]: false, [NotificationEventType.MentionedInDocument]: true, [NotificationEventType.MentionedInComment]: true, From 1154432924ddb9941cb19f8042bc7b78de5d5053 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 5 Dec 2024 18:58:24 -0500 Subject: [PATCH 069/145] Adds count of occurences and index to find and replace (#8070) * Adds count of occurences and index to find and replace * Disable replace buttons also --- app/editor/components/FindAndReplace.tsx | 48 +++++++++++++++++++++--- app/editor/extensions/FindAndReplace.tsx | 6 +++ 2 files changed, 49 insertions(+), 5 deletions(-) diff --git a/app/editor/components/FindAndReplace.tsx b/app/editor/components/FindAndReplace.tsx index 85bd410c94..10ab1e4e5b 100644 --- a/app/editor/components/FindAndReplace.tsx +++ b/app/editor/components/FindAndReplace.tsx @@ -25,10 +25,18 @@ import { altDisplay, isModKey, metaDisplay } from "~/utils/keyboard"; import { useEditor } from "./EditorContext"; type Props = { + /** Whether the find and replace popover is open */ open: boolean; + /** Callback when the find and replace popover is opened */ onOpen: () => void; + /** Callback when the find and replace popover is closed */ onClose: () => void; + /** Whether the editor is in read-only mode */ readOnly?: boolean; + /** The current highlighted index in the search results */ + currentIndex: number; + /** The total number of search results */ + totalResults: number; }; export default function FindAndReplace({ @@ -36,6 +44,8 @@ export default function FindAndReplace({ open, onOpen, onClose, + currentIndex, + totalResults, }: Props) { const editor = useEditor(); const finalFocusRef = React.useRef( @@ -270,6 +280,7 @@ export default function FindAndReplace({ // eslint-disable-next-line react-hooks/exhaustive-deps }, [popover.visible]); + const disabled = totalResults === 0; const navigation = ( <> - editor.commands.prevSearchMatch()}> + editor.commands.prevSearchMatch()} + > @@ -288,7 +302,10 @@ export default function FindAndReplace({ delay={500} placement="bottom" > - editor.commands.nextSearchMatch()}> + editor.commands.nextSearchMatch()} + > @@ -306,7 +323,7 @@ export default function FindAndReplace({ width={420} > - + )} + + {totalResults > 0 ? currentIndex + 1 : 0} / {totalResults} + {showReplace && !readOnly && ( @@ -367,10 +387,10 @@ export default function FindAndReplace({ onRequestSubmit={handleReplaceAll} onChange={(ev) => setReplaceTerm(ev.currentTarget.value)} /> - - @@ -396,6 +416,12 @@ const ButtonSmall = styled(NudeButton)` &[aria-expanded="true"] { background: ${s("sidebarControlHoverBackground")}; } + + &:disabled { + color: ${s("textTertiary")}; + background: none; + cursor: default; + } `; const ButtonLarge = styled(ButtonSmall)` @@ -408,3 +434,15 @@ const Content = styled(Flex)` margin-bottom: -16px; position: static; `; + +const Results = styled.span` + color: ${s("textSecondary")}; + font-size: 12px; + font-weight: 500; + font-variant-numeric: tabular-nums; + line-height: 32px; + min-width: 32px; + letter-spacing: -0.5px; + text-align: right; + user-select: none; +`; diff --git a/app/editor/extensions/FindAndReplace.tsx b/app/editor/extensions/FindAndReplace.tsx index 258cf823c0..844dce80f5 100644 --- a/app/editor/extensions/FindAndReplace.tsx +++ b/app/editor/extensions/FindAndReplace.tsx @@ -332,6 +332,8 @@ export default class FindAndReplaceExtension extends Extension { public widget = ({ readOnly }: WidgetProps) => ( { @@ -346,7 +348,11 @@ export default class FindAndReplaceExtension extends Extension { @observable private open = false; + @observable private results: { from: number; to: number }[] = []; + + @observable private currentResultIndex = 0; + private searchTerm = ""; } From 313b046e4e97d3bf09cd4fb7c83b8e4966f39fc9 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 5 Dec 2024 19:10:12 -0500 Subject: [PATCH 070/145] fix: Use singleton for tooltips, ensures that only one is visible at a time. (#8069) * fix: Use singleton for tooltips, ensures that only one is visible at a time and animations are shared * fix: give toolbar menu its own context * Remove duplicate props --- app/components/DocumentCard.tsx | 7 +- app/components/DocumentListItem.tsx | 6 +- app/components/EventListItem.tsx | 1 - app/components/LocaleTime.tsx | 4 +- .../Notifications/NotificationListItem.tsx | 6 +- .../Notifications/Notifications.tsx | 2 +- app/components/Reactions/Reaction.tsx | 2 +- app/components/Reactions/ReactionPicker.tsx | 7 +- .../Sharing/Document/PublicAccess.tsx | 2 +- .../Sharing/components/CopyLinkButton.tsx | 2 +- app/components/Sidebar/App.tsx | 1 - app/components/Sidebar/Settings.tsx | 6 +- app/components/Sidebar/Shared.tsx | 6 +- .../Sidebar/components/DocumentLink.tsx | 2 +- .../Sidebar/components/HistoryNavigation.tsx | 4 +- app/components/Time.tsx | 2 +- app/components/Tooltip.tsx | 17 ++--- app/components/TooltipContext.tsx | 36 +++++++++++ app/editor/components/FindAndReplace.tsx | 16 +---- app/editor/components/ToolbarMenu.tsx | 64 ++++++++++--------- app/editor/components/Tooltip.tsx | 14 +++- app/index.tsx | 33 +++++----- app/menus/NewDocumentMenu.tsx | 7 +- app/scenes/Collection/components/Actions.tsx | 1 - .../Document/components/CommentForm.tsx | 2 +- .../Document/components/CommentThreadItem.tsx | 20 +----- app/scenes/Document/components/Header.tsx | 11 +--- .../components/KeyboardShortcutsButton.tsx | 2 +- .../Document/components/SidebarLayout.tsx | 2 +- .../Search/components/DocumentFilter.tsx | 2 +- .../components/RecentSearchListItem.tsx | 2 +- 31 files changed, 133 insertions(+), 156 deletions(-) create mode 100644 app/components/TooltipContext.tsx diff --git a/app/components/DocumentCard.tsx b/app/components/DocumentCard.tsx index 3968e0f468..1097680916 100644 --- a/app/components/DocumentCard.tsx +++ b/app/components/DocumentCard.tsx @@ -144,12 +144,7 @@ function DocumentCard(props: Props) { -
diff --git a/app/components/DocumentListItem.tsx b/app/components/DocumentListItem.tsx index 6a17b5e50b..2f64ab7016 100644 --- a/app/components/DocumentListItem.tsx +++ b/app/components/DocumentListItem.tsx @@ -111,11 +111,7 @@ function DocumentListItem( {t("New")} )} {document.isDraft && showDraft && ( - + {t("Draft")} )} diff --git a/app/components/EventListItem.tsx b/app/components/EventListItem.tsx index 06d7c4abdb..e82fb4a28e 100644 --- a/app/components/EventListItem.tsx +++ b/app/components/EventListItem.tsx @@ -140,7 +140,6 @@ const EventListItem = ({ event, latest, document, ...rest }: Props) => { title={