1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-11 13:15:28 +03:00
Commit Graph

161 Commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™
9c4e67111c
ci: Add opencontainer image spec labels to the release Dockerfile (no-changelog) (#9822)
Co-authored-by: Nikolai T. Jensen <32718507+ch0wm3in@users.noreply.github.com>
2024-06-20 19:29:18 +02:00
कारतोफ्फेलस्क्रिप्ट™
b131d75a4d
ci: Fix ARM custom images (no-changelog) (#9821) 2024-06-20 16:44:13 +02:00
कारतोफ्फेलस्क्रिप्ट™
6ea8607716
ci: Switch to Node.js 20 by default. Add initial support for Node.js 22 (#9501) 2024-05-24 12:32:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
6059722fbf
feat(core): Allow using a custom certificates in docker containers (#8705)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-05-14 17:20:21 +02:00
Jon
3fbcbce362
docs: Update link to postgres example (#9244) 2024-04-29 11:22:50 +02:00
Jon
1e750c26b7
docs: Update docker readme (#8752) 2024-02-27 15:34:16 +00:00
कारतोफ्फेलस्क्रिप्ट™
e1a4fde207
fix(core): Define SHELL env variable on docker images (#8670) 2024-02-19 11:50:20 +01:00
कारतोफ्फेलस्क्रिप्ट™
4f3de9ab3c
ci: Skip running postInstall scripts for all packages except sqlite3 (no-changelog) (#8514) 2024-01-31 17:27:46 +01:00
कारतोफ्फेलस्क्रिप्ट™
1db35c18e9
refactor(core): Rebuild docker infrastructure (#8451) 2024-01-26 13:18:49 +01:00
कारतोफ्फेलस्क्रिप्ट™
c158ca2471
refactor(core): Upgrade more dependencies to remove axios 0.x (no-changelog) (#8105)
Had to [fork localtunnel](https://github.com/n8n-io/localtunnel) to get
the axios upgrade, since localtunnel doesn't seem to be actively maintained.
2023-12-22 11:39:20 +01:00
Benjamin Loison
61129863f1
docs: Replace http://faircode.io to https://faircode.io in .md files (#7908)
## Summary

Commit generated with:

```bash
grep -rl 'http://faircode.io' --include=*.md . | xargs sed -i 's/http:\/\/faircode.io/https:\/\/faircode.io/g'
```

## Review / Merge checklist
- [X] 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.
2023-12-12 15:23:22 +00:00
oleg
e4ae11c2ad
fix: Remove Tensorflow embeddings node (no-changelog) (#7922)
## Summary
This PR removes `embeddingsTensorFlow` node and reverts our fix to
accommodate the Docker build in #7893 .
The node itself has been extracted as a [community node available from
npm](https://www.npmjs.com/package/n8n-nodes-tensorflow)

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-04 17:48:10 +01:00
oleg
bcd04981ef
ci: Fix Docker build and use multi-step approach (no-changelog) (#7893)
Due to new dependencies released in `1.19`, the docker build is failing
due to missing build dependencie. To get around this, we split the build
into two phases. In the building phase, we install the build
dependencies required to compile new module bindings and copy the result
in the second phase.

Github issue / Community forum post (link here to close automatically):

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-01 12:58:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
054c4bacd5 ci: Fix docker build for release process (no-changelog) 2023-11-29 15:54:36 +01:00
कारतोफ्फेलस्क्रिप्ट™
d5762a7539
ci: Fix docker builds for releases (#7865) 2023-11-29 15:25:50 +01:00
Kamil Essekkat
bd5ea455e1
docs: Mention UID in the docker examples (#7281) 2023-10-13 11:56:43 +01:00
कारतोफ्फेलस्क्रिप्ट™
bc9fa10b06 ci: Remove scheduled build for beta, and fix the inputs (no-changelog) 2023-10-03 21:45:13 +02:00
कारतोफ्फेलस्क्रिप्ट™
101255d186
ci: Make builds release-channel aware. Add support for scheduled beta builds (#7323)
ADO-1121

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-10-03 20:49:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
1b4247498b ci: Trim FE package.json files before publishing (no-changelog) 2023-08-31 14:45:44 +02:00
Iván Ovejero
7ce5d8fd90
refactor: Upgrade to Prettier 3 (no-changelog) (#6947)
Supersedes https://github.com/n8n-io/n8n/pull/6937

Excluding fixtures and test workflow JSONs to avoid having to update
tests.
2023-08-16 17:13:57 +02:00
कारतोफ्फेलस्क्रिप्ट™
34df8b6238
refactor: Consolidate tsconfig and eslintrc files (no-changelog) (#6816)
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2023-08-01 17:32:43 +02:00
Ali Afsharzadeh
ed9f86bb95
fix(core): Use exec in docker images to forward signals correctly (#6732) 2023-07-25 17:08:58 +02:00
Sandra Ashipala
0c47be254b
fix: Minor grammar adjustment (no-changelog) (#6626) 2023-07-13 14:15:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
b701dcb8ef
ci!: Drop support for Node.js 16. Add initial support for Node.js 20 (#6649)
We need to drop node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

`0.236.x` releases will continue to support Node.js 16 for another two months, and `1.x.x` releases will only support Node.js 18 for now.
2023-07-12 15:03:23 +02:00
कारतोफ्फेलस्क्रिप्ट™
05007d894e
fix(core): Update docker compose setup for V1 images (#6642) 2023-07-12 11:55:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
f217e1f149 ci: fix docker build for release images (no-changelog) 2023-06-27 17:13:28 +02:00
Iván Ovejero
8c008f5d22 refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options (#6362)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 20:03:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
f024d8be5a ci!: Update docker images for v1 release (#6365)
* ci: Remove debian and rhel7 images

* include libc6-compat in all alpine images

* run all n8n docker containers as the user `node` instead of `root`

* upgrade the default version of npm bundled in all containers

* consolidate docker entrypoints
2023-06-22 19:57:59 +02:00
कारतोफ्फेलस्क्रिप्ट™
968b733fd6
ci: Add support for Node.js 18 (#5793)
* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
2023-06-02 15:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
e88b9d880a
feat(core): Include openssh in the base docker image (no-changelog) (#6275) 2023-05-19 12:16:29 +02:00
Jimw383
4d5756cd01
ci: Use --chown=node:node in COPY commands in the custom docker image (no-changelog) (#5913)
add --chown=node:node to COPY commands

By adding `--chown=node:node` when copying the source and removing `RUN chown -R node:node .`, we save several minutes during the image building process.
2023-04-12 15:45:01 +02:00
Cornelius Suermann
573bc8bcea
docs: Refer to docker.n8n.io/n8nio/n8n for pulling n8n docker images (no-changelog) (#5763) 2023-03-23 15:38:01 +01:00
OlegIvaniv
8fe34f543e
ci: Copy jest.config.js to the Docker container on deployment (no-changelog) (#5689)
ci: Copy `jest.config.js` to the Docker container on deployment (no-changelog)
2023-03-14 18:46:41 +01:00
OlegIvaniv
dbcbe595cc
ci(core): Fix docker nightly/custom image build (no-changelog) (#5284)
* ci(core): Copy patches dir to Docker (no-changelog)

* Update patch

* Update package-lock

* reapply the patch

* skip patchedDependencies after the frontend is built

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-01-30 11:02:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
b4a5ff2430
refactor: Reduce custom docker image size by about 30% (#5104)
frontend dependencies are not needed after the image has been built.
2023-01-09 16:42:53 +01:00
कारतोफ्फेलस्क्रिप्ट™
c7b36ecfb2
ci: Make custom images consistent with the release images (no-changelog) (#4924) 2022-12-21 17:12:12 +01:00
कारतोफ्फेलस्क्रिप्ट™
d60a815a44
ci: Use a fixed version of NPM in the release process (no-changelog) (#4975)
ci: Use a fixed version of NPM in the release process
2022-12-21 09:52:10 -06:00
कारतोफ्फेलस्क्रिप्ट™
b80e38817d
ci: Add libc6-compat to nightly docker builds (no-changelog) (#4885)
ci: add libc6-compat to nightly docker build (no-changelog)
2022-12-11 21:15:13 +01:00
कारतोफ्फेलस्क्रिप्ट™
6d5ea0634c
fix: Use the same entrypoint for custom docker images as for the other images (no-changelog) (#4849)
* ci: Use the same entrypoint for custom docker images as for the other images

* update docker-compose examples to use the correct volume paths to work with custom images
2022-12-07 15:54:26 +01:00
Iván Ovejero
59771c80ea
feat(editor): Overhaul expression editor modal (#4631)
* feat(editor): Integrate CodeMirror into expression editor modal (#4563)

*  Initial setup

* 👕 Fix lint

*  Extract segments

*  Implement var insertion

* 👕 Ignore `.d.cts`

*  Refactor to simplify

*  Add brace handler

*  Fully replace input and output

* feat(editor): Adjust resolved expression to match parameter input hint (#4600)

*  Initial adjustments

* 🐛 Prevent empty decorations

*  Adjust resolved expression to match param input hint

* ✏️ Improve comment

* 👕 Remove lint rule

* ✏️ Fix typo

* ✏️ Fix closing brace

*  Clean up `displayableSegments()`

* feat(editor): Apply styling to expression editor modal (#4607)

🎨 Apply styling

* feat(core): Improve errors in evaluated expression (#4619)

* 🐛 Fix env var access for FE

* 🔥 Remove excess closing bracket

* 🚧 Set up TODO

* ✏️ Update copy

*  Deny env vars access to FE

* 👕 Remove unneeded lint exception

* 📘 Remove unneeded typing

* feat(editor): Dynamically delay evaluation resolution (#4625)

* ✏️ Update copy

*  Dynamically delay evaluation resolution

* 🔥 Remove unneeded computed property

* refactor(editor): Pre-review cleanup (#4627)

* 🔥 Remove `ExpressionInput` component

* 🔥 Remove Quill

* ✏️ Rename i18n key

* 🎨 Place border on correct element

* 🐛 Handle syntax errors

*  Add sample autocompletions

* 🐛 Fix auto-extending behavior

* feat(editor): Improve escaping behavior (#4641)

* 🎨 Hide hint on small screen

*  Improve escaping

* refactor(editor): Apply styling feedback to expression editor modal (#4660)

* 🎨 Restyle hint

* 🎨 Restyle param input hint

* 🔥 Remove `e.g.`

*  Tweak delay

* 🎨 Restyle output

* 🎨 Tweak theme

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.22 (#4697)

* 🎨 Change background color

*  Focus on mount

*  Account for preexisting braces on injection

* 🐛 Fix `$workflow` showing as not saved

* ✏️ Tweak copy

* 🐛 Fix readonly focus

*  Focus input on paste

*  Sync inputs with modal

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.23 (#4705)

*  Allow newlines

*  Set cursor at end of content

*  Do not defocus on paste on Chrome

*  Fix import

* 🧪 Add e2e tests

*  Cleanup

*  Add telemetry

* 🔥 Remove log

*  Expose error properties

* 🧪 Rename test

*  Move `getCurrentWorkflow()` call

*  Revert highlighting removal per feedback

*  Add i18n keys

* 🚚 Move computed property to local state

* 🎨 Use CSS vars

*  Update `pnpm-lock.yaml`

*  Apply readonly state

*  Use prop

*  Complete fix
2022-12-01 13:26:22 +01:00
Ricardo Espinoza
00bed61b39
fix: Issue building image with dependency name ending in .vue (no-changelog) (#4773)
🐛 Fix issue building image
2022-11-30 21:12:34 -05:00
कारतोफ्फेलस्क्रिप्ट™
63ceea2f60
fix: Docker custom image needs the scripts folder to build (no-changelog) (#4673) 2022-11-21 17:54:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
736777385c
feat: Switch from npm to pnpm (#4429) 2022-11-09 17:32:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
1c98f97e9e
ci: Revert support for node.js 18 (#4518) (#4537)
Revert "ci: Start supporting node.js 18 (#4518)"

This reverts commit 9ee292cd17.
2022-11-07 17:23:08 +01:00
कारतोफ्फेलस्क्रिप्ट™
9ee292cd17
ci: Start supporting node.js 18 (#4518)
* ci: start supporting node.js 18

Node.js 18 becomes the active LTS on 2022-10-25, as Node.js 16 goes into maintenance mode.
https://github.com/nodejs/Release#release-schedule

* continue using node 16 for production images

* node 16 for debian and base images as well for now
2022-11-07 15:51:57 +01:00
कारतोफ्फेलस्क्रिप्ट™
41cb0eec6e
feat(API): Set up error tracking using Sentry (#4394)
* feat(cli): Setup error tracking using Sentry

* make error reporting available in the workflows package

* address some of the PR comments

* create a ErrorReporterProxy like LoggerProxy

* remove the `captureError` helper. use ErrorReporterProxy directly

* fix linting issues

* remove ErrorReporterProxy warnings in tests

* check for NODE_ENV === 'production' instead

* IErrorReporter -> ErrorReporter

* ErrorReporterProxy.getInstance() -> ErrorReporter

* allow capturing stacks in warnings as well

* make n8n debugging consistent with `npm start`

* IReportingOptions -> ReportingOptions

* use consistent signature for `error` and `warn`

* use Logger instead of console.log
2022-11-04 17:34:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
a6cd95b9f3
ci: fix nightly builds (#4322) 2022-10-12 10:08:57 +02:00
कारतोफ्फेलस्क्रिप्ट™
e63eee28e0
fix(cli): Cache generated assets in user writable directory instead (#4275) 2022-10-06 11:14:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
fd22b3fbdf
fix(docker): allow node user to write to n8n/dist/public (#4245) 2022-09-30 17:24:26 +02:00
कारतोफ्फेलस्क्रिप्ट™
0b6a9585d4
fix(cli): add git to all docker images (#4189) 2022-09-26 12:43:36 +02:00