1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00
Commit Graph

1204 Commits

Author SHA1 Message Date
Oleksandr Redko
f1de7ffd18 fix: golangci-lint config 2026-01-08 10:20:42 +02:00
Tw93
5eb2edf1cd fix: resolve spinner display and Ctrl+C handling issues
- fix(clean): stop spinner before safe_clean outputs results
- fix(uninstall): handle Ctrl+C during application scanning
2026-01-08 16:17:39 +08:00
Tw93
9e7f2a87cf Repair output 2026-01-08 16:12:39 +08:00
Tw93
180037c22b feat(status): persist cat visibility preference
- Add loadCatHidden/saveCatHidden functions
- Save preference to ~/.config/mole/status_prefs
- Load preference on startup
2026-01-08 15:58:50 +08:00
Tw93
b1bb91be1f Fix the wrong test 2026-01-08 15:36:09 +08:00
Tw93
79a19ffbfe Go code formatting optimization 2026-01-08 15:26:35 +08:00
Tw93
3e4674f1e6 Merge branch 'main' of github.com:tw93/Mole 2026-01-08 14:58:41 +08:00
Tw93
f301c671ae Improve the document 2026-01-08 14:58:36 +08:00
github-actions[bot]
697ad4b0e0 chore: update contributors [skip ci] 2026-01-08 06:54:58 +00:00
Tw93
b889737e70 Merge branch 'main' of github.com:tw93/Mole 2026-01-08 14:54:37 +08:00
Tw93
ceed508841 docs: simplify script installation instructions 2026-01-08 14:53:57 +08:00
github-actions[bot]
e8eb29f55f chore: update contributors [skip ci] 2026-01-08 06:52:52 +00:00
Tw93
952f9c44ac docs: add goimports installation to setup instructions 2026-01-08 14:52:30 +08:00
Tw93
d13ca66187 ci: install goimports for enhanced auto-formatting 2026-01-08 14:49:59 +08:00
Tw93
5de9724c38 Merge branch 'main' of github.com:tw93/Mole 2026-01-08 14:49:11 +08:00
Tw93
68c84e3bfc chore: optimize check.sh to use goimports for formatting if available 2026-01-08 14:34:26 +08:00
github-actions[bot]
29320ef19c chore: update contributors [skip ci] 2026-01-08 06:32:33 +00:00
Matt Kneale
0cc205209c feat: add golangci-lint for Go code quality
- Add .golangci.yml configuration enabling govet, staticcheck, errcheck, gosimple, ineffassign, unused, gofmt, and goimports linters
- Update scripts/check.sh to run golangci-lint with go vet fallback
- Update CI workflow to install golangci-lint in both format and quality jobs
- Add golangci-lint to CONTRIBUTING.md setup instructions

Closes #266
2026-01-08 14:30:54 +08:00
Tw93
9a3ecb7377 Merge branch 'dev' 2026-01-08 11:37:36 +08:00
Tw93
64a580b3a7 feat: cat hide toggle and critical fixes (#272)
- Add 'k' key to hide/show cat in mo status
- Hand-crafted mirror frames for better left-walking animation
- Fix extra blank lines bug (strings.Lines → strings.Split)
- Fix battery power overflow (ParseInt for negative values)
- Optimize README Tips section (8 → 5 items)
2026-01-08 11:27:47 +08:00
Tw93
7d6d5eb8b0 Fix the issue with the IDE GoLang cache #269 2026-01-08 10:20:04 +08:00
Tw93
1fccf6bcf8 Repair brew update prompts 2026-01-08 10:16:58 +08:00
Tw93
0d15177735 refactor: remove trimName and renderGPUCard functions 2026-01-06 21:07:51 +08:00
Tw93
c2c589ac81 Merge pull request #264 from alexandear-org/refactor/do-not-use-deprecated-funcs
refactor: replace deprecated `Start` with `Run`
2026-01-06 21:05:10 +08:00
Tw93
f69f53a607 refactor: complete Go modernization with strings.Lines() 2026-01-06 21:03:46 +08:00
Tw93
6ac19a9488 Merge pull request #265 from alexandear-org/refactor/modernize
refactor: modernize Go code
2026-01-06 20:49:27 +08:00
Oleksandr Redko
158af1e1ba refactor: modernize Go code 2026-01-06 12:04:27 +02:00
Oleksandr Redko
80757ec074 refactor: replace deprecated Start with Run 2026-01-06 11:46:59 +02:00
Tw93
9343e1a9f3 Merge branch 'main' of github.com:tw93/Mole 2026-01-06 09:51:51 +08:00
Tw93
d3f1cdd834 fix(security): allow Firefox ..files directories in path validation
Fixes #263

- Change regex from \.\. to (^|/)\.\.(/|$) to only match path components
- Firefox uses ..files suffix in IndexedDB dirs (e.g., name..files)
- Still blocks actual traversal: /tmp/../etc
- Added test cases for Firefox compatibility
- All 16 tests passing
2026-01-06 09:51:34 +08:00
Tw93
6bbe4ea67a Merge pull request #262 from tw93/dependabot/github_actions/stefanzweifel/git-auto-commit-action-7 2026-01-06 08:33:44 +08:00
dependabot[bot]
62dc849751 chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 7
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 7.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v7)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 19:05:06 +00:00
Tw93
3ef44efcf9 feat: Add debug logging for installer collection and improve Homebrew installer display names by stripping hash prefixes. 2026-01-05 18:55:04 +08:00
Tw93
3da97c57c6 test: mock clean_ds_store_tree and UI functions in clean_misc.bats 2026-01-05 17:43:25 +08:00
Tw93
d968cc0ab7 docs: update security audit report to v1.19.0 and add installer cleanup feature 2026-01-05 15:30:23 +08:00
Tw93
d3bbb72a41 docs: refine README wording for improved clarity and conciseness, and add a contributors section. 2026-01-05 15:17:41 +08:00
Tw93
f2f7e802b6 Merge pull request #257 from JackPhallen/fix/use-single-quotes-in-trap
fix: Use single quotes in trap
2026-01-05 14:55:11 +08:00
github-actions[bot]
7dcb13dbaf chore: update contributors [skip ci] 2026-01-05 06:54:45 +00:00
Tw93
33a77fecef Merge pull request #254 from JackPhallen/chore/remove-unnecessary-command-check
chore: Do not check if should_protect_path exists
2026-01-05 14:54:27 +08:00
github-actions[bot]
49cf766fdd chore: update contributors [skip ci] 2026-01-05 05:59:03 +00:00
Tw93
9707abc747 fix: use safe login IDs and disable name truncation in SVG 2026-01-05 13:58:35 +08:00
github-actions[bot]
097b230e31 chore: update contributors [skip ci] 2026-01-05 05:28:33 +00:00
Tw93
c4e87846dd chore: configure commit user, email, author, and force push options for the update contributors workflow. 2026-01-05 13:25:39 +08:00
Tw93
1f8b7628a0 Merge branch 'main' of github.com:tw93/Mole 2026-01-05 13:20:42 +08:00
Tw93
41047f510c ci: Update contributors workflow to fetch new data and adjust avatar margin. 2026-01-05 13:20:36 +08:00
tw93
d01ec1b473 chore: update contributors [skip ci] 2026-01-05 05:20:20 +00:00
Tw93
71ef9019b0 ci: Update contributors-list action, increase avatar margin, and add noFetch option. 2026-01-05 13:18:06 +08:00
tw93
bd3f7f291e chore: update contributors [skip ci] 2026-01-05 05:05:13 +00:00
Tw93
73f11d52df docs: Update CONTRIBUTORS.svg image path in README and adjust avatar margin in contributor workflow. 2026-01-05 13:04:43 +08:00
tw93
44c13959f7 chore: update contributors [skip ci] 2026-01-05 04:55:28 +00:00