1650 Commits

Author SHA1 Message Date
troyeguo
38517c421c feat(SettingDialog): update plugin filter to exclude only 'ai' type 2026-05-20 11:16:20 +08:00
troyeguo
058a53f93d chore: remove console.log statements from BookCardItem and useBookItem components 2026-05-20 09:54:47 +08:00
troyeguo
ab366903bb Refactor EditDialog component and update protection CSS styles
- Commented out the "Get metadata" button in the EditDialog component for future use.
- Reduced z-index in protection CSS from 99999 to 10 for better layering.
2026-05-20 09:53:09 +08:00
troyeguo
a9a48069df feat(protectionUtil): simplify password and PIN verification by removing hashing 2026-05-19 18:36:24 +08:00
troyeguo
f8b7adf649 feat(useBookItem): update cover loading logic to append timestamp for cache busting 2026-05-19 18:16:44 +08:00
troyeguo
0ebe1f7732 feat(coverUtil): add logic to delete existing cover files before saving new ones 2026-05-19 18:09:30 +08:00
troyeguo
faa4a9295d feat(editDialog): enhance cover handling to support fetching and converting image URLs 2026-05-19 17:40:42 +08:00
troyeguo
204c4c8573 feat(backup): enhance backup functionality to include dict, background, and snapshot directories
refactor(common): optimize cover processing in upgradeStorage function
refactor(configUtil): expand config list to include dict and background configurations
refactor(coverUtil): update cover processing to handle async operations
refactor(restore): improve restore functionality to support additional asset types
2026-05-19 17:20:17 +08:00
troyeguo
1bf3d63a4b refactor(localization): simplify sync progress messages for clarity 2026-05-19 16:17:45 +08:00
troyeguo
e68e5a113a feat(dict): implement file selection dialog for importing dictionaries 2026-05-19 15:39:45 +08:00
troyeguo
0d60cdf331 refactor(ipc): rename file selection handlers for clarity 2026-05-19 15:30:39 +08:00
troyeguo
1740ee2f5a feat(localization): add new metadata messages in Chinese locale 2026-05-19 15:27:01 +08:00
troyeguo
4b97774d58 Remove unnecessary console.log statements from DeleteIcon, Viewer, and koReaderSync components to clean up the code and improve performance. 2026-05-19 10:59:04 +08:00
troyeguo
74e12788e9 feat(protection): add overlay option to password input dialog 2026-05-19 09:25:51 +08:00
troyeguo
823589b831 feat(backup): enhance cover handling by converting blob to base64 in zipCover function
feat(syncSetting): add authentication check for webdav feature in handleAddDataSource
2026-05-19 09:19:53 +08:00
troyeguo
3b1ca57add feat(reader): enhance close handling for reader and tab interactions
- Added separate IPC listeners for "before-reader-close" and "before-tab-close" to manage close events more effectively.
- Updated the onBeforeClose method to send signals for both reader and tab closures, ensuring proper cleanup and state management.
2026-05-19 08:42:51 +08:00
troyeguo
5dd0905756 Refactor chapter label check in Viewer component
- Removed redundant check for a single chapter labeled "Title".
- Updated condition to check for "Chapter 0" instead of "Title 0" for better clarity and accuracy.
2026-05-19 06:50:55 +08:00
troyeguo
9b0b616f6c fix(footer): adjust zIndex and opacity for footer component
fix(viewer): update chapter label check and add debug logs
2026-05-18 18:41:59 +08:00
troyeguo
4e5fbda8b8 feat: Enhance delete icon functionality and sidebar styling
- Added logic to handle bookmark deletion in the DeleteIcon component, checking if the current bookmark matches the recorded location before deletion.
- Updated the mapStateToProps in the DeleteIcon index file to include currentBook from the Redux store.
- Modified DeleteIconProps interface to include currentBook of type BookModel.
- Adjusted padding in the Sidebar component for better UI alignment.
- Updated sidebar CSS to refine height calculation for improved layout.
2026-05-18 17:17:13 +08:00
troyeguo
88e34fd082 Refactor code structure for improved readability and maintainability 2026-05-18 09:50:34 +08:00
troyeguo
696682719a refactor: reorder sidebar items in SettingDialog for improved layout
feat: optimize audio cache management in TTSUtil by clearing old entries
2026-05-18 09:06:26 +08:00
troyeguo
e2c102a589 feat: add functionality to copy book and note links to clipboard 2026-05-17 18:31:54 +08:00
troyeguo
05a7750988 refactor: rename ActionDialog to MoreAction for consistency 2026-05-17 18:12:33 +08:00
troyeguo
ef42b20722 feat: enhance file import functionality with support for directory uploads and improved format validation 2026-05-17 18:09:08 +08:00
troyeguo
419998e327 feat: enhance backup and restore processes with progress updates and improved file handling 2026-05-17 17:59:06 +08:00
troyeguo
3a1911831e Refactor restoreFromfilePath to use JSZip for new backup format and streamline file processing
- Replaced AdmZip with JSZip for handling new backup format
- Implemented lazy loading of zip structure to optimize memory usage
- Added functions to convert streams to buffers and write streams to files
- Enhanced processing of config entries and asset files with error handling
- Maintained backward compatibility with old backup format using AdmZip
2026-05-17 17:49:40 +08:00
troyeguo
2d67b19db8 feat: add scheduled sync interval settings and localization for duration options 2026-05-17 17:25:22 +08:00
troyeguo
bc35e2554e feat: add trial expiration tooltip and localization for trial status 2026-05-17 16:35:45 +08:00
troyeguo
3debaf410e feat: add background color handling in SettingSwitch and improve KOReader sync logic
- Implemented background color handling in SettingSwitch component to update the background color based on reader configuration.
- Enhanced KOReader synchronization process by ensuring document MD5 is set if not already present, improving the reliability of progress syncing.
- Added calls to handleKOReaderSync in the Header component to ensure synchronization state is managed correctly during various sync operations.
2026-05-17 16:10:15 +08:00
troyeguo
e9400de638 fix: update koReaderSyncConfig retrieval to use getObjectConfig for improved handling 2026-05-17 14:03:11 +08:00
troyeguo
94306c5082 fix(i18n): update Chinese translations for Eudic sync and KOReader sync descriptions
refactor(settings): simplify sync progress description in settings list

refactor(aboutSetting): improve update check logic and maintain code readability
2026-05-17 11:33:59 +08:00
troyeguo
0527faaa0d feat: add tutorial option to vexOpenAsync dialog and update localization files 2026-05-17 10:28:39 +08:00
troyeguo
c8111e7342 feat: update environment variables for Koreader registration and localization adjustments 2026-05-17 10:00:01 +08:00
troyeguo
a05e5c0aa9 feat: add error handling for cloud metadata fetch failure in MetadataDialog 2026-05-16 14:57:46 +08:00
troyeguo
01989e14ff feat: add KOReader sync server with user registration and progress tracking functionalities 2026-05-16 09:49:00 +08:00
troyeguo
5923a47727 feat: add cloud search functionality and improve metadata dialog
- Added translations for "Cloud" and "Get more results" in zh-CN.json.
- Integrated trimSpecialCharacters utility in EditDialog to clean book names and authors.
- Enhanced MetadataDialog to support cloud-based book metadata retrieval.
- Implemented a button in MetadataDialog for fetching additional results from the cloud.
- Updated interface to include new properties for handling cloud search and authentication state.
- Added getBookMetadata function to request book metadata from the cloud.
- Adjusted CSS for better layout in the metadata dialog.
2026-05-15 22:32:55 +08:00
troyeguo
33d6aa0b51 Refactor PopupDict and Viewer components; remove console logs, enhance KOReader sync functionality, and add book path retrieval method
- Removed unnecessary console logs from PopupDict and handleFetchPlugins functions.
- Updated Viewer component to utilize XPath navigation if KOReader sync is enabled.
- Introduced getBookPath method in BookUtil to retrieve the book's file path based on its key and format.
- Enhanced KOReader sync logic to include timestamp checks and partial MD5 calculation for books.
2026-05-15 21:04:11 +08:00
troyeguo
755c503975 Refactor KOReader sync logic: enhance local record handling, improve upload payload construction, and streamline progress synchronization 2026-05-15 18:08:09 +08:00
troyeguo
8585490ed9 Fix syncKOReaderProgress: handle empty uploadPayload to prevent skipping books 2026-05-15 17:30:37 +08:00
troyeguo
90e322f759 Refactor KOReader sync logic: streamline sync handling in Header and DataSetting components, update configuration management in koReaderSync utility 2026-05-15 17:22:19 +08:00
troyeguo
4f8e153cf6 Enhance KOReader sync functionality: update sync descriptions, improve server validation messages, and change default server URL 2026-05-15 15:54:09 +08:00
troyeguo
0c4c3fbe4e Refactor MoreSetting component: remove loading state and optimize componentDidMount 2026-05-15 15:31:38 +08:00
troyeguo
3c6135812d git commit -m "Closed implemented features and outdated issues, closes #1399, closes #1396, closes #1395, closes #1394, closes #1393, closes #1387, closes #1386, closes #1385, closes #1381, closes #1379, closes #1373, closes #1372, closes #1370, closes #1368, closes #1400, closes #1437, closes #1430, closes #1429, closes #1427, closes #1426, closes #1425, closes #1421, closes #1417, closes #1416, closes #1414, closes #1413, closes #1411, closes #1410, closes #1408, closes #1405, closes #1404, closes #1403, closes #1402, closes #1401, closes #1473, closes #1469, closes #1466, closes #1465, closes #1464, closes #1456, closes #1455, closes #1453, closes #1452, closes #1449, closes #1443, closes #1442, closes #1508, closes #1506, closes #1505, closes #1492, closes #1503, closes #1502, closes #1500, closes #1498, closes #1494, closes #1493, closes #1491, closes #1489, closes #1487, closes #1486, closes #1482, closes #1536, closes #1530, closes #1528, closes #1527" 2026-05-15 15:11:52 +08:00
troyeguo
07aff91b66 feat: implement biometric authentication support with Windows Hello and Touch ID 2026-05-15 08:35:42 +08:00
troyeguo
37c0dc5488 fix: update translation for syncing new words to reflect correct terminology 2026-05-15 08:01:03 +08:00
troyeguo
896fadb1ad style: adjust gap and padding for sidebar items in setting dialog for improved layout 2026-05-14 21:07:56 +08:00
troyeguo
4bd2a0f396 feat: add "More settings" option to sidebar and align dropdown text in MoreSetting component 2026-05-14 20:55:08 +08:00
troyeguo
fad9326beb feat: add authentication prompts and improve overlay styling for password and PIN input 2026-05-14 20:48:21 +08:00
troyeguo
4729e5b1b1 style: update color and background for improved UI in protection settings 2026-05-14 20:37:52 +08:00
troyeguo
64e8c9de2b style: update UI elements in ProtectionOverlay and CSS for improved aesthetics 2026-05-14 20:29:04 +08:00