Commit graph

133 commits

Author SHA1 Message Date
linonetwo
8a5e5a0725 refactor: merge two did-navigate-in-page and add some logs 2023-12-29 23:53:07 +08:00
linonetwo
cf87bf7bef feat: open developer tool detach to prevent overlap 2023-12-29 21:54:22 +08:00
linonetwo
0bf0188f61 fix: only open multiple window when have this config 2023-12-29 19:43:45 +08:00
lin onetwo
4d9a38bc4d fix: old logic about main window now accept secondary window 2023-12-28 01:51:48 +08:00
lin onetwo
d89d00d4cd fix: initializeWorkspaceViewHandlersAndLoad not exposed in window 2023-12-28 01:36:01 +08:00
lin onetwo
300ae255eb refactor: method that create view for any window 2023-12-28 01:20:37 +08:00
linonetwo
24446cea6f refactor: allow send message to server side 2023-10-16 20:09:17 +08:00
lin onetwo
aefd9dcd88 feat: switch to page and hide wiki browserView 2023-07-09 00:52:11 +08:00
linonetwo
f115ca1ca7 refactor: remove comments about "wait for main wiki webview loaded" "wait for main wiki's watch-fs plugin to be fully initialized" 2023-06-23 21:19:44 +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
8b694460f5 fix: no authToken and active for initial workspace 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
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
linonetwo
61892320f9 feat: use ipcServerRoutesMethods 2023-06-20 01:22:11 +08:00
lin onetwo
8c5465ea9d fix: sync subwiki first then reload wiki 2023-06-11 01:32:14 +08:00
linonetwo
cf7fae2dcf feat: init sqlite for wikiWorker 2023-05-31 23:12:36 +08:00
lin onetwo
731d756928 refactor: use workspaceID instead of wikiFolderLocation in wiki methods 2023-05-28 00:48:42 +08:00
linonetwo
bcc0db0848 refactor: add more operations to wikiOperations from src/preload/wikiOperation.ts 2023-05-23 13:15:17 +08:00
lin onetwo
83fea5fe01 refactor: make code null case clear 2023-05-23 08:56:02 +08:00
lin onetwo
6d36b75ab6 feat: use wiki workspace name as saved html name 2023-05-22 21:54:07 +08:00
lin onetwo
7cc3ab0d4d fix: ExportWholeWikiHTML as index.html 2023-05-22 21:31:54 +08:00
lin onetwo
fdaa9cc48e refactor: make adminToken usage clearer 2023-05-22 01:33:55 +08:00
linonetwo
f771fb73cd feat: menu item to ExportWholeWikiHTML 2023-05-21 21:02:08 +08:00
linonetwo
4b42023016 feat: use workspace id for wiki worker, instead of path, so you can start multiple workspace on a folder 2023-05-20 23:35:37 +08:00
linonetwo
5dc672dfe6 feat: basic token protection in LAN 2023-05-20 17:18:09 +08:00
lin onetwo
f2e054df92 fix: only set language on create wiki
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/377
2023-05-20 12:42:08 +08:00
linonetwo
6833d14bb3 feat: make zoom and many menu item works
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/365
2023-05-19 20:40:40 +08:00
linonetwo
26282bc19f fix: hibernated workspace still have active view
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/364
2023-05-19 18:21:16 +08:00
lin onetwo
830e11aa77 lint: dprint 2023-05-19 11:22:38 +08:00
linonetwo
0f4e9b5884 feat: reduce wait for workspace time 2023-02-22 16:39:53 +08:00
tiddlygit-test
7e5fe1d676 fix: sync on start not reloading wiki
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/298
2022-12-18 21:26:21 +08:00
tiddlygit-test
dc894ffdaa fix: make sure all git sync trigger restart, so content is reloaded
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/298
2022-12-18 20:57:50 +08:00
lin onetwo
72f7315f07 refactor: move fixLocalIpNotAccessible to workspaceView service 2022-11-23 20:02:43 +08:00
lin onetwo
cdd1b8471b refactor: sync state in preload, so it work when refresh page 2022-11-23 17:52:29 +08:00
lin onetwo
18cda646ed feat: inform wiki of titlebar change 2022-11-23 14:45:51 +08:00
lin onetwo
5a7275eabc chore: try to enable esbuild but failed 2022-11-20 23:47:32 +08:00
lin onetwo
623e6aa22d fix: click subworkspace should open that tiddler 2022-11-20 21:51:35 +08:00
lin onetwo
f9a5bfed96 fix: type of i18next
https://github.com/i18next/i18next/issues/1869#issuecomment-1318888101
2022-11-18 00:36:49 +08:00
lin onetwo
5a6cd12f1e refactor: rename i18n 2022-11-17 23:26:53 +08:00
lin onetwo
600501edd9 feat: some url related 2022-04-16 18:19:31 +08:00
林一二
bf64ac6ffd feat: allow local wiki backup in interval 2022-04-04 15:48:50 +08:00
林一二
32f8d1d025 lint: auto remove unused var 2022-02-20 19:11:20 +08:00
tiddlygit-test
ac7e4527fa feat: only show notification on corresponding wiki 2022-02-14 01:33:35 +08:00
tiddlygit-test
8223a041b7 refactor: strict-boolean-expressions 2022-02-02 21:50:29 +08:00
tiddlygit-test
9d515e4de2 fix: Object has been destroyed
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/171
2022-01-31 12:45:03 +08:00
tiddlygit-test
4923546154 fix: seems a window can only have a browser view, and is shared between workspaces 2022-01-29 03:41:38 +08:00
tiddlygit-test
96aa9c932e fix: unnecessary update in loadUrl 2022-01-29 02:51:12 +08:00
tiddlygit-test
988c2ef026 feat: deactivate old workspace while activate new one 2022-01-29 02:50:47 +08:00