From 7960250e07413eebf8bcbbb7df3cf64c14effd22 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 31 Jul 2025 14:01:36 +0200 Subject: [PATCH] Updated old links to website or other tools --- app/src/main/assets/linphonerc_default | 10 +++------- .../java/org/linphone/core/CoreContext.kt | 19 +++++++++++++++++++ app/src/main/res/values/strings.xml | 14 +++++++------- 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/app/src/main/assets/linphonerc_default b/app/src/main/assets/linphonerc_default index bad1a1a76..0eb595b65 100644 --- a/app/src/main/assets/linphonerc_default +++ b/app/src/main/assets/linphonerc_default @@ -30,15 +30,11 @@ host= port=443 [misc] -log_collection_upload_server_url=https://www.linphone.org:444/lft.php -file_transfer_server_url=https://www.linphone.org:444/lft.php -version_check_url_root=https://www.linphone.org/releases +log_collection_upload_server_url=https://files.linphone.org/http-file-transfer-server/hft.php +file_transfer_server_url=https://files.linphone.org/http-file-transfer-server/hft.php +version_check_url_root=https://download.linphone.org/releases max_calls=10 history_max_size=100 conference_layout=1 -[in-app-purchase] -server_url=https://subscribe.linphone.org:444/inapp.php -purchasable_items_ids=test_account_subscription - ## End of default rc diff --git a/app/src/main/java/org/linphone/core/CoreContext.kt b/app/src/main/java/org/linphone/core/CoreContext.kt index 28c09c9cb..a5b2084e9 100644 --- a/app/src/main/java/org/linphone/core/CoreContext.kt +++ b/app/src/main/java/org/linphone/core/CoreContext.kt @@ -640,6 +640,25 @@ class CoreContext( } core.config.setBool("app", "migration_5.1_required", false) + if (core.logCollectionUploadServerUrl == "https://www.linphone.org:444/lft.php") { + core.logCollectionUploadServerUrl = "https://files.linphone.org/http-file-transfer-server/hft.php" + } + if (core.fileTransferServer == "https://www.linphone.org:444/lft.php") { + core.fileTransferServer = "https://files.linphone.org/http-file-transfer-server/hft.php" + } + if (core.config.getString( + "misc", + "version_check_url_root", + "https://www.linphone.org/releases" + ) == "https://www.linphone.org/releases" + ) { + core.config.setString( + "misc", + "version_check_url_root", + "https://download.linphone.org/releases" + ) + } + Log.i("[Context] Core configured") } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c21b13a67..f84462739 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -15,13 +15,13 @@ https://linphone.org - https://www.linphone.org/privacy-policy + https://linphone.org/en/privacy-policy https://www.gnu.org/licenses/gpl-3.0.html &appName; Android %s &appName; SDK %s Visit our privacy policy - GNU General Public License v3.0\n © 2010–2023 Belledonne Communications - https://weblate.linphone.org/projects/linphone/ + GNU General Public License v3.0\n © 2010–2025 Belledonne Communications + https://weblate.linphone.org Help us translate &appName; @@ -100,7 +100,7 @@ No SIP contact in your address book. Search contacts Hello, join me on &appName;! You can download it for free at %s - https://linphone.org/download + https://linphone.org/en/getting-started Last name First name Organization @@ -439,13 +439,13 @@ What will my phone number be used for? \nYour friends will find you more easily if you link your account to your phone number\n\nYou will see in your address book who is using &appName; and your friends will know that they can reach you on &appName; as well.\n You can only use your phone number with one &appName; account.\n\nIf you had already linked your number to an other account but you prefer to use this one, simply link it now and your number will automatically be moved to this account. - https://www.linphone.org/general-terms - https://www.linphone.org/privacy-policy + https://linphone.org/en/terms-of-use + https://linphone.org/en/privacy-policy terms of use privacy policy I accept Belledonne Communications\' %1$s and %2$s Some features require a &appName; account, such as group messaging or ephemeral messaging.\n\nThese features are hidden when you register with a third party SIP account.\n\nTo enable it in a commercial project, please contact us. - https://www.linphone.org/contact + https://linphone.org/contact I understand To create an account using your email: Your device doesn\'t seem to be able to receive push notifications.\n\nAs we now require them for the account creation process, you won\'t be able to create an account inside the app, but you can create it on our website: