कारतोफ्फेलस्क्रिप्ट™
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
Iván Ovejero
78119c9f22
refactor: Consolidate .prettierignore
patterns (no-changelog) ( #4692 )
...
* ⚡ Consolidate Prettier ignore patterns
* ⚡ Let Prettier select file types to format
* 🎨 Apply formatting
2022-11-22 14:11:29 +01: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
Alex Grozav
27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) ( #4061 )
...
* feat: Added vite.js dependencies.
* chore: Removed tests folder to follow same structure as design-system
* chore: Removed unused testing config.
* chore: Created vite.js index.html
* refactor: Updated scss structure and imports.
* refactor: Updated workflow building.
* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.
* feat: Got a working build using Vite. Need to fix issues next.
* fix: Progress! Getting process.env error.
* fix: Changed process.env to import.meta.env.
* fix: Fixed circular imports that used require(). Fixed monaco editor.
* chore: Removed commented code.
* chore: Cleaned up package.json
* feat: Made necessary changes to replace base path in css files.
* feat: Serve CSS files for `editor-ui` Vite migration (#4069 )
⚡ Serve CSS files for Vite migration
* chore: Fixed package-lock.json.
* fix: Fixed build after centralized tsconfig update.
* fix: Removed lodash-es replacement.
* fix: Commented out vitest test command.
* style: Fixed linting issues.
* fix: Added lodash-es hotfix back.
* chore: Updated package-lock.json
* refactor: Renamed all n8n scss variables to no longer be defined as private.
* feat(editor): add application-wide el-button replacement.
* fix(editor): Fix import in page alert after merge.
* chore(editor): update package-lock.json.
* fix: Case sensitive lodash-es replacement for vue-agile.
* fix: add alias for lodash-es camelcase import.
* fix: add patch-package support for fixing quill
* feat: add patch-package on postinstall
* fix: update quill patch path.
* refactor: rename quill patch
* fix: update quill version.
* fix: update quill patch
* fix: fix linting rules after installing eslint in design-system
* fix: update date picker button to have primary color
* test: update callout component snapshots
* fix(editor): fix linting issues in editor after enabling eslint
* fix(cli): add /assets/* to auth ignore endpoints in server
* chore: update package-lock.json
* chore: update package-lock.json
* fix(editor): fix linting issues
* feat: add vite-legacy support
* fix: update workflow package interface imports to type imports.
* chore: update package-lock.json
* fix(editor) fix importing translations other than english
* fix(editor): remove test command until vitest is added
* fix: increase memory allocation for vite build
* fix: add patch-package patches to n8n-custom docker build
* fix: add performance and load time improvements
* fix: add proper typing to setNodeType
* chore: update package-lock.json
* style: use generic type for reduce in setNodeType
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
कारतोफ्फेलस्क्रिप्ट™
651d788ddb
fix: revert CI checks to ensure that the package-lock.json file is up to date ( #4135 )
...
* Revert "ci: fail the build if `package-lock.json` is out of sync (#4101 )"
This reverts commit b2807cecb3
.
* Update package-lock.json
2022-09-19 11:07:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
9267e8fb12
fix(typescript): Use consistent typescript configs - N8N-4552 ( #4049 )
...
fix(typescript): Use consistent typescript configs
make all packages inherit tsconfig from the root tsconfig
skips building tests. reformat all tsconfigs with prettier.
2022-09-09 18:00:18 +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
कारतोफ्फेलस्क्रिप्ट™
aec2489aef
fix(docker): n8n docker image needs su-exec ( #3993 )
2022-09-01 09:48:26 +02:00
कारतोफ्फेलस्क्रिप्ट™
34a99fd089
fix(docker): Revert docker USER
and WORKDIR
changes ( #3992 )
...
Switching from `root` to another user needs a bit more testing, as we need to figure out how to auto-migrate all existing instances of n8n when people upgrade.
2022-09-01 09:40:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
346ebee584
fix(docker): Make the docker images backward compatible ( #3987 )
2022-08-31 19:34:30 +02: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
Iván Ovejero
11617616cd
refactor: Format root-level files ( #3858 )
...
* ✨ Create `format.mjs` script
* 👕 Add lint exception
* ⚡ Add root formatting to `format` command
* 🎨 Fix glob in `.prettierignore`
* 🚚 Improve naming
* 🎨 Format root-level files
* ⚡ Simplify check
* ⚡ Add period to extension
* ⚡ Locate config
* ⚡ Add `ignore` arg
* 🚚 Move `config` and `ignore` after check
2022-08-19 15:34:02 +02:00
कारतोफ्फेलस्क्रिप्ट™
e53d5d9cc1
[N8N-4265] Improve docker compose setup with postgres ( #3369 )
...
* persist postgres data using docker volumes
* persist n8n data using docker volumes instead of writing to the host filesystem
* wait for postgres to be actually ready before starting the server
* run web server and workers as separate containers
* create a new `withPostgresAndWorker` example
2022-08-19 12:44:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
c1451d2688
build: Prevent non-hoisted dependencies from breaking docker images ( #3852 )
2022-08-08 18:37:08 +02:00
Alex Grozav
a9fa830bd7
build: Migrate from lerna to turborepo ( #3796 )
...
* feat: Added turborepo setup.
* feat: Updated nodes and credentials loading.
* feat: Removed remaining lerna references.
* fix: Updated npm run bootstrap command.
* feat: Added CI step for installing latest npm.
* chore: Removed lerna config.
* feat: Added gulp to global ci packages.
* fix: Set node as moduleResolution target in workflow. Fixed CI.
* fix: Added turborepo installation to the n8n-custom docker image.
* fix: Updated copied docker files for n8n-custom.
* fix: Added git as dependency in n8n-custom dockerfile.
* fix: Changed npm install command in n8n-custom.
* 📦 Update `package-lock.json`
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser
b22ff1f5c1
refactor: Update additional README.md files
2022-08-03 13:34:49 +02:00
Cornelius Suermann
2f82caa8cc
build: Add docker-compose for MariaDB
...
Add Docker Compose example for MariaDB
2022-08-01 14:07:04 +02:00
Jan Oberhauser
ace49ef535
build: Use package-lock.json file with custom build
2022-07-29 15:14:33 +02:00
कारतोफ्फेलस्क्रिप्ट™
bdfa401de2
Add Docker Compose example for MariaDB
2022-07-18 15:19:34 +02:00
Jan Oberhauser
44b64fb683
docs: Update Docker README.md
2022-06-20 17:09:09 -07:00
Jan Oberhauser
061e36e8ab
build: Fix docker custom build
2022-05-21 09:42:12 +02:00
Jan Oberhauser
8ccb4f6eca
📚 Remove screenshot width
2022-05-17 10:54:13 +02:00
Jan Oberhauser
c43fc4e978
📚 Update n8n video and formatting
2022-05-17 10:46:06 +02:00
Jan Oberhauser
521cf51e7c
📜 Change to the Sustainable Use License #2932
2022-03-17 10:15:24 +01:00
Jan Oberhauser
c11edb2521
🐳 Fix arm builds
2022-03-08 09:38:53 +01:00
Jan Oberhauser
c45ab96559
🐳 Update Node.js versions of Docker images to 16
2022-03-04 14:46:00 +01:00
Jan Oberhauser
f1b9bb914c
⚡ Roll back for now to Node.js v14
2022-02-06 11:01:09 +01:00
Iván Ovejero
fc550ecbcb
⚡ Remove fibers
to support Node LTS 16 ( #2672 )
...
* 🔥 Remove fibers lib
* 📦 Update package-lock.json
* 📦 Update package-lock.json
* ✏️ Mention recommended version
* ⚡ Update node version in Docker images
* ⬆️ bump uuid and flatted
* 📦 Update package-lock.json
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Jan Oberhauser
9b405707e2
🐛 Fix docker custom build
2021-11-27 10:44:14 +01:00
Mutasem Aldmour
91bafb4860
⚡ Commit package lock ( #2470 )
2021-11-25 18:12:38 +01:00
Max Mayr
c6fec12bec
🐛 Fix permission issue with custom images ( #2355 )
2021-11-13 11:06:16 +01:00