Ricardo Espinoza
66f8c9e249
refactor(core): Encapsulate logic to create new credential into its own method ( #12361 )
2024-12-27 08:26:36 -05:00
Iván Ovejero
f754b22a3f
refactor(core): Mark all backend Enterprise Edition files and dirs ( #12350 )
2024-12-24 13:02:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
471d7b9420
refactor(core): Move Logger to core (no-changelog) ( #12310 )
2024-12-23 13:46:13 +01:00
Iván Ovejero
3a9c65e1cb
refactor(core): Modernize logger service ( #11031 )
2024-10-01 12:16:09 +02:00
Iván Ovejero
73daabbd0e
docs(core): Document access checks ( #10929 )
2024-09-24 11:02:39 +02:00
Tomi Turtiainen
5156313074
refactor(core): Enable import/order eslint rule ( #10794 )
2024-09-12 19:07:18 +03:00
कारतोफ्फेलस्क्रिप्ट™
8450ec5a5c
fix(core): Do not serialize CredentialsEntity.shared anymore (no-changelog) ( #10753 )
2024-09-10 16:35:39 +02: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
bc958be93b
refactor(core): Convert verbose to debug logs ( #10574 )
2024-08-28 09:32:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
ab9835126e
refactor(core): Use @/databases/ instead of @db/ (no-changelog) ( #10573 )
2024-08-27 17:24:20 +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
Val
613cdd2ba2
fix: Project Viewer always seeing a connection error when testing credentials ( #10417 )
2024-08-15 10:39:48 +02:00
Val
697bc90b0b
feat: Allow sharing to and from team projects (no-changelog) ( #10144 )
2024-08-09 12:59:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
48f047ee2e
fix(core): Redact csrfSecret when returning oauth credentials to the frontend ( #10075 )
2024-07-16 18:09:56 +02:00
Danny Martini
0f495986f8
fix(core): Allow owner and admin to edit nodes with credentials that haven't been shared with them explicitly ( #9922 )
2024-07-09 16:25:50 +02:00
Iván Ovejero
8e529219df
refactor(core): Lint to restrict @n8n/typeorm to persistence layer (no-changelog) ( #9840 )
2024-06-24 10:24:05 +02:00
Danny Martini
2cf4364ee0
fix: When editing nodes only show the credentials in the dropdown that the user is allowed to use in that workflow ( #9718 )
2024-06-14 14:48:49 +02:00
Danny Martini
6187cc5762
feat(core): Implement project:viewer role ( #9611 )
2024-06-06 11:55:48 +02:00
कारतोफ्फेलस्क्रिप्ट™
3094f1b886
fix(core): Detect DB connection aquisition deadlocks (no-changelog) ( #9485 )
...
Co-authored-by: Danny Martini <danny@n8n.io >
2024-05-22 14:53:23 +02:00
Csaba Tuncsik
596c472ecc
feat: RBAC ( #8922 )
...
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com >
Co-authored-by: Val <68596159+valya@users.noreply.github.com >
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
Co-authored-by: Valya Bullions <valya@n8n.io >
Co-authored-by: Danny Martini <danny@n8n.io >
Co-authored-by: Danny Martini <despair.blue@gmail.com >
Co-authored-by: Iván Ovejero <ivov.src@gmail.com >
Co-authored-by: Omar Ajoue <krynble@gmail.com >
Co-authored-by: oleg <me@olegivaniv.com >
Co-authored-by: Michael Kret <michael.k@radency.com >
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com >
Co-authored-by: Elias Meire <elias@meire.dev >
Co-authored-by: Giulio Andreini <andreini@netseven.it >
Co-authored-by: Giulio Andreini <g.andreini@gmail.com >
Co-authored-by: Ayato Hayashi <go12limchangyong@gmail.com >
2024-05-17 10:53:15 +02:00
Iván Ovejero
b8ab049932
refactor(core, editor): Remove legacy nodesAccess (no-changelog) ( #9016 )
2024-04-05 13:17:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
8e392cfc1d
feat(core): Migrate to n8n's typeorm fork ( #8590 )
2024-02-08 15:13:29 +01:00
Iván Ovejero
c4e39451db
refactor(core): Continue breaking dependency cycles (no-changelog) ( #8545 )
2024-02-06 10:08:46 +01:00
कारतोफ्फेलस्क्रिप्ट™
5832d3ca46
fix(core): Fix PermissionChecker.check, and add additional unit tests ( #8528 )
2024-02-02 12:21:53 +01:00
Iván Ovejero
dac511b710
refactor(core): Modernize credentials controllers and services (no-changelog) ( #8488 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
2024-01-31 09:48:48 +01:00
कारतोफ्फेलस्क्रिप्ट™
d6deceacde
refactor(core): Remove roleId indirection (no-changelog) ( #8413 )
2024-01-24 13:38:57 +01:00
Tomi Turtiainen
9a1cc56806
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) ( #8363 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
2024-01-17 17:08:50 +02:00
Iván Ovejero
e418d42450
refactor(core): Move typeorm operators from various sources into repositories (no-changelog) ( #8174 )
...
Follow-up to: #8165
2023-12-28 13:14:10 +01:00
Iván Ovejero
9ac8825a67
refactor(core): Move error execution creation to execution service (no-changelog) ( #8006 )
...
Continue breaking down legacy helpers.
Note: `getUserById` is unused.
2023-12-21 14:15:46 +01:00
कारतोफ्फेलस्क्रिप्ट™
464b565283
ci: Remove unnecessary async/await, enable await-thenable linting rule (no-changelog) ( #8076 )
...
## Summary
We accidentally made some functions `async` in
https://github.com/n8n-io/n8n/pull/7846
This PR reverts that change.
## Review / Merge checklist
- [x] PR title and summary are descriptive.
2023-12-19 13:52:42 +01:00
Iván Ovejero
38b88b946b
fix(core): Consolidate ownership and sharing data on workflows and credentials ( #7920 )
...
## Summary
Ensure `ownedBy` and `sharedWith` are present and uniform for
credentials and workflows.
Details in story: https://linear.app/n8n/issue/PAY-987
2023-12-05 10:11:18 +01:00
Val
1cb92ffe16
feat: Replace owner checks with scope checks (no-changelog) ( #7846 )
...
Github issue / Community forum post (link here to close automatically):
2023-11-29 14:48:36 +00: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
कारतोफ्फेलस्क्रिप्ट™
5edf722209
ci: Stop disabling linting rules that are explicitly set to warn (no-changelog) ( #7669 )
2023-11-09 14:05:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
05586a900d
refactor(core): Make Logger a service (no-changelog) ( #7494 )
2023-10-25 16:35:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
b6de910cbe
refactor(core): Abstract away InstanceSettings and encryptionKey into injectable services (no-changelog) ( #7471 )
...
This change ensures that things like `encryptionKey` and `instanceId`
are always available directly where they are needed, instead of passing
them around throughout the code.
2023-10-23 13:39:35 +02:00
Iván Ovejero
fd78021b68
feat(core): Add list query middleware to credentials ( #7041 )
2023-09-04 15:00:25 +02:00
Iván Ovejero
442b910ffb
refactor(core): Consolidate CredentialsService.getMany() (no-changelog) ( #7028 )
...
Consolidate `CredentialsService.getMany()` in preparation for adding
list query middleware to `GET /credentials`.
2023-09-04 10:37:16 +02:00
Alex Grozav
ed927d34b2
feat: External Secrets storage for credentials ( #6477 )
...
Github issue / Community forum post (link here to close automatically):
---------
Co-authored-by: Romain Minaud <romain.minaud@gmail.com >
Co-authored-by: Valya Bullions <valya@n8n.io >
Co-authored-by: Csaba Tuncsik <csaba@n8n.io >
Co-authored-by: Giulio Andreini <g.andreini@gmail.com >
Co-authored-by: Omar Ajoue <krynble@gmail.com >
2023-08-25 10:33:46 +02:00
Iván Ovejero
e4f041815a
perf(core): Cache roles ( #6803 )
...
* refactor: Create `RoleService`
* refactor: Refactor to use service
* refactor: Move `getUserRoleForWorkflow`
* refactor: Clear out old `RoleService`
* refactor: Consolidate utils into service
* refactor: Remove unused methods
* test: Add tests
* refactor: Remove redundant return types
* refactor: Missing utility
* chore: Remove commented out bit
* refactor: Make `Db.collections.Repository` inaccessible
* chore: Cleanup
* feat: Prepopulate cache
* chore: Remove logging
* fix: Account for tests where roles are undefined
* fix: Restore `prettier.prettierPath`
* test: Account for cache enabled and disabled
* fix: Restore `Role` in `Db.collections`
* refactor: Simplify by removing `orFail`
* refactor: Rename for clarity
* refactor: Use `cacheKey` for readability
* refactor: Validate role before creation
* refacator: Remove redundant `cache` prefix
* ci: Lint fix
* test: Fix e2e
2023-08-03 08:58:36 +02:00
Iván Ovejero
72523462ea
refactor: Clear unused ESLint directives from BE packages (no-changelog) ( #6798 )
2023-07-31 11:00:48 +02:00
Michael Auerswald
9294e2da3c
fix(core): Add empty credential value marker to show empty pw field ( #6532 )
...
add empty credential value marker to show empty pw field
2023-06-23 18:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
10f8c35dbb
refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) ( #5953 )
...
Co-authored-by: ricardo <ricardoespinoza105@gmail.com >
2023-04-12 10:59:14 +02:00
कारतोफ्फेलस्क्रिप्ट™
52f740b9e8
refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) ( #5509 )
...
* add typedi
* convert ActiveWorkflowRunner into an injectable service
* convert ExternalHooks into an injectable service
* convert InternalHooks into an injectable service
* convert LoadNodesAndCredentials into an injectable service
* convert NodeTypes and CredentialTypes into an injectable service
* convert ActiveExecutions into an injectable service
* convert WaitTracker into an injectable service
* convert Push into an injectable service
* convert ActiveWebhooks and TestWebhooks into an injectable services
* handle circular references, and log errors when a circular dependency is found
2023-02-21 19:21:56 +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
कारतोफ्फेलस्क्रिप्ट™
0a5ab560b1
refactor: Upgrade typeorm to 0.3.x ( #5151 )
2023-01-13 18:12:22 +01:00
कारतोफ्फेलस्क्रिप्ट™
ee28213538
refactor: Use string ids on Credentials, Workflows, Tags, and Executions DB entities ( #5041 )
2023-01-02 17:42:32 +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
कारतोफ्फेलस्क्रिप्ट™
365ffec3b2
fix: Make tests pass on MySQl and Postgres (no-changelog) ( #5005 )
2022-12-22 11:13:22 +01:00