कारतोफ्फेलस्क्रिप्ट™
eb3ba83e63
ci: Setup code-coverage reporting for frontend packages (no-changelog) ( #5679 )
2023-03-14 13:13:21 +01:00
Alex Grozav
f0695827f5
feat: Migrate packages from lodash to lodash-es (no-changelog) ( #5538 )
2023-02-23 16:16:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
3ae005cafe
ci: Setup a semi-automated release process (no-changelog) ( #5504 )
...
* ci: Setup a semi-automated release process (no-changelog)
* create tag/release before deleting the temporary branch
2023-02-21 14:04:35 +01:00
कारतोफ्फेलस्क्रिप्ट™
522ddfc0cd
fix(editor): Fix Vite dev mode (no-changelog) ( #5475 )
...
because of the updated dev tooling in https://github.com/n8n-io/n8n/pull/5454 , vite dev mode is crashing because of the `util` package looking for `process.env`.
2023-02-14 16:10:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
00befbc75a
ci(editor): Faster builds on the CI (no-changelog) ( #5422 )
2023-02-09 15:47:34 +01:00
Alex Grozav
99e35f1e94
feat(editor): Update design-system and editor dependencies (no-changelog) ( #5188 )
2023-01-27 02:09:30 +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
Iván Ovejero
5ca2148c7e
refactor(editor): Apply Prettier (no-changelog) ( #4920 )
...
* ⚡ Adjust `format` script
* 🔥 Remove exemption for `editor-ui`
* 🎨 Prettify
* 👕 Fix lint
2022-12-14 10:04:10 +01:00
Milorad FIlipović
bae3098e4e
refactor(editor): Finish pinia migration, remove all vuex dependancies ( #4533 )
...
* ✨ Added pinia support. Migrated community nodes module.
* ✨ Added ui pinia store, moved some data from root store to it, updated modals to work with pinia stores
* ✨ Added ui pinia store and migrated a part of the root store
* ✨ Migrated `settings` store to pinia
* ✨ Removing vuex store refs from router
* ✨ Migrated `users` module to pinia store
* ⚡ Fixing errors after sync with master
* ⚡ One more error after merge
* ⚡ Created `workflows` pinia store. Moved large part of root store to it. Started updating references.
* ✨ Finished migrating workflows store to pinia
* ⚡ Renaming some getters and actions to make more sense
* ✨ Finished migrating the root store to pinia
* ✨ Migrated ndv store to pinia
* ⚡ Renaming main panel dimensions getter so it doesn't clash with data prop name
* ✔️ Fixing lint errors
* ✨ Migrated `templates` store to pinia
* ✨ Migrated the `nodeTypes`store
* ⚡ Removed unused pieces of code and oold vuex modules
* ✨ Adding vuex calls to pinia store, fixing wrong references
* 💄 Removing leftover $store refs
* ⚡ Added legacy getters and mutations to store to support webhooks
* ⚡ Added missing front-end hooks, updated vuex state subscriptions to pinia
* ✔️ Fixing linting errors
* ⚡ Removing vue composition api plugin
* ⚡ Fixing main sidebar state when loading node view
* 🐛 Fixing an error when activating workflows
* 🐛 Fixing isses with workflow settings and executions auto-refresh
* 🐛 Removing duplicate listeners which cause import error
* 🐛 Fixing route authentication
* ⚡ Updating freshly pulled $store refs
* ⚡ Adding deleted const
* ⚡ Updating store references in ee features. Reseting NodeView credentials update flag when resetting workspace
* ⚡ Adding return type to email submission modal
* ⚡ Making NodeView only react to paste event when active
* 🐛 Fixing signup view errors
* ✨ Started migrating the `credentials` module to pinia
* 👌 Addressing PR review comments
* ✨ Migrated permissions module to pinia
* ✨ Migrated `nodeCreator`, `tags` and `versions` modules to pinia
* ✨ Implemented webhooks pinia store
* ⚡ Removing all leftover vuex files and references
* ✨ Removing final vuex refs
* ⚡ Updating expected credentialId type
* ⚡ Removing node credentials subscription code, reducing node click debounce timeout
* 🐛 Fixing pushing nodes downstream when inserting new node
* ✔️ Fixing a lint error in new type guard
* ⚡ Updating helper reference
* ✔️ Removing unnecessary awaits
* ⚡ fix(editor): remove unnecessary imports from NDV
* ⚡ Merging mapStores blocks in NodeView
* ⚡ fix(editor): make sure JS Plumb not loaded earlier than needed
* ⚡ Updating type guard nad credentials subscriptions
* ⚡ Updating type guard so it doesn't use `any` type
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-11-09 10:01:50 +01:00
Iván Ovejero
adef6d7083
fix(editor): upgrade and make testing consistent in editor-ui and design-system ( #4434 )
...
* 📦 Update `package-lock.json`
* 📦 Make versions consistent in design-system
* 📦 Make lib versions consistent in editor-ui
* 🔧 Make vite configs consistent
* fix(design-system): updating vue2-bring-avatars alias
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-10-25 13:46:25 +02:00
Iván Ovejero
1db4fa2bf8
feat(Code Node): create Code node ( #3965 )
...
* Introduce node deprecation (#3930 )
✨ Introduce node deprecation
* 🚧 Scaffold out Code node
* 👕 Fix lint
* 📘 Create types file
* 🚚 Rename theme
* 🔥 Remove unneeded prop
* ⚡ Override keybindings
* ⚡ Expand lintings
* ⚡ Create editor content getter
* 🚚 Ensure all helpers use `$`
* ✨ Add autocompletion
* ⚡ Filter out welcome note node
* ⚡ Convey error line number
* ⚡ Highlight error line
* ⚡ Restore logging from node
* ✨ More autocompletions
* ⚡ Streamline completions
* ✏️ Update placeholders
* ⚡ Update linter to new methods
* 🔥 Remove `$nodeItem` completions
* ⚡ Re-update placeholders
* 🎨 Fix formatting
* 📦 Update `package-lock.json`
* ⚡ Refresh with multi-line empty string
* ⚡ Account for syntax errors
* 🔥 Remove unneeded variant
* ⚡ Minor improvements
* ⚡ Add more autocompletions
* 🚚 Rename extension
* 🔥 Remove outdated comments
* 🚚 Rename field
* ✨ More autocompletions
* ⚡ Fix up error display when empty text
* 🔥 Remove logging
* ✨ More error validation
* 🐛 Fix `pairedItem` to `pairedItem()`
* ⚡ Add item to validation info
* 📦 Update `package-lock.json`
* ⚡ Leftover fixes
* ⚡ Set `insertNewlineAndIndent`
* 📦 Update `package-lock.json`
* 📦 Re-update `package-lock.json`
* 👕 Add lint exception
* 📘 Add type to mixin type
* Clean up comment
* ⚡ Refactor completion per new requirements
* ⚡ Adjust placeholders
* ⚡ Add `json` autocompletions for `$input`
* 🎨 Set border
* ⚡ Restore local completion source
* ⚡ Implement autocompletion for imports
* ⚡ Add `.*` to follow user typing on autocompletion
* 📘 Fix typings in autocompletions
* 👕 Add linting for use of `item()`
* 📦 Update `package-lock.json`
* 🐛 Fix for `$items(nodeName)[0]`
* ⚡ Filter down built-in modules list
* ⚡ Refactor error handling
* ⚡ Linter and validation improvements
* ⚡ Apply review feedback
* ♻️ More general refactorings
* ⚡ Add dot notation utility
* Customize input handler
* ⚡ Support `.json.` completions
* ⚡ Adjust placeholder
* ⚡ Sort imports
* 🔥 Remove blank rows addition
* ⚡ Add more error validation
* 📦 Update `package-lock.json`
* ⚡ Make date logging consistent
* 🔧 Adjust linting highlight range
* ⚡ Add line numbers to each item mode errors
* ⚡ Allow for links in error descriptions
* ⚡ More input validation
* ⚡ Expand linting to loops
* ⚡ Deprecate Function and Function Item nodes
* 🐛 Fix placeholder syntax
* 📘 Narrow down type
* 🚚 Rename using kebab-case
* 🔥 Remove `mapGetters`
* ✏️ Fix casing
* ⚡ Adjust import for type
* ✏️ Fix quotes
* 🐛 Fix `activeNode` reference
* ⚡ Use constant
* 🔥 Remove logging
* ✏️ Fix typo
* ⚡ Add missing `notice`
* ✏️ Add tags
* ✏️ Fix alias
* ✏️ Update copy
* 🔥 Remove wrong linting
* ✏️ Update copy
* ⚡ Add validation for `null`
* ⚡ Add validation for non-object and non-array
* ⚡ Add validation for non-array with json
* ✏️ Intentionally use wrong spelling
* ⚡ More validation
* ✏️ More copy updates
* ✏️ Placeholder updates
* ⏪ Restore spelling
* ⚡ Fix var name
* ✏️ More copy updates
* ⚡ Add luxon autocompletions
* ⚡ Make scrollable
* ⚡ Fix comma from merge conflict resolution
* 📦 Update `package-lock.json`
* 👕 Fix lint detail
* 🎨 Set font family
* ⚡ Bring in expressions fix
* ♻️ Address feedback
* ⚡ Exclude codemirror packages from render chunks
* 🐛 Fix placeholder not showing on first load
* feat(editor-ui): Replace `lezer` with `esprima` in client linter (#4192 )
* 🔥 Remove addition from misresolved conflict
* ⚡ Replace `lezer` with `esprima` in client linter
* ⚡ Add missing key
* 📦 Update `package-lock.json`
* ⚡ Match dependencies
* 📦 Update `package-lock.json`
* 📦 Re-update `package-lock.json`
* ⚡ Match whitespace
* 🐛 Fix selection
* ⚡ Expand validation
* 🔥 Remove validation
* ✏️ Update copy
* 🚚 Move to constants
* ⚡ More `null` validation
* ⚡ Support `all()` with index to access item
* ⚡ Gloss over n8n syntax error
* 🎨 Re-style diagnostic button
* 🔥 Remove `item` as `itemAlias`
* ⚡ Add linting for `item.json` in single item mode
* ⚡ Refactor to add label info descriptions
* ⚡ More autocompletions
* 👕 Fix lint
* ⚡ Simplify typings
* feat(nodes-base): Multiline autocompletion for `code-node-editor` (#4220 )
* ⚡ Simplify typings
* ⚡ Consolidate helpers in utils
* ⚡ Multiline autocompletion for standalone vars
* 🔥 Remove unneeded mixins
* ✏️ Update copy
* ✏️ Prep TODOs
* ⚡ Multiline completion for `$input.method` + `$input.item`
* 🔥 Remove unused method
* 🔥 Remove another unused method
* 🚚 Move luxon strings to helpers
* ⚡ Multiline autocompletion for methods output
* ⚡ Refactor to use optional chaining
* 👕 Fix lint
* ✏️ Update TODOs
* ⚡ Multiline autocompletion for `json` fields
* 📘 Add typings
* ⚡ De-duplicate callback to forEach
* 🐛 Fix autocompletions not working with leading whitespace
* 🌐 Apply i18n
* 👕 Fix lint
* :constructor: Second-period var usage completions
* 👕 Fix lint
* 👕 Add exception
* ⚡ Add completion telemetry
* 📘 Add typing
* ⚡ Major refactoring to organize
* 🐛 Fix multiline `.all()[index]`
* 🐛 Do not autoclose square brackets prior to `.json`
* 🐛 Fix accessor for multiline `jsonField` completions
* ⚡ Add completions for half-assignments
* 🐛 Fix `jsonField` completions for `x.json`
* ✏️ Improve comments
* 🐛 Fix `.json[field]` for multiline matches
* ⚡ Cleanup
* 📦 Update `package-lock.json`
* 👕 Fix lint
* 🐛 Rely on original value for custom matcher
* ⚡ Create `customMatcherJsonFieldCompletions` to simplify setup
* 🐛 Include selector in `customMatcherJsonField` completions
* ✏️ Make naming consistent
* ✏️ Add docline
* ⚡ Finish self-review cleanup
* 🔥 Remove outdated comment
* 📌 Pin luxon to major-minor
* ✏️ Fix typo
* 📦 Update `package-lock.json`
* 📦 Update `package-lock.json`
* 📦 Re-update `package-lock.json`
* ➕ Add `luxon` for Gmail node
* 📦 Update `package-lock.json`
* ⚡ Replace Function with Code in suggested nodes
* 🐛 Fix `$prevNode` completions
* ✏️ Update `$execution.mode` copy
* ⚡ Separate luxon getters from methods
* ⚡ Adjusting linter to tolerate `.binary`
* ⚡ Adjust top-level item keys check
* ⚡ Anticipate user expecting `item` to pre-exist
* ⚡ Add linting for legacy item access
* ⚡ Add hint for attempted `items` access
* ⚡ Add keybinding for toggling comments
* ✏️ Update copy of `all`, `first`, `last` and `itemMatching`
* 🐛 Make `input.all()` etc act on copies
* 📦 Update `package-lock.json`
* 🐛 Fix guard in `$input.last()`
* ♻️ Address Jan's feedback
* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`
* 📦 Update `package-lock.json`
* 🔥 Remove unneeded exceptions
* ⚡ Restore placeholder logic
* ⚡ Add placeholders to client
* ⚡ Account for shadow item
* ✏️ More completion info labels
* 👕 Fix lint
* ✏️ Update copy
* ✏️ Update copy
* ✏️ More copy updates
* 📦 Update `package-lock.json`
* ⚡ Add more validation
* ⚡ Add placheolder on first load
* Replace `Cmd` with `Mod`
* 📦 Update `package-lock.json`
2022-10-13 14:28:02 +02:00
OlegIvaniv
3390b509aa
refactor(editor): upgrade Vue to 2.7 ( #4294 )
...
* refactor(editor): Upgrade Vue to 2.7
* 📌 Partially revert package-lock
2022-10-11 14:41:16 +02:00
कारतोफ्फेलस्क्रिप्ट™
a3817291d7
fix(editor-ui): make lodash aliases work on case-sensitive filesystems ( #4233 )
2022-09-29 15:37:07 +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