1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 19:09:43 +00:00
Commit Graph

377 Commits

Author SHA1 Message Date
Tw93
1fccf6bcf8 Repair brew update prompts 2026-01-08 10:16:58 +08:00
Tw93
07ea303105 feat: enhance optimization summary with specific metrics for cleaned cache, repaired configs, and optimized databases 2026-01-05 00:26:08 +08:00
Tw93
2fac1e1dea Merge branch 'main' of github.com:tw93/Mole 2026-01-04 23:21:37 +08:00
Tw93
e434a1e837 feat(uninstall): add support for third-party input methods
- Add '/Library/Input Methods' to application scan paths
- Unprotect Sogou, QQ, and Baidu input methods from system critical list
- Enhance file cleanup logic to detect input method plugins and caches
- Allow clean uninstallation and deep cleaning of WeType, Sogou, etc.
2026-01-04 23:19:02 +08:00
Tw93
b044fa3e60 chore: auto format code 2026-01-04 09:52:09 +00:00
Tw93
3906c020fe fix: improve cleanup by exiting alt screen and refine whitelisting for directory paths and R renv cache. 2026-01-04 17:41:14 +08:00
Tw93
0520287ec1 feat(debug): add detailed debug output for optimize operations
- Add debug logging to all optimize functions:
  - opt_cache_refresh, opt_saved_state_cleanup
  - opt_network_optimization, opt_sqlite_vacuum
  - opt_launch_services_rebuild, opt_font_cache_rebuild
  - opt_memory_pressure_relief, opt_disk_permissions_repair
  - opt_bluetooth_reset
- Each operation logs description, method, expected outcome, and risk level
- Part of GitHub issue #242 implementation
2026-01-04 17:30:45 +08:00
Tw93
9d59649b51 feat(debug): add detailed debug output for clean operations
- Add classify_cleanup_risk() for risk level classification (LOW/MEDIUM/HIGH)
- Enhance safe_clean() with operation details and risk info
- Show item counts and file lists in debug mode
- Support for lib/clean/user.sh debug enhancements
- Part of GitHub issue #242 implementation
2026-01-04 17:30:41 +08:00
Tw93
cd5baf9a72 feat(debug): enhance file removal with detailed debug output
- Add file metadata logging in safe_remove() and safe_sudo_remove()
- Log file type, size, and age when in debug mode
- Support both dry-run and actual removal scenarios
- Part of GitHub issue #242 implementation
2026-01-04 17:30:36 +08:00
Tw93
e5a3abfd6d feat(debug): add enhanced debug logging functions
- Add debug_operation_start() for operation section headers
- Add debug_operation_detail() for detailed operation info
- Add debug_file_action() for file operations with metadata
- Add debug_risk_level() for risk classification with colors
- All functions output to both stderr and log file
- Addresses GitHub issue #242
2026-01-04 17:30:32 +08:00
Tw93
fc4d94f7c7 Merge pull request #247 from JackPhallen/feat/more-purge-support
feat(purge): C# bin purge support
2026-01-04 16:16:59 +08:00
Tw93
0df0de33f5 Merge pull request #248 from JackPhallen/fix/protect-whitelisted-subdirectories
fix: Respect whitelisted subdirectories
2026-01-04 16:12:39 +08:00
Jack Phallen
70e1544490 fix: Respect whitelisted subdirectories 2026-01-04 00:00:28 -08:00
Jack Phallen
aabee42344 feat(purge): C# bin purge support 2026-01-03 23:24:25 -08:00
Jack Phallen
2045917c23 feat(purge): Additional python purge targets 2026-01-03 22:54:37 -08:00
Tw93
ad42266b09 refactor: rename installers command to installer across commands, script, and documentation. 2026-01-04 10:23:23 +08:00
Tw93
4680982ea1 Merge pull request #240 from JackPhallen/feat/installers-clean
feat: Create utility to find stale app installers
2026-01-04 10:12:00 +08:00
Jack Phallen
a2f071fd48 feat: Create utility to find stale app installers 2026-01-03 10:00:57 -08:00
Tw93
41c8325019 chore: auto format code 2026-01-03 10:08:35 +00:00
Tw93
6dfd675417 refactor: standardize epoch time retrieval with get_epoch_seconds and ensure locale-independent string transformations. 2026-01-03 18:07:47 +08:00
Tw93
4efe1411aa Merge branch 'dev' 2026-01-03 14:17:45 +08:00
Tw93
07a61844fb Merge pull request #237 from jimmystridh/fix/arrow-key-responsiveness
fix(ui): improve arrow key responsiveness in menu
2026-01-03 14:16:27 +08:00
Tw93
6698099215 chore: auto format code 2026-01-03 06:11:23 +00:00
Jimmy Stridh
e57e71557c fix(ui): improve arrow key responsiveness in menu
drain_pending_input was discarding buffered arrow keys during
key repeat, causing slow/jerky scrolling and lingering movement
after key release.
2026-01-03 07:08:37 +01:00
Tw93
8a55e33a00 refactor: ensure mail cleaning configuration variables default to empty if unset. 2026-01-03 14:06:29 +08:00
Tw93
8cb1bc6fbe Merge pull request #236 from jimmystridh/fix/preserve-sort-state-after-uninstall
fix(ui): preserve sort state after uninstall
2026-01-03 13:57:28 +08:00
Jimmy Stridh
4fd3ae4e01 fix(ui): preserve sort state after uninstall
Sort mode and order were reset to defaults when returning
from uninstallation. Now persisted via environment variables.
2026-01-03 06:44:54 +01:00
Tw93
5ee7d2d703 test: fix empty directory cleanup depth and remove obsolete spinner test 2026-01-03 13:37:53 +08:00
Tw93
f98aab6840 refactor: simplify configuration by removing unused environment variables 2026-01-03 13:34:19 +08:00
Tw93
c165230159 refactor: simplify ui and log defaults
Remove support for obscure env var overrides in favor of sensible defaults.
2026-01-03 13:29:07 +08:00
Tw93
5955bd93dc feat: enhance clean logic
1. Add recursive empty directory cleanup for Application Support and Caches.
2. Add support for cleaning old Edge Updater versions.
2026-01-03 13:29:07 +08:00
Tw93
3cb21aad7e refactor: improve brew cleanup timeout handling and remove app_caches, clean_extras, and optimize_core tests. 2026-01-03 12:53:31 +08:00
Tw93
ac5c0e3c9d fix: Add Library directory existence check to clean script and enhance test script for bats version compatibility. 2026-01-03 12:30:53 +08:00
Tw93
f5a8adb97e feat: implement empty Library directory cleanup and Android NDK version check. 2026-01-03 09:41:05 +08:00
Tw93
6c8c87bef6 refactor: remove Christmas seasonal feature 2026-01-02 19:26:22 +08:00
Tw93
d701519310 refactor: simplify pnpm environment variable handling in clean script 2026-01-02 19:10:20 +08:00
Tw93
910e79df4e feat: Improve clean command's regex handling and pnpm cache cleaning, enhance test output, update completion descriptions, and clarify installation instructions. 2026-01-02 18:50:42 +08:00
Jack Phallen
5e7f276722 fix(purge): use regex OR pattern instead of multiple -g flags for fd 2026-01-01 22:45:30 -08:00
Tw93
88f434f01a feat: Add browser version cleanup tests, enhance shell completion with new tests, and introduce core command definitions. 2026-01-02 09:55:42 +08:00
Tw93
23ffafc415 feat: add Microsoft Edge old version cleanup and improve vendor directory protection logic. 2026-01-02 00:29:58 +08:00
Tw93
a671c63401 feat: smart vendor directory handling in purge
- Only clean PHP Composer vendor (regeneratable)
  - Protect Rails, Go, and unknown vendor directories
  - Enhanced test coverage for all scenarios

  Builds on PR #229 with improved multi-language support
2026-01-02 00:03:17 +08:00
Jalen Yan
9e84883de5 fix: skip Rails vendor during purge 2026-01-01 23:37:02 +08:00
Tw93
b64f7df357 feat: add Zig build artifacts and project files to cleanup script. 2026-01-01 13:48:08 +08:00
Tw93
f53d440bb8 feat: Add Chrome old versions cleanup and whitelist Poetry virtualenvs from cleaning. 2026-01-01 10:26:59 +08:00
Tw93
2bede99e94 fix: enhance local snapshot warning and improve disk space calculation for macOS 2026-01-01 10:12:43 +08:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
884a095534 Merge branch 'main' of github.com:tw93/Mole 2025-12-31 10:59:56 +08:00
Tw93
b5b09461c7 feat: add spinner feedback to optimization tasks, enhance app discovery for uninstall, and improve UI robustness and signal handling 2025-12-31 10:59:50 +08:00
Tw93
aca0f66688 chore: auto format code 2025-12-31 02:25:09 +00:00
Tw93
97ed11cd42 refactor: clean_local_snapshots now uses an array for snapshot processing and includes a read_key fallback, with new tests. 2025-12-31 10:23:11 +08:00