remove non Hotlink ipfs gateways
This commit is contained in:
1 parent
ac28dac575
commit
f415f0ad4e
43 files changed
+39
-296
No files matched your search
@@ -163,7 +163,7 @@ The auto-translate and composer toggles are disabled until **Enable translation*
|
||||
|
||||
Open **App Settings → IPFS provider configuration** to configure IPFS uploads and previews:
|
||||
|
||||
- **Public IPFS gateway**: Select Pinata, Filebase, a custom gateway, or deactivate it. This gateway lets the app load bare IPFS content IDs in image links.
|
||||
- **Public IPFS gateway**: Select Filebase (the default), Pinata, a custom gateway, or deactivate it. This gateway lets the app load bare IPFS content IDs in image links.
|
||||
- **Upload provider**: Select Pinata, Filebase, a custom provider, or deactivate uploads. Presets fill in the provider’s upload endpoint and upload gateway; custom setups can edit both.
|
||||
- **API key**: Enter the credential required by the selected provider. The value is masked in the settings dialog. Pinata and Filebase presets require provider credentials.
|
||||
|
||||
|
||||
@@ -2249,9 +2249,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Зарежда изображенията от линкове във всеки чат, освен ако не сте ги изключили там. Това споделя вашия IP адрес с хостовете на изображения във всеки чат.",
|
||||
"appSettings_publicIpfsGateway": "Публичен шлюз",
|
||||
"appSettings_ipfsGatewayDeactivated": "Деактивиран",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Собствен (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Доставчик за качване",
|
||||
"appSettings_uploadIpfsGateway": "Шлюз за качване",
|
||||
|
||||
@@ -2376,9 +2376,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Link-Bilder in jedem Chat laden, sofern sie dort nicht deaktiviert wurden. Dabei wird in jedem Chat Ihre IP-Adresse an Bild-Hosts weitergegeben.",
|
||||
"appSettings_publicIpfsGateway": "Öffentliches Gateway",
|
||||
"appSettings_ipfsGatewayDeactivated": "Deaktiviert",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Benutzerdefiniert (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Upload-Anbieter",
|
||||
"appSettings_uploadIpfsGateway": "Upload-Gateway",
|
||||
|
||||
@@ -462,9 +462,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Load link images in every chat unless you turned them off there. This shares your IP address with image hosts in every chat.",
|
||||
"appSettings_publicIpfsGateway": "Public gateway",
|
||||
"appSettings_ipfsGatewayDeactivated": "Deactivated",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Custom (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Upload provider",
|
||||
"appSettings_uploadIpfsGateway": "Upload gateway",
|
||||
|
||||
@@ -3472,9 +3472,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Carga las imágenes de enlaces en cada chat salvo que las hayas desactivado allí. Esto comparte tu dirección IP con los servidores de imágenes en todos los chats.",
|
||||
"appSettings_publicIpfsGateway": "Pasarela pública",
|
||||
"appSettings_ipfsGatewayDeactivated": "Desactivada",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Personalizada (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Proveedor de subida",
|
||||
"appSettings_uploadIpfsGateway": "Pasarela de subida",
|
||||
|
||||
@@ -3472,9 +3472,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Charger les images des liens dans chaque chat, sauf si vous les avez désactivées dans ce chat. Cela partage votre adresse IP avec les hébergeurs d'images dans tous les chats.",
|
||||
"appSettings_publicIpfsGateway": "Passerelle publique",
|
||||
"appSettings_ipfsGatewayDeactivated": "Désactivée",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Personnalisée (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Fournisseur d'envoi",
|
||||
"appSettings_uploadIpfsGateway": "Passerelle d'envoi",
|
||||
|
||||
@@ -293,9 +293,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "A hivatkozott képek betöltése minden csevegésben, ha ott nem kapcsoltad ki. Ez minden csevegésben megosztja az IP-címedet a képtárolókkal.",
|
||||
"appSettings_publicIpfsGateway": "Nyilvános átjáró",
|
||||
"appSettings_ipfsGatewayDeactivated": "Kikapcsolva",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Egyéni (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Feltöltési szolgáltató",
|
||||
"appSettings_uploadIpfsGateway": "Feltöltési átjáró",
|
||||
|
||||
@@ -3472,9 +3472,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Carica le immagini dei link in ogni chat, a meno che tu non le abbia disattivate in quella chat. Questo condivide il tuo indirizzo IP con gli host delle immagini in ogni chat.",
|
||||
"appSettings_publicIpfsGateway": "Gateway pubblico",
|
||||
"appSettings_ipfsGatewayDeactivated": "Disattivato",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Personalizzato (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Provider di caricamento",
|
||||
"appSettings_uploadIpfsGateway": "Gateway di caricamento",
|
||||
|
||||
@@ -3472,9 +3472,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "チャットごとにオフにしていない限り、すべてのチャットでリンク画像を読み込みます。すべてのチャットで画像ホストにIPアドレスが共有されます。",
|
||||
"appSettings_publicIpfsGateway": "公開ゲートウェイ",
|
||||
"appSettings_ipfsGatewayDeactivated": "無効",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "カスタム(Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "アップロードプロバイダー",
|
||||
"appSettings_uploadIpfsGateway": "アップロードゲートウェイ",
|
||||
|
||||
@@ -3472,9 +3472,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "채팅별로 끄지 않은 한 모든 채팅에서 링크 이미지를 불러옵니다. 모든 채팅에서 이미지 호스트에 내 IP 주소가 공유됩니다.",
|
||||
"appSettings_publicIpfsGateway": "공개 게이트웨이",
|
||||
"appSettings_ipfsGatewayDeactivated": "사용 안 함",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "사용자 지정(Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "업로드 제공자",
|
||||
"appSettings_uploadIpfsGateway": "업로드 게이트웨이",
|
||||
|
||||
@@ -2008,24 +2008,6 @@ abstract class AppLocalizations {
|
||||
/// **'Deactivated'**
|
||||
String get appSettings_ipfsGatewayDeactivated;
|
||||
|
||||
/// No description provided for @appSettings_ipfsGatewayIpfsIo.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'ipfs.io'**
|
||||
String get appSettings_ipfsGatewayIpfsIo;
|
||||
|
||||
/// No description provided for @appSettings_ipfsGatewayPinata.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Pinata'**
|
||||
String get appSettings_ipfsGatewayPinata;
|
||||
|
||||
/// No description provided for @appSettings_ipfsGatewayFilebase.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Filebase'**
|
||||
String get appSettings_ipfsGatewayFilebase;
|
||||
|
||||
/// No description provided for @appSettings_ipfsGatewayCustom.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -1109,15 +1109,6 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Деактивиран';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Собствен (Kubo)';
|
||||
|
||||
|
||||
@@ -1103,15 +1103,6 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Deaktiviert';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Benutzerdefiniert (Kubo)';
|
||||
|
||||
|
||||
@@ -1086,15 +1086,6 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Deactivated';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Custom (Kubo)';
|
||||
|
||||
|
||||
@@ -1100,15 +1100,6 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Desactivada';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Personalizada (Kubo)';
|
||||
|
||||
|
||||
@@ -1106,15 +1106,6 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Désactivée';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Personnalisée (Kubo)';
|
||||
|
||||
|
||||
@@ -1096,15 +1096,6 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Kikapcsolva';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Egyéni (Kubo)';
|
||||
|
||||
|
||||
@@ -1106,15 +1106,6 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Disattivato';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Personalizzato (Kubo)';
|
||||
|
||||
|
||||
@@ -1041,15 +1041,6 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => '無効';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'カスタム(Kubo)';
|
||||
|
||||
|
||||
@@ -1045,15 +1045,6 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => '사용 안 함';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => '사용자 지정(Kubo)';
|
||||
|
||||
|
||||
@@ -1096,15 +1096,6 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Uitgeschakeld';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Aangepast (Kubo)';
|
||||
|
||||
|
||||
@@ -1112,15 +1112,6 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Wyłączona';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Własna (Kubo)';
|
||||
|
||||
|
||||
@@ -1104,15 +1104,6 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Desativado';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Personalizado (Kubo)';
|
||||
|
||||
|
||||
@@ -1109,15 +1109,6 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Отключён';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Свой (Kubo)';
|
||||
|
||||
|
||||
@@ -1098,15 +1098,6 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Deaktivované';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Vlastná (Kubo)';
|
||||
|
||||
|
||||
@@ -1097,15 +1097,6 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Deaktivirano';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Po meri (Kubo)';
|
||||
|
||||
|
||||
@@ -1085,15 +1085,6 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Avaktiverad';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Egen (Kubo)';
|
||||
|
||||
|
||||
@@ -1100,15 +1100,6 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => 'Деактивовано';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => 'Власний (Kubo)';
|
||||
|
||||
|
||||
@@ -1024,15 +1024,6 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_ipfsGatewayDeactivated => '已停用';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayIpfsIo => 'ipfs.io';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayPinata => 'Pinata';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayFilebase => 'Filebase';
|
||||
|
||||
@override
|
||||
String get appSettings_ipfsGatewayCustom => '自定义 (Kubo)';
|
||||
|
||||
|
||||
@@ -2292,9 +2292,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Laad linkafbeeldingen in elke chat, tenzij je ze daar hebt uitgezet. Hierdoor wordt je IP-adres in elke chat gedeeld met afbeeldingshosts.",
|
||||
"appSettings_publicIpfsGateway": "Publieke gateway",
|
||||
"appSettings_ipfsGatewayDeactivated": "Uitgeschakeld",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Aangepast (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Uploadprovider",
|
||||
"appSettings_uploadIpfsGateway": "Uploadgateway",
|
||||
|
||||
@@ -2287,9 +2287,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Wczytuj obrazy z linków w każdym czacie, chyba że je tam wyłączono. Ujawnia to Twój adres IP hostom obrazów w każdym czacie.",
|
||||
"appSettings_publicIpfsGateway": "Publiczna bramka",
|
||||
"appSettings_ipfsGatewayDeactivated": "Wyłączona",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Własna (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Dostawca wysyłania",
|
||||
"appSettings_uploadIpfsGateway": "Bramka wysyłania",
|
||||
|
||||
@@ -3338,9 +3338,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Carrega as imagens de links em cada chat, a menos que as tenha desativado lá. Isto partilha o seu endereço IP com os servidores de imagens em todos os chats.",
|
||||
"appSettings_publicIpfsGateway": "Gateway público",
|
||||
"appSettings_ipfsGatewayDeactivated": "Desativado",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Personalizado (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Provedor de envio",
|
||||
"appSettings_uploadIpfsGateway": "Gateway de envio",
|
||||
|
||||
@@ -1421,9 +1421,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Загружать изображения из ссылок в каждом чате, если вы не отключили это в нём. Ваш IP-адрес будет виден хостингам изображений во всех чатах.",
|
||||
"appSettings_publicIpfsGateway": "Публичный шлюз",
|
||||
"appSettings_ipfsGatewayDeactivated": "Отключён",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Свой (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Провайдер загрузки",
|
||||
"appSettings_uploadIpfsGateway": "Шлюз загрузки",
|
||||
|
||||
@@ -2249,9 +2249,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Načítať obrázky z odkazov v každom chate, ak ste ich tam nevypli. Vaša IP adresa sa tak zdieľa s hostiteľmi obrázkov vo všetkých chatoch.",
|
||||
"appSettings_publicIpfsGateway": "Verejná brána",
|
||||
"appSettings_ipfsGatewayDeactivated": "Deaktivované",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Vlastná (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Poskytovateľ nahrávania",
|
||||
"appSettings_uploadIpfsGateway": "Brána nahrávania",
|
||||
|
||||
@@ -3339,9 +3339,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Naloži slike iz povezav v vsakem klepetu, razen če ste jih tam izklopili. To deli vaš naslov IP z gostitelji slik v vsakem klepetu.",
|
||||
"appSettings_publicIpfsGateway": "Javni prehod",
|
||||
"appSettings_ipfsGatewayDeactivated": "Deaktivirano",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Po meri (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Ponudnik nalaganja",
|
||||
"appSettings_uploadIpfsGateway": "Prehod za nalaganje",
|
||||
|
||||
@@ -3333,9 +3333,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Ladda länkbilder i alla chattar om du inte har stängt av det där. Det delar din IP-adress med bildhostar i varje chatt.",
|
||||
"appSettings_publicIpfsGateway": "Offentlig gateway",
|
||||
"appSettings_ipfsGatewayDeactivated": "Avaktiverad",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Egen (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Uppladdningsleverantör",
|
||||
"appSettings_uploadIpfsGateway": "Uppladdningsgateway",
|
||||
|
||||
@@ -2252,9 +2252,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "Завантажувати зображення з посилань у кожному чаті, якщо ви не вимкнули це там. Це передає вашу IP-адресу хостам зображень у кожному чаті.",
|
||||
"appSettings_publicIpfsGateway": "Публічний шлюз",
|
||||
"appSettings_ipfsGatewayDeactivated": "Деактивовано",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "Власний (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "Провайдер завантаження",
|
||||
"appSettings_uploadIpfsGateway": "Шлюз завантаження",
|
||||
|
||||
@@ -3343,9 +3343,6 @@
|
||||
"appSettings_showLinkImagesByDefaultSubtitle": "在每个聊天中加载链接图片,除非你在该聊天中已将其关闭。这会在每个聊天中向图片托管方暴露你的 IP 地址。",
|
||||
"appSettings_publicIpfsGateway": "公共网关",
|
||||
"appSettings_ipfsGatewayDeactivated": "已停用",
|
||||
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
|
||||
"appSettings_ipfsGatewayPinata": "Pinata",
|
||||
"appSettings_ipfsGatewayFilebase": "Filebase",
|
||||
"appSettings_ipfsGatewayCustom": "自定义 (Kubo)",
|
||||
"appSettings_uploadIpfsProvider": "上传提供商",
|
||||
"appSettings_uploadIpfsGateway": "上传网关",
|
||||
|
||||
@@ -94,7 +94,8 @@ class Cyr2LatProfile {
|
||||
class AppSettings {
|
||||
static const Object _unset = Object();
|
||||
static const String stadiaDemo = '51bd0381-4685-4666-bae8-48940f6d77c0';
|
||||
static const String defaultPublicIpfsGateway = 'https://ipfs.io/ipfs/';
|
||||
static const String defaultPublicIpfsGateway =
|
||||
'https://ipfs.filebase.io/ipfs/';
|
||||
|
||||
final bool clearPathOnMaxRetry;
|
||||
final bool mapShowRepeaters;
|
||||
|
||||
@@ -1646,17 +1646,10 @@ class _IpfsImageLinksDialogState extends State<_IpfsImageLinksDialog> {
|
||||
value: 'deactivated',
|
||||
child: Text(l10n.appSettings_ipfsGatewayDeactivated),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'ipfsio',
|
||||
child: Text(l10n.appSettings_ipfsGatewayIpfsIo),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'pinata',
|
||||
child: Text(l10n.appSettings_ipfsGatewayPinata),
|
||||
),
|
||||
DropdownMenuItem(value: 'pinata', child: const Text('Pinata')),
|
||||
DropdownMenuItem(
|
||||
value: 'filebase',
|
||||
child: Text(l10n.appSettings_ipfsGatewayFilebase),
|
||||
child: const Text('Filebase'),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'custom',
|
||||
@@ -1687,13 +1680,10 @@ class _IpfsImageLinksDialogState extends State<_IpfsImageLinksDialog> {
|
||||
labelText: l10n.appSettings_uploadIpfsProvider,
|
||||
),
|
||||
items: [
|
||||
DropdownMenuItem(
|
||||
value: 'pinata',
|
||||
child: Text(l10n.appSettings_ipfsGatewayPinata),
|
||||
),
|
||||
DropdownMenuItem(value: 'pinata', child: const Text('Pinata')),
|
||||
DropdownMenuItem(
|
||||
value: 'filebase',
|
||||
child: Text(l10n.appSettings_ipfsGatewayFilebase),
|
||||
child: const Text('Filebase'),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'custom',
|
||||
@@ -1816,10 +1806,6 @@ class _IpfsImageLinksDialogState extends State<_IpfsImageLinksDialog> {
|
||||
|
||||
String _gatewayPreset(String value) {
|
||||
if (value.isEmpty) return 'deactivated';
|
||||
if (value == AppSettings.defaultPublicIpfsGateway ||
|
||||
value == 'https://ipfs.io/ipfs') {
|
||||
return 'ipfsio';
|
||||
}
|
||||
if (value == 'https://gateway.pinata.cloud/ipfs/' ||
|
||||
value == 'https://gateway.pinata.cloud/ipfs') {
|
||||
return 'pinata';
|
||||
@@ -1835,8 +1821,6 @@ class _IpfsImageLinksDialogState extends State<_IpfsImageLinksDialog> {
|
||||
switch (preset) {
|
||||
case 'deactivated':
|
||||
return '';
|
||||
case 'ipfsio':
|
||||
return AppSettings.defaultPublicIpfsGateway;
|
||||
case 'pinata':
|
||||
return 'https://gateway.pinata.cloud/ipfs/';
|
||||
case 'filebase':
|
||||
|
||||
@@ -51,18 +51,18 @@ void main() {
|
||||
);
|
||||
});
|
||||
|
||||
test('resolves ipfs cid links with the default ipfs.io gateway', () async {
|
||||
test('resolves ipfs cid links with the default Filebase gateway', () async {
|
||||
expect(
|
||||
await MessageUrlImageHelper.parse(
|
||||
'my picture: ipfs://bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly text',
|
||||
),
|
||||
'https://ipfs.io/ipfs/bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly',
|
||||
'https://ipfs.filebase.io/ipfs/bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly',
|
||||
);
|
||||
expect(
|
||||
await MessageUrlImageHelper.parse(
|
||||
'my picture: ipfs:bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly text',
|
||||
),
|
||||
'https://ipfs.io/ipfs/bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly',
|
||||
'https://ipfs.filebase.io/ipfs/bafybeibq75ws6nwk6wi473dch42wwy6woyj4dwdfy7nfz3buqx2caieoly',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -457,12 +457,12 @@ void main() {
|
||||
expect(AppSettings.fromJson(saved).showLinkImagesByDefault, isTrue);
|
||||
});
|
||||
|
||||
test('public IPFS gateway defaults to ipfs.io when never set', () {
|
||||
test('public IPFS gateway defaults to Filebase when never set', () {
|
||||
expect(
|
||||
AppSettings.fromJson({}).publicIpfsGateway,
|
||||
'https://ipfs.io/ipfs/',
|
||||
'https://ipfs.filebase.io/ipfs/',
|
||||
);
|
||||
expect(AppSettings().publicIpfsGateway, 'https://ipfs.io/ipfs/');
|
||||
expect(AppSettings().publicIpfsGateway, 'https://ipfs.filebase.io/ipfs/');
|
||||
});
|
||||
|
||||
test('public IPFS gateway keeps a saved empty value as deactivated', () {
|
||||
@@ -470,12 +470,8 @@ void main() {
|
||||
expect(AppSettings.fromJson(saved).publicIpfsGateway, isEmpty);
|
||||
});
|
||||
|
||||
test('public IPFS gateway keeps saved ipfs.io and dweb.link values', () {
|
||||
for (final gateway in [
|
||||
'https://ipfs.io/ipfs/',
|
||||
'https://dweb.link/ipfs/',
|
||||
'https://gateway.example.com/ipfs/',
|
||||
]) {
|
||||
test('public IPFS gateway keeps saved custom values', () {
|
||||
for (final gateway in ['https://gateway.example.com/ipfs/']) {
|
||||
final saved = AppSettings(publicIpfsGateway: gateway).toJson();
|
||||
expect(AppSettings.fromJson(saved).publicIpfsGateway, gateway);
|
||||
}
|
||||
|
||||
@@ -61,34 +61,30 @@ int _readIntOption(Socket socket, int level, int option) {
|
||||
}
|
||||
|
||||
void main() {
|
||||
test(
|
||||
'connect enables TCP keepalive with short probe timings',
|
||||
() async {
|
||||
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
|
||||
final overrides = _CapturingConnectOverrides();
|
||||
final service = TcpTransportService();
|
||||
try {
|
||||
await IOOverrides.runZoned(
|
||||
() => service.connect(
|
||||
host: InternetAddress.loopbackIPv4.address,
|
||||
port: server.port,
|
||||
),
|
||||
socketConnect: overrides.socketConnect,
|
||||
);
|
||||
final socket = overrides.socket!;
|
||||
// Linux values: SO_KEEPALIVE 9, TCP_KEEPIDLE 4, TCP_KEEPINTVL 5,
|
||||
// TCP_KEEPCNT 6.
|
||||
expect(_readIntOption(socket, RawSocketOption.levelSocket, 9), 1);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 4), 30);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 5), 10);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 6), 3);
|
||||
} finally {
|
||||
await service.disconnect();
|
||||
await server.close();
|
||||
}
|
||||
},
|
||||
skip: Platform.isLinux ? false : 'Option numbers checked are Linux ones',
|
||||
);
|
||||
test('connect enables TCP keepalive with short probe timings', () async {
|
||||
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
|
||||
final overrides = _CapturingConnectOverrides();
|
||||
final service = TcpTransportService();
|
||||
try {
|
||||
await IOOverrides.runZoned(
|
||||
() => service.connect(
|
||||
host: InternetAddress.loopbackIPv4.address,
|
||||
port: server.port,
|
||||
),
|
||||
socketConnect: overrides.socketConnect,
|
||||
);
|
||||
final socket = overrides.socket!;
|
||||
// Linux values: SO_KEEPALIVE 9, TCP_KEEPIDLE 4, TCP_KEEPINTVL 5,
|
||||
// TCP_KEEPCNT 6.
|
||||
expect(_readIntOption(socket, RawSocketOption.levelSocket, 9), 1);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 4), 30);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 5), 10);
|
||||
expect(_readIntOption(socket, RawSocketOption.levelTcp, 6), 3);
|
||||
} finally {
|
||||
await service.disconnect();
|
||||
await server.close();
|
||||
}
|
||||
}, skip: Platform.isLinux ? false : 'Option numbers checked are Linux ones');
|
||||
|
||||
test('connect/disconnect updates TCP transport state', () async {
|
||||
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
|
||||
|
||||
Reference in new issue
Block a user