From 40678161a61f62732bbb207b6e7e91becc46cb0b Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 20 Nov 2024 13:18:07 +0100 Subject: [PATCH 01/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 24 +++++++++++++++++++ tdrive/backend/node/src/version.ts | 6 ++--- .../frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index 03b05392..daa65e82 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,22 @@ +# Twake Drive v1.0.5-rc2 + +*Note: This should be 1.0.6, but to align with internal release cycle numbering, we +will just continue 1.0.5 for this release.* + +## Features + +- AntiVirus - Uploaded files are now scanned by ClamAV + +## Fixes and Improvements + +- Push client error logs to the server logs +- Tolerate some configuration qwirks (like extra `/`s) +- Move operations now self-rename if target exists +- Minor UI fixes related to the search bar, pagination, + sorting by size, no more loading segment, and move + operation from a public link + + # Twake Drive v1.0.5-rc1 ## Features @@ -19,6 +38,7 @@ - Fix file browser vertical borders (and fix react warning) - Fix only office filename getting overwritten at session end + # Twake Drive v1.0.4 ## Features @@ -43,6 +63,7 @@ - Add collation fix. - Cli db seed tool + # Twake Drive v1.0.3 ## Features @@ -61,6 +82,7 @@ - A large number of minor fixes - Translation of user notifications + # Twake Drive v1.0.2 ## Features @@ -74,6 +96,7 @@ - Refactored starting docker-compose file - Fix navigation for shared link view + # Twake Drive v1.0.1 ## Features @@ -94,6 +117,7 @@ - Malformed URL when you share a file - ... + # Twake Drive v2023.Q3.012 ## Features diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 449761a0..98601ea9 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc1", + current: /* @VERSION_DETAIL */ "1.0.5-rc2", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc1", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc1", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc2", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc2", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index a3bc8bca..dea179c4 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc1', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc1', + version: /* @VERSION */ '1.0.5-rc2', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc2', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 2dea5b63244cf7522edd2bff47aa982e30332519 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 20 Nov 2024 15:38:34 +0100 Subject: [PATCH 02/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 7 ++++--- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/changelog.md b/changelog.md index daa65e82..6fef79ba 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,8 @@ -# Twake Drive v1.0.5-rc2 +# Twake Drive v1.0.5-rc3 -*Note: This should be 1.0.6, but to align with internal release cycle numbering, we -will just continue 1.0.5 for this release.* +*Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we +will just continue 1.0.5 for this release. `-rc3` is tiny hotfix on top caught just in +time* ## Features diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 98601ea9..2a3fc2cb 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc2", + current: /* @VERSION_DETAIL */ "v1.0.5-rc3", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc2", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc2", + web: /* @MIN_VERSION_WEB */ "v1.0.5-rc3", + mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc3", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index dea179c4..c5c8f07a 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc2', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc2', + version: /* @VERSION */ 'v1.0.5-rc3', + version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc3', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From f04885f9cf2c53a5d32206939f7bb11e17451ce6 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 10:03:39 +0100 Subject: [PATCH 03/18] =?UTF-8?q?=F0=9F=90=9B=20back:=20minio=20client=20d?= =?UTF-8?q?oesn't=20accept=20string=20port=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/platform/services/storage/connectors/S3/s3-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts index d2d16f54..04d580e8 100644 --- a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts +++ b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts @@ -22,6 +22,9 @@ export default class S3ConnectorService implements StorageConnectorAPI { id: string; constructor(S3Configuration: S3Configuration) { + if (S3Configuration.port && typeof S3Configuration.port === "string") { + S3Configuration.port = parseInt(S3Configuration.port, 10); + } this.client = new Minio.Client(S3Configuration); this.minioConfiguration = S3Configuration; this.id = this.minioConfiguration.id; From 5ce3618acbd250dd73fa27b96ed806feb7702a04 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 10:08:10 +0100 Subject: [PATCH 04/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 2a3fc2cb..efc69f88 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "v1.0.5-rc3", + current: /* @VERSION_DETAIL */ "v1.0.5-rc4", minimal: { - web: /* @MIN_VERSION_WEB */ "v1.0.5-rc3", - mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc3", + web: /* @MIN_VERSION_WEB */ "v1.0.5-rc4", + mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc4", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index c5c8f07a..b8919c30 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ 'v1.0.5-rc3', - version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc3', + version: /* @VERSION */ 'v1.0.5-rc4', + version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc4', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 4dcab6120f26bd9e8986a74ff9eb9580daed1552 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 11:20:01 +0100 Subject: [PATCH 05/18] =?UTF-8?q?=F0=9F=90=9B=20back:=20fix=20my=20mistake?= =?UTF-8?q?=20of=20editing=20immutable=20config=20result?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/storage/connectors/S3/s3-service.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts index 04d580e8..57f42610 100644 --- a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts +++ b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts @@ -3,6 +3,7 @@ import { logger } from "../../../../../../core/platform/framework"; import { Readable } from "stream"; import { StorageConnectorAPI, WriteMetadata } from "../../provider"; import { randomUUID } from "crypto"; +import _ from "lodash"; export type S3Configuration = { id: string; @@ -22,11 +23,12 @@ export default class S3ConnectorService implements StorageConnectorAPI { id: string; constructor(S3Configuration: S3Configuration) { - if (S3Configuration.port && typeof S3Configuration.port === "string") { - S3Configuration.port = parseInt(S3Configuration.port, 10); + const confCopy = _.cloneDeep(S3Configuration) as S3Configuration; + if (confCopy.port && typeof confCopy.port === "string") { + confCopy.port = parseInt(confCopy.port, 10); } - this.client = new Minio.Client(S3Configuration); - this.minioConfiguration = S3Configuration; + this.client = new Minio.Client(confCopy); + this.minioConfiguration = confCopy; this.id = this.minioConfiguration.id; if (!this.id) { this.id = randomUUID(); From f272db23f0337d48271357e42fbfa6d54932f868 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 11:24:38 +0100 Subject: [PATCH 06/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index efc69f88..02207cc3 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "v1.0.5-rc4", + current: /* @VERSION_DETAIL */ "v1.0.5-rc5", minimal: { - web: /* @MIN_VERSION_WEB */ "v1.0.5-rc4", - mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc4", + web: /* @MIN_VERSION_WEB */ "v1.0.5-rc5", + mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc5", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index b8919c30..2bef47e9 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ 'v1.0.5-rc4', - version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc4', + version: /* @VERSION */ 'v1.0.5-rc5', + version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc5', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 85135478d272dd300253f291961d1a33895b699e Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 13:00:01 +0100 Subject: [PATCH 07/18] =?UTF-8?q?=F0=9F=90=9B=20back:=20tolerate=20string?= =?UTF-8?q?=20S3=20config=20`useSSL`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/platform/services/storage/connectors/S3/s3-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts index 57f42610..e70cfc4a 100644 --- a/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts +++ b/tdrive/backend/node/src/core/platform/services/storage/connectors/S3/s3-service.ts @@ -27,6 +27,9 @@ export default class S3ConnectorService implements StorageConnectorAPI { if (confCopy.port && typeof confCopy.port === "string") { confCopy.port = parseInt(confCopy.port, 10); } + if (confCopy.useSSL && typeof confCopy.useSSL === "string") { + confCopy.useSSL = !(!confCopy.useSSL || confCopy.useSSL === "false"); + } this.client = new Minio.Client(confCopy); this.minioConfiguration = confCopy; this.id = this.minioConfiguration.id; From 20b3095ac3179a6d1584a716c59acf6b69d76590 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 13:00:57 +0100 Subject: [PATCH 08/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 02207cc3..c00b7cfb 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "v1.0.5-rc5", + current: /* @VERSION_DETAIL */ "v1.0.5-rc6", minimal: { - web: /* @MIN_VERSION_WEB */ "v1.0.5-rc5", - mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc5", + web: /* @MIN_VERSION_WEB */ "v1.0.5-rc6", + mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc6", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index 2bef47e9..a1fc68f3 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ 'v1.0.5-rc5', - version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc5', + version: /* @VERSION */ 'v1.0.5-rc6', + version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc6', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 837feb506c90d1b55a908bd8153eb2efda162abb Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 21 Nov 2024 17:21:04 +0100 Subject: [PATCH 09/18] =?UTF-8?q?=F0=9F=90=9B=20back,front:=20fixed=20typo?= =?UTF-8?q?=20in=20version=20constants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index c00b7cfb..9755d1d8 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "v1.0.5-rc6", + current: /* @VERSION_DETAIL */ "1.0.5-rc6", minimal: { - web: /* @MIN_VERSION_WEB */ "v1.0.5-rc6", - mobile: /* @MIN_VERSION_MOBILE */ "v1.0.5-rc6", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc6", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc6", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index a1fc68f3..ff2f7059 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ 'v1.0.5-rc6', - version_detail: /* @VERSION_DETAIL */ 'v1.0.5-rc6', + version: /* @VERSION */ '1.0.5-rc6', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc6', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 88c73df407ee582db9e27acc795f84f38231ffff Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Mon, 25 Nov 2024 13:34:15 +0100 Subject: [PATCH 10/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 4 +++- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 6fef79ba..873ea313 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Twake Drive v1.0.5-rc3 +# Twake Drive v1.0.5-rc3 - rc7 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we will just continue 1.0.5 for this release. `-rc3` is tiny hotfix on top caught just in @@ -7,6 +7,7 @@ time* ## Features - AntiVirus - Uploaded files are now scanned by ClamAV +- Reveal file in location ## Fixes and Improvements @@ -16,6 +17,7 @@ time* - Minor UI fixes related to the search bar, pagination, sorting by size, no more loading segment, and move operation from a public link +- Email link when folder updated by public link fixed # Twake Drive v1.0.5-rc1 diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 9755d1d8..08f97bf7 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc6", + current: /* @VERSION_DETAIL */ "1.0.5-rc7", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc6", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc6", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc7", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc7", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index ff2f7059..27b352a5 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc6', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc6', + version: /* @VERSION */ '1.0.5-rc7', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc7', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From ac70c049d1303245faa0fac1c2bd8d88601b3fde Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Tue, 26 Nov 2024 15:24:38 +0100 Subject: [PATCH 11/18] =?UTF-8?q?=F0=9F=90=9B=20back:=20fix=20debug=20mode?= =?UTF-8?q?=20for=20email-pusher?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node/src/core/platform/services/email-pusher/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/core/platform/services/email-pusher/index.ts b/tdrive/backend/node/src/core/platform/services/email-pusher/index.ts index dcdc9984..bc4b7413 100644 --- a/tdrive/backend/node/src/core/platform/services/email-pusher/index.ts +++ b/tdrive/backend/node/src/core/platform/services/email-pusher/index.ts @@ -1,4 +1,5 @@ import { getLogger, TdriveLogger, TdriveService } from "../../framework"; +import { getConfigOrDefault } from "../../../../utils/get-config"; import EmailPusherAPI from "./provider"; import { EmailBuilderDataPayload, @@ -42,7 +43,7 @@ export default class EmailPusherClass }); this.interface = this.configuration.get("email_interface", ""); this.platformUrl = this.configuration.get("platform_url", ""); - this.debug = this.configuration.get("debug", false); + this.debug = getConfigOrDefault("email-pusher.debug", true); if (this.interface === "smtp") { const useTLS = this.configuration.get("smtp_tls", "false") == "true"; const smtpConfig: SMTPClientConfigType = { From 453ba2e8714d4a8647c2a8f9f80e1ac8eb92c5a8 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Tue, 26 Nov 2024 14:00:41 +0100 Subject: [PATCH 12/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 +- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 873ea313..e88eb459 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Twake Drive v1.0.5-rc3 - rc7 +# Twake Drive v1.0.5-rc3 - rc8 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we will just continue 1.0.5 for this release. `-rc3` is tiny hotfix on top caught just in diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 08f97bf7..88c5ba8e 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc7", + current: /* @VERSION_DETAIL */ "1.0.5-rc8", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc7", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc7", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc8", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc8", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index 27b352a5..72be59ec 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc7', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc7', + version: /* @VERSION */ '1.0.5-rc8', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc8', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 8cf37b4f8d78ea59562e610882553a6da7340d27 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Tue, 26 Nov 2024 17:05:30 +0100 Subject: [PATCH 13/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 +- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index e88eb459..81251e59 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Twake Drive v1.0.5-rc3 - rc8 +# Twake Drive v1.0.5-rc3 - rc9 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we will just continue 1.0.5 for this release. `-rc3` is tiny hotfix on top caught just in diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 88c5ba8e..c295a343 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc8", + current: /* @VERSION_DETAIL */ "1.0.5-rc9", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc8", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc8", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc9", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc9", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index 72be59ec..2e017202 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc8', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc8', + version: /* @VERSION */ '1.0.5-rc9', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc9', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From ec3d52589e7e3eedce40bee9f9e5e132ed98d403 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 27 Nov 2024 13:24:30 +0100 Subject: [PATCH 14/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 6 +++--- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/changelog.md b/changelog.md index 81251e59..cb372f18 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,7 @@ -# Twake Drive v1.0.5-rc3 - rc9 +# Twake Drive v1.0.5-rc3 - rc10 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we -will just continue 1.0.5 for this release. `-rc3` is tiny hotfix on top caught just in -time* +will just continue 1.0.5 for this release* ## Features @@ -18,6 +17,7 @@ time* sorting by size, no more loading segment, and move operation from a public link - Email link when folder updated by public link fixed +- Fix download for Safari users who block popups # Twake Drive v1.0.5-rc1 diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index c295a343..4635992f 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc9", + current: /* @VERSION_DETAIL */ "1.0.5-rc10", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc9", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc9", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc10", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc10", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index 2e017202..b7edf50c 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc9', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc9', + version: /* @VERSION */ '1.0.5-rc10', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc10', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 55dc20025ae4c23b7da7d315dc3a130f9dfeea77 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 27 Nov 2024 15:46:44 +0100 Subject: [PATCH 15/18] =?UTF-8?q?=F0=9F=A9=B9=20back:=20patch=20document?= =?UTF-8?q?=20retreival=20for=20application=20users=20with=20non=20UUID=20?= =?UTF-8?q?name=20#747?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backend/node/src/services/documents/utils.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tdrive/backend/node/src/services/documents/utils.ts b/tdrive/backend/node/src/services/documents/utils.ts index dad901ef..6bae8632 100644 --- a/tdrive/backend/node/src/services/documents/utils.ts +++ b/tdrive/backend/node/src/services/documents/utils.ts @@ -50,8 +50,19 @@ export const isSharedWithMeFolder = (id: string) => { export const getVirtualFoldersNames = async (id: string, context: DriveExecutionContext) => { const configuration = new Configuration("drive"); const defaultLang = configuration.get("defaultLanguage") || "en"; - const user = await gr.services.users.get({ id: context.user?.id }); - const locale = user?.preferences?.locale || defaultLang; + const locale = await (async () => { + try { + const user = await gr.services.users.get({ id: context.user?.id }); + return user?.preferences?.locale || defaultLang; + } catch (error) { + logger.error( + { error, context }, + "Ignoring error getting user to translate root. This is expected from requests coming from applications as the user id is not a valid UUID for postgres. Defaulting to " + + defaultLang, + ); + return defaultLang; + } + })(); if (id.startsWith("user_")) { return gr.services.i18n.translate("virtual-folder.my-drive", locale); From 904fd4780d67cbe79e7d7a617e790b0fd8181ff2 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 27 Nov 2024 15:48:57 +0100 Subject: [PATCH 16/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5-?= =?UTF-8?q?rc11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 +- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index cb372f18..bd02f12a 100644 --- a/changelog.md +++ b/changelog.md @@ -18,7 +18,7 @@ will just continue 1.0.5 for this release* operation from a public link - Email link when folder updated by public link fixed - Fix download for Safari users who block popups - +- Fix for OnlyOffice based on postgres # Twake Drive v1.0.5-rc1 diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 4635992f..5c793a27 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc10", + current: /* @VERSION_DETAIL */ "1.0.5-rc11", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc10", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc10", + web: /* @MIN_VERSION_WEB */ "1.0.5-rc11", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc11", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index b7edf50c..570283aa 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc10', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc10', + version: /* @VERSION */ '1.0.5-rc11', + version_detail: /* @VERSION_DETAIL */ '1.0.5-rc11', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From a78b5f47016176ba5739430b4dd6199b1a2d9e1f Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 28 Nov 2024 22:54:55 +0100 Subject: [PATCH 17/18] =?UTF-8?q?=F0=9F=94=96=20Release=20Version=201.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 +- tdrive/backend/node/src/version.ts | 6 +++--- tdrive/frontend/src/app/environment/version.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index bd02f12a..c0e7766b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ # Twake Drive v1.0.5-rc3 - rc10 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we -will just continue 1.0.5 for this release* +will just continue 1.0.5 for this release. Canditates through `rc11` were hotfixes* ## Features diff --git a/tdrive/backend/node/src/version.ts b/tdrive/backend/node/src/version.ts index 5c793a27..80f6adac 100644 --- a/tdrive/backend/node/src/version.ts +++ b/tdrive/backend/node/src/version.ts @@ -1,7 +1,7 @@ export default { - current: /* @VERSION_DETAIL */ "1.0.5-rc11", + current: /* @VERSION_DETAIL */ "1.0.5", minimal: { - web: /* @MIN_VERSION_WEB */ "1.0.5-rc11", - mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc11", + web: /* @MIN_VERSION_WEB */ "1.0.5", + mobile: /* @MIN_VERSION_MOBILE */ "1.0.5", }, }; diff --git a/tdrive/frontend/src/app/environment/version.ts b/tdrive/frontend/src/app/environment/version.ts index 570283aa..238b4c85 100644 --- a/tdrive/frontend/src/app/environment/version.ts +++ b/tdrive/frontend/src/app/environment/version.ts @@ -1,5 +1,5 @@ export default { - version: /* @VERSION */ '1.0.5-rc11', - version_detail: /* @VERSION_DETAIL */ '1.0.5-rc11', + version: /* @VERSION */ '1.0.5', + version_detail: /* @VERSION_DETAIL */ '1.0.5', version_name: /* @VERSION_NAME */ 'Ghost-Dog', }; \ No newline at end of file From 2f80d95d7e3b8adc82be8a9f5dacf31a34061de4 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Fri, 29 Nov 2024 09:42:52 +0100 Subject: [PATCH 18/18] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20update=20changelo?= =?UTF-8?q?g=20at=20request=20of=20devops=20or=20they=20cant=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index c0e7766b..7af2eddd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Twake Drive v1.0.5-rc3 - rc10 +# Twake Drive v1.0.5 *Note: `-rc2` should be 1.0.6, but to align with internal release cycle numbering, we will just continue 1.0.5 for this release. Canditates through `rc11` were hotfixes*