Commit graph

1287 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ d554128457
fix(cli): include "auth-excluded" endpoints on the history middleware as well (#4028)
right now endpoints defined in `N8N_AUTH_EXCLUDE_ENDPOINTS` are skipping the JWT auth, and the history middleware is returning 404 on these urls. This change ensures that these endpoints skip all auth-related middlewares.
2022-09-05 20:39:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6be999714f
feat(cli): add external hooks for when members are added or deleted (#3988) 2022-09-05 09:03:05 +02:00
Jonathan Bennetts fc6484ba4d
fix(core): Fix MySQL migration issue with table prefix (#4013)
* Fix mysql migration issue on execution entity

* Fix one down migration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-09-03 20:02:39 +02:00
Aaron Delasy 49c85a1df8
fix: correct all the spelling typos (#3960)
* Improve code health
Fix TS typos in local variables
Fix CSS typos in local styles
Fix typos in comments
Fix typos in strings

* Fix order of n8n setup sections in CONTRIBUTING.md
2022-09-02 16:13:17 +02:00
Omar Ajoue a3791c22b3
feat: add possibility to configure stop time for workers (#4012)
* feat: add a timer to gracefully control how long workers wait before exiting
2022-09-02 15:40:45 +02:00
Jan Oberhauser 47546bb279 🔖 Release n8n@0.193.3 2022-09-01 18:07:48 +02:00
Jan Oberhauser 3b169ef856 ⬆️ Set n8n-core@0.133.1, n8n-editor-ui@0.159.2 and n8n-nodes-base@0.191.1 on n8n 2022-09-01 18:07:11 +02:00
Ben Hesseldieck 936cb11789
fix(cli): initialize mailer just if connection can be verified (#3997) 2022-09-01 14:57:14 +02:00
Jan Oberhauser c0c10b8961 🔖 Release n8n@0.193.2 2022-09-01 09:48:59 +02:00
Omar Ajoue 2a539d7849
Fix missing slash in oauth2 urls (#3991) 2022-09-01 09:36:45 +02:00
Jan Oberhauser 69c8a6b2ab 🔖 Release n8n@0.193.1 2022-08-31 18:47:27 +02:00
Jan Oberhauser 28f6e033f2 ⬆️ Set n8n-editor-ui@0.159.1 on n8n 2022-08-31 18:46:34 +02:00
Jan Oberhauser e05fde0c16 🔖 Release n8n@0.193.0 2022-08-31 14:49:00 +00:00
Jan Oberhauser f987772a4c ⬆️ Set n8n-core@0.133.0, n8n-editor-ui@0.159.0, n8n-nodes-base@0.191.0 and n8n-workflow@0.115.0 on n8n 2022-08-31 14:48:59 +00:00
कारतोफ्फेलस्क्रिप्ट™ 398adb23e8
feat(docker): reduce the size of alpine docker images (#3973)
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies

Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
Tzachi Shirazi 349826e87f
fix: Fix credentials_entity table migration for mysql (#3979)
Fixed table not found
2022-08-30 15:12:37 +02:00
Ben Hesseldieck fc2ff35c41
fix(editor): sending data as query on DELETE method (#3972)
* 🐛 fix sending data as query on DELETE method

* 👕 add type to imports

* 💪 enhance test
2022-08-30 11:54:50 +02:00
Omar Ajoue b5c831122c
Add some tests to ActiveExecutions file (#3957)
* Add some tests to ActiveExecutions file
2022-08-30 10:49:30 +02:00
Cornelius Suermann 3939d52851
docs(license): Introduce n8n Enterprise License (#3945) 2022-08-29 22:08:42 +02:00
pemontto ff31b961b7
Use instance URL for OAuth callback (#3560)
Use editor URL instead of webhook url for oauth connections
2022-08-29 12:53:57 +02:00
freya 1e6b1b8227
Moving /executions endpoints to separate file (#3952)
* 🎨 - Moved /executions endpoints from Server.ts to api/exeutions.api.ts
2022-08-26 17:31:28 +02:00
Michael Kret 8954ae3889
Refactor workflow endpoints to a dedicated file
*  /workflow/** moved to dedicated file
2022-08-26 17:26:32 +02:00
Jan Oberhauser 47664e6580 🔖 Release n8n@0.192.2 2022-08-25 16:11:05 +02:00
Jan Oberhauser 5de50494ce ⬆️ Set n8n-editor-ui@0.158.2 on n8n 2022-08-25 16:10:22 +02:00
Jan Oberhauser 128f7b92af 🔖 Release n8n@0.192.1 2022-08-25 11:59:15 +02:00
Jan Oberhauser b23b0158e1 ⬆️ Set n8n-editor-ui@0.158.1 on n8n 2022-08-25 11:58:38 +02:00
Iván Ovejero f0521873e1
fix(cli): Account for non-array in pindata migration (#3938)
🗃️ Account for non-array in pindata migration
2022-08-25 11:19:59 +02:00
Jan Oberhauser 4fba6a883a :refactor: Fix lint issues 2022-08-24 16:50:36 +02:00
Jan Oberhauser 5a1dd3fd1a 🔖 Release n8n@0.192.0 2022-08-24 14:22:31 +00:00
Jan Oberhauser 2e4339eda6 ⬆️ Set n8n-core@0.132.0, n8n-editor-ui@0.158.0, n8n-nodes-base@0.190.0 and n8n-workflow@0.114.0 on n8n 2022-08-24 14:22:31 +00:00
कारतोफ्फेलस्क्रिप्ट™ 544b880dfa
fix(cli): Fix the tests, that broke after #3919 (#3935) 2022-08-24 16:07:53 +02:00
कारतोफ्फेलस्क्रिप्ट™ 7d74ddab29
feat(cli): notify external hooks about user profile and password changes (#3919) 2022-08-24 13:47:26 +02:00
Omar Ajoue 2d6eea82d3
fix(cli): Init nodes dir to ensure npm install succeeds (#3934)
Init nodes folder when created so npm doesnt fail
2022-08-24 11:58:47 +02:00
Iván Ovejero ab45898a69
fix(cli): Account for unparseable string in JSON key migration (#3927)
 Account for unparseable string in JSON key migration
2022-08-23 17:13:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ f22bd2805d
fix(cli): tsc build errors should fail turborepo builds as well (#3923) 2022-08-23 17:06:20 +02:00
Iván Ovejero 1d4f92a657
fix(cli): Fix excessive instantiation type error for flattened execution (#3921)
* 📘 Fix excessive instantiation error

* ♻️ Simplify interface for TypeORM
2022-08-23 15:27:04 +02:00
Iván Ovejero b1e715299d
feat(core, editor): Support pairedItem for pinned data (#3843)
* 📘 Adjust interface

*  Adjust pindata in state store

*  Add utils

*  Replace utils calls

*  Adjust pindata intake and display

* 🔥 Remove excess BE fixes

* 📝 Update comment

* 🧪 Adjust tests

* 🔥 Remove unneeded helper

* 🚚 Improve naming

* 🧹 Clean up `ormconfig.ts`

* 📘 Add types and type guards

*  Improve serializer for sqlite

*  Create migration utils

*  Set up sqlite serializer

* 🗃️ Write sqlite migration

* 🗃️ Write MySQL migration

* 🗃️ Write Postgres migration

*  Add imports and exports to barrels

* 🚚 Rename `runChunked` to `runInBatches`

*  Improve migration loggers

* ♻️ Address feedback

* 🚚 Improve naming
2022-08-22 17:46:22 +02:00
Iván Ovejero 6bd7a09a45
fix(core): Account for enabled state in first pinned trigger (#3912)
🐛 Account for enabled state in first pinned trigger
2022-08-22 17:45:06 +02:00
Iván Ovejero 4f3043c65f
Fix community package update (#3914)
* 🐛 Fix community package update by using `npm i pkg@latest` always
2022-08-22 13:11:51 +02:00
Iván Ovejero 7f57dd5827
refactor(core): Update PostHog hooks URL (#3911)
 Update PostHog hooks URL
2022-08-22 10:20:00 +02:00
Iván Ovejero 17799cda46
fix(core): Fix pinned trigger execution (#3895)
🐛 Fix pinned trigger execution
2022-08-19 17:52:05 +02:00
Iván Ovejero 43e054f5ab
feat(editor, core): Integrate PostHog (#3865)
* Integrate PostHog - Part 1: Groundwork (#3753)

* Integrate PostHog - Part 2: Event capture (#3779)

* Integrate PostHog - Part 3: Session recordings (#3789)

* Integrate PostHog - Part 4: Experiments (#3825)

* Finalize PostHog integration (#3866)

* 📦 Update `package-lock.json`

* 🐛 Account for absent PH hooks file

*  Create new env `EXTERNAL_FRONTEND_HOOKS_FILES`

*  Adjust env used for injecting PostHog

* 🐛 Switch to semicolon delimiter

*  Simplify to `externalFrontendHookPath`

* Refactor FE hooks flow (#3884)

* Add env var for session recordings

* inject frontend hooks even when telemetry is off

* allow multiple hooks files

* cr

* 🐛 Handle missing ref errors

* 🔥 Remove outdated `continue`

* 🎨 Change one-liners to blocks

* 📦 Update `package-lock.json`

Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
2022-08-19 15:35:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ c65458c154
[N8N-4355] Use safer templating for UserManagement emails (#3893) 2022-08-19 12:45:22 +02:00
कारतोफ्फेलस्क्रिप्ट™ dc8f8b7874
[N8N-4339] Unify all Cron-specific code. Improve typing, and add tests. (#3887) 2022-08-19 12:45:04 +02:00
Jan Oberhauser 00ab330c15 🔖 Release n8n@0.191.1 2022-08-19 10:46:11 +02:00
Jan Oberhauser 34dd61e30e ⬆️ Set n8n-editor-ui@0.157.1 on n8n 2022-08-19 10:45:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9bf71e73cc
pass config as an additional param to external hooks (#3898) 2022-08-18 17:36:26 +02:00
Jan Oberhauser 6ed7f9672d 🔖 Release n8n@0.191.0 2022-08-17 11:22:10 +00:00
Jan Oberhauser 0ed225fe13 ⬆️ Set n8n-core@0.131.0, n8n-editor-ui@0.157.0, n8n-nodes-base@0.189.0 and n8n-workflow@0.113.0 on n8n 2022-08-17 11:22:09 +00:00
Omar Ajoue f782bcd52d
fix(core): Fix issue with not displayed child workflow executions (#3867) 2022-08-12 14:31:11 +02:00