Commit graph

49 commits

Author SHA1 Message Date
johnny1093
3bd5395f09 Migrate ESLint to flat config with eslint-plugin-obsidianmd
Replaces the legacy .eslintrc/.eslintignore (typescript-eslint 5.x) with a
flat eslint.config.mts on typescript-eslint 8.x, preserving the existing
return-type/accessibility rules and adding the obsidianmd recommended rules.
Also bumps the minimatch override, which was pinned to an old major that's
incompatible with the new ESLint 9 toolchain.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-10 12:09:46 -04:00
John Morabito
6fe2d99626 fix: patch security vulnerabilities via npm audit fix
- shell-quote: critical — quote() failed to escape newlines in .op values
- esbuild: high — missing binary integrity verification (bumped to 0.28.1)
- Fix two return type errors in MacroBuilder.tsx exposed by stricter tsc

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 21:06:30 -04:00
John Morabito
13c5c1e1b2 Merge PR #177: Fixed status bar bug
Fixed bug where status bar commands would be deleted from the list when
the command stopped being available (e.g. from other plugins that hadn't
loaded yet at onLayoutReady time).

Co-authored-by: davidvkimball <davidvkimball@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 11:29:54 -04:00
John Morabito
125306e4b1 fix: pin esbuild-sass-plugin to 3.3.1 to resolve CI peer dep conflict
esbuild-sass-plugin@^3.3.1 resolved to 3.7.0 in CI, which requires
esbuild>=0.27.3. Our esbuild is ^0.25.0, causing ERESOLVE. Pinning
to exactly 3.3.1 keeps compatibility with esbuild 0.25.x.
2026-06-04 20:31:56 -04:00
John Morabito
92653481f2 security: upgrade esbuild 0.15→0.25, esbuild-sass-plugin 2→3
Fixes moderate severity Dependabot alert:
- esbuild <=0.24.2: dev server could be queried by any website
  (GHSA-67mh-4wv8-2f99)

Changes:
- esbuild: ^0.15.16 → ^0.25.0
- esbuild-sass-plugin: ^2.4.2 → ^3.3.1 (required for esbuild compat)
- sass-embedded: ^1.71.1 added (peer dep for esbuild-sass-plugin 3.x)
- scripts/esbuild.config.mjs: replaced removed watch:boolean option with
  esbuild.context() + ctx.watch() API (changed in esbuild 0.17)

All changes are dev/build toolchain only and do not affect the
compiled main.js shipped to users.
2026-06-05 00:04:54 +00:00
John Morabito
3a9e8a8c3a security: add npm overrides to fix 15 transitive dep vulnerabilities
All affected packages are development dependencies only and do not
affect the compiled plugin that users install.

Overrides added (minimum safe versions):
- ajv: ^6.14.0 (was 6.12.6, ReDoS)
- brace-expansion: ^1.1.13 (was 1.1.11, ReDoS)
- braces: ^3.0.3 (was 3.0.2, uncontrolled resource consumption)
- cross-spawn: ^7.0.5 (was mixed 6/7, ReDoS)
- flatted: ^3.4.2 (was 3.2.7, prototype pollution + DoS)
- immutable: ^4.3.8 (was 4.1.0, prototype pollution)
- js-yaml: ^4.1.1 (was 4.1.0, prototype pollution)
- micromatch: ^4.0.8 (was 4.0.5, ReDoS)
- minimatch: ^3.1.5 (was 3.1.2, ReDoS)
- nanoid: ^3.3.8 (was 3.3.4, predictable output)
- picomatch: ^2.3.2 (was 2.3.1, method injection + ReDoS)
- postcss: ^8.5.10 (was 8.4.20, parsing error + XSS)
- semver: ^7.5.2 (was mixed, ReDoS)
- word-wrap: ^1.2.4 (was 1.2.3, ReDoS)
- yaml: ^1.10.3 (was 1.10.2, stack overflow)
2026-06-04 23:59:10 +00:00
David V. Kimball
513454bc2d Fixed tooltip position for status bar commands. 2025-11-26 15:20:30 -08:00
David V. Kimball
7e38ed7169 Fixed bug where status bar commands would be deleted from the list when the command stopped being available. 2025-11-25 23:24:17 -08:00
Phillip
27d0e167ce
chore: bump version 2025-06-12 11:31:42 +00:00
quorafind
b394ec8037 fix: rebase issue 2025-06-12 18:22:54 +08:00
Phillip
3171e52a61
chore: bump version 2025-06-12 06:43:42 +00:00
quorafind
9d539c0703 fix: type issue with typescript package version 2025-06-12 12:43:07 +08:00
quorafind
384ea5bdd4 chore: bump version 2024-10-11 09:17:28 +08:00
Phillip
9a0b731b06
Update package.json 2023-10-22 11:23:45 +02:00
Phillip
b7d719a79e
Update package.json 2023-04-10 18:47:58 +02:00
Phillip Bronzel
3c717a05e0 feat: add missing features after 1.1.0 update + fix left ribbon, close #57, close #62 2022-12-20 22:46:36 +01:00
Phillip Bronzel
62d4ac2957 fix: ribbon commands + special logos 2022-12-16 09:35:45 +01:00
Phillip Bronzel
b0afef5708 fix: 1.1.0 compatibility 2022-12-05 20:51:49 +01:00
Phillip Bronzel
f530579bac ci: fix build issues 2022-11-29 21:52:11 +01:00
Phillip Bronzel
3b4e0e5e7d chore: bump version 2022-11-29 21:34:00 +01:00
Phillip Bronzel
27e98855e2 feat: add tailwind support (hacky) 2022-11-29 20:17:13 +01:00
Phillip Bronzel
eaea16f408 deps: upgrade 2022-11-29 19:46:59 +01:00
Phillip Bronzel
5bc3e8fd17 feat: macro support, merge advanced toolbar and attach commands to the explorer 2022-10-29 10:54:48 +02:00
Phillip Bronzel
9047a0fb2a fix: only apply reorder on view header buttons 2022-09-24 16:41:23 +02:00
Phillip Bronzel
666c855527 chore: release 0.2.0 2022-09-24 14:48:59 +02:00
phibr0
e717efa97e Fix compatibility with Obsidian 0.16.0 2022-08-31 10:37:01 +02:00
phibr0
c0d42b4deb Bump version 2022-07-23 15:36:34 +02:00
phibr0
79d164aef5 Automatically scroll tab header into view when using keyboard navigation 2022-07-21 10:33:21 +02:00
phibr0
5c6357dfbb Convert scroll direction for small desktop screens 2022-07-20 23:34:06 +02:00
phibr0
5753840f54 Handle removed commands in the settings 2022-07-19 11:05:42 +02:00
phibr0
9c43175a85 Fix page header commands not loaded on inactive pane 2022-07-16 11:39:34 +02:00
phibr0
329f8d8f7d Close option menu on second click in file and editor menu 2022-07-13 23:15:52 +02:00
phibr0
b3850369fb Implement v1 checklist feedback 2022-07-13 21:47:57 +02:00
phibr0
d7ebd69c1c Add about section 2022-07-12 19:32:28 +02:00
phibr0
fee8bac105 Add new Icon for "all devices" option 2022-07-12 17:20:14 +02:00
phibr0
9eb5d50680 Improve mobile UX, Add new Modal for touchscreen flow 2022-07-12 11:34:00 +02:00
phibr0
a143c33bb5 Optimize mobile UX 2022-07-12 00:07:28 +02:00
phibr0
cac8b52ffb Compatibility with Obsidian 0.15.4's new suggestion dom structure 2022-07-11 12:45:50 +02:00
phibr0
f317ead945 Hide Commands of other Plugins 2022-07-11 12:23:34 +02:00
phibr0
d599811d8d Add translations among smaller fixes 2022-07-05 15:10:05 +02:00
phibr0
d9a69e0c26 Commands for specific devices/device-types 2022-07-04 20:59:29 +02:00
phibr0
c7ac802be2 Empty Command List Redesign 2022-06-29 20:27:35 +02:00
phibr0
80069b7651 wip 2022-06-24 14:53:17 +02:00
phibr0
9c58a1b17d Show confirmation modal when deleting from settings 2022-06-13 20:35:08 +02:00
phibr0
995baf96ef Delete, rename and change icon by right-clicking and in the settings 2022-06-13 11:31:03 +02:00
phibr0
03730390cd Better third-party theme compatibility 2022-06-08 10:30:20 +02:00
phibr0
c364ebc431 Remove Emoji from Plugin name 2022-06-07 23:52:41 +02:00
phibr0
47b125c43c Publish first BRAT-Release 2022-06-06 18:29:14 +02:00
phibr0
e837ba04da feat: 🚧 Added initial plugin boilerplate 2022-04-21 21:00:51 +02:00