Commit graph

83 commits

Author SHA1 Message Date
Johannes Millan
85d8defc2b feat(plugins): update boilerplate 2025-11-26 17:45:56 +01:00
Johannes Millan
2c4b92b09f feat(plugins): enhance plugin packaging and improve file handling logic 2025-11-26 17:45:25 +01:00
Johannes Millan
363b8d3729 feat(plugins): add plugin packaging script and improve build command handling 2025-11-26 17:23:17 +01:00
Johannes Millan
6e25ed7053 feat(plugins): improve on infrastructre for bundled plugins 2025-11-26 16:22:01 +01:00
dependabot[bot]
817649dd4b
build(deps): bump js-yaml
Bumps the npm_and_yarn group with 1 update in the /packages/plugin-dev/sync-md directory: [js-yaml](https://github.com/nodeca/js-yaml).


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

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 16:52:35 +00:00
Johannes Millan
56d54b593b build: fix failing 2025-10-28 13:17:08 +01:00
Johannes Millan
0ecdb9f43d build: update vite dep 2025-10-28 11:07:52 +01:00
Michael Kiausch
23d4112485 fxed wrong relative path to plugin-api dependency 2025-10-21 12:47:44 +02:00
Trang Le
b618a70727 import type PluginHooks 2025-10-20 09:14:04 +07:00
Johannes Millan
61d2290917 fix: errors 2025-10-14 19:46:45 +02:00
Vedant Mahajan
db36327383 Updated Package-lock.json 2025-10-13 03:22:00 +05:30
Johannes Millan
749752fcea fix: ai prompts icon 2025-09-16 18:04:40 +02:00
Trang Le
e72de51819 rewrite registerShortcut 2025-09-11 13:16:58 +07:00
Trang Le
1f8361c735 remove onDestroy because it doesn't exist in PluginAPI 2025-09-11 13:14:47 +07:00
Trang Le
bcc1f7a36f rewrite onMessage handler 2025-09-11 13:14:12 +07:00
Trang Le
f417ea5d49 fix anyTaskUpdate hook 2025-09-11 12:55:35 +07:00
Trang Le
6f788e8007 register hooj ANY_TASK_UPDATE 2025-09-10 18:01:10 +07:00
Trang Le
9344f30247 remove unused members imported from plugin-api 2025-09-10 17:47:13 +07:00
Trang Le
ed18216cc8 fix registration of task update hook 2025-09-10 17:28:43 +07:00
Trang Le
61d7223113 fix config options for registering header button 2025-09-10 17:26:10 +07:00
Trang Le
970b1c9294 fix plugin logging 2025-09-10 17:25:33 +07:00
Trang Le
48e0f788cf fix registration of task complete hook 2025-09-10 17:25:05 +07:00
Trang Le
c435edd4e2 fix config options for registerHeaderButton and registerMenuEntry 2025-09-10 17:14:01 +07:00
Trang Le
ec2467bf66 change from PluginInterface to PluginAPI 2025-09-10 17:09:08 +07:00
Johannes Millan
4c94eeb578 feat: add open sans as default font 2025-09-04 18:30:09 +02:00
Johannes Millan
0d3789a75f build: add new plugin to build all 2025-08-30 13:06:43 +02:00
Johannes Millan
d7685190a6 refactor(aiPlugin): improve all the code 2025-08-30 12:22:11 +02:00
Johannes Millan
132a72d5da feat(aiPlugin): instruct prompts to give back markdown 2025-08-30 11:52:28 +02:00
Johannes Millan
960db8d2ce feat(aiPlugin): persist last include tasks selection 2025-08-30 11:00:44 +02:00
Johannes Millan
274aa9bd2c feat(aiPlugin): make task select work better 2025-08-29 21:00:00 +02:00
Johannes Millan
205cb30922 feat(aiPlugin): allow to save and load custom prompts 2025-08-29 20:56:24 +02:00
Johannes Millan
44661eea85 feat(aiPlugin): improve prompts 2025-08-29 20:26:18 +02:00
Johannes Millan
b434d53a40 feat(aiPlugin): re-structure and improve 2025-08-29 20:17:36 +02:00
Johannes Millan
6e7f6a4fe6 feat(aiPlugin): allow to select project tasks 2025-08-29 19:47:51 +02:00
Johannes Millan
5f9453cb6c feat(aiPlugin): re-structure 2025-08-29 19:34:45 +02:00
Johannes Millan
01f185b7c4 feat(aiPlugin): select and preview tasks 2025-08-29 19:29:33 +02:00
Johannes Millan
c181ab3206 feat(aiPlugin): improve layout 2025-08-29 19:10:51 +02:00
Johannes Millan
08c5cf03e5 feat(aiPlugin): make build work and various improvements 2025-08-29 19:00:20 +02:00
Johannes Millan
27171607fa feat(aiPlugin): first draft 2025-08-29 15:50:19 +02:00
Johannes Millan
cfff136852 feat(sync-md): add support for markdown content before tasks as needed for joplin #4751 2025-07-25 16:01:56 +02:00
Johannes Millan
dab4593c88 fix: all console errors 2025-07-22 20:34:12 +02:00
Johannes Millan
8dc1c198aa refactor(plugin): consolidate nodeExecution permission
- Remove duplicate executeNodeScript permission check from plugin-management component
- Remove redundant executeNodeScript from sync-md manifest (keeping only nodeExecution)
- Clarify that nodeExecution is the permission name and executeNodeScript is the API method
2025-07-20 16:32:30 +02:00
Johannes Millan
0434715a58 feat(plugin): add basic json schema form cfg for plugins 2025-07-20 15:17:45 +02:00
Johannes Millan
1d2e80e552 cleanup 2025-07-17 09:12:43 +02:00
Johannes Millan
0cbc7e704d feat(sync-md): update meta data 2025-07-12 16:31:23 +02:00
Johannes Millan
11f119555d feat(plugins): pass Log class through plugin system to sync-md
- Add log property to PluginAPI interface and implementation
- Extend PluginBridgeService to provide Log.withContext for each plugin
- Create simplified logger helper for sync-md plugin with fallback
- Replace console.log statements in sync-md with centralized logging
- All plugin logs now integrate with main app's Log class and history
2025-07-12 16:30:45 +02:00
Johannes Millan
775d5846e6 test(sync-md): add unit tests for deleted task cleanup functionality
- Test removal of deleted tasks from parent subTaskIds
- Test creation of new update operations when no existing updates exist
- Test updating existing operations when parent already has pending updates
- Ensures proper cleanup when tasks are deleted from markdown
2025-07-12 15:57:55 +02:00
Johannes Millan
9f5d1d2be3 test(sync-md): add comprehensive unit tests for title-based task matching
- Test matching existing task by title when markdown has no ID
- Test prevention of duplicate matches for same task
- Test parent relationship changes when matching by title
- Covers edge cases and ensures proper operation generation
2025-07-12 15:46:14 +02:00
Johannes Millan
d24605f1b9 fix(sync-md): handle parent task gaining new subtasks correctly
- Fix issue where parent task was incorrectly updated with parentId: null
- Normalize undefined and null parent IDs for proper comparison
- Include temp IDs for new subtasks when updating parent's subTaskIds
- Add test case to prevent regression
2025-07-12 15:10:17 +02:00
Johannes Millan
07e4f01602 feat(sync-md): general improvements 2025-07-12 14:43:53 +02:00