Commit Graph

105 Commits

Author SHA1 Message Date
Ricardo Espinoza
3a5412850c refactor(editor): Convert workflowActivate mixin into a composable (no-changelog) (#9423) 2024-05-17 10:03:39 -04:00
Elias Meire
feba07ba8b refactor: Fix type errors in completions code (#9439) 2024-05-17 13:36:34 +02:00
Alex Grozav
db1a40635d fix(editor): Fix External secrets typecheck (no-changelog) (#9434) 2024-05-17 14:16:00 +03:00
Csaba Tuncsik
596c472ecc feat: RBAC (#8922)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Val <68596159+valya@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Valya Bullions <valya@n8n.io>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Danny Martini <despair.blue@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: oleg <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Ayato Hayashi <go12limchangyong@gmail.com>
2024-05-17 10:53:15 +02:00
Elias Meire
c92c870c73 feat(editor): Autocomplete info box: improve structure and add examples (#9019)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-05-10 14:39:06 +02:00
Elias Meire
dc5994b185 feat(editor): Add item selector to expression output (#9281) 2024-05-09 14:45:31 +02:00
Alex Grozav
f64a41d617 refactor(editor): Migrate workflows store to setup function with composition API (no-changelog) (#9270) 2024-05-08 14:35:29 +03:00
Iván Ovejero
d92f994913 fix(editor): Resolve $vars and $secrets in expressions in credentials fields (#9289) 2024-05-03 14:39:31 +02:00
Alex Grozav
ff0955c995 refactor(editor): Migrate pushConnection mixin to composable and remove collaboration store side effects (no-changelog) (#9249) 2024-05-03 10:26:15 +03:00
Alex Grozav
cd9bc44bdd feat: Add Ask AI to HTTP Request Node (#8917) 2024-05-02 13:52:15 +03:00
Iván Ovejero
426a12ac0e fix(editor): Prevent excess runs in manual execution with run data (#9259) 2024-04-30 15:00:17 +02:00
Alex Grozav
1c261f85a3 refactor(editor): Migrate header WorkflowDetails to composition api (no-changelog) (#9186) 2024-04-29 07:53:42 +03:00
Michael Kret
2bf0a3933e feat(Webhook Node): Setting to enable multiple outputs/methods (#9086)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-04-24 08:46:16 +03:00
Alex Grozav
a3eea3ac5e feat(editor): Refactor and unify executions views (no-changelog) (#8538) 2024-04-19 07:50:18 +02:00
oleg
32df17104c fix(editor): Allow pinning of AI root nodes (#9060)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-04-05 15:00:31 +02:00
Omar Ajoue
bc6575afbb fix(editor): Rerun failed nodes in manual executions (#9050)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-04-04 11:28:35 +02:00
Tomi Turtiainen
71c54cba52 fix: Fix missing input panel in node details view (#9043) 2024-04-04 11:13:37 +03:00
Iván Ovejero
042aa62fc2 fix(editor): Make Webhook node pinnable (#9047) 2024-04-03 17:41:15 +02:00
Iván Ovejero
bcd39a110b fix(editor): Add fallback for expression resolution in multi-output case (#9045) 2024-04-03 17:07:58 +02:00
कारतोफ्फेलस्क्रिप्ट™
072c3db97d refactor(core): Rename push sessionId to pushRef (#8905) 2024-04-03 13:43:14 +02:00
Tomi Turtiainen
eaaefd76da feat: Allow workflow execution even if it has errors (#9037) 2024-04-03 14:35:06 +03:00
Milorad FIlipović
02219dde2f fix: Stop listening button not working in NDV (#9023) 2024-04-03 12:18:50 +02:00
Michael Kret
3fd97e4c72 fix: Prevent chat modal opening on 'Test workflow' click (#9009)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2024-04-01 17:08:00 +03:00
Elias Meire
8788e2a35b fix(editor): UI enhancements and fixes for expression inputs (#8996) 2024-03-29 16:01:32 +01:00
Michael Kret
ae75cf414a fix: Get all parent nodes > useRunWorkflow (no-changelog) (#8992) 2024-03-28 11:12:36 +02:00
Elias Meire
160dfd383d feat(editor): Show tip when user can type dot after an expression (#8931) 2024-03-26 15:23:30 +01:00
कारतोफ्फेलस्क्रिप्ट™
372d5c7d01 ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-03-26 14:22:57 +01:00
oleg
5f53d76e39 fix(editor): Fix opening of chat window when executing a child node (#8789)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-03-21 09:23:15 +01:00
Elias Meire
5e84c2ab89 feat(editor): Add missing extension methods for expressions (#8845) 2024-03-20 12:05:54 +01:00
Elias Meire
0c179e4e51 feat(editor): Refactor expression editors and mixins to composition API (#8894)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-03-15 18:40:37 +01:00
Michael Kret
e10fa379d3 fix: Disable pinning for root nodes from canvas (#8848) 2024-03-11 15:36:03 +02:00
Omar Ajoue
bde4c6c7a1 fix: Allow sharee to use workflows with http request node without credential access (#8841) 2024-03-11 09:43:30 +00:00
Michael Kret
0481e6e6e7 fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781) 2024-03-01 12:43:10 +02:00
Alex Grozav
3cbe1e2136 feat(editor): Migrate workflowRun mixin to useRunWorkflow composable (no-changelog) (#8711) 2024-02-27 11:39:45 +02:00
Alex Grozav
c0be43bdbe fix(editor): Fix various typecheck issues (no-changelog) (#8739) 2024-02-26 16:05:12 +02:00
Csaba Tuncsik
9c0fe413d9 fix(editor): Use proper composable for localization (#8660) 2024-02-16 14:51:29 +01:00
oleg
f5274302f8 fix: Fix resolving of expressions of deeply nested sub-nodes (#8612) 2024-02-14 10:42:55 +01:00
Elias Meire
3b2078c3ca fix(HTTP Request Node): Handle special characters in pagination expressions + improve hint text (#8576)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-02-12 17:32:27 +01:00
oleg
510bf8905d refactor(editor): Refactor workflowHelpers mixin to composable (no-changelog) (#8600) 2024-02-12 10:45:05 +01:00
Elias Meire
994754bf39 feat(editor): Add delete and disable button to nodes on hover (#8482) 2024-02-02 16:02:41 +01:00
कारतोफ्फेलस्क्रिप्ट™
7386f79362 fix(editor): Fix copy to clipboard on insecure contexts (#8425) 2024-01-24 09:53:31 +01:00
Alex Grozav
b6d775768f feat(editor): Migrate moveNodeWorkflow mixin to useCanvasPanning composable (#8322) 2024-01-19 16:27:44 +02:00
Csaba Tuncsik
83228e26fb fix(editor): Add pinned data for freshly added nodes (#8323) 2024-01-19 14:44:54 +01:00
Tomi Turtiainen
e606e841ee fix(editor): Use web native <a> element in nav menus (#8385) 2024-01-19 12:52:39 +02:00
Tomi Turtiainen
1aa35b190a fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373) 2024-01-18 11:28:01 +02:00
Alex Grozav
d32e6a60da feat(editor): Migrate deviceSupportHelpers mixin to useDeviceSupport composable (no-changelog) (#8289) 2024-01-10 16:42:01 +02:00
Alex Grozav
8c8caac4e8 feat(editor): Migrate debounce mixin to useDebounce composable (no-changelog) (#8244) 2024-01-08 14:00:49 +02:00
Ricardo Espinoza
df5d07bcb8 feat(editor): Update copy: Execute --> Test (#8137)
## Summary

Title self explanatory


## Related tickets and issues
https://linear.app/n8n/issue/ADO-129/update-copy-execute-test

## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
2024-01-05 10:23:51 -05:00
oleg
184ed8e17d refactor: Migrate genericHelpers mixin to composable (#8220)
## Summary
- Moved out canvas loading handling to canvas store
- Tag editable routes via meta to remove router dependency from generic
helpers
- Replace all occurrences of `genericHelpers` mixin with composable and
audit usage
- Moved out `isRedirectSafe` and `getRedirectQueryParameter` out of
genericHelpers to remove dependency on router

Removing the router dependency is important, because `useRouter` and
`useRoute` compostables are only available if called from component
instance. So if composable is nested within another composable, we
wouldn't be able to use these. In this case we'd always need to inject
the router and pass it through several composables. That's why I moved
the `readonly` logic to router meta and `isRedirectSafe` and
`getRedirectQueryParameter` out as they were only used in a single
component.

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-01-05 12:23:28 +01:00
Alex Grozav
b50d8058cf feat(editor): Migrate pinData mixin to usePinnedData composable (no-changelog) (#8207)
## Summary
Required as part of NodeView refactoring:
- Migrates `pinData` mixin to `usePinnedData` composable.
- Adds `useActiveNode` and `useNodeType` composables 

## Related tickets and issues
https://linear.app/n8n/issue/N8N-6355/pindata

## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [x] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [x] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.
2024-01-04 11:22:56 +02:00