Commit graph

1217 commits

Author SHA1 Message Date
linonetwo
6da0946a7c fix: file path 2023-06-21 13:55:28 +08:00
lin onetwo
8ba073392c refactor: merge two methods 2023-06-21 13:55:28 +08:00
lin onetwo
4af9d4b04a fix: fix /G:/EpicGames to G:/EpicGames on windows 2023-06-21 13:55:28 +08:00
linonetwo
dc3c3efcfb refactor: move file protocol related things to standalone file 2023-06-21 13:55:28 +08:00
linonetwo
9f7a4d9f4e refactor: remove unused registerFileProtocol logic. Use handleFileProtocol in src/services/view/setupViewSession.ts instead 2023-06-20 14:49:22 +08:00
linonetwo
cafc49e42b refactor: remove unused ip url related things 2023-06-20 14:46:18 +08:00
linonetwo
03c1745ce5 fix: text 2023-06-20 14:31:44 +08:00
linonetwo
d3df24ded7 refactor: don't need browserStorage plugin in ipc which is super fast 2023-06-20 14:23:39 +08:00
lin onetwo
40f42e7311 feat: add tokenAuthHeader to info tiddler 2023-06-20 10:51:08 +08:00
lin onetwo
38464cb392 fix: workspaceIDFromHost !== workspaceID
parsedUrl.host is the actual workspaceID, sometimes we get workspaceID1 here, but in the handler callback we found `workspaceID` from the `setupIpcServerRoutesHandlers` param is workspaceID2, seems `view.webContents.session.protocol.handle` will mistakenly handle request from other views.
2023-06-20 01:22:11 +08:00
lin onetwo
ba513cf990 fix: lock to prevent subwiki restart main wiki 2023-06-20 01:22:11 +08:00
lin onetwo
018057f92f fix: loading old url with ip address cause not loading 2023-06-20 01:22:11 +08:00
lin onetwo
8b694460f5 fix: no authToken and active for initial workspace 2023-06-20 01:22:11 +08:00
lin onetwo
bfb573798a Update server.tsx 2023-06-20 01:22:11 +08:00
lin onetwo
fb5e262c93 feat: make tokenauth token stable, so 3rd party app can use them 2023-06-20 01:22:11 +08:00
lin onetwo
6345a28768 refactor: move tokenAuth config to server setting 2023-06-20 01:22:11 +08:00
lin onetwo
2cc16bc2e5 fix: qrcode url now using actuarial url instead of tidgi:// 2023-06-20 01:22:11 +08:00
lin onetwo
bd69eefa1a fix: prevent adaptor wikitext overwrite by tiddlyweb plugin
Try to workaround https://github.com/Jermolene/TiddlyWiki5/issues/7553
2023-06-20 01:22:11 +08:00
lin onetwo
926b0c29c0 feat: allow disable http api 2023-06-20 01:22:11 +08:00
lin onetwo
ba535d8c8c fix: wiki log format 2023-06-20 01:22:11 +08:00
lin onetwo
7767f23021 feat: better error for buildMenu() failed 2023-06-20 01:22:11 +08:00
lin onetwo
631d09e501 fix: on first statup, active workspace is undefined 2023-06-20 01:22:11 +08:00
lin onetwo
672981944b chore: devtool here 2023-06-20 01:22:11 +08:00
lin onetwo
c54d559899 fix: first tiddler not lazyload 2023-06-20 01:22:11 +08:00
lin onetwo
c1dc63c0e6 feat: log when method called 2023-06-20 01:22:11 +08:00
lin onetwo
761c7d671e fix: tidgi plugin get saved to fs as a json 2023-06-20 01:22:11 +08:00
lin onetwo
0148e92563 fix: lazy load Index not happened on startup 2023-06-20 01:22:11 +08:00
lin onetwo
109b8fd290 fix: get echo from the server 2023-06-20 01:22:11 +08:00
lin onetwo
e33e40a36c feat: disable polling 2023-06-20 01:22:11 +08:00
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