Omar Ajoue
d5e62ff096
fix: Prevent unnecessary error messages also for data loaded flag ( #6201 )
...
* fix: Prevent unnecessary error messages also for data loaded flag
* refactor: Search if data has been loaded before trying to save and fire other events
* fix broken test
* fix lint issue
2023-05-10 13:10:39 +02:00
Iván Ovejero
06fa6f1fb3
ci: Expand ESLint to tests in BE packages (no-changelog) ( #6147 )
...
* 🔧 Adjust base ESLint config
* 🔧 Adjust `lint` and `lintfix` in `nodes-base`
* 🔧 Include `test` and `utils` in `nodes-base`
* 📘 Convert JS tests to TS
* 👕 Apply lintfixes
2023-05-02 10:37:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
10f8c35dbb
refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) ( #5953 )
...
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2023-04-12 10:59:14 +02:00
Ricardo Espinoza
725393dae6
feat(editor): Add user activation survey ( #5677 )
...
* ⚡ Add user activation survey
* Fix typo
* Avoid showing the modal when there is a modal view
* Allow to redirect to specific execution
* Improve structure
* Handle errors when sharing feedback
* update withFeatureFlag function
* Fix linting issue
* Set user activation flag on workflowExecutionCompleted event
* Revert update user settings functionality
* Remove unnecessary changes
* fix linting issue
* account for new functionality in tests
* Small improvements
* keep once instace of the model open between tabs
* Add sorting to GET /executions
* type parameters for GET /executions
a
* Add constant for local store key
* Add execution mode filtering
* fix linting issue
* Do not override settings when setting isOnboarded true
* Add update user settings endpoint
* improvements
* revert changes to /GET executions
* Fix typo
* Add userActivated flag to user store
* Add E2E test
* Fix linting issue
* Update pnpm-lock
* Revert unnecessary change
* Centralize user's settings update
* Remove unused ref in userActivationSurvey modal
* Use aliased imports
* Use createEventBus function in component
* Fix tests
2023-04-11 12:43:47 -04:00
कारतोफ्फेलस्क्रिप्ट™
e7aaa9425a
fix(core): Make WorkflowStatistics tests pass on all databases (no-changelog) ( #5909 )
2023-04-05 14:51:43 +02:00
Omar Ajoue
2b06673b2e
refactor: Upsert workflow statistics to suppress unnecessary error messages ( #5863 )
2023-04-04 18:11:21 +02:00
कारतोफ्फेलस्क्रिप्ट™
6242cac53b
ci: Refactor cli tests to speed up CI (no-changelog) ( #5718 )
...
* ci: Refactor cli tests to speed up CI (no-changelog)
* upgrade jest to address memory leaks
2023-03-17 17:24:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
52f740b9e8
refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) ( #5509 )
...
* add typedi
* convert ActiveWorkflowRunner into an injectable service
* convert ExternalHooks into an injectable service
* convert InternalHooks into an injectable service
* convert LoadNodesAndCredentials into an injectable service
* convert NodeTypes and CredentialTypes into an injectable service
* convert ActiveExecutions into an injectable service
* convert WaitTracker into an injectable service
* convert Push into an injectable service
* convert ActiveWebhooks and TestWebhooks into an injectable services
* handle circular references, and log errors when a circular dependency is found
2023-02-21 19:21:56 +01:00
freya
4bd9ed675e
refactor: Clean up workflow stats test file ( #5282 )
...
* 🔨 - Use .spyOn for UserManagment
* 🔨 - Remove a no longer needed test
* 🔨 - Refactored and cleaned up workflowstats tests
* 🔨 - Clean up unused imports / lines
2023-01-30 16:34:26 +00:00
कारतोफ्फेलस्क्रिप्ट™
845f0f9d20
refactor(core): Switch over all user-management routes to use decorators ( #5115 )
2023-01-27 11:19:47 +01:00
freya
59004fe7bb
fix(core): Fixes issue with workflow lastUpdated field ( #5015 )
...
Fixed issue causing workflow updated field to be affected by statistics data
2023-01-05 12:16:40 +00:00
कारतोफ्फेलस्क्रिप्ट™
ee28213538
refactor: Use string ids on Credentials, Workflows, Tags, and Executions DB entities ( #5041 )
2023-01-02 17:42:32 +01:00
कारतोफ्फेलस्क्रिप्ट™
0a416eebea
fix: Remove circular dependencies from cli tests (no-changelog) ( #5000 )
...
* fix typescript errors in cli
* remove circular dependencies from cli tests
2022-12-22 10:14:15 +01:00
Csaba Tuncsik
0da338f9b5
feat(editor): Add usage and plan pages ( #4819 )
...
* feat(editor): Usage and plan page (#4793 )
feat(editor): usage and plan page
* feat(editor): Update Usage and plan page (#4842 )
* feat(editor): usage and plan store
* feat(editor): usage and plan page updates
* feat(editor): usage and plan add buttons and alert
* tes(editor): usage and plan store
* tes(editor): usage remove refresh button and add link to view plans
* tes(editor): usage use info tip
* tes(editor): usage info style
* feat(editor): Get quotas data (#4866 )
feat(editor): get quotas data
* feat(editor): In-app experience (#4875 )
* feat: Add license quotas endpoint
* feat: Add trigger count to workflow activation process
* refactor: Get quotas from db
* feat: Add license information
* ✨ - finalised GET /license endpoint
* 🔨 - getActiveTriggerCount return 0 instead of null
* 🐛 - ignore manualTrigger when counting active triggers
* ✨ - add activation endpoint
* ✨ - added renew endpoint
* 🔨 - added return type interfaces
* 🔨 - handle license errors where methods are called
* 🔨 - rename function to match name from lib
* feat(editor): usage add plans buttons logic
* 🚨 - testing new License methods
* feat(editor): usage add more business logic
* chore(editor): code formatting
* 🚨 - added license api tests
* fix(editor): usage store
* fix(editor): usage update translations
* feat(editor): usage add license activation modal
* feat(editor): usage change subscription app url
* feat(editor): usage add contact us link
* feat(editor): usage fix modal width
* ✨ - Add renewal tracking metric
* ✨ - add license data to pulse event
* 🔨 - set default triggercount on entity model
* ✨ - add db migrations for mysql and postgres
* fix(editor): Usage api call data processing and error handling
* fix(editor): Usage fix activation query key
* 🚨 - add initDb to telemetry tests
* 🔨 - move getlicensedata to licenseservice
* 🔨 - return 403 instead of 404 to non owners
* 🔨 - move owner checking to middleware
* 🐛 - fixed incorrectly returned error from middleware
* 🐛 - using mock instead of test db for pulse tests
* fix(editor): Usage fix activation and add success messages
* fix(editor): Usage should not renew activation right after activation
* 🚨 - skipping failing pulse tests for now
* fix(editor): Usage add telemetry calls and apply design review outcomes
* feat(editor): Hide usage page according to BE flag
* feat(editor): Usage modify key activation flow
* feat(editor): Usage change subscription app url
* feat(editor): Usage add telemetry for manage plan
* feat(editor): Usage extend link url query params
* feat(editor): Usage add line chart if there is a workflow limit
* feat(editor): Usage remove query after key activation redirection
* fix(editor): Usage handle limit exceeded workflow chart, add focus to input when modal opened
* fix(editor): Usage activation can return router promise when removing query
* fix(editor): Usage and plan design review
* 🐛 - fix renew endpoint hanging issue
* 🐛 - fix license activation bug
* fix(editor): Usage proper translation for plans and/or editions
* fix(editor): Usage apply David's review results
* fix(editor): Usage page set as default and first under Settings
* fix(editor): Usage open subscription app in new tab
* fix(editor): Usage page having key query param a plan links
* test: Fix broken test
* fix(editor): Usage page address review
* 🧪 Flush promises on telemetry tests
* ⚡ Extract helper with `setImmediate`
* 🔥 Remove leftovers
* ⚡ Use Adi's helper
* refactor: Comment broken tests
* refactor: add Tenant id to settings
* feat: add environment to license endpoints
* refactor: Move license environment to general settings
* fix: fix routing bug
* fix(editor): Usage page some code review changes and formatting
* fix(editor): Usage page remove direct usage of reusable translation keys
* fix(editor): Usage page async await instead of then
* fix(editor): Usage page show some content only if network requests in component mounted were successful
* chore(editor): code formatting
* fix(editor): Usage checking license environment
* feat(editor): Improve license activation error messages (no-changelog) (#4958 )
* fix(editor): Usage changing activation error title
* remove unnecessary import
* fix(editor): Usage refactor notification showing
* fix(editor): Usage using notification directly in store actions
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* fix(editor): Usage change mounted lifecycle logic
* fix(editor): Usage return after successful activation in mounted
* fix: remove console log
* test: fix tests related to settings (#4979 )
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-12-20 10:52:01 +01:00
Omar Ajoue
2ad62bcd44
fix: Remove unnecessary console message (no-changelog) ( #4848 )
...
* refactor: Remove unnecessary console message (no-changelog)
* fix: Broken test now passing
2022-12-07 12:40:38 +01:00
freya
1722c6b0c5
feat(core): Workflow Execution Statistics ( #4200 )
...
Add recording and reporting of workflow execution statistics
2022-12-06 14:55:40 +00:00