Commit graph

1674 commits

Author SHA1 Message Date
Csaba Tuncsik 91fee0ca66
fix(editor): Remove duplicate mapping of item.json key in data pinning (#6135)
* fix(editor): Remove duplicate mapping of `item.json` key in data pinning

* fix(editor): Remove duplicate mapping of `item.json` key in data pinning

* fix(editor): Remove duplicate mapping of `item.json` key in data pinning

* test(editor): Unit test the fix of duplicate mapping of `item.json` key in data pinning
2023-05-04 12:04:23 +02:00
Jan Oberhauser b77a5767d0 Merge tag 'n8n@0.227.0' 2023-05-03 15:51:19 +02:00
github-actions[bot] 2926fb50db
🚀 Release 0.227.0 (#6167)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-03 15:39:00 +02:00
Iván Ovejero 1b49c17f38
fix(editor): Flag issues only on workflow activation (#6127)
🐛 Flag issues only on workflow activation
2023-05-03 14:30:32 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0033f831fc
fix(editor): Faster reconnects for push (no-changelog) (#6164) 2023-05-03 14:28:38 +02:00
Iván Ovejero 8862e1e7df
fix(editor): Restrict [empty] in parameter input hint to zero-length string (#6003)
* 🚧 Quick test

*  Adjust to new requirements

*  Account for 2x double quotes

* 🔥 Remove excess single quote

*  Revert per new requirements

*  Undo more changes to minimize diff

*  New requirement changes

* 🐛 Prevent excess whitespace from HTML formatting

* 🚚 Rename computed property

* 🧪 Set up e2e tests for parameter input hint

* 🚧 Experiments with unit tests

Pinia stores setup process WIP.

* 🔥 Remove e2e test

*  Restore `test` command

* 🔥 Remove unit test stub

* 🔥 Remove logging

* 🔥 Remove test ID

* 🧪 Fix e2e test

* 🧪 Tighten text check
2023-05-03 09:41:40 +02:00
Milorad FIlipović c63181b317
fix(editor): Fix focus jumping when using chrome autofill (#6140) 2023-05-02 10:15:16 +02:00
Iván Ovejero 1607aeb9f9
fix(editor): Fix copy selection behavior (#6112)
🐛 Fix copy selection behavior
2023-05-02 09:39:09 +02:00
Iván Ovejero 51f5990559
fix(editor): Fix quote handling on dollar-sign variable completions (#6128)
🐛 Fix quote handling on dollar-sign variable completions
2023-05-02 09:36:42 +02:00
Iván Ovejero 85e8145439
fix(editor): Fix cropped off completions docstrings (#6129)
🐛 Fix cropped off docstrings
2023-05-02 09:36:28 +02:00
Omar Ajoue 701105edcf
fix: Prevent displaying an endless timer in the execution list for finished executions (#6137) 2023-04-28 17:18:16 +02:00
Iván Ovejero 90a62ccfb5
fix(editor): Fix Show details summary (#6113)
* 🐛 Fix `Show details` summary

* 🚚 Move constants out of sanitizer
2023-04-28 17:16:46 +02:00
Milorad FIlipović a72a5112f3
fix(editor): Fix sidebar button styling (#6138)
* fix(editor): Fix sidebar button styling
* Making offset equal for both button versions
2023-04-28 16:46:53 +02:00
Iván Ovejero 71ae6c66ef
fix(editor): Fix unique names for node duplication (#6134)
* 🐛 Fix unique names for node duplication

* 🐛 Fix i18n references
2023-04-28 15:53:59 +02:00
Iván Ovejero 20a72bb28b
fix(editor): Fix missing Stop Listening button (#6125)
🐛 Fix missing `Stop Listening` button
2023-04-28 15:50:39 +02:00
Iván Ovejero c8ff368fc7
fix(editor): Fix unscrollable node settings (#6133)
🐛 Fix unscrollable node settings
2023-04-28 13:38:49 +02:00
Csaba Tuncsik 188ef042cd
fix(editor): Change execution list tab loader design (#6120) 2023-04-28 12:29:32 +02:00
Milorad FIlipović b17d5f9aa0
feat(editor): Add support for loadOptionsDependsOn to RLC (#6101)
* feat(editor): Add support for `loadOptionsDependsOn` to the Resource Locator component
* 🔥 Removing leftover log
*  Added e2e tests for ResourceLocator component
2023-04-28 12:14:31 +02:00
Omar Ajoue 2e73f4abd0
fix: Correctly allow sharees to test credential when opening the modal (#6111)
* fix: Prevent incorrect error message when sharee opens a credential

* test: Add testing for automated credential testing

* chore: Remove unnecessary comments
2023-04-28 12:02:28 +02:00
romainminaud 3fb84df122
fix(editor): Change wording for Variables feature available plans (no-changelog) (#6096)
update wording
2023-04-28 08:49:27 +02:00
Iván Ovejero 39b544271d
refactor(editor): Add skip option to activation modal (#6092)
 Add skip option to activation modal
2023-04-27 15:21:53 -04:00
Csaba Tuncsik 1ec85b7d57
test(editor): Test personal settings view (#6119) 2023-04-27 17:26:20 +02:00
Iván Ovejero c6e665a975
fix(editor): Remove pagination from binary data output (#6093)
🐛 Remove pagination from binary data output
2023-04-27 14:30:00 +02:00
Milorad FIlipović 2c240a0e4e
fix(editor): Show error in RLC if credentials are not set (#6108) 2023-04-27 14:28:23 +02:00
Csaba Tuncsik 4cbb05b001
fix(editor): Loading state for executions tab (#6100)
* fix(editor): Loading state for executions tab

* fix(editor): do not show no result if loading
2023-04-27 13:35:12 +02:00
Csaba Tuncsik 3e9ecd9397
fix(editor): Disable changing of email and pw when SAML login enabled (#6104) 2023-04-27 12:48:53 +02:00
Csaba Tuncsik 0c9ce3a2ec
feat(editor): Add version controls settings (WIP) (#6036)
* feat(editor): Version control paywall (WIP)

* fix(editor): remove version control docs link

* feat(editor): Adding version control settings (WIP)

* feat(editor): Adding version control settings (WIP)

* fix(editor): use rest api root path in version control

* fix(editor): adding preferences

* fix(editor): adding preferences

* fix(editor): change store action name
2023-04-26 17:52:53 +02:00
github-actions[bot] 4f56194035
🚀 Release 0.226.0 (#6087) 2023-04-26 16:05:03 +02:00
OlegIvaniv 390841bbf0
feat(editor): Enhance Node Creator actions view (#5954)
* WIP

* WIP

* Extract actions into composable

* WIP: Preserve categories when searching

* WIP

* WIP: Tweak styles

* WIP: Refactor node creator

* WIP: Finish Node Creator node view/subcategories refactor

* WIP: Finished actions refactor

* Cleanup & Lintfix

* WIP: Improve memory managment

* Fix interactions

* WIP

* WIP: Keyboard navigation

* Improve keyboard navigation and memory managment

* Finished view refactor

* FIx custom api calls and activation callouts

* Fix actions tracking and cleanup

* Product review fixes

* Telemetry fixes

* Fix node creator e2es

* Set action name font size and actionsEmpty font weight

* Fix failing credentials spec

* Make sure to select first action item when switching from nodes panel to actions panel

* Add actions panel e2e tests

* Cleanup

* Fix actions generation and cleanup

* Add correct Learn More link and adjust displaying of trigger icon

* Change trigger icon condition to use nodeType group

* Cleanup nodeTypesUtils and snapshots and lintfixes

* Lint fixes

* Refine logic to show trigger icon in node creator

* Add unit tests & clean up

* Add `003_auto_insert_action` experiment, hide empty sections for opposite root view

* Lintfix

* Do not show empty category tooltips and only show activation callout in triger root view

* Fix no-results node creator view

* Spacings tweaks and root rendering logic adjustment

* Add unit tests

* Lint and e2e fixes

* Revert CLI changes, fix unit tests

* Remove useless comments

* Sync master, replace $externalHooks mixin

* Lint fix

* Focus first action when panel slides in, not category

* Address PR comments

* Lint fix

* Remove `setAddedNodeActionParameters` optional track param

* Further simplify setAddedNodeActionParameters

* Fix pnpn lock file

* Fix types imports

* Fix 13-pinning spec
2023-04-26 09:18:10 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6335e0938d
fix(editor): Make the frontend work again when NODE_FUNCTION_ALLOW_EXTERNAL is set (no-changelog) (#6058) 2023-04-25 18:18:46 +02:00
Jan Oberhauser 70aaf24784
feat(editor): Add SQL editor support (#5517) 2023-04-25 18:18:27 +02:00
Csaba Tuncsik f9b11c73b9
refactor(editor): Track advanced filter custom data usage (#6084) 2023-04-25 17:47:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ ca4e0df90b
refactor(editor): Replace monaco-editor/prismjs with CodeMirror (#5983)
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-04-25 16:57:21 +02:00
Iván Ovejero 88724bb056
ci: Enforce no unused imports (no-changelog) (#6073) 2023-04-25 11:47:03 +02:00
Csaba Tuncsik 8a3b3e53e1
fix(editor): Update LDAP and Log streaming paywalls (#6069) 2023-04-24 15:37:36 +02:00
Milorad FIlipović 8886516c9e
refactor(editor): Delete leftover restApi mixin file (no-changelog) (#6074)
* refactor(editor): Delete leftover `restApi` mixin file (no-changelog)
* Removing leftover comment
2023-04-24 14:23:33 +02:00
Iván Ovejero 1bb6672498
refactor(editor): Combine type imports in editor-ui (no-changelog) (#6072)
 Combine type imports in `editor-ui`
2023-04-24 13:58:22 +02:00
कारतोफ्फेलस्क्रिप्ट™ 308a94311f
refactor: Async functions don't need to explicitly return promises (no-changelog) (#6041) 2023-04-24 13:17:08 +02:00
Iván Ovejero 57aab63c10
refactor: Integrate consistent-type-imports in FE packages (no-changelog) (#6060)
* 👕 Move `consistent-type-imports` to top level

* 👕 Apply lintfixes

* 👕 Apply more lintfixes

* 👕 More lintfixes

* 👕 More lintfixes
2023-04-24 12:18:24 +02:00
Milorad FIlipović 59db96771e
refactor(editor): Remove the restApi mixin (#6065)
*  Removing the `makeApiRequest` method from `restAPI` mixin, removing the mixing from the App component
*  Removing `restApi` mixin
* 👕 Fixing lint errors
* ✔️ Fixing execution list unit tests and merge bug in workflowRun mixin
* 🐛 Added missing useStore
2023-04-24 10:50:49 +02:00
Iván Ovejero 4bd55f7a1e
refactor(editor): Switch to plan change URL on cloud (no-changelog) (#6001)
* 🚚 Switch to plan change URL on cloud

* 🧪 Update URL in test
2023-04-24 10:42:03 +02:00
Alex Grozav 9c94050deb
feat: Replace Vue.extend with defineComponent in editor-ui (no-changelog) (#6033)
* refactor: replace Vue.extend with defineComponent in editor-ui

* fix: change $externalHooks extractions from mixins

* fix: refactor externalHooks mixin
2023-04-21 18:51:08 +03:00
Alex Grozav 54f99a7d0d
feat: Replace this.$refs.refName as Vue with InstanceType<T> (no-changelog) (#6050)
* refactor: use InstanceType<T> for all this.$refs types

* refactor: update refs type in N8nSelect

* fix: remove inputRef non-null assertion

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* fix: remove non-null assertion

---------

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2023-04-21 16:59:04 +03:00
Csaba Tuncsik 19f540ecf9
refactor(editor): Turn titleChange mixin to composable (#6059) 2023-04-21 15:48:07 +02:00
Mutasem Aldmour 649389edad
test: Add stickies tests (#5413)
* test: Add tests for stickies

* test: add sticky basic test

* test: add size dragging tests

* test: add delete sticky test

* test: add editing test

* test: update editing text

* test: add expansion tests

* test: add more tests

* test: clean up tests

* refactor: update dragging tests to make sense

* refactor: upate drag right test

* test: add shrink from right test

* test: refactor some more

* test: fix all tests

* test: clean up

* test: update number

* test: add z-index tests

* test: address comments

* test: fix mistake

* test: wait on save

* test: try button instead
2023-04-21 15:37:09 +02:00
Mutasem Aldmour a19d4447ac
fix(editor): Resolve expressions for grandparent nodes (#5859)
* fix(editor): Resolve expressions for grandparent nodes

* test: add tests

* test: add tests for bug

* test: add todos

* test: lintfix

* test: add small waits

* test: add linking tests

* test: add test for branch mapping

* test: update workflow values

* test: comment out test

* test: fix up tests with new values

* chore: remove todos

* test: add ticket number for broken test

* test: refactor a bit

* test: uncomment

* test: fix mapping test

* fix: lint issue

* test: split tests

* Revert "test: split tests"

0290d51d7c

* test: update mousedown

* test: split up tests

* test: fix test

* test: fix test

* test: make less flaky

* test: make less flaky

* test: enable teset
2023-04-21 14:08:51 +02:00
Michael Auerswald ac245fdb8d
refactor(editor): Consolidate IN8nUISettings interface (#6055)
* consolidate IN8nUISettings

* cleanup
2023-04-21 13:30:57 +02:00
Michael Kret 0e93fe064e
refactor(core): Forbid raw enums (no-changelog) 2023-04-21 14:23:15 +03:00
Csaba Tuncsik ef79b03f38
feat(editor): Version control paywall (WIP) (#6030)
* feat(editor): Version control paywall (WIP)

* fix(editor): remove version control docs link
2023-04-21 11:25:39 +02:00
Ricardo Espinoza a74284bac3
feat(editor): Add disable template experiment (#5963)
* Add remove templates experiments

* Add track experiment without debouncing

* Allow to go to templates route even when experiment is active

* Add missing import

* Fix linting issue

* Remove unused constant

* Add timeout to track "User is part of experiment" event

* fix: split experiment evaluation from tracking

* fix: fix overrides

* chore: remove console

---------

Co-authored-by: Mutasem <mutdmour@gmail.com>
2023-04-21 10:32:23 +02:00