Commit graph

1103 commits

Author SHA1 Message Date
linonetwo
064aab95d2 docs: about tokenAuth 2023-05-20 23:59:58 +08:00
linonetwo
9f4a127fc4 fix: some config didn't trigger restart 2023-05-20 23:55:00 +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
beb1104538 feat: let workspace setting save button clearer 2023-05-20 23:19:22 +08:00
linonetwo
7e1228b843 fix: empty username breaks token auth 2023-05-20 23:11:38 +08:00
linonetwo
7c1446f817 fix: use token in header key, and username in value
This solves the https://github.com/Jermolene/TiddlyWiki5/discussions/7469
2023-05-20 20:52:12 +08:00
linonetwo
0b1e191db9 fix: don't use " in argument 2023-05-20 20:38:05 +08:00
linonetwo
5dc672dfe6 feat: basic token protection in LAN 2023-05-20 17:18:09 +08:00
lin onetwo
fc7f965e0e feat: add readonly args to wiki worker 2023-05-20 14:02:55 +08:00
lin onetwo
55675dddd7 docs: OpenAtLoginMinimized only work in MacOS
https://www.electronjs.org/docs/latest/api/app#appsetloginitemsettingssettings-macos-windows

fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/367
2023-05-20 13:32:34 +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
lin onetwo
58e3e3256c fix: Cannot read properties of null (reading 'send')
browserView?.webContents can be null at any time

fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/383
2023-05-20 12:24:29 +08:00
lin onetwo
b99f99ae95 fix: zoom menu item not updated 2023-05-20 01:08:53 +08:00
linonetwo
170ca59e36 feat: allow lazy all on workspace config 2023-05-19 23:40:39 +08:00
linonetwo
42c5604eee feat: allow file:// protocol in wiki link
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/368
2023-05-19 21:33:41 +08:00
linonetwo
4b43d3f4c6 lint: . 2023-05-19 21:11:24 +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
linonetwo
5ee2f583aa fix: git worker uncatched error, and untranslated error message
Uncached: Observable.error from worker to main can't be catch, don't know why. Even add try catch around them, will still get uncatched error from electron-unhaldled. Maybe thread.js observable error halder have bug

untranslated error message: Error passing from worker thread to main, will loose its type. Because threads plugin will seriailize it and deserialize back
2023-05-19 17:03:34 +08:00
linonetwo
275e18cc77 fix: winston EIO 2023-05-19 15:55:48 +08:00
linonetwo
b7ea3a5205 fix: try to make v8 cache work in worker, but failed
https://github.com/cspotcode/v8-compile-cache-lib/issues/4

fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/299
2023-05-19 14:39:22 +08:00
linonetwo
15235a6883 feat: prevent in some rare case webContents is null
bug: Cannot read properties of null (reading 'reload') #336

fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/336
2023-05-19 12:53:51 +08:00
linonetwo
aaa66ed530 fix: empty json config file
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/354
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/363
2023-05-19 12:42:27 +08:00
lin onetwo
830e11aa77 lint: dprint 2023-05-19 11:22:38 +08:00
lin onetwo
d064cfe260 chore: upgrade deps 2023-05-19 10:37:26 +08:00
linonetwo
788a506adc feat: pretending we are sending request from same origin using a Chrome browser. So image site won't block our request.
fixes #329
2023-02-22 18:15:26 +08:00
linonetwo
e2161f440f feat: allow hide icon
fixes #333
2023-02-22 17:30:00 +08:00
linonetwo
a5863f8c45 fix: v8 cache not generated
fixes #299
2023-02-22 17:13:25 +08:00
linonetwo
0f4e9b5884 feat: reduce wait for workspace time 2023-02-22 16:39:53 +08:00
linonetwo
016936d089 feat: hide guide icon after first workspace creation 2023-02-22 16:39:38 +08:00
linonetwo
04879c741c feat: auto create first workspace
fixes #327
2023-02-22 16:18:43 +08:00
Lin Onetwo
4fdb46f90f fix: prevent open external url in page
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/278

and wait for https://github.com/electron/electron/issues/31783 to be fixed
2023-01-05 00:06:35 +08:00
Lin Onetwo
aaa2bafc1b fix: when refresh page, load lastUrl 2023-01-04 23:16:47 +08:00
Lin Onetwo
c14680bb9f fix: when refresh page, load lastUrl 2023-01-04 23:10:01 +08:00
Lin Onetwo
3c86959e4b feat: show lastUrl to fix some case it is corrupted 2023-01-04 23:01:55 +08:00
Lin Onetwo
83dbefeae5 feat: show lastUrl to fix some case it is corrupted 2023-01-04 22:59:56 +08:00
Lin Onetwo
9dd11caf4e lint: fix 2023-01-04 22:47:16 +08:00
Lin Onetwo
cc9336478e refactor: rename 2023-01-04 22:44:30 +08:00
Lin Onetwo
1ee3918d5a fix: new Url error
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/326
2023-01-04 22:40:16 +08:00
Lin Onetwo
84f0c3f73e fix: contentIsolation in preload script 2023-01-04 21:51:13 +08:00
Lin Onetwo
a5a2bb6e00 fix: webcontent maybe undefined somehow
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/323
2022-12-22 12:00:53 +08:00
Lin Onetwo
661be24601 fix: process.resourcesPath will become undefined in worker environment 2022-12-20 17:42:01 +08:00
tiddlygit-test
6110f5dbf7 feat: better error when subwiki's main wiki missing
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/279
2022-12-18 21:38:26 +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
tiddlygit-test
a1bc4797a4 fix: subwiki help text wrong path 2022-12-18 18:46:52 +08:00
tiddlygit-test
31bdb92747 fix: tagName have \n on the end
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/314
2022-12-18 18:44:40 +08:00
tiddlygit-test
1b4e0cd29c chore: add v8 cache optimization
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/299
2022-12-18 18:39:41 +08:00
tiddlygit-test
dd7716f22c chore: use pnpm, fix pnpm path problem 2022-12-18 18:22:23 +08:00
lin onetwo
dbce1debf5 fix: apppath in dev mode 2022-11-25 15:22:53 +08:00