कारतोफ्फेलस्क्रिप्ट™
72249e0de8
refactor(core): Load and validate all config at startup (no-changelog) ( #5283 )
2023-01-30 14:42:30 +01:00
Iván Ovejero
2ca959b383
refactor: Integrate consistent-type-imports
in BE packages (no-changelog) ( #5270 )
2023-01-27 14:56:56 +01:00
कारतोफ्फेलस्क्रिप्ट™
845f0f9d20
refactor(core): Switch over all user-management routes to use decorators ( #5115 )
2023-01-27 11:19:47 +01:00
Iván Ovejero
0a7ea89633
fix: Fix formatting/linting for CI (no-changelog) ( #5264 )
...
* ⬆️ Upgrade Prettier
* 📦 Update `pnpm-lock.yaml`
* 🎨 Format all packages
* 🔧 Specify `prettierPath`
2023-01-27 10:18:15 +01:00
Alex Grozav
99e35f1e94
feat(editor): Update design-system and editor dependencies (no-changelog) ( #5188 )
2023-01-27 02:09:30 +01:00
कारतोफ्फेलस्क्रिप्ट™
68e4083bbd
fix(core): Validate numeric ids in the public API ( #5251 )
...
This was incorrectly changed in https://github.com/n8n-io/n8n/pull/5041
2023-01-26 11:46:00 +01:00
कारतोफ्फेलस्क्रिप्ट™
c8a146ba31
ci: Fix CI timeout issues (no-changelog) ( #5250 )
2023-01-26 11:44:50 +01:00
कारतोफ्फेलस्क्रिप्ट™
21579a8a2a
fix(core): Handle missing binary metadata in download urls ( #5242 )
2023-01-25 10:19:19 +01:00
Ricardo Espinoza
0c70a40317
feat(core): Add LDAP support ( #3835 )
2023-01-25 02:18:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
259296c5c9
fix(core): Upsert credentials and workflows in the import:* commands ( #5231 )
2023-01-24 19:05:23 +01:00
कारतोफ्फेलस्क्रिप्ट™
a86c9a628b
refactor(core): Add support for implicit schema in postgres migrations ( #5233 )
2023-01-24 10:55:20 +01:00
Iván Ovejero
fcbf4fd587
fix(core): Make pindata with webhook responding on last node manual-only ( #5223 )
...
⚡ Add manual check
2023-01-23 12:22:05 +01:00
Michael Auerswald
4f89fb4d4d
fix(core): Fix onWorkflowPostExecute not being called ( #5224 )
...
fix onWorkflowPostExecute
2023-01-23 11:53:00 +01:00
Omar Ajoue
c5245dd387
fix: Add schema to postgres migrations (hotfix) ( #5218 )
...
* fix: Add schema to postgres migrations
2023-01-23 10:16:20 +01:00
agobrech
6e391755e4
fix(core): Fix url in error handelling for the error Trigger ( #5201 )
...
* Add workflow id to url in error message
* fix mock message for manual execution
* Fix url missing 's'
2023-01-19 17:56:31 +01:00
Michael Auerswald
9b032d68bc
feat(core): Add Prometheus metrics for n8n events and api invocations (experimental) ( #5177 )
...
* create prometheus metrics from events
* feat(core): Add more Prometheus metrics (experimental) (#5187 )
* refactor(core): Add Prometheus labels to relevant metrics
* feat(core): Add more Prometheus metrics (experimental)
* add 'v' prefix to value of version label
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-01-19 12:11:31 +01:00
Cornelius Suermann
e36112a6d4
fix(core): Fix migration (no-changelog) ( #5186 )
...
* fix(core): Fix migration (no-changelog)
* revert previous fix and apply correct one
2023-01-18 15:42:09 +01:00
Iván Ovejero
c0268f572f
fix(core): Restore community nodes installation ( #5180 )
...
🐛 Fix check for community nodes not installing
2023-01-17 16:04:58 +01:00
कारतोफ्फेलस्क्रिप्ट™
97969fc815
fix: Upgrade jsonwebtoken
to address CVE-2022-23540 ( #5116 )
2023-01-13 18:24:59 +01:00
कारतोफ्फेलस्क्रिप्ट™
0a5ab560b1
refactor: Upgrade typeorm to 0.3.x ( #5151 )
2023-01-13 18:12:22 +01:00
Michael Auerswald
e845eb33f9
fix(core): Remove threads pkg, rewrite log writer worker ( #5134 )
2023-01-13 15:39:25 +01:00
कारतोफ्फेलस्क्रिप्ट™
a9fb393e1a
fix: DB revert command shouldn't run full migrations before each revert ( #5131 )
2023-01-11 18:29:31 +01:00
कारतोफ्फेलस्क्रिप्ट™
62cce2e518
fix: Run every DB migration inside a transaction ( #5129 )
...
* always each DB migrations in a transaction
* `VACUUM` isn't allowed inside transactions.
* `PRAGMA foreign_keys` are automatically toggled before and after every down migration
2023-01-11 18:29:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
a573db2ef7
fix: Report app startup and DB migration errors to Sentry ( #5127 )
2023-01-11 18:28:35 +01:00
Michael Auerswald
62d06b1e6e
fix(core): Fixes event msg confirmations if no subscribers present ( #5118 )
...
* adds ExecutionEvents view modal to ExecutionList
* fix time rendering and remove wf column
* checks for unfinished executions and fails them
* prevent re-setting stoppedAt for execution
* removing UI changes but keeping eventbus fixes
* remove comment
2023-01-11 14:09:09 +01:00
कारतोफ्फेलस्क्रिप्ट™
0e955760a1
refactor: On workflow deletion, cascade delete all entities associated with it ( #5102 )
2023-01-10 09:23:44 +01:00
Omar Ajoue
a43e3e4112
fix: Do not attempt to save statistics data for unsaved workflows ( #5106 )
...
* fix: Do not attempt to save data for unsaved workflows
2023-01-09 12:49:27 +01:00
कारतोफ्फेलस्क्रिप्ट™
6d0f2bff7f
fix: Remove anonymous ID from tracking calls ( #5099 )
2023-01-06 15:35:30 +01:00
कारतोफ्फेलस्क्रिप्ट™
c4df2049a8
fix: Stop OOM crashes in Execution Data pruning ( #5095 )
...
* fix: Stop OOM crashed in Execution Data pruning
Currently while pruning execution data, we are loading all the data in memory. For instances where there are thousands of executions, this causes the container to run out of memory.
Since ids is all we need, we should only query for ids.
* query for Executions only when ids are actually needed for pruning binary data
in default mode the binary data is in the database, and will get pruned along with the executions.
2023-01-06 11:42:58 +01:00
कारतोफ्फेलस्क्रिप्ट™
d77523bd31
fix: Pass in the correct server reference to external hooks (no-changelog) ( #5094 )
...
* fix: Pass in the correct server reference to external hooks (no-changelog)
* use the correct reference
2023-01-05 16:56:27 +01:00
Alex Grozav
2327563c44
feat: Add user management invite links without SMTP set up ( #5084 )
...
* feat: update n8n-users-list to no longer use preset list of actions
* feat: prepared users settings for invite links feature
* refactor: Return invite link URLs when inviting users (#5079 )
* refactor: Return invite link URLs when inviting users
* test: Refactor and add tests to mailer
* feat: Add FE inviteAcceptUrl integration (#5085 )
* feat: update n8n-users-list to no longer use preset list of actions
* feat: prepared users settings for invite links feature
* feat: add integration with new inviteAcceptUrl changes
* feat: Add inviteAcceptUrl to user list for pending users
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix conflicts
* fix lint issue
* test: Make sure inviteAcceptUrl is defined
* feat: update smtp setup suggestion
* feat: add invite link summary when inviting multiple users
* refactor: Add telemetry flag for when email is sent
* fix: add email_sent correctly to telemetry event
* feat: move SMTP info-tip to invite modal
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-01-05 17:10:08 +02:00
Omar Ajoue
11a46a4cbc
fix: Remove annonymous ID (no-changelog) ( #5093 )
2023-01-05 14:59:21 +01: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
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
कारतोफ्फेलस्क्रिप्ट™
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
Omar Ajoue
4651147096
refactor: Add missing schema keys (no-changelog) ( #5028 )
2022-12-23 16:24:11 +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
कारतोफ्फेलस्क्रिप्ट™
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