119 Commits

Author SHA1 Message Date
Sergey Kurdin
34d304d1b8 feat: enhance HTML encoding/decoding with input validation
- Improved `toHtmlEncode` to validate string input and added sanitization in `toHtmlDecode`
2025-06-23 15:00:53 -04:00
Sergey Kurdin
a3c82b714b feat: implement special copy/paste operations with customizable settings and transformation options 2025-06-22 17:24:54 -04:00
Sergey Kurdin
d77cd0ea04 chore: comment out debug print statements for left and right click in Windows system tray implementation 2025-06-21 14:49:28 -04:00
Sergey Kurdin
0d9bffca7d Enable customizable tray icon behavior on Windows including left-click options and double-click visibility settings 2025-06-21 13:44:20 -04:00
Sergey Kurdin
42f2dcc9d7 feat: implement global regex caching for template patterns in apply_global_templates function 2025-06-20 16:27:11 -04:00
Sergey
9305de16a3
Update src-tauri/src/services/utils.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-20 16:17:31 -04:00
Sergey
9866b42af9
Update src-tauri/src/services/utils.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-20 16:16:58 -04:00
Sergey Kurdin
bba144b8e9 feat: remove global templates implementation plan document and integrate feature details across relevant components and settings 2025-06-20 12:07:37 -04:00
Sergey Kurdin
93f847bac8 feat: implement global templates management in user preferences, including storage, UI, conflict handling, and i18n support 2025-06-19 20:11:37 -04:00
Sergey Kurdin
64bdb03781 chore: Added new settings to configure which items to preserve when clearing clipboard history, including options to retain pinned and starred items during both manual and automatic clear operations. 2025-06-18 21:18:17 -04:00
Sergey Kurdin
2f89824727 feat: menu deletion with submenus repositioning 2025-06-18 12:40:45 -04:00
Sergey Kurdin
e71fdd8485 feat: add settings for panel visibility and simplified layout in the app interface 2025-06-14 15:12:03 -04:00
Sergey Kurdin
9040408d71 chore: lint fixes and PR comments 2025-06-13 17:44:21 -04:00
Sergey Kurdin
0af0554cc9 Implement "Copy only" feature for menu items to enhance user control over clipboard operations and update related settings 2025-06-13 11:36:49 -04:00
Sergey Kurdin
88795e761c Add keyboard selection support in ClipboardHistory and enhance clipboard image handling across platforms for better user experience 2025-06-13 00:32:00 -04:00
Sergey Kurdin
07d0bb6b4e Add Backup and Restore functionality with improved UI, new translations, and enhanced error handling for better user experience 2025-06-12 17:14:00 -04:00
Sergey Kurdin
488f746683 Enhance backup and restore features with improved UI, new translations, and error handling for better user experience 2025-06-12 16:39:57 -04:00
Sergey Kurdin
1aa8e5d28c Merge branch 'main' into backup-restore-system 2025-06-12 11:51:51 -04:00
Sergey Kurdin
d656eb26a7 db change to read lock 2025-06-12 11:48:26 -04:00
Sergey Kurdin
a1c2837623 backup and restore implementation 2025-06-12 11:39:10 -04:00
Sergey
0d9f4676f2
Update src-tauri/src/services/settings_service.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-12 01:56:03 -04:00
Sergey
88cbd4458a fix: address review issues for custom db path 2025-06-12 01:46:54 -04:00
Sergey Kurdin
aca59e42e1 feat: Add image capture settings and refactor clipboard handling for better path management
- Introduced settings for disabling image capture.
- Updated clipboard services to check image capture status.
- Enhanced path transformation functions for images in the database.
- Refined frontend integration for displaying clipboard history
2025-06-11 18:59:22 -04:00
Sergey Kurdin
37fb06fef1 feat: Implement custom data location feature and update related settings 2025-06-10 22:52:48 -04:00
Sergey Kurdin
d92008c474 feat: Enhance user settings commands and data path management
- Added `fs_extra` dependency for improved file operations.
- Updated `arboard` dependency to version 3.5.0.
- Introduced `cmd_check_custom_data_path` to verify the status of a given path.
- Implemented `cmd_validate_custom_db_path` to check if a directory is writable.
- Replaced `cmd_set_custom_db_path` with `cmd_set_and_relocate_data` for setting a new data path and relocating existing data.
- Replaced `cmd_remove_custom_db_path` with `cmd_revert_to_default_data_location` to revert to the default data location with optional file movement.
- Refactored database path retrieval functions for clarity and efficiency.
- Updated clipboard history and item services to utilize new data directory functions.
2025-06-10 14:12:41 -04:00
Sergey Kurdin
98d9673e30 Add user settings management with custom DB path support
- Introduced `pastebar_settings.yaml` for storing user settings.
- Implemented commands for getting, setting, and removing the custom DB path.
- Added functionality to manage general key-value settings.
- Created a `UserConfig` struct to handle user settings serialization and deserialization.
- Implemented methods to load and save user configuration.
2025-06-09 17:09:11 -04:00
Sergey Kurdin
07665a81a5 update to add an option to trim spaces on history capture 2025-01-18 18:32:05 -05:00
segemun
c8ad61176a auto trim spaces in the clip on save 2025-01-18 19:07:05 +01:00
segemun
d96aab3e7b remove dbg fn 2025-01-16 22:37:21 +01:00
segemun
b5378f24c6 add setting for autotrimming spaces in the clip 2025-01-16 22:35:27 +01:00
segemun
07f0a2077d fix langs, replace text limits inputs to the clipboard history settings 2025-01-15 22:01:45 +01:00
segemun
2b83bb9e18 implement clipboard history filtering based on text length limits 2025-01-15 11:21:59 +01:00
Sergey Kurdin
e672f6ac97 updated service translations 2024-12-26 15:20:47 -05:00
Sergey Kurdin
6c0994ddde added Turkish language translation
updated French language translation from Jean-Michel Robert
2024-12-26 15:13:50 -05:00
Sergey Kurdin
d08a5a6953 update to quick paste windows auto generate link option settings 2024-08-29 21:53:12 -04:00
Sergey Kurdin
0fc336ca51 translation for PasteBar Quick Paste window 2024-08-22 19:09:51 -04:00
Sergey Kurdin
f7e91f469b update to quick paste window added resizable 2024-08-22 02:25:09 -04:00
Sergey Kurdin
65ae39df30 only mac main window open and hide on quick paste window open close 2024-08-21 19:04:51 -04:00
Sergey Kurdin
438a8ece5d update to quick replay window open close 2024-08-21 18:56:57 -04:00
Sergey Kurdin
2c322532ab update to open quick paste window position 2024-08-21 18:44:56 -04:00
Sergey Kurdin
cd50ce60b9 added window version open quick paste window with async required function in rust 2024-08-21 17:33:10 -04:00
Sergey Kurdin
044b4fb4f0 update to quick paste window focus 2024-08-20 20:58:20 -04:00
Sergey Kurdin
eaa6035de2 wip quick paste window 2024-08-20 01:10:28 -04:00
Sergey Kurdin
c81427a2ea WIP quick paste window open / close with keyboard shortcut 2024-08-19 00:55:44 -04:00
Sergey
d923523529
Merge branch 'zh-CN-es-ES-uk-languages-support' into test-window-branch 2024-08-18 18:29:48 -04:00
Sergey Kurdin
a473b24bb3 fixes for app windows state save - restore 2024-08-18 18:26:24 -04:00
Sergey Kurdin
a4f45a6a34 added debounce 2024-08-18 17:18:51 -04:00
Sergey Kurdin
70bce4bc23 Merge remote-tracking branch 'origin/zh-CN-es-ES-uk-languages-support' into zh-CN-es-ES-uk-languages-support 2024-08-18 14:51:56 -04:00
Sergey Kurdin
c088b9a644 added mouse position lib for rust 2024-08-18 14:51:34 -04:00
Sergey Kurdin
1fce371c08 added debouce function for save windows state 2024-08-18 14:22:35 -04:00