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
Tw93
7247ded783
fix: prompt before cleaning local snapshots and keep latest
2025-12-31 09:24:59 +08:00
Tw93
13e735d58a
fix: replace safe_sudo with sudo for local snapshot removal
2025-12-30 23:53:17 +08:00
Tw93
a7b071e8f6
refactor: improve database optimization spinner handling and network optimization success tracking.
2025-12-30 18:16:22 +08:00
Tw93
bb49ec3170
fix: Improve shell script robustness by adding variable validation and safer du output parsing.
2025-12-30 18:07:48 +08:00
Tw93
6c1fcd23d7
feat: optimize clean operation performance by pre-expanding whitelist patterns, improving size calculation, and adapting parallel processing based on file types, alongside test suite enhancements.
2025-12-30 17:13:43 +08:00
Tw93
41ce597f02
fix: improve CI stability and Bluetooth audio detection
2025-12-30 16:27:52 +08:00
Tw93
8e45da97b5
chore: auto format code
2025-12-30 07:45:31 +00:00
Tw93
f0c9683048
feat: Add new system optimizations, refine existing tasks with safety checks, and update whitelisting options.
2025-12-30 15:44:52 +08:00
Tw93
3ba406b5e7
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 14:48:15 +08:00
Tw93
f5dad048ff
refactor: improve pagination robustness and reduce code duplication
2025-12-30 14:48:10 +08:00
Tw93
dab8136da5
chore: auto format code
2025-12-30 06:46:48 +00:00
Tw93
91351d9440
docs: clarify comment for 1Password sync helpers
2025-12-30 14:46:02 +08:00
Tw93
8711c5b5fc
feat: add cloud storage protection and bump version to 1.16.2
...
- Protect Dropbox, OneDrive, Google Drive, Backblaze, Box (Issue #204 )
- Add homebrew.mxcl.* services protection
- Document mo optimize --dry-run in help and README
- Bump version to 1.16.2
2025-12-30 14:38:22 +08:00
Tw93
73f3d43308
feat: improve mo purge UX with pagination and smart project detection
...
- Add pagination for project list based on terminal height
- Show position indicator [5/25] when scrolling
- Fix GB display for values < 1 (0.6GB instead of .6GB)
- Improve project name detection by walking up to find project root
- Change default editor from nano to vim
2025-12-30 14:38:16 +08:00
Tw93
184aab5f60
feat: add --dry-run support for mo optimize
...
- Skip destructive operations (killall, launchctl unload, sudo) in dry-run mode
- Add opt_msg() helper for consistent output formatting
- Refactor opt_system_services_refresh() with service array
- Show appropriate summary for dry-run vs actual execution
- Skip sudo session prompt in dry-run mode
2025-12-30 14:38:09 +08:00
Tw93
34d202eb01
fix: resolve syntax error in size calculation (Issue #203 )
...
- Add numeric validation for size variables in safe_clean()
- Fix get_path_size_kb() to handle non-numeric du output
- Display custom whitelist patterns in dry-run output (Issue #206 )
2025-12-30 14:38:02 +08:00
Tw93
3eccb7c094
feat: improve project clean module's common utility sourcing and bump version to 1.15.10
2025-12-29 20:26:16 +08:00
Tw93
fd95e2f3fc
chore: auto format code
2025-12-29 11:38:50 +00:00
Tw93
6328bf158d
feat(purge): smart project discovery and optimization
2025-12-29 19:38:14 +08:00
Tw93
bb83362195
feat(purge): add --paths option to configure scan directories
...
- Add lib/manage/purge_paths.sh for interactive path management
- Shows current paths status and opens editor for customization
- Update bin/purge.sh to handle --paths option
- Update README with new command
2025-12-29 19:23:54 +08:00
Tw93
bf36d3d6b6
chore: polish PR #197 and add Xcode Archives whitelist option
...
- Remove duplicate comment in project.sh
- Fix color code issue in purge.sh help message
- Add proper spacing after load_purge_config function
- Add shell syntax highlighting in README code block
- Add Xcode Archives to whitelist options (fixes #195 )
2025-12-29 19:18:41 +08:00
Tw93
ad43c92fa1
chore: auto format code
2025-12-29 11:16:45 +00:00
Andrii Medvediev
7e62ed19f9
feat: add configurable purge paths ( #197 )
2025-12-29 19:16:16 +08:00
Tw93
c8b2e3691b
chore: auto format code
2025-12-29 11:07:20 +00:00
Tw93
44e91be007
feat: add new system optimization tasks and implement orphaned startup item cleanup
2025-12-29 19:06:04 +08:00
Tw93
56c5fe08d2
Remove some useless comments
2025-12-29 15:38:30 +08:00
Tw93
ae3889eb34
Simplify the content deleted by the system
2025-12-29 15:34:35 +08:00
Tw93
8666c740cb
workflow
2025-12-29 15:15:52 +08:00
Tw93
b852e91493
Optimize security fix prompts and auto-fix flow
2025-12-29 15:14:03 +08:00
Tw93
492f3f77d6
Adjust uninstall menu footer controls order
2025-12-29 15:13:54 +08:00
Tw93
beaaa98c9b
Tweak macOS update detection and bump version
2025-12-29 15:13:37 +08:00
Tw93
694c55f73b
fix: implement layered error tolerance and accurate cleanup reporting ( #175 #176 #180 )
...
- Fix safe_remove set -e trap in command substitution
- Fix has_full_disk_access false positives and unknown state handling
- Use set +e in perform_cleanup for graceful degradation
- Track removal failures and only count actually deleted items (#180 )
- Add "Skipped X items (permission denied or in use)" notification
- Improve spinner reliability with cooperative stop mechanism (#175 )
2025-12-29 14:27:47 +08:00
Tw93
5f7df6235e
enhance macOS update check with configurable timeout and debug logging
2025-12-29 08:20:27 +08:00
Tw93
f84b019694
Merge branch 'pr-182'
2025-12-29 08:09:02 +08:00
Tw93
b67204f959
feat: remove SQLite vacuum optimization, enhance CJK/emoji width calculation, and improve system cleanup and UI feedback.
2025-12-29 00:29:42 +08:00
amanthanvi
9239571be1
Tighten macOS update check and add empty-output test
2025-12-28 11:18:12 -05:00
amanthanvi
62c783d5b3
Fix macOS update detection timeout
2025-12-28 10:49:00 -05:00
Tw93
6beca2f5fa
fix: improve robustness of UI output commands by adding || true
2025-12-28 21:51:38 +08:00
Tw93
50e47a3cd9
chore: bump version to 1.15.3 and update the security audit report following core protection and file operation refinements.
2025-12-28 21:30:39 +08:00
Tw93
87feab7df3
Merge branch 'main' of github.com:tw93/Mole
2025-12-28 20:15:27 +08:00
Tw93
906a8e3927
chore: clarify spinner cleanup comment and disable shellcheck warning SC2329
2025-12-28 20:14:45 +08:00
Hensell
23479c61bd
feat: add .dart_tool to project purge targets and disk analyzer ( #179 )
2025-12-28 20:12:22 +08:00
Tw93
ffce5aeb2a
chore: auto format code
2025-12-28 12:11:02 +00:00
Tw93
ff6f288c9b
fix: replace pgrep with tmutil status for more accurate Time Machine backup detection and add new tests for this logic.
2025-12-28 20:10:16 +08:00
Tw93
66ad3b34ee
chore: auto format code
2025-12-28 11:39:34 +00:00