Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔖 Release/v1.0.5 #757

Merged
merged 22 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4067816
🔖 Release Version 1.0.5-rc2
ericlinagora Nov 20, 2024
c84acf3
🔀 Merge branch 'main' into release/v1.0.5
ericlinagora Nov 20, 2024
2dea5b6
🔖 Release Version 1.0.5-rc3
ericlinagora Nov 20, 2024
f04885f
🐛 back: minio client doesn't accept string port number
ericlinagora Nov 21, 2024
5ce3618
🔖 Release Version 1.0.5-rc4
ericlinagora Nov 21, 2024
4dcab61
🐛 back: fix my mistake of editing immutable config result
ericlinagora Nov 21, 2024
f272db2
🔖 Release Version 1.0.5-rc5
ericlinagora Nov 21, 2024
8513547
🐛 back: tolerate string S3 config `useSSL`
ericlinagora Nov 21, 2024
20b3095
🔖 Release Version 1.0.5-rc6
ericlinagora Nov 21, 2024
837feb5
🐛 back,front: fixed typo in version constants
ericlinagora Nov 21, 2024
e2f5bf9
🔀 Merge branch 'main' into release/v1.0.5
ericlinagora Nov 25, 2024
88c73df
🔖 Release Version 1.0.5-rc7
ericlinagora Nov 25, 2024
ac70c04
🐛 back: fix debug mode for email-pusher
ericlinagora Nov 26, 2024
453ba2e
🔖 Release Version 1.0.5-rc8
ericlinagora Nov 26, 2024
2134935
🔀 Merge remote-tracking branch 'origin/main' into release/v1.0.5
ericlinagora Nov 26, 2024
8cf37b4
🔖 Release Version 1.0.5-rc9
ericlinagora Nov 26, 2024
4ad5556
🔀 Merge branch 'main' into release/v1.0.5
ericlinagora Nov 27, 2024
ec3d525
🔖 Release Version 1.0.5-rc10
ericlinagora Nov 27, 2024
55dc200
🩹 back: patch document retreival for application users with non UUID …
ericlinagora Nov 27, 2024
904fd47
🔖 Release Version 1.0.5-rc11
ericlinagora Nov 27, 2024
a78b5f4
🔖 Release Version 1.0.5
ericlinagora Nov 28, 2024
2f80d95
🚑️ update changelog at request of devops or they cant release
ericlinagora Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# 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*

## Features

- AntiVirus - Uploaded files are now scanned by ClamAV
- Reveal file in location

## 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
- 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

## Features
Expand All @@ -19,6 +41,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
Expand All @@ -43,6 +66,7 @@
- Add collation fix.
- Cli db seed tool


# Twake Drive v1.0.3

## Features
Expand All @@ -61,6 +85,7 @@
- A large number of minor fixes
- Translation of user notifications


# Twake Drive v1.0.2

## Features
Expand All @@ -74,6 +99,7 @@
- Refactored starting docker-compose file
- Fix navigation for shared link view


# Twake Drive v1.0.1

## Features
Expand All @@ -94,6 +120,7 @@
- Malformed URL when you share a file
- ...


# Twake Drive v2023.Q3.012

## Features
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getLogger, TdriveLogger, TdriveService } from "../../framework";
import { getConfigOrDefault } from "../../../../utils/get-config";
import EmailPusherAPI from "./provider";
import {
EmailBuilderDataPayload,
Expand Down Expand Up @@ -42,7 +43,7 @@ export default class EmailPusherClass
});
this.interface = this.configuration.get<string>("email_interface", "");
this.platformUrl = this.configuration.get<string>("platform_url", "");
this.debug = this.configuration.get<boolean>("debug", false);
this.debug = getConfigOrDefault<boolean>("email-pusher.debug", true);
if (this.interface === "smtp") {
const useTLS = this.configuration.get<string>("smtp_tls", "false") == "true";
const smtpConfig: SMTPClientConfigType = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -22,8 +23,15 @@ export default class S3ConnectorService implements StorageConnectorAPI {
id: string;

constructor(S3Configuration: S3Configuration) {
this.client = new Minio.Client(S3Configuration);
this.minioConfiguration = S3Configuration;
const confCopy = _.cloneDeep(S3Configuration) as S3Configuration;
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;
if (!this.id) {
this.id = randomUUID();
Expand Down
15 changes: 13 additions & 2 deletions tdrive/backend/node/src/services/documents/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>("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);
Expand Down
6 changes: 3 additions & 3 deletions tdrive/backend/node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
current: /* @VERSION_DETAIL */ "1.0.5-rc1",
current: /* @VERSION_DETAIL */ "1.0.5",
minimal: {
web: /* @MIN_VERSION_WEB */ "1.0.5-rc1",
mobile: /* @MIN_VERSION_MOBILE */ "1.0.5-rc1",
web: /* @MIN_VERSION_WEB */ "1.0.5",
mobile: /* @MIN_VERSION_MOBILE */ "1.0.5",
},
};
4 changes: 2 additions & 2 deletions tdrive/frontend/src/app/environment/version.ts
Original file line number Diff line number Diff line change
@@ -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',
version_detail: /* @VERSION_DETAIL */ '1.0.5',
version_name: /* @VERSION_NAME */ 'Ghost-Dog',
};