Commit Graph

70 Commits

Author SHA1 Message Date
Iván Ovejero 320a810b56 refactor(core): Add shutdown method to modules (#17322) 2025-07-16 12:36:11 +02:00
Iván Ovejero f3ef0a713c refactor(core): Lintfix cli package (#17125) 2025-07-08 19:32:02 +02:00
Iván Ovejero 06f49c294a refactor(core): Lint to enforce lazyloading in modules (#16843)
Co-authored-by: Juuso Tapaninen <juuso@n8n.io>
2025-07-01 10:45:30 +02:00
Guillaume Jacquart 3ba8a84d2b feat(core): Add a new by-time insights route that return only time saved data (#16727) 2025-06-27 11:45:31 +02:00
Iván Ovejero 7c33292483 refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
Iván Ovejero 21ff173070 refactor(core): Move DbConnection to @n8n/db (#16616) 2025-06-24 12:33:01 +02:00
Iván Ovejero 37efd209c9 refactor(core): Move module logic to @n8n/backend-common (#16528)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-06-20 18:55:07 +02:00
Iván Ovejero bb7c68f6bf refactor(core): Centralize module management (#16464)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-06-19 14:32:31 +02:00
Iván Ovejero 6ba8e0bebe refactor(core): Decouple module settings from frontend service (#16324)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-06-18 10:00:02 +02:00
Iván Ovejero b5828e5b56 refactor(core): Rename @n8n/integration-test-utils to @n8n/backend-test-utils (#16444) 2025-06-17 18:09:44 +02:00
Iván Ovejero ac032418cb refactor(core): Prepare insights for move to standalone module (#16426) 2025-06-17 14:51:30 +02:00
Iván Ovejero 7177e3aab0 fix(core): Register transition handlers after modules init (#16308) 2025-06-13 12:24:35 +02:00
Iván Ovejero cb81826cf1 perf(core): Skip init for unlicensed modules (#16311) 2025-06-13 11:49:38 +02:00
Iván Ovejero bcf1a7108b refactor(core): Decouple database entity registration (#15871)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-06-12 19:12:20 +02:00
Guillaume Jacquart 56b16b8c0f fix(core): Remove duplicated logs for insights (#16228) 2025-06-11 13:36:29 +02:00
Guillaume Jacquart 7a67dcb686 fix(core): Start insights collection timer for webhook instances (#15964) 2025-06-06 09:45:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1587eb0742 refactor(core): Convert external-secrets code into a backend module (#15769) 2025-06-05 14:21:29 +02:00
कारतोफ्फेलस्क्रिप्ट™ 4b11268a6e refactor(core): Implement a new OnPubSubEvent decorator (#15688) 2025-06-04 18:32:33 +02:00
कारतोफ्फेलस्क्रिप्ट™ 3bdbdfe6ce ci: Drop support for Node.js 18 (#15146) 2025-06-04 15:54:57 +02:00
Andreas Fitzek b87d04e33b chore(core): Refactor logging for insights flushing (#15978) 2025-06-03 16:49:55 +02:00
Matt Habermehl 096806af15 fix(core): Fix timezone-dependent test failures in Insights weekly compaction (#15680) 2025-06-02 12:07:06 +02:00
Iván Ovejero c229e915ea refactor(core): Move Logger to @n8n/backend-common (#15721) 2025-05-30 12:57:47 +02:00
Guillaume Jacquart 3743a8c33d feat(core): Add logs for insights flushing and compaction (#15519) 2025-05-22 14:52:35 +02:00
Guillaume Jacquart bf5551d711 fix(core): Load insights module on webhook instance to save insights on webhook workflows (#15433) 2025-05-19 10:03:45 +02:00
Guillaume Jacquart d9fdef3bf9 fix(core): Make the Insights by time datetime parsing more robust (#15413) 2025-05-19 10:03:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ c42df1c268 refactor(core): Restructure decorators and add tests (#15348) 2025-05-13 15:04:58 +02:00
Iván Ovejero 6be129c08b chore(core): Remove unused database field from ModulePreInitContext (#15319) 2025-05-12 17:31:06 +02:00
Guillaume Jacquart 3be05556f9 feat(core): Check license config for insights max retention (#15256) 2025-05-12 09:43:58 +02:00
Iván Ovejero 1f6a36e26e refactor(core): Move shared workflow and shared credentials repositories to @n8n/db (#15255) 2025-05-09 17:10:25 +02:00
Guillaume Jacquart e34bca779b fix(core): Fix Insights concurrency issues for legacy sqlite (#15028) 2025-05-09 16:52:24 +02:00
Guillaume Jacquart ae27b48ee7 feat(core): Implement Insights pruning system (#14468)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-05-09 14:51:58 +02:00
Guillaume Jacquart 392e91480a fix(core): Add mechanism to prevent concurrent compaction on Insights (#14988)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-08 12:18:51 +02:00
Iván Ovejero ade546fb48 refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
Iván Ovejero ca0e7ffe3b refactor(core): Separate license state from license service (#15097) 2025-05-06 09:43:08 +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 9c0e0f0d2e refactor(core): Decouple leadership-change handlers using decorators (#15009) 2025-04-30 12:59:57 +02:00
Iván Ovejero a88b889309 refactor(core): Introduce @OnLifecycleEvent decorator (#14987) 2025-04-30 10:15:56 +02:00
Iván Ovejero 20115a8fa1 refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +02:00
Iván Ovejero 70b93f2f53 refactor(core): Split out database types (#14942) 2025-04-28 16:15:20 +02:00
Iván Ovejero 2d60e469f3 refactor(core): Introduce @OnLeaderTakeover and @OnLeaderStepdown (#14940) 2025-04-28 10:53:01 +02:00
Guillaume Jacquart 28596a633e feat(core): Implement granularity and date range filtering on insights (#14841) 2025-04-25 13:54:24 +02:00
Iván Ovejero e6381e09e3 refactor(core): Introduce @n8n/decorators package (#14784) 2025-04-23 16:39:49 +02:00
Iván Ovejero 14d8ae1c1a refactor(core): Remove legacy middleware from insights module (#14819) 2025-04-23 12:18:22 +02:00
Guillaume Jacquart 27f223d294 fix(core): Disable insights for sqlite legacy (#14824) 2025-04-23 12:01:02 +02:00
Guillaume Jacquart e83a64b84a fix(core): Handle infinite max history for insights date range (#14794) 2025-04-22 17:44:28 +02:00
Guillaume Jacquart 65d6b2382d feat(core): Add insights date ranges option to frontend settings (#14792) 2025-04-22 16:58:37 +02:00
Guillaume Jacquart eaf6783eb5 feat(core): Split insights service (#14469) 2025-04-22 12:40:31 +02:00
Iván Ovejero 6f92d26bbc refactor(core): Decouple insights module from multi-main (#14778) 2025-04-22 10:40:53 +02:00
Guillaume Jacquart 88ed7beff2 feat(core): Enable insights for sqlite legacy (#14606) 2025-04-22 10:38:34 +02:00
Guillaume Jacquart 513f20a902 fix(core): Reschedule Insights flushing after skipping for empty buffer (#14637) 2025-04-15 11:42:22 +02:00