From 334935218459b74c85a66b1d6b7e49428ac903df Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 17 Mar 2026 20:00:20 +0800 Subject: [PATCH 1/4] :art: Disable Android keep-alive notifications by default https://github.com/siyuan-note/siyuan/issues/17241 Signed-off-by: Daniel <845765@qq.com> --- .../20240113110040-7sgw8kl.sy | 169 +++++++++++------ .../20240113102857-c63dmo5.sy | 119 +++++++++--- .../20240113110500-dz2ae4n.sy | 145 ++++++++++----- .../20240530101000-e6z5okf.sy | 172 +++++++++++------- 4 files changed, 412 insertions(+), 193 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy b/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy index 9b814d4af..56c739d7c 100644 --- a/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy +++ b/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy @@ -7,7 +7,7 @@ "id": "20240113110040-7sgw8kl", "title": "Mobile App", "type": "doc", - "updated": "20250117171914" + "updated": "20260317195743" }, "Children": [ { @@ -555,61 +555,47 @@ ] }, { - "ID": "20250114215310-k9lnjrc", + "ID": "20260317195658-ar294xg", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": { - "id": "20250114215310-k9lnjrc", - "updated": "20250117171914" + "id": "20260317195658-ar294xg", + "updated": "20260317195743" }, "Children": [ { "Type": "NodeText", - "Data": "Custom notifications on Android" + "Data": "Custom Keep-Alive Notifications on Android" } ] }, { - "ID": "20250114215310-4r03n8k", + "ID": "20260317195658-s3yjpnv", "Type": "NodeParagraph", "Properties": { - "id": "20250114215310-4r03n8k", - "updated": "20250114215321" + "id": "20260317195658-s3yjpnv", + "updated": "20260317195658" }, "Children": [ { "Type": "NodeText", - "Data": "In order to keep the background running as much as possible, SiYuan will send notifications regularly. The default notification content is some lyrics that the development team likes." + "Data": "If you wish to maximize SiYuan's ability to remain active in the background, please follow these steps:" } ] }, { - "ID": "20250114215310-7wh4al0", - "Type": "NodeParagraph", - "Properties": { - "id": "20250114215310-7wh4al0", - "updated": "20250114215348" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "If you need to customize it, please follow the steps below:" - } - ] - }, - { - "ID": "20250114215310-h1tgrnv", + "ID": "20260317195658-hcngw3t", "Type": "NodeList", "ListData": { "Typ": 1 }, "Properties": { - "id": "20250114215310-h1tgrnv", - "updated": "20250117171914" + "id": "20260317195658-hcngw3t", + "updated": "20260317195743" }, "Children": [ { - "ID": "20250114215310-uhglsyt", + "ID": "20260317195658-4k2hume", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -618,46 +604,37 @@ "Num": 1 }, "Properties": { - "id": "20250114215310-uhglsyt", - "updated": "20250117171914" + "id": "20260317195658-4k2hume", + "updated": "20260317195707" }, "Children": [ { - "ID": "20250114215310-z7geibq", + "ID": "20260317195658-m2u3kcy", "Type": "NodeParagraph", "Properties": { - "id": "20250114215310-z7geibq", - "updated": "20250117171914" + "id": "20260317195658-m2u3kcy", + "updated": "20260317195707" }, "Children": [ { "Type": "NodeText", - "Data": "Create a text file named " + "Data": "Set the battery saver strategy to " }, { "Type": "NodeTextMark", "TextMarkType": "code", - "TextMarkTextContent": "android-notification-texts.txt" + "TextMarkTextContent": "Unrestricted" }, { "Type": "NodeText", - "Data": "​ in the desktop " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "workspace/data/assets/" - }, - { - "Type": "NodeText", - "Data": "​ folder, where each line will be used as the text of the notification" + "Data": "​" } ] } ] }, { - "ID": "20250114215310-6sdvtuo", + "ID": "20260317195658-i3iboj4", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -666,28 +643,106 @@ "Num": 2 }, "Properties": { - "id": "20250114215310-6sdvtuo", - "updated": "20250114215417" + "id": "20260317195658-i3iboj4", + "updated": "20260317195706" }, "Children": [ { - "ID": "20250114215310-dzbod4g", + "ID": "20260317195658-0esdnhw", "Type": "NodeParagraph", "Properties": { - "id": "20250114215310-dzbod4g", - "updated": "20250114215417" + "id": "20260317195658-0esdnhw", + "updated": "20260317195706" }, "Children": [ { "Type": "NodeText", - "Data": "Synchronize it to the Android side through " + "Data": "Enable notifications" + } + ] + } + ] + }, + { + "ID": "20260317195658-dvg9wtj", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "My4=", + "Num": 3 + }, + "Properties": { + "id": "20260317195658-dvg9wtj", + "updated": "20260317195705" + }, + "Children": [ + { + "ID": "20260317195658-3da1b5m", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195658-3da1b5m", + "updated": "20260317195705" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "On the desktop client, create a text file named " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "android-notification-texts.txt" + }, + { + "Type": "NodeText", + "Data": "​ within the " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "workspace/data/assets/" + }, + { + "Type": "NodeText", + "Data": "​ folder; each line in this file will serve as the text for a notification" + } + ] + } + ] + }, + { + "ID": "20260317195658-mlb61zl", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "NC4=", + "Num": 4 + }, + "Properties": { + "id": "20260317195658-mlb61zl", + "updated": "20260317195743" + }, + "Children": [ + { + "ID": "20260317195658-j9rp2em", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195658-j9rp2em", + "updated": "20260317195743" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Sync this file to your Android device via " }, { "Type": "NodeTextMark", "TextMarkType": "block-ref", "TextMarkBlockRefID": "20210721112206-mhr9wxi", - "TextMarkBlockRefSubtype": "d", - "TextMarkTextContent": "Data sync" + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Data Sync" } ] } @@ -696,16 +751,16 @@ ] }, { - "ID": "20250114215310-pqgvvof", + "ID": "20260317195658-3rqfzal", "Type": "NodeParagraph", "Properties": { - "id": "20250114215310-pqgvvof", - "updated": "20250114215310" + "id": "20260317195658-3rqfzal", + "updated": "20260317195658" }, "Children": [ { "Type": "NodeText", - "Data": "After completing these two steps, the notification will use the customized text." + "Data": "Once the above steps are completed, SiYuan will send a notification every 45 seconds to help ensure it remains active in the background." } ] } diff --git a/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy index 65b0767af..0b20a3384 100644 --- a/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy +++ b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy @@ -7,7 +7,7 @@ "id": "20240113102857-c63dmo5", "title": "移动端 App", "type": "doc", - "updated": "20250117171835" + "updated": "20260317195311" }, "Children": [ { @@ -559,12 +559,12 @@ "HeadingLevel": 2, "Properties": { "id": "20250114214413-n2v7z20", - "updated": "20250117171835" + "updated": "20260317195311" }, "Children": [ { "Type": "NodeText", - "Data": "Android 端自定义通知" + "Data": "Android 端自定义保活通知" } ] }, @@ -573,26 +573,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20250114214422-sv4vhfx", - "updated": "20250114214515" + "updated": "20260317183614" }, "Children": [ { "Type": "NodeText", - "Data": "为了尽量保活后台运行,思源会定时发送通知,默认的通知内容是一些开发团队喜欢的歌词。" - } - ] - }, - { - "ID": "20250114214516-9f65cgn", - "Type": "NodeParagraph", - "Properties": { - "id": "20250114214516-9f65cgn", - "updated": "20250114215336" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "如果需要自定义它,请按如下步骤操作:" + "Data": "如果你需要思源尽量保活后台运行,请按如下步骤操作:" } ] }, @@ -604,11 +590,11 @@ }, "Properties": { "id": "20250114215159-d40seb3", - "updated": "20250117171835" + "updated": "20260317195311" }, "Children": [ { - "ID": "20250114215201-degei8s", + "ID": "20260317183810-qwz9j00", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -616,6 +602,75 @@ "Marker": "MS4=", "Num": 1 }, + "Properties": { + "id": "20260317183810-qwz9j00", + "updated": "20260317195311" + }, + "Children": [ + { + "ID": "20260317183810-ghgiv5m", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317183810-ghgiv5m", + "updated": "20260317195311" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "省点策略调整为 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "无限制" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + } + ] + }, + { + "ID": "20260317183714-af6het7", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "Mi4=", + "Num": 2 + }, + "Properties": { + "id": "20260317183714-af6het7", + "updated": "20260317183714" + }, + "Children": [ + { + "ID": "20260317183714-uxiyad6", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317183714-uxiyad6", + "updated": "20260317183724" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "允许通知" + } + ] + } + ] + }, + { + "ID": "20250114215201-degei8s", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "My4=", + "Num": 3 + }, "Properties": { "id": "20250114215201-degei8s", "updated": "20250117171835" @@ -626,7 +681,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20250114215201-ffgvnm6", - "updated": "20250117171835" + "updated": "20260317183745" }, "Children": [ { @@ -661,8 +716,8 @@ "ListData": { "Typ": 1, "Delimiter": 46, - "Marker": "Mi4=", - "Num": 2 + "Marker": "NC4=", + "Num": 4 }, "Properties": { "id": "20250114215213-x87hdl5", @@ -699,18 +754,26 @@ ] }, { - "ID": "20250114215221-sl97cs4", + "ID": "20260317183852-dxt8l8a", "Type": "NodeParagraph", "Properties": { - "id": "20250114215221-sl97cs4", - "updated": "20250114215242" + "id": "20260317183852-dxt8l8a", + "updated": "20260317183945" }, "Children": [ { "Type": "NodeText", - "Data": "完成这两个步骤以后通知就会使用自定义的文本。" + "Data": "完成以上步骤后思源每隔 45 秒会发送一条通知来尽量保活后台运行。" } ] + }, + { + "ID": "20250114215221-sl97cs4", + "Type": "NodeParagraph", + "Properties": { + "id": "20250114215221-sl97cs4", + "updated": "20260317183704" + } } ] } \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy index f8e13e2b4..f98f319cd 100644 --- a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy +++ b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy @@ -7,7 +7,7 @@ "id": "20240113110500-dz2ae4n", "title": "行動端 App", "type": "doc", - "updated": "20250117171906" + "updated": "20260317195629" }, "Children": [ { @@ -555,61 +555,47 @@ ] }, { - "ID": "20250114215505-lg1uhjx", + "ID": "20260317195622-4bssmue", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": { - "id": "20250114215505-lg1uhjx", - "updated": "20250117171906" + "id": "20260317195622-4bssmue", + "updated": "20260317195629" }, "Children": [ { "Type": "NodeText", - "Data": "Android 端自訂通知" + "Data": "Android 端自訂保活通知" } ] }, { - "ID": "20250114215505-fhrh4h0", + "ID": "20260317195622-yeasvwz", "Type": "NodeParagraph", "Properties": { - "id": "20250114215505-fhrh4h0", - "updated": "20250114215505" + "id": "20260317195622-yeasvwz", + "updated": "20260317195622" }, "Children": [ { "Type": "NodeText", - "Data": "為了盡量保活後台運行,思源會定時發送通知,預設的通知內容是一些開發團隊喜歡的歌詞。" + "Data": "如果你需要思源盡量保活後台運行,請依照下列步驟操作:" } ] }, { - "ID": "20250114215505-v559536", - "Type": "NodeParagraph", - "Properties": { - "id": "20250114215505-v559536", - "updated": "20250114215505" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "如果需要自訂它,請按以下步驟操作:" - } - ] - }, - { - "ID": "20250114215505-0k51ynd", + "ID": "20260317195622-hikbqlp", "Type": "NodeList", "ListData": { "Typ": 1 }, "Properties": { - "id": "20250114215505-0k51ynd", - "updated": "20250117171906" + "id": "20260317195622-hikbqlp", + "updated": "20260317195629" }, "Children": [ { - "ID": "20250114215505-kgwvae6", + "ID": "20260317195622-b0cll04", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -618,16 +604,85 @@ "Num": 1 }, "Properties": { - "id": "20250114215505-kgwvae6", - "updated": "20250117171906" + "id": "20260317195622-b0cll04", + "updated": "20260317195622" }, "Children": [ { - "ID": "20250114215505-cayyq7g", + "ID": "20260317195622-juupipi", "Type": "NodeParagraph", "Properties": { - "id": "20250114215505-cayyq7g", - "updated": "20250117171906" + "id": "20260317195622-juupipi", + "updated": "20260317195622" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "省點策略調整為 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "無限制" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + } + ] + }, + { + "ID": "20260317195622-oek6y57", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "Mi4=", + "Num": 2 + }, + "Properties": { + "id": "20260317195622-oek6y57", + "updated": "20260317195622" + }, + "Children": [ + { + "ID": "20260317195622-6y7o5mp", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195622-6y7o5mp", + "updated": "20260317195622" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "允許通知" + } + ] + } + ] + }, + { + "ID": "20260317195622-boz0953", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "My4=", + "Num": 3 + }, + "Properties": { + "id": "20260317195622-boz0953", + "updated": "20260317195622" + }, + "Children": [ + { + "ID": "20260317195622-dh9h1de", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195622-dh9h1de", + "updated": "20260317195622" }, "Children": [ { @@ -657,25 +712,25 @@ ] }, { - "ID": "20250114215505-y572ade", + "ID": "20260317195622-acopv3b", "Type": "NodeListItem", "ListData": { "Typ": 1, "Delimiter": 46, - "Marker": "Mi4=", - "Num": 2 + "Marker": "NC4=", + "Num": 4 }, "Properties": { - "id": "20250114215505-y572ade", - "updated": "20250114215523" + "id": "20260317195622-acopv3b", + "updated": "20260317195629" }, "Children": [ { - "ID": "20250114215505-kbmum62", + "ID": "20260317195622-damrx1c", "Type": "NodeParagraph", "Properties": { - "id": "20250114215505-kbmum62", - "updated": "20250114215523" + "id": "20260317195622-damrx1c", + "updated": "20260317195629" }, "Children": [ { @@ -686,7 +741,7 @@ "Type": "NodeTextMark", "TextMarkType": "block-ref", "TextMarkBlockRefID": "20211226121438-xaafdo8", - "TextMarkBlockRefSubtype": "d", + "TextMarkBlockRefSubtype": "s", "TextMarkTextContent": "資料同步" }, { @@ -700,16 +755,16 @@ ] }, { - "ID": "20250114215505-8w2wnfo", + "ID": "20260317195622-pqamghs", "Type": "NodeParagraph", "Properties": { - "id": "20250114215505-8w2wnfo", - "updated": "20250114215505" + "id": "20260317195622-pqamghs", + "updated": "20260317195622" }, "Children": [ { "Type": "NodeText", - "Data": "完成這兩個步驟以後通知就會使用自訂的文字。" + "Data": "完成以上步驟後思源每隔 45 秒會發送通知來盡量保活後台運作。" } ] } diff --git a/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy b/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy index dc41465a8..8f72e1803 100644 --- a/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy +++ b/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy @@ -8,7 +8,7 @@ "id": "20240530101000-e6z5okf", "title": "モバイルアプリ", "type": "doc", - "updated": "20250117171922" + "updated": "20260317195538" }, "Children": [ { @@ -281,61 +281,47 @@ ] }, { - "ID": "20250114215535-x0zo9js", + "ID": "20260317195514-yho54qh", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": { - "id": "20250114215535-x0zo9js", - "updated": "20250117171922" + "id": "20260317195514-yho54qh", + "updated": "20260317195538" }, "Children": [ { "Type": "NodeText", - "Data": "Android でのカスタム通知" + "Data": "Androidでのカスタム「Keep-Alive」通知" } ] }, { - "ID": "20250114215535-1m8nzmu", + "ID": "20260317195514-pwmwtf0", "Type": "NodeParagraph", "Properties": { - "id": "20250114215535-1m8nzmu", - "updated": "20250114215620" + "id": "20260317195514-pwmwtf0", + "updated": "20260317195514" }, "Children": [ { "Type": "NodeText", - "Data": "バックグラウンドでの動作を可能な限り維持するために、SiYuan は定期的に通知を送信します。デフォルトの通知内容は、開発チームが気に入っている歌詞です。" + "Data": "SiYuanがバックグラウンドで動作し続ける機能を最大限に活用したい場合は、以下の手順に従ってください。" } ] }, { - "ID": "20250114215535-942fbf3", - "Type": "NodeParagraph", - "Properties": { - "id": "20250114215535-942fbf3", - "updated": "20250114215535" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "カスタマイズする必要がある場合は、以下の手順に従ってください。" - } - ] - }, - { - "ID": "20250114215535-5igrtp8", + "ID": "20260317195514-87rztvj", "Type": "NodeList", "ListData": { "Typ": 1 }, "Properties": { - "id": "20250114215535-5igrtp8", - "updated": "20250117171922" + "id": "20260317195514-87rztvj", + "updated": "20260317195538" }, "Children": [ { - "ID": "20250114215535-a0e9b4c", + "ID": "20260317195514-31osjhv", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -344,46 +330,28 @@ "Num": 1 }, "Properties": { - "id": "20250114215535-a0e9b4c", - "updated": "20250117171922" + "id": "20260317195514-31osjhv", + "updated": "20260317195514" }, "Children": [ { - "ID": "20250114215535-2lxc7ib", + "ID": "20260317195514-r1jpi3g", "Type": "NodeParagraph", "Properties": { - "id": "20250114215535-2lxc7ib", - "updated": "20250117171922" + "id": "20260317195514-r1jpi3g", + "updated": "20260317195514" }, "Children": [ { "Type": "NodeText", - "Data": "デスクトップの " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "workspace/data/assets/" - }, - { - "Type": "NodeText", - "Data": "​ フォルダに " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "android-notification-texts.txt" - }, - { - "Type": "NodeText", - "Data": "​ という名前のテキストファイルを作成します。各行は通知のテキストになります。" + "Data": "バッテリーセーバーの設定を「無制限(Unrestricted)」に設定します。" } ] } ] }, { - "ID": "20250114215535-gcwij08", + "ID": "20260317195514-y0ftv3q", "Type": "NodeListItem", "ListData": { "Typ": 1, @@ -392,28 +360,106 @@ "Num": 2 }, "Properties": { - "id": "20250114215535-gcwij08", - "updated": "20250114215604" + "id": "20260317195514-y0ftv3q", + "updated": "20260317195514" }, "Children": [ { - "ID": "20250114215535-hfrsfi9", + "ID": "20260317195514-3yz94lq", "Type": "NodeParagraph", "Properties": { - "id": "20250114215535-hfrsfi9", - "updated": "20250114215604" + "id": "20260317195514-3yz94lq", + "updated": "20260317195514" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "通知機能を有効にします。" + } + ] + } + ] + }, + { + "ID": "20260317195514-wy353hn", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "My4=", + "Num": 3 + }, + "Properties": { + "id": "20260317195514-wy353hn", + "updated": "20260317195514" + }, + "Children": [ + { + "ID": "20260317195514-vc2wyly", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195514-vc2wyly", + "updated": "20260317195514" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "デスクトップクライアント上で、" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "workspace/data/assets/" + }, + { + "Type": "NodeText", + "Data": "​ フォルダ内に " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "android-notification-texts.txt" + }, + { + "Type": "NodeText", + "Data": "​ という名前のテキストファイルを作成します。このファイル内の各行が、通知メッセージのテキストとして使用されます。" + } + ] + } + ] + }, + { + "ID": "20260317195514-7q5zeh1", + "Type": "NodeListItem", + "ListData": { + "Typ": 1, + "Delimiter": 46, + "Marker": "NC4=", + "Num": 4 + }, + "Properties": { + "id": "20260317195514-7q5zeh1", + "updated": "20260317195538" + }, + "Children": [ + { + "ID": "20260317195514-4xu3rev", + "Type": "NodeParagraph", + "Properties": { + "id": "20260317195514-4xu3rev", + "updated": "20260317195538" }, "Children": [ { "Type": "NodeTextMark", "TextMarkType": "block-ref", "TextMarkBlockRefID": "20240530101000-wo49zvq", - "TextMarkBlockRefSubtype": "d", + "TextMarkBlockRefSubtype": "s", "TextMarkTextContent": "データ同期" }, { "Type": "NodeText", - "Data": "を介してAndroid側に同期します。" + "Data": "機能を使用して、このファイルをAndroidデバイスに同期します。" } ] } @@ -422,16 +468,16 @@ ] }, { - "ID": "20250114215535-0a2tswh", + "ID": "20260317195514-6utuus1", "Type": "NodeParagraph", "Properties": { - "id": "20250114215535-0a2tswh", - "updated": "20250114215535" + "id": "20260317195514-6utuus1", + "updated": "20260317195514" }, "Children": [ { "Type": "NodeText", - "Data": "これら 2 つの手順を完了すると、通知にはカスタマイズしたテキストが使用されるようになります。" + "Data": "上記の手順が完了すると、SiYuanは45秒ごとに通知を送信し、バックグラウンドでの動作を維持できるようになります。" } ] } From 112a2a0a1fe92eca1e00095a05b801e88883030a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 17 Mar 2026 20:08:00 +0800 Subject: [PATCH 2/4] :art: https://github.com/siyuan-note/siyuan/pull/16041#issuecomment-4062611589 Signed-off-by: Daniel <845765@qq.com> --- .../20240517031132-jmr5ihm.sy | 16 ++++++++-------- .../20240517031028-xqinazo.sy | 18 +++++++++--------- .../20240517031052-mgoxs16.sy | 18 +++++++++--------- .../20240610233601-ylh1mvk.sy | 18 +++++++++--------- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240517031132-jmr5ihm.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240517031132-jmr5ihm.sy index 8d89ae07f..b4f52a3e0 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240517031132-jmr5ihm.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240517031132-jmr5ihm.sy @@ -6,7 +6,7 @@ "id": "20240517031132-jmr5ihm", "title": "Publish service", "type": "doc", - "updated": "20260315160506" + "updated": "20260317200403" }, "Children": [ { @@ -44,7 +44,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260315160303-vbqukj8", - "updated": "20260315160506" + "updated": "20260317200403" }, "Children": [ { @@ -59,7 +59,7 @@ "ListData": {}, "Properties": { "id": "20260315160303-5spvi7o", - "updated": "20260315160506" + "updated": "20260317200403" }, "Children": [ { @@ -265,7 +265,7 @@ }, "Properties": { "id": "20260315160303-u4zmpim", - "updated": "20260315160506" + "updated": "20260317200403" }, "Children": [ { @@ -288,7 +288,7 @@ "ListData": {}, "Properties": { "id": "20260315160357-dm9iiml", - "updated": "20260315160506" + "updated": "20260317200403" }, "Children": [ { @@ -300,7 +300,7 @@ }, "Properties": { "id": "20260315160303-aa4kh8e", - "updated": "20260315160505" + "updated": "20260317200403" }, "Children": [ { @@ -308,7 +308,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20260315160303-8kzcy9p", - "updated": "20260315160505" + "updated": "20260317200403" }, "Children": [ { @@ -336,7 +336,7 @@ { "Type": "NodeTextMark", "TextMarkType": "a", - "TextMarkAHref": "https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Authentication#basic_验证方案", + "TextMarkAHref": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication#basic_authentication_scheme", "TextMarkTextContent": "Basic authentication scheme" }, { diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240517031028-xqinazo.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240517031028-xqinazo.sy index 8bfd99223..814999416 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240517031028-xqinazo.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240517031028-xqinazo.sy @@ -6,7 +6,7 @@ "id": "20240517031028-xqinazo", "title": "发布服务", "type": "doc", - "updated": "20260315160139" + "updated": "20260317200616" }, "Children": [ { @@ -44,7 +44,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260315160139-adeko8a", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -59,7 +59,7 @@ "ListData": {}, "Properties": { "id": "20260315160139-at1ed35", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -276,7 +276,7 @@ }, "Properties": { "id": "20260315160139-f15jf3z", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -299,7 +299,7 @@ "ListData": {}, "Properties": { "id": "20260315160139-218sjzk", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -311,7 +311,7 @@ }, "Properties": { "id": "20260315160139-vopqsrs", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -319,7 +319,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20260315160139-1fy74tq", - "updated": "20260315160022" + "updated": "20260317200616" }, "Children": [ { @@ -347,12 +347,12 @@ { "Type": "NodeTextMark", "TextMarkType": "a", - "TextMarkAHref": "https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Authentication#basic_验证方案", + "TextMarkAHref": "https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Guides/Authentication#basic_%E9%AA%8C%E8%AF%81%E6%96%B9%E6%A1%88", "TextMarkTextContent": "Basic 验证方案" }, { "Type": "NodeText", - "Data": " 对访问者进行认证。访问者在浏览发布内容前必须正确输入 " + "Data": "对访问者进行认证。访问者在浏览发布内容前必须正确输入 " }, { "Type": "NodeTextMark", diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240517031052-mgoxs16.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240517031052-mgoxs16.sy index 4e3d719ea..7ec2af3c5 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240517031052-mgoxs16.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240517031052-mgoxs16.sy @@ -6,7 +6,7 @@ "id": "20240517031052-mgoxs16", "title": "發布服務", "type": "doc", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -44,7 +44,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260315160433-v2hgbex", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -59,7 +59,7 @@ "ListData": {}, "Properties": { "id": "20260315160433-ubgzvn4", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -265,7 +265,7 @@ }, "Properties": { "id": "20260315160433-twduxmc", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -288,7 +288,7 @@ "ListData": {}, "Properties": { "id": "20260315160438-p4ogqy6", - "updated": "20260315160438" + "updated": "20260317200702" }, "Children": [ { @@ -300,7 +300,7 @@ }, "Properties": { "id": "20260315160433-0mttibg", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -308,7 +308,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20260315160433-oezruev", - "updated": "20260315160433" + "updated": "20260317200702" }, "Children": [ { @@ -336,12 +336,12 @@ { "Type": "NodeTextMark", "TextMarkType": "a", - "TextMarkAHref": "https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Authentication#basic_驗證方案", + "TextMarkAHref": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication#basic_authentication_scheme", "TextMarkTextContent": "Basic 驗證方案" }, { "Type": "NodeText", - "Data": " 對訪客進行認證。訪客在瀏覽發佈內容前必須正確輸入 " + "Data": "對訪客進行認證。訪客在瀏覽發佈內容前必須正確輸入 " }, { "Type": "NodeTextMark", diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240610233601-ylh1mvk.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240610233601-ylh1mvk.sy index d2e436c76..e89b5d7c5 100644 --- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240610233601-ylh1mvk.sy +++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240610233601-ylh1mvk.sy @@ -6,7 +6,7 @@ "id": "20240610233601-ylh1mvk", "title": "サービスを公開", "type": "doc", - "updated": "20260315160503" + "updated": "20260317200509" }, "Children": [ { @@ -44,7 +44,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260315160203-l0m0q2g", - "updated": "20260315160503" + "updated": "20260317200509" }, "Children": [ { @@ -59,7 +59,7 @@ "ListData": {}, "Properties": { "id": "20260315160203-kmbr9ic", - "updated": "20260315160503" + "updated": "20260317200509" }, "Children": [ { @@ -265,7 +265,7 @@ }, "Properties": { "id": "20260315160203-f3fj1m0", - "updated": "20260315160503" + "updated": "20260317200509" }, "Children": [ { @@ -288,7 +288,7 @@ "ListData": {}, "Properties": { "id": "20260315160406-950zvew", - "updated": "20260315160503" + "updated": "20260317200509" }, "Children": [ { @@ -300,7 +300,7 @@ }, "Properties": { "id": "20260315160203-d5za8yr", - "updated": "20260315160502" + "updated": "20260317200509" }, "Children": [ { @@ -308,7 +308,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20260315160203-p5z33e4", - "updated": "20260315160502" + "updated": "20260317200509" }, "Children": [ { @@ -336,8 +336,8 @@ { "Type": "NodeTextMark", "TextMarkType": "a", - "TextMarkAHref": "https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Authentication#basic_验证方案", - "TextMarkTextContent": "基本認証スキーム" + "TextMarkAHref": "https://developer.mozilla.org/ja/docs/Web/HTTP/Guides/Authentication#basic_%E8%AA%8D%E8%A8%BC%E6%96%B9%E5%BC%8F", + "TextMarkTextContent": "Basic 認証方式" }, { "Type": "NodeText", From 6b073623c7adee02bbf2d62599b80c9576d4307a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 17 Mar 2026 20:15:57 +0800 Subject: [PATCH 3/4] :art: Clean code Signed-off-by: Daniel <845765@qq.com> --- kernel/model/mount.go | 2 +- kernel/sql/block_ref_query.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/mount.go b/kernel/model/mount.go index 3e929cd6a..2e15da607 100644 --- a/kernel/model/mount.go +++ b/kernel/model/mount.go @@ -155,7 +155,7 @@ func RemoveBox(boxID string) (err error) { if removeErr := filelock.Remove(avFilePath); nil != removeErr { logging.LogErrorf("remove av file [%s] failed: %s", avFilePath, removeErr) } else { - logging.LogInfof("removed av file [%s]", avFilePath) + logging.LogDebugf("removed av file [%s]", avFilePath) } } } diff --git a/kernel/sql/block_ref_query.go b/kernel/sql/block_ref_query.go index bef897f0a..0803bd7bc 100644 --- a/kernel/sql/block_ref_query.go +++ b/kernel/sql/block_ref_query.go @@ -76,7 +76,7 @@ func queryRefTexts(refSearchIgnoreLines []string) (ret []string) { sqlStmt += " LIMIT 10240" rows, err := query(sqlStmt) if err != nil { - logging.LogErrorf("sql query failed: %s", sqlStmt, err) + logging.LogErrorf("sql query [%s] failed: %s", sqlStmt, err) return } defer rows.Close() From b67fcaf59680d18559cfaeb0f92820ac0e5a9f1d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 17 Mar 2026 20:26:53 +0800 Subject: [PATCH 4/4] :art: Disable Android keep-alive notifications by default https://github.com/siyuan-note/siyuan/issues/17241#issuecomment-4074559460 Signed-off-by: Daniel <845765@qq.com> --- .../20210808180117-czj9bvb/20240113102857-c63dmo5.sy | 12 ++++++------ .../20211226090932-5lcq56f/20240113110500-dz2ae4n.sy | 12 ++++++------ .../20240530133126-axarxgx/20240530101000-e6z5okf.sy | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy index 0b20a3384..ac6280932 100644 --- a/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy +++ b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy @@ -7,7 +7,7 @@ "id": "20240113102857-c63dmo5", "title": "移动端 App", "type": "doc", - "updated": "20260317195311" + "updated": "20260317202452" }, "Children": [ { @@ -559,7 +559,7 @@ "HeadingLevel": 2, "Properties": { "id": "20250114214413-n2v7z20", - "updated": "20260317195311" + "updated": "20260317202452" }, "Children": [ { @@ -590,7 +590,7 @@ }, "Properties": { "id": "20250114215159-d40seb3", - "updated": "20260317195311" + "updated": "20260317202452" }, "Children": [ { @@ -604,7 +604,7 @@ }, "Properties": { "id": "20260317183810-qwz9j00", - "updated": "20260317195311" + "updated": "20260317202452" }, "Children": [ { @@ -612,12 +612,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20260317183810-ghgiv5m", - "updated": "20260317195311" + "updated": "20260317202452" }, "Children": [ { "Type": "NodeText", - "Data": "省点策略调整为 " + "Data": "省电策略调整为 " }, { "Type": "NodeTextMark", diff --git a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy index f98f319cd..0553c1ecd 100644 --- a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy +++ b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy @@ -7,7 +7,7 @@ "id": "20240113110500-dz2ae4n", "title": "行動端 App", "type": "doc", - "updated": "20260317195629" + "updated": "20260317202510" }, "Children": [ { @@ -560,7 +560,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260317195622-4bssmue", - "updated": "20260317195629" + "updated": "20260317202510" }, "Children": [ { @@ -591,7 +591,7 @@ }, "Properties": { "id": "20260317195622-hikbqlp", - "updated": "20260317195629" + "updated": "20260317202510" }, "Children": [ { @@ -605,7 +605,7 @@ }, "Properties": { "id": "20260317195622-b0cll04", - "updated": "20260317195622" + "updated": "20260317202510" }, "Children": [ { @@ -613,12 +613,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20260317195622-juupipi", - "updated": "20260317195622" + "updated": "20260317202510" }, "Children": [ { "Type": "NodeText", - "Data": "省點策略調整為 " + "Data": "省電策略調整為 " }, { "Type": "NodeTextMark", diff --git a/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy b/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy index 8f72e1803..f8a41809b 100644 --- a/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy +++ b/app/guide/20240530133126-axarxgx/20240530101000-e6z5okf.sy @@ -8,7 +8,7 @@ "id": "20240530101000-e6z5okf", "title": "モバイルアプリ", "type": "doc", - "updated": "20260317195538" + "updated": "20260317202604" }, "Children": [ { @@ -286,7 +286,7 @@ "HeadingLevel": 2, "Properties": { "id": "20260317195514-yho54qh", - "updated": "20260317195538" + "updated": "20260317202604" }, "Children": [ { @@ -317,7 +317,7 @@ }, "Properties": { "id": "20260317195514-87rztvj", - "updated": "20260317195538" + "updated": "20260317202604" }, "Children": [ { @@ -331,7 +331,7 @@ }, "Properties": { "id": "20260317195514-31osjhv", - "updated": "20260317195514" + "updated": "20260317202604" }, "Children": [ { @@ -339,12 +339,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20260317195514-r1jpi3g", - "updated": "20260317195514" + "updated": "20260317202604" }, "Children": [ { "Type": "NodeText", - "Data": "バッテリーセーバーの設定を「無制限(Unrestricted)」に設定します。" + "Data": "省電力設定を「無制限」に調整しました。" } ] }