Commit graph

719 commits

Author SHA1 Message Date
林一二
af1bb54868 refactor: use try catch around all webContent.load(url) 2021-08-07 22:00:19 +08:00
林一二
fd72bf5a57 fix: menu label is null when i18n failed to load by other bugs
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/75
2021-08-07 21:28:00 +08:00
林一二
43d8e49c3b fix: logic error 2021-08-07 21:05:24 +08:00
林一二
41f064fa9c fix: template literal type is not working properly 2021-08-07 20:44:49 +08:00
林一二
8969658db2 lint: auto fix 2021-08-07 18:53:06 +08:00
林一二
77b6e84378 refactor: remove unused deps, move things to devDepdency to reduce size 2021-08-07 13:20:27 +08:00
林一二
2bba4ac83f fix: catch loadURL so it won't throw error while we still have retry times 2021-08-07 11:52:52 +08:00
林一二
04c3273e6c fix: update isLoading to false when load succeed 2021-08-07 10:44:51 +08:00
林一二
f0810fc85f refactor: remove unused chat.google.com 2021-08-07 10:41:08 +08:00
林一二
1d3d998e3a docs: add back listener of updateCanGoBack 2021-08-07 10:40:43 +08:00
林一二
8b87723e68 fix: prevent accessing object that may destroyed after await 2021-08-05 13:30:57 +08:00
林一二
c6858c2757 fix: Object has been destroyed after await
This fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/94
2021-08-05 13:27:16 +08:00
林一二
93755a9884 fix: retry before set didFailedMessage 2021-08-05 13:21:06 +08:00
林一二
0383449943 fix: nodejs wiki start slow on system startup, which cause -102 ERR_CONNECTION_REFUSED even if wiki said it is booted, we have to retry several times 2021-08-05 13:13:51 +08:00
林一二
6ad7e2d9a7 fix: let main wiki start first, and let other wiki sync one by one, to prevent high CPU usage 2021-08-05 13:13:44 +08:00
tiddlygit-test
8acad93431 fix: wiki view loading timing 2021-08-04 01:29:28 +08:00
林一二
f2382ce8a9 fix: don't try reload view immediately after start wiki 2021-07-28 13:14:34 +08:00
林一二
facc06faea fix: all sync watcher should be non-blocking 2021-07-28 13:14:03 +08:00
林一二
6bcb0181b1 refactor: await fs.unlink 2021-07-28 12:31:30 +08:00
tiddlygit-test
4b57e3440b feat: add timestamp to log 2021-07-28 02:40:16 +08:00
tiddlygit-test
3f882d22d7 fix: sync in non-blocking way 2021-07-28 02:36:03 +08:00
tiddlygit-test
7fbdcab499 fix: setWikiStartLock 2021-07-28 02:15:59 +08:00
tiddlygit-test
ac797cdb8e fix: make sync to cloud non-blocking 2021-07-28 01:50:22 +08:00
tiddlygit-test
b05c38b72d fix: assign LOCAL_GIT_DIRECTORY to point to actural git folder in packaged electron
https://github.com/desktop/dugite/issues/96
2021-07-25 15:32:28 +08:00
tiddlygit-test
7c30ef4ca0 fix: createSubWiki wrong arg order 2021-07-25 00:13:35 +08:00
tiddlygit-test
691e61b4ad fix: disable watch-fs, because it delete $:/FileSystemPath every time 2021-07-24 21:31:19 +08:00
tiddlygit-test
b79d93a03c refactor: shared init process to separate file, and add log to it 2021-07-24 19:57:32 +08:00
tiddlygit-test
dcb7b4fda1 fix: do more init work using initializeWorkspaceView when create workspace 2021-07-24 19:35:30 +08:00
tiddlygit-test
ccfd82e797 fix: getAllMetaData is async, should await it 2021-07-24 19:34:03 +08:00
tiddlygit-test
c21c2ee5f3 Revert "fix: set isLoading: false after booted"
This reverts commit 42ae2a61de.
2021-07-24 19:21:13 +08:00
tiddlygit-test
3a0e96f9eb refactor: move authInfo check to initializeWorkspaceView 2021-07-24 19:10:49 +08:00
tiddlygit-test
42ae2a61de fix: set isLoading: false after booted 2021-07-24 19:04:18 +08:00
tiddlygit-test
0688dadd17 refactor: make initializeAllWorkspaceView call initializeWorkspaceView in loop 2021-07-24 19:03:45 +08:00
tiddlygit-test
c1025e80c7 fix: move FileSystemPaths.tid to tiddlers folder otherwise it won't work
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/73
2021-07-24 19:03:22 +08:00
tiddlygit-test
886965f7f3 feat: enable log for wiki start 2021-07-24 18:36:00 +08:00
tiddlygit-test
7433bb43dd fix: check wikiInfoPath only in main wiki 2021-07-24 17:02:17 +08:00
tiddlygit-test
35ed48e4d0 refactor: move wikiStartup out, manually call it at creation and startup 2021-07-24 17:01:53 +08:00
tiddlygit-test
1f24041836 docs: comment for some method 2021-07-24 16:30:02 +08:00
tiddlygit-test
0b928ca367 fix: workspace view loaded with wrong port
Probably fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/83
2021-07-24 16:09:16 +08:00
tiddlygit-test
63d83b9172 fix: properly check subwiki existance 2021-07-24 15:50:05 +08:00
tiddlygit-test
7393c0664c fix: properly check main wiki existence and show dialog 2021-07-24 15:46:33 +08:00
tiddlygit-test
c797bb2c4e fix: user name input can't use Chinese IME
fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/77
2021-07-24 00:58:10 +08:00
tiddlygit-test
2764d24bbb refactor: separate preference sections to increase performance 2021-07-10 19:04:50 +08:00
tiddlygit-test
07542cecee feat: hide menu item before animation, and retain it afterwards 2021-07-10 13:34:04 +08:00
tiddlygit-test
98b4293175 feat: add progress bar to restart button 2021-07-10 13:21:26 +08:00
lin onetwo
f8e3b83af1 fix: encode decode around argument for windows , it don't allow some charactor in args 2021-07-10 01:32:15 +08:00
lin onetwo
485845e339 fix: JSON argument in windows additionalArguments causes ERR_FAILED (-2) loading
{"message":"E-0 IPC Error on WindowChannel {\"type\":\"apply\",\"propKey\":\"open\",\"args\":[\"editWorkspace\",{\"workspaceID\":\"a5eb8709-4699-4fc6-a8d3-040b4b99056d\"}]} ERR_FAILED (-2) loading 'http://localhost:3000/main_window' Error: ERR_FAILED (-2) loading 'http://localhost:3000/main_window'\n    at rejectAndCleanup (electron/js2c/browser_init.js:161:7364)\n    at Object.stopLoadingListener (electron/js2c/browser_init.js:161:7739)\n    at Object.emit (events.js:376:20)","level":"error"}
2021-07-10 01:29:51 +08:00
lin onetwo
c514cff308 fix: provide browserViewMetaData prefix for every additionalArguments
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/80
2021-07-09 01:20:21 +08:00
lin onetwo
f79153f89a feat: try fix windows additionalArguments have /prefetch:1 2021-07-09 01:11:19 +08:00
tiddlygit-test
79cc275865 Update browserViewMetaData.ts 2021-07-08 00:16:58 +08:00