💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename to Ente Rewind
laurenspriem4f881c068c72
diff --git a/mobile/apps/photos/lib/models/search/search_types.dart b/mobile/apps/photos/lib/models/search/search_types.dartindex a335f32ec4..8cb830a6e3 100644--- a/mobile/apps/photos/lib/models/search/search_types.dart+++ b/mobile/apps/photos/lib/models/search/search_types.dart@@ -60,7 +60,7 @@ extension SectionTypeExtensions on SectionType {case SectionType.magic:return AppLocalizations.of(context).discover;case SectionType.wrapped:- return "Ente Wrapped";+ return "Ente Rewind";case SectionType.location:return AppLocalizations.of(context).locations;case SectionType.contacts:diff --git a/mobile/apps/photos/lib/services/wrapped/builders/badge_selector.dart b/mobile/apps/photos/lib/services/wrapped/builders/badge_selector.dartindex 0a9b5bdcad..dcdc14ccfd 100644--- a/mobile/apps/photos/lib/services/wrapped/builders/badge_selector.dart+++ b/mobile/apps/photos/lib/services/wrapped/builders/badge_selector.dart@@ -80,7 +80,7 @@ class WrappedBadgeSelector {if (candidates.isEmpty) {final WrappedCard fallbackCard = WrappedCard(type: WrappedCardType.badge,- title: "Wrapped ${context.year} is on its way",+ title: "Ente Rewind ${context.year} is on its way",subtitle: "Full story coming soon.",meta: <String, Object?>{"generatedAt": context.now.toIso8601String(),diff --git a/mobile/apps/photos/lib/services/wrapped/wrapped_engine.dart b/mobile/apps/photos/lib/services/wrapped/wrapped_engine.dartindex 5987651592..36f0d049e7 100644--- a/mobile/apps/photos/lib/services/wrapped/wrapped_engine.dart+++ b/mobile/apps/photos/lib/services/wrapped/wrapped_engine.dart@@ -21,7 +21,7 @@ import "package:photos/services/wrapped/models.dart";final Logger _engineLogger = Logger("WrappedEngine");final Logger _computeLogger = Logger("WrappedEngineIsolate");-/// Orchestrates the single-isolate computation pipeline for Ente Wrapped.+/// Orchestrates the single-isolate computation pipeline for Ente Rewind.class WrappedEngine {const WrappedEngine._();diff --git a/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart b/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dartindex d2c9895b86..0403fcfdbd 100644--- a/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart+++ b/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart@@ -88,7 +88,7 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {if (wrappedService.isEnabled)MenuItemWidget(captionedTextWidget: const CaptionedTextWidget(- title: "Recompute Wrapped 2025",+ title: "Recompute Ente Rewind",),pressedColor: getEnteColorScheme(context).fillFaint,trailingIcon: Icons.chevron_right_outlined,@@ -96,7 +96,7 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {onTap: () async {try {await wrappedService.forceRecompute();- showShortToast(context, "Wrapped 2025 recomputed");+ showShortToast(context, "Ente Rewind recomputed");} catch (e, s) {logger.severe('Wrapped recompute failed ', e, s);await showGenericErrorDialog(context: context, error: e);diff --git a/mobile/apps/photos/lib/ui/wrapped/wrapped_discovery_section.dart b/mobile/apps/photos/lib/ui/wrapped/wrapped_discovery_section.dartindex f3824f27d7..4f3cfa3f2f 100644--- a/mobile/apps/photos/lib/ui/wrapped/wrapped_discovery_section.dart+++ b/mobile/apps/photos/lib/ui/wrapped/wrapped_discovery_section.dart@@ -33,7 +33,7 @@ class WrappedDiscoverySection extends StatelessWidget {crossAxisAlignment: CrossAxisAlignment.start,children: [Text(- "Wrapped 2025",+ "Ente Rewind",style: textTheme.largeBold,),const SizedBox(height: 12),@@ -93,7 +93,7 @@ class WrappedDiscoverySection extends StatelessWidget {WrappedEntryState currentState = wrappedService.state;final WrappedResult? result = currentState.result;if (result == null || result.cards.isEmpty) {- showShortToast(context, "Wrapped isn’t ready yet");+ showShortToast(context, "Ente Rewind isn't ready yet");return;}final int cardCount = result.cards.length;diff --git a/mobile/apps/photos/lib/ui/wrapped/wrapped_home_banner.dart b/mobile/apps/photos/lib/ui/wrapped/wrapped_home_banner.dartindex 3cd1e84f7e..b85867b15c 100644--- a/mobile/apps/photos/lib/ui/wrapped/wrapped_home_banner.dart+++ b/mobile/apps/photos/lib/ui/wrapped/wrapped_home_banner.dart@@ -21,7 +21,7 @@ class WrappedHomeBanner extends StatelessWidget {final bool hasProgress = state.resumeIndex > 0 &&state.resumeIndex < (state.result?.cards.length ?? 0);- const String title = "Your 2025 Wrapped";+ const String title = "Your 2025 Rewind";final String subtitle = hasProgress && !state.isComplete? "Resume where you left off": "See your 2025 highlights";@@ -84,7 +84,7 @@ class WrappedHomeBanner extends StatelessWidget {final WrappedEntryState currentState = wrappedService.state;final WrappedResult? result = currentState.result;if (result == null || result.cards.isEmpty) {- showShortToast(context, "Wrapped isn’t ready yet");+ showShortToast(context, "Ente Rewind isn't ready yet");return;}Navigator.of(context).push(diff --git a/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart b/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dartindex 357cb90816..0f124cbf4e 100644--- a/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart+++ b/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart@@ -29,7 +29,7 @@ part "cards/narrative_card_content.dart";part "cards/badge_card_content.dart";part "cards/shared_widgets.dart";-/// Basic viewer for the stats-only Ente Wrapped experience.+/// Basic viewer for the stats-only Ente Rewind experience.class WrappedViewerPage extends StatefulWidget {const WrappedViewerPage({required this.initialState,@@ -297,7 +297,7 @@ class _WrappedViewerPageState extends State<WrappedViewerPage>if (result == null || cardCount == 0) {scheduleMicrotask(() {if (mounted) {- showShortToast(context, "Wrapped data not available");+ showShortToast(context, "Ente Rewind data not available");Navigator.of(context).maybePop();}});@@ -319,7 +319,7 @@ class _WrappedViewerPageState extends State<WrappedViewerPage>backgroundColor: enteColorScheme.backgroundBase,appBar: AppBar(title: Text(- "Wrapped ${result.year}",+ "Ente Rewind",style: textTheme.largeBold,),backgroundColor: enteColorScheme.backgroundBase,@@ -424,7 +424,7 @@ class _WrappedViewerPageState extends State<WrappedViewerPage>files: <XFile>[XFile.fromData(bytes,- name: "ente_wrapped_${_currentIndex + 1}.png",+ name: "ente_rewind_${_currentIndex + 1}.png",mimeType: "image/png",),],@@ -432,7 +432,7 @@ class _WrappedViewerPageState extends State<WrappedViewerPage>),);} catch (error, stackTrace) {- _logger.severe("Failed to share Wrapped card", error, stackTrace);+ _logger.severe("Failed to share Ente Rewind card", error, stackTrace);if (mounted) {showShortToast(context, "Share failed");}diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txtindex c1020606f5..81ff1e824a 100644--- a/mobile/apps/photos/scripts/internal_changes.txt+++ b/mobile/apps/photos/scripts/internal_changes.txt@@ -1,4 +1,4 @@-- Laurens: WIP first iteration of Ente Wrapped+- Laurens: WIP first iteration of Ente Rewind- Prateek: (i) Optimize home widget image quality with V2 implementation (1024px vs 512px, uses PhotoManager thumbnails for local files, isolate processing for remote images)- Neeraj: (i) Safeguards for Bitflip errors (md5, immedidate decryption)- Neeraj: Fix thumbnail bg in native video player widget