Commit Graph

60 Commits

Author SHA1 Message Date
Iván Ovejero
f3ef0a713c
refactor(core): Lintfix cli package (#17125) 2025-07-08 19:32:02 +02:00
Andreas Fitzek
657e5a3b3a
feat(core): Allow enforcement of MFA usage on instance (#16556)
Co-authored-by: Marc Littlemore <marc@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
2025-07-02 11:03:10 +02:00
Iván Ovejero
7c33292483
refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
कारतोफ्फेलस्क्रिप्ट™
4b11268a6e
refactor(core): Implement a new OnPubSubEvent decorator (#15688) 2025-06-04 18:32:33 +02:00
कारतोफ्फेलस्क्रिप्ट™
7c806ff532
refactor(core): Refactor some imports to reduce baseline memory usage (#15916) 2025-06-03 11:23:44 +02:00
Iván Ovejero
c229e915ea
refactor(core): Move Logger to @n8n/backend-common (#15721) 2025-05-30 12:57:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
bbe2b12bf2
fix(core): Simplify Websocket origin security checks (#15761)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-30 11:21:20 +02:00
Phillip Morton
b1687c6be2
fix(core): Add support for proxy using forward headers (#15006)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-22 11:26:14 +02:00
Iván Ovejero
3176f6fc89
refactor(core): Move dependencies of Logger to standalone packages (#15338) 2025-05-13 16:55:42 +02:00
कारतोफ्फेलस्क्रिप्ट™
5b1aa062a7
refactor(core): Change log-level for unregistered pushRef logging (no-changelog) (#15117) 2025-05-06 09:21:28 +02:00
Iván Ovejero
20834abb56
refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Iván Ovejero
e6381e09e3
refactor(core): Introduce @n8n/decorators package (#14784) 2025-04-23 16:39:49 +02:00
कारतोफ्फेलस्क्रिप्ट™
178628a59b
fix(core): Add cross-origin checks on push endpoints (#14365) 2025-04-03 14:04:27 +02:00
Iván Ovejero
3ca99194c6
refactor(core): Migrate all errors in cli package to new hierarchy (#13478)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2025-02-27 09:30:55 +02:00
Tomi Turtiainen
67b951ee07
fix(core): Fix parsing of push messages (no-changelog) (#13136) 2025-02-10 19:47:03 +02:00
Iván Ovejero
c2569a0607
refactor(core): Make placeholders in manual executions in workers temporary (#12463) 2025-01-14 14:32:00 +01:00
कारतोफ्फेलस्क्रिप्ट™
39d5e0ff87
refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-01-06 10:21:24 +01:00
Iván Ovejero
9432aa0b00
feat(core): Offload manual executions to workers (#11284) 2025-01-03 10:43:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
471d7b9420
refactor(core): Move Logger to core (no-changelog) (#12310) 2024-12-23 13:46:13 +01:00
Iván Ovejero
fe7fb41ad8
refactor(core): Fix push message type inference (#12331) 2024-12-20 19:45:04 +01:00
Iván Ovejero
95db031aa4
refactor: Introduce explicit-member-accessibility lint rule (#12325) 2024-12-20 11:44:01 +01:00
Iván Ovejero
454b022305
refactor(core): Enrich relay-execution-lifecycle-event logs (#12165) 2024-12-12 12:58:05 +01:00
Iván Ovejero
28f1f6b561
refactor(core): Move multi-main state to InstanceSettings (#12144) 2024-12-11 18:25:22 +01:00
कारतोफ्फेलस्क्रिप्ट™
73145b70b8
chore: Convert ErrorReporting to a Service to use DI. Add some tests (no-changelog) (#11279) 2024-12-11 15:36:17 +01:00
Iván Ovejero
d37acdb873
refactor(core): Make orchestration service smaller (#11275) 2024-10-16 17:34:32 +02:00
कारतोफ्फेलस्क्रिप्ट™
6823e8f2dd
refactor(core): Remove sse-channel (no-changelog) (#11207) 2024-10-10 16:51:50 +02:00
Iván Ovejero
3a9c65e1cb
refactor(core): Modernize logger service (#11031) 2024-10-01 12:16:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
2f8c8448d3
refactor(core): Move push message types to a new shared package (no-changelog) (#10742) 2024-09-13 13:02:00 +02:00
Tomi Turtiainen
5156313074
refactor(core): Enable import/order eslint rule (#10794) 2024-09-12 19:07:18 +03:00
Tomi Turtiainen
2ea2bfe762
feat: Reintroduce collaboration feature (#10602) 2024-09-03 17:52:12 +03:00
Iván Ovejero
6485ca0a4b
refactor(core): Enforce filename casing in cli package (no-changelog) (#10594) 2024-08-28 17:57:46 +02:00
Iván Ovejero
fd58a272e1
refactor(core): Standardize filename casing for controllers and databases (no-changelog) (#10564) 2024-08-27 16:44:32 +02:00
Iván Ovejero
f667b384c9
refactor(core): Standardize filenames in cli (no-changelog) (#10484)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-22 11:10:37 +02:00
Tomi Turtiainen
afa43e75f6
test(core): Move unit tests closer to testable components (no-changelog) (#10287) 2024-08-05 12:12:25 +03:00
कारतोफ्फेलस्क्रिप्ट™
1fca3af335
refactor(core): Use type-safe event emitters (no-changelog) (#10234) 2024-07-30 13:23:01 +02:00
कारतोफ्फेलस्क्रिप्ट™
22990342df
refactor(core): Delete all collaboration related code (no-changelog) (#9929) 2024-07-03 18:46:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
072c3db97d
refactor(core): Rename push sessionId to pushRef (#8905) 2024-04-03 13:43:14 +02:00
कारतोफ्फेलस्क्रिप्ट™
2b0e14e936
fix(core): Refactor push sessionid validation, and add unit tests (no-changelog) (#8815) 2024-03-05 18:57:29 +01:00
कारतोफ्फेलस्क्रिप्ट™
db4a419c8d
refactor(core): Enforce authorization by default on all routes (no-changelog) (#8762) 2024-02-28 17:02:18 +01:00
कारतोफ्फेलस्क्रिप्ट™
56c8791aff
refactor(core): Remove all legacy auth middleware code (no-changelog) (#8755) 2024-02-28 13:12:28 +01:00
Iván Ovejero
f35d4fcbd8
refactor(core): Simplify OrchestrationService (no-changelog) (#8364) 2024-01-22 11:16:29 +01:00
Iván Ovejero
1a0e285553
feat(core): Implement inter-main communication for test webhooks in multi-main setup (#8267) 2024-01-12 11:48:58 +01:00
Tomi Turtiainen
3a881be6c2
feat(core): Unify application components shutdown (#8097)
## Summary

Add `ShutdownService` and `OnShutdown` decorator for more unified way to
shutdown different components. Use this new way in the following
components:

- HTTP(S) server
- Pruning service
- Push connection
- License

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-12-22 12:39:58 +02:00
कारतोफ्फेलस्क्रिप्ट™
117962d473
feat(core): Update LLM applications building support (no-changelog) (#7710)
extracted out of #7336

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-11-28 16:47:28 +01:00
Csaba Tuncsik
152883eed1
build: Upgrade lint related packages (#7790) 2023-11-27 09:11:52 +01:00
Milorad FIlipović
77bc8ecd4b
feat(editor): Show avatars for users currently working on the same workflow (#7763)
This PR introduces the following changes:
- New Vue stores: `collaborationStore` and `pushConnectionStore`
- Front-end push connection handling overhaul: Keep only a singe
connection open and handle it from the new store
- Add user avatars in the editor header when there are multiple users
working on the same workflow
- Sending a heartbeat event to back-end service periodically to confirm
user is still active

- Back-end overhauls (authored by @tomi):
  - Implementing a cleanup procedure that removes inactive users
  - Refactoring collaboration service current implementation

---------

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2023-11-23 10:14:34 +01:00
कारतोफ्फेलस्क्रिप्ट™
000e76e3b4
ci(core): Reduce memory usage in tests (part-2) (no-changelog) (#7671)
This also gets rid of `Db.collection`, which was another source of
circular dependencies.
2023-11-10 15:04:26 +01:00
Tomi Turtiainen
ac877014ed
feat(core): Initial support for two-way communication over websockets (#7570)
- Enable two-way communication with web sockets
- Enable sending push messages to specific users
- Add collaboration service for managing active users for workflow

Missing things:
- State is currently kept only in memory, making this not work in
multi-master setups
- Removing a user from active users in situations where they go inactive
or we miss the "workflow closed" message
- I think a timer based solution for this would cover most edge cases.
I.e. have FE ping every X minutes, BE removes the user unless they have
received a ping in Y minutes, where Y > X
- FE changes to be added later by @MiloradFilipovic 

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-11-07 17:26:45 +02:00
कारतोफ्फेलस्क्रिप्ट™
05586a900d
refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
8bdb07d33d
fix(core): Setup websocket keep-live messages (#6866)
fixes #6757
2023-08-28 10:26:27 +02:00