n8n/packages/cli/src
Omar Ajoue 25e9f0817a
refactor: Workflow sharing bug bash fixes (#4888)
* fix: Prevent workflows with only manual trigger from being activated

* fix: Fix workflow id when sharing from workflows list

* fix: Update sharing modal translations

* fix: Allow sharees to disable workflows and fix issue with unique key when removing a user

* refactor: Improve error messages and change logging level to be less verbose

* fix: Broken user removal transfer issue

* feat: Implement workflow sharing BE telemetry

* chore: temporarily add sharing env vars

* feat: Implement BE telemetry for workflow sharing

* fix: Prevent issues with possibly missing workflow id

* feat: Replace WorkflowSharing flag references (no-changelog) (#4918)

* ci: Block all external network calls in tests (no-changelog) (#4930)

* setup nock to prevent tests from making any external requests

* mock all calls to posthog sdk

* feat: Replace WorkflowSharing flag references (no-changelog)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>

* refactor: Remove temporary feature flag for workflow sharing

* refactor: add sharing_role to both manual and node executions

* refactor: Allow changing name, position and disabled of read only nodes

* feat: Overhaul dynamic translations for local and cloud (#4943)

* feat: Overhaul dynamic translations for local and cloud

* fix: remove type casting

* chore: remove unused translations

* fix: fix workflow sharing translation

* test: Fix broken test

* refactor: remove unnecessary import

* refactor: Minor code improvements

* refactor: rename dynamicTranslations to contextBasedTranslationKeys

* fix: fix type imports

* refactor: Consolidate sharing feature check

* feat: update cred sharing unavailable translations

* feat: update upgrade message when user management not available

* fix: rename plan names to Pro and Power

* feat: update translations to no longer contain plan names

* wip: subworkflow permissions

* feat: add workflowsFromSameOwner caller policy

* feat: Fix subworkflow permissions

* shared entites should check for role when deleting users

* refactor: remove circular dependency

* role filter shouldn't be an array

* fixed role issue

* fix: Corrected behavior when removing users

* feat: show instance owner credential sharing message only if isnt sharee

* feat: update workflow caller policy caller ids labels

* feat: update upgrade plan links to contain instance ids

* fix: show check errors below creds message only to owner

* fix(editor): Hide usage page on cloud

* fix: update credential validation error message for sharee

* fix(core): Remove duplicate import

* fix(editor): Extending deployment types

* feat: Overhaul contextual translations (#4992)

feat: update how contextual translations work

* refactor: improve messageing for subworkflow permissions

* test: Fix issue with user deletion and transfer

* fix: Explicitly throw error message so it can be displayed in UI

Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-12-21 16:42:07 +01:00
..
api refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
commands fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CommunityNodes feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
config refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
credentials ci: Break most of the circular dependencies in code (no-changelog) (#4990) 2022-12-21 10:46:26 +01:00
databases ci: Break most of the circular dependencies in code (no-changelog) (#4990) 2022-12-21 10:46:26 +01:00
events ci: Break most of the circular dependencies in code (no-changelog) (#4990) 2022-12-21 10:46:26 +01:00
executions refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
license ci: Break most of the circular dependencies in code (no-changelog) (#4990) 2022-12-21 10:46:26 +01:00
middlewares fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
PublicApi ci: Break most of the circular dependencies in code (no-changelog) (#4990) 2022-12-21 10:46:26 +01:00
role refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
telemetry feat(editor): Add usage and plan pages (#4819) 2022-12-20 10:52:01 +01:00
user refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
UserManagement refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
workflows refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
ActiveExecutions.ts fix: Enable source-maps on WorkflowRunnerProcess in own mode (#4832) 2022-12-06 12:16:49 +01:00
ActiveWorkflowRunner.ts feat(editor): Add usage and plan pages (#4819) 2022-12-20 10:52:01 +01:00
constants.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CrashJournal.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CredentialsHelper.ts test(editor): Fix flaky e2e tests (#4779) 2022-12-07 18:16:38 +01:00
CredentialsOverwrites.ts fix: Credential overwrites should take precedence over credential default values (#4782) 2022-12-02 09:46:19 +01:00
CredentialTypes.ts fix: Lazy load nodes for credentials testing (#4760) 2022-11-30 10:28:18 +01:00
curlconverter.d.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
CurlConverterHelper.ts refactor(core): fix for no-uncaught-json-parse warnings 2022-10-21 21:52:43 +03:00
Db.ts feat(core): Workflow Execution Statistics (#4200) 2022-12-06 14:55:40 +00:00
ErrorReporting.ts fix: Do not crash the server when Telemetry is blocked via DNS (#4947) 2022-12-16 13:23:24 +01:00
ExternalHooks.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
GenericHelpers.ts feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
index.ts feat(core): Workflow Execution Statistics (#4200) 2022-12-06 14:55:40 +00:00
Interfaces.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
InternalHooks.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
InternalHooksManager.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
License.ts feat(editor): Add usage and plan pages (#4819) 2022-12-20 10:52:01 +01:00
LoadNodesAndCredentials.ts fix: Ensure parent directory exists before copying over the icons to generated static directory (#4865) 2022-12-12 16:41:18 +01:00
Logger.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
NodeTypes.ts fix: Lazy load nodes for credentials testing (#4760) 2022-11-30 10:28:18 +01:00
Push.ts fix: Upgrade sse-channel to mitigate CVE-2019-10744 (#4835) 2022-12-07 15:13:36 +01:00
Queue.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
requests.d.ts feat(editor): Add usage and plan pages (#4819) 2022-12-20 10:52:01 +01:00
ResponseHelper.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
Server.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
sse-channel.d.ts fix: Upgrade sse-channel to mitigate CVE-2019-10744 (#4835) 2022-12-07 15:13:36 +01:00
TagHelpers.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
TestWebhooks.ts refactor: Improve error logging/reporting for cli (#4691) 2022-11-22 14:00:36 +01:00
TranslationHelpers.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
utils.ts fix(core): fix workflow hasing for MySQL (#4491) 2022-11-01 13:51:13 +01:00
WaitingWebhooks.ts refactor: Improve error logging/reporting for cli (#4691) 2022-11-22 14:00:36 +01:00
WaitTracker.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
WebhookHelpers.ts feat(editor): Add usage and plan pages (#4819) 2022-12-20 10:52:01 +01:00
WebhookServer.ts fix: Upgrade sse-channel to mitigate CVE-2019-10744 (#4835) 2022-12-07 15:13:36 +01:00
WorkflowCredentials.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
WorkflowExecuteAdditionalData.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
WorkflowHelpers.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00
WorkflowRunner.ts feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
WorkflowRunnerProcess.ts refactor: Workflow sharing bug bash fixes (#4888) 2022-12-21 16:42:07 +01:00