π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clean up Ensu sync leftovers
Manav Rathi48e3f3f6b42d
diff --git a/mobile/native/android/apps/ensu/README.md b/mobile/native/android/apps/ensu/README.mdindex 54dcce62f5..d175fb221d 100644--- a/mobile/native/android/apps/ensu/README.md+++ b/mobile/native/android/apps/ensu/README.md@@ -72,4 +72,4 @@ Release builds use a debug keystore located at `debug.keystore`. For production- `data/` β Repositories, network, storage.- `crypto-auth-core/` β Cryptographic primitives (UniFFI-wrapped Rust).-The Rust glue for `db` / `sync` / `inference` lives outside this app, at [`mobile/native/android/packages/rust/`](../../packages/rust/).+The Rust glue for `db` / `inference` lives outside this app, at [`mobile/native/android/packages/rust/`](../../packages/rust/).diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/EnsuApp.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/EnsuApp.ktindex c9bcce494a..ee4cc6b198 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/EnsuApp.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/EnsuApp.kt@@ -7,11 +7,9 @@ import androidx.compose.runtime.getValue@Composablefun EnsuApp(appViewModel: AppViewModel) {val appState by appViewModel.store.state.collectAsState()- val logs by appViewModel.logRepository.logs.collectAsState()RootView(appState = appState,store = appViewModel.store,- logs = logs,logRepository = appViewModel.logRepository,authService = appViewModel.authService,currentEndpointFlow = appViewModel.currentEndpointFlow,diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.ktindex bcafcb31f2..e61eb21d0d 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt@@ -64,7 +64,6 @@ import io.ente.ensu.designsystem.EnsuTypographyimport io.ente.ensu.domain.model.Attachmentimport io.ente.ensu.domain.model.AttachmentTypeimport io.ente.ensu.domain.model.EnsuDefaults-import io.ente.ensu.domain.model.LogEntryimport io.ente.ensu.domain.model.MaxImageAttachmentsPerMessageimport io.ente.ensu.domain.state.AppStateimport io.ente.ensu.domain.store.AppStore@@ -86,7 +85,6 @@ import java.util.UUIDfun HomeView(appState: AppState,store: AppStore,- logs: List<LogEntry>,logRepository: FileLogRepository,authService: EnsuAuthService,currentEndpointFlow: Flow<String>,diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/RootView.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/RootView.ktindex d7cf413ae2..18c3453634 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/RootView.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/RootView.kt@@ -10,7 +10,6 @@ import io.ente.ensu.designsystem.EnsuColorimport io.ente.ensu.data.auth.EnsuAuthServiceimport io.ente.ensu.data.logging.FileLogRepositoryimport io.ente.ensu.domain.model.EnsuDefaults-import io.ente.ensu.domain.model.LogEntryimport io.ente.ensu.domain.state.AppStateimport io.ente.ensu.domain.store.AppStoreimport kotlinx.coroutines.flow.Flow@@ -19,7 +18,6 @@ import kotlinx.coroutines.flow.Flowfun RootView(appState: AppState,store: AppStore,- logs: List<LogEntry>,logRepository: FileLogRepository,authService: EnsuAuthService,currentEndpointFlow: Flow<String>,@@ -35,7 +33,6 @@ fun RootView(HomeView(appState = appState,store = store,- logs = logs,logRepository = logRepository,authService = authService,currentEndpointFlow = currentEndpointFlow,diff --git a/rust/apps/ensu/changes/remove-unimplemented-sync.md b/rust/apps/ensu/changes/remove-unimplemented-sync.mdnew file mode 100644index 0000000000..b4aed42a92--- /dev/null+++ b/rust/apps/ensu/changes/remove-unimplemented-sync.md@@ -0,0 +1 @@+- Removed unimplemented sync codediff --git a/web/apps/ensu/src/services/chat/crypto.ts b/web/apps/ensu/src/services/chat/crypto.tsindex 3b6a103ec6..68efb66b13 100644--- a/web/apps/ensu/src/services/chat/crypto.ts+++ b/web/apps/ensu/src/services/chat/crypto.ts@@ -8,7 +8,7 @@ export interface EncryptedChatPayload {const CHAT_FIELD_PREFIX = "enc:v1";-/** Encrypt a JSON payload for storage/sync using the chat key (base64). */+/** Encrypt a JSON payload for storage using the chat key (base64). */export const encryptChatPayload = async (payload: unknown,chatKeyB64: string,