Omar Ajoue
11a46a4cbc
fix: Remove annonymous ID (no-changelog) ( #5093 )
2023-01-05 14:59:21 +01:00
Jan Oberhauser
4d9b9e1b7e
🔖 Release n8n@0.210.0
2023-01-05 13:21:41 +00:00
Jan Oberhauser
d4d6779e22
⬆️ Set n8n-core@0.150.0, n8n-editor-ui@0.176.0, n8n-nodes-base@0.208.0 and n8n-workflow@0.132.0 on n8n
2023-01-05 13:21:40 +00:00
Jan Oberhauser
93da026c0d
fix(core): Fix OAuth credential creation via API ( #5064 )
...
* fix(core): Fix OAuth credential creation via API
* Fix tests
2023-01-05 07:06:37 -06:00
Iván Ovejero
d548161632
feat(core): Security audit ( #5034 )
...
* ✨ Implement security audit
* ⚡ Use logger
* 🧪 Fix test
* ⚡ Switch logger with stdout
* 🎨 Set new logo
* ⚡ Fill out Public API schema
* ✏️ Fix typo
* ⚡ Break dependency cycle
* ⚡ Add security settings values
* 🧪 Test security settings
* ⚡ Add publicly accessible instance warning
* ⚡ Add metric to CLI command
* ✏️ Fix typo
* 🔥 Remove unneeded path alias
* 📘 Add type import
* 🔥 Remove inferrable output type
* ⚡ Set description at correct level
* ⚡ Rename constant for consistency
* ⚡ Sort URLs
* ⚡ Rename local var
* ⚡ Shorten name
* ✏️ Improve phrasing
* ⚡ Improve naming
* ⚡ Fix casing
* ✏️ Add docline
* ✏️ Relocate comment
* ⚡ Add singular/plurals
* 🔥 Remove unneeded await
* ✏️ Improve test description
* ⚡ Optimize with sets
* ⚡ Adjust post master merge
* ✏️ Improve naming
* ⚡ Adjust in spy
* 🧪 Fix outdated instance test
* 🧪 Make diagnostics check consistent
* ⚡ Refactor `getAllExistingCreds`
* ⚡ Create helper `getNodeTypes`
* 🐛 Fix `InternalHooksManager` call
* 🚚 Rename `execution` to `nodes` risk
* ⚡ Add options to CLI command
* ⚡ Make days configurable
* :revert: Undo changes to `BaseCommand`
* ⚡ Improve CLI command UX
* ⚡ Change no-report return value
Empty array to trigger empty state on FE.
* ⚡ Add empty check to `reportInstanceRisk`
* 🧪 Extend Jest `expect`
* 📘 Augment `jest.Matchers`
* 🧪 Set extend as setup file
* 🔧 Override lint rule for `.d.ts`
* ⚡ Use new matcher
* ⚡ Update check
* 📘 Improve typings
* ⚡ Adjust instance risk check
* ✏️ Rename `execution` → `nodes` in Public API schema
* ✏️ Add clarifying comment
* ✏️ Fix typo
* ⚡ Validate categories in CLI command
* ✏️ Improve naming
* ✏️ Make audit reference consistent
* 📘 Fix typing
* ⚡ Use `finally` in CLI command
2023-01-05 13:28:40 +01:00
freya
59004fe7bb
fix(core): Fixes issue with workflow lastUpdated field ( #5015 )
...
Fixed issue causing workflow updated field to be affected by statistics data
2023-01-05 12:16:40 +00:00
कारतोफ्फेलस्क्रिप्ट™
5d746c4a83
fix: Apply credential overwrites recursively ( #5072 )
...
This ensures that overwrites defined for a parent credential type also applies to all credentials extending it.
2023-01-04 18:16:48 +01:00
कारतोफ्फेलस्क्रिप्ट™
8b19fdd5f0
refactor: Delete a lot of unused and duplicate code in Server and WebhookServer ( #5080 )
...
* store n8n version string in a const and use that everywhere
* reduce code duplication between Server and WebhookServer
* unify redis checks
* fix linting
2023-01-04 11:38:48 +01:00
Michael Auerswald
b67f803cbe
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>
2023-01-04 09:47:48 +01:00
Thomas S
0ec66bfb42
feat(core): Add compatibility to redis > 6 ACLs system using username in queue-mode ( #5048 )
...
feat(redis): add compatibility to redis > 6 ACLs system using username
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-01-03 11:45:03 +01:00
कारतोफ्फेलस्क्रिप्ट™
3754c5c734
fix: Fix executions bulk deletion ( #5074 )
...
since QueryBuilder api doesn't use entity field transforms, we should remove the usage of QueryBuilder wherever there is a filter on a transformed column.
2023-01-03 10:58:34 +01:00
कारतोफ्फेलस्क्रिप्ट™
ee28213538
refactor: Use string ids on Credentials, Workflows, Tags, and Executions DB entities ( #5041 )
2023-01-02 17:42:32 +01:00
कारतोफ्फेलस्क्रिप्ट™
a455cce7e6
perf: Lazy-load public-api dependencies to reduce baseline memory usage ( #5049 )
...
* refactor: Load swagger and openapi dependencies conditionally
* disable public api in tests to reduce heal usage
* update the link and text in SettingsApiView when swagger ui is disabled
2023-01-02 12:14:58 +01:00
कारतोफ्फेलस्क्रिप्ट™
b828cb31d6
perf: Lazy-load queue-mode and analytics dependencies ( #5061 )
...
* refactor: lazy load ioredis and bull
* upgrade bull and hiredis
* refactor: lazy load posthog, rudderstack, and sentry
* upgrade Sentry sdk
2023-01-02 12:14:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
1a6f7a1e0d
perf: Prevent oclif from loading ts-node and typescript ( #5047 ) (no-changelog)
...
Prevent oclif from loading ts-node and typescript
2022-12-29 12:23:33 +01:00
Iván Ovejero
d9b98fc8be
refactor: Lint for no unneeded backticks ( #5057 ) (no-changelog)
...
* ✨ Create rule `no-unneeded-backticks`
* 👕 Enable rule
* ⚡ Run rule on `cli`
* ⚡ Run rule on `core`
* ⚡ Run rule on `workflow`
* ⚡ Rule rule on `design-system`
* ⚡ Run rule on `node-dev`
* ⚡ Run rule on `editor-ui`
* ⚡ Run rule on `nodes-base`
2022-12-29 12:20:43 +01:00
Jan Oberhauser
d783a5a21f
🔖 Release n8n@0.209.4
2022-12-28 21:54:22 +00:00
Jan Oberhauser
c242809698
⬆️ Set n8n-editor-ui@0.175.4 on n8n
2022-12-28 21:54:21 +00:00
Jan Oberhauser
ab82864065
🔖 Release n8n@0.209.3
2022-12-27 15:22:23 +00:00
Jan Oberhauser
cd3f80f133
⬆️ Set n8n-core@0.149.2, n8n-editor-ui@0.175.3, n8n-nodes-base@0.207.2 and n8n-workflow@0.131.2 on n8n
2022-12-27 15:22:22 +00:00
कारतोफ्फेलस्क्रिप्ट™
6efbac307f
fix(core): Non owner should be permitted to use their own credentials ( #5036 )
2022-12-27 09:09:43 -06:00
Iván Ovejero
d113977b10
feat(core): Implement webhook-only manual execution ( #4960 )
...
* ⚡ Implement webhook-only manual execution
* ♻️ Apply feedback
2022-12-27 12:50:50 +01:00
कारतोफ्फेलस्क्रिप्ट™
a229788d4b
ci: Fix linting issues on master (no-changelog) ( #5030 )
...
* make CI logs less noisy. suppress linting warning
* fix linting issues
2022-12-23 19:09:52 +01:00
Jan Oberhauser
e38865eb7d
🔖 Release n8n@0.209.2
2022-12-23 17:01:12 +00:00
Jan Oberhauser
b40e38e555
⬆️ Set n8n-editor-ui@0.175.2 on n8n
2022-12-23 17:01:09 +00:00
Omar Ajoue
4651147096
refactor: Add missing schema keys (no-changelog) ( #5028 )
2022-12-23 16:24:11 +01:00
Omar Ajoue
8881ba8d4a
test: Add test case for when policy is set to any and fix a few others ( #5019 )
...
* 🚨 - testing subworkflow policies
* test: Add test case for workflow policy 'any'
* refactor: Remove unnecessary information in tests
* test: Improve types and lint
* fix: Add not throw to tests
* fix: Adding missing await statements
Co-authored-by: freyamade <freya@n8n.io>
2022-12-23 15:23:36 +01:00
Cornelius Suermann
eeac4768e5
fix(core): Update license SDK to v1.8.0 (no-changelog) ( #5023 )
2022-12-23 15:01:21 +01:00
Omar Ajoue
bb0eedada9
perf: Improve workflows list performance ( #5021 )
...
* spike: Improve workflow list performance
* fix: Correcting override behavior
* refactor: Remove unnecessary promise
* remove duplicate code
* remove the `async` that is breaking the listings page
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-12-23 13:58:34 +01:00
Jan Oberhauser
4b3aebdd6a
🔖 Release n8n@0.209.1
2022-12-22 18:34:10 +00:00
Jan Oberhauser
9f2e306eaf
⬆️ Set n8n-core@0.149.1, n8n-editor-ui@0.175.1, n8n-nodes-base@0.207.1 and n8n-workflow@0.131.1 on n8n
2022-12-22 18:34:09 +00:00
freya
789682763c
test: Ensure all subworkflow execution policies are tested ( #5010 )
2022-12-22 17:28:23 +00:00
कारतोफ्फेलस्क्रिप्ट™
0333b053ee
fix: Fix the linting issue on master (no-changelog) ( #5013 )
...
* get rid of the "`parseForESLint` from parser `@typescript-eslint/parser` is invalid" errors
* fix the formatting issue
2022-12-22 09:42:07 -06:00
Omar Ajoue
746e8487d2
fix: Issue with credentials and workflows not being matched correctly due to incorrect typing ( #5011 )
...
* fix: Always return ids as strings
2022-12-22 16:09:06 +01:00
कारतोफ्फेलस्क्रिप्ट™
365ffec3b2
fix: Make tests pass on MySQl and Postgres (no-changelog) ( #5005 )
2022-12-22 11:13:22 +01:00
Omar Ajoue
87d8865ad3
fix: Restore missing tags in workflow retrieve ( #5004 )
2022-12-22 10:16:27 +01:00
कारतोफ्फेलस्क्रिप्ट™
0a416eebea
fix: Remove circular dependencies from cli tests (no-changelog) ( #5000 )
...
* fix typescript errors in cli
* remove circular dependencies from cli tests
2022-12-22 10:14:15 +01:00
कारतोफ्फेलस्क्रिप्ट™
17f13b3b6e
ci: Setup eslint-import-resolver-typescript
for improved TS linting ( #4996 )
...
* Setup stricter linting for typescript
* make `import/no-unresolved` an error everywhere
* use prettier to format `.vscode/settings.default.json`
* address PR comments
2022-12-22 09:55:39 +01:00
Jan Oberhauser
e472f4f3b1
🔖 Release n8n@0.209.0
2022-12-21 16:39:27 +00:00
Jan Oberhauser
e52de82a26
⬆️ Set n8n-core@0.149.0, n8n-editor-ui@0.175.0, n8n-nodes-base@0.207.0 and n8n-workflow@0.131.0 on n8n
2022-12-21 16:39:27 +00:00
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
कारतोफ्फेलस्क्रिप्ट™
e225c3190e
fix: View option for binary-data shouldn't download the file on Chrome/Edge ( #4995 )
...
* delete unused code
* fix: Do not set the `Content-Disposition` header when viewing binary files
* remove the duplicate styles.
these already exist in BinaryDataDisplayEmbed.vue
2022-12-21 13:30:51 +01:00
कारतोफ्फेलस्क्रिप्ट™
5db9c46043
ci: Break most of the circular dependencies in code (no-changelog) ( #4990 )
2022-12-21 10:46:26 +01:00
Csaba Tuncsik
0da338f9b5
feat(editor): Add usage and plan pages ( #4819 )
...
* feat(editor): Usage and plan page (#4793 )
feat(editor): usage and plan page
* feat(editor): Update Usage and plan page (#4842 )
* feat(editor): usage and plan store
* feat(editor): usage and plan page updates
* feat(editor): usage and plan add buttons and alert
* tes(editor): usage and plan store
* tes(editor): usage remove refresh button and add link to view plans
* tes(editor): usage use info tip
* tes(editor): usage info style
* feat(editor): Get quotas data (#4866 )
feat(editor): get quotas data
* feat(editor): In-app experience (#4875 )
* feat: Add license quotas endpoint
* feat: Add trigger count to workflow activation process
* refactor: Get quotas from db
* feat: Add license information
* ✨ - finalised GET /license endpoint
* 🔨 - getActiveTriggerCount return 0 instead of null
* 🐛 - ignore manualTrigger when counting active triggers
* ✨ - add activation endpoint
* ✨ - added renew endpoint
* 🔨 - added return type interfaces
* 🔨 - handle license errors where methods are called
* 🔨 - rename function to match name from lib
* feat(editor): usage add plans buttons logic
* 🚨 - testing new License methods
* feat(editor): usage add more business logic
* chore(editor): code formatting
* 🚨 - added license api tests
* fix(editor): usage store
* fix(editor): usage update translations
* feat(editor): usage add license activation modal
* feat(editor): usage change subscription app url
* feat(editor): usage add contact us link
* feat(editor): usage fix modal width
* ✨ - Add renewal tracking metric
* ✨ - add license data to pulse event
* 🔨 - set default triggercount on entity model
* ✨ - add db migrations for mysql and postgres
* fix(editor): Usage api call data processing and error handling
* fix(editor): Usage fix activation query key
* 🚨 - add initDb to telemetry tests
* 🔨 - move getlicensedata to licenseservice
* 🔨 - return 403 instead of 404 to non owners
* 🔨 - move owner checking to middleware
* 🐛 - fixed incorrectly returned error from middleware
* 🐛 - using mock instead of test db for pulse tests
* fix(editor): Usage fix activation and add success messages
* fix(editor): Usage should not renew activation right after activation
* 🚨 - skipping failing pulse tests for now
* fix(editor): Usage add telemetry calls and apply design review outcomes
* feat(editor): Hide usage page according to BE flag
* feat(editor): Usage modify key activation flow
* feat(editor): Usage change subscription app url
* feat(editor): Usage add telemetry for manage plan
* feat(editor): Usage extend link url query params
* feat(editor): Usage add line chart if there is a workflow limit
* feat(editor): Usage remove query after key activation redirection
* fix(editor): Usage handle limit exceeded workflow chart, add focus to input when modal opened
* fix(editor): Usage activation can return router promise when removing query
* fix(editor): Usage and plan design review
* 🐛 - fix renew endpoint hanging issue
* 🐛 - fix license activation bug
* fix(editor): Usage proper translation for plans and/or editions
* fix(editor): Usage apply David's review results
* fix(editor): Usage page set as default and first under Settings
* fix(editor): Usage open subscription app in new tab
* fix(editor): Usage page having key query param a plan links
* test: Fix broken test
* fix(editor): Usage page address review
* 🧪 Flush promises on telemetry tests
* ⚡ Extract helper with `setImmediate`
* 🔥 Remove leftovers
* ⚡ Use Adi's helper
* refactor: Comment broken tests
* refactor: add Tenant id to settings
* feat: add environment to license endpoints
* refactor: Move license environment to general settings
* fix: fix routing bug
* fix(editor): Usage page some code review changes and formatting
* fix(editor): Usage page remove direct usage of reusable translation keys
* fix(editor): Usage page async await instead of then
* fix(editor): Usage page show some content only if network requests in component mounted were successful
* chore(editor): code formatting
* fix(editor): Usage checking license environment
* feat(editor): Improve license activation error messages (no-changelog) (#4958 )
* fix(editor): Usage changing activation error title
* remove unnecessary import
* fix(editor): Usage refactor notification showing
* fix(editor): Usage using notification directly in store actions
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* fix(editor): Usage change mounted lifecycle logic
* fix(editor): Usage return after successful activation in mounted
* fix: remove console log
* test: fix tests related to settings (#4979 )
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-12-20 10:52:01 +01:00
freya
60b14116f0
refactor(core): Ensure getSharedWorkflowIds returns string[] instead of number[] ( #4971 )
...
* 🔨 - getSharedWorkflowIds returns string[]
* 🔨 - update the sharedWorkflow function in public api
* 🔨 - update existing code to handle new data type
* simplify code
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-12-19 17:53:36 +01:00
Jan Oberhauser
6e33bd38cb
🔖 Release n8n@0.208.1
2022-12-19 14:18:36 +00:00
Jan Oberhauser
982b5cec3b
⬆️ Set n8n-core@0.148.1, n8n-editor-ui@0.174.1 and n8n-nodes-base@0.206.1 on n8n
2022-12-19 14:18:34 +00:00
कारतोफ्फेलस्क्रिप्ट™
323bd78067
fix: Enable crash journal only in production mode (no-changelog) ( #4948 )
...
* consolidate various `NODE_ENV` checks in the `cli` package
* enable crash journal only in production
2022-12-16 15:27:49 +01:00
Jan Oberhauser
20616e7af7
⬆️ Set n8n-workflow@0.130.0 on multiple packages
2022-12-16 07:45:28 -06:00
Jan Oberhauser
1725898c7b
🔖 Release n8n@0.208.0
2022-12-16 13:26:51 +00:00