This commit is contained in:
Daniel 2025-06-20 10:20:42 +08:00
parent 3631b729ad
commit 3319ffbb18
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
28 changed files with 91 additions and 9172 deletions

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "‫عدم توسيع إذا تم إعداده كـ‪<code class='fn__code'>0</code>", "backlinkExpandTip": "‫عدم توسيع إذا تم إعداده كـ‪<code class='fn__code'>0</code>",
"backmentionExpand": "عدد الإشارات المرجعية الموسَّعة افتراضياً", "backmentionExpand": "عدد الإشارات المرجعية الموسَّعة افتراضياً",
"backmentionExpandTip": "‫إذا تم إعداده كـ‪<code class='fn__code'>0</code>‬، فلن يتم توسيعه، وإذا تم إعداده كـ‪<code class='fn__code'>-1</code>‬، سيتم إغلاق اللوحة‬", "backmentionExpandTip": "‫إذا تم إعداده كـ‪<code class='fn__code'>0</code>‬، فلن يتم توسيعه، وإذا تم إعداده كـ‪<code class='fn__code'>-1</code>‬، سيتم إغلاق اللوحة‬",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "‫بعد التمكين، سوف يستخدم <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> لحساب حالة فتح التطبيق ولن يجمع بيانات المستخدمين وعملياتهم‬",
"floatWindowMode": "طريقة تشغيل النافذة العائمة", "floatWindowMode": "طريقة تشغيل النافذة العائمة",
"floatWindowModeTip": "اختيار كيفية تشغيل النافذة العائمة عندما ينتقل الماوس فوق أيقونة الكتلة، أيقونة شريط التنقل، إلخ", "floatWindowModeTip": "اختيار كيفية تشغيل النافذة العائمة عندما ينتقل الماوس فوق أيقونة الكتلة، أيقونة شريط التنقل، إلخ",
"floatWindowMode0": "تحويم", "floatWindowMode0": "تحويم",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Wenn auf <code class='fn__code'>0</code> konfiguriert, wird es nicht erweitert.", "backlinkExpandTip": "Wenn auf <code class='fn__code'>0</code> konfiguriert, wird es nicht erweitert.",
"backmentionExpand": "Standarderweiterung der Rückverweismarken", "backmentionExpand": "Standarderweiterung der Rückverweismarken",
"backmentionExpandTip": "Wenn auf <code class='fn__code'>0</code> konfiguriert, wird es nicht erweitert, wenn auf <code class='fn__code'>-1</code> konfiguriert, wird das Panel geschlossen.", "backmentionExpandTip": "Wenn auf <code class='fn__code'>0</code> konfiguriert, wird es nicht erweitert, wenn auf <code class='fn__code'>-1</code> konfiguriert, wird das Panel geschlossen.",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Nach der Aktivierung wird <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> verwendet, um den Öffnungsstatus der Anwendung zu zählen und es werden keine Benutzerdaten und -operationen gesammelt.",
"floatWindowMode": "Auslösermethode für schwebendes Fenster", "floatWindowMode": "Auslösermethode für schwebendes Fenster",
"floatWindowModeTip": "Wählen Sie, wie das schwebende Fenster ausgelöst wird, wenn die Maus über das Blocksymbol, das Breadcrumb-Symbol usw. schwebt.", "floatWindowModeTip": "Wählen Sie, wie das schwebende Fenster ausgelöst wird, wenn die Maus über das Blocksymbol, das Breadcrumb-Symbol usw. schwebt.",
"floatWindowMode0": "Schweben", "floatWindowMode0": "Schweben",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "If configured as <code class='fn__code'>0</code>", "backlinkExpandTip": "If configured as <code class='fn__code'>0</code>",
"backmentionExpand": "Backmention default expand", "backmentionExpand": "Backmention default expand",
"backmentionExpandTip": "If configured as <code class='fn__code'>0</code>, it will not be expanded, if configured as <code class='fn__code'>-1</code>, the panel will be closed", "backmentionExpandTip": "If configured as <code class='fn__code'>0</code>, it will not be expanded, if configured as <code class='fn__code'>-1</code>, the panel will be closed",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "When enabled, it will use <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> to count the opening status of the application and will not collect users data and operations",
"floatWindowMode": "Floating window trigger method", "floatWindowMode": "Floating window trigger method",
"floatWindowModeTip": "Choose how to trigger the floating window when the mouse hovers over the block icon, breadcrumb icon, etc.", "floatWindowModeTip": "Choose how to trigger the floating window when the mouse hovers over the block icon, breadcrumb icon, etc.",
"floatWindowMode0": "Hover", "floatWindowMode0": "Hover",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Si se configura como <code class='fn__code'>0</code>", "backlinkExpandTip": "Si se configura como <code class='fn__code'>0</code>",
"backmentionExpand": "Expansión predeterminada de la mención", "backmentionExpand": "Expansión predeterminada de la mención",
"backmentionExpandTip": "Si se configura como <code class='fn__code'>0</code>, no se expandirá, , si se configura como <code class='fn__code'>-1</code>, el panel se cerrará", "backmentionExpandTip": "Si se configura como <code class='fn__code'>0</code>, no se expandirá, , si se configura como <code class='fn__code'>-1</code>, el panel se cerrará",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Después de habilitarlo, usará <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> para contar el estado de apertura del aplicación y no recopilará datos y operaciones de los usuarios",
"floatWindowMode": "Método de activación de ventana flotante", "floatWindowMode": "Método de activación de ventana flotante",
"floatWindowModeTip": "Elija cómo activar la ventana flotante cuando el mouse pasa sobre el ícono de bloque, el ícono de ruta de navegación, etc.", "floatWindowModeTip": "Elija cómo activar la ventana flotante cuando el mouse pasa sobre el ícono de bloque, el ícono de ruta de navegación, etc.",
"floatWindowMode0": "Flotar", "floatWindowMode0": "Flotar",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Si configuré comme <code class='fn__code'>0</code>", "backlinkExpandTip": "Si configuré comme <code class='fn__code'>0</code>",
"backmentionExpand": "Développer la mention par défaut", "backmentionExpand": "Développer la mention par défaut",
"backmentionExpandTip": "Si configuré comme <code class='fn__code'>0</code>, il ne sera pas développé, s'il est configuré comme <code class='fn__code'>-1</code>, le panneau sera fermé", "backmentionExpandTip": "Si configuré comme <code class='fn__code'>0</code>, il ne sera pas développé, s'il est configuré comme <code class='fn__code'>-1</code>, le panneau sera fermé",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Après l'activation, il utilisera <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> pour compter le statut d'ouverture du l'application et ne collectera pas les Données et Opérations des utilisateurs",
"floatWindowMode": "Méthode de déclenchement de fenêtre flottante", "floatWindowMode": "Méthode de déclenchement de fenêtre flottante",
"floatWindowModeTip": "Choisissez comment déclencher la fenêtre flottante lorsque la souris survole l'icône de bloc, l'icône de fil d'Ariane, etc.", "floatWindowModeTip": "Choisissez comment déclencher la fenêtre flottante lorsque la souris survole l'icône de bloc, l'icône de fil d'Ariane, etc.",
"floatWindowMode0": "Flotter", "floatWindowMode0": "Flotter",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "אם מוגדר כ<code class='fn__code'>0</code>", "backlinkExpandTip": "אם מוגדר כ<code class='fn__code'>0</code>",
"backmentionExpand": "ברירת מחדל להרחבת אזכור", "backmentionExpand": "ברירת מחדל להרחבת אזכור",
"backmentionExpandTip": "אם מוגדר כ<code class='fn__code'>0</code>, הוא לא יתרחב, אם מוגדר כ<code class='fn__code'>-1</code>, הפנל ייסגר", "backmentionExpandTip": "אם מוגדר כ<code class='fn__code'>0</code>, הוא לא יתרחב, אם מוגדר כ<code class='fn__code'>-1</code>, הפנל ייסגר",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "לאחר ההפעלת השירות, ישתמש ב<a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> לספור את מצב הפתיחה של היישום ולא יאסוף נתוני משתמש ופעולות",
"floatWindowMode": "שיטת הפעלת חלון צף", "floatWindowMode": "שיטת הפעלת חלון צף",
"floatWindowModeTip": "בחר כיצד להפעיל את חלון הצף כאשר העכבר מרחף מעל אייקון הבלוק, אייקוןBreadcrumb וכדומה.", "floatWindowModeTip": "בחר כיצד להפעיל את חלון הצף כאשר העכבר מרחף מעל אייקון הבלוק, אייקוןBreadcrumb וכדומה.",
"floatWindowMode0": "מרחף", "floatWindowMode0": "מרחף",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Se configurato come <code class='fn__code'>0</code>, non sarà espanso", "backlinkExpandTip": "Se configurato come <code class='fn__code'>0</code>, non sarà espanso",
"backmentionExpand": "Espansione predefinita del backmention", "backmentionExpand": "Espansione predefinita del backmention",
"backmentionExpandTip": "Se configurato come <code class='fn__code'>0</code>, non sarà espanso, se configurato come <code class='fn__code'>-1</code>, il pannello sarà chiuso", "backmentionExpandTip": "Se configurato come <code class='fn__code'>0</code>, non sarà espanso, se configurato come <code class='fn__code'>-1</code>, il pannello sarà chiuso",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Dopo l'abilitazione, verrà utilizzato <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> per contare lo stato di apertura dell'applicazione e non raccoglierà dati e operazioni degli utenti",
"floatWindowMode": "Metodo di attivazione della finestra flottante", "floatWindowMode": "Metodo di attivazione della finestra flottante",
"floatWindowModeTip": "Scegli come attivare la finestra flottante quando il mouse passa sopra l'icona del blocco, l'icona del breadcrumb, ecc.", "floatWindowModeTip": "Scegli come attivare la finestra flottante quando il mouse passa sopra l'icona del blocco, l'icona del breadcrumb, ecc.",
"floatWindowMode0": "Passa il mouse", "floatWindowMode0": "Passa il mouse",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "<code class='fn__code'>0</code> の場合は展開されません", "backlinkExpandTip": "<code class='fn__code'>0</code> の場合は展開されません",
"backmentionExpand": "逆参照のデフォルト展開数", "backmentionExpand": "逆参照のデフォルト展開数",
"backmentionExpandTip": "<code class='fn__code'>0</code> の場合は展開されません、<code class='fn__code'>-1</code> の場合はパネルが最小化されます", "backmentionExpandTip": "<code class='fn__code'>0</code> の場合は展開されません、<code class='fn__code'>-1</code> の場合はパネルが最小化されます",
"googleAnalytics": "Google アナリティクス",
"googleAnalyticsTip": "<a href=\"https://analytics.google.com/\" target=\"_blank\">Google アナリティクス</a>を使用してアプリケーションの起動状況をカウントします。ユーザーデータや操作内容は収集されません",
"floatWindowMode": "フローティングウィンドウのトリガー方法", "floatWindowMode": "フローティングウィンドウのトリガー方法",
"floatWindowModeTip": "ブロックアイコンやパンくずリストアイコンなどにマウスカーソルを合わせたときにフローティングウィンドウを表示する方法を選択します", "floatWindowModeTip": "ブロックアイコンやパンくずリストアイコンなどにマウスカーソルを合わせたときにフローティングウィンドウを表示する方法を選択します",
"floatWindowMode0": "ホバー", "floatWindowMode0": "ホバー",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Jeśli skonfigurowane jako <code class='fn__code'>0</code>", "backlinkExpandTip": "Jeśli skonfigurowane jako <code class='fn__code'>0</code>",
"backmentionExpand": "Domyślne rozwinięcie wzmianki", "backmentionExpand": "Domyślne rozwinięcie wzmianki",
"backmentionExpandTip": "Jeśli skonfigurowane jako <code class='fn__code'>0</code>, nie będzie rozwinięte, jeśli skonfigurowane jako <code class='fn__code'>-1</code>, panel zostanie zamknięty", "backmentionExpandTip": "Jeśli skonfigurowane jako <code class='fn__code'>0</code>, nie będzie rozwinięte, jeśli skonfigurowane jako <code class='fn__code'>-1</code>, panel zostanie zamknięty",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Po włączeniu, będzie używało <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a>, aby zliczać status otwierania aplikacji i nie zbiera danych i operacji użytkowników",
"floatWindowMode": "Metoda wywoływania okna pływającego", "floatWindowMode": "Metoda wywoływania okna pływającego",
"floatWindowModeTip": "Wybierz, jak wywoływać pływające okno, gdy mysz znajduje się nad ikoną bloku, ikoną okruszków, itp.", "floatWindowModeTip": "Wybierz, jak wywoływać pływające okno, gdy mysz znajduje się nad ikoną bloku, ikoną okruszków, itp.",
"floatWindowMode0": "Najedź", "floatWindowMode0": "Najedź",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Se configurado como <code class='fn__code'>0</code>", "backlinkExpandTip": "Se configurado como <code class='fn__code'>0</code>",
"backmentionExpand": "Backmention expandir padrão", "backmentionExpand": "Backmention expandir padrão",
"backmentionExpandTip": "Se configurado como <code class='fn__code'>0</code>, não será expandido, se configurado como <code class='fn__code'>-1</code>, o painel será fechado", "backmentionExpandTip": "Se configurado como <code class='fn__code'>0</code>, não será expandido, se configurado como <code class='fn__code'>-1</code>, o painel será fechado",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "Quando ativado, usará <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> para estatísticas do status de abertura do aplicativo e não coletará dados e operações dos usuários",
"floatWindowMode": "Método de acionamento da janela flutuante", "floatWindowMode": "Método de acionamento da janela flutuante",
"floatWindowModeTip": "Escolha como acionar a janela flutuante quando o mouse passar sobre o ícone do bloco, ícone de navegação estrutural, etc.", "floatWindowModeTip": "Escolha como acionar a janela flutuante quando o mouse passar sobre o ícone do bloco, ícone de navegação estrutural, etc.",
"floatWindowMode0": "Passar o mouse", "floatWindowMode0": "Passar o mouse",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "Если настроено как <code class='fn__code'>0</code>", "backlinkExpandTip": "Если настроено как <code class='fn__code'>0</code>",
"backmentionExpand": "По умолчанию раскрыть обратные упоминания", "backmentionExpand": "По умолчанию раскрыть обратные упоминания",
"backmentionExpandTip": "Если настроено как <code class='fn__code'>0</code>, оно не будет раскрываться, если настроено как <code class='fn__code'>-1</code>, панель будет закрыта", "backmentionExpandTip": "Если настроено как <code class='fn__code'>0</code>, оно не будет раскрываться, если настроено как <code class='fn__code'>-1</code>, панель будет закрыта",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "После включения будет использован <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> для подсчета состояния открытия приложения и не будет собирать данные и операции пользователей",
"floatWindowMode": "Способ активации плавающего окна", "floatWindowMode": "Способ активации плавающего окна",
"floatWindowModeTip": "Выберите способ вызова плавающего окна, когда мышь наводится на значок блока, значок хлебных крошек и т. д.", "floatWindowModeTip": "Выберите способ вызова плавающего окна, когда мышь наводится на значок блока, значок хлебных крошек и т. д.",
"floatWindowMode0": "Наведение", "floatWindowMode0": "Наведение",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "配置為 <code class='fn__code'>0</code> 則不展開", "backlinkExpandTip": "配置為 <code class='fn__code'>0</code> 則不展開",
"backmentionExpand": "反向提及默認展開數", "backmentionExpand": "反向提及默認展開數",
"backmentionExpandTip": "配置為 <code class='fn__code'>0</code> 則不展開,配置為 <code class='fn__code'>-1</code> 則收起面板", "backmentionExpandTip": "配置為 <code class='fn__code'>0</code> 則不展開,配置為 <code class='fn__code'>-1</code> 則收起面板",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "啟用後會通過 <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> 統計應用打開狀態,不會收集用戶資料和操作",
"floatWindowMode": "浮窗觸發方式", "floatWindowMode": "浮窗觸發方式",
"floatWindowModeTip": "選擇滑鼠懸停塊引、麵包屑塊標等位置觸發浮窗的方式", "floatWindowModeTip": "選擇滑鼠懸停塊引、麵包屑塊標等位置觸發浮窗的方式",
"floatWindowMode0": "懸停", "floatWindowMode0": "懸停",

View file

@ -509,8 +509,6 @@
"backlinkExpandTip": "配置为 <code class='fn__code'>0</code> 则不展开", "backlinkExpandTip": "配置为 <code class='fn__code'>0</code> 则不展开",
"backmentionExpand": "反向提及默认展开数", "backmentionExpand": "反向提及默认展开数",
"backmentionExpandTip": "配置为 <code class='fn__code'>0</code> 则不展开,配置为 <code class='fn__code'>-1</code> 则收起面板", "backmentionExpandTip": "配置为 <code class='fn__code'>0</code> 则不展开,配置为 <code class='fn__code'>-1</code> 则收起面板",
"googleAnalytics": "Google Analytics",
"googleAnalyticsTip": "启用后会通过 <a href=\"https://analytics.google.com/\" target=\"_blank\">Google Analytics</a> 统计应用打开状态,不会收集用户数据和操作",
"floatWindowMode": "浮窗触发方式", "floatWindowMode": "浮窗触发方式",
"floatWindowModeTip": "选择鼠标悬停块引、面包屑块标等位置触发浮窗的方式", "floatWindowModeTip": "选择鼠标悬停块引、面包屑块标等位置触发浮窗的方式",
"floatWindowMode0": "悬停", "floatWindowMode0": "悬停",

View file

@ -7,443 +7,48 @@
"id": "20200923234602-gy54e67", "id": "20200923234602-gy54e67",
"title": "Privacy Policy and User Agreement", "title": "Privacy Policy and User Agreement",
"type": "doc", "type": "doc",
"updated": "20220526191417" "updated": "20250620101418"
}, },
"Children": [ "Children": [
{ {
"ID": "20210104091616-xrdqdy2", "ID": "20250620101219-gb30b4i",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20210104091616-xrdqdy2",
"updated": "20210302223930"
},
"Children": [
{
"Type": "NodeText",
"Data": "Privacy Policy"
}
]
},
{
"ID": "20220209213811-rpuvjhk",
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20220209213811-rpuvjhk", "id": "20250620101219-gb30b4i",
"updated": "20220209213811" "updated": "20250620101347"
}, },
"Children": [ "Children": [
{
"Type": "NodeText",
"Data": "SiYuan's privacy policy document to declare its commitment to user privacy protection. Last updated February 9, 2022."
}
]
},
{
"ID": "20220209213811-awxzl13",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220209213811-awxzl13",
"updated": "20220209213811"
},
"Children": [
{
"Type": "NodeText",
"Data": "Will personal information or data be collected?"
}
]
},
{
"ID": "20220209213811-l51sw6a",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220209213811-l51sw6a",
"updated": "20220209213835"
},
"Children": [
{
"ID": "20220209213811-ewxm84m",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-ewxm84m",
"updated": "20220209213835"
},
"Children": [
{
"ID": "20220209213811-ky9opf0",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-ky9opf0",
"updated": "20220209213835"
},
"Children": [
{
"Type": "NodeText",
"Data": "Does not collect user personal information and usage data (notes, asset files, operation records and program logs, etc.)"
}
]
}
]
},
{
"ID": "20220209213811-is7xk7y",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-is7xk7y"
},
"Children": [
{
"ID": "20220209213811-kbcjlc7",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-kbcjlc7"
},
"Children": [
{
"Type": "NodeText",
"Data": "All data is kept on the device under full control of the user"
}
]
}
]
}
]
},
{
"ID": "20220209213811-9gohtvm",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220209213811-9gohtvm",
"updated": "20220209213811"
},
"Children": [
{
"Type": "NodeText",
"Data": "Developer Information and Contact"
}
]
},
{
"ID": "20220209213811-l3g0zol",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220209213811-l3g0zol",
"updated": "20220209213846"
},
"Children": [
{
"ID": "20220209213811-w811dqf",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-w811dqf",
"updated": "20220209213846"
},
"Children": [
{
"ID": "20220209213811-n3n3bkg",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-n3n3bkg",
"updated": "20220209213846"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan is designed and developed by Yunnan Liandi Technology Co., Ltd."
}
]
}
]
},
{
"ID": "20220209213811-m8hbjvz",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-m8hbjvz"
},
"Children": [
{
"ID": "20220209213811-ya7l4pe",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-ya7l4pe"
},
"Children": [
{
"Type": "NodeText",
"Data": "Contact via 845765@qq.com"
}
]
}
]
}
]
},
{
"ID": "20220209213811-o63lu5z",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220209213811-o63lu5z",
"updated": "20220209213811"
},
"Children": [
{
"Type": "NodeText",
"Data": "View Privacy Policy"
}
]
},
{
"ID": "20220209213811-vqbaqai",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220209213811-vqbaqai",
"updated": "20220226133935"
},
"Children": [
{
"ID": "20220209213811-kzz0gfr",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-kzz0gfr",
"updated": "20220226133935"
},
"Children": [
{
"ID": "20220209213811-b7bccxi",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-b7bccxi",
"updated": "20220226133935"
},
"Children": [
{
"Type": "NodeText",
"Data": "By visiting the webpage "
},
{
"Type": "NodeTextMark",
"TextMarkType": "a",
"TextMarkAHref": "https://b3log.org/siyuan/en/privacy.html",
"TextMarkTextContent": "https://b3log.org/siyuan/en/privacy.html"
}
]
}
]
},
{
"ID": "20220209213811-jm73hi0",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220209213811-jm73hi0",
"updated": "20220209213954"
},
"Children": [
{
"ID": "20220209213811-b4d3q89",
"Type": "NodeParagraph",
"Properties": {
"id": "20220209213811-b4d3q89",
"updated": "20220209213954"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click \"Help\" in the software, and open the \"Privacy Policy and License\" document in the opened \"SiYuan User Guide\""
}
]
}
]
}
]
},
{
"ID": "20210104091616-of87fda",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20210104091616-of87fda",
"updated": "20220219101126"
},
"Children": [
{
"Type": "NodeText",
"Data": "User Agreement"
}
]
},
{
"ID": "20220526172102-26zds8b",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220526172102-26zds8b",
"updated": "20220526172141"
},
"Children": [
{
"ID": "20220526172102-w718t2m",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220526172102-w718t2m",
"updated": "20220526172102"
},
"Children": [
{
"ID": "20220526172102-0850u1g",
"Type": "NodeParagraph",
"Properties": {
"id": "20220526172102-0850u1g",
"updated": "20220526172102"
},
"Children": [
{
"Type": "NodeText",
"Data": "Release date: February 11, 2022"
}
]
}
]
},
{
"ID": "20220526172102-ud15cx9",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220526172102-ud15cx9",
"updated": "20220526172141"
},
"Children": [
{
"ID": "20220526172102-ltmv72n",
"Type": "NodeParagraph",
"Properties": {
"id": "20220526172102-ltmv72n",
"updated": "20220526172141"
},
"Children": [
{
"Type": "NodeText",
"Data": "Latest date: May 26, 2022"
}
]
}
]
}
]
},
{
"ID": "20220526172025-jc682zl",
"Type": "NodeParagraph",
"Properties": {
"id": "20220526172025-jc682zl",
"updated": "20220526172030"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan uses the "
},
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "a", "TextMarkType": "a",
"TextMarkAHref": "https://www.gnu.org/licenses/#AGPL", "TextMarkAHref": "https://b3log.org/siyuan/en/privacy.html",
"TextMarkTextContent": "AGPLv3 Open Source License" "TextMarkTextContent": "SiYuan Privacy Policy"
},
{
"Type": "NodeText",
"Data": ", please be sure to follow it."
} }
] ]
}, },
{ {
"ID": "20220526172038-2fqf9le", "ID": "20250620101348-9k2g0ii",
"Type": "NodeBlockquote",
"Properties": {
"id": "20220526172038-2fqf9le",
"updated": "20220526172038"
},
"Children": [
{
"Type": "NodeBlockquoteMarker",
"Data": "\u003e"
},
{
"ID": "20220526172038-y5qjebj",
"Type": "NodeParagraph",
"Properties": {
"id": "20220526172038-y5qjebj",
"updated": "20220526172038"
},
"Children": [
{
"Type": "NodeText",
"Data": "// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see "
},
{
"Type": "NodeTextMark",
"TextMarkType": "a",
"TextMarkAHref": "https://www.gnu.org/licenses/",
"TextMarkTextContent": "https://www.gnu.org/licenses/"
},
{
"Type": "NodeText",
"Data": "."
}
]
}
]
},
{
"ID": "20220526172045-j259gxu",
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20220526172045-j259gxu", "id": "20250620101348-9k2g0ii",
"updated": "20220526191417" "updated": "20250620101354"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeTextMark",
"Data": "For SiYuan cloud service, it is forbidden to share user accounts, otherwise the account will be deactivated." "TextMarkType": "a",
"TextMarkAHref": "https://b3log.org/siyuan/en/eula.html",
"TextMarkTextContent": "User Agreement"
} }
] ]
},
{
"ID": "20250620101418-78whfgr",
"Type": "NodeParagraph",
"Properties": {
"id": "20250620101418-78whfgr",
"updated": "20250620101418"
}
} }
] ]
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -8,503 +8,47 @@
"id": "20240530101000-3xv6jjr", "id": "20240530101000-3xv6jjr",
"title": "プライバシーポリシーと利用規約", "title": "プライバシーポリシーと利用規約",
"type": "doc", "type": "doc",
"updated": "20240530101000" "updated": "20250620101517"
}, },
"Children": [ "Children": [
{ {
"ID": "20240530101000-h6ylp3d", "ID": "20250620101426-a90bax2",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"ID": "20240530101000-iprrgze",
"id": "20240530101000-h6ylp3d",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "プライバシーポリシー"
}
]
},
{
"ID": "20240530101000-me46fdi",
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"ID": "20240530101000-ndrtxd4", "id": "20250620101426-a90bax2",
"id": "20240530101000-me46fdi", "updated": "20250620101515"
"updated": "20240530101000"
}, },
"Children": [ "Children": [
{
"Type": "NodeText",
"Data": "更新日: 2022年2月9日"
}
]
},
{
"ID": "20240530101000-vkm7aa2",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-98p72f4",
"id": "20240530101000-vkm7aa2",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan のプライバシーポリシー文書は、ユーザーのプライバシー保護への取り組みを宣言するものです。"
}
]
},
{
"ID": "20240530101000-elhjhw0",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"ID": "20240530101000-14elwe9",
"id": "20240530101000-elhjhw0",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "個人情報やデータは収集されますか?"
}
]
},
{
"ID": "20240530101000-04tu4x8",
"Type": "NodeList",
"ListData": {},
"Properties": {
"ID": "20240530101000-jar606h",
"id": "20240530101000-04tu4x8",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-cf05zhc",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-kmy0gyw",
"id": "20240530101000-cf05zhc",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-qxj9l29",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-z12p630",
"id": "20240530101000-qxj9l29",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "ユーザーの個人情報や利用データ (メモ、アセットファイル、操作記録、プログラムログなど) は収集されません"
}
]
}
]
},
{
"ID": "20240530101000-vmxum62",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-dlydn65",
"id": "20240530101000-vmxum62",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-oz6ch92",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-ee0ule8",
"id": "20240530101000-oz6ch92",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "すべてのデータはユーザーの完全な管理下にあるデバイス上に保持されます"
}
]
}
]
}
]
},
{
"ID": "20240530101000-xdlzqj5",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"ID": "20240530101000-lp00ttf",
"id": "20240530101000-xdlzqj5",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "開発者の情報と連絡先"
}
]
},
{
"ID": "20240530101000-gqpy4z0",
"Type": "NodeList",
"ListData": {},
"Properties": {
"ID": "20240530101000-i7z9uqj",
"id": "20240530101000-gqpy4z0",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-r5uvfn4",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-i2qojxq",
"id": "20240530101000-r5uvfn4",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-en1kbrm",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-pfdd8fa",
"id": "20240530101000-en1kbrm",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan は Yunnan Liandi Technology Co., Ltd. によって設計・開発されています"
}
]
}
]
},
{
"ID": "20240530101000-isc4tk1",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-cjzzsrf",
"id": "20240530101000-isc4tk1",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-k7zxawt",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-xletnbn",
"id": "20240530101000-k7zxawt",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "連絡先: 845765@qq.com"
}
]
}
]
}
]
},
{
"ID": "20240530101000-mytbvcv",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"ID": "20240530101000-bjnhsnt",
"id": "20240530101000-mytbvcv",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "プライバシーポリシーの閲覧"
}
]
},
{
"ID": "20240530101000-tkcftci",
"Type": "NodeList",
"ListData": {},
"Properties": {
"ID": "20240530101000-m6qf3ku",
"id": "20240530101000-tkcftci",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-ag5stll",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-pu3pbiq",
"id": "20240530101000-ag5stll",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-o4um42v",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-x3lab0q",
"id": "20240530101000-o4um42v",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "ウェブページ "
},
{
"Type": "NodeTextMark",
"TextMarkType": "a",
"TextMarkAHref": "https://b3log.org/siyuan/en/privacy.html",
"TextMarkTextContent": "https://b3log.org/siyuan/en/privacy.html"
},
{
"Type": "NodeText",
"Data": " にアクセスする"
}
]
}
]
},
{
"ID": "20240530101000-jop14yd",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-8da606n",
"id": "20240530101000-jop14yd",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-ynti11v",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-wjl3tiy",
"id": "20240530101000-ynti11v",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "ソフトウェアで「ユーザーガイド」をクリックし、開いた「SiYuan ユーザーガイド」内の「プライバシーポリシーと利用規約」ドキュメントを開く"
}
]
}
]
}
]
},
{
"ID": "20240530101000-4pf0i63",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"ID": "20240530101000-f3md1en",
"id": "20240530101000-4pf0i63",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "利用規約"
}
]
},
{
"ID": "20240530101000-fr2hzco",
"Type": "NodeList",
"ListData": {},
"Properties": {
"ID": "20240530101000-83k0r83",
"id": "20240530101000-fr2hzco",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-cl80kjm",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-resh1wv",
"id": "20240530101000-cl80kjm",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-q3qwkoc",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-jzmz0ra",
"id": "20240530101000-q3qwkoc",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "発行日: 2022年2月11日"
}
]
}
]
},
{
"ID": "20240530101000-nrqb11f",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"ID": "20240530101000-nognxkt",
"id": "20240530101000-nrqb11f",
"updated": "20240530101000"
},
"Children": [
{
"ID": "20240530101000-5cdckge",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-zvv1kaq",
"id": "20240530101000-5cdckge",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "更新日: 2022年5月26日"
}
]
}
]
}
]
},
{
"ID": "20240530101000-7spxshp",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-msxdhrs",
"id": "20240530101000-7spxshp",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan は "
},
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "a", "TextMarkType": "a",
"TextMarkAHref": "https://www.gnu.org/licenses/#AGPL", "TextMarkAHref": "https://b3log.org/siyuan/en/privacy.html",
"TextMarkTextContent": "AGPLv3 オープンソースライセンス" "TextMarkTextContent": "プライバシーポリシー"
},
{
"Type": "NodeText",
"Data": " を使用しています。必ずこれに従ってください。"
} }
] ]
}, },
{ {
"ID": "20240530101000-2r72nch", "ID": "20250620101426-xt512s3",
"Type": "NodeBlockquote", "Type": "NodeParagraph",
"Properties": { "Properties": {
"ID": "20240530101000-9xuk8iw", "id": "20250620101426-xt512s3",
"id": "20240530101000-2r72nch", "updated": "20250620101517"
"updated": "20240530101000"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeBlockquoteMarker", "Type": "NodeTextMark",
"Data": "\u003e" "TextMarkType": "a",
}, "TextMarkAHref": "https://b3log.org/siyuan/en/eula.html",
{ "TextMarkTextContent": "利用規約"
"ID": "20240530101000-i4rw6w5",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-j7uqvp6",
"id": "20240530101000-i4rw6w5",
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see "
},
{
"Type": "NodeTextMark",
"TextMarkType": "a",
"TextMarkAHref": "https://www.gnu.org/licenses/",
"TextMarkTextContent": "https://www.gnu.org/licenses/"
},
{
"Type": "NodeText",
"Data": "."
}
]
} }
] ]
}, },
{ {
"ID": "20240530101000-92enkwe", "ID": "20250620101426-d74z1qk",
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"ID": "20240530101000-0156xnp", "id": "20250620101426-d74z1qk",
"id": "20240530101000-92enkwe", "updated": "20250620101426"
"updated": "20240530101000"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan クラウドサービスでのユーザーアカウントの共有は禁止されています。違反したアカウントは停止されます。"
}
]
},
{
"ID": "20240530101000-t4dip8u",
"Type": "NodeParagraph",
"Properties": {
"ID": "20240530101000-yrgkesl",
"id": "20240530101000-t4dip8u"
} }
} }
] ]

View file

@ -11,7 +11,7 @@ import {onWindowsMsg} from "../window/onWindowsMsg";
import {Constants} from "../constants"; import {Constants} from "../constants";
import {appearance} from "../config/appearance"; import {appearance} from "../config/appearance";
import {fetchPost, fetchSyncPost} from "../util/fetch"; import {fetchPost, fetchSyncPost} from "../util/fetch";
import {addGA, initAssets, setInlineStyle} from "../util/assets"; import {initAssets, setInlineStyle} from "../util/assets";
import {renderSnippet} from "../config/util/snippets"; import {renderSnippet} from "../config/util/snippets";
import {openFile, openFileById} from "../editor/util"; import {openFile, openFileById} from "../editor/util";
import {exitSiYuan} from "../dialog/processSystem"; import {exitSiYuan} from "../dialog/processSystem";
@ -87,7 +87,6 @@ export const onGetConfig = (isStart: boolean, app: App) => {
firstResize = true; firstResize = true;
}, 200); }, 200);
}); });
addGA();
}; };
const winOnMaxRestore = async () => { const winOnMaxRestore = async () => {

View file

@ -56,14 +56,6 @@ export const about = {
<div class="fn__space"></div> <div class="fn__space"></div>
<input class="b3-switch fn__flex-center" id="downloadInstallPkg" type="checkbox"${window.siyuan.config.system.downloadInstallPkg ? " checked" : ""}> <input class="b3-switch fn__flex-center" id="downloadInstallPkg" type="checkbox"${window.siyuan.config.system.downloadInstallPkg ? " checked" : ""}>
</label> </label>
<label class="b3-label fn__flex">
<div class="fn__flex-1">
${window.siyuan.languages.googleAnalytics}
<div class="b3-label__text">${window.siyuan.languages.googleAnalyticsTip}</div>
</div>
<div class="fn__space"></div>
<input class="b3-switch fn__flex-center" id="googleAnalytics" type="checkbox"${window.siyuan.config.system.disableGoogleAnalytics ? "" : " checked"}>
</label>
<label class="b3-label fn__flex"> <label class="b3-label fn__flex">
<div class="fn__flex-1"> <div class="fn__flex-1">
${window.siyuan.languages.about11} ${window.siyuan.languages.about11}
@ -354,17 +346,6 @@ ${checkUpdateHTML}
window.siyuan.config.system.lockScreenMode = lockScreenModeElement.checked ? 1 : 0; window.siyuan.config.system.lockScreenMode = lockScreenModeElement.checked ? 1 : 0;
}); });
}); });
const googleAnalyticsElement = about.element.querySelector("#googleAnalytics") as HTMLInputElement;
googleAnalyticsElement.addEventListener("change", () => {
fetchPost("/api/system/setGoogleAnalytics", {googleAnalytics: googleAnalyticsElement.checked}, () => {
exportLayout({
errorExit: false,
cb() {
window.location.reload();
}
});
});
});
const downloadInstallPkgElement = about.element.querySelector("#downloadInstallPkg") as HTMLInputElement; const downloadInstallPkgElement = about.element.querySelector("#downloadInstallPkg") as HTMLInputElement;
downloadInstallPkgElement.addEventListener("change", () => { downloadInstallPkgElement.addEventListener("change", () => {
fetchPost("/api/system/setDownloadInstallPkg", {downloadInstallPkg: downloadInstallPkgElement.checked}, () => { fetchPost("/api/system/setDownloadInstallPkg", {downloadInstallPkg: downloadInstallPkgElement.checked}, () => {

View file

@ -101,7 +101,7 @@ export const initConfigSearch = (element: HTMLElement, app: App) => {
"systemLog", "importKey", "genKey", "genKeyByPW", "copyKey", "resetRepo", "systemLogTip", "export", "systemLog", "importKey", "genKey", "genKeyByPW", "copyKey", "resetRepo", "systemLogTip", "export",
"downloadLatestVer", "safeQuit", "directConnection", "siyuanNote", "key", "password", "copied", "resetRepoTip", "downloadLatestVer", "safeQuit", "directConnection", "siyuanNote", "key", "password", "copied", "resetRepoTip",
"autoDownloadUpdatePkg", "autoDownloadUpdatePkgTip", "networkProxy", "keyPlaceholder", "initRepoKeyTip", "autoDownloadUpdatePkg", "autoDownloadUpdatePkgTip", "networkProxy", "keyPlaceholder", "initRepoKeyTip",
"googleAnalytics", "googleAnalyticsTip", "dataRepoPurge", "dataRepoPurgeTip", "dataRepoAutoPurgeIndexRetentionDays", "dataRepoPurge", "dataRepoPurgeTip", "dataRepoAutoPurgeIndexRetentionDays",
"dataRepoAutoPurgeRetentionIndexesDaily"]), "dataRepoAutoPurgeRetentionIndexesDaily"]),
]; ];
const inputElement = element.querySelector(".b3-form__icon input") as HTMLInputElement; const inputElement = element.querySelector(".b3-form__icon input") as HTMLInputElement;

View file

@ -797,7 +797,4 @@ export abstract class Constants {
"inline-math", "inline-math",
"inline-memo", "inline-memo",
]; ];
// Google Analytics 事件
public static readonly ANALYTICS_EVT_ON_GET_CONFIG: string = "siyuan.onGetConfig";
} }

View file

@ -10,7 +10,7 @@ import {addBaseURL, getIdFromSYProtocol, isSYProtocol, setNoteBook} from "../uti
import {handleTouchEnd, handleTouchMove, handleTouchStart} from "./util/touch"; import {handleTouchEnd, handleTouchMove, handleTouchStart} from "./util/touch";
import {fetchGet, fetchPost} from "../util/fetch"; import {fetchGet, fetchPost} from "../util/fetch";
import {initFramework} from "./util/initFramework"; import {initFramework} from "./util/initFramework";
import {addGA, initAssets, loadAssets} from "../util/assets"; import {initAssets, loadAssets} from "../util/assets";
import {bootSync} from "../dialog/processSystem"; import {bootSync} from "../dialog/processSystem";
import {initMessage, showMessage} from "../dialog/message"; import {initMessage, showMessage} from "../dialog/message";
import {goBack} from "./util/MobileBackFoward"; import {goBack} from "./util/MobileBackFoward";
@ -121,7 +121,6 @@ class App {
}); });
}); });
}); });
addGA();
}); });
}); });
document.addEventListener("touchstart", handleTouchStart, false); document.addEventListener("touchstart", handleTouchStart, false);

View file

@ -1515,10 +1515,6 @@ declare namespace Config {
* The absolute path of the `data` directory of the current workspace * The absolute path of the `data` directory of the current workspace
*/ */
dataDir: string; dataDir: string;
/**
* Whether to disable Google Analytics
*/
disableGoogleAnalytics: boolean;
/** /**
* Whether to automatically download the installation package for the new version * Whether to automatically download the installation package for the new version
*/ */

View file

@ -169,49 +169,6 @@ export const initAssets = () => {
}); });
}; };
export const addGA = () => {
if (!window.siyuan.config.system.disableGoogleAnalytics) {
addScript("https://www.googletagmanager.com/gtag/js?id=G-L7WEXVQCR9", "gaScript");
window.dataLayer = window.dataLayer || [];
/*eslint-disable */
const gtag = function (...args: any[]) {
window.dataLayer.push(arguments);
};
/*eslint-enable */
gtag("js", new Date());
gtag("config", "G-L7WEXVQCR9", {send_page_view: false});
const para = {
version: Constants.SIYUAN_VERSION,
container: window.siyuan.config.system.container,
os: window.siyuan.config.system.os,
osPlatform: window.siyuan.config.system.osPlatform,
isLoggedIn: false,
subscriptionStatus: -1,
subscriptionPlan: -1,
subscriptionType: -1,
oneTimePayStatus: -1,
syncEnabled: false,
syncProvider: -1,
cTreeCount: window.siyuan.config.stat.cTreeCount,
cBlockCount: window.siyuan.config.stat.cBlockCount,
cDataSize: window.siyuan.config.stat.cDataSize,
cAssetsSize: window.siyuan.config.stat.cAssetsSize,
};
if (window.siyuan.user) {
para.isLoggedIn = true;
para.subscriptionStatus = window.siyuan.user.userSiYuanSubscriptionStatus;
para.subscriptionPlan = window.siyuan.user.userSiYuanSubscriptionPlan;
para.subscriptionType = window.siyuan.user.userSiYuanSubscriptionType;
para.oneTimePayStatus = window.siyuan.user.userSiYuanOneTimePayStatus;
}
if (window.siyuan.config.sync) {
para.syncEnabled = window.siyuan.config.sync.enabled;
para.syncProvider = window.siyuan.config.sync.provider;
}
gtag("event", Constants.ANALYTICS_EVT_ON_GET_CONFIG, para);
}
};
export const setInlineStyle = async (set = true) => { export const setInlineStyle = async (set = true) => {
const height = Math.floor(window.siyuan.config.editor.fontSize * 1.625); const height = Math.floor(window.siyuan.config.editor.fontSize * 1.625);
let style; let style;

View file

@ -43,7 +43,6 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/system/setFollowSystemLockScreen", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setFollowSystemLockScreen) ginServer.Handle("POST", "/api/system/setFollowSystemLockScreen", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setFollowSystemLockScreen)
ginServer.Handle("POST", "/api/system/setNetworkServe", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setNetworkServe) ginServer.Handle("POST", "/api/system/setNetworkServe", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setNetworkServe)
ginServer.Handle("POST", "/api/system/setAutoLaunch", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setAutoLaunch) ginServer.Handle("POST", "/api/system/setAutoLaunch", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setAutoLaunch)
ginServer.Handle("POST", "/api/system/setGoogleAnalytics", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setGoogleAnalytics)
ginServer.Handle("POST", "/api/system/setDownloadInstallPkg", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setDownloadInstallPkg) ginServer.Handle("POST", "/api/system/setDownloadInstallPkg", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setDownloadInstallPkg)
ginServer.Handle("POST", "/api/system/setNetworkProxy", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setNetworkProxy) ginServer.Handle("POST", "/api/system/setNetworkProxy", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setNetworkProxy)
ginServer.Handle("POST", "/api/system/setWorkspaceDir", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setWorkspaceDir) ginServer.Handle("POST", "/api/system/setWorkspaceDir", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, setWorkspaceDir)

View file

@ -693,20 +693,6 @@ func setNetworkServe(c *gin.Context) {
time.Sleep(time.Second * 3) time.Sleep(time.Second * 3)
} }
func setGoogleAnalytics(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
arg, ok := util.JsonArg(c, ret)
if !ok {
return
}
googleAnalytics := arg["googleAnalytics"].(bool)
model.Conf.System.DisableGoogleAnalytics = !googleAnalytics
model.Conf.Save()
}
func setAutoLaunch(c *gin.Context) { func setAutoLaunch(c *gin.Context) {
ret := gulu.Ret.NewResult() ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret) defer c.JSON(http.StatusOK, ret)

View file

@ -39,10 +39,9 @@ type System struct {
NetworkServe bool `json:"networkServe"` // 是否开启网络伺服 NetworkServe bool `json:"networkServe"` // 是否开启网络伺服
NetworkProxy *NetworkProxy `json:"networkProxy"` NetworkProxy *NetworkProxy `json:"networkProxy"`
DisableGoogleAnalytics bool `json:"disableGoogleAnalytics"` DownloadInstallPkg bool `json:"downloadInstallPkg"`
DownloadInstallPkg bool `json:"downloadInstallPkg"` AutoLaunch2 int `json:"autoLaunch2"` // 0不自动启动1自动启动2自动启动+隐藏主窗口
AutoLaunch2 int `json:"autoLaunch2"` // 0不自动启动1自动启动2自动启动+隐藏主窗口 LockScreenMode int `json:"lockScreenMode"` // 0手动1手动+跟随系统 https://github.com/siyuan-note/siyuan/issues/9087
LockScreenMode int `json:"lockScreenMode"` // 0手动1手动+跟随系统 https://github.com/siyuan-note/siyuan/issues/9087
DisabledFeatures []string `json:"disabledFeatures"` DisabledFeatures []string `json:"disabledFeatures"`
@ -51,12 +50,11 @@ type System struct {
func NewSystem() *System { func NewSystem() *System {
return &System{ return &System{
ID: util.GetDeviceID(), ID: util.GetDeviceID(),
Name: util.GetDeviceName(), Name: util.GetDeviceName(),
KernelVersion: util.Ver, KernelVersion: util.Ver,
NetworkProxy: &NetworkProxy{}, NetworkProxy: &NetworkProxy{},
DownloadInstallPkg: true, DownloadInstallPkg: true,
DisableGoogleAnalytics: true,
} }
} }

View file

@ -524,10 +524,6 @@ func InitConf() {
Conf.Save() Conf.Save()
logging.SetLogLevel(Conf.LogLevel) logging.SetLogLevel(Conf.LogLevel)
if Conf.System.DisableGoogleAnalytics {
logging.LogInfof("user has disabled [Google Analytics]")
}
util.SetNetworkProxy(Conf.System.NetworkProxy.String()) util.SetNetworkProxy(Conf.System.NetworkProxy.String())
go util.InitPandoc() go util.InitPandoc()