TagSpaces is an offline, open source, document manager with tagging support
Add server-side encryption for object storage locations (#2150)
Stanimir7f54b45a4de6
diff --git a/package-lock.json b/package-lock.jsonindex 59c428ec4..74d4aca1c 100644--- a/package-lock.json+++ b/package-lock.json@@ -19,10 +19,10 @@"@mui/lab": "5.0.0-alpha.170","@mui/material": "^5.15.19","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.4.6",- "@tagspaces/tagspaces-common-aws3": "4.4.8",- "@tagspaces/tagspaces-common-cordova": "4.4.6",- "@tagspaces/tagspaces-indexer": "4.4.6",+ "@tagspaces/tagspaces-common": "4.5.2",+ "@tagspaces/tagspaces-common-aws3": "4.5.5",+ "@tagspaces/tagspaces-common-cordova": "4.5.2",+ "@tagspaces/tagspaces-indexer": "4.5.2","@tagspaces/tagspaces-md": "4.3.30","aws-amplify": "^4.3.8","classnames": "^2.3.1",@@ -198,7 +198,7 @@"yarn": "please-use-npm"},"optionalDependencies": {- "@tagspacespro/tagspacespro": "5.0.64-alpha.8"+ "@tagspacespro/tagspacespro": "5.0.66"}},"node_modules/@adobe/css-tools": {@@ -4800,16 +4800,18 @@"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="},"node_modules/@aws-sdk/core": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.614.0.tgz",- "integrity": "sha512-BUuS5/1YkgmKc4J0bg83XEtMyDHVyqG2QDzfmhYe8gbOIZabUl1FlrFVwhCAthtrrI6MPGTQcERB4BtJKUSplw==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.624.0.tgz",+ "integrity": "sha512-WyFmPbhRIvtWi7hBp8uSFy+iPpj8ccNV/eX86hwF4irMjfc/FtsGVIAeBXxXM/vGCjkdfEzOnl+tJ2XACD4OXg==","dependencies": {- "@smithy/core": "^2.2.6",- "@smithy/protocol-http": "^4.0.3",- "@smithy/signature-v4": "^3.1.2",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/core": "^2.3.2",+ "@smithy/node-config-provider": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/signature-v4": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0",- "fast-xml-parser": "4.2.5",+ "@smithy/util-middleware": "^3.0.3",+ "fast-xml-parser": "4.4.1","tslib": "^2.6.2"},"engines": {@@ -4817,17 +4819,17 @@}},"node_modules/@aws-sdk/core/node_modules/fast-xml-parser": {- "version": "4.2.5",- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz",- "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==",+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz",+ "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==","funding": [- {- "type": "paypal",- "url": "https://paypal.me/naturalintelligence"- },{"type": "github","url": "https://github.com/sponsors/NaturalIntelligence"+ },+ {+ "type": "paypal",+ "url": "https://paypal.me/naturalintelligence"}],"dependencies": {@@ -4875,18 +4877,18 @@"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="},"node_modules/@aws-sdk/credential-provider-http": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.614.0.tgz",- "integrity": "sha512-YIEjlNUKb3Vo/iTnGAPdsiDC3FUUnNoex2OwU8LmR7AkYZiWdB8nx99DfgkkY+OFMUpw7nKD2PCOtuFONelfGA==",+ "version": "3.622.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.622.0.tgz",+ "integrity": "sha512-VUHbr24Oll1RK3WR8XLUugLpgK9ZuxEm/NVeVqyFts1Ck9gsKpRg1x4eH7L7tW3SJ4TDEQNMbD7/7J+eoL2svg==","dependencies": {"@aws-sdk/types": "3.609.0",- "@smithy/fetch-http-handler": "^3.2.1",- "@smithy/node-http-handler": "^3.1.2",+ "@smithy/fetch-http-handler": "^3.2.4",+ "@smithy/node-http-handler": "^3.1.4","@smithy/property-provider": "^3.1.3",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0",- "@smithy/util-stream": "^3.0.6",+ "@smithy/util-stream": "^3.1.3","tslib": "^2.6.2"},"engines": {@@ -5437,15 +5439,15 @@"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="},"node_modules/@aws-sdk/middleware-flexible-checksums": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.614.0.tgz",- "integrity": "sha512-ZLpxVXMboDeMT7p2Kdp5m1uLVKOktkZoMgLvvbe3zbrU4Ji5IU5xVE0aa4X7H28BtuODCs6SLESnPs19bhMKlA==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.620.0.tgz",+ "integrity": "sha512-ftz+NW7qka2sVuwnnO1IzBku5ccP+s5qZGeRTPgrKB7OzRW85gthvIo1vQR2w+OwHFk7WJbbhhWwbCbktnP4UA==","dependencies": {"@aws-crypto/crc32": "5.2.0","@aws-crypto/crc32c": "5.2.0","@aws-sdk/types": "3.609.0","@smithy/is-array-buffer": "^3.0.0",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","@smithy/util-utf8": "^3.0.0","tslib": "^2.6.2"@@ -6074,14 +6076,14 @@}},"node_modules/@aws-sdk/signature-v4-multi-region": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.614.0.tgz",- "integrity": "sha512-6mW3ONW4oLzxrePznYhz7sNT9ji9Am9ufLeV722tbOVS5lArBOZ6E1oPz0uYBhisUPznWKhcLRMggt7vIJWMng==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.624.0.tgz",+ "integrity": "sha512-gu1SfCyUPnq4s0AI1xdAl0whHwhkTyltg4QZWc4vnZvEVudCpJVVxEcroUHYQIO51YyVUT9jSMS1SVRe5VqPEw==","dependencies": {- "@aws-sdk/middleware-sdk-s3": "3.614.0",+ "@aws-sdk/middleware-sdk-s3": "3.624.0","@aws-sdk/types": "3.609.0",- "@smithy/protocol-http": "^4.0.3",- "@smithy/signature-v4": "^3.1.2",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/signature-v4": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -6090,18 +6092,23 @@}},"node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.614.0.tgz",- "integrity": "sha512-9fJTaiuuOfFV4FqmUEhPYzrtv7JOfYpB7q65oG3uayVH4ngWHIJkjnnX79zRhNZKdPGta+XIsnZzjEghg82ngA==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.624.0.tgz",+ "integrity": "sha512-HUiaZ6+JXcG0qQda10ZxDGJvbT71YUp1zX+oikIsfTUeq0N75O82OY3Noqd7cyjEVtsGSo/y0e6U3aV1hO+wPw==","dependencies": {+ "@aws-sdk/core": "3.624.0","@aws-sdk/types": "3.609.0","@aws-sdk/util-arn-parser": "3.568.0",+ "@smithy/core": "^2.3.2","@smithy/node-config-provider": "^3.1.4",- "@smithy/protocol-http": "^4.0.3",- "@smithy/signature-v4": "^3.1.2",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/signature-v4": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/util-config-provider": "^3.0.0",+ "@smithy/util-middleware": "^3.0.3",+ "@smithy/util-stream": "^3.1.3",+ "@smithy/util-utf8": "^3.0.0","tslib": "^2.6.2"},"engines": {@@ -13998,15 +14005,15 @@}},"node_modules/@smithy/core": {- "version": "2.2.6",- "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.2.6.tgz",- "integrity": "sha512-tBbVIv/ui7/lLTKayYJJvi8JLVL2SwOQTbNFEOrvzSE3ktByvsa1erwBOnAMo8N5Vu30g7lN4lLStrU75oDGuw==",+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.3.2.tgz",+ "integrity": "sha512-in5wwt6chDBcUv1Lw1+QzZxN9fBffi+qOixfb65yK4sDuKG7zAUO9HAFqmVzsZM3N+3tTyvZjtnDXePpvp007Q==","dependencies": {- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/middleware-retry": "^3.0.9",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.14","@smithy/middleware-serde": "^3.0.3",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/util-middleware": "^3.0.3","tslib": "^2.6.2"@@ -14016,9 +14023,9 @@}},"node_modules/@smithy/credential-provider-imds": {- "version": "3.1.4",- "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.4.tgz",- "integrity": "sha512-NKyH01m97Xa5xf3pB2QOF3lnuE8RIK0hTVNU5zvZAwZU8uspYO4DHQVlK+Y5gwSrujTfHvbfd1D9UFJAc0iYKQ==",+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.2.0.tgz",+ "integrity": "sha512-0SCIzgd8LYZ9EJxUjLXBmEKSZR/P/w6l7Rz/pab9culE/RWuqelAKGJvn5qUOl8BgX8Yj5HWM50A5hiB/RzsgA==","dependencies": {"@smithy/node-config-provider": "^3.1.4","@smithy/property-provider": "^3.1.3",@@ -14112,9 +14119,9 @@}},"node_modules/@smithy/eventstream-serde-browser": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.4.tgz",- "integrity": "sha512-Eo4anLZX6ltGJTZ5yJMc80gZPYYwBn44g0h7oFq6et+TYr5dUsTpIcDbz2evsOKIZhZ7zBoFWHtBXQ4QQeb5xA==",+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.5.tgz",+ "integrity": "sha512-dEyiUYL/ekDfk+2Ra4GxV+xNnFoCmk1nuIXg+fMChFTrM2uI/1r9AdiTYzPqgb72yIv/NtAj6C3dG//1wwgakQ==","dependencies": {"@smithy/eventstream-serde-universal": "^3.0.4","@smithy/types": "^3.3.0",@@ -14163,11 +14170,11 @@}},"node_modules/@smithy/fetch-http-handler": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.1.tgz",- "integrity": "sha512-0w0bgUvZmfa0vHN8a+moByhCJT07WN6AHKEhFSOLsDpnszm+5dLVv5utGaqbhOrZ/aF5x3xuPMs/oMCd+4O5xg==",+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.4.tgz",+ "integrity": "sha512-kBprh5Gs5h7ug4nBWZi1FZthdqSM+T7zMmsZxx0IBvWUn7dK3diz2SHn7Bs4dQGFDk8plDv375gzenDoNwrXjg==","dependencies": {- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/querystring-builder": "^3.0.3","@smithy/types": "^3.3.0","@smithy/util-base64": "^3.0.0",@@ -14243,11 +14250,11 @@}},"node_modules/@smithy/middleware-content-length": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.3.tgz",- "integrity": "sha512-Dbz2bzexReYIQDWMr+gZhpwBetNXzbhnEMhYKA6urqmojO14CsXjnsoPYO8UL/xxcawn8ZsuVU61ElkLSltIUQ==",+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.5.tgz",+ "integrity": "sha512-ILEzC2eyxx6ncej3zZSwMpB5RJ0zuqH7eMptxC4KN3f+v9bqT8ohssKbhNR78k/2tWW+KS5Spw+tbPF4Ejyqvw==","dependencies": {- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -14256,9 +14263,9 @@}},"node_modules/@smithy/middleware-endpoint": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.5.tgz",- "integrity": "sha512-V4acqqrh5tDxUEGVTOgf2lYMZqPQsoGntCrjrJZEeBzEzDry2d2vcI1QCXhGltXPPY+BMc6eksZMguA9fIY8vA==",+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.1.0.tgz",+ "integrity": "sha512-5y5aiKCEwg9TDPB4yFE7H6tYvGFf1OJHNczeY10/EFF8Ir8jZbNntQJxMWNfeQjC1mxPsaQ6mR9cvQbf+0YeMw==","dependencies": {"@smithy/middleware-serde": "^3.0.3","@smithy/node-config-provider": "^3.1.4",@@ -14273,14 +14280,14 @@}},"node_modules/@smithy/middleware-retry": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.9.tgz",- "integrity": "sha512-Mrv9omExU1gA7Y0VEJG2LieGfPYtwwcEiOnVGZ54a37NEMr66TJ0glFslOJFuKWG6izg5DpKIUmDV9rRxjm47Q==",+ "version": "3.0.14",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.14.tgz",+ "integrity": "sha512-7ZaWZJOjUxa5hgmuMspyt8v/zVsh0GXYuF7OvCmdcbVa/xbnKQoYC+uYKunAqRGTkxjOyuOCw9rmFUFOqqC0eQ==","dependencies": {"@smithy/node-config-provider": "^3.1.4",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/service-error-classification": "^3.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/util-middleware": "^3.0.3","@smithy/util-retry": "^3.0.3",@@ -14330,12 +14337,12 @@}},"node_modules/@smithy/node-http-handler": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.1.2.tgz",- "integrity": "sha512-Td3rUNI7qqtoSLTsJBtsyfoG4cF/XMFmJr6Z2dX8QNzIi6tIW6YmuyFml8mJ2cNpyWNqITKbROMOFrvQjmsOvw==",+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.1.4.tgz",+ "integrity": "sha512-+UmxgixgOr/yLsUxcEKGH0fMNVteJFGkmRltYFHnBMlogyFdpzn2CwqWmxOrfJELhV34v0WSlaqG1UtE1uXlJg==","dependencies": {"@smithy/abort-controller": "^3.1.1",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/querystring-builder": "^3.0.3","@smithy/types": "^3.3.0","tslib": "^2.6.2"@@ -14357,9 +14364,9 @@}},"node_modules/@smithy/protocol-http": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.0.3.tgz",- "integrity": "sha512-x5jmrCWwQlx+Zv4jAtc33ijJ+vqqYN+c/ZkrnpvEe/uDas7AT7A/4Rc2CdfxgWv4WFGmEqODIrrUToPN6DDkGw==",+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.1.0.tgz",+ "integrity": "sha512-dPVoHYQ2wcHooGXg3LQisa1hH0e4y0pAddPMeeUPipI1tEOqL6A4N0/G7abeq+K8wrwSgjk4C0wnD1XZpJm5aA==","dependencies": {"@smithy/types": "^3.3.0","tslib": "^2.6.2"@@ -14417,11 +14424,12 @@}},"node_modules/@smithy/signature-v4": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-3.1.2.tgz",- "integrity": "sha512-3BcPylEsYtD0esM4Hoyml/+s7WP2LFhcM3J2AGdcL2vx9O60TtfpDOL72gjb4lU8NeRPeKAwR77YNyyGvMbuEA==",+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-4.1.0.tgz",+ "integrity": "sha512-aRryp2XNZeRcOtuJoxjydO6QTaVhxx/vjaR+gx7ZjaFgrgPRyZ3HCTbfwqYj6ZWEBHkCSUfcaymKPURaByukag==","dependencies": {"@smithy/is-array-buffer": "^3.0.0",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","@smithy/util-hex-encoding": "^3.0.0","@smithy/util-middleware": "^3.0.3",@@ -14434,15 +14442,15 @@}},"node_modules/@smithy/smithy-client": {- "version": "3.1.7",- "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.7.tgz",- "integrity": "sha512-nZbJZB0XI3YnaFBWGDBr7kjaew6O0oNYNmopyIz6gKZEbxzrtH7rwvU1GcVxcSFoOwWecLJEe79fxEMljHopFQ==",+ "version": "3.1.12",+ "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.12.tgz",+ "integrity": "sha512-wtm8JtsycthkHy1YA4zjIh2thJgIQ9vGkoR639DBx5lLlLNU0v4GARpQZkr2WjXue74nZ7MiTSWfVrLkyD8RkA==","dependencies": {- "@smithy/middleware-endpoint": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0","@smithy/middleware-stack": "^3.0.3",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0",- "@smithy/util-stream": "^3.0.6",+ "@smithy/util-stream": "^3.1.3","tslib": "^2.6.2"},"engines": {@@ -14526,12 +14534,12 @@}},"node_modules/@smithy/util-defaults-mode-browser": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.9.tgz",- "integrity": "sha512-WKPcElz92MAQG09miBdb0GxEH/MwD5GfE8g07WokITq5g6J1ROQfYCKC1wNnkqAGfrSywT7L0rdvvqlBplqiyA==",+ "version": "3.0.14",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.14.tgz",+ "integrity": "sha512-0iwTgKKmAIf+vFLV8fji21Jb2px11ktKVxbX6LIDPAUJyWQqGqBVfwba7xwa1f2FZUoolYQgLvxQEpJycXuQ5w==","dependencies": {"@smithy/property-provider": "^3.1.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","bowser": "^2.11.0","tslib": "^2.6.2"@@ -14541,15 +14549,15 @@}},"node_modules/@smithy/util-defaults-mode-node": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.9.tgz",- "integrity": "sha512-dQLrUqFxqpf0GvEKEuFdgXcdZwz6oFm752h4d6C7lQz+RLddf761L2r7dSwGWzESMMB3wKj0jL+skRhEGlecjw==",+ "version": "3.0.14",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.14.tgz",+ "integrity": "sha512-e9uQarJKfXApkTMMruIdxHprhcXivH1flYCe8JRDTzkkLx8dA3V5J8GZlST9yfDiRWkJpZJlUXGN9Rc9Ade3OQ==","dependencies": {"@smithy/config-resolver": "^3.0.5",- "@smithy/credential-provider-imds": "^3.1.4",+ "@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.7",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -14607,12 +14615,12 @@}},"node_modules/@smithy/util-stream": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.0.6.tgz",- "integrity": "sha512-w9i//7egejAIvplX821rPWWgaiY1dxsQUw0hXX7qwa/uZ9U3zplqTQ871jWadkcVB9gFDhkPWYVZf4yfFbZ0xA==",+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.1.3.tgz",+ "integrity": "sha512-FIv/bRhIlAxC0U7xM1BCnF2aDRPq0UaelqBHkM2lsCp26mcBbgI0tCVTv+jGdsQLUmAMybua/bjDsSu8RQHbmw==","dependencies": {- "@smithy/fetch-http-handler": "^3.2.1",- "@smithy/node-http-handler": "^3.1.2",+ "@smithy/fetch-http-handler": "^3.2.4",+ "@smithy/node-http-handler": "^3.1.4","@smithy/types": "^3.3.0","@smithy/util-base64": "^3.0.0","@smithy/util-buffer-from": "^3.0.0",@@ -14930,9 +14938,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.4.6.tgz",- "integrity": "sha512-JAXsfV5uJVi8rBHUExi5farW3355PkdvR+FdpRogLQFNAmVv8A9qlY7BkzlPgusv6JEJP9NJKoTNIJl9s/WeCQ==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.5.2.tgz",+ "integrity": "sha512-ZYpuo6YvLH+wC5YpYIa7jSsQ6wM64awA91vevsuEecqDRSCIbdKe+XdhFpbl6R8+NRMLo3+65HhirSHQZVRsRw==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -14940,14 +14948,15 @@}},"node_modules/@tagspaces/tagspaces-common-aws3": {- "version": "4.4.8",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws3/-/tagspaces-common-aws3-4.4.8.tgz",- "integrity": "sha512-lcWgcI9xgCaz+Uc9jODmlNDubFp8G3Lpca5C8C1VENcOzjlAZ5N4zq0ncgMQNFLyMK9YP92Bhvy93DIc4WYszA==",+ "version": "4.5.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws3/-/tagspaces-common-aws3-4.5.5.tgz",+ "integrity": "sha512-sWiyyd0fHwjP7tlIGsrm1Vqr5MxXokM7MESg0vsuFanrC82vuNRsi2CYc37DxxsNbC/0BnT9PSYsw11+fw6AWA==","dependencies": {- "@aws-sdk/client-s3": "^3.614.0",- "@aws-sdk/lib-storage": "^3.614.0",- "@aws-sdk/s3-request-presigner": "^3.614.0",- "@tagspaces/tagspaces-common": "^4.4.6"+ "@aws-sdk/client-s3": "^3.624.0",+ "@aws-sdk/lib-storage": "^3.624.0",+ "@aws-sdk/s3-request-presigner": "^3.624.0",+ "@tagspaces/tagspaces-common": "^4.5.2",+ "crypto-js": "^4.2.0"}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-crypto/sha256-browser": {@@ -15020,65 +15029,65 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/client-s3": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.614.0.tgz",- "integrity": "sha512-9BlhfeBegvyjOqHtcr9kvrT80wiy7EVUiqYyTFiiDv/hJIcG88XHQCZdLU7658XBkQ7aFrr5b8rF2HRD1oroxw==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.624.0.tgz",+ "integrity": "sha512-A18tgTKC4ZTAwV8i3pkyAL1XDLgH7WGS5hZA/0FOntI5l+icztGZFF8CdeYWEAFnZA7SfHK6vmtEbIQDOzTTAA==","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.614.0",- "@aws-sdk/client-sts": "3.614.0",- "@aws-sdk/core": "3.614.0",- "@aws-sdk/credential-provider-node": "3.614.0",- "@aws-sdk/middleware-bucket-endpoint": "3.614.0",- "@aws-sdk/middleware-expect-continue": "3.609.0",- "@aws-sdk/middleware-flexible-checksums": "3.614.0",- "@aws-sdk/middleware-host-header": "3.609.0",+ "@aws-sdk/client-sso-oidc": "3.624.0",+ "@aws-sdk/client-sts": "3.624.0",+ "@aws-sdk/core": "3.624.0",+ "@aws-sdk/credential-provider-node": "3.624.0",+ "@aws-sdk/middleware-bucket-endpoint": "3.620.0",+ "@aws-sdk/middleware-expect-continue": "3.620.0",+ "@aws-sdk/middleware-flexible-checksums": "3.620.0",+ "@aws-sdk/middleware-host-header": "3.620.0","@aws-sdk/middleware-location-constraint": "3.609.0","@aws-sdk/middleware-logger": "3.609.0",- "@aws-sdk/middleware-recursion-detection": "3.609.0",- "@aws-sdk/middleware-sdk-s3": "3.614.0",- "@aws-sdk/middleware-signing": "3.609.0",+ "@aws-sdk/middleware-recursion-detection": "3.620.0",+ "@aws-sdk/middleware-sdk-s3": "3.624.0","@aws-sdk/middleware-ssec": "3.609.0",- "@aws-sdk/middleware-user-agent": "3.614.0",+ "@aws-sdk/middleware-user-agent": "3.620.0","@aws-sdk/region-config-resolver": "3.614.0",- "@aws-sdk/signature-v4-multi-region": "3.614.0",+ "@aws-sdk/signature-v4-multi-region": "3.624.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.6",- "@smithy/eventstream-serde-browser": "^3.0.4",+ "@smithy/core": "^2.3.2",+ "@smithy/eventstream-serde-browser": "^3.0.5","@smithy/eventstream-serde-config-resolver": "^3.0.3","@smithy/eventstream-serde-node": "^3.0.4",- "@smithy/fetch-http-handler": "^3.2.1",+ "@smithy/fetch-http-handler": "^3.2.4","@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.3",- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/middleware-retry": "^3.0.9",+ "@smithy/middleware-content-length": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.14","@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.2",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/node-http-handler": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/url-parser": "^3.0.3","@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.9",- "@smithy/util-defaults-mode-node": "^3.0.9",+ "@smithy/util-defaults-mode-browser": "^3.0.14",+ "@smithy/util-defaults-mode-node": "^3.0.14","@smithy/util-endpoints": "^2.0.5",+ "@smithy/util-middleware": "^3.0.3","@smithy/util-retry": "^3.0.3",- "@smithy/util-stream": "^3.0.6",+ "@smithy/util-stream": "^3.1.3","@smithy/util-utf8": "^3.0.0","@smithy/util-waiter": "^3.1.2","tslib": "^2.6.2"@@ -15088,43 +15097,43 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/client-sso": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.614.0.tgz",- "integrity": "sha512-p5pyYaxRzBttjBkqfc8i3K7DzBdTg3ECdVgBo6INIUxfvDy0J8QUE8vNtCgvFIkq+uPw/8M+Eo4zzln7anuO0Q==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.624.0.tgz",+ "integrity": "sha512-EX6EF+rJzMPC5dcdsu40xSi2To7GSvdGQNIpe97pD9WvZwM9tRNQnNM4T6HA4gjV1L6Jwk8rBlG/CnveXtLEMw==","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/core": "3.614.0",- "@aws-sdk/middleware-host-header": "3.609.0",+ "@aws-sdk/core": "3.624.0",+ "@aws-sdk/middleware-host-header": "3.620.0","@aws-sdk/middleware-logger": "3.609.0",- "@aws-sdk/middleware-recursion-detection": "3.609.0",- "@aws-sdk/middleware-user-agent": "3.614.0",+ "@aws-sdk/middleware-recursion-detection": "3.620.0",+ "@aws-sdk/middleware-user-agent": "3.620.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.6",- "@smithy/fetch-http-handler": "^3.2.1",+ "@smithy/core": "^2.3.2",+ "@smithy/fetch-http-handler": "^3.2.4","@smithy/hash-node": "^3.0.3","@smithy/invalid-dependency": "^3.0.3",- "@smithy/middleware-content-length": "^3.0.3",- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/middleware-retry": "^3.0.9",+ "@smithy/middleware-content-length": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.14","@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.2",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/node-http-handler": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/url-parser": "^3.0.3","@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.9",- "@smithy/util-defaults-mode-node": "^3.0.9",+ "@smithy/util-defaults-mode-browser": "^3.0.14",+ "@smithy/util-defaults-mode-node": "^3.0.14","@smithy/util-endpoints": "^2.0.5","@smithy/util-middleware": "^3.0.3","@smithy/util-retry": "^3.0.3",@@ -15136,44 +15145,44 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/client-sso-oidc": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.614.0.tgz",- "integrity": "sha512-BI1NWcpppbHg/28zbUg54dZeckork8BItZIcjls12vxasy+p3iEzrJVG60jcbUTTsk3Qc1tyxNfrdcVqx0y7Ww==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.624.0.tgz",+ "integrity": "sha512-Ki2uKYJKKtfHxxZsiMTOvJoVRP6b2pZ1u3rcUb2m/nVgBPUfLdl8ZkGpqE29I+t5/QaS/sEdbn6cgMUZwl+3Dg==","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/core": "3.614.0",- "@aws-sdk/credential-provider-node": "3.614.0",- "@aws-sdk/middleware-host-header": "3.609.0",+ "@aws-sdk/core": "3.624.0",+ "@aws-sdk/credential-provider-node": "3.624.0",+ "@aws-sdk/middleware-host-header": "3.620.0","@aws-sdk/middleware-logger": "3.609.0",- "@aws-sdk/middleware-recursion-detection": "3.609.0",- "@aws-sdk/middleware-user-agent": "3.614.0",+ "@aws-sdk/middleware-recursion-detection": "3.620.0",+ "@aws-sdk/middleware-user-agent": "3.620.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.6",- "@smithy/fetch-http-handler": "^3.2.1",+ "@smithy/core": "^2.3.2",+ "@smithy/fetch-http-handler": "^3.2.4","@smithy/hash-node": "^3.0.3","@smithy/invalid-dependency": "^3.0.3",- "@smithy/middleware-content-length": "^3.0.3",- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/middleware-retry": "^3.0.9",+ "@smithy/middleware-content-length": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.14","@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.2",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/node-http-handler": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/url-parser": "^3.0.3","@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.9",- "@smithy/util-defaults-mode-node": "^3.0.9",+ "@smithy/util-defaults-mode-browser": "^3.0.14",+ "@smithy/util-defaults-mode-node": "^3.0.14","@smithy/util-endpoints": "^2.0.5","@smithy/util-middleware": "^3.0.3","@smithy/util-retry": "^3.0.3",@@ -15184,49 +15193,49 @@"node": ">=16.0.0"},"peerDependencies": {- "@aws-sdk/client-sts": "^3.614.0"+ "@aws-sdk/client-sts": "^3.624.0"}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/client-sts": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.614.0.tgz",- "integrity": "sha512-i6QmaVA1KHHYNnI2VYQy/sc31rLm4+jSp8b/YbQpFnD0w3aXsrEEHHlxek45uSkHb4Nrj1omFBVy/xp1WVYx2Q==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.624.0.tgz",+ "integrity": "sha512-k36fLZCb2nfoV/DKK3jbRgO/Yf7/R80pgYfMiotkGjnZwDmRvNN08z4l06L9C+CieazzkgRxNUzyppsYcYsQaw==","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/client-sso-oidc": "3.614.0",- "@aws-sdk/core": "3.614.0",- "@aws-sdk/credential-provider-node": "3.614.0",- "@aws-sdk/middleware-host-header": "3.609.0",+ "@aws-sdk/client-sso-oidc": "3.624.0",+ "@aws-sdk/core": "3.624.0",+ "@aws-sdk/credential-provider-node": "3.624.0",+ "@aws-sdk/middleware-host-header": "3.620.0","@aws-sdk/middleware-logger": "3.609.0",- "@aws-sdk/middleware-recursion-detection": "3.609.0",- "@aws-sdk/middleware-user-agent": "3.614.0",+ "@aws-sdk/middleware-recursion-detection": "3.620.0",+ "@aws-sdk/middleware-user-agent": "3.620.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.6",- "@smithy/fetch-http-handler": "^3.2.1",+ "@smithy/core": "^2.3.2",+ "@smithy/fetch-http-handler": "^3.2.4","@smithy/hash-node": "^3.0.3","@smithy/invalid-dependency": "^3.0.3",- "@smithy/middleware-content-length": "^3.0.3",- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/middleware-retry": "^3.0.9",+ "@smithy/middleware-content-length": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.14","@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.2",- "@smithy/protocol-http": "^4.0.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/node-http-handler": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/url-parser": "^3.0.3","@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.9",- "@smithy/util-defaults-mode-node": "^3.0.9",+ "@smithy/util-defaults-mode-browser": "^3.0.14",+ "@smithy/util-defaults-mode-node": "^3.0.14","@smithy/util-endpoints": "^2.0.5","@smithy/util-middleware": "^3.0.3","@smithy/util-retry": "^3.0.3",@@ -15238,9 +15247,9 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-env": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.609.0.tgz",- "integrity": "sha512-v69ZCWcec2iuV9vLVJMa6fAb5xwkzN4jYIT8yjo2c4Ia/j976Q+TPf35Pnz5My48Xr94EFcaBazrWedF+kwfuQ==",+ "version": "3.620.1",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.620.1.tgz",+ "integrity": "sha512-ExuILJ2qLW5ZO+rgkNRj0xiAipKT16Rk77buvPP8csR7kkCflT/gXTyzRe/uzIiETTxM7tr8xuO9MP/DQXqkfg==","dependencies": {"@aws-sdk/types": "3.609.0","@smithy/property-provider": "^3.1.3",@@ -15252,17 +15261,17 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-ini": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.614.0.tgz",- "integrity": "sha512-KfLuLFGwlvFSZ2MuzYwWGPb1y5TeiwX5okIDe0aQ1h10oD3924FXbN+mabOnUHQ8EFcGAtCaWbrC86mI7ktC6A==",- "dependencies": {- "@aws-sdk/credential-provider-env": "3.609.0",- "@aws-sdk/credential-provider-http": "3.614.0",- "@aws-sdk/credential-provider-process": "3.614.0",- "@aws-sdk/credential-provider-sso": "3.614.0",- "@aws-sdk/credential-provider-web-identity": "3.609.0",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.624.0.tgz",+ "integrity": "sha512-mMoNIy7MO2WTBbdqMyLpbt6SZpthE6e0GkRYpsd0yozPt0RZopcBhEh+HG1U9Y1PVODo+jcMk353vAi61CfnhQ==",+ "dependencies": {+ "@aws-sdk/credential-provider-env": "3.620.1",+ "@aws-sdk/credential-provider-http": "3.622.0",+ "@aws-sdk/credential-provider-process": "3.620.1",+ "@aws-sdk/credential-provider-sso": "3.624.0",+ "@aws-sdk/credential-provider-web-identity": "3.621.0","@aws-sdk/types": "3.609.0",- "@smithy/credential-provider-imds": "^3.1.4",+ "@smithy/credential-provider-imds": "^3.2.0","@smithy/property-provider": "^3.1.3","@smithy/shared-ini-file-loader": "^3.1.4","@smithy/types": "^3.3.0",@@ -15272,22 +15281,22 @@"node": ">=16.0.0"},"peerDependencies": {- "@aws-sdk/client-sts": "^3.614.0"+ "@aws-sdk/client-sts": "^3.624.0"}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-node": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.614.0.tgz",- "integrity": "sha512-4J6gPEuFZP0mkWq5E//oMS1vrmMM88iNNcv7TEljYnsc6JTAlKejCyFwx6CN+nkIhmIZsl06SXIhBemzBdBPfg==",- "dependencies": {- "@aws-sdk/credential-provider-env": "3.609.0",- "@aws-sdk/credential-provider-http": "3.614.0",- "@aws-sdk/credential-provider-ini": "3.614.0",- "@aws-sdk/credential-provider-process": "3.614.0",- "@aws-sdk/credential-provider-sso": "3.614.0",- "@aws-sdk/credential-provider-web-identity": "3.609.0",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.624.0.tgz",+ "integrity": "sha512-vYyGK7oNpd81BdbH5IlmQ6zfaQqU+rPwsKTDDBeLRjshtrGXOEpfoahVpG9PX0ibu32IOWp4ZyXBNyVrnvcMOw==",+ "dependencies": {+ "@aws-sdk/credential-provider-env": "3.620.1",+ "@aws-sdk/credential-provider-http": "3.622.0",+ "@aws-sdk/credential-provider-ini": "3.624.0",+ "@aws-sdk/credential-provider-process": "3.620.1",+ "@aws-sdk/credential-provider-sso": "3.624.0",+ "@aws-sdk/credential-provider-web-identity": "3.621.0","@aws-sdk/types": "3.609.0",- "@smithy/credential-provider-imds": "^3.1.4",+ "@smithy/credential-provider-imds": "^3.2.0","@smithy/property-provider": "^3.1.3","@smithy/shared-ini-file-loader": "^3.1.4","@smithy/types": "^3.3.0",@@ -15298,9 +15307,9 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-process": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.614.0.tgz",- "integrity": "sha512-Q0SI0sTRwi8iNODLs5+bbv8vgz8Qy2QdxbCHnPk/6Cx6LMf7i3dqmWquFbspqFRd8QiqxStrblwxrUYZi09tkA==",+ "version": "3.620.1",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.620.1.tgz",+ "integrity": "sha512-hWqFMidqLAkaV9G460+1at6qa9vySbjQKKc04p59OT7lZ5cO5VH5S4aI05e+m4j364MBROjjk2ugNvfNf/8ILg==","dependencies": {"@aws-sdk/types": "3.609.0","@smithy/property-provider": "^3.1.3",@@ -15313,11 +15322,11 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-sso": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.614.0.tgz",- "integrity": "sha512-55+gp0JY4451cWI1qXmVMFM0GQaBKiQpXv2P0xmd9P3qLDyeFUSEW8XPh0d2lb1ICr6x4s47ynXVdGCIv2mXMg==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.624.0.tgz",+ "integrity": "sha512-A02bayIjU9APEPKr3HudrFHEx0WfghoSPsPopckDkW7VBqO4wizzcxr75Q9A3vNX+cwg0wCN6UitTNe6pVlRaQ==","dependencies": {- "@aws-sdk/client-sso": "3.614.0",+ "@aws-sdk/client-sso": "3.624.0","@aws-sdk/token-providers": "3.614.0","@aws-sdk/types": "3.609.0","@smithy/property-provider": "^3.1.3",@@ -15330,9 +15339,9 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/credential-provider-web-identity": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.609.0.tgz",- "integrity": "sha512-U+PG8NhlYYF45zbr1km3ROtBMYqyyj/oK8NRp++UHHeuavgrP+4wJ4wQnlEaKvJBjevfo3+dlIBcaeQ7NYejWg==",+ "version": "3.621.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.621.0.tgz",+ "integrity": "sha512-w7ASSyfNvcx7+bYGep3VBgC3K6vEdLmlpjT7nSIHxxQf+WSdvy+HynwJosrpZax0sK5q0D1Jpn/5q+r5lwwW6w==","dependencies": {"@aws-sdk/types": "3.609.0","@smithy/property-provider": "^3.1.3",@@ -15343,17 +15352,17 @@"node": ">=16.0.0"},"peerDependencies": {- "@aws-sdk/client-sts": "^3.609.0"+ "@aws-sdk/client-sts": "^3.621.0"}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/lib-storage": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.614.0.tgz",- "integrity": "sha512-Bzni+r7pS+nRiqcmWPpB/OiQEM4GszGRp1DXpL3rKnwaeu+Qgf2w12DULxWUacIvOc4IzLsv6tpEidQ/P1zKQg==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.624.0.tgz",+ "integrity": "sha512-MdK4eMWh7Nl5a2RB0jfbKtACUip6wMlAbUVSPexkwOpLEwL8KHtXW0kIv9PkwQd4cvZnuUV9b+CyQ7Y+GkTyuA==","dependencies": {"@smithy/abort-controller": "^3.1.1",- "@smithy/middleware-endpoint": "^3.0.5",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/smithy-client": "^3.1.12","buffer": "5.6.0","events": "3.3.0","stream-browserify": "3.0.0",@@ -15363,18 +15372,18 @@"node": ">=16.0.0"},"peerDependencies": {- "@aws-sdk/client-s3": "^3.614.0"+ "@aws-sdk/client-s3": "^3.624.0"}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-bucket-endpoint": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.614.0.tgz",- "integrity": "sha512-TqEY8KcZeZ0LIxXaqG9RSSNnDHvD8RAFP4Xenwsxqnyad0Yn7LgCoFwRByelJ0t54ROYL1/ETJleWE4U4TOXdg==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.620.0.tgz",+ "integrity": "sha512-eGLL0W6L3HDb3OACyetZYOWpHJ+gLo0TehQKeQyy2G8vTYXqNTeqYhuI6up9HVjBzU9eQiULVQETmgQs7TFaRg==","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.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","@smithy/util-config-provider": "^3.0.0","tslib": "^2.6.2"@@ -15384,12 +15393,12 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-expect-continue": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.609.0.tgz",- "integrity": "sha512-+zeg//mSer4JZRxOB/4mUOMUJyuYPwATnIC5moBB8P8Xe+mJaVRFy8qlCtzYNj2TycnlsBPzTK0j7P1yvDh97w==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.620.0.tgz",+ "integrity": "sha512-QXeRFMLfyQ31nAHLbiTLtk0oHzG9QLMaof5jIfqcUwnOkO8YnQdeqzakrg1Alpy/VQ7aqzIi8qypkBe2KXZz0A==","dependencies": {"@aws-sdk/types": "3.609.0",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -15398,12 +15407,12 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-host-header": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.609.0.tgz",- "integrity": "sha512-iTKfo158lc4jLDfYeZmYMIBHsn8m6zX+XB6birCSNZ/rrlzAkPbGE43CNdKfvjyWdqgLMRXF+B+OcZRvqhMXPQ==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.620.0.tgz",+ "integrity": "sha512-VMtPEZwqYrII/oUkffYsNWY9PZ9xpNJpMgmyU0rlDQ25O1c0Hk3fJmZRe6pEkAJ0omD7kLrqGl1DUjQVxpd/Rg==","dependencies": {"@aws-sdk/types": "3.609.0",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -15438,12 +15447,12 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-recursion-detection": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.609.0.tgz",- "integrity": "sha512-6sewsYB7/o/nbUfA99Aa/LokM+a/u4Wpm/X2o0RxOsDtSB795ObebLJe2BxY5UssbGaWkn7LswyfvrdZNXNj1w==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.620.0.tgz",+ "integrity": "sha512-nh91S7aGK3e/o1ck64sA/CyoFw+gAYj2BDOnoNa6ouyCrVJED96ZXWbhye/fz9SgmNUZR2g7GdVpiLpMKZoI5w==","dependencies": {"@aws-sdk/types": "3.609.0",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -15452,35 +15461,23 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-sdk-s3": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.614.0.tgz",- "integrity": "sha512-9fJTaiuuOfFV4FqmUEhPYzrtv7JOfYpB7q65oG3uayVH4ngWHIJkjnnX79zRhNZKdPGta+XIsnZzjEghg82ngA==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.624.0.tgz",+ "integrity": "sha512-HUiaZ6+JXcG0qQda10ZxDGJvbT71YUp1zX+oikIsfTUeq0N75O82OY3Noqd7cyjEVtsGSo/y0e6U3aV1hO+wPw==","dependencies": {+ "@aws-sdk/core": "3.624.0","@aws-sdk/types": "3.609.0","@aws-sdk/util-arn-parser": "3.568.0",+ "@smithy/core": "^2.3.2","@smithy/node-config-provider": "^3.1.4",- "@smithy/protocol-http": "^4.0.3",- "@smithy/signature-v4": "^3.1.2",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/signature-v4": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","@smithy/util-config-provider": "^3.0.0",- "tslib": "^2.6.2"- },- "engines": {- "node": ">=16.0.0"- }- },- "node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-signing": {- "version": "3.609.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.609.0.tgz",- "integrity": "sha512-2w3dBLjQVKIajYzokO4hduq8/0hSMUYHHmIo1Kdl+MSY8uwRBt12bLL6pyreobTcRMxizvn2ph/CQ9I1ST/WGQ==",- "dependencies": {- "@aws-sdk/types": "3.609.0",- "@smithy/property-provider": "^3.1.3",- "@smithy/protocol-http": "^4.0.3",- "@smithy/signature-v4": "^3.1.2",- "@smithy/types": "^3.3.0","@smithy/util-middleware": "^3.0.3",+ "@smithy/util-stream": "^3.1.3",+ "@smithy/util-utf8": "^3.0.0","tslib": "^2.6.2"},"engines": {@@ -15501,13 +15498,13 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/middleware-user-agent": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.614.0.tgz",- "integrity": "sha512-xUxh0UPQiMTG6E31Yvu6zVYlikrIcFDKljM11CaatInzvZubGTGiX0DjpqRlfGzUNsuPc/zNrKwRP2+wypgqIw==",+ "version": "3.620.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.620.0.tgz",+ "integrity": "sha512-bvS6etn+KsuL32ubY5D3xNof1qkenpbJXf/ugGXbg0n98DvDFQ/F+SMLxHgbnER5dsKYchNnhmtI6/FC3HFu/A==","dependencies": {"@aws-sdk/types": "3.609.0","@aws-sdk/util-endpoints": "3.614.0",- "@smithy/protocol-http": "^4.0.3",+ "@smithy/protocol-http": "^4.1.0","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -15516,16 +15513,16 @@}},"node_modules/@tagspaces/tagspaces-common-aws3/node_modules/@aws-sdk/s3-request-presigner": {- "version": "3.614.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.614.0.tgz",- "integrity": "sha512-KCXFfnkW8QVtigvStA3zvIHBp/FmwwCBcMgp3WjJNNPVKit3RM70veAWJBZUghHmHtd9fTijO2uwzHtusjkyHw==",+ "version": "3.624.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.624.0.tgz",+ "integrity": "sha512-JcBJGSsWf4p3mHkEFtzJo2x7y1cbUHnkzD550xvGXgJGq5Fljn3D+39jvTm2Tfd7UFxO7G3qIEYndBM/aIGFWw==","dependencies": {- "@aws-sdk/signature-v4-multi-region": "3.614.0",+ "@aws-sdk/signature-v4-multi-region": "3.624.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.3",- "@smithy/smithy-client": "^3.1.7",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.1.12","@smithy/types": "^3.3.0","tslib": "^2.6.2"},@@ -15666,11 +15663,11 @@}},"node_modules/@tagspaces/tagspaces-common-cordova": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.4.6.tgz",- "integrity": "sha512-x4wy1W3Bm1zWmrZ5hBydcY2xU4S1GyZxDnC42S7Y6xgI6QB8TRmejda29pz/UPKOKbCNDVT4qRoJolgCJiZE9w==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.5.2.tgz",+ "integrity": "sha512-Fn3NJ8ex+KxHXA8+kZKerDIN3J0lOfb9VOFaPJvGUYSJRZlzn+ols4jzGyBbnZa7Zh2u9yyNaDcdI4xFQNQT9g==","dependencies": {- "@tagspaces/tagspaces-common": "^4.4.6"+ "@tagspaces/tagspaces-common": "^4.5.2"}},"node_modules/@tagspaces/tagspaces-common/node_modules/uuid": {@@ -15682,11 +15679,11 @@}},"node_modules/@tagspaces/tagspaces-indexer": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.4.6.tgz",- "integrity": "sha512-5GdpU5dd9ef4YxftZLHS0DC7WBNbXcnCJTVAFooSS4KRjFecV7arF5vbAit7/z+s6nGE6F+9sW0+aUo3BYywJA==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.5.2.tgz",+ "integrity": "sha512-Ll386DuzVm/5O9ycGM1UgN+f/GWf0SSTEm2KUhfOgf3rRfKO8vnThFKmsmWRz8+xajRHSsPT5Tj6OPgf8bZDtQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.4.6"+ "@tagspaces/tagspaces-common": "^4.5.2"}},"node_modules/@tagspaces/tagspaces-md": {@@ -15728,9 +15725,9 @@}},"node_modules/@tagspacespro/tagspacespro": {- "version": "5.0.64-alpha.8",- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.64-alpha.8/87a0363add2f48b2c4fa230b453376feca460f5a",- "integrity": "sha512-iKgJ3bVymo9BVderj1LfoDMnfu8nGJS8zPvTJYONjsUv493b9BMAvFY3H/qV4hqcF8YlcARiFSAEH0Mgq+dFQw==",+ "version": "5.0.66",+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.66/76b250b4128e7b4f2e43b2dc33f02c3ce43022e6",+ "integrity": "sha512-cJ7lR3FB4GuqqPJudfXE7LWLysD+iFu1q4pMuMdOriEog3pmrb+agr8YccR4ubEFSUrHHtXKK5sawHPWZzLDvQ==","license": "Proprietary","optional": true},diff --git a/package.json b/package.jsonindex e954db052..b1844f82c 100644--- a/package.json+++ b/package.json@@ -106,6 +106,7 @@"prepare-node": "npm run install-ext-node-check && npm run postinstall-electron-check","prepare-web": "npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/modules && shx mkdir -p web/modules/@tagspaces/extensions && shx cp -rL release/app/node_modules/@tagspaces/extensions/* web/modules/@tagspaces/extensions/ && shx cp LICENSE.txt web && npm run build:web && node scripts/genswconf.js && npm run clean-maps","prepare-web-pro": "npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/modules && shx mkdir -p web/modules/@tagspaces/extensions && shx cp -rL release/app/node_modules/@tagspaces/extensions/* web/modules/@tagspaces/extensions/ && npm run prepare-web-pro-ext && shx cp node_modules/@tagspacespro/tagspacespro/EULA.txt web && npm run build:web && node scripts/genswconf.js && npm run clean-maps",+ "prepare-web-pro-dev": "npm run install-ext-web-check && npm run postinstall-aws-check && rimraf web/modules && shx mkdir -p web/modules/@tagspaces/extensions && shx cp -rL release/app/node_modules/@tagspaces/extensions/* web/modules/@tagspaces/extensions/ && npm run prepare-web-pro-ext && shx cp node_modules/@tagspacespro/tagspacespro/EULA.txt web && npm run build:web:dev && node scripts/genswconf.js","prepare-web-pro-ext": "shx mkdir -p web/modules/@tagspacespro/extensions && shx cp -rL release/app/node_modules/@tagspacespro/extensions/* web/modules/@tagspacespro/extensions/","prettier-check": "prettier --check --ignore-path=.prettierignore \"**/*.{js,jsx,json,ts,tsx,yml}\"","prettier-format": "prettier --ignore-path=.prettierignore --write \"**/*.{js,jsx,json,ts,tsx,yml}\"",@@ -116,7 +117,7 @@"run-ios-dev": "npm run prepare-cordova && npm run build:cordova:dev && cd cordova && cordova run ios && cd ..","run-web": "npm run prepare-web-pro && node scripts/webserver.js","run-web-aws": "npm run prepare-web-pro && node scripts/webserver.js",- "run-web-dev": "npm run prepare-web-pro && npm run build:web:dev && node scripts/webserver.js",+ "run-web-dev": "npm run prepare-web-pro-dev && node scripts/webserver.js","run-web-server": "node scripts/webserver.js","setup-tests": "node scripts/setup-tests.js","skip:husky:pre-commit": "node -e \"require('fs').rename('./.git/hooks/pre-commit', './.git/hooks/pre-commit.disabled', function(err) { if (err) console.log(err); console.log('File successfully renamed!') })\"",@@ -164,10 +165,10 @@"@mui/lab": "5.0.0-alpha.170","@mui/material": "^5.15.19","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.4.6",- "@tagspaces/tagspaces-common-aws3": "4.4.8",- "@tagspaces/tagspaces-common-cordova": "4.4.6",- "@tagspaces/tagspaces-indexer": "4.4.6",+ "@tagspaces/tagspaces-common": "4.5.2",+ "@tagspaces/tagspaces-common-aws3": "4.5.5",+ "@tagspaces/tagspaces-common-cordova": "4.5.2",+ "@tagspaces/tagspaces-indexer": "4.5.2","@tagspaces/tagspaces-md": "4.3.30","aws-amplify": "^4.3.8","classnames": "^2.3.1",@@ -233,7 +234,7 @@"uuid": "^9.0.0"},"optionalDependencies": {- "@tagspacespro/tagspacespro": "5.0.65"+ "@tagspacespro/tagspacespro": "5.0.66"},"devDependencies": {"@electron/notarize": "^2.3.2",diff --git a/release/app/package-lock.json b/release/app/package-lock.jsonindex d36027d12..c9e33b953 100644--- a/release/app/package-lock.json+++ b/release/app/package-lock.json@@ -12,8 +12,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.119",- "@tagspaces/tagspaces-common-node": "4.4.6",- "@tagspaces/tagspaces-ws": "4.4.6",+ "@tagspaces/tagspaces-common-node": "4.5.2",+ "@tagspaces/tagspaces-ws": "4.5.2","sharp": "0.32.6","ws": "8.16.0"},@@ -43,9 +43,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.4.6.tgz",- "integrity": "sha512-JAXsfV5uJVi8rBHUExi5farW3355PkdvR+FdpRogLQFNAmVv8A9qlY7BkzlPgusv6JEJP9NJKoTNIJl9s/WeCQ==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.5.2.tgz",+ "integrity": "sha512-ZYpuo6YvLH+wC5YpYIa7jSsQ6wM64awA91vevsuEecqDRSCIbdKe+XdhFpbl6R8+NRMLo3+65HhirSHQZVRsRw==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -53,11 +53,11 @@}},"node_modules/@tagspaces/tagspaces-common-node": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.4.6.tgz",- "integrity": "sha512-5huaw2789GcqrQsYM7BfXlhaFcEyjhMix4//PWa+M4Tg3ZNdTuUZ7AdCvCxWxw1rTMSaUNdlvkdyAz3DZ1QRYg==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.5.2.tgz",+ "integrity": "sha512-ZdqCxPcoeOj2NLv1p3aNgltddZQ/MQsZOM3ltTDSPPb0tD64wic0ZF5789AU4kMPp2DKHn98wdW2BOwnnwLPZQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.4.6",+ "@tagspaces/tagspaces-common": "^4.5.2","adm-zip": "0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -74,22 +74,22 @@}},"node_modules/@tagspaces/tagspaces-workers": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.4.6.tgz",- "integrity": "sha512-imav5ZvXmvo/pgCdKgGfnAqWCdWCpRSex1P4sikJFOhPbt1AZkHLWDJRttNXwcAHbSIdZ9q3Mx21hT/ygHkIIQ==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.5.2.tgz",+ "integrity": "sha512-AiEBHtTlordnZ2VSHkLIwx13Uh26CqYA2TrQqE4k+P6kCy7o2W3I18TfaiRa8fVM/BE9cKtntP0RwWiTntzBAw==","dependencies": {- "@tagspaces/tagspaces-common": "^4.4.6",- "@tagspaces/tagspaces-common-node": "^4.4.6",+ "@tagspaces/tagspaces-common": "^4.5.2",+ "@tagspaces/tagspaces-common-node": "^4.5.2","@tagspaces/tagspaces-thumbgen-image": "^4.2.3","fswin": "^3.24.524"}},"node_modules/@tagspaces/tagspaces-ws": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.4.6.tgz",- "integrity": "sha512-PAvdNxTZ1P02DkaCpp9qMeRe1dDDAxscz7h49UCfU3DTFSoVsnCZJi6wvk1JitR9kaMI2gdEH2yQE1YgbGEA8Q==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.5.2.tgz",+ "integrity": "sha512-QoZYNEj13LlXLiw6Fu9y4zHtJ2TEVhi7hT6Q9o1T90qkELI9UKWjdgx4uskNT3WdKNbPxzHbiYBsMBw6B5WhLg==","dependencies": {- "@tagspaces/tagspaces-workers": "^4.4.6",+ "@tagspaces/tagspaces-workers": "^4.5.2","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"@@ -1131,9 +1131,9 @@}},"@tagspaces/tagspaces-common": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.4.6.tgz",- "integrity": "sha512-JAXsfV5uJVi8rBHUExi5farW3355PkdvR+FdpRogLQFNAmVv8A9qlY7BkzlPgusv6JEJP9NJKoTNIJl9s/WeCQ==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.5.2.tgz",+ "integrity": "sha512-ZYpuo6YvLH+wC5YpYIa7jSsQ6wM64awA91vevsuEecqDRSCIbdKe+XdhFpbl6R8+NRMLo3+65HhirSHQZVRsRw==","requires": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -1141,11 +1141,11 @@}},"@tagspaces/tagspaces-common-node": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.4.6.tgz",- "integrity": "sha512-5huaw2789GcqrQsYM7BfXlhaFcEyjhMix4//PWa+M4Tg3ZNdTuUZ7AdCvCxWxw1rTMSaUNdlvkdyAz3DZ1QRYg==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.5.2.tgz",+ "integrity": "sha512-ZdqCxPcoeOj2NLv1p3aNgltddZQ/MQsZOM3ltTDSPPb0tD64wic0ZF5789AU4kMPp2DKHn98wdW2BOwnnwLPZQ==","requires": {- "@tagspaces/tagspaces-common": "^4.4.6",+ "@tagspaces/tagspaces-common": "^4.5.2","adm-zip": "0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -1162,22 +1162,22 @@}},"@tagspaces/tagspaces-workers": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.4.6.tgz",- "integrity": "sha512-imav5ZvXmvo/pgCdKgGfnAqWCdWCpRSex1P4sikJFOhPbt1AZkHLWDJRttNXwcAHbSIdZ9q3Mx21hT/ygHkIIQ==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.5.2.tgz",+ "integrity": "sha512-AiEBHtTlordnZ2VSHkLIwx13Uh26CqYA2TrQqE4k+P6kCy7o2W3I18TfaiRa8fVM/BE9cKtntP0RwWiTntzBAw==","requires": {- "@tagspaces/tagspaces-common": "^4.4.6",- "@tagspaces/tagspaces-common-node": "^4.4.6",+ "@tagspaces/tagspaces-common": "^4.5.2",+ "@tagspaces/tagspaces-common-node": "^4.5.2","@tagspaces/tagspaces-thumbgen-image": "^4.2.3","fswin": "^3.24.524"}},"@tagspaces/tagspaces-ws": {- "version": "4.4.6",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.4.6.tgz",- "integrity": "sha512-PAvdNxTZ1P02DkaCpp9qMeRe1dDDAxscz7h49UCfU3DTFSoVsnCZJi6wvk1JitR9kaMI2gdEH2yQE1YgbGEA8Q==",+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.5.2.tgz",+ "integrity": "sha512-QoZYNEj13LlXLiw6Fu9y4zHtJ2TEVhi7hT6Q9o1T90qkELI9UKWjdgx4uskNT3WdKNbPxzHbiYBsMBw6B5WhLg==","requires": {- "@tagspaces/tagspaces-workers": "^4.4.6",+ "@tagspaces/tagspaces-workers": "^4.5.2","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"diff --git a/release/app/package.json b/release/app/package.jsonindex 10b7746de..0ee11fd31 100644--- a/release/app/package.json+++ b/release/app/package.json@@ -19,8 +19,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.119",- "@tagspaces/tagspaces-common-node": "4.4.6",- "@tagspaces/tagspaces-ws": "4.4.6",+ "@tagspaces/tagspaces-common-node": "4.5.2",+ "@tagspaces/tagspaces-ws": "4.5.2","sharp": "0.32.6","ws": "8.16.0"},diff --git a/scripts/get_presigned_url.sh b/scripts/get_presigned_url.shnew file mode 100755index 000000000..2abd643e9--- /dev/null+++ b/scripts/get_presigned_url.sh@@ -0,0 +1,16 @@+#!/bin/bash++PRESIGNED_URL="https://s3.eu-central-1.wasabisys.com/tsdev-eu/test/note%5B20220317T124251%5D.md?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=O7PPJDFQ7YK2ZBBOUI34%2F20240807%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20240807T062928Z&X-Amz-Expires=900&X-Amz-Signature=b50c551e5315529c1c4a87c7f44e2daa458eb16c2205a4e7e7ae8855aa557f08&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption-customer-algorithm&x-amz-user-agent=aws-sdk-js%2F3.624.0%20ua%2F2.0%20os%2FmacOS%2310.15.7%20lang%2Fjs%20md%2Fbrowser%23Electron_27.3.11%20api%2Fs3%233.624.0&x-id=GetObject"++RAW_ENCRYPTION_KEY="12345678901234567890123456789012"++# Base64 encode the encryption key+ENCRYPTION_KEY=$(echo -n "$RAW_ENCRYPTION_KEY" | base64)+ENCRYPTION_KEY_MD5=$(echo -n "$RAW_ENCRYPTION_KEY" | openssl md5 -binary | base64)+++# Download file+curl -X GET "$PRESIGNED_URL" \+ -H "x-amz-server-side-encryption-customer-algorithm: AES256" \+ -H "x-amz-server-side-encryption-customer-key: $ENCRYPTION_KEY" \+ -H "x-amz-server-side-encryption-customer-key-MD5: $ENCRYPTION_KEY_MD5"diff --git a/scripts/webs3extconfig-two-locations.js b/scripts/s3extconfig-two-locations.jssimilarity index 97%rename from scripts/webs3extconfig-two-locations.jsrename to scripts/s3extconfig-two-locations.jsindex 6f7a0ba61..d0b7c4d3c 100644--- a/scripts/webs3extconfig-two-locations.js+++ b/scripts/s3extconfig-two-locations.js@@ -22,7 +22,7 @@ window.ExtLocations = [creationDate: '2024-06-01T08:46:50.449Z',},{- uuid: '30675f09-c7fd-2333-fc67-a75db27rt5ba', // an unique id of the location+ uuid: '40675f09-c7fd-2333-fc67-a75db27rt5bb', // an unique id of the locationtype: '1', // 1 defines the locations a cloud basedname: 'supported-filestypes', // the name of the locationpath: '', // the path to sub folder in the locationdiff --git a/src/renderer/components/EntryContainerMenu.tsx b/src/renderer/components/EntryContainerMenu.tsxindex db9f03f2a..6be72a086 100644--- a/src/renderer/components/EntryContainerMenu.tsx+++ b/src/renderer/components/EntryContainerMenu.tsx@@ -138,13 +138,32 @@ function EntryContainerMenu(props: Props) {data-tid="downloadFileTID"aria-label={t('core:downloadFile')}onClick={() => {- const downloadResult = downloadFile(- openedEntry.path,- openedEntry.url,- currentLocation?.getDirSeparator(),- );- if (downloadResult === -1) {- showNotification(t('core:cantDownloadLocalFile'));+ if (openedEntry.isEncrypted) {+ currentLocation+ .getFileContentPromise(openedEntry.path, 'arraybuffer')+ .then((arrayBuffer) => {+ const url = window.URL || window.webkitURL;+ const openedEntryUrl = url.createObjectURL(+ new Blob([arrayBuffer]),+ );+ const downloadResult = downloadFile(+ openedEntry.path,+ openedEntryUrl,+ currentLocation?.getDirSeparator(),+ );+ if (downloadResult === -1) {+ showNotification(t('core:cantDownloadLocalFile'));+ }+ });+ } else {+ const downloadResult = downloadFile(+ openedEntry.path,+ openedEntry.url,+ currentLocation?.getDirSeparator(),+ );+ if (downloadResult === -1) {+ showNotification(t('core:cantDownloadLocalFile'));+ }}handleClose();}}diff --git a/src/renderer/components/EntryContainerTitle.tsx b/src/renderer/components/EntryContainerTitle.tsxindex 41ae993d0..11c8c404a 100644--- a/src/renderer/components/EntryContainerTitle.tsx+++ b/src/renderer/components/EntryContainerTitle.tsx@@ -32,6 +32,7 @@ import Box from '@mui/material/Box';import { dataTidFormat } from '-/services/test';import { ProTooltip } from '-/components/HelperComponents';import IconButton from '@mui/material/IconButton';+import HttpsIcon from '@mui/icons-material/Https';import BookmarkIcon from '@mui/icons-material/BookmarkTwoTone';import BookmarkAddIcon from '@mui/icons-material/BookmarkAddTwoTone';import TagsPreview from '-/components/TagsPreview';@@ -259,6 +260,15 @@ function EntryContainerTitle(props: Props) {</IconButton></ProTooltip><TagsPreview tags={getAllTags(openedEntry)} />+ {openedEntry.isEncrypted && (+ <Tooltip title={t('core:encryptedTooltip')}>+ <HttpsIcon+ style={{+ color: theme.palette.primary.main,+ }}+ />+ </Tooltip>+ )}<EntryContainerMenuanchorEl={anchorEl}startClosingEntry={startClosingEntry}diff --git a/src/renderer/components/RenderHistory.tsx b/src/renderer/components/RenderHistory.tsxindex 1c8e3c45c..6d8b11d0d 100644--- a/src/renderer/components/RenderHistory.tsx+++ b/src/renderer/components/RenderHistory.tsx@@ -33,6 +33,7 @@ import { RemoveIcon, HistoryIcon } from '-/components/CommonIcons';import { dataTidFormat } from '-/services/test';import { useTranslation } from 'react-i18next';import AppConfig from '-/AppConfig';+import TooltipTS from '-/components/Tooltip';interface Props {historyKey: string;@@ -112,25 +113,27 @@ function RenderHistory(props: Props) {</Grid>{showDelete && (<Grid item xs={2}>- <IconButton- aria-label={t('core:clearHistory')}- onClick={() => {- if (historyKey === Pro.keys.bookmarksKey) {- //del bookmarks- bookmarksContext.delBookmark(item.path);- } else {- historyContext.delHistory(- historyKey,- item.creationTimeStamp,- );- }- update();- }}- data-tid="deleteHistoryItemTID"- size="small"- >- <RemoveIcon />- </IconButton>+ <TooltipTS title={t('delete')}>+ <IconButton+ aria-label={t('core:clearHistory')}+ onClick={() => {+ if (historyKey === Pro.keys.bookmarksKey) {+ //del bookmarks+ bookmarksContext.delBookmark(item.path);+ } else {+ historyContext.delHistory(+ historyKey,+ item.creationTimeStamp,+ );+ }+ update();+ }}+ data-tid="deleteHistoryItemTID"+ size="small"+ >+ <RemoveIcon />+ </IconButton>+ </TooltipTS></Grid>)}</ListItem>diff --git a/src/renderer/components/dialogs/CreateEditLocationDialog.tsx b/src/renderer/components/dialogs/CreateEditLocationDialog.tsxindex 40b926a14..e7c9bd404 100644--- a/src/renderer/components/dialogs/CreateEditLocationDialog.tsx+++ b/src/renderer/components/dialogs/CreateEditLocationDialog.tsx@@ -18,6 +18,7 @@import React, { ChangeEvent, useEffect, useState } from 'react';import { styled } from '@mui/material/styles';+import CryptoJS from 'crypto-js';import Button from '@mui/material/Button';import DialogActions from '@mui/material/DialogActions';import DialogContent from '@mui/material/DialogContent';@@ -50,6 +51,7 @@ import {AccordionSummary,InputLabel,MenuItem,+ FormLabel,Select,} from '@mui/material';import { Pro } from '-/pro';@@ -66,7 +68,7 @@ import WebdavForm from '-/components/dialogs/WebdavForm';import { useTheme } from '@mui/material/styles';import useMediaQuery from '@mui/material/useMediaQuery';import { getUuid } from '@tagspaces/tagspaces-common/utils-io';-import { ExpandIcon, IDIcon, FolderIcon } from '-/components/CommonIcons';+import { ExpandIcon, IDIcon } from '-/components/CommonIcons';import MaxLoopsSelect from '-/components/dialogs/MaxLoopsSelect';import { useTranslation } from 'react-i18next';import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';@@ -74,6 +76,10 @@ import { useNotificationContext } from '-/hooks/useNotificationContext';import { useLocationIndexContext } from '-/hooks/useLocationIndexContext';import { useTagGroupsLocationContext } from '-/hooks/useTagGroupsLocationContext';import { CommonLocation } from '-/utils/CommonLocation';+import Visibility from '@mui/icons-material/Visibility';+import VisibilityOff from '@mui/icons-material/VisibilityOff';+import PasswordIcon from '@mui/icons-material/Password';+import TooltipTS from '-/components/Tooltip';const PREFIX = 'CreateEditLocationDialog';@@ -110,6 +116,9 @@ function CreateEditLocationDialog(props: Props) {/*const { location } = props;*/const [showSecretAccessKey, setShowSecretAccessKey] =useState<boolean>(false);+ const [showEncryptionKey, setShowEncryptionKey] = useState<boolean>(false);+ const [isConfirmEncryptionChanged, setConfirmEncryptionChanged] =+ useState<boolean>(false);const [showPassword, setShowPassword] = useState<boolean>(false);const [errorTextPath, setErrorTextPath] = useState<boolean>(false);const [errorTextName, setErrorTextName] = useState<boolean>(false);@@ -163,6 +172,11 @@ function CreateEditLocationDialog(props: Props) {const [endpointURL, setEndpointURL] = useState<string>(selectedLocation ? selectedLocation.endpointURL : '',);+ const [encryptionKey, setEncryptionKey] = useState<string>(+ selectedLocation && selectedLocation.encryptionKey+ ? selectedLocation.encryptionKey+ : '',+ );const [authType, setAuthType] = useState<string>('password');const [isDefault, setIsDefault] = useState<boolean>(selectedLocation ? selectedLocation.isDefault : false,@@ -319,6 +333,13 @@ function CreateEditLocationDialog(props: Props) {} else if (!checkOnly) {setCloudErrorSecretAccessKey(false);}++ if (encryptionKey && encryptionKey.length < 32) {+ if (checkOnly) return true;+ setCloudErrorSecretAccessKey(true);+ } else if (!checkOnly) {+ setCloudErrorSecretAccessKey(false);+ }return false;};@@ -375,6 +396,18 @@ function CreateEditLocationDialog(props: Props) {const { open, onClose } = props;+ const preConfirm = () => {+ if (+ type === locationType.TYPE_CLOUD &&+ selectedLocation &&+ encryptionKey !== selectedLocation.encryptionKey+ ) {+ setConfirmEncryptionChanged(true);+ } else {+ onConfirm();+ }+ };+const onConfirm = () => {if (!disableConfirmButton()) {let loc;@@ -423,6 +456,7 @@ function CreateEditLocationDialog(props: Props) {path: storePath,paths: [storePath],endpointURL,+ encryptionKey,accessKeyId,secretAccessKey,sessionToken,@@ -548,7 +582,7 @@ function CreateEditLocationDialog(props: Props) {if (event.key === 'Enter' || event.keyCode === 13) {event.preventDefault();event.stopPropagation();- onConfirm();+ preConfirm();}// } else if (event.key === 'Escape') {// onClose();@@ -571,6 +605,24 @@ function CreateEditLocationDialog(props: Props) {padding: 8,}}>+ <ConfirmDialog+ open={isConfirmEncryptionChanged}+ onClose={() => {+ setConfirmEncryptionChanged(false);+ }}+ title={t('core:confirm')}+ content={t('core:confirmEncryptionChanged')}+ confirmCallback={(result) => {+ if (result) {+ onConfirm();+ } else {+ setConfirmEncryptionChanged(false);+ }+ }}+ cancelDialogTID="cancelConfirmEncryptionChanged"+ confirmDialogTID="confirmConfirmEncryptionChanged"+ confirmDialogContentTID="confirmConfirmEncryptionChangedContent"+ /><Accordion defaultExpanded><AccordionDetails style={{ paddingTop: 16 }}><FormGroup>@@ -716,56 +768,6 @@ function CreateEditLocationDialog(props: Props) {</AccordionSummary><AccordionDetails><FormGroup style={{ width: '100%' }}>- <FormControl fullWidth={true}>- <TextField- required- margin="dense"- name="newuuid"- fullWidth={true}- data-tid="newuuid"- placeholder="Unique location identifier"- onChange={(event) => setNewLocationID(event.target.value)}- value={newuuid}- label={t('core:locationId')}- InputProps={{- endAdornment: (- <InputAdornment position="end" style={{ height: 32 }}>- <Tooltip title="Generates new unique identifier for this location">- <IconButton- onClick={() => {- const result = confirm(- 'Changing the identifier of a location, will invalidate all the internal sharing links (tslinks) leading to files and folders in this location. Do you want to continue?',- );- if (result) {- setNewLocationID(getUuid());- }- }}- size="large"- >- <IDIcon />- </IconButton>- </Tooltip>- </InputAdornment>- ),- }}- />- </FormControl>- <FormControl fullWidth={true}>- <TextField- margin="dense"- name="autoOpenedFilename"- fullWidth={true}- data-tid="autoOpenedFilenameTID"- placeholder={- t('core:forExample') + ': index.md, index.html or readme.md'- }- onChange={(event) =>- setAutoOpenedFilename(event.target.value)- }- value={autoOpenedFilename}- label={t('core:autoOpenedFilename')}- />- </FormControl><FormControlLabelclassName={classes.formControl}labelPlacement="start"@@ -970,6 +972,22 @@ function CreateEditLocationDialog(props: Props) {}/>)}+ <FormControl fullWidth={true}>+ <TextField+ margin="dense"+ name="autoOpenedFilename"+ fullWidth={true}+ data-tid="autoOpenedFilenameTID"+ placeholder={+ t('core:forExample') + ': index.md, index.html or readme.md'+ }+ onChange={(event) =>+ setAutoOpenedFilename(event.target.value)+ }+ value={autoOpenedFilename}+ label={t('core:autoOpenedFilename')}+ />+ </FormControl><><FormControlLabelclassName={classes.formControl}@@ -1037,9 +1055,109 @@ function CreateEditLocationDialog(props: Props) {/>)}</>+ <FormControl fullWidth={true} style={{ marginTop: 10 }}>+ <TextField+ required+ margin="dense"+ name="newuuid"+ fullWidth={true}+ data-tid="newuuid"+ placeholder="Unique location identifier"+ onChange={(event) => setNewLocationID(event.target.value)}+ value={newuuid}+ label={t('core:locationId')}+ InputProps={{+ endAdornment: (+ <InputAdornment position="end" style={{ height: 32 }}>+ <Tooltip title="Generates new unique identifier for this location">+ <IconButton+ onClick={() => {+ const result = confirm(+ 'Changing the identifier of a location, will invalidate all the internal sharing links (tslinks) leading to files and folders in this location. Do you want to continue?',+ );+ if (result) {+ setNewLocationID(getUuid());+ }+ }}+ size="large"+ >+ <IDIcon />+ </IconButton>+ </Tooltip>+ </InputAdornment>+ ),+ }}+ />+ </FormControl></FormGroup></AccordionDetails></Accordion>+ {type === locationType.TYPE_CLOUD && (+ <Accordion>+ <AccordionSummary+ data-tid="switchEncryptionTID"+ expandIcon={<ExpandIcon />}+ aria-controls="panelEncryption-content"+ id="panelEncryption-header"+ >+ <Typography>+ {t('core:switchEncryption')}+ <BetaLabel />+ </Typography>+ </AccordionSummary>+ <AccordionDetails>+ <FormControl fullWidth={true}>+ <FormLabel>{t('encryptionExplanation')}</FormLabel>+ <TextField+ margin="dense"+ name="encryptionKey"+ type={showEncryptionKey ? 'text' : 'password'}+ fullWidth={true}+ inputProps={{ autoCorrect: 'off', autoCapitalize: 'none' }}+ data-tid="encryptionKeyTID"+ placeholder={t('encryptionKeyExplanation')}+ onChange={(event) => setEncryptionKey(event.target.value)}+ value={encryptionKey}+ label={t('core:encryptionKey')}+ InputProps={{+ endAdornment: (+ <InputAdornment position="end">+ <TooltipTS title={t('toggleKeyVisibility')}>+ <IconButton+ aria-label="toggle key visibility"+ onClick={() =>+ setShowEncryptionKey(!showEncryptionKey)+ }+ >+ {showEncryptionKey ? (+ <Visibility />+ ) : (+ <VisibilityOff />+ )}+ </IconButton>+ </TooltipTS>+ <TooltipTS title={t('generateEncryptionKey')}>+ <IconButton+ aria-label="generate encryption key"+ onClick={() =>+ setEncryptionKey(+ CryptoJS.lib.WordArray.random(32)+ .toString(CryptoJS.enc.Hex)+ .slice(0, 32),+ )+ }+ >+ <PasswordIcon />+ </IconButton>+ </TooltipTS>+ </InputAdornment>+ ),+ }}+ />+ </FormControl>+ </AccordionDetails>+ </Accordion>+ )}</DialogContent><DialogActionsstyle={fullScreen ? { padding: '10px 30px 30px 30px' } : {}}@@ -1047,7 +1165,7 @@ function CreateEditLocationDialog(props: Props) {<Button onClick={() => onClose()}>{t('core:cancel')}</Button><Buttondisabled={disableConfirmButton()}- onClick={onConfirm}+ onClick={preConfirm}data-tid="confirmLocationCreation"color="primary"variant="contained"diff --git a/src/renderer/components/dialogs/ObjectStoreForm.tsx b/src/renderer/components/dialogs/ObjectStoreForm.tsxindex 5ae2e66f6..5ed9b1b9c 100644--- a/src/renderer/components/dialogs/ObjectStoreForm.tsx+++ b/src/renderer/components/dialogs/ObjectStoreForm.tsx@@ -26,6 +26,7 @@ import InputAdornment from '@mui/material/InputAdornment';import Visibility from '@mui/icons-material/Visibility';import VisibilityOff from '@mui/icons-material/VisibilityOff';import { useTranslation } from 'react-i18next';+import TooltipTS from '../Tooltip';/*** https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html@@ -215,13 +216,17 @@ function ObjectStoreForm(props: Props) {InputProps={{endAdornment: (<InputAdornment position="end">- <IconButton- aria-label="toggle password visibility"- onClick={() => setShowSecretAccessKey(!showSecretAccessKey)}- size="large"- >- {showSecretAccessKey ? <Visibility /> : <VisibilityOff />}- </IconButton>+ <TooltipTS title={t('toggleKeyVisibility')}>+ <IconButton+ aria-label="toggle password visibility"+ onClick={() =>+ setShowSecretAccessKey(!showSecretAccessKey)+ }+ size="large"+ >+ {showSecretAccessKey ? <Visibility /> : <VisibilityOff />}+ </IconButton>+ </TooltipTS></InputAdornment>),}}diff --git a/src/renderer/hooks/CurrentLocationContextProvider.tsx b/src/renderer/hooks/CurrentLocationContextProvider.tsxindex 96567f68a..6acec4b36 100644--- a/src/renderer/hooks/CurrentLocationContextProvider.tsx+++ b/src/renderer/hooks/CurrentLocationContextProvider.tsx@@ -126,15 +126,13 @@ export const CurrentLocationContextProvider = ({const { t } = useTranslation();const { showNotification } = useNotificationContext();- const locations: TS.Location[] = useSelector(getLocations);+ const locations: CommonLocation[] = useSelector(getLocations);const defaultLocationId = useSelector(getDefaultLocationId);const settingsPersistTagsInSidecarFile: boolean = useSelector(getPersistTagsInSidecarFile,);- const allLocations = useRef<CommonLocation[]>(- locations.map((l) => new CommonLocation(l)),- );+ const allLocations = useRef<CommonLocation[]>(locations);const currentLocation = useRef<string>(defaultLocationId);const selectedLocation = useRef<CommonLocation>(undefined);const skipInitialDirList = useRef<boolean>(false);@@ -423,7 +421,7 @@ export const CurrentLocationContextProvider = ({const location: CommonLocation = useMemo(() => findLocation(),- [currentLocation.current],+ [currentLocation.current, allLocations.current],);const readOnlyMode: boolean = useMemo(() => {diff --git a/src/renderer/hooks/DirectoryContentContextProvider.tsx b/src/renderer/hooks/DirectoryContentContextProvider.tsxindex b9ae5bd8b..6d6dded42 100644--- a/src/renderer/hooks/DirectoryContentContextProvider.tsx+++ b/src/renderer/hooks/DirectoryContentContextProvider.tsx@@ -399,6 +399,7 @@ export const DirectoryContentContextProvider = ({action.source !== 'upload' &&action.source !== 'thumbgen' &&action.entry &&+ action.entry.path &&action.entry.path.indexOf(currentLocation?.getDirSeparator() + AppConfig.metaFolder,) === -1@@ -1082,11 +1083,17 @@ export const DirectoryContentContextProvider = ({.getPropertiesPromise(entryPath).then((entryProps: TS.FileSystemEntry) => {if (entryProps) {- const entry = { ...entryProps, locationID: location.uuid };- if (!entryProps.isFile) {- return getEnhancedDir(entry);+ if (typeof entryProps === 'boolean') {+ /*if(entryProps){+ showNotification('Can\'t get '+entryPath+' maybe the file is encrypted?');+ }*/+ } else {+ const entry = { ...entryProps, locationID: location.uuid };+ if (!entryProps.isFile) {+ return getEnhancedDir(entry);+ }+ return getEnhancedFile(entry);}- return getEnhancedFile(entry);}console.log('Error getting props for ' + entryPath);return undefined;diff --git a/src/renderer/hooks/OpenedEntryContextProvider.tsx b/src/renderer/hooks/OpenedEntryContextProvider.tsxindex e38380a9d..454ce0ef3 100644--- a/src/renderer/hooks/OpenedEntryContextProvider.tsx+++ b/src/renderer/hooks/OpenedEntryContextProvider.tsx@@ -537,11 +537,15 @@ export const OpenedEntryContextProvider = ({if (entry) {return openFsEntry(entry, showDetails);} else {- showNotification(- 'File ' + fsEntry.path + ' not exist on filesystem!',- 'warning',- true,- );+ if (typeof entry === 'boolean') {+ if (!entry) {+ showNotification(+ 'File ' + fsEntry.path + ' not exist on filesystem!',+ 'warning',+ true,+ );+ }+ }return openFsEntry(fsEntry, showDetails);}})diff --git a/src/renderer/hooks/PlatformFacadeContextProvider.tsx b/src/renderer/hooks/PlatformFacadeContextProvider.tsxindex 321ccf034..38ed60aca 100644--- a/src/renderer/hooks/PlatformFacadeContextProvider.tsx+++ b/src/renderer/hooks/PlatformFacadeContextProvider.tsx@@ -43,6 +43,7 @@ interface PlatformParms {lmdt?: number;locationID?: string;total?: number;+ encryptionKey?: string;}interface getLocationProps extends Omit<PlatformParms, 'path'> {// All the properties from PlatformParms, except 'path'@@ -168,8 +169,7 @@ export const PlatformFacadeContextProvider = ({reflectDeleteEntries,setReflectActions,} = useEditedEntryContext();- const { currentLocation, locations, findLocation } =- useCurrentLocationContext();+ const { currentLocation, findLocation } = useCurrentLocationContext();const { getAllPropertiesPromise } = useDirectoryContentContext();const { ignoreByWatcher, deignoreByWatcher, ignored } = useFSWatcherContext(); //watcher@@ -733,7 +733,7 @@ export const PlatformFacadeContextProvider = ({deleteEntriesPromise,setFolderThumbnailPromise,};- }, [ignored, currentLocation, locations]); //watcher+ }, [ignored, currentLocation]); //watcherreturn (<PlatformFacadeContext.Provider value={context}>diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.jsonindex 680533ffa..0ed23ae4a 100644--- a/src/renderer/locales/en/core.json+++ b/src/renderer/locales/en/core.json@@ -674,6 +674,9 @@"contactUs": "Contact us","sessionToken": "Session Token","s3serviceURL": "URL of the S3 service",+ "encryptionKeyExplanation": "32 characters long encryption key (SSE type C)",+ "encryptionKey": "Key for Server-side Encryption",+ "encryptedTooltip": "File is encrypted","webdavServiceURL": "URL of the Webdav service","print": "Print","advancedSearch": "Advanced Search",@@ -841,5 +844,10 @@"copyright": "Copyright","modificationDate": "Modification Date","noSelectedEntryError": "No Selected Entries",+ "confirmEncryptionChanged": "After changing the encryption key, you will not be able to decrypt files encrypted with the old key. Are you sure you want to continue?",+ "encryptionExplanation": "This is an experimental feature, which can lead to loosing data if you forget the following bucket encryption key. Use with caution!!!",+ "switchEncryption": "Server Side Encryption",+ "generateEncryptionKey": "Generate random encryption key",+ "toggleKeyVisibility": "Toggle key visibility","-": "-"}diff --git a/src/renderer/perspectives/grid/components/GridPagination.tsx b/src/renderer/perspectives/grid/components/GridPagination.tsxindex 3c760cee6..745e5dbff 100644--- a/src/renderer/perspectives/grid/components/GridPagination.tsx+++ b/src/renderer/perspectives/grid/components/GridPagination.tsx@@ -257,6 +257,7 @@ function GridPagination(props: Props) {</Box>)}<Box+ data-tid={'allFilesCount' + allFilesCount}style={{paddingBottom: 5,marginTop: 10,diff --git a/src/renderer/reducers/locations.ts b/src/renderer/reducers/locations.tsindex 86768b103..e30094801 100644--- a/src/renderer/reducers/locations.ts+++ b/src/renderer/reducers/locations.ts@@ -32,7 +32,7 @@ export const types = {export const initialState = [];-function toTsLocation(location: CommonLocation): TS.Location {+function toTsLocation(location: CommonLocation): TS.S3Location {return {uuid: location.uuid || getUuid(),name: location.name,@@ -67,17 +67,26 @@ function toTsLocation(location: CommonLocation): TS.Location {}),...(location.creationDate && { creationDate: location.creationDate }),...(location.lastEditedDate && { lastEditedDate: location.lastEditedDate }),+ ...(location.accessKeyId && { accessKeyId: location.accessKeyId }),+ ...(location.secretAccessKey && {+ secretAccessKey: location.secretAccessKey,+ }),+ ...(location.sessionToken && { sessionToken: location.sessionToken }),+ ...(location.bucketName && { bucketName: location.bucketName }),+ ...(location.region && { region: location.region }),+ ...(location.endpointURL && { endpointURL: location.endpointURL }),+ ...(location.encryptionKey && { encryptionKey: location.encryptionKey }),};}-export default (state: Array<TS.Location> = initialState, action: any) => {+export default (state: Array<TS.S3Location> = initialState, action: any) => {switch (action.type) {case types.ADD_LOCATION: {const locations = action.location.isDefault? state.map((location) => ({ ...location, isDefault: false })): [...state];- const newLocation: TS.Location = {+ const newLocation: TS.S3Location = {...toTsLocation(action.location),creationDate: new Date().getTime(),lastEditedDate: new Date().getTime(),@@ -105,12 +114,12 @@ export default (state: Array<TS.Location> = initialState, action: any) => {return [...state.slice(0, indexForEditing),{- ...state[indexForEditing],+ // ...state[indexForEditing],...toTsLocation(action.location),uuid:action.location.newuuid !== undefined? action.location.newuuid- : action.location.uuid,+ : action.location.uuid || state[indexForEditing],lastEditedDate: new Date().getTime(),},...state.slice(indexForEditing + 1),@@ -210,7 +219,8 @@ export const actions = {};// Selectors-export const getLocations = (state: any): TS.Location[] => state.locations;+export const getLocations = (state: any): CommonLocation[] =>+ state.locations.map((l) => new CommonLocation(l));export const getDefaultLocationId = (state: any): string | undefined => {let foundLocation = state.locations.find((location) => location.isDefault);return foundLocation ? foundLocation.uuid : undefined;diff --git a/src/renderer/tagspaces.namespace.d.ts b/src/renderer/tagspaces.namespace.d.tsindex 14a5ed30e..cb1cb3e0e 100644--- a/src/renderer/tagspaces.namespace.d.ts+++ b/src/renderer/tagspaces.namespace.d.ts@@ -55,6 +55,7 @@ export namespace TS {bucketName?: string;region?: string;endpointURL?: string;+ encryptionKey?: string;s3API?: AWS.S3;}@@ -190,6 +191,7 @@ export namespace TS {extension?: string;textContent?: string;tags?: TS.Tag[];+ isEncrypted?: boolean;size: number;lmdt: number;path: string;diff --git a/src/renderer/utils/CommonLocation.ts b/src/renderer/utils/CommonLocation.tsindex a982a460b..02bac9ce3 100644--- a/src/renderer/utils/CommonLocation.ts+++ b/src/renderer/utils/CommonLocation.ts@@ -48,6 +48,7 @@ export class CommonLocation implements TS.Location {secretAccessKey?: string;sessionToken?: string;bucketName?: string;+ encryptionKey?: string;region?: string;endpointURL?: string;autoOpenedFilename?: string;@@ -87,6 +88,7 @@ export class CommonLocation implements TS.Location {this.secretAccessKey = (location as TS.S3Location).secretAccessKey;this.sessionToken = (location as TS.S3Location).sessionToken;this.bucketName = (location as TS.S3Location).bucketName;+ this.encryptionKey = (location as TS.S3Location).encryptionKey; // '12345678901234567890123456789012';this.region = (location as TS.S3Location).region;this.endpointURL = (location as TS.S3Location).endpointURL;this.ioAPI = require('@tagspaces/tagspaces-common-aws3'); //objectStoreAPI.getS3Api(location);@@ -298,6 +300,7 @@ export class CommonLocation implements TS.Location {path,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),});}return this.ioAPI.getPropertiesPromise(path);@@ -317,6 +320,7 @@ export class CommonLocation implements TS.Location {path: file,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),});} else if (AppConfig.isCordova) {return this.ioAPI.checkFileExist(file);@@ -379,6 +383,7 @@ export class CommonLocation implements TS.Location {path,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),};url = await this.ioAPI.getURLforPath(param, expirationInSeconds);} else if (this.haveWebDavSupport()) {@@ -446,6 +451,7 @@ export class CommonLocation implements TS.Location {path: sourceFilePath,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},targetFilePath,);@@ -475,6 +481,7 @@ export class CommonLocation implements TS.Location {path: filePath,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},newFilePath,onProgress,@@ -503,6 +510,7 @@ export class CommonLocation implements TS.Location {path: dirPath,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},newDirName,);@@ -530,6 +538,7 @@ export class CommonLocation implements TS.Location {...param,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},newDirPath,onProgress,@@ -559,6 +568,7 @@ export class CommonLocation implements TS.Location {...param,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},newDirPath,onProgress,@@ -588,6 +598,7 @@ export class CommonLocation implements TS.Location {...param,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},content,overwrite,@@ -617,6 +628,7 @@ export class CommonLocation implements TS.Location {...param,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},content,overwrite,@@ -650,6 +662,7 @@ export class CommonLocation implements TS.Location {...param,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},content,overwrite,@@ -757,6 +770,7 @@ export class CommonLocation implements TS.Location {path: filePath,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},isPreview,);@@ -780,6 +794,7 @@ export class CommonLocation implements TS.Location {path: filePath,bucketName: this.bucketName,location: this,+ ...(this.encryptionKey && { encryptionKey: this.encryptionKey }),},type,);diff --git a/tests/e2e/file.properties.helpers.js b/tests/e2e/file.properties.helpers.jsindex 84b6a397f..fd469f8c2 100644--- a/tests/e2e/file.properties.helpers.js+++ b/tests/e2e/file.properties.helpers.js@@ -41,7 +41,7 @@ export async function AddRemovePropertiesTags(const tagName = tagNames[i];const propsTags = await getPropertiesTags();expect(propsTags.includes(tagName)).toBe(false);- await setInputKeys('PropertiesTagsSelectTID', tagName, 20);+ await setInputKeys('PropertiesTagsSelectTID', tagName, 100);//await setInputValue('[data-tid=PropertiesTagsSelectTID] input', tagName);// await clickOn('[data-tid=PropertiesTagsSelectTID]');await global.client.keyboard.press('Enter');diff --git a/tests/e2e/folder.pw.e2e.js b/tests/e2e/folder.pw.e2e.jsindex fa02d3aa9..3d2307839 100644--- a/tests/e2e/folder.pw.e2e.js+++ b/tests/e2e/folder.pw.e2e.js@@ -243,7 +243,11 @@ test.describe('TST01 - Folder management', () => {test.skip('TST0113 - Delete not empty folder to trashcan [electron]', async () => {});+ /**+ * in old minio preSigned URL for thumbnails cannot be opened SignatureDoesNotMatch error+ */test('TST0114 - Use as thumbnail for parent folder [web,minio,electron,_pro]', async () => {+ //await global.client.waitForTimeout(10000000);const fileName = 'sample.jpg';await openContextEntryMenu(getGridFileSelector(fileName),@@ -261,11 +265,15 @@ test.describe('TST01 - Folder management', () => {getGridFileSelector('empty_folder'),'openDirectory',);+ await expectElementExist(getGridFileSelector(fileName), true, 5000);+ const folderThumbStyle = await getAttribute(+ '[data-tid=folderThumbTID]',+ 'style',+ );const initScreenshot = await getElementScreenshot('[data-tid=folderThumbTID]',);- //await expectElementExist('[data-tid=folderThumbTID]', false, 100000);- const folderThumbStyle = getAttribute('[data-tid=folderThumbTID]', 'style');+await openContextEntryMenu(getGridFileSelector(fileName), 'setAsThumbTID');const newStyle = await waitUntilChanged(@@ -274,6 +282,8 @@ test.describe('TST01 - Folder management', () => {'style',);+ // await global.client.waitForTimeout(1000000);+const withThumbScreenshot = await getElementScreenshot('[data-tid=folderThumbTID]',);@@ -283,6 +293,13 @@ test.describe('TST01 - Folder management', () => {await clickOn('[data-tid=changeThumbnailTID]');await clickOn('[data-tid=clearThumbnail]');+ //await global.client.waitForTimeout(100000);++ await global.client.waitForSelector('[data-tid=clearThumbnail]', {+ timeout: 5000,+ state: 'hidden',+ });+await waitUntilChanged('[data-tid=folderThumbTID]', newStyle, 'style');const thumbRemovedScreenshot = await getElementScreenshot(diff --git a/tests/e2e/general.helpers.js b/tests/e2e/general.helpers.jsindex bfa552aac..72928a7b4 100644--- a/tests/e2e/general.helpers.js+++ b/tests/e2e/general.helpers.js@@ -816,10 +816,10 @@ export async function openFolder(folderName) {);}-export async function openFile(fileName) {+export async function openFile(fileName, menuOption = 'fileMenuOpenFile') {await openContextEntryMenu(getGridFileSelector(fileName), // perspectiveGridTable + firstFile,- 'fileMenuOpenFile',+ menuOption,);await expectElementExist('[data-tid=OpenedTID' + dataTidFormat(fileName) + ']',diff --git a/tests/e2e/general.pw.e2e.js b/tests/e2e/general.pw.e2e.jsindex 5ffcf9ca5..80bd9546c 100644--- a/tests/e2e/general.pw.e2e.js+++ b/tests/e2e/general.pw.e2e.js@@ -24,11 +24,16 @@ import {getGridFileSelector,isDisplayed,openFolder,+ frameLocator,+ dnd,+ setSettings,} from './general.helpers';import { startTestingApp, stopApp, testDataRefresh } from './hook';import { clearDataStorage, closeWelcomePlaywright } from './welcome.helpers';import { openContextEntryMenu } from './test-utils';import { stopServices } from '../setup-functions';+import { dataTidFormat } from '../../src/renderer/services/test';+import { formatDateTime4Tag } from '@tagspaces/tagspaces-common/misc';export const firstFile = '/span';export const perspectiveGridTable = '//*[@data-tid="perspectiveGridFileTable"]';@@ -173,21 +178,44 @@ test.describe('TST51 - Perspective Grid', () => {});test('TST0510a - Generate thumbnail from JPG w. rotation from EXIF [web,minio,electron]', async () => {- await clickOn(getGridFileSelector('sample_exif[iptc].jpg'));+ const fileName = 'sample_exif[iptc].jpg';+ await clickOn(getGridFileSelector(fileName));+ await expectElementExist(+ '[data-tid=OpenedTID' + dataTidFormat(fileName) + ']',+ true,+ 5000,+ );const iframeElement = await global.client.waitForSelector('iframe');const frame = await iframeElement.contentFrame();- await frame.click('#extFabMenu');- await frame.click('#exifButton');+ await isDisplayed('#imageContent', true, 8000, frame);++ const fLocator = await frameLocator();+ const fabMenu = await fLocator.locator('#extFabMenu');+ await fabMenu.click();+ const exifButton = await fLocator.locator('#exifButton');+ await exifButton.click();+ /*+ await frame.click('#extFabMenu');+ await frame.click('#exifButton');+ */let latExists = await isDisplayed('#exifTableBody tr:has(th:has-text("GPSLatitude")) td',true,- 5000,+ 8000,frame,);expect(latExists).toBeTruthy();+ //check iptc+ let iptcExists = await isDisplayed(+ '#exifTableBody tr:has(th:has-text("bylineTitle")) td',+ true,+ 8000,+ frame,+ );+ expect(iptcExists).toBeTruthy();});test('TST0511 - Generate thumbnail from Videos [electron]', async () => {@@ -256,4 +284,31 @@ test.describe('TST51 - Perspective Grid', () => {5000,);});++ test('TST0530 - Adding sidecar geo or custom date tag with dnd [web,minio,electron]', async () => {+ const tagName = 'custom-date';+ const sourceTagGroup = 'Smart Tags';++ await setSettings('[data-tid=settingsSetPersistTagsInSidecarFile]', true);+ await clickOn('[data-tid=tagLibrary]');+ await expectElementExist(+ '[data-tid=tagContainer_' + tagName + ']',+ true,+ 3000,+ '[data-tid=tagGroupContainer_' + dataTidFormat(sourceTagGroup) + ']',+ );+ await dnd(+ '[data-tid=tagContainer_' + tagName + ']',+ getGridFileSelector('sample.txt'),+ );+ await clickOn('[data-tid=showTimeTID]');+ await clickOn('[data-tid=confirmEditTagEntryDialog]');++ await expectElementExist(+ '[data-tid=tagContainer_' + formatDateTime4Tag(new Date(), false) + ']',+ true,+ 8000,+ '[data-tid=perspectiveGridFileTable]',+ );+ });});diff --git a/tests/e2e/hook.js b/tests/e2e/hook.jsindex 963d7e4a7..0eeb4185c 100644--- a/tests/e2e/hook.js+++ b/tests/e2e/hook.js@@ -80,11 +80,29 @@ export async function copyExtConfig(extconfig = 'extconfig-with-welcome.js') {'web' + (global.isS3 ? 's3' : '') + extconfig,);+ if (!fse.existsSync(srcDir)) {+ srcDir = pathLib.join(+ __dirname,+ '..',+ '..',+ 'scripts',+ (global.isS3 ? 's3' : '') + extconfig,+ );+ }if (!fse.existsSync(srcDir)) {srcDir = pathLib.join(__dirname, '..', '..', 'scripts', extconfig);}} else {- srcDir = pathLib.join(__dirname, '..', '..', 'scripts', extconfig);+ srcDir = pathLib.join(+ __dirname,+ '..',+ '..',+ 'scripts',+ (global.isS3 ? 's3' : '') + extconfig,+ );+ if (!fse.existsSync(srcDir)) {+ srcDir = pathLib.join(__dirname, '..', '..', 'scripts', extconfig);+ }}const destDir = pathLib.join(__dirname,diff --git a/tests/e2e/search.pw.e2e.js b/tests/e2e/search.pw.e2e.jsindex 361312e7e..17098a39e 100644--- a/tests/e2e/search.pw.e2e.js+++ b/tests/e2e/search.pw.e2e.js@@ -5,6 +5,7 @@ import {expectElementSelected,getGridFileName,getGridFileSelector,+ openFile,selectorFile,setSettings,takeScreenshot,@@ -40,6 +41,7 @@ import { openContextEntryMenu } from './test-utils';import { dataTidFormat } from '../../src/renderer/services/test';import { AddRemoveTagsToSelectedFiles } from './perspective-grid.helpers';import { stopServices } from '../setup-functions';+import { AddRemovePropertiesTags } from './file.properties.helpers';let s3ServerInstance;let webServerInstance;@@ -148,9 +150,13 @@ test.describe('TST06 - Test Search in file structure:', () => {// expected to reset all search engine});*/- test('TST0609 - Show thumbnails of image files in the search results [web,electron]', async () => {+ test('TST0609 - Show thumbnails of image files in the search results [web,minio,electron]', async () => {+ await global.client.waitForSelector('img[alt="thumbnail image"]', {+ visible: true,+ });const searchQuery = 'sample_exif.jpg'; //'jpg';await addSearchCommand(searchQuery, true);+ await expectElementExist('[data-tid=allFilesCount1]', true, 5000);await global.client.waitForSelector('img[alt="thumbnail image"]', {visible: true,});@@ -435,4 +441,24 @@ test.describe('TST06 - Test Search in file structure:', () => {);await expectElementExist(getGridFileSelector('text_file.txt'), true, 5000);});++ test('TST0647 - Search by new sidecar tag [web,minio,electron]', async () => {+ await setSettings('[data-tid=settingsSetPersistTagsInSidecarFile]', true);+ const tag = 'test-tag10';+ const fileName = 'sample';+ const fileExt = 'jpg';+ await openFile(fileName + '.' + fileExt, 'showPropertiesTID');+ await AddRemovePropertiesTags([tag], {+ add: true,+ remove: false,+ });+ await addSearchCommand('+' + tag, true);+ //const selector = getGridFileSelector('sample[' + tag + '].' + fileExt);+ //console.log('selector:'+selector)+ await expectElementExist(+ getGridFileSelector(fileName + '.' + fileExt),+ true,+ 5000,+ );+ });});diff --git a/tests/e2e/tag.pw.e2e.js b/tests/e2e/tag.pw.e2e.jsindex ee8642148..9b82356eb 100644--- a/tests/e2e/tag.pw.e2e.js+++ b/tests/e2e/tag.pw.e2e.js@@ -121,7 +121,7 @@ test.describe('TST04 - Testing the tag library:', () => {await deleteTagGroup(testGroup);});- test('TST0405 - Should add tag to a tag group [web,electron]', async () => {+ /*test('TST0405 - Should add tag to a tag group [web,electron]', async () => {await createTagGroup(testGroup);await clickOn('[data-tid=tagLibraryMoreButton_' + testGroup + ']');await addTags([newTagName]);@@ -130,9 +130,7 @@ test.describe('TST04 - Testing the tag library:', () => {true,);await deleteTagGroup(testGroup);- });-- test.skip('TST0406 - Import tag groups [manual]', async () => {});+ });*/test('TST0405 - Add tag (s) Should add comma separated tags to a tag group [web,electron]', async () => {await createTagGroup(testGroup);@@ -142,11 +140,14 @@ test.describe('TST04 - Testing the tag library:', () => {await expectElementExist('[data-tid=tagContainer_' + arrTags[i] + ']',true,+ 5000,);}await deleteTagGroup(testGroup);});+ test.skip('TST0406 - Import tag groups [manual]', async () => {});+test('TST0407 - Should rename tag [web,electron]', async () => {await tagMenu('done', 'editTagDialog');await setInputValue('[data-tid=editTagInput] input', testTagName);