1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:04:42 +00:00

244 Commits

Author SHA1 Message Date
Tw93
2aea2c752c Fix remove permission issue V1.7.15 2025-10-15 19:23:13 +08:00
Tw93
4a0a011d49 1.7.14 V1.7.14 2025-10-15 15:47:07 +08:00
Tw93
6f09fc1509 1.7.12 V1.7.12 2025-10-15 10:27:04 +08:00
Tw93
b67b0d479b update tests 2025-10-15 10:00:15 +08:00
Tw93
41b4886a75 update tests 2025-10-15 09:56:37 +08:00
Tw93
8b2c49cb0c update tests 2025-10-15 09:49:20 +08:00
Tw93
e5ee10b756 Update README.md 2025-10-14 20:39:04 +08:00
Tw93
240920f697 update docs 2025-10-14 20:19:54 +08:00
Tw93
bd2eef5de6 update docs 2025-10-14 20:19:34 +08:00
Tw93
04339b08d1 1.7.11 2025-10-14 20:11:48 +08:00
Tw93
f1af63bfb9 Uninstall List Cache 2025-10-14 20:06:52 +08:00
Tw93
f842d4092f Delete useless help and optimize format 2025-10-14 19:43:59 +08:00
Tw93
3317b9907c Enter to select the next step 2025-10-14 19:18:03 +08:00
Tw93
6d343194ff Fix whitelist issue caused by retrieval list 2025-10-14 17:27:38 +08:00
Tw93
2fa24d3771 Fix whitelist issue caused by retrieval list 2025-10-14 17:26:27 +08:00
Tw93
5fc028f18f chore: trigger recount 2025-10-14 16:17:12 +08:00
Else00
cfdd414320 feat(menu): add sort (date/name/size), live filter, reverse; visible-only A/N; responsive footer (#34)
Paginated menu:
- Sorting: press S/s to cycle Date → Name → Size; press R/r to reverse.
- Live filter: press F/f to enter; case-insensitive substring; prefix with ' to anchor at start; DELETE to backspace; ENTER to apply; ESC to cancel. Shows “searching…” while rebuilding.
- Selection scope: A (All) and N (None) now work on the currently visible items only (after filter/sort), not the entire list.
- Footer: adds A/N to the help line and wraps only at ' | ' separators so labels are never broken; adapts to terminal width.
- Internals: view_indices mapping for filtered/sorted view; glob-safe matching via _pm_escape_glob; drain_pending_input; robust stty restore; optional MOLE_MANAGED_ALT_SCREEN; cleanup unsets MOLE_READ_KEY_FORCE_CHAR; shellcheck clean.

common.sh:
- read_key supports a raw typing mode (MOLE_READ_KEY_FORCE_CHAR=1) emitting CHAR:<k>; ENTER/DELETE/ESC handled.
- Uppercase A/N/R mappings (ALL/NONE/RETRY), printable-key detection, better ESC sequence handling.

app_selector.sh:
- Builds and exports per-item metadata CSV for epochs and size_kb via MOLE_MENU_META_EPOCHS and MOLE_MENU_META_SIZEKB; unsets them after the menu.
- Menu options keep display text; sorting/filtering use metadata.

uninstall.sh:
- Computes app_size_kb using du -sk for numeric sorting while keeping human-readable size; writes it as the final field.
- load_applications reads the new size_kb field.

Notes:
- Footer grew due to new commands; responsive wrapping prevents mid-word breaks.
- ./tests/run.sh: only the two upstream failures remain (unchanged by this patch).

Co-authored-by: Jonas Bertossa <jonas.bertossa@eoc.ch>
2025-10-14 09:40:47 +08:00
Tw93
1d1da5af18 Merge branch 'main' of github.com:tw93/Mole 2025-10-13 14:33:27 +08:00
Tw93
098d54b055 Optimize test reading version 2025-10-13 14:33:06 +08:00
Tw93
80d4565235 Mailbox cache and whitelist V1.7.10 2025-10-13 14:15:02 +08:00
Tw93
db3b033fc0 Optimize cleaning of Bluetooth content 2025-10-13 11:29:45 +08:00
Tw93
f63f561673 Simple formatting 2025-10-13 10:20:46 +08:00
Tw93
62537d8d44 Automatic formatting 2025-10-12 21:43:37 +08:00
Tw93
cf821cdc4b Code support format detection 2025-10-12 20:49:10 +08:00
Tw93
d111f18cea Delete .github/workflows/shell-format.yml 2025-10-12 18:03:01 +08:00
Tw93
7a8b7ba9d5 Update shell-format.yml 2025-10-12 18:01:00 +08:00
Tw93
3be86923f5 Update shell-format.yml 2025-10-12 17:58:11 +08:00
Tw93
b61a3659d3 Update shell-format.yml 2025-10-12 17:55:53 +08:00
Tw93
d54ca50486 Update mole 2025-10-12 16:28:30 +08:00
Tw93
6fc1928fca Improve shell workflow file discovery (#24) 2025-10-12 16:27:16 +08:00
Tw93
aeb309c522 Update mole 2025-10-12 16:16:10 +08:00
Tw93
d1fa709cd4 Fix shell formatter workflow for macOS (#23) 2025-10-12 16:09:58 +08:00
Tw93
3c56fe0633 Complete automated testing 2025-10-12 15:43:45 +08:00
Tw93
f9a93f6052 Complete automated testing 2025-10-12 14:17:40 +08:00
Tw93
41047d6ee8 Support for cleaning up incomplete backups V1.7.9 2025-10-12 12:42:21 +08:00
Tw93
9e7c70a9f8 Symbol specification output 2025-10-12 12:42:04 +08:00
Tw93
d3d56044e9 The documentation is clearer 2025-10-12 07:50:17 +08:00
Tw93
a4eccdc7f9 The documentation is clearer 2025-10-11 23:33:20 +08:00
Tw93
387348ccd8 The documentation is clearer 2025-10-11 23:32:42 +08:00
Tw93
9985147b32 The documentation is clearer 2025-10-11 23:31:18 +08:00
Tw93
ffc8d3e766 Whitelist Description 2025-10-11 23:30:24 +08:00
Tw93
96990ccc4c Whitelist Description 2025-10-11 23:29:38 +08:00
Tw93
f66c7b7c61 Whitelist Description 2025-10-11 23:28:20 +08:00
Tw93
af901425ac Whitelist Description 2025-10-11 23:07:24 +08:00
Tw93
79cfa81384 Add Maven to the default whitelist V1.7.8 2025-10-11 22:56:26 +08:00
Tw93
d000fbea48 Add Maven to the default whitelist 2025-10-11 22:55:18 +08:00
Tw93
3bae4b386f Well-structured output 2025-10-11 22:46:54 +08:00
Tw93
7e42516260 Support one-click activation of touchid 2025-10-11 22:43:50 +08:00
Tw93
55f6bd352f Well-structured output 2025-10-11 22:43:18 +08:00
Tw93
3b33c5a4a8 The results are more uniform V1.7.5 2025-10-11 15:02:15 +08:00