Eugene and GitHub
11f9212eda
chore: Add test run entity (no-changelog) ( #11832 )
2024-11-27 14:33:28 +01:00
Eugene and GitHub
459e6aa9bc
chore: Add new table for test metrics (no-changelog) ( #11848 )
2024-11-25 10:38:51 +01:00
Eugene and GitHub
76262ef899
chore: Migrate test definition PK to string nanoid (no-changelog) ( #11742 )
2024-11-14 18:47:57 +01:00
Eugene and GitHub
d9259a2d93
chore: Add description field to test definition (no-changelog) ( #11691 )
2024-11-14 14:45:02 +01:00
e875bc5592
feat(core): Add internal API for test definitions (no-changelog) ( #11591 )
...
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com >
2024-11-12 10:28:32 +01:00
Iván Ovejero and GitHub
4c41575098
refactor(core): Mark finished as deprecated ( #11682 )
2024-11-11 18:12:41 +01:00
5c69ba2c44
chore: Create table and typeorm entity for test definitions (no-changelog) ( #11505 )
...
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com >
2024-11-06 14:35:45 +01:00
52dd2c7619
feat(core): Dedupe ( #10101 )
...
Co-authored-by: Jan Oberhauser <jan@n8n.io >
Co-authored-by: Giulio Andreini <g.andreini@gmail.com >
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com >
Co-authored-by: Elias Meire <elias@meire.dev >
2024-10-10 16:12:05 +01:00
Iván Ovejero and GitHub
afda049491
refactor(core): Separate execution startedAt from createdAt ( #10810 )
2024-09-27 13:32:12 +02:00
a13a4f7442
refactor: Move API keys into their own table (no-changelog) ( #10629 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
2024-09-26 08:58:49 -04:00
Eugene and GitHub
efc5d859eb
chore: Correct naming of annotation-related files ( #10946 )
2024-09-26 13:15:08 +02:00
6a35812f92
ci: Setup biome and pre-commit hooks for formatting (no-changelog) ( #10795 )
...
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com >
2024-09-17 15:10:22 +03:00
Tomi Turtiainen and GitHub
5156313074
refactor(core): Enable import/order eslint rule ( #10794 )
2024-09-12 19:07:18 +03:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
7d6ec6544e
fix(core): Fix the type for InstalledNodes.latestVersion (no-changelog) ( #10782 )
2024-09-12 11:14:03 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
a1e011dd2a
refactor(editor): Enable collaboration features only in NodeView v2 (no-changelog) ( #10756 )
2024-09-11 14:22:55 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
8450ec5a5c
fix(core): Do not serialize CredentialsEntity.shared anymore (no-changelog) ( #10753 )
2024-09-10 16:35:39 +02:00
022ddcbef9
feat(core): Execution curation ( #10342 )
...
Co-authored-by: oleg <me@olegivaniv.com >
2024-09-02 15:20:08 +02:00
Iván Ovejero and GitHub
6485ca0a4b
refactor(core): Enforce filename casing in cli package (no-changelog) ( #10594 )
2024-08-28 17:57:46 +02:00
Iván Ovejero and GitHub
fd58a272e1
refactor(core): Standardize filename casing for controllers and databases (no-changelog) ( #10564 )
2024-08-27 16:44:32 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
9fe6a71690
feat(core): Logout should invalidate the auth token (no-changelog) ( #10335 )
2024-08-22 09:33:06 +02:00
Iván Ovejero and GitHub
91467ab325
fix(core): Fix XSS validation and separate URL validation ( #10424 )
2024-08-16 10:49:08 +02:00
Tomi Turtiainen and GitHub
afa43e75f6
test(core): Move unit tests closer to testable components (no-changelog) ( #10287 )
2024-08-05 12:12:25 +03:00
Ricardo Espinoza and GitHub
cf70b06545
feat(core): Show Public API key value only once (no-changelog) ( #10126 )
2024-07-29 14:13:54 -04:00
Danny Martini and GitHub
2e6b03b2cb
fix(core): Prevent multiple values in the execution metadata for the same key and executionId ( #9953 )
2024-07-10 12:47:43 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
c7d4b471c4
refactor(core): Move backend config to a separate package (no-changelog) ( #9325 )
2024-07-05 11:43:27 +02:00
Iván Ovejero and GitHub
44ea4c73eb
refactor: Remove unused lint directives (no-changelog) ( #9842 )
2024-06-24 12:13:18 +02:00
Ricardo Espinoza and GitHub
dda7901398
fix: Introduce HooksService ( #8962 )
2024-06-11 07:28:45 -04:00
Danny Martini and GitHub
6187cc5762
feat(core): Implement project:viewer role ( #9611 )
2024-06-06 11:55:48 +02:00
Danny Martini and GitHub
05f50c1926
fix(core): Mark Project.name as non nullable (no-changelog) ( #9568 )
2024-05-31 17:10:21 +02:00
5887ed6498
refactor(core): Extract all Auth-related User columns into a separate entity ( #9557 )
...
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io >
2024-05-31 09:40:19 +02:00
Iván Ovejero and GitHub
bc219e0499
refactor(core): Make execution status non-nullable (no-changelog) ( #9483 )
2024-05-22 16:56:05 +02:00
+6
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
कारतोफ्फेलस्क्रिप्ट™ and GitHub
5025d209ca
fix(core): All calls to plainToInstance should exclude extraneous values (no-changelog) ( #9338 )
2024-05-08 15:49:41 +02:00
Iván Ovejero and GitHub
b8ab049932
refactor(core, editor): Remove legacy nodesAccess (no-changelog) ( #9016 )
2024-04-05 13:17:34 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
d1b48ddcac
fix(core): Remove sensitive data from User entity during serialization (no-changelog) ( #8773 )
2024-02-29 14:20:39 +01:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
8e392cfc1d
feat(core): Migrate to n8n's typeorm fork ( #8590 )
2024-02-08 15:13:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
d6deceacde
refactor(core): Remove roleId indirection (no-changelog) ( #8413 )
2024-01-24 13:38:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
f69ddcd796
refactor(core): Use Dependency Injection for all Controller classes (no-changelog) ( #8146 )
...
## Review / Merge checklist
- [x] PR title and summary are descriptive
2023-12-27 11:50:43 +01:00
9dc491c3a5
refactor(core): Improve test-webhooks (no-changelog) ( #8069 )
...
Remove duplication, improve readability, and expand tests for
`TestWebhooks.ts` - in anticipation for storing test webhooks in Redis.
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
2023-12-19 17:32:02 +01:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
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 and GitHub
c378f60a25
refactor(core): Introduce password utility (no-changelog) ( #7979 )
...
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.
Continue breaking down `UserManagementHelper.ts`
...
#### How to test the change:
1. ...
## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers
...
## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md ))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs ) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again. A feature is not complete without tests.
>
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227 )
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce )
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e ).
2023-12-11 18:23:42 +01:00
Iván Ovejero and GitHub
7a86d36068
feat(core): Allow user role modification ( #7797 )
...
https://linear.app/n8n/issue/PAY-985
```
PATCH /users/:id/role
unauthenticated user
✓ should receive 401 (349 ms)
member
✓ should fail to demote owner to member (349 ms)
✓ should fail to demote owner to admin (359 ms)
✓ should fail to demote admin to member (381 ms)
✓ should fail to promote other member to owner (353 ms)
✓ should fail to promote other member to admin (377 ms)
✓ should fail to promote self to admin (354 ms)
✓ should fail to promote self to owner (371 ms)
admin
✓ should receive 400 on invalid payload (351 ms)
✓ should receive 404 on unknown target user (351 ms)
✓ should fail to demote owner to admin (349 ms)
✓ should fail to demote owner to member (347 ms)
✓ should fail to promote member to owner (384 ms)
✓ should fail to promote admin to owner (350 ms)
✓ should be able to demote admin to member (354 ms)
✓ should be able to demote self to member (350 ms)
✓ should be able to promote member to admin (349 ms)
owner
✓ should be able to promote member to admin (349 ms)
✓ should be able to demote admin to member (349 ms)
✓ should fail to demote self to admin (348 ms)
✓ should fail to demote self to member (354 ms)
```
2023-11-24 11:40:08 +01:00
Val and GitHub
865192adf0
feat: Add global admin role (no-changelog) ( #7781 )
...
Github issue / Community forum post (link here to close automatically):
2023-11-23 13:38:11 +00:00
Csaba Tuncsik and GitHub
e2ffd397fc
fix(editor): Handle permission edge cases (empty scopes) ( #7723 )
2023-11-16 18:08:23 +01:00
Val and GitHub
d39bb2540f
feat: Add scopes to /login endpoint (no-changelog) ( #7718 )
...
Github issue / Community forum post (link here to close automatically):
2023-11-16 11:11:55 +00:00
Iván Ovejero and GitHub
c857e42677
feat(core): Coordinate workflow activation in multiple main scenario in internal API ( #7566 )
...
Story: https://linear.app/n8n/issue/PAY-926
This PR coordinates workflow activation on instance startup and on
leadership change in multiple main scenario in the internal API. Part 3
on manual workflow activation and deactivation will be a separate PR.
### Part 1: Instance startup
In multi-main scenario, on starting an instance...
- [x] If the instance is the leader, it should add webhooks, triggers
and pollers.
- [x] If the instance is the follower, it should not add webhooks,
triggers or pollers.
- [x] Unit tests.
### Part 2: Leadership change
In multi-main scenario, if the main instance leader dies…
- [x] The new main instance leader must activate all trigger- and
poller-based workflows, excluding webhook-based workflows.
- [x] The old main instance leader must deactivate all trigger- and
poller-based workflows, excluding webhook-based workflows.
- [x] Unit tests.
To test, start two instances and check behavior on startup and
leadership change:
```
EXECUTIONS_MODE=queue N8N_LEADER_SELECTION_ENABLED=true N8N_LICENSE_TENANT_ID=... N8N_LICENSE_ACTIVATION_KEY=... N8N_LOG_LEVEL=debug npm run start
EXECUTIONS_MODE=queue N8N_LEADER_SELECTION_ENABLED=true N8N_LICENSE_TENANT_ID=... N8N_LICENSE_ACTIVATION_KEY=... N8N_LOG_LEVEL=debug N8N_PORT=5679 npm run start
```
2023-11-07 13:48:48 +01:00
Iván Ovejero and GitHub
62c096710f
refactor: Run lintfix (no-changelog) ( #7537 )
...
- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
2023-10-27 14:15:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ and GitHub
0132514f8b
fix(core): Use consistent timezone-aware timestamps in postgres ( #6948 )
...
Fixes:
* ENG-51 / N8N-2490
* PAY-397
* #2178
* #2810
* #3855
Supersedes #2813
[DB
Tests](https://github.com/n8n-io/n8n/actions/runs/6000780146/job/16273596338 )
2023-09-27 18:44:47 +02:00
Val and GitHub
0083a9e45d
feat(core): Initial workflow history API ( #7234 )
...
Github issue / Community forum post (link here to close automatically):
2023-09-27 15:22:39 +01:00
Mutasem Aldmour and GitHub
01e9340621
feat: Add onboarding flow ( #7212 )
...
Github issue / Community forum post (link here to close automatically):
2023-09-25 15:49:36 +02:00