feat: Add global event bus (#4860)
* fix branch * fix deserialize, add filewriter * add catchAll eventGroup/Name * adding simple Redis sender and receiver to eventbus * remove native node threads * improve eventbus * refactor and simplify * more refactoring and syslog client * more refactor, improved endpoints and eventbus * remove local broker and receivers from mvp * destination de/serialization * create MessageEventBusDestinationEntity * db migrations, load destinations at startup * add delete destination endpoint * pnpm merge and circular import fix * delete destination fix * trigger log file shuffle after size reached * add environment variables for eventbus * reworking event messages * serialize to thread fix * some refactor and lint fixing * add emit to eventbus * cleanup and fix sending unsent * quicksave frontend trial * initial EventTree vue component * basic log streaming settings in vue * http request code merge * create destination settings modals * fix eventmessage options types * credentials are loaded * fix and clean up frontend code * move request code to axios * update lock file * merge fix * fix redis build * move destination interfaces into workflow pkg * revive sentry as destination * migration fixes and frontend cleanup * N8N-5777 / N8N-5789 N8N-5788 * N8N-5784 * N8N-5782 removed event levels * N8N-5790 sentry destination cleanup * N8N-5786 and refactoring * N8N-5809 and refactor/cleanup * UI fixes and anonymize renaming * N8N-5837 * N8N-5834 * fix no-items UI issues * remove card / settings label in modal * N8N-5842 fix * disable webhook auth for now and update ui * change sidebar to tabs * remove payload option * extend audit events with more user data * N8N-5853 and UI revert to sidebar * remove redis destination * N8N-5864 / N8N-5868 / N8N-5867 / N8N-5865 * ui and licensing fixes * add node events and info bubbles to frontend * ui wording changes * frontend tests * N8N-5896 and ee rename * improves backend tests * merge fix * fix backend test * make linter happy * remove unnecessary cfg / limit actions to owners * fix multiple sentry DSN and anon bug * eslint fix * more tests and fixes * merge fix * fix workflow audit events * remove 'n8n.workflow.execution.error' event * merge fix * lint fix * lint fix * review fixes * fix merge * prettier fixes * merge * review changes * use loggerproxy * remove catch from internal hook promises * fix tests * lint fix * include review PR changes * review changes * delete duplicate lines from a bad merge * decouple log-streaming UI options from public API * logstreaming -> log-streaming for consistency * do not make unnecessary api calls when log streaming is disabled * prevent sentryClient.close() from being called if init failed * fix the e2e test for log-streaming * review changes * cleanup * use `private` for one last private property * do not use node prefix package names.. just yet * remove unused import * fix the tests because there is a folder called `events`, tsc-alias is messing up all imports for native events module. https://github.com/justkey007/tsc-alias/issues/152 Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
committed by
GitHub
parent
0795cdb74c
commit
b67f803cbe
@@ -507,11 +507,6 @@
|
||||
"fakeDoor.settings.sso.actionBox.title": "We’re working on this (as a paid feature)",
|
||||
"fakeDoor.settings.sso.actionBox.title.cloud": "We’re working on this",
|
||||
"fakeDoor.settings.sso.actionBox.description": "SSO will offer a secured and convenient way to access n8n using your existing credentials (Google, Github, Keycloak…)",
|
||||
"fakeDoor.settings.logging.name": "Logging",
|
||||
"fakeDoor.settings.logging.infoText": "You can already write logs to a file or the console using environment variables. <a href=\"https://docs.n8n.io/hosting/logging/\" target=\"_blank\">More info</a>",
|
||||
"fakeDoor.settings.logging.actionBox.title": "We're working on advanced logging (as a paid feature)",
|
||||
"fakeDoor.settings.logging.actionBox.title.cloud": "We're working on advanced logging",
|
||||
"fakeDoor.settings.logging.actionBox.description": "This also includes audit logging. If you'd like to be the first to hear when it's ready, join the list.",
|
||||
"fakeDoor.settings.users.name": "Users",
|
||||
"fakeDoor.settings.users.actionBox.title": "Upgrade to add users",
|
||||
"fakeDoor.settings.users.actionBox.description": "Create multiple users on our higher plans and share workflows and credentials to collaborate",
|
||||
@@ -1115,6 +1110,43 @@
|
||||
"settings.users.usersInvitedError": "Could not invite users",
|
||||
"settings.api": "API",
|
||||
"settings.n8napi": "n8n API",
|
||||
"settings.log-streaming": "Log Streaming",
|
||||
"settings.log-streaming.heading": "Log Streaming",
|
||||
"settings.log-streaming.add": "Add new destination",
|
||||
"settings.log-streaming.actionBox.title": "Available on custom plans",
|
||||
"settings.log-streaming.actionBox.description": "Log Streaming is available as a paid feature. Get in touch to learn more about it.",
|
||||
"settings.log-streaming.actionBox.button": "Contact us",
|
||||
"settings.log-streaming.infoText": "Send logs to external endpoints of your choice. You can also write logs to a file or the console using environment variables. <a href=\"https://docs.n8n.io/hosting/logging/\" target=\"_blank\">More info</a>",
|
||||
"settings.log-streaming.addFirstTitle": "Set up a destination to get started",
|
||||
"settings.log-streaming.addFirst": "Add your first destination by clicking on the button and selecting a destination type.",
|
||||
"settings.log-streaming.saving": "Saving",
|
||||
"settings.log-streaming.delete": "Delete",
|
||||
"settings.log-streaming.continue": "Continue",
|
||||
"settings.log-streaming.selecttype": "Select type to create",
|
||||
"settings.log-streaming.selecttypehint": "Select the type for the new log stream destination",
|
||||
"settings.log-streaming.tab.settings": "Settings",
|
||||
"settings.log-streaming.tab.events": "Events",
|
||||
"settings.log-streaming.tab.events.title": "Select groups or single events to subscribe to:",
|
||||
"settings.log-streaming.tab.events.anonymize": "Anonymize sensitive data",
|
||||
"settings.log-streaming.tab.events.anonymize.info": "Fields containing personal information like name or email are anonymized",
|
||||
"settings.log-streaming.eventGroup.n8n.audit": "Audit Events",
|
||||
"settings.log-streaming.eventGroup.n8n.audit.info": "Will send events when user details or other audit data changes",
|
||||
"settings.log-streaming.eventGroup.n8n.workflow": "Workflow Events",
|
||||
"settings.log-streaming.eventGroup.n8n.workflow.info": "Will send workflow execution events",
|
||||
"settings.log-streaming.eventGroup.n8n.user": "User",
|
||||
"settings.log-streaming.eventGroup.n8n.node": "Node Executions",
|
||||
"settings.log-streaming.eventGroup.n8n.node.info": "Will send step-wise execution events every time a node executes. Please note that this can lead to a high frequency of logged events and is probably not suitable for general use.",
|
||||
"settings.log-streaming.$$AbstractMessageEventBusDestination": "Generic",
|
||||
"settings.log-streaming.$$MessageEventBusDestinationWebhook": "Webhook",
|
||||
"settings.log-streaming.$$MessageEventBusDestinationSentry": "Sentry",
|
||||
"settings.log-streaming.$$MessageEventBusDestinationRedis": "Redis",
|
||||
"settings.log-streaming.$$MessageEventBusDestinationSyslog": "Syslog",
|
||||
"settings.log-streaming.destinationDelete.cancelButtonText": "",
|
||||
"settings.log-streaming.destinationDelete.confirmButtonText": "Yes, delete",
|
||||
"settings.log-streaming.destinationDelete.headline": "Delete Destination?",
|
||||
"settings.log-streaming.destinationDelete.message": "Are you sure that you want to delete '{destinationName}'?",
|
||||
"settings.log-streaming.addDestination": "Add new destination",
|
||||
"settings.log-streaming.destinations": "Log destinations",
|
||||
"settings.api.create.description": "Control n8n programmatically using the <a href=\"https://docs.n8n.io/api\" target=\"_blank\">n8n API</a>",
|
||||
"settings.api.create.button": "Create an API Key",
|
||||
"settings.api.create.button.loading": "Creating API Key...",
|
||||
|
||||
Reference in New Issue
Block a user