Csaba Tuncsik
0339732378
fix(editor): Update execution view layout ( #6882 )
...
* fix(editor): Update execution view layout
* fix(editor): Update element UI dropdown close method
* fix(editor): Icons vertical alignment in exec list card
2023-08-09 14:41:23 +02:00
github-actions[bot]
eda34a7ae7
🚀 Release 1.2.0 ( #6891 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-08-09 14:10:24 +02:00
Jon
db21a8db75
fix: Fix issue with key based credentials not being read correctly ( #6824 )
2023-08-09 12:30:53 +01:00
कारतोफ्फेलस्क्रिप्ट™
6553d92c7c
fix(core): Log crash causes to console when sentry is disabled ( #6890 )
2023-08-09 13:29:57 +02:00
Iván Ovejero
dceff675ec
perf(core): Add filtering and pagination to GET /workflows
( #6845 )
...
* Initial setup
* Specify max paginated items
* Simplify
* Add tests
* Add more tests
* Add migrations
* Add top-level property
* Add field selection
* Cleanup
* Rename `total` to `count`
* More cleanup
* Move query logic into `WorkflowRepository`
* Create `AbstractRepository`
* Cleanup
* Fix name
* Remove leftover comments
* Replace reference
* Add default for `rawSkip`
* Remove unneeded typing
* Switch to `class-validator`
* Simplify
* Simplify
* Type as optional
* Make typing more accurate
* Fix lint
* Use `getOwnPropertyNames`
* Use DSL
* Set schema at repo level
* Cleanup
* Remove comment
* Refactor repository methods to middleware
* Add middleware tests
* Remove old test files
* Remove generic experiment
* Reuse `reportError`
* Remove unused type
* Cleanup
* Improve wording
* Reduce diff
* Add missing mw
* Use `Container.get`
* Adjust lint rule
* Reorganize into subdir
* Remove unused directive
* Remove nodes
* Silly mistake
* Validate take
* refactor(core): Adjust index handling in new migrations DSL (no-changelog) (#6876 )
* refactor(core): Adjust index handling in new migrations DSL (no-changelog)
* Account for custom index name
* Also for dropping
* Fix `select` issue with `relations`
* Tighten validation
* Ensure `ownerId` is not added when specifying `select`
2023-08-09 12:30:02 +02:00
Bram Kn
f8ad543af5
feat(Pipedrive Node): Add option to update the file name and description ( #6883 )
2023-08-09 10:54:20 +01:00
OlegIvaniv
990068ff07
fix(editor): Replace native Array.prototype.findLast with lodash.findLast (no-changelog) ( #6885 )
...
fix(editor): Replace native Array.findLast with lodash.findLast
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-08-09 10:26:40 +02:00
Iván Ovejero
b82cf5603a
ci: Upgrade nodelinter to 1.16.0 (no-changelog) ( #6879 )
...
ci: Upgrade nodelinter to 1.16.0
2023-08-09 10:10:08 +02:00
Mutasem Aldmour
aa76dcbdfa
refactor(editor): Fix lint issue (no-changelog) ( #6884 )
2023-08-09 09:45:02 +02:00
Alex Grozav
a0f9b2eefe
fix(editor): Fix credential errors in executions view for workflow sharee ( #6875 )
2023-08-08 18:34:36 +03:00
Alex Grozav
9139e64e22
fix: Fix word wrapping in dropdown menu items (no-changelog) ( #6874 )
2023-08-08 18:33:55 +03:00
Mutasem Aldmour
3619345169
feat: Clean up onboarding experiment ( #6873 )
...
* feat: Clean up onboarding experiment
* chore: clean up
2023-08-08 17:00:25 +02:00
Jon
905eef8559
fix(GoToWebinar Node): Fix issue with timezone incorrectly being required ( #6865 )
...
Fix issue with timezone incorrectly being required
2023-08-08 15:51:31 +01:00
Giulio Andreini
98e4c8f614
feat(HTTP Request Node): Add cURL alias (no-changelog) ( #6877 )
...
Added cURL alias to HTTP Request Node.
2023-08-08 15:04:19 +01:00
Iván Ovejero
6796d9e5d6
fix(core): Add sharing data to workflows in EE executions ( #6872 )
...
* fix(core): Add sharing data to workflows in EE executions
* Address feedback
2023-08-08 14:28:05 +02:00
Iván Ovejero
11440bfd3c
refactor(core): Move tag collection into repository (no-changelog) ( #6860 )
...
* refactor(core): Move tag collection into repository
* Fix tests
* Address feedback
* Fix missing spot
2023-08-08 14:08:56 +02:00
Alex Grozav
8de28fe4d0
fix: Fix execution card router link (no-changelog) ( #6870 )
2023-08-08 12:42:27 +03:00
Csaba Tuncsik
08982ede4c
fix(editor): Do not show mapping discoverability tooltip after dismiss ( #6862 )
...
* fix(editor): Do not show mapping discoverability tooltip after dismiss
* test: add tooltip design system component test
* fix(editor): no need to dismiss mapping tooltip multiple times
2023-08-07 20:16:01 +02:00
Jan Oberhauser
efe08cced3
feat(editor): Add "Download" button if JSON data is to large ( #6850 )
...
* feat(editor): Add "Download" button if JSON data is to large
* ⚡ Some code improvements + change button style
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-08-07 19:06:38 +02:00
Michael Auerswald
6499f42481
feat(core): Add unique id to instances ( #6863 )
...
* add serverId and workerId
* adjust id format
* fix logger init / test
* update implementation
2023-08-07 17:03:21 +02:00
Jon
f038e1e9a6
fix(Netlify Node): Update Netlify logo (no-changelog) ( #6864 )
2023-08-07 14:21:13 +01:00
Michael Kret
72814d1f0f
fix(Email Trigger (IMAP) Node): UTF-8 attachments are not correctly named ( #6856 )
2023-08-07 13:33:06 +03:00
कारतोफ्फेलस्क्रिप्ट™
8126181e18
fix(editor): Avoid infinite loops when resolving the expression {{ $parameter }}
(no-changelog) ( #6855 )
...
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2023-08-07 11:52:33 +02:00
Michael Auerswald
adcf5a96e8
feat(core): Add metrics option to cache ( #6846 )
...
* add metrics to cache
* use events for metrics
* pr comments / broken test
* lint fix
* update the test
* improve tests
* Update packages/cli/src/config/schema.ts
* disable flaky test
* lint fix
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2023-08-04 20:51:07 +02:00
Michael Auerswald
fdfc6c5a92
fix(core): Handle empty keys in cache service (no-changelog) ( #6854 )
...
* fix handle empty keys in cache service
* add test
* add cache mock test
* add simpler mocking, and add tests for all the updated methods
* don't use RedisStore specifically in the mock
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-08-04 19:44:41 +02:00
Michael Kret
5ab30fdd95
fix(core): OAuth1 authentication fix for Clever Cloud API ( #6847 )
2023-08-04 19:49:00 +03:00
कारतोफ्फेलस्क्रिप्ट™
75be1a9c0d
feat(core): Create a dsl for writing db agnostic migrations ( #6853 )
2023-08-04 17:49:02 +02:00
Jan Oberhauser
a8bfb46183
fix(core): Fix WebSocket close codes
2023-08-04 16:40:03 +02:00
Omar Ajoue
63ffe67dad
feat(core): Add workflow history initial setup (no-changelog) ( #6852 )
...
* feat: Add workflow history initial setup
* fix: Add feature to missing controller
2023-08-04 12:27:06 +02:00
Iván Ovejero
0511458d41
perf(core): Cache webhooks ( #6825 )
...
* refactor: Initial setup
* Refactor for clarity
* Comments to clarify
* More replacements
* Simplify with `fullPath`
* Fix tests
* Implement remaining methods
* chore: Fix misresolved conflicts
* Simplify syntax
* Reduce diff
* Minor cleanup
* Fix lint
* Inject dependency
* Improve typings
* Remove unused method
* Restore method
* Add comment
* Rename in test
* Restore comments
* Clean up dynamic webhook handling
* Clean up tests
* Remove redundant `cache` prefix
* fix: Correct `uniquePath` for dynamic webhooks
2023-08-04 11:52:45 +02:00
Milorad FIlipović
90e825f743
fix(editor): Fix value syncing in SQL and HTML editor ( #6848 )
2023-08-04 10:50:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
a5667e6c42
fix(core): Update packages to address CVE-2023-2142 and CVE-2020-28469 ( #6844 )
...
GH Advisories:
[ CVE-2023-2142](https://github.com/advisories/GHSA-x77j-w7wf-fjmw )
[CVE-2020-28469](https://github.com/advisories/GHSA-ww39-953v-wcq6 )
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-08-03 16:31:55 +02:00
Nihaal Sangha
6ec7033bb7
fix(core): Fix source control name and email being switched ( #6839 )
2023-08-03 15:19:54 +02:00
Val
371bfa0f48
fix: Auth.api user limit test expecting incorrect status ( #6836 )
...
fix: auth.api user limit test expecting incorrect status
2023-08-03 13:03:26 +01:00
कारतोफ्फेलस्क्रिप्ट™
732416f52f
fix(core): Fix property existence checks on AugmentObject ( #6842 )
...
Fixes https://community.n8n.io/t/code-node-returns-full-item-object-on-node-all/28823
2023-08-03 12:19:30 +02:00
Iván Ovejero
e4f041815a
perf(core): Cache roles ( #6803 )
...
* refactor: Create `RoleService`
* refactor: Refactor to use service
* refactor: Move `getUserRoleForWorkflow`
* refactor: Clear out old `RoleService`
* refactor: Consolidate utils into service
* refactor: Remove unused methods
* test: Add tests
* refactor: Remove redundant return types
* refactor: Missing utility
* chore: Remove commented out bit
* refactor: Make `Db.collections.Repository` inaccessible
* chore: Cleanup
* feat: Prepopulate cache
* chore: Remove logging
* fix: Account for tests where roles are undefined
* fix: Restore `prettier.prettierPath`
* test: Account for cache enabled and disabled
* fix: Restore `Role` in `Db.collections`
* refactor: Simplify by removing `orFail`
* refactor: Rename for clarity
* refactor: Use `cacheKey` for readability
* refactor: Validate role before creation
* refacator: Remove redundant `cache` prefix
* ci: Lint fix
* test: Fix e2e
2023-08-03 08:58:36 +02:00
Michael Auerswald
659ca26fe7
fix(core): Change VariablesService to DI and use caching ( #6827 )
...
* support redis cluster
* cleanup, fix config schema
* set default prefix to bull
* initial commit
* improve logging
* improve types and refactor
* list support and refactor
* fix redis service and tests
* add comment
* add redis and cache prefix
* use injection
* lint fix
* clean schema comments
* improve naming, tests, cluster client
* merge master
* cache returns unknown instead of T
* update cache service, tests and doc
* remove console.log
* VariablesService as DI, add caching, fix tests
* do not cache null or undefined values
* import fix
* more DI and remove collections
* fix merge
* lint fix
* rename to ~Cached
* fix test for CI
* fix ActiveWorkflowRunner test
2023-08-02 14:51:09 +02:00
Mutasem Aldmour
41d8a18d47
fix: Fix horizontal overflow for dialogs ( #6830 )
...
fix: horizental overflow for dialogs
2023-08-02 14:45:58 +02:00
Alex Grozav
50b00e2185
fix: Fix double hiring banner logging (no-changelog) ( #6829 )
...
fix: fix double hiring banner logging (no-changelog)
2023-08-02 14:37:49 +03:00
Alex Grozav
fb755db9bd
fix: Fix replacing node empty string value with default value (no-changelog) ( #6832 )
...
fix: fix replacing node empty string value with default value
2023-08-02 14:19:01 +03:00
Alex Grozav
848e9b1172
fix: Fix saving workflow sharing (no-changelog) ( #6828 )
...
fix: fix saving workflow sharing
2023-08-02 14:17:14 +03:00
Michael Auerswald
3cad60e918
feat(core): Make Redis available for backend communication ( #6719 )
...
* support redis cluster
* cleanup, fix config schema
* set default prefix to bull
* initial commit
* improve logging
* improve types and refactor
* list support and refactor
* fix redis service and tests
* add comment
* add redis and cache prefix
* use injection
* lint fix
* clean schema comments
* improve naming, tests, cluster client
* merge master
* cache returns unknown instead of T
* update cache service, tests and doc
* remove console.log
* do not cache null or undefined values
* fix merge
* lint fix
2023-08-02 12:51:25 +02:00
Milorad FIlipović
4ac4b850dd
fix(editor): Fix redo when adding node on connection ( #6833 )
...
* fix(editor): Fix redo when adding node on connection
* ✅ Adding tests for pushed nodes
* ✔️ Updating drag command for dragging nodes on the canvas
* 👌 Handling drag end with a command option
2023-08-02 12:48:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
f718c2291f
fix(Code Node): Consistent redirection of stdout for JS and Python sandboxes ( #6818 )
...
Co-authored-by: Marcus <marcus@n8n.io>
2023-08-01 17:47:43 +02:00
कारतोफ्फेलस्क्रिप्ट™
34df8b6238
refactor: Consolidate tsconfig and eslintrc files (no-changelog) ( #6816 )
...
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2023-08-01 17:32:43 +02:00
कारतोफ्फेलस्क्रिप्ट™
31d8f478ee
refactor(core): Parse Webhook request bodies on-demand ( #6394 )
...
Also,
1. Consistent CORS support ~on all three webhook types~ waiting webhooks never supported CORS. I'll fix that in another PR
2. [Fixes binary-data handling when request body is text, json, or xml](https://linear.app/n8n/issue/NODE-505/webhook-binary-data-handling-fails-for-textplain-files ).
3. Reduced number of middleware that each request has to go through.
4. Removed the need to maintain webhook endpoints in the auth-exception list.
5. Skip all middlewares (apart from `compression`) on Webhook routes.
6. move `multipart/form-data` support out of individual nodes
7. upgrade `formidable`
8. fix the filenames on binary-data in webhooks nodes
9. add unit tests and integration tests for webhook request handling, and increase test coverage
2023-08-01 17:32:30 +02:00
OlegIvaniv
369a2e9796
fix(editor): Improve displaying and hiding of connections actions ( #6823 )
...
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-08-01 17:17:06 +02:00
Mutasem Aldmour
31a4cfc969
fix: Handle subtitle errors when pasting workflow ( #6826 )
2023-08-01 17:15:43 +02:00
Alex Grozav
88156deb5c
fix: Fix RLC and select dropdown styling and functionality (no-changelog) ( #6809 )
...
* fix: fix RLC and select dropdown styling and functionality
* fix: change setTimeout to nextTick
* fix: fix resource locator padding
2023-08-01 17:58:25 +03:00
Iván Ovejero
24ce141815
refactor: Clear unused ESLint directives from nodes-base (no-changelog) ( #6812 )
...
* refactor: Clear unused ESLint directives from nodes-base (no-changelog)
* removed unused disable directives
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-08-01 15:32:33 +02:00