20 Commits
Author SHA1 Message Date
troyeguo a2e8c39287 feat(import): add functionality to import notes, highlights, and dictionary history from CSV or JSON files 2026-09-13 17:13:34 +08:00
troyeguo d366064ae1 feat: add support for handling CBZ/CBT files and implement IPC methods for zip/tar file operations 2026-09-05 16:32:51 +08:00
troyeguo bc34535a9a Remove Electron-specific request handling from aiRequest function 2026-09-01 09:46:29 +08:00
troyeguo 07bcb22d0a fix: remove AdmZip dependency and related zip command functionality 2026-09-01 09:05:47 +08:00
troyeguo 8bc69fc2e2 refactor: remove Electron-specific chat stream handling from common.ts 2026-08-30 09:26:56 +08:00
troyeguo 027b98f629 feat: implement adm-zip integration for zip file operations in backup and restore processes 2026-08-29 16:28:05 +08:00
troyeguo 745c1a71a0 refactor: simplify cover URL retrieval in CoverUtil 2026-08-29 15:27:02 +08:00
troyeguo 9ce88e38f8 feat: implement restore-path functionality for backup restoration using yauzl 2026-08-29 14:26:42 +08:00
troyeguo 97914f5892 feat(backup): implement backup functionality using yazl for efficient file zipping 2026-08-16 17:55:25 +08:00
troyeguo 67defd29ab feat(crypto): add file MD5 hashing functionality and update related APIs 2026-08-16 14:49:24 +08:00
troyeguo 9e78b5d535 feat(ai): implement AI request handling and chat streaming functionality 2026-08-10 11:31:59 +08:00
troyeguo 4cafffc062 feat: add multiple translation plugins and registry
- Implemented new translation plugins: ollamaTranslate, potTranslate, reversoEmbedTranslate, sogouEmbedTranslate, tencentTranslate, transmartEmbedTranslate, volcengineTranslate, yandexEmbedTranslate, youdaoGeneralTranslate, and youdaoLlmTranslate.
- Created a centralized rendererRegistry to manage translation plugins.
- Defined types for plugin configuration and translation functionality in types.ts.
2026-07-31 09:59:05 +08:00
troyeguo 26a6406702 feat: add appendFileSync method to file API for synchronous file appending 2026-07-31 06:50:03 +08:00
troyeguo aceee13136 feat: implement asset protocol for cover retrieval and update CoverUtil to use it 2026-07-30 19:43:46 +08:00
troyeguo 1b5e662c3e feat: enable sandboxing and add synchronous Node command handling in preload script 2026-07-30 18:04:22 +08:00
troyeguo c46b500180 refactor: remove unused clipboard IPC handlers and update type definitions 2026-07-30 14:48:34 +08:00
troyeguo e4ea485556 refactor: improve code readability and consistency in file operations and error handling 2026-07-30 14:07:05 +08:00
troyeguo 673aa05fc4 refactor: replace window.require with window.electronAPI for improved module access
- Updated file handling in coverUtil, dictUtil, export, fontUtil, restore, sqlUtil, and other utility files to use window.electronAPI for accessing Electron modules.
- Refactored IPC calls to utilize the new context bridge for better security and maintainability.
- Introduced a preload script to expose necessary APIs to the renderer process, enhancing the overall architecture.
- Ensured compatibility with Electron's security model by removing direct access to Node.js modules from the renderer.
2026-07-30 14:00:29 +08:00
troyeguo fd9e230da9 feat(chat): replace preload.js with chat-preload.js for chat API integration 2026-07-30 10:05:41 +08:00
troyeguo 356b64528e feat: migrate chat functionality to preload.js and remove preload.chat.js 2026-07-12 15:55:58 +08:00