An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Support manual purge of unreferenced data snapshots in the S3/WebDAV cloud storage https://github.com/siyuan-note/siyuan/issues/10081
Daniel492d22510660
diff --git a/app/src/config/repos.ts b/app/src/config/repos.tsindex c0ee215a1f..f2ae23d17f 100644--- a/app/src/config/repos.ts+++ b/app/src/config/repos.ts@@ -101,7 +101,7 @@ const renderProvider = (provider: number) => {</div><div class="b3-label b3-label--inner fn__flex"><div class="fn__flex-1"></div>- <button class="b3-button b3-button--outline fn__size200" data-action="removeData">+ <button class="b3-button b3-button--outline fn__size200" data-action="purgeData"><svg><use xlink:href="#iconTrashcan"></use></svg>${window.siyuan.languages.purge}</button><div class="fn__space"></div>@@ -155,7 +155,7 @@ const renderProvider = (provider: number) => {</div><div class="b3-label b3-label--inner fn__flex"><div class="fn__flex-1"></div>- <button class="b3-button b3-button--outline fn__size200" data-action="removeData">+ <button class="b3-button b3-button--outline fn__size200" data-action="purgeData"><svg><use xlink:href="#iconTrashcan"></use></svg>${window.siyuan.languages.purge}</button><div class="fn__space"></div>@@ -477,8 +477,8 @@ export const repos = {openByMobile(response.data.zip);});break;- } else if (action === "removeData") {- confirmDialog(window.siyuan.languages.cloudStoragePurge, window.siyuan.languages.cloudStoragePurgeConfirm, () => {+ } else if (action === "purgeData") {+ confirmDialog("♻️ " + window.siyuan.languages.cloudStoragePurge, window.siyuan.languages.cloudStoragePurgeConfirm, () => {fetchPost("/api/repo/purgeCloudRepo");});break;