Commit Graph

137 Commits

Author SHA1 Message Date
geekgeekrun
aa0b52f540 Merge branch 'feat/login-with-edit-this-cookie' into feature/ui 2024-03-05 10:07:17 +08:00
geekgeekrun
9a7aa8e3ab fix Chinese text display as NSimsun font 2024-03-04 09:07:48 +08:00
geekgeekrun
bc6a8caf88 remove useless debugger 2024-03-04 08:55:34 +08:00
geekgeekrun
f71ff9797a fix and ensure the execution sequence of download browser and check cookie file 2024-03-04 08:48:06 +08:00
geekgeekrun
f26e2e35bb fix the bug nothing happen when call storeStorage - page argument is lost; call storeStorage to update out stored cookie and local storage. 2024-03-04 00:20:07 +08:00
geekgeekrun
5e46401d33 fix boss-local-storage not created issue 2024-03-04 00:17:34 +08:00
geekgeekrun
a25e7aedb9 add logic to detect and handle login invalid - will exit auto start chat and show cookie assistant. add the logic to store cookie and local storage while auto start chat running. 2024-03-03 23:28:36 +08:00
geekgeekrun
6a7b402101 adjust ui text about cookie assistant entry button 2024-03-03 19:42:44 +08:00
geekgeekrun
72b2919d19 show cookie assistant when find cookie invalid after launch; extract check cookie format correct; 2024-03-03 19:37:24 +08:00
geekgeekrun
7e5e37c512 replace cookie input with cookie assistant entry on configuration page 2024-03-03 18:07:52 +08:00
geekgeekrun
4b7733c8a2 enhance the page status ui detail. such as not use collected value override user inputted content in cookie textarea, restore page alert bar status when user close browser without cookie being collected 2024-03-03 16:33:30 +08:00
geekgeekrun
17c17bb6e6 fix the logic to check if cookie valid 2024-03-03 16:19:01 +08:00
geekgeekrun
e4faa85a7f enhance cookie assistant dialog - help info, form validation, ui text. style, etc. 2024-03-03 14:53:19 +08:00
geekgeekrun
56fdde6174 add cookie assistant, and the fill cookie field logic of collecting cookie after login 2024-03-03 12:42:32 +08:00
geekgeekrun
aa5b836227 add cookie write logic in launch-bosszhipin-login-page-with-preload-extension 2024-03-03 07:55:11 +08:00
geekgeekrun
f2a0ed7219 fix the path of EditThisCookie zip file while run launch-bosszhipin-login-page-with-preload-extension from ui 2024-03-03 07:04:17 +08:00
geekgeekrun
2b78d3dbd5 fix issue when click launch boss login page at second time after the last page closed, no thing happen. 2024-03-02 23:03:11 +08:00
geekgeekrun
5ca9bf08a5 add launch login page button. when user click it, will open the login page 2024-03-02 06:20:12 +08:00
geekgeekrun
bd9c4f04a4 run npm i for ui/external-node-runtime-dependencies when install ui 2024-03-02 05:44:06 +08:00
geekgeekrun
e1d84af03e change unrelated new tab close implement 2024-03-02 05:15:54 +08:00
geekgeekrun
d5ab2eca88 enhance ui text 2024-03-02 05:13:10 +08:00
geekgeekrun
c781e6d12f add description for bosszhipin cookie field for Configuration in ui 2024-03-02 00:59:50 +08:00
geekgeekrun
6f7cce46e9 change bosszhipin cookie path to storage path 2024-03-02 00:28:20 +08:00
geekgeekrun
49606c115c fix the wrong path of cookie storage 2024-03-01 23:52:02 +08:00
geekgeekrun
7f2e241773 change package name from launch-browser-with-preload-extension to launch-bosszhipin-login-page-with-preload-extension 2024-03-01 23:45:14 +08:00
geekgeekrun
d0c8dc0410 add script for launch browser with preload extensions with puppeteer, so that can lead user copy cookie manually. 2024-03-01 09:53:24 +08:00
geekgeekrun
ff61eb2bf5 migrate cookies to storage 2024-02-29 22:58:57 +08:00
geekgeekrun
fbfae5f683 try to write browser info(executablePath, browser) to last-used-browser-record for store user profile use 2024-02-26 01:44:52 +08:00
geekgeekrun
d85240b94e make edge on windows can be used as puppeteer executable 2024-02-25 19:35:49 +08:00
geekgeekrun
3d58571c35 downgrade and pin puppeteer and chromium version, try to make windows 10 1507 run. 2024-02-25 17:37:51 +08:00
geekgeekrun
ced77c65df log out the reason PUPPETEER_DOWNLOAD_ENCOUNTER_ERROR 2024-02-25 16:27:35 +08:00
geekgeekrun
4fc5c8c3b1 fix import path lack of protocol in product package on windows 11 2024-02-25 16:27:25 +08:00
geekgeekrun
8edcff501a Merge branch 'feature/ui-use-users-own-browser' into feature/ui 2024-02-25 14:40:01 +08:00
geekgeekrun
17cdbd871c make find-chrome-bin as external dependencies to resolve production build runtime error 2024-02-25 14:39:48 +08:00
geekgeekrun
1557ed26b9 Merge branch 'feature/ui' into feature/ui-use-users-own-browser 2024-02-25 14:16:20 +08:00
geekgeekrun
9b6ce8352e remove useless env PUPPETEER_EXECUTABLE_PATH in 'setup-dependencies' 2024-02-25 14:13:05 +08:00
geekgeekrun
33c7f6679b fix not sync changed in GEEK_AUTO_START_CHAT_WITH_BOSS - use getAnyAvailablePuppeteerExecutablePath instead checkCachedPuppeteerExecutable to check isPuppeteerExecutable 2024-02-25 14:12:58 +08:00
geekgeekrun
8331ee172b add find-chrome-bin to externalizeDepsPlugin config 2024-02-25 14:12:46 +08:00
geekgeekrun
1ee8acd981 remove console, and decrease the pipe write times for downloadProgressCallback, to solve the download process is badly block at a point on windows 2024-02-25 14:03:32 +08:00
geekgeekrun
6adaf28096 WIP: use fs.WriteStream to replace net.Socket to fix stdio data event not trigger on windows TODO: the content expect no print seems printed to stdout, normal JSON mix with console.log, may cause download process of puppeteer interrupted (near 44%) 2024-02-25 09:51:57 +08:00
geekgeekrun
b115f0fbc3 enhance checkAndDownloadDependenciesForInit - adjust promise logic 2024-02-25 09:11:45 +08:00
geekgeekrun
45bf49c1ba fix app.dock is undefined caused issue on windows 2024-02-25 08:59:54 +08:00
geekgeekrun
32ad7c54c5 WIP: add logic to locate user active installed chromium browser, make it can bu used for our product rather than download new one. TODO: test 2024-02-24 11:47:03 +08:00
geekgeekrun
2c549b4d1c rename function name - checkAndDownloadPuppeteer to checkAndDownloadPuppeteerExecutable 2024-02-24 11:47:03 +08:00
geekgeekrun
d034b1b605 install cross-env for ui 2024-02-24 00:25:38 +08:00
geekgeekrun
68d823d1c6 commit images which mark as changed 2024-02-23 23:38:32 +08:00
geekgeekrun
484814459f try to prevent pipe write error , mainWindow null pointer error 2024-02-23 10:38:07 +08:00
geekgeekrun
c97ca5f585 exit child process while parent process has exited - tip: to make disconnect event being trigger, a ipc channel must be established between parent and child event 2024-02-23 10:02:16 +08:00
geekgeekrun
2c73660625 quit app when no window exist 2024-02-23 08:42:09 +08:00
geekgeekrun
588e75f92d fix - dock icon is hidden for any flow 2024-02-23 08:40:12 +08:00