Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: update ente-io/auth to ente-io/ente

Prateek Sunal01ec6e04d499
diff --git a/auth/fastlane/metadata/android/en-US/full_description.txt b/auth/fastlane/metadata/android/en-US/full_description.txt
index fbab88c75c..0db377761b 100644
--- a/auth/fastlane/metadata/android/en-US/full_description.txt
+++ b/auth/fastlane/metadata/android/en-US/full_description.txt
@@ -37,4 +37,4 @@ file, that adheres to the above format.
SUPPORT
If you need help, please reach out to [email protected], and a human will get in touch with you.
-If you have feature requests, please create an issue @ https://github.com/ente-io/auth
+If you have feature requests, please create an issue @ https://github.com/ente-io/ente
diff --git a/auth/lib/core/constants.dart b/auth/lib/core/constants.dart
index de39eb301b..5685220ac3 100644
--- a/auth/lib/core/constants.dart
+++ b/auth/lib/core/constants.dart
@@ -7,7 +7,8 @@ const String sentryDSN =
"https://[email protected]/9";
const String sentryTunnel = "https://sentry-reporter.ente.io";
const String roadmapURL = "https://roadmap.ente.io";
-const String githubIssuesUrl = "https://github.com/ente-io/auth/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc";
+const String githubIssuesUrl =
+ "https://github.com/ente-io/ente/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc";
const int microSecondsInDay = 86400000000;
const int android11SDKINT = 30;
const int galleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748
diff --git a/auth/lib/models/code.dart b/auth/lib/models/code.dart
index fb6289d636..7853eb19d0 100644
--- a/auth/lib/models/code.dart
+++ b/auth/lib/models/code.dart
@@ -83,21 +83,21 @@ class Code {
static Code fromRawData(String rawData) {
Uri uri = Uri.parse(rawData);
try {
- return Code(
- _getAccount(uri),
- _getIssuer(uri),
- _getDigits(uri),
- _getPeriod(uri),
- getSanitizedSecret(uri.queryParameters['secret']!),
- _getAlgorithm(uri),
- _getType(uri),
- _getCounter(uri),
- rawData,
- );
- } catch(e) {
+ return Code(
+ _getAccount(uri),
+ _getIssuer(uri),
+ _getDigits(uri),
+ _getPeriod(uri),
+ getSanitizedSecret(uri.queryParameters['secret']!),
+ _getAlgorithm(uri),
+ _getType(uri),
+ _getCounter(uri),
+ rawData,
+ );
+ } catch (e) {
// if account name contains # without encoding,
// rest of the url are treated as url fragment
- if(rawData.contains("#")) {
+ if (rawData.contains("#")) {
return Code.fromRawData(rawData.replaceAll("#", '%23'));
} else {
rethrow;
@@ -127,7 +127,7 @@ class Code {
if (uri.queryParameters.containsKey("issuer")) {
String issuerName = uri.queryParameters['issuer']!;
// Handle issuer name with period
- // See https://github.com/ente-io/auth/pull/77
+ // See https://github.com/ente-io/ente/pull/77
if (issuerName.contains("period=")) {
return issuerName.substring(0, issuerName.indexOf("period="));
}
diff --git a/auth/linux/packaging/rpm/make_config.yaml b/auth/linux/packaging/rpm/make_config.yaml
index 09e25d1a02..6fd8412ea9 100644
--- a/auth/linux/packaging/rpm/make_config.yaml
+++ b/auth/linux/packaging/rpm/make_config.yaml
@@ -5,7 +5,7 @@ vendor: Ente.io
packager: Ente.io Developers
packagerEmail: [email protected]
license: GPLv3
-url: https://github.com/ente-io/auth
+url: https://github.com/ente-io/ente
display_name: Auth
diff --git a/auth/windows/packaging/exe/make_config.yaml b/auth/windows/packaging/exe/make_config.yaml
index e4865decc0..35b973292b 100644
--- a/auth/windows/packaging/exe/make_config.yaml
+++ b/auth/windows/packaging/exe/make_config.yaml
@@ -1,6 +1,6 @@
app_id: 9E5F0C93-96A3-4DA9-AE52-1AA6339851FC
publisher: ente.io
-publisher_url: https://github.com/ente-io/auth
+publisher_url: https://github.com/ente-io/ente
display_name: ente Auth
create_desktop_icon: true
install_dir_name: enteauth