Commit Graph

260 Commits

Author SHA1 Message Date
charlie
eb80a4ba75 Merge branch 'master' into refactor/apis-types 2025-12-22 10:48:03 +08:00
Gabriel Horner
a630835cee chore: update libs links so they are compatible with DB 2025-12-19 11:34:54 -05:00
charlie
2d2a44e6b6 enhances(apis): add apis for retrieving tags by name 2025-12-19 15:54:01 +08:00
charlie
941ecd4934 chore(libs): update typedoc-plugin-lsp-docs to version 0.0.2 and fix build:docs command 2025-12-18 18:21:53 +08:00
charlie
551e06b340 enhance(apis): add open pdf viewer function to handle PDF viewing 2025-12-17 17:18:53 +08:00
charlie
b5266fb26a enhance(tests): improve tag handling tests and extend tag functionality 2025-12-12 15:06:59 +08:00
charlie
1d90a43c87 refactor(apis): update getBlockProperty return type to null for clarity 2025-12-11 12:09:41 +08:00
charlie
1ce04a731d refactor(apis): unify block property parameter types for consistency 2025-12-11 12:08:24 +08:00
Charlie
ca8abd04cd refactor(api): unify block identifier parameter across functions 2025-12-10 18:47:01 +08:00
charlie
dc4c712089 enhance(apis): add note for setBlockIcon method 2025-12-10 14:49:29 +08:00
charlie
e8d06f6fa8 chore(ci): update dependencies and add GitHub Actions workflow for syncing plugin documentation 2025-12-10 14:48:41 +08:00
charlie
61d28c307e chore(libs): bump version to 0.2.9 2025-12-09 16:31:25 +08:00
charlie
e5903e1c21 enhance(apis): add tag related apis 2025-12-09 16:31:25 +08:00
sander boer
d737a447c2 feat: allow user to add an allow list (#12236) 2025-12-04 10:56:16 +08:00
benjypng
458d6d71e5 Update dompurify dependency version (#12242)
Updated dompurify dependency from version 2.5.4 to 3.2.4.

DOMPurify before 3.2.4 has an incorrect template literal regular expression when SAFE_FOR_TEMPLATES is set to true, sometimes leading to mutation cross-site scripting (mXSS).
2025-12-04 10:15:00 +08:00
Sal Rahman
2dd0193166 Fix: update logseq.Editor.getPageBlocksTree's return type. (#12212)
Changes the logseq.Editor.getPageBlocksTree's return type from
Promise<Array<BlockEntity>> to Promise<Array<BlockEntity> | null>.

Closes #12211.

Co-authored-by: Charlie <xyhp915@qq.com>
2025-11-25 09:57:07 +08:00
Tienson Qin
0a54e807bb enhance(api): plugin class with ident like plugin.class.id/class-name (#12200)
* enhance(api): plugin class with ident like `plugin.class.id/class-name`
* enhance(apis): remove support for namespace separator in create tag
* enhance(apis): get tag with ident or uuid
* fix(lint): remove unused vars
* fix(apis): sanitize user property name
* enhance(apis): get tag ex info
* chore: bump libs version
---------
Co-authored-by: charlie <xyhp915@qq.com>
2025-11-14 10:48:08 +08:00
charlie
025e2e70de feat(apis): export prepend_block_in_page function
fix(editor): convert opts to JS object in insert_block
chore: bump version to 0.2.7
2025-11-07 15:01:12 +08:00
charlie
bd4b022a08 enhance(apis): enhance createTag function to accept options for custom UUID 2025-11-06 15:46:31 +08:00
charlie
96ffb4d16d enhance(apis): rename tag property functions for consistency 2025-11-06 14:12:00 +08:00
charlie
0046fff9a2 enhance(apis): types 2025-11-06 11:46:04 +08:00
charlie
9eb65b473e enhance(apis): rename tag functions to block tag for clarity and update version 2025-11-05 17:02:38 +08:00
charlie
51fbc705de enhance(apis): add create, add, and remove tag functions 2025-11-05 15:43:33 +08:00
charlie
28bc28ecd3 enhance(apis): support custom uuid to create page 2025-10-30 21:38:04 +08:00
charlie
501230b0d3 enhance(plugin): support development entry for plugins 2025-10-29 18:36:01 +08:00
Tienson Qin
4fb291f08d chore: bump cljs-libs 2025-10-24 23:49:49 +08:00
Tienson Qin
d8809f0b7e feat: cljs sdk (#12168)
Add clojurescript plugins API
2025-10-21 16:32:12 +08:00
Tienson Qin
8efd79ece9 add new apis to js sdk 2025-10-20 18:33:01 +08:00
Tienson Qin
3cc530a16f refactor(plugins): separate file graph apis 2025-10-07 21:26:23 +08:00
Charlie
2809f78574 fix(plugin): api types 2025-09-25 13:22:17 +08:00
charlie
2236f3fc14 enhance(api): add get_page_properties function and update related tests 2025-09-05 11:48:42 +08:00
charlie
89c5e61daf fix(apis): types & incorrect property key for plugin caller 2025-06-26 17:15:38 +08:00
charlie
c51d43332a fix(plugins): incorrect theme url for the desktop native 2025-03-20 11:29:42 +08:00
charlie
e362cfa0ae enhance(plugins): types 2025-03-20 10:44:23 +08:00
charlie
03592a26b6 chore: typo 2025-01-14 17:51:53 +08:00
charlie
9224df59cc enhance(apis): add remove property & types 2025-01-14 17:51:15 +08:00
charlie
99998e25e9 enhance(libs): utils apis 2025-01-09 17:35:55 +08:00
charlie
72c09e5c30 enhance(libs): types 2025-01-09 14:22:30 +08:00
charlie
d0cd4c2e1e enhance(plugin): auto updates for web plugins 2025-01-08 13:15:26 +08:00
charlie
890a06fa19 enhance(plugin): install plugin from web url 2025-01-07 17:21:38 +08:00
charlie
d504ba36f1 chore(libs): bump version 2025-01-06 17:40:47 +08:00
charlie
25adb80b96 enhance(plugin): app proxy call 2025-01-06 17:34:03 +08:00
charlie
87e01f116b enhance(apis): add types 2025-01-06 15:54:21 +08:00
charlie
109e91bd35 enhance(plugin): check updates for the web plugins 2024-12-30 18:15:24 +08:00
charlie
208ca930eb refactor(plugin): names 2024-12-30 16:17:41 +08:00
charlie
49227f4651 enhance(plugin): ignore save package json for the web plugin 2024-12-30 16:03:59 +08:00
charlie
9ce4bbc16c enhance(plugin): plugin settings for web lsp 2024-12-28 20:04:41 +08:00
charlie
ca03681754 enhance(plugin): unlink plugins for web 2024-12-28 11:48:26 +08:00
charlie
23166186b0 enhance(plugin): add load events 2024-12-28 10:50:08 +08:00
charlie
d3b68f1ff7 enhance(plugins): simplify state for the installed web plugins 2024-12-26 15:43:33 +08:00