-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
80 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
diff --git a/applications/drive/src/app/components/ShareLinkModal/GeneratedLinkState.tsx b/applications/drive/src/app/components/ShareLinkModal/GeneratedLinkState.tsx | ||
index 3cb6545..4ad120b 100644 | ||
--- a/applications/drive/src/app/components/ShareLinkModal/GeneratedLinkState.tsx | ||
+++ b/applications/drive/src/app/components/ShareLinkModal/GeneratedLinkState.tsx | ||
@@ -73,7 +73,7 @@ function GeneratedLinkState({ | ||
}: Props) { | ||
const contentRef = useRef<HTMLDivElement>(null); | ||
const { createNotification } = useNotifications(); | ||
diff --git a/applications/drive/src/app/utils/FileSaver/download.ts b/applications/drive/src/app/utils/FileSaver/download.ts | ||
index 92eb4e5e2..e1664fd78 100644 | ||
--- a/applications/drive/src/app/utils/FileSaver/download.ts | ||
+++ b/applications/drive/src/app/utils/FileSaver/download.ts | ||
@@ -11,8 +11,7 @@ import { TransferMeta } from '@proton/shared/lib/interfaces/drive/transfer'; | ||
* IOS - forces all browsers to use webkit, so same problems as safari in all browsers. | ||
* For them download is done in-memory using blob response. | ||
*/ | ||
-export const isUnsupported = () => | ||
- !('serviceWorker' in navigator) || isSafari() || (isEdge() && !isEdgeChromium()) || isIos(); | ||
+export const isUnsupported = () => !('serviceWorker' in navigator) | ||
|
||
// createDownloadIframe opens download URL created in service worker to | ||
// initialize the download in the browser. The response has headers to | ||
|
||
diff --git a/applications/drive/src/app/utils/link.ts b/applications/drive/src/app/utils/link.ts | ||
index 31b5d775d..c08a2317d 100644 | ||
--- a/applications/drive/src/app/utils/link.ts | ||
+++ b/applications/drive/src/app/utils/link.ts | ||
@@ -65,7 +65,7 @@ export const getSharedLink = (sharedURL?: { Token: string; Password: string; Fla | ||
|
||
const [generatedPassword] = splitGeneratedAndCustomPassword(sharedURL.Password, sharedURL); | ||
|
||
- const baseUrl = `${window.location.origin}/urls`; | ||
+ const baseUrl = "https://drive.protonmail.com/urls"; | ||
return `${baseUrl}/${sharedURL.Token}${generatedPassword !== '' ? `#${generatedPassword}` : ''}`; | ||
}; | ||
|
||
const [password, setPassword] = useState(customPassword); | ||
const [expiration, setExpiration] = useState(initialExpiration); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ export const PROVIDER_REPO_MAP = { | |
[PROVIDER_APP_NAMES[0]]: { | ||
repoRelativeDistDir: "./dist", | ||
baseDirName: "", | ||
tag: "[email protected].1", | ||
tag: "[email protected].2", | ||
protonPack: { | ||
appConfig: {clientId: "WebMail"}, | ||
webpackIndexEntryItems: [ | ||
|
@@ -48,7 +48,7 @@ export const PROVIDER_REPO_MAP = { | |
[PROVIDER_APP_NAMES[1]]: { | ||
repoRelativeDistDir: "./dist", | ||
baseDirName: "account", | ||
tag: "proton-account@4.12.8", | ||
tag: "proton-account@4.13.0", | ||
protonPack: {appConfig: {clientId: "WebAccount"}} | ||
}, | ||
[PROVIDER_APP_NAMES[2]]: { | ||
|
@@ -67,7 +67,7 @@ export const PROVIDER_REPO_MAP = { | |
[PROVIDER_APP_NAMES[3]]: { | ||
repoRelativeDistDir: "./dist", | ||
baseDirName: "drive", | ||
tag: "proton-drive@4.6.1", | ||
tag: "proton-drive@4.7.1", | ||
protonPack: {appConfig: {clientId: "WebDrive"}}, | ||
}, | ||
} as const; | ||
|