Commit Graph

200 Commits

Author SHA1 Message Date
geekgeekrun
ca333ce2da fix stdio is invalid issue on Windows 2024-04-05 17:18:30 +08:00
geekgeekrun
f69b597cd7 try to fix production package cannot run due to cannot find module cli-highlight 2024-04-05 17:18:25 +08:00
geekgeekrun
c33eed82f6 do not make typeorm as external 2024-04-05 17:18:07 +08:00
geekgeekrun
646045fad5 downgrade sqlite patch version to solve I couldn't build successfully in electron TryGhost/node-sqlite3 #1746 2024-03-21 10:06:44 +08:00
geekgeekrun
1df215abb3 remove useless package-lock.json 2024-03-21 10:03:33 +08:00
geekgeekrun
a06a3a7203 adjust stdio: ['inherit', 'inherit', 'inherit',...] to stdio: [process.stdin, process.stdout, process.stderr,...] 2024-03-21 02:07:56 +08:00
geekgeekrun
64d2ef4efe fix the issue that findChromeBin not support commonjs so when import a error is thrown so that app cannot launch 2024-03-21 01:49:37 +08:00
geekgeekrun
3f6a4615e3 fix the production package cannot run issue caused by glob(path-scurry) module error - maybe the version of glob is too new, and there exists different version of glob, so download rimraf and typeorm to makes major version of glob at 7 2024-03-21 01:24:42 +08:00
geekgeekrun
af92ef6718 add typeorm in external-node-runtime-dependencies 2024-03-20 09:42:32 +08:00
geekgeekrun
4f7e748a19 adjust event handle when encounter error NEED_TO_CHECK_RUNTIME_DEPENDENCIES in RunningStatus - go to '/' immediately 2024-03-20 01:16:14 +08:00
geekgeekrun
0c556fd790 add the promise wait for the next page of recommend job list load 2024-03-19 09:57:05 +08:00
geekgeekrun
d70073d9e1 adjust ui text 2024-03-18 09:50:40 +08:00
geekgeekrun
628387bd0c WIP: migrate the logic to handle exception from run-core to ui TODO: test the changes 2024-03-18 01:22:33 +08:00
geekgeekrun
a002c5c912 add log for dingtalk robot response 2024-03-18 00:55:32 +08:00
geekgeekrun
a717328ead migrate db file to runtimeFolder 2024-03-18 00:03:13 +08:00
geekgeekrun
3967c26ebc import db in ui project 2024-03-17 23:45:04 +08:00
geekgeekrun
26cf20addb set a higher target for sqlite-plugin 2024-03-17 23:14:31 +08:00
geekgeekrun
2377507e43 ignore any db file 2024-03-17 21:58:02 +08:00
geekgeekrun
3c3d8f2bf2 enhance run core - add the logic to save the start chat logic to db; modify some entity with wrong type. 2024-03-17 21:57:05 +08:00
geekgeekrun
883e443e61 add the logic in userInfoResponse hook to update user info in db 2024-03-17 17:23:41 +08:00
geekgeekrun
37917b30ca adjust run dev script of sqlite-plugin 2024-03-17 17:20:46 +08:00
geekgeekrun
6737fff0a7 adjust sequence of hooks.userInfoResponse?.promise(userInfoResponse) - regardless whether it's error or not 2024-03-17 17:19:55 +08:00
geekgeekrun
981d0981c6 adjust some column - remove -ed in 'encrypted' 2024-03-17 16:52:45 +08:00
geekgeekrun
65a5f0f96f adjust primaryColumn of some column 2024-03-17 16:49:53 +08:00
geekgeekrun
ed822d7cc4 call sqlite-plugin in run-core 2024-03-17 16:15:31 +08:00
geekgeekrun
6649691025 kill browser when internal exception is caught in core auto chat flow 2024-03-17 15:08:47 +08:00
geekgeekrun
6a6169ec11 make some column nullable; add name column for BossInfo 2024-03-17 14:54:30 +08:00
geekgeekrun
fdc0dcfc84 add index for BossInfo, CompanyInfo, JobInfo, UserInfo 2024-03-17 14:33:41 +08:00
geekgeekrun
b68455d094 add BossActiveStatusRecord, ChatStartupLog, UserInfo entities to distinguish login user and record boss active status. 2024-03-17 14:30:22 +08:00
geekgeekrun
0446f886c4 enhance the build script of sqlite-plugin; 2024-03-17 13:16:48 +08:00
geekgeekrun
99d9ad3f95 add sqlite plugin(with typeorm and sqlite) and business entities 2024-03-17 12:39:55 +08:00
geekgeekrun
3f2630d9c6 move last-used-browser-record to storage folder under runtimeFolderPath 2024-03-16 03:42:54 +08:00
geekgeekrun
ded1c9e8b2 add the PUPPETEER_IS_NOT_EXECUTABLE enum for cli 2024-03-16 03:27:09 +08:00
geekgeekrun
76db85d01e WIP: for ui package, move the core logic of run core to child process, and rerun run child process in daemon process when uncaught error makes process terminated. TODO: test the flow 2024-03-16 03:25:44 +08:00
geekgeekrun
f0e7eadfbc move the core logic of run core to child process, and rerun run child process in daemon process when uncaught error makes process terminated. 2024-03-16 01:52:26 +08:00
geekgeekrun
44aa73e18c when current account is limited, throw error directly 2024-03-15 09:25:20 +08:00
geekgeekrun
2339b2565e fix the issue that import external-node-runtime-dependencies in worker threads will throw error due to it cannot access electron module - the import path in worker threads will not rely on electron 2024-03-14 09:31:47 +08:00
geekgeekrun
f534c56af8 add the logic to close "set security question tip modal" in mainLoop of core 2024-03-14 09:19:13 +08:00
geekgeekrun
17ec7f3a65 distinguish main and worker thread to check if should import electron 2024-03-13 01:24:24 +08:00
geekgeekrun
494702df0d re run auto chat when encounter errorunhandledRejection event 2024-03-12 00:14:47 +08:00
geekgeekrun
5b5287d6f3 refactor pipeWriteRegardlessError - use error event to handle error 2024-03-11 10:05:34 +08:00
geekgeekrun
55cc92a498 change exit code; make enum for exit code 2024-03-11 07:03:11 +08:00
geekgeekrun
6ce92af189 fix ui project issue that once throw error, browser never restart; add the time gap for next time when encounter error. 2024-03-10 23:50:11 +08:00
geekgeekrun
e9a95ddae5 Merge branch 'perf/ui-blocked' into feature/ui 2024-03-10 21:44:14 +08:00
geekgeekrun
99d763029e adjust the height of flying company logo list in running status 2024-03-10 21:42:12 +08:00
geekgeekrun
e51eae331a enhance the effect and performance of flying company logo list 2024-03-10 21:28:07 +08:00
geekgeekrun
6a00cff74a use import function-like statement to import electron to solve program error on production 2024-03-10 15:25:09 +08:00
geekgeekrun
3ff4500737 refactor the implement of flying card - with pure dom operation 2024-03-10 13:56:33 +08:00
geekgeekrun
d3029b9ebb fix a missing import 2024-03-10 13:54:59 +08:00
geekgeekrun
4b074827bb adjust the folder structure of GEEK_AUTO_START_CHAT_WITH_BOSS_STARTED 2024-03-10 12:34:05 +08:00