Commit graph

2159 commits

Author SHA1 Message Date
lin onetwo
232d0ce103 feat: getTiddlerHtml 2023-06-20 01:22:11 +08:00
linonetwo
61892320f9 feat: use ipcServerRoutesMethods 2023-06-20 01:22:11 +08:00
linonetwo
98ded8d519 feat: try use view.webContents.session.protocol.handle 2023-06-20 01:22:11 +08:00
lin onetwo
ec5354babb feat: check handled 2023-06-20 01:22:11 +08:00
lin onetwo
66de197ec3 feat: load html using htmlString:// protocol 2023-06-20 01:22:11 +08:00
linonetwo
b4602ff355 fix: npm script 2023-06-16 11:37:51 +08:00
linonetwo
00625ef88e chore: allow open inspector to see what happened on nodejs side
to debug https://github.com/Jermolene/TiddlyWiki5/issues/7151
2023-06-16 10:46:57 +08:00
lin onetwo
8c5465ea9d fix: sync subwiki first then reload wiki 2023-06-11 01:32:14 +08:00
linonetwo
086ea7d72c v0.8.0-prerelease12 2023-06-10 17:47:04 +08:00
linonetwo
91f2804ae5 Update wiki 2023-06-10 17:46:48 +08:00
linonetwo
14678cad30 feat: zx-script tw context send message line by line 2023-06-10 17:45:31 +08:00
linonetwo
41e64b47e2 fix: use var to prevent var has same name & stringifyed string already has "" 2023-06-10 16:28:46 +08:00
linonetwo
28c1f3eb3c fix: tw log not change line 2023-06-10 16:28:08 +08:00
lin onetwo
5651ea70c6 v0.8.0-prerelease11 2023-06-10 01:07:35 +08:00
lin onetwo
c5f4af9f63 fix: after minify, the () => { will become ()=>{ 2023-06-10 01:07:07 +08:00
linonetwo
baeecf3057 v0.8.0-prerelease10 2023-06-09 23:13:15 +08:00
linonetwo
645147ffdf feat: expost cache db 2023-06-09 23:11:56 +08:00
linonetwo
4d5e8f012c feat: deseralize variable back to next context 2023-06-09 23:11:56 +08:00
linonetwo
d6c073ff53 feat: get variables from script context 2023-06-09 23:11:56 +08:00
linonetwo
bee0936914 refactor: executeScriptInZxScriptContext and executeScriptInTWContext based on type 2023-06-09 23:11:56 +08:00
lin onetwo
62b9180047 feat: use espree to guess variables user may need 2023-06-09 23:11:56 +08:00
lin onetwo
c77d9fe296 feat: add espree and types
use this .d.ts workaround until https://github.com/eslint/espree/issues/529 fixed
2023-06-09 23:11:56 +08:00
lin onetwo
9131478c8d fix: exclude "exit with 0" useless message from zx execution 2023-06-08 23:48:41 +08:00
lin onetwo
924e202662 fix: start wiki twice in unknown reason 2023-06-08 23:35:35 +08:00
linonetwo
037e6f7c15 fix: get worker by workspace id 2023-06-08 22:01:55 +08:00
linonetwo
ce9722416c mount database to $tw.utils.Sqlite
https://github.com/Jermolene/TiddlyWiki5/discussions/7531
2023-06-08 21:14:06 +08:00
linonetwo
fed09fc8fd docs: managed library 2023-06-07 19:24:13 +08:00
linonetwo
564b6c12eb fix: use custom sqlite-vss node binding, to fix path issue
https://github.com/asg017/sqlite-vss/issues/41
2023-06-07 18:59:11 +08:00
linonetwo
5e96a0536f Update index.ts 2023-06-07 14:39:05 +08:00
linonetwo
e263b8e894 fix: false positive Error in the log 2023-06-07 14:38:27 +08:00
linonetwo
f5d9acaf99 refactor: prevent notoken errror when getorgen token 2023-06-07 14:34:45 +08:00
linonetwo
88f8637513 chore: upgrade 2023-06-07 11:33:28 +08:00
linonetwo
f3b12366ad fix: disable esm related freature
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/403
2023-06-03 20:33:17 +08:00
linonetwo
6ae0d4c4bd Update type.d.ts 2023-06-03 19:42:47 +08:00
linonetwo
426728fc61 fix: external tiddlywiki and app-path 2023-06-03 19:42:38 +08:00
linonetwo
cf7fae2dcf feat: init sqlite for wikiWorker 2023-05-31 23:12:36 +08:00
linonetwo
18606a3553 refactor: move sendToMainWindow to file to reuse 2023-05-28 22:18:59 +08:00
lin onetwo
0aa365ce05 v0.8.0-prerelease9 2023-05-28 00:58:17 +08:00
lin onetwo
0473ea177f feat: sync all subwiki together, if main workspace set to sync
fixes #397
2023-05-28 00:55:19 +08:00
lin onetwo
731d756928 refactor: use workspaceID instead of wikiFolderLocation in wiki methods 2023-05-28 00:48:42 +08:00
lin onetwo
cd836cce9a fix: sendToMainWindowAndAwait error when app on background
fixes #398 #396

browserView.webContents is undefined
2023-05-28 00:20:55 +08:00
linonetwo
02999925f1 v0.8.0-prerelease8 2023-05-24 14:01:07 +08:00
linonetwo
113298e1e6 feat: show lastNodeJSArgv in workspace settings 2023-05-24 14:00:15 +08:00
linonetwo
dd1cbaf77d fix: not logging warning about adminToken if not in readonly mode 2023-05-24 13:13:15 +08:00
linonetwo
06741ab591 v0.8.0-prerelease7 2023-05-24 11:11:08 +08:00
linonetwo
bd8ebc75ff fix: prevent token regen on reload wiki 2023-05-24 11:09:40 +08:00
linonetwo
692c908d7f fix: prevent subwiki call startwiki 2023-05-24 11:07:20 +08:00
linonetwo
39726fa99f v0.8.0-prerelease6 2023-05-24 10:58:13 +08:00
linonetwo
76c3191e6a fix: Should disable plugins/tiddlywiki/filesystem (so only work in readonly mode), otherwise will write empty string to tiddlers. 2023-05-24 10:57:28 +08:00
linonetwo
8c8a824bab v0.8.0-prerelease5 2023-05-23 22:27:28 +08:00