Ricardo Espinoza
e54a396088
refactor: Move api-keys
endpoints to their own controller ( #11000 )
2024-09-30 09:10:22 -04:00
Ricardo Espinoza
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
कारतोफ्फेलस्क्रिप्ट™
6de4dfff87
feat(editor): Setup Sentry integration ( #10945 )
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-24 17:49:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
769ddfdd1d
refactor(core): Move some request DTOs to @n8n/api-types (no-changelog) ( #10880 )
Test Master / install-and-build (push) Has been cancelled
Benchmark Docker Image CI / build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-09-20 21:14:06 +02:00
Tomi Turtiainen
5156313074
refactor(core): Enable import/order eslint rule ( #10794 )
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-12 19:07:18 +03:00
Eugene
022ddcbef9
feat(core): Execution curation ( #10342 )
...
Co-authored-by: oleg <me@olegivaniv.com>
2024-09-02 15:20:08 +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
कारतोफ्फेलस्क्रिप्ट™
ab9835126e
refactor(core): Use @/databases/
instead of @db/
(no-changelog) ( #10573 )
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
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
547a60642c
fix(core): Use class-validator with XSS check for survey answers ( #10490 )
...
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-08-21 16:18:16 +02:00
Iván Ovejero
91467ab325
fix(core): Fix XSS validation and separate URL validation ( #10424 )
2024-08-16 10:49:08 +02:00
Tomi Turtiainen
39c8e50ad0
fix: Require mfa code to change email ( #10354 )
2024-08-15 10:36:04 +03:00
Michael Kret
4d222ac19d
feat(AI Transform Node): New node ( #10405 )
...
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-08-14 16:20:02 +03:00
Mutasem Aldmour
5ed2a77740
feat: Add Ask assistant behind feature flag ( #9995 )
...
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
Co-authored-by: Milorad Filipovic <milorad@n8n.io>
2024-08-14 14:59:11 +02:00
Shireen Missi
bae0116d78
fix: Remove node AI Transform node (no-changelog) ( #10400 )
2024-08-14 13:01:14 +02:00
Tomi Turtiainen
3384f52a35
fix: Require mfa code to disable mfa ( #10345 )
2024-08-13 15:56:54 +03:00
Tomi Turtiainen
9d7caacc69
fix: Require mfa code for password change if its enabled ( #10341 )
2024-08-12 17:08:55 +03:00
Michael Kret
0de9d56619
feat(AI Transform Node): New node ( #9990 )
...
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-08-07 18:07:48 +03:00
Iván Ovejero
7056e50b00
feat(core): Allow filtering executions and users by project in Public API ( #10250 )
2024-08-02 14:16:17 +02:00
कारतोफ्फेलस्क्रिप्ट™
efb71dd9ad
fix(core): Fix oauth2 callback and add integration tests (no-changelog) ( #10272 )
2024-08-01 11:02:36 +02:00
कारतोफ्फेलस्क्रिप्ट™
a8e2774f53
fix(core): Make OAuth1/OAuth2 callback not require auth ( #10263 )
2024-07-31 15:03:37 +02:00
कारतोफ्फेलस्क्रिप्ट™
86018aa6e0
refactor(core): Remove Ask AI HTTP request feature (no-changelog) ( #9931 )
2024-07-04 12:09:45 +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
Mutasem Aldmour
50bd5b9080
feat: Update NPS Value Survey ( #9638 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-06-11 10:23:30 +02:00
कारतोफ्फेलस्क्रिप्ट™
1563bf571d
refactor(core): Move curl endpoint to its own controller (no-changelog) ( #9605 )
2024-06-05 10:43:09 +02:00
Tomi Turtiainen
d6a046b8ad
refactor: Update typings of /me/settings
and /users/:id/settings
endpoints (no-changelog) ( #9620 )
2024-06-05 09:35:43 +03:00
Danny Martini
202c91e7ed
feat(core): Allow transferring credentials from any project to any team project ( #9563 )
2024-06-04 13:54:48 +02:00
Iván Ovejero
a58be175cc
fix(core): Prevent re-parsing of dynamically loaded options ( #9503 )
2024-05-24 11:00:15 +02:00
कारतोफ्फेलस्क्रिप्ट™
b585777c79
refactor(core): Use consistent CSRF state validation across oAuth controllers ( #9104 )
...
Co-authored-by: Danny Martini <danny@n8n.io>
2024-05-23 19:08:01 +02:00
Iván Ovejero
d21ad15c1f
fix(core): Fix 431 for large dynamic node parameters ( #9384 )
2024-05-21 19:11:02 +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
कारतोफ्फेलस्क्रिप्ट™
5025d209ca
fix(core): All calls to plainToInstance
should exclude extraneous values (no-changelog) ( #9338 )
2024-05-08 15:49:41 +02:00
Milorad FIlipović
cda062bde6
feat(editor): Remove AI Error Debugging ( #9337 )
2024-05-08 14:13:47 +02:00
Alex Grozav
cd9bc44bdd
feat: Add Ask AI to HTTP Request Node ( #8917 )
2024-05-02 13:52:15 +03:00
कारतोफ्फेलस्क्रिप्ट™
28261047c3
feat(core): Prevent session hijacking ( #9057 )
2024-04-09 11:20:35 +02:00
Iván Ovejero
b8ab049932
refactor(core, editor): Remove legacy nodesAccess
(no-changelog) ( #9016 )
2024-04-05 13:17:34 +02:00
Alex Grozav
948c383999
feat: Add AI Error Debugging using OpenAI ( #8805 )
2024-03-13 16:48:00 +02: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
कारतोफ्फेलस्क्रिप्ट™
35fb7102cb
refactor(core): Update auth related typings (no-changelog) ( #8686 )
2024-02-23 15:08:18 +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
Iván Ovejero
7bb2d1799e
refactor(core): Consolidate executions controllers (no-changelog) ( #8349 )
2024-01-16 16:52:21 +01:00
Iván Ovejero
90c065e999
refactor(core): Convert workflows controller to DI (no-changelog) ( #8253 )
2024-01-08 12:54:23 +01:00
कारतोफ्फेलस्क्रिप्ट™
cfe9525dd4
fix(core): Better input validation for the changeRole endpoint ( #8189 )
...
also refactored the code to
1. stop passing around `scope === 'global'`, since this code can be used
only for changing globalRole.
2. leak less details when input validation fails.
## Review / Merge checklist
- [x] PR title and summary are descriptive
- [x] Tests included
2024-01-03 09:33:35 +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
Iván Ovejero
476806ebb0
feat(core): Allow admin creation ( #7837 )
...
https://linear.app/n8n/issue/PAY-1038
2023-11-29 13:55:41 +01:00
Iván Ovejero
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
Iván Ovejero
4c4082503c
feat(core): Coordinate manual workflow activation and deactivation in multi-main scenario ( #7643 )
...
Followup to #7566 | Story: https://linear.app/n8n/issue/PAY-926
### Manual workflow activation and deactivation
In a multi-main scenario, if the user manually activates or deactivates
a workflow, the process (whether leader or follower) that handles the
PATCH request and updates its internal state should send a message into
the command channel, so that all other main processes update their
internal state accordingly:
- Add to `ActiveWorkflows` if activating
- Remove from `ActiveWorkflows` if deactivating
- Remove and re-add to `ActiveWorkflows` if the update did not change
activation status.
After updating their internal state, if activating or deactivating, the
recipient main processes should push a message to all connected
frontends so that these can update their stores and so reflect the value
in the UI.
### Workflow activation errors
On failure to activate a workflow, the main instance should record the
error in Redis - main instances should always pull activation errors
from Redis in a multi-main scenario.
### Leadership change
On leadership change...
- The old leader should stop pruning and the new leader should start
pruning.
- The old leader should remove trigger- and poller-based workflows and
the new leader should add them.
2023-11-17 15:58:50 +01:00
कारतोफ्फेलस्क्रिप्ट™
fc60e9a809
refactor(core): Convert dynamic node-parameter routes to a decorated controller (no-changelog) ( #7284 )
...
1. Reduce a lot of code duplication
2. Move more endpoints out of `Server.ts`
3. Move all query-param parsing and validation into a middleware to make
the route handlers simpler.
2023-11-17 12:03:05 +01:00