Commit graph

52 commits

Author SHA1 Message Date
Ethan Troy
2364c9f2fa
Merge pull request #18 from ethanolivertroy/fix/16-detect-pipx-and-versioned-python
Fix markitdown detection for Homebrew/pipx on macOS (#16)
2026-07-20 16:09:07 -04:00
Ethan Troy
f74856b711 Address review feedback before merge
Probe modern pipx homes, buffer install stdout for JSON, and clean up
failed venv creates so Install Markitdown retries reliably.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 16:08:59 -04:00
Ethan Troy
aac393071f Fix markitdown detection for Homebrew/pipx on macOS (#16)
Probe versioned Homebrew Pythons and pipx venvs, and install into a
plugin-local .venv so PEP 668 no longer blocks the Install button.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 13:12:13 -04:00
Ethan Troy
30cf1064f3
Merge pull request #15 from ethanolivertroy/dependabot/npm_and_yarn/npm_and_yarn-66413a1f6e
Bump picomatch from 2.3.1 to 2.3.2 in the npm_and_yarn group across 1 directory
2026-07-19 11:23:09 -04:00
dependabot[bot]
e06ce921f3
Bump picomatch in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [picomatch](https://github.com/micromatch/picomatch).


Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 08:29:13 +00:00
Ethan Troy
48cf0c1147 Remove preview modal — conversions save directly (ENG-643 reverted) 2026-03-17 21:33:41 -04:00
Ethan Troy
fb07e1c98b Fix preview modal: hard-cap content at 40vh so buttons are always visible 2026-03-17 21:28:18 -04:00
Ethan Troy
84277ae686 Fix preview modal: pin buttons at bottom, constrain height to 80vh 2026-03-17 21:25:27 -04:00
Ethan Troy
88d97be4e2 Bundle Python scripts in main.js for community plugin installs
Community plugin installs only download main.js, manifest.json, and
styles.css — the python/ directory is not included. This embeds the
Python scripts as string constants and writes them to disk on first load.
2026-03-17 21:17:54 -04:00
Ethan Troy
badef8ac29 Release v2.1.0: 11 new features + Python detection fix
New: drag-and-drop, URL/YouTube conversion, preview modal, post-conversion
hooks, custom filename templates, recursive folders, conversion history,
resolved path hint, troubleshooting UI, unit tests, BRAT beta channel.

Fixed: Python detection on macOS/Windows GUI apps, settings focus loss,
empty path crash, stale metadata detection.
2026-03-17 21:12:37 -04:00
Ethan Troy
061ea6e058 Merge branch 'worktree-agent-a910b7af'
# Conflicts:
#	main.ts
#	src/types/settings.ts
2026-03-17 20:50:08 -04:00
Ethan Troy
fa21d30fc2 Merge branch 'worktree-agent-a73b7889' 2026-03-17 20:49:17 -04:00
Ethan Troy
6d6a0e6b9a Add unit tests for Python discovery, paths, and postprocessing (ENG-646) 2026-03-17 20:48:53 -04:00
Ethan Troy
d4fcaffc38 Add conversion history log (ENG-647) 2026-03-17 20:48:19 -04:00
Ethan Troy
bfdab4bec2 Merge branch 'worktree-agent-aba1226f'
# Conflicts:
#	main.ts
#	src/settings/SettingsTab.ts
#	src/types/settings.ts
2026-03-17 20:45:42 -04:00
Ethan Troy
733e4dca8f Merge branch 'worktree-agent-af6650b1'
# Conflicts:
#	src/modals/FileConvertModal.ts
#	styles.css
2026-03-17 20:44:51 -04:00
Ethan Troy
8d99532047 Merge branch 'worktree-agent-aca97e03'
# Conflicts:
#	src/types/settings.ts
2026-03-17 20:44:05 -04:00
Ethan Troy
dfbc0ec43f Add post-conversion hooks for frontmatter and tags (ENG-650) 2026-03-17 20:43:28 -04:00
Ethan Troy
28780173d9 Add drag-and-drop file conversion (ENG-641) 2026-03-17 20:43:10 -04:00
Ethan Troy
3b23e716a3 Add conversion preview modal (ENG-643) 2026-03-17 20:43:07 -04:00
Ethan Troy
678b6195be Merge branch 'worktree-agent-a5fb028c'
# Conflicts:
#	src/modals/FolderConvertModal.ts
#	src/types/settings.ts
2026-03-17 20:40:48 -04:00
Ethan Troy
d154f5a6ff Merge branch 'worktree-agent-af145deb' 2026-03-17 20:40:00 -04:00
Ethan Troy
5ff42b6078 Remove worktree dirs from tracking, add to gitignore 2026-03-17 20:39:53 -04:00
Ethan Troy
fa48a94b98 Merge branch 'worktree-agent-ad60cebb'
# Conflicts:
#	main.ts
2026-03-17 20:39:48 -04:00
Ethan Troy
b0d26ce0f5 Improve Python detection error UX with troubleshooting info (ENG-642) 2026-03-17 20:38:54 -04:00
Ethan Troy
cac2a1bbd8 Add custom output filename template (ENG-649) 2026-03-17 20:38:04 -04:00
Ethan Troy
0d5ae80fa3 Add recursive folder conversion (ENG-648) 2026-03-17 20:37:56 -04:00
Ethan Troy
a6a829c118 Merge branch 'worktree-agent-a1346262' 2026-03-17 20:36:02 -04:00
Ethan Troy
025c10ed81 Merge branch 'worktree-agent-a84a8939' 2026-03-17 20:35:59 -04:00
Ethan Troy
ae54b031fa Add YouTube/URL conversion command (ENG-644) 2026-03-17 20:35:39 -04:00
Ethan Troy
cacd60e9d6 Add BRAT beta channel and release workflow (ENG-651) 2026-03-17 20:34:46 -04:00
Ethan Troy
3a245385cc Show resolved Python path in settings (ENG-645) 2026-03-17 20:34:35 -04:00
Ethan Troy
a93ed8341d Fix Python detection on macOS/Windows and settings UX issues (#13)
- Debounce Python path input (1.5s) to stop firing on every keystroke
- Guard against empty paths crashing spawn()
- Cancel debounce timer on settings tab hide/re-render
- Fire pending refreshDependencies() on hide so status stays current
- Add platform-specific Python fallback paths (Homebrew, Framework, Windows AppData)
- Prefer the first Python where markitdown actually imports over stale metadata
- Verify actual MarkItDown import in check_install.py, not just package metadata
- Add ALLOWED_PACKAGES allowlist to check_install.py
- Remove APPDATA path traversal in favor of LOCALAPPDATA
2026-03-17 20:11:42 -04:00
Ethan Troy
25513c6cb0 Add CHANGELOG for v2.0.0 rewrite 2026-02-17 07:49:41 -05:00
Ethan Troy
d6fa068498
Rewrite plugin v2: fix shell injection, modularize, add features (ENG-533)
## Summary
- **Security**: Replaced shell injection-vulnerable `exec()` calls with `spawn()` using argument arrays and `shell: false`, bundling Python wrapper scripts that use `argparse`
- **Architecture**: Decomposed monolithic 735-line `main.ts` into 12 focused modules across `src/` and `python/`
- **Features**: Added image extraction from PDFs, plugin arguments editor, context menu conversion, batch progress indicators, setup wizard, and Unicode support via `PYTHONUTF8=1`
- **Compatibility**: Reverted minAppVersion to 0.15.0, python3 fallback for macOS/Linux

Closes ENG-533
2026-02-17 01:08:20 -05:00
dependabot[bot]
cd86670ce2
Bump the npm_and_yarn group across 1 directory with 2 updates (#11)
Bumps the npm_and_yarn group with 2 updates in the / directory: [esbuild](https://github.com/evanw/esbuild) and [js-yaml](https://github.com/nodeca/js-yaml).


Updates `esbuild` from 0.17.3 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.3...v0.25.0)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-18 09:36:20 -05:00
Ethan Troy
88013567e1
Merge pull request #10 from ethanolivertroy/add-claude-github-actions-1768715940134
Add Claude Code GitHub Workflow
2026-01-18 01:00:01 -05:00
Ethan Troy
a2ca798523 "Claude PR Assistant workflow" 2026-01-18 00:59:01 -05:00
Ethan Troy
de9b2a32d0
Merge pull request #5 from ethanolivertroy/copilot/fix-diacritics-support-issue
Fix Unicode/diacritics support by setting PYTHONUTF8 environment variable
2026-01-16 00:26:02 -05:00
Ethan Troy
e4bb8f838e Add CODEOWNERS 2025-12-14 03:16:07 -05:00
copilot-swe-agent[bot]
f569e8da27 Fix diacritics support by setting PYTHONUTF8 environment variable
Co-authored-by: ethanolivertroy <63926014+ethanolivertroy@users.noreply.github.com>
2025-11-12 23:52:06 +00:00
copilot-swe-agent[bot]
3174f4295d Initial plan 2025-11-12 23:49:01 +00:00
Ethan Troy
b586d2f120 Update UI text to follow Obsidian conventions 2025-03-19 23:00:55 +00:00
Ethan Troy
0780d5e914 fixed css and any issues 2025-03-11 20:30:01 +00:00
Ethan Troy
0abca2cae9 Update plugin ID and description for Obsidian community submission 2025-03-10 16:40:09 +00:00
Ethan Troy
d9acb58a61 Clean up repository and update .gitignore 2025-03-10 16:36:53 +00:00
Ethan Troy
c6848581f6 Update to MIT License and add license link in README 2025-03-10 16:29:32 +00:00
Ethan Troy
fd06724941 stuff 2025-03-10 15:44:20 +00:00
Ethan Troy
a63190f25b Fix Markitdown command execution syntax
- Simplify initial command to use basic markitdown CLI syntax
- Add multiple fallback methods for different Markitdown interfaces
- Bump version to 1.0.2
2025-03-10 15:38:29 +00:00
Ethan Troy
eddb2bd30c Fix Markitdown command execution syntax
- Update the command execution to better handle file paths with spaces
- Add fallback to pipe-based execution if the direct command fails
- Properly quote paths in command strings
- Fix potential command-line syntax issues
- Bump version to 1.0.1
2025-03-10 15:32:59 +00:00