tw93
e966838c82
style: standardize punctuation across codebase
...
- Replace parentheses with commas for supplementary info
- Use commas instead of em-dashes for separators
- Update bullet points from - to * in some contexts
- Improve version extraction regex with fallback logic
2026-01-26 14:36:06 +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
b044fa3e60
chore: auto format code
2026-01-04 09:52:09 +00: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
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
9aa569cbb6
feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation.
2025-12-31 16:23:31 +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
a7b071e8f6
refactor: improve database optimization spinner handling and network optimization success tracking.
2025-12-30 18:16:22 +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
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
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
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
Tw93
66ad3b34ee
chore: auto format code
2025-12-28 11:39:34 +00:00
Tw93
6aafa16573
Add SQLite database optimization with VACUUM
2025-12-28 19:35:43 +08:00
Tw93
f40603636c
Remove redundant cleanup functions and simplify maintenance task output
2025-12-27 10:18:05 +08:00
Luke Bullimore
785032635a
feat: harden user file handling and gate LaunchServices rebuild ( #159 )
...
- add ensure_user_dir/ensure_user_file helpers in lib/core/base.sh, including
sudo-aware ownership correction under the invoking user’s home
- use the helpers across clean/optimize/purge/uninstall/whitelist to create
cache and export files safely (no naked mkdir/touch), including log files and
dry-run exports
- ensure purge stats/count files and update message caches are pre-created with
safe permissions
- add Darwin version helpers and skip LaunchServices/dyld rebuild on macOS 15+,
keeping the existing corruption protection for earlier versions
- guard brew cache timestamp writes and TCC permission flags with safe file
creation to avoid root-owned artifacts
2025-12-26 10:54:56 +08:00
Tw93
f23ab89db0
Disable LaunchServices rebuild to prevent System Settings corruption
2025-12-20 22:55:17 +08:00
Tw93
25f0fff91d
fix: Refine recent items clearing to target specific global lists and prevent accidental deletion
2025-12-18 19:05:33 +08:00
Tw93
79e40b9c91
docs: Improve clarity and conciseness of comments and documentation
2025-12-18 17:35:54 +08:00
Tw93
8eeed7d079
feat(clean, optimize): enhance recent items cleanup safety
2025-12-18 17:19:18 +08:00
Tw93
af03452f6d
feat: Enhance clean and optimize operations with new configuration constants
2025-12-18 17:02:04 +08:00
Tw93
df7e5c8a04
feat: enhance system protection by adding critical path safeguards and removing problematic Spotlight and Finder/Dock cleanups.
2025-12-18 10:42:13 +08:00
Tw93
019a0c63ff
fix: Enhance sudo password input handling and expand tilde paths in maintenance.
2025-12-16 17:54:37 +08:00
Tw93
a77638da8d
feat: Add com.apple.finder cache to cleaning, protect specific apps from critical cleaning, implement login item whitelist checks
2025-12-15 15:32:49 +08:00
Tw93
5974b09d6a
feat: Add APFS snapshot cleanup, refine check messages, and optimize Homebrew health checks
2025-12-13 13:37:23 +08:00
Tw93
5456d60876
chore: auto format code
2025-12-12 06:12:13 +00:00
Tw93
0f701f7711
Refactor and simplify cleanup and optimization tasks, update health checks, and add debug logging tests.
2025-12-12 14:10:55 +08:00
Tw93
6d2fdd7392
Supplemental Security Audit Report
2025-12-11 15:10:49 +08:00
Tw93
198591289f
Spotlight cache cleaning moved to the optimize command
2025-12-10 10:02:49 +08:00
Tw93
78e6743666
Performance and speed optimization
2025-12-08 15:34:51 +08:00
Tw93
03610e34a5
Optimize the start speed of optimize
2025-12-06 20:57:08 +08:00
Tw93
074f447269
Move the system maintenance in the cleaning to optimize
2025-12-06 20:37:36 +08:00
Tw93
a92d352376
Safety and Reliability Improvements
2025-12-04 15:06:45 +08:00
Tw93
bb50a345b6
optimize code structure and reduce duplication
2025-12-02 15:24:19 +08:00
Tw93
4bd4ffc7be
Reconstruct clean lib code
2025-12-01 16:58:35 +08:00