n8n/packages/cli/src
Iván Ovejero dceff675ec
perf(core): Add filtering and pagination to GET /workflows (#6845)
* Initial setup

* Specify max paginated items

* Simplify

* Add tests

* Add more tests

* Add migrations

* Add top-level property

* Add field selection

* Cleanup

* Rename `total` to `count`

* More cleanup

* Move query logic into `WorkflowRepository`

* Create `AbstractRepository`

* Cleanup

* Fix name

* Remove leftover comments

* Replace reference

* Add default for `rawSkip`

* Remove unneeded typing

* Switch to `class-validator`

* Simplify

* Simplify

* Type as optional

* Make typing more accurate

* Fix lint

* Use `getOwnPropertyNames`

* Use DSL

* Set schema at repo level

* Cleanup

* Remove comment

* Refactor repository methods to middleware

* Add middleware tests

* Remove old test files

* Remove generic experiment

* Reuse `reportError`

* Remove unused type

* Cleanup

* Improve wording

* Reduce diff

* Add missing mw

* Use `Container.get`

* Adjust lint rule

* Reorganize into subdir

* Remove unused directive

* Remove nodes

* Silly mistake

* Validate take

* refactor(core): Adjust index handling in new migrations DSL (no-changelog) (#6876)

* refactor(core): Adjust index handling in new migrations DSL (no-changelog)

* Account for custom index name

* Also for dropping

* Fix `select` issue with `relations`

* Tighten validation

* Ensure `ownerId` is not added when specifying `select`
2023-08-09 12:30:02 +02:00
..
audit refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
auth refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
commands refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
CommunityNodes refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
config feat(core): Add metrics option to cache (#6846) 2023-08-04 20:51:07 +02:00
controllers refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
credentials perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
databases perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
decorators refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
environments refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
eventbus feat(core): Add metrics option to cache (#6846) 2023-08-04 20:51:07 +02:00
executions fix(core): Add sharing data to workflows in EE executions (#6872) 2023-08-08 14:28:05 +02:00
Ldap perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
license refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
middlewares perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
posthog refactor: Async functions don't need to explicitly return promises (no-changelog) (#6041) 2023-04-24 13:17:08 +02:00
PublicApi refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
push fix(core): Fix WebSocket close codes 2023-08-04 16:40:03 +02:00
services perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
sso perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
telemetry refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
types refactor: Move CLI commands types to own dir (no-changelog) (#6658) 2023-07-13 10:10:08 +02:00
user fix(core): Use JWT as reset password token (#6714) 2023-07-24 17:40:17 -04:00
UserManagement perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
workflows perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
AbstractServer.ts feat(core): Add unique id to instances (#6863) 2023-08-07 17:03:21 +02:00
ActiveExecutions.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
ActiveWebhooks.ts refactor(core): Parse Webhook request bodies on-demand (#6394) 2023-08-01 17:32:30 +02:00
ActiveWorkflowRunner.ts perf(core): Cache webhooks (#6825) 2023-08-04 11:52:45 +02:00
constants.ts feat(core): Add workflow history initial setup (no-changelog) (#6852) 2023-08-04 12:27:06 +02:00
CrashJournal.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CredentialsHelper.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
CredentialsOverwrites.ts ci: Fix linting issues (no-changelog) (#6788) 2023-07-28 18:28:17 +02:00
CredentialTypes.ts fix(core): Fix credentials lazy-loading (no-changelog) (#6615) 2023-07-10 17:57:26 +02:00
curlconverter.d.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
CurlConverterHelper.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
Db.ts refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
ErrorReporting.ts fix(core): Handle all uncaught exception, not just the ones from Axios (#6666) 2023-07-14 13:10:25 +02:00
ExternalHooks.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
GenericHelpers.ts feat(core): Make Redis available for backend communication (#6719) 2023-08-02 12:51:25 +02:00
index.ts
Interfaces.ts refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
InternalHooks.ts perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
jest.d.ts
License.ts feat(core): Add workflow history initial setup (no-changelog) (#6852) 2023-08-04 12:27:06 +02:00
LoadNodesAndCredentials.ts fix(core): Fix loading of scoped-community packages (#6807) 2023-07-31 17:55:16 +02:00
Logger.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
NodeTypes.ts fix(core): Make sure that special polling parameters are available on community nodes as well (#6230) 2023-05-11 16:19:55 +02:00
Queue.ts feat(core): Make Redis available for backend communication (#6719) 2023-08-02 12:51:25 +02:00
ReloadNodesAndCredentials.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
requests.ts perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
ResponseHelper.ts perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
Server.ts refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
sse-channel.d.ts
TagHelpers.ts refactor(core): Move tag collection into repository (no-changelog) (#6860) 2023-08-08 14:08:56 +02:00
TestWebhooks.ts refactor(core): Parse Webhook request bodies on-demand (#6394) 2023-08-01 17:32:30 +02:00
TranslationHelpers.ts
utils.ts perf(core): Add filtering and pagination to GET /workflows (#6845) 2023-08-09 12:30:02 +02:00
WaitingWebhooks.ts refactor(core): Parse Webhook request bodies on-demand (#6394) 2023-08-01 17:32:30 +02:00
WaitTracker.ts refactor(core): Cache workflow ownership (#6738) 2023-07-31 11:37:09 +02:00
WebhookHelpers.ts refactor(core): Parse Webhook request bodies on-demand (#6394) 2023-08-01 17:32:30 +02:00
WebhookServer.ts feat(core): Add unique id to instances (#6863) 2023-08-07 17:03:21 +02:00
WorkflowCredentials.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
WorkflowExecuteAdditionalData.ts refactor(core): Cache workflow ownership (#6738) 2023-07-31 11:37:09 +02:00
WorkflowHelpers.ts perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
WorkflowRunner.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
WorkflowRunnerProcess.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00