Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge branch 'main' into mobile_face

Neeraj Guptaadd66569dd1b
diff --cc mobile/lib/core/configuration.dart
index a8c703e6f6,cde766b1e0..5fe08826b3
--- a/mobile/lib/core/configuration.dart
+++ b/mobile/lib/core/configuration.dart
@@@ -16,9 -16,9 +16,10 @@@ import 'package:photos/db/files_db.dart
import 'package:photos/db/memories_db.dart';
import 'package:photos/db/trash_db.dart';
import 'package:photos/db/upload_locks_db.dart';
+ import "package:photos/events/endpoint_updated_event.dart";
import 'package:photos/events/signed_in_event.dart';
import 'package:photos/events/user_logged_out_event.dart';
+import "package:photos/face/db.dart";
import 'package:photos/models/key_attributes.dart';
import 'package:photos/models/key_gen_result.dart';
import 'package:photos/models/private_key_attributes.dart';
diff --cc mobile/lib/l10n/intl_en.arb
index d1e6d61aaf,4dbe3f65f9..358c2cb91b
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@@ -1202,9 -1201,15 +1202,17 @@@
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name",
"addViewers": "{count, plural, zero {Add viewer} one {Add viewer} other {Add viewers}}",
"addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
- "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption."
+ "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
+ "developerSettingsWarning": "Are you sure that you want to modify Developer settings?",
+ "developerSettings": "Developer settings",
+ "serverEndpoint": "Server endpoint",
+ "invalidEndpoint": "Invalid endpoint",
+ "invalidEndpointMessage": "Sorry, the endpoint you entered is invalid. Please enter a valid endpoint and try again.",
+ "endpointUpdatedMessage": "Endpoint updated successfully",
+ "customEndpoint": "Connected to {endpoint}",
+ "createCollaborativeLink": "Create collaborative link"
}
diff --cc mobile/lib/ui/settings_page.dart
index 5c45589a5c,51db275958..e8b5c319d8
--- a/mobile/lib/ui/settings_page.dart
+++ b/mobile/lib/ui/settings_page.dart
@@@ -16,8 -17,8 +16,9 @@@ import 'package:photos/ui/settings/abou
import 'package:photos/ui/settings/account_section_widget.dart';
import 'package:photos/ui/settings/app_version_widget.dart';
import 'package:photos/ui/settings/backup/backup_section_widget.dart';
-import 'package:photos/ui/settings/debug_section_widget.dart';
+import 'package:photos/ui/settings/debug/debug_section_widget.dart';
+import "package:photos/ui/settings/debug/face_debug_section_widget.dart";
+ import "package:photos/ui/settings/developer_settings_widget.dart";
import 'package:photos/ui/settings/general_section_widget.dart';
import 'package:photos/ui/settings/inherited_settings_state.dart';
import 'package:photos/ui/settings/security_section_widget.dart';
@@@ -143,11 -140,12 +144,12 @@@ class SettingsPage extends StatelessWid
const AboutSectionWidget(),
]);
- if (hasLoggedIn &&
- FeatureFlagService.instance.isInternalUserOrDebugBuild()) {
+ if (hasLoggedIn) {
contents.addAll([sectionSpacing, const DebugSectionWidget()]);
+ contents.addAll([sectionSpacing, const FaceDebugSectionWidget()]);
}
contents.add(const AppVersionWidget());
+ contents.add(const DeveloperSettingsWidget());
contents.add(
const Padding(
padding: EdgeInsets.only(bottom: 60),