Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Migrate desktop and server references to ente.com

Manav Rathi54561d8922c5
diff --git a/desktop/src/main/services/ml-worker.ts b/desktop/src/main/services/ml-worker.ts
index af08a73f3f..d539048e62 100644
--- a/desktop/src/main/services/ml-worker.ts
+++ b/desktop/src/main/services/ml-worker.ts
@@ -171,7 +171,7 @@ const downloadModel = async (saveLocation: string, name: string) => {
await fs.mkdir(saveDir, { recursive: true });
// Download.
log.info(`Downloading ML model from ${name}`);
- const url = `https://models.ente.io/${name}`;
+ const url = `https://models.ente.com/${name}`;
const res = await net.fetch(url);
if (!res.ok) throw new Error(`Failed to fetch ${url}: HTTP ${res.status}`);
const body = res.body;
diff --git a/server/mail-templates/account_deleted.html b/server/mail-templates/account_deleted.html
index 88cd423209..fc7b82395d 100644
--- a/server/mail-templates/account_deleted.html
+++ b/server/mail-templates/account_deleted.html
@@ -117,26 +117,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/account_deleted_active_sub.html b/server/mail-templates/account_deleted_active_sub.html
index 86582d81f2..60c20f0fd7 100644
--- a/server/mail-templates/account_deleted_active_sub.html
+++ b/server/mail-templates/account_deleted_active_sub.html
@@ -117,26 +117,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/base.html b/server/mail-templates/base.html
index 575a073e53..490c14e33a 100644
--- a/server/mail-templates/base.html
+++ b/server/mail-templates/base.html
@@ -109,26 +109,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/bf_2024.html b/server/mail-templates/bf_2024.html
index 7d371b913b..2beaa720ce 100644
--- a/server/mail-templates/bf_2024.html
+++ b/server/mail-templates/bf_2024.html
@@ -110,26 +110,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/customer_hello.html b/server/mail-templates/customer_hello.html
index ae8258605d..b3f6d9f7e9 100644
--- a/server/mail-templates/customer_hello.html
+++ b/server/mail-templates/customer_hello.html
@@ -121,26 +121,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/email_changed.html b/server/mail-templates/email_changed.html
index 8802bfdc16..886d7c3f69 100644
--- a/server/mail-templates/email_changed.html
+++ b/server/mail-templates/email_changed.html
@@ -111,26 +111,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/ente_base.html b/server/mail-templates/ente_base.html
index 90389a1d4c..73807af91f 100644
--- a/server/mail-templates/ente_base.html
+++ b/server/mail-templates/ente_base.html
@@ -100,26 +100,26 @@
rgb(136, 136, 136); background-color: #f0f1f3;" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/family_nudge.html b/server/mail-templates/family_nudge.html
index e792cc816f..30ee58f55c 100644
--- a/server/mail-templates/family_nudge.html
+++ b/server/mail-templates/family_nudge.html
@@ -115,26 +115,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/files_collected.html b/server/mail-templates/files_collected.html
index 28f0b451bd..fd18e0afe4 100644
--- a/server/mail-templates/files_collected.html
+++ b/server/mail-templates/files_collected.html
@@ -110,26 +110,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/inactive-user-deletion/warn_1d.html b/server/mail-templates/inactive-user-deletion/warn_1d.html
index ea908080bf..16b13112d2 100644
--- a/server/mail-templates/inactive-user-deletion/warn_1d.html
+++ b/server/mail-templates/inactive-user-deletion/warn_1d.html
@@ -5,7 +5,7 @@
<p>We're reaching out because your Ente account associated with <strong>{{.Email}}</strong> hasn't been used across any of our apps for more than 12 months.</p>
<p>If there's no activity before {{.DeletionDate}} (tomorrow), we'll delete your account and associated data as part of our inactive-account policy.</p>
-<p>To keep your account, simply <a href="https://web.ente.io">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
+<p>To keep your account, simply <a href="https://photos.ente.com">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
<p>You can learn more about our inactive-account policy <a href="https://ente.com/help/photos/faq/storage-and-plans#inactive-account-email">here</a>.</p>
<p>If you think this is a mistake or you need help accessing your account, you can reply to this email or send an email to <a href="mailto:[email protected]">[email protected]</a>.</p>
{{end}}
diff --git a/server/mail-templates/inactive-user-deletion/warn_1m.html b/server/mail-templates/inactive-user-deletion/warn_1m.html
index 8f7ba26357..95be1c2b97 100644
--- a/server/mail-templates/inactive-user-deletion/warn_1m.html
+++ b/server/mail-templates/inactive-user-deletion/warn_1m.html
@@ -5,7 +5,7 @@
<p>We're reaching out because your Ente account associated with <strong>{{.Email}}</strong> hasn't been used across any of our apps for more than 12 months.</p>
<p>If there's no activity before {{.DeletionDate}} (in 30 days), we'll delete your account and associated data as part of our inactive-account policy.</p>
-<p>To keep your account, simply <a href="https://web.ente.io">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
+<p>To keep your account, simply <a href="https://photos.ente.com">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
<p>You can learn more about our inactive-account policy <a href="https://ente.com/help/photos/faq/storage-and-plans#inactive-account-email">here</a>.</p>
<p>If you think this is a mistake or you need help accessing your account, reply to this email or send an email to <a href="mailto:[email protected]">[email protected]</a>.</p>
{{end}}
diff --git a/server/mail-templates/inactive-user-deletion/warn_2m.html b/server/mail-templates/inactive-user-deletion/warn_2m.html
index 19cabb52aa..edd743afe0 100644
--- a/server/mail-templates/inactive-user-deletion/warn_2m.html
+++ b/server/mail-templates/inactive-user-deletion/warn_2m.html
@@ -5,7 +5,7 @@
<p>We're reaching out because your Ente account associated with <strong>{{.Email}}</strong> hasn't been used across any of our apps for more than 11 months.</p>
<p>If there's no activity before {{.DeletionDate}}, we'll delete your account and associated data as part of our inactive-account policy.</p>
-<p>To keep your account, simply <a href="https://web.ente.io">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
+<p>To keep your account, simply <a href="https://photos.ente.com">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
<p>You can learn more about our inactive-account policy <a href="https://ente.com/help/photos/faq/storage-and-plans#inactive-account-email">here</a>.</p>
<p>If you think this is a mistake or you need help accessing your account, reply to this email or send an email to <a href="mailto:[email protected]">[email protected]</a>.</p>
{{end}}
diff --git a/server/mail-templates/inactive-user-deletion/warn_7d.html b/server/mail-templates/inactive-user-deletion/warn_7d.html
index e60dd4d9a3..6d82967ef7 100644
--- a/server/mail-templates/inactive-user-deletion/warn_7d.html
+++ b/server/mail-templates/inactive-user-deletion/warn_7d.html
@@ -5,7 +5,7 @@
<p>We're reaching out because your Ente account associated with <strong>{{.Email}}</strong> hasn't been used across any of our apps for more than 12 months.</p>
<p>If there's no activity before {{.DeletionDate}} (in 7 days), we'll delete your account and associated data as part of our inactive-account policy.</p>
-<p>To keep your account, simply <a href="https://web.ente.io">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
+<p>To keep your account, simply <a href="https://photos.ente.com">sign in</a> or use any Ente app before {{.DeletionDate}}.</p>
<p>You can learn more about our inactive-account policy <a href="https://ente.com/help/photos/faq/storage-and-plans#inactive-account-email">here</a>.</p>
<p>If you think this is a mistake or you need help accessing your account, you can reply to this email or send an email to <a href="mailto:[email protected]">[email protected]</a>.</p>
{{end}}
diff --git a/server/mail-templates/legacy/legacy_base.html b/server/mail-templates/legacy/legacy_base.html
index aaf936e29d..dd7a60bd41 100644
--- a/server/mail-templates/legacy/legacy_base.html
+++ b/server/mail-templates/legacy/legacy_base.html
@@ -109,26 +109,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/mobile_app_first_upload.html b/server/mail-templates/mobile_app_first_upload.html
index faa6c5ef13..0563b8e11c 100644
--- a/server/mail-templates/mobile_app_first_upload.html
+++ b/server/mail-templates/mobile_app_first_upload.html
@@ -152,7 +152,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -161,7 +161,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -169,7 +169,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -177,7 +177,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -185,7 +185,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -194,7 +194,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/on_hold.html b/server/mail-templates/on_hold.html
index 7c279f5510..d1774c3c20 100644
--- a/server/mail-templates/on_hold.html
+++ b/server/mail-templates/on_hold.html
@@ -117,26 +117,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/on_login.html b/server/mail-templates/on_login.html
index 3dbb65ee53..bc634eb54c 100644
--- a/server/mail-templates/on_login.html
+++ b/server/mail-templates/on_login.html
@@ -128,26 +128,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/ott.html b/server/mail-templates/ott.html
index 19c891f7cd..fb888b16ab 100644
--- a/server/mail-templates/ott.html
+++ b/server/mail-templates/ott.html
@@ -106,15 +106,15 @@ a:hover {
<br />
<div class="footer" style="text-align: center; font-size: 12px; color: rgb(136, 136, 136)">
<div>
- <a href="https://ente.com" target="_blank"><img src="https://email-assets.ente.io/ente-green.png" style="width: 100px; padding: 24px" title="Ente" alt="Ente" /></a>
+ <a href="https://ente.com" target="_blank"><img src="https://email-assets.ente.com/ente-green.png" style="width: 100px; padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
- <a href="https://fosstodon.org/@ente" target="_blank"><img src="https://email-assets.ente.io/mastodon-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Mastodon" alt="Mastodon" /></a>
- <a href="https://twitter.com/enteio" target="_blank"><img src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Twitter" alt="Twitter" /></a>
- <a href="https://ente.com/discord" target="_blank"><img src="https://email-assets.ente.io/discord-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Discord" alt="Discord" /></a>
- <a href="https://github.com/ente-io" target="_blank"><img src="https://email-assets.ente.io/github-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="GitHub" alt="GitHub" /></a>
+ <a href="https://fosstodon.org/@ente" target="_blank"><img src="https://email-assets.ente.com/mastodon-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Mastodon" alt="Mastodon" /></a>
+ <a href="https://twitter.com/enteio" target="_blank"><img src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Twitter" alt="Twitter" /></a>
+ <a href="https://ente.com/discord" target="_blank"><img src="https://email-assets.ente.com/discord-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Discord" alt="Discord" /></a>
+ <a href="https://github.com/ente-io" target="_blank"><img src="https://email-assets.ente.com/github-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="GitHub" alt="GitHub" /></a>
- <a href="https://www.youtube.com/@entestudio" target="_blank"><img src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="YouTube" alt="YouTube" /></a>
+ <a href="https://www.youtube.com/@entestudio" target="_blank"><img src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="YouTube" alt="YouTube" /></a>
</div>
<p>
Ente Technologies, Inc.
diff --git a/server/mail-templates/ott_change_email.html b/server/mail-templates/ott_change_email.html
index 002f0bc6f6..ce6a780a3c 100644
--- a/server/mail-templates/ott_change_email.html
+++ b/server/mail-templates/ott_change_email.html
@@ -106,15 +106,15 @@ a:hover {
<br />
<div class="footer" style="text-align: center; font-size: 12px; color: rgb(136, 136, 136)">
<div>
- <a href="https://ente.com" target="_blank"><img src="https://email-assets.ente.io/ente-green.png" style="width: 100px; padding: 24px" title="Ente" alt="Ente" /></a>
+ <a href="https://ente.com" target="_blank"><img src="https://email-assets.ente.com/ente-green.png" style="width: 100px; padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
- <a href="https://fosstodon.org/@ente" target="_blank"><img src="https://email-assets.ente.io/mastodon-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Mastodon" alt="Mastodon" /></a>
- <a href="https://twitter.com/enteio" target="_blank"><img src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Twitter" alt="Twitter" /></a>
- <a href="https://ente.com/discord" target="_blank"><img src="https://email-assets.ente.io/discord-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Discord" alt="Discord" /></a>
- <a href="https://github.com/ente-io" target="_blank"><img src="https://email-assets.ente.io/github-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="GitHub" alt="GitHub" /></a>
+ <a href="https://fosstodon.org/@ente" target="_blank"><img src="https://email-assets.ente.com/mastodon-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Mastodon" alt="Mastodon" /></a>
+ <a href="https://twitter.com/enteio" target="_blank"><img src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Twitter" alt="Twitter" /></a>
+ <a href="https://ente.com/discord" target="_blank"><img src="https://email-assets.ente.com/discord-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="Discord" alt="Discord" /></a>
+ <a href="https://github.com/ente-io" target="_blank"><img src="https://email-assets.ente.com/github-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="GitHub" alt="GitHub" /></a>
- <a href="https://www.youtube.com/@entestudio" target="_blank"><img src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="YouTube" alt="YouTube" /></a>
+ <a href="https://www.youtube.com/@entestudio" target="_blank"><img src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons" style="width: 24px; padding: 4px;" title="YouTube" alt="YouTube" /></a>
</div>
<p>
Ente Technologies, Inc.
diff --git a/server/mail-templates/ott_mobile.html b/server/mail-templates/ott_mobile.html
index 97da689030..c74ba24ec0 100644
--- a/server/mail-templates/ott_mobile.html
+++ b/server/mail-templates/ott_mobile.html
@@ -109,7 +109,7 @@
</p>
<center style="margin: 24px 0">
<a
- href="https://verify.ente.io/?ott={{.VerificationCode}}"
+ href="https://verify.ente.com/?ott={{.VerificationCode}}"
style="
background-color: #00b33c;
border-radius: 3px;
@@ -175,7 +175,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -184,7 +184,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -192,7 +192,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -200,7 +200,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -208,7 +208,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -217,7 +217,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/storage_limit_exceeded.html b/server/mail-templates/storage_limit_exceeded.html
index d5b4f65574..81ccad8f18 100644
--- a/server/mail-templates/storage_limit_exceeded.html
+++ b/server/mail-templates/storage_limit_exceeded.html
@@ -141,7 +141,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -150,7 +150,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -158,7 +158,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -166,7 +166,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -174,7 +174,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -183,7 +183,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/subscription_cancelled.html b/server/mail-templates/subscription_cancelled.html
index c99c72a013..393baf0c3c 100644
--- a/server/mail-templates/subscription_cancelled.html
+++ b/server/mail-templates/subscription_cancelled.html
@@ -119,26 +119,26 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
<a href="https://www.youtube.com/@entestudio" target="_blank" ><img
- src="https://email-assets.ente.io/youtube-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/youtube-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="YouTube" alt="YouTube" /></a>
</div>
<p>
diff --git a/server/mail-templates/subscription_ended.html b/server/mail-templates/subscription_ended.html
index 925c642c7b..fba92afc4a 100644
--- a/server/mail-templates/subscription_ended.html
+++ b/server/mail-templates/subscription_ended.html
@@ -127,7 +127,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -136,7 +136,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -144,7 +144,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -152,7 +152,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -160,7 +160,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -169,7 +169,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/subscription_upgraded.html b/server/mail-templates/subscription_upgraded.html
index 2700d33eb2..d43e4dfb58 100644
--- a/server/mail-templates/subscription_upgraded.html
+++ b/server/mail-templates/subscription_upgraded.html
@@ -153,7 +153,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -162,7 +162,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -170,7 +170,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -178,7 +178,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -186,7 +186,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -195,7 +195,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/successful_referral.html b/server/mail-templates/successful_referral.html
index 12e418641b..7dcfb4b208 100644
--- a/server/mail-templates/successful_referral.html
+++ b/server/mail-templates/successful_referral.html
@@ -127,7 +127,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -136,7 +136,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -144,7 +144,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -152,7 +152,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -160,7 +160,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -169,7 +169,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/mail-templates/web_app_first_upload.html b/server/mail-templates/web_app_first_upload.html
index 1a11232624..e8f59e0079 100644
--- a/server/mail-templates/web_app_first_upload.html
+++ b/server/mail-templates/web_app_first_upload.html
@@ -143,7 +143,7 @@
<div>
<a href="https://ente.com" target="_blank"
><img
- src="https://email-assets.ente.io/ente-green.png"
+ src="https://email-assets.ente.com/ente-green.png"
style="width: 100px; padding: 24px"
title="Ente"
alt="Ente"
@@ -152,7 +152,7 @@
<div>
<a href="https://fosstodon.org/@ente" target="_blank"
><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Mastodon"
@@ -160,7 +160,7 @@
/></a>
<a href="https://twitter.com/enteio" target="_blank"
><img
- src="https://email-assets.ente.io/twitter-icon.png"
+ src="https://email-assets.ente.com/twitter-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Twitter"
@@ -168,7 +168,7 @@
/></a>
<a href="https://ente.com/discord" target="_blank"
><img
- src="https://email-assets.ente.io/discord-icon.png"
+ src="https://email-assets.ente.com/discord-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="Discord"
@@ -176,7 +176,7 @@
/></a>
<a href="https://github.com/ente-io" target="_blank"
><img
- src="https://email-assets.ente.io/github-icon.png"
+ src="https://email-assets.ente.com/github-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="GitHub"
@@ -185,7 +185,7 @@
<a href="https://www.youtube.com/@entestudio" target="_blank"
><img
- src="https://email-assets.ente.io/youtube-icon.png"
+ src="https://email-assets.ente.com/youtube-icon.png"
class="footer-icons"
style="width: 24px; padding: 4px"
title="YouTube"
diff --git a/server/pkg/api/user_test.go b/server/pkg/api/user_test.go
index 0866815cb7..7903f73627 100644
--- a/server/pkg/api/user_test.go
+++ b/server/pkg/api/user_test.go
@@ -21,7 +21,7 @@ func TestSetAttributesHandlerRejectsUnexpectedKDFStrength(t *testing.T) {
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 101,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
@@ -39,7 +39,7 @@ func TestSetAttributesHandlerRejectsLowMemoryLimit(t *testing.T) {
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 102,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
diff --git a/server/pkg/api/userentity_test.go b/server/pkg/api/userentity_test.go
index 81f70a4fdc..0e59748b65 100644
--- a/server/pkg/api/userentity_test.go
+++ b/server/pkg/api/userentity_test.go
@@ -21,7 +21,7 @@ func TestCreateUserEntityKeyIsIdempotentForReplay(t *testing.T) {
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 201,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
@@ -47,7 +47,7 @@ func TestCreateUserEntityKeyReturnsAlreadyExistsForConflictingCreate(t *testing.
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 202,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
diff --git a/server/pkg/controller/access/access_test.go b/server/pkg/controller/access/access_test.go
index 0d0ca0bbc9..7a58351d55 100644
--- a/server/pkg/controller/access/access_test.go
+++ b/server/pkg/controller/access/access_test.go
@@ -125,7 +125,7 @@ func TestGetCollectionReturnsOwnerRole(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, false)
@@ -150,12 +150,12 @@ func TestGetCollectionReturnsShareeRole(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
shareeID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, false)
@@ -178,12 +178,12 @@ func TestGetCollectionVerifyOwnerRejectsSharee(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
shareeID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, false)
@@ -204,7 +204,7 @@ func TestGetCollectionRejectsDeletedCollectionByDefault(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, true)
@@ -223,7 +223,7 @@ func TestGetCollectionIncludesDeletedWhenRequested(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, true)
@@ -258,7 +258,7 @@ func TestVerifyFileOwnershipSucceedsForOwner(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileIDOne := insertAccessTestFile(t, db, ownerID)
@@ -278,12 +278,12 @@ func TestVerifyFileOwnershipRejectsNonOwner(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
otherUserID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileID := insertAccessTestFile(t, db, ownerID)
@@ -302,7 +302,7 @@ func TestVerifyFileOwnershipRejectsInvalidFileIDs(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileID := insertAccessTestFile(t, db, ownerID)
@@ -321,12 +321,12 @@ func TestVerifyFileOwnershipRejectsMixedOwners(t *testing.T) {
ownerOneID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
ownerTwoID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileIDOne := insertAccessTestFile(t, db, ownerOneID)
@@ -358,7 +358,7 @@ func TestCanAccessFileAllowsOwnerFiles(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileIDOne := insertAccessTestFile(t, db, ownerID)
@@ -378,12 +378,12 @@ func TestCanAccessFileAllowsSharedFiles(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
actorID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
collectionID := insertAccessTestCollection(t, db, ownerID, false)
@@ -405,12 +405,12 @@ func TestCanAccessFileAllowsOwnedAndSharedFilesTogether(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
actorID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
ownedFileID := insertAccessTestFile(t, db, actorID)
@@ -433,12 +433,12 @@ func TestCanAccessFileRejectsUnsharedForeignFiles(t *testing.T) {
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
actorID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
fileID := insertAccessTestFile(t, db, ownerID)
diff --git a/server/pkg/controller/contact/controller_test.go b/server/pkg/controller/contact/controller_test.go
index c499ea75bd..a24223960c 100644
--- a/server/pkg/controller/contact/controller_test.go
+++ b/server/pkg/controller/contact/controller_test.go
@@ -106,7 +106,7 @@ func mustInsertTestUser(t *testing.T, db *sql.DB, userID int64) {
testutil.InsertUser(t, db, testutil.UserFixture{
UserID: userID,
- Email: fmt.Sprintf("contacts-%[email protected]", userID),
+ Email: fmt.Sprintf("contacts-%[email protected]", userID),
CreationTime: 1,
})
}
@@ -254,7 +254,7 @@ func TestContactCRUDAndDiff(t *testing.T) {
if created.ContactUserID != 11 {
t.Fatalf("contactUserID = %d, want 11", created.ContactUserID)
}
- expectedCreateEmail := "[email protected]"
+ expectedCreateEmail := "[email protected]"
if created.Email == nil || *created.Email != expectedCreateEmail {
t.Fatalf("email = %v, want %q", created.Email, expectedCreateEmail)
}
@@ -286,7 +286,7 @@ func TestContactCRUDAndDiff(t *testing.T) {
if updated.ContactUserID != 12 {
t.Fatalf("updated contactUserID = %d, want 12", updated.ContactUserID)
}
- expectedUpdatedEmail := "[email protected]"
+ expectedUpdatedEmail := "[email protected]"
if updated.Email == nil || *updated.Email != expectedUpdatedEmail {
t.Fatalf("updated email = %v, want %q", updated.Email, expectedUpdatedEmail)
}
@@ -357,7 +357,7 @@ func TestUpdateRevivesDeletedContact(t *testing.T) {
if revived.EncryptedData == nil || string(*revived.EncryptedData) != "payload-2" {
t.Fatalf("revived encrypted data = %v, want payload-2", revived.EncryptedData)
}
- expectedEmail := "[email protected]"
+ expectedEmail := "[email protected]"
if revived.Email == nil || *revived.Email != expectedEmail {
t.Fatalf("revived email = %v, want %q", revived.Email, expectedEmail)
}
@@ -575,11 +575,11 @@ func TestTouchContactsForContactUserRefreshesResolvedEmailInDiff(t *testing.T) {
SecretEncryptionKey: testutil.SecretEncryptionKey(),
HashingKey: testutil.HashingKey(),
}
- encryptedEmail, err := crypto.Encrypt("[email protected]", testutil.SecretEncryptionKey())
+ encryptedEmail, err := crypto.Encrypt("[email protected]", testutil.SecretEncryptionKey())
if err != nil {
t.Fatalf("failed to encrypt email: %v", err)
}
- emailHash, err := crypto.GetHash("[email protected]", testutil.HashingKey())
+ emailHash, err := crypto.GetHash("[email protected]", testutil.HashingKey())
if err != nil {
t.Fatalf("failed to hash email: %v", err)
}
@@ -600,7 +600,7 @@ func TestTouchContactsForContactUserRefreshesResolvedEmailInDiff(t *testing.T) {
if len(diff) != 1 {
t.Fatalf("diff length = %d, want 1", len(diff))
}
- if diff[0].Email == nil || *diff[0].Email != "[email protected]" {
+ if diff[0].Email == nil || *diff[0].Email != "[email protected]" {
t.Fatalf("resolved email = %v, want updated email", diff[0].Email)
}
}
diff --git a/server/pkg/controller/email/storage_warning.go b/server/pkg/controller/email/storage_warning.go
index a85400dc89..b9ae6006d5 100644
--- a/server/pkg/controller/email/storage_warning.go
+++ b/server/pkg/controller/email/storage_warning.go
@@ -743,7 +743,9 @@ func storageWarningStageKey(snapshot storageWarningSnapshot) string {
}
func isEnteDomainStorageWarningAccount(email string) bool {
- return strings.HasSuffix(emailUtil.NormalizeEmail(email), "@ente.io")
+ normalizedEmail := emailUtil.NormalizeEmail(email)
+ return strings.HasSuffix(normalizedEmail, "@ente.io") ||
+ strings.HasSuffix(normalizedEmail, "@ente.com")
}
func isInStorageWarningRollout(userID int64, email string) bool {
diff --git a/server/pkg/controller/email/storage_warning_integration_test.go b/server/pkg/controller/email/storage_warning_integration_test.go
index a232b6a43b..61d1eff829 100644
--- a/server/pkg/controller/email/storage_warning_integration_test.go
+++ b/server/pkg/controller/email/storage_warning_integration_test.go
@@ -28,7 +28,7 @@ func TestSendStorageWarningMailsActiveOverageIntegration(t *testing.T) {
now := timeutil.Microseconds()
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: storageWarningIntegrationTestUserID,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: now - timeutil.MicroSecondsInOneHour,
})
testutil.InsertUsage(t, db, userID, 36*storageWarningIntegrationTestGiB)
@@ -58,7 +58,7 @@ func TestSendStorageWarningMailsExpiredIntegration(t *testing.T) {
now := timeutil.Microseconds()
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: storageWarningIntegrationTestUserID,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: now - timeutil.MicroSecondsInOneHour,
})
testutil.InsertUsage(t, db, userID, 26*storageWarningIntegrationTestGiB)
@@ -88,7 +88,7 @@ func TestBuildIndividualStorageWarningSnapshotExpiredBackfillUsesBufferedRecover
now := timeutil.Microseconds()
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: storageWarningIntegrationTestUserID,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: now - timeutil.MicroSecondsInOneHour,
})
testutil.InsertUsage(t, db, userID, 26*storageWarningIntegrationTestGiB)
@@ -134,7 +134,7 @@ func TestBuildIndividualStorageWarningSnapshotExpiredBackfillContinuesBufferedCy
cycleStart := anchorNow - (16 * 24 * timeutil.MicroSecondsInOneHour)
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: storageWarningIntegrationTestUserID,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: anchorNow - timeutil.MicroSecondsInOneHour,
})
testutil.InsertUsage(t, db, userID, 26*storageWarningIntegrationTestGiB)
@@ -266,7 +266,7 @@ func setupExpiredBackfillWithOld0dAnd30dHistory(t *testing.T, db *sql.DB, subscr
userID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: storageWarningIntegrationTestUserID,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: firstSendAt - timeutil.MicroSecondsInOneHour,
})
testutil.InsertUsage(t, db, userID, 26*storageWarningIntegrationTestGiB)
diff --git a/server/pkg/controller/email/storage_warning_test.go b/server/pkg/controller/email/storage_warning_test.go
index 1474008048..158d8e7fd7 100644
--- a/server/pkg/controller/email/storage_warning_test.go
+++ b/server/pkg/controller/email/storage_warning_test.go
@@ -977,7 +977,7 @@ func TestProcessStorageWarningSnapshotScheduledDeletionSkipsResetWhenEmailFails(
resetter := &recordingUserAccessResetter{}
snapshot := storageWarningSnapshot{
RecipientID: 12345,
- AccountEmail: "[email protected]",
+ AccountEmail: "[email protected]",
TotalUsage: storageWarningOverageThreshold + 10,
AllottedStorage: 0,
AvailableStorage: -10,
@@ -1022,7 +1022,7 @@ func TestProcessStorageWarningSnapshotScheduledDeletionResetsAccessAfterEmail(t
resetter := &recordingUserAccessResetter{callOrder: &callOrder}
snapshot := storageWarningSnapshot{
RecipientID: 12345,
- AccountEmail: "[email protected]",
+ AccountEmail: "[email protected]",
TotalUsage: storageWarningOverageThreshold + 10,
AllottedStorage: 0,
AvailableStorage: -10,
@@ -1109,6 +1109,9 @@ func TestIsInStorageWarningRollout(t *testing.T) {
if !isInStorageWarningRollout(userID, "[email protected]") {
t.Fatal("expected @ente.io account to always be in rollout")
}
+ if !isInStorageWarningRollout(userID, " [email protected] ") {
+ t.Fatal("expected normalized @ente.com account to always be in rollout")
+ }
want := rollout.IsInPercentageRollout(userID, storageWarningRolloutNonce, storageWarningRolloutPercentage)
got := isInStorageWarningRollout(userID, "[email protected]")
diff --git a/server/pkg/controller/user/inactive_user_orchestrator_integration_test.go b/server/pkg/controller/user/inactive_user_orchestrator_integration_test.go
index 708d4c9fab..0e3e9a2426 100644
--- a/server/pkg/controller/user/inactive_user_orchestrator_integration_test.go
+++ b/server/pkg/controller/user/inactive_user_orchestrator_integration_test.go
@@ -23,7 +23,8 @@ func TestProcessInactiveUsersWarn2mIntegration(t *testing.T) {
now := timeutil.Microseconds()
userID := testutil.InsertUser(t, db, testutil.UserFixture{
- Email: "[email protected]",
+ UserID: 1,
+ Email: "[email protected]",
CreationTime: now - inactiveUserWarn2MonthsInMicroSeconds - inactiveUserOneDayInMicroSeconds,
})
diff --git a/server/pkg/controller/user/locker_usage_integration_test.go b/server/pkg/controller/user/locker_usage_integration_test.go
index 69e3b7e31a..80116c37d8 100644
--- a/server/pkg/controller/user/locker_usage_integration_test.go
+++ b/server/pkg/controller/user/locker_usage_integration_test.go
@@ -148,7 +148,7 @@ func insertLockerUsageTestUser(t *testing.T, db *sql.DB, userID int64, familyAdm
testutil.InsertUser(t, db, testutil.UserFixture{
UserID: userID,
- Email: fmt.Sprintf("locker-usage-user-%[email protected]", userID),
+ Email: fmt.Sprintf("locker-usage-user-%[email protected]", userID),
CreationTime: 1,
FamilyAdminID: familyAdminID,
})
diff --git a/server/pkg/controller/user/user_recovery_test.go b/server/pkg/controller/user/user_recovery_test.go
index 722f8b1e1c..d680f21ce5 100644
--- a/server/pkg/controller/user/user_recovery_test.go
+++ b/server/pkg/controller/user/user_recovery_test.go
@@ -34,12 +34,12 @@ func TestHandleAccountRecoveryTouchesContactsForResolvedEmailSync(t *testing.T)
ownerID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
contactUserID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 82,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
@@ -64,7 +64,7 @@ func TestHandleAccountRecoveryTouchesContactsForResolvedEmailSync(t *testing.T)
if err != nil {
t.Fatalf("failed to fetch created contact: %v", err)
}
- if created.Email == nil || *created.Email != "[email protected]" {
+ if created.Email == nil || *created.Email != "[email protected]" {
t.Fatalf("unexpected initial email: %v", created.Email)
}
@@ -93,7 +93,7 @@ func TestHandleAccountRecoveryTouchesContactsForResolvedEmailSync(t *testing.T)
if err := controller.HandleAccountRecovery(ctx, ente.RecoverAccountRequest{
UserID: contactUserID,
- EmailID: "[email protected]",
+ EmailID: "[email protected]",
}); err != nil {
t.Fatalf("HandleAccountRecovery() error = %v", err)
}
@@ -105,7 +105,7 @@ func TestHandleAccountRecoveryTouchesContactsForResolvedEmailSync(t *testing.T)
if len(diff) != 1 {
t.Fatalf("diff length = %d, want 1", len(diff))
}
- if diff[0].Email == nil || *diff[0].Email != "[email protected]" {
+ if diff[0].Email == nil || *diff[0].Email != "[email protected]" {
t.Fatalf("resolved email after recovery = %v, want updated email", diff[0].Email)
}
}
diff --git a/server/pkg/repo/datacleanup/repository_test.go b/server/pkg/repo/datacleanup/repository_test.go
index 0320f6ea12..6f106d91af 100644
--- a/server/pkg/repo/datacleanup/repository_test.go
+++ b/server/pkg/repo/datacleanup/repository_test.go
@@ -19,12 +19,12 @@ func TestDeleteTableDataDeletesContactsAndAttachmentsForUser(t *testing.T) {
targetUserID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 1,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
otherUserID := testutil.InsertUser(t, db, testutil.UserFixture{
UserID: 2,
- Email: "[email protected]",
+ Email: "[email protected]",
CreationTime: 1,
})
diff --git a/server/web-templates/account_recovered.html b/server/web-templates/account_recovered.html
index 601ec1b7ba..4734bb6625 100644
--- a/server/web-templates/account_recovered.html
+++ b/server/web-templates/account_recovered.html
@@ -113,22 +113,22 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
</div>
<p>
diff --git a/server/web-templates/account_recovery_error.html b/server/web-templates/account_recovery_error.html
index 645ae1a5ee..0e5a1132b4 100644
--- a/server/web-templates/account_recovery_error.html
+++ b/server/web-templates/account_recovery_error.html
@@ -111,22 +111,22 @@
rgb(136, 136, 136)" >
<div>
<a href="https://ente.com" target="_blank" ><img
- src="https://email-assets.ente.io/ente-green.png" style="width: 100px;
+ src="https://email-assets.ente.com/ente-green.png" style="width: 100px;
padding: 24px" title="Ente" alt="Ente" /></a>
</div>
<div>
<a href="https://fosstodon.org/@ente" target="_blank" ><img
- src="https://email-assets.ente.io/mastodon-icon.png"
+ src="https://email-assets.ente.com/mastodon-icon.png"
class="footer-icons" style="width: 24px; padding: 4px" title="Mastodon"
alt="Mastodon" /></a>
<a href="https://twitter.com/enteio" target="_blank" ><img
- src="https://email-assets.ente.io/twitter-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/twitter-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Twitter" alt="Twitter" /></a>
<a href="https://ente.com/discord" target="_blank" ><img
- src="https://email-assets.ente.io/discord-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/discord-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="Discord" alt="Discord" /></a>
<a href="https://github.com/ente-io" target="_blank" ><img
- src="https://email-assets.ente.io/github-icon.png" class="footer-icons"
+ src="https://email-assets.ente.com/github-icon.png" class="footer-icons"
style="width: 24px; padding: 4px" title="GitHub" alt="GitHub" /></a>
</div>
<p>