Commit graph

1188 commits

Author SHA1 Message Date
lin onetwo
eeefa06fea refactor: delete ununsed functions in sync adaptor 2023-06-20 01:22:11 +08:00
lin onetwo
34b8bc8637 fix: this.wikiInstance is still undefined in Observable callback 2023-06-20 01:22:11 +08:00
lin onetwo
78f4be3b5e refactor: move install-electron-ipc-cat here 2023-06-20 01:22:11 +08:00
lin onetwo
4b718a09be refactor: move install-electron-ipc-cat here 2023-06-20 01:22:11 +08:00
lin onetwo
3a5eace4e8 refactor: move wikiWorker to a folder 2023-06-20 01:22:11 +08:00
lin onetwo
b5534a0bb8 feat: support sse 2023-06-20 01:22:11 +08:00
lin onetwo
e88a225f3b feat: bundle tiddlyweb icons in ipc syncadaptor plugin 2023-06-20 01:22:11 +08:00
lin onetwo
18f6fb3256 feat: add script to build and bundle linonetwo/tidgi plugin 2023-06-20 01:22:11 +08:00
lin onetwo
dd845c7827 chore: upgrade deps 2023-06-20 01:22:11 +08:00
lin onetwo
1ccef28e2b fix: wiki error log component 2023-06-20 01:22:11 +08:00
lin onetwo
e7348f97e2 feat: sync adaptor with fast speed without json.parse 2023-06-20 01:22:11 +08:00
lin onetwo
5d7b980e80 feat: use service in sync adaptor 2023-06-20 01:22:11 +08:00
lin onetwo
1ff128aaa8 refactor: const userName = await this.authService.getUserName(workspace); 2023-06-20 01:22:11 +08:00
lin onetwo
9514e8dc66 feat: ipc sync adaptor 2023-06-20 01:22:11 +08:00
lin onetwo
366542d834 fix: worker is undefined error in callWikiIpcServerRoute 2023-06-20 01:22:11 +08:00
lin onetwo
4e28330a9d fix: some wikiWorker log is very long, cause lagging 2023-06-20 01:22:11 +08:00
lin onetwo
d1078ac186 chore: able to debug main thread 2023-06-20 01:22:11 +08:00
lin onetwo
97b9a82278 refactor: make time costing wiki log to async 2023-06-20 01:22:11 +08:00
lin onetwo
b133b31366 refactor: addView in parallel with wikiStartup 2023-06-20 01:22:11 +08:00
lin onetwo
42b526ec77 fix: setWikiStartLockOn use id 2023-06-20 01:22:11 +08:00
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
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
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
c5f4af9f63 fix: after minify, the () => { will become ()=>{ 2023-06-10 01:07:07 +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
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
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