π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi3c0d12250e6d
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsxindex 22c3185a72..674193c22e 100644--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx@@ -1,7 +1,6 @@import log from "@/base/log";import { bytesInGB } from "@/new/photos/utils/units";import { SpaceBetweenFlex } from "@ente/shared/components/Container";-import { SUPPORT_EMAIL } from "@ente/shared/constants/urls";import Close from "@mui/icons-material/Close";import { IconButton, Link, Stack } from "@mui/material";import Box from "@mui/material/Box";@@ -166,9 +165,9 @@ function PlanSelectorCard(props: Props) {<Transi18nKey={"MAIL_TO_MANAGE_SUBSCRIPTION"}components={{- a: <Link href={`mailto:${SUPPORT_EMAIL}`} />,+ a: <Link href="mailto:[email protected]" />,}}- values={{ emailID: SUPPORT_EMAIL }}+ values={{ emailID: "[email protected]" }}/>),close: { variant: "secondary" },diff --git a/web/apps/photos/src/components/pages/sharedAlbum/GoToEnte.tsx b/web/apps/photos/src/components/pages/sharedAlbum/GoToEnte.tsxindex bc27bd30c2..6df4c357fb 100644--- a/web/apps/photos/src/components/pages/sharedAlbum/GoToEnte.tsx+++ b/web/apps/photos/src/components/pages/sharedAlbum/GoToEnte.tsx@@ -1,4 +1,3 @@-import { ENTE_WEBSITE_LINK } from "@ente/shared/constants/urls";import { Button, styled } from "@mui/material";import { t } from "i18next";import { useEffect, useState } from "react";@@ -32,7 +31,7 @@ function GoToEnte() {<Buttoncolor="accent"LinkComponent={NoStyleAnchor}- href={ENTE_WEBSITE_LINK}+ href="https://ente.io">{getButtonText(os)}</Button>diff --git a/web/apps/photos/src/pages/shared-albums/index.tsx b/web/apps/photos/src/pages/shared-albums/index.tsxindex 7adcbbf77a..f6f2076862 100644--- a/web/apps/photos/src/pages/shared-albums/index.tsx+++ b/web/apps/photos/src/pages/shared-albums/index.tsx@@ -16,7 +16,6 @@ import SingleInputForm, {type SingleInputFormProps,} from "@ente/shared/components/SingleInputForm";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";-import { ENTE_WEBSITE_LINK } from "@ente/shared/constants/urls";import ComlinkCryptoWorker from "@ente/shared/crypto";import { CustomError, parseSharingErrorCodes } from "@ente/shared/error";import { useFileInput } from "@ente/shared/hooks/useFileInput";@@ -213,7 +212,7 @@ export default function PublicCollectionGallery() {const t = currentURL.searchParams.get("t");const ck = currentURL.hash.slice(1);if (!t && !ck) {- window.location.href = ENTE_WEBSITE_LINK;+ window.location.href = "https://ente.io";redirectingToWebsite = true;}if (!t || !ck) {diff --git a/web/packages/accounts/pages/two-factor/recover.tsx b/web/packages/accounts/pages/two-factor/recover.tsxindex a80c58b550..23632bce5f 100644--- a/web/packages/accounts/pages/two-factor/recover.tsx+++ b/web/packages/accounts/pages/two-factor/recover.tsx@@ -16,7 +16,6 @@ import LinkButton from "@ente/shared/components/LinkButton";import SingleInputForm, {type SingleInputFormProps,} from "@ente/shared/components/SingleInputForm";-import { SUPPORT_EMAIL } from "@ente/shared/constants/urls";import ComlinkCryptoWorker from "@ente/shared/crypto";import type { B64EncryptionResult } from "@ente/shared/crypto/internal/libsodium";import { ApiError } from "@ente/shared/error";@@ -155,10 +154,10 @@ const Page: React.FC<RecoverPageProps> = ({ appContext, twoFactorType }) => {content: (<Transi18nKey={"NO_TWO_FACTOR_RECOVERY_KEY_MESSAGE"}- values={{ emailID: SUPPORT_EMAIL }}components={{- a: <Link href={`mailto:${SUPPORT_EMAIL}`} />,+ a: <Link href="mailto:[email protected]" />,}}+ values={{ emailID: "[email protected]" }}/>),});diff --git a/web/packages/shared/constants/urls.ts b/web/packages/shared/constants/urls.tsdeleted file mode 100644index fcedf3841b..0000000000--- a/web/packages/shared/constants/urls.ts+++ /dev/null@@ -1,3 +0,0 @@-export const ENTE_WEBSITE_LINK = "https://ente.io";--export const SUPPORT_EMAIL = "[email protected]";