Michael Auerswald
62d06b1e6e
fix(core): Fixes event msg confirmations if no subscribers present ( #5118 )
...
* adds ExecutionEvents view modal to ExecutionList
* fix time rendering and remove wf column
* checks for unfinished executions and fails them
* prevent re-setting stoppedAt for execution
* removing UI changes but keeping eventbus fixes
* remove comment
2023-01-11 14:09:09 +01:00
Valya
3d05acf313
feat: Expression extension framework ( #4372 )
...
* ⚡ Introduce a framework for expression extension
* 💡 Add some inline comments
* ⚡ Introduce hash alias for encrypt
* ⚡ Introduce a manual granular level approach to shadowing/overrideing extensions
* 🔥 Cleanup comments
* ⚡ Introduce a basic method of extension for native functions
* ⚡ Add length to StringExtension
* ⚡ Add number type to extension return types
* ⚡ Temporarily introduce DateTime with extension
* ⚡ Cleanup comments
* ⚡ Organize imports
* ♻️ Fix up some typings
* ⚡ Fix typings
* ♻️ Remove unnecessary resolve of expression
* ⚡ Extensions Improvement
* ♻️ Refactor EXPRESSION_EXTENSION_METHODS
* ♻️ Refactor EXPRESSION_EXTENSION_METHODS
* ♻️ Update extraArgs types
* ♻️ Fix tests
* ♻️ Fix bind type issue
* ♻️ Fixing duration type issue
* ♻️ Refactor to allow overrides on native methods
* ♻️ Temporarily remove Date Extensions to pass tests
* feat(dt-functions): introduce date expression extensions (#4045 )
* 🎉 Add Date Extensions into the mix
* ✨ Introduce additional date extension methods
* ✅ Add Date Expression Extension tests
* 🔧 Add ability to debug tests
* ♻️ Refactor extension for native types
* 🔥 Move sayHi method to String Extension class
* ♻️ Update scope when binding member methods
* ✅ Add String Extension tests
* feat(dt-functions): introduce array expression extensions (#4044 )
* ✨ Introduce Array Extensions
* ✅ Add Array Expression tests
* feat(dt-functions): introduce number expression extensions (#4046 )
* 🎉 Introduce Number Extensions
* ⚡ Support more shared extensions
* ⚡ Improve handling of name collision
* ✅ Update tests
* Fixed up tests
* 🔥 Remove remove markdown
* :recylce: Replace remove-markdown dependencies with implementation
* ♻️ Replace remove-markdown dependencies with implementation
* ✅ Update tests
* ♻️ Fix scoping and cleanup
* ♻️ Update comments and errors
* ♻️ Fix linting errors
* ➖ Remove unused dependencies
* fix: expression extension not working with multiple extensions
* refactor: change extension transform to be more efficient
* test: update most test to work with new extend function
* fix: update and fix type error in config
* refactor: replace babel with recast
* feat: add hashing functions to string extension
* fix: removed export
* test: add extension parser and transform tests
* fix: vite tests breaking
* refactor: remove commented out code
* fix: parse dates passed from $json in extend function
* refactor: review feedback changes for date extensions
* refactor: review feedback changes for number extensions
* fix: date extension beginningOf test
* fix: broken build from merge
* fix: another merge issue
* refactor: address review feedback (remove ignores)
* feat: new extension functions and tests
* feat: non-dot notation functions
* test: most of the other tests
* fix: toSentenceCase for node versions below 16.6
* feat: add $if and $not expression extensions
* Fix test to work on every timezone
* lint: fix remaining lint issues
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-01-10 14:06:12 +01:00
कारतोफ्फेलस्क्रिप्ट™
17f13b3b6e
ci: Setup eslint-import-resolver-typescript
for improved TS linting ( #4996 )
...
* Setup stricter linting for typescript
* make `import/no-unresolved` an error everywhere
* use prettier to format `.vscode/settings.default.json`
* address PR comments
2022-12-22 09:55:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
8675b45e43
fix: Improve VSCode debugging setup (no-changelog) ( #4922 )
...
* gracefully shutdown n8n while debugging in vscode
* capture stdout/stderr in vscode debugging instead of just the console.logs
2022-12-14 11:59:06 +01: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
Iván Ovejero
2ce747fa01
refactor: Replace recommended extensions for Vue ( #4576 )
...
* ⚡ Replace recommended extension for Vue
* ⚡ Add `Vue.volar`
2022-11-10 17:41:21 +01:00
कारतोफ्फेलस्क्रिप्ट™
736777385c
feat: Switch from npm to pnpm ( #4429 )
2022-11-09 17:32:05 +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
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
b5c831122c
Add some tests to ActiveExecutions file ( #3957 )
...
* Add some tests to ActiveExecutions file
2022-08-30 10:49:30 +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
Iván Ovejero
11461fda5f
feat: Synchronize default VSCode settings ( #3833 )
2022-08-09 13:55:55 +02:00
Iván Ovejero
92b2caaf26
Add suggested VSCode settings ( #3783 )
...
* ⚡ Add suggested settings
* 🔥 Remove app-level setting
* 🎨 Update indentation
2022-07-27 14:21:00 +02:00
Omar Ajoue
13c3b41c81
feat: Add debug configuration file with instructions ( #3631 )
...
* Add debug configuration file with instructions
* Add debugger.md file for clarifications
* Moved debugger file to vscode folder
2022-07-04 10:42:15 +02:00
Iván Ovejero
56c4c6991f
🎨 Set up linting and formatting ( #2120 )
...
* ⬆️ Upgrade TS to 4.3.5
* 👕 Add ESLint configs
* 🎨 Add Prettier config
* 📦 Add deps and commands
* ⚡ Adjust global .editorconfig to new ruleset
* 🔥 Remove unneeded local .editorconfig
* 📦 Update deps in editor-ui
* 🔨 Limit Prettier to only TS files
* ⚡ Add recommended VSCode extensions
* 👕 Fix build
* 🔥 Remove Vue setting from global config
* ⚡ Disable prefer-default-export per feedback
* ✏️ Add forgotten divider
* 👕 Disable no-plusplus
* 👕 Disable class-methods-use-this
* ✏️ Alphabetize overrides
* 👕 Add one-var consecutive override
* ⏪ Revert one-var consecutive override
This reverts commit b9252cf935
.
* 🎨 👕 Lint and format workflow package (#2121 )
* 🎨 Format /workflow package
* 👕 Lint /workflow package
* 🎨 Re-format /workflow package
* 👕 Re-lint /workflow package
* ✏️ Fix typo
* ⚡ Consolidate if-checks
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format node-dev package (#2122 )
* 🎨 Format /node-dev package
* ⚡ Exclude templates from ESLint config
This keeps the templates consistent with the codebase while preventing lint exceptions from being made part of the templates.
* 👕 Lint /node-dev package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🎨 👕 Lint and format core package (#2123 )
* 🎨 Format /core package
* 👕 Lint /core package
* 🎨 Re-format /core package
* 👕 Re-lint /core package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format cli package (#2124 )
* 🎨 Format /cli package
* 👕 Exclude migrations from linting
* 👕 Lint /cli package
* 🎨 Re-format /cli package
* 👕 Re-lint /cli package
* 👕 Fix build
* 🔥 Remove prefer-default-export exceptions
* ⚡ Update exceptions in ActiveExecutions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 👕 fix lint issues
* 🔧 use package specific linter, remove tslint command
* 🔨 resolve build issue, sync dependencies
* 🔧 change lint command
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-08-29 20:58:11 +02:00