Fix issues related to importing Zotero (#12313)

* Fix import Zotero not recognized as asset

* Fix the inconsistency between imported Zotero label and actual filename

* Import support for zotero linked file like using zotfile

* Fix zotero highlighting block error after importing from file

* compatible with old configuration

* fix zotero picture highlight block does not consider as asset after importing

* Reconstructed to meet bb requirements

* empty datascript to avoid Conflicting upsert error after importing file to db graph

* use external-file-name instead of adding new property

* fix zotero link file can't open in asset page

* compatible with commit 33db791

* compatible with windows path & support zotero path can be relative for ci testing

* add zotero importing test

* remove prn log

* remove useless line

* Revert commit 45ebb9e

Future imports will be performed in the worker, will no longer encounter these issues

* refactor: update today page check to use async block retrieval

* Revert "refactor: update today page check to use async block retrieval"

This reverts commit 6750333df1.
This commit is contained in:
megayu
2026-02-11 17:43:04 +08:00
committed by GitHub
parent f818ba0e59
commit 40c9c86129
17 changed files with 436 additions and 87 deletions

View File

@@ -0,0 +1,15 @@
file:: [zlib.pdf](../../zotero/RX5JS7SY/zlib.pdf)
file-path:: ../../zotero/storage/RX5JS7SY/zlib.pdf
- The zlib library is a general purpose data compression library.
ls-type:: annotation
hl-page:: 1
hl-color:: red
id:: 69787399-f51c-45a2-8971-78dc6c66a0ec
- [:span]
ls-type:: annotation
hl-page:: 1
hl-color:: blue
id:: 697873d7-5953-4753-897e-62ac47348634
hl-type:: area
hl-stamp:: 1769501651181