🎨 Automatically check cloud data integrity https://github.com/siyuan-note/siyuan/issues/8653

This commit is contained in:
Daniel 2023-07-02 20:41:54 +08:00
parent 7858a8eb84
commit 67797099c2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
8 changed files with 10 additions and 10 deletions

View file

@ -45,7 +45,7 @@ require (
github.com/radovskyb/watcher v1.0.7
github.com/sashabaranov/go-openai v1.12.0
github.com/shirou/gopsutil/v3 v3.23.5
github.com/siyuan-note/dejavu v0.0.0-20230702101323-2a55476441bf
github.com/siyuan-note/dejavu v0.0.0-20230702122455-7036de48132f
github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75
github.com/siyuan-note/eventbus v0.0.0-20230702081350-6dde667e7112
github.com/siyuan-note/filelock v0.0.0-20230615140405-d05a21d49524

View file

@ -287,8 +287,8 @@ github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5g
github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA=
github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw=
github.com/siyuan-note/dejavu v0.0.0-20230702101323-2a55476441bf h1:sWIzjAQBkm59Vxzo3GFZZfsoU/BkvMrPx7sW+8Qj4zI=
github.com/siyuan-note/dejavu v0.0.0-20230702101323-2a55476441bf/go.mod h1:GxekubylJpkSt5Y29ecxNxjpKusPov+07mM1rsPtk+g=
github.com/siyuan-note/dejavu v0.0.0-20230702122455-7036de48132f h1:ez8MBa0kItf6jSemaorkOXIS2hBia5v2yRjVx1qUSUE=
github.com/siyuan-note/dejavu v0.0.0-20230702122455-7036de48132f/go.mod h1:GxekubylJpkSt5Y29ecxNxjpKusPov+07mM1rsPtk+g=
github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75 h1:Bi7/7f29LW+Fm0cHc0J1NO1cZqyJwljSWVmfOqVZgaE=
github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75/go.mod h1:H8fyqqAbp9XreANjeSbc72zEdFfKTXYN34tc1TjZwtw=
github.com/siyuan-note/eventbus v0.0.0-20230702081350-6dde667e7112 h1:lb+8C+XEEEn/lcBtoXlrf5mZEoe0y0KlqiIGG93Gozc=

View file

@ -1657,8 +1657,8 @@ func subscribeRepoEvents() {
util.SetBootDetails(msg)
util.ContextPushMsg(context, msg)
})
eventbus.Subscribe(eventbus.EvtCloudBeforeFixObjects, func(context map[string]interface{}) {
msg := fmt.Sprintf(Conf.Language(210))
eventbus.Subscribe(eventbus.EvtCloudBeforeFixObjects, func(context map[string]interface{}, count, total int) {
msg := fmt.Sprintf(Conf.Language(210), count, total)
util.SetBootDetails(msg)
util.ContextPushMsg(context, msg)
})