π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prune remaining infra comments
Manav Rathie40d997ac6be
diff --git a/infra/ml/playground/optimizations/optimize_models.py b/infra/ml/playground/optimizations/optimize_models.pyindex d7db6893d8..3fdb602151 100644--- a/infra/ml/playground/optimizations/optimize_models.py+++ b/infra/ml/playground/optimizations/optimize_models.py@@ -1,11 +1,4 @@#!/usr/bin/env python3-"""Build Ente's optimized ONNX models for the mobile ML pipeline.--The generated models remain standard ONNX. The transformations make their-graphs easier for CoreML, WebGPU, and mobile CPU runtimes to optimize while-preserving the outputs used by the application.-"""-from __future__ import annotationsimport argparsediff --git a/infra/ml/playground/pyproject.toml b/infra/ml/playground/pyproject.tomlindex 8186061af5..754fef12b5 100644--- a/infra/ml/playground/pyproject.toml+++ b/infra/ml/playground/pyproject.toml@@ -1,7 +1,6 @@[project]name = "ente-clean-ml"version = "0.1.0"-description = "Add your description here"readme = "README.md"requires-python = ">=3.12"dependencies = [diff --git a/infra/workers/cast-albums/src/index.ts b/infra/workers/cast-albums/src/index.tsindex f13630d961..d877f20222 100644--- a/infra/workers/cast-albums/src/index.ts+++ b/infra/workers/cast-albums/src/index.ts@@ -39,7 +39,6 @@ const isAllowedOrigin = (origin: string | null) => {const url = new URL(origin);return allowed.includes(url.hostname);} catch {- // origin is likely an invalid URLreturn false;}};diff --git a/infra/workers/files/src/index.ts b/infra/workers/files/src/index.tsindex ccc1720f7e..ea38e41fb5 100644--- a/infra/workers/files/src/index.ts+++ b/infra/workers/files/src/index.ts@@ -32,12 +32,11 @@ const isAllowedOrigin = (origin: string | null) => {const url = new URL(origin);const hostname = url.hostname;return (- origin == "ente://app" /* desktop app */ ||+ origin == "ente://app" ||isEnteHostname(hostname) ||hostname == "localhost");} catch {- // `origin` is likely an invalid URL.return false;}};diff --git a/infra/workers/health-check/wrangler.toml b/infra/workers/health-check/wrangler.tomlindex 49e22359d8..381ede265d 100644--- a/infra/workers/health-check/wrangler.toml+++ b/infra/workers/health-check/wrangler.toml@@ -13,5 +13,4 @@ tail_consumers = [{ service = "tail" }]# CHAT_ID = ""[triggers]-# Every minutecrons = [ "*/1 * * * *" ]diff --git a/infra/workers/thumbnails/src/index.ts b/infra/workers/thumbnails/src/index.tsindex 224bbd638a..57f3cf28ba 100644--- a/infra/workers/thumbnails/src/index.ts+++ b/infra/workers/thumbnails/src/index.ts@@ -32,12 +32,11 @@ const isAllowedOrigin = (origin: string | null) => {const url = new URL(origin);const hostname = url.hostname;return (- origin == "ente://app" /* desktop app */ ||+ origin == "ente://app" ||isEnteHostname(hostname) ||hostname == "localhost");} catch {- // `origin` is likely an invalid URL.return false;}};diff --git a/infra/workers/uploader/src/index.ts b/infra/workers/uploader/src/index.tsindex 8db0b3f1ed..36537ad372 100644--- a/infra/workers/uploader/src/index.ts+++ b/infra/workers/uploader/src/index.ts@@ -14,7 +14,6 @@ export default {},} satisfies ExportedHandler;-// Strict allowlist of upload destinations.const ALLOWED_UPLOAD_HOSTS = new Set<string>(["ente-prod-eu.s3.eu-central-003.backblazeb2.com",]);