Commit Graph

15 Commits

Author SHA1 Message Date
57e4a8b932 feat: add logging functionality with LoggerService; implement log entity and controller; enhance query processing with logging support 2025-10-11 16:21:03 +03:00
210253628c feat: implement session management with SessionService and SessionPlugin; refactor query execution to handle session cookies; update token and query handling for improved session tracking 2025-10-10 14:03:21 +03:00
e89af0dd20 feat: implement function management with FunctionEntity, FunctionService, and FunctionController; enhance QueryExecuterService to utilize functions; refactor CommandController and QueryController to extend BaseQueryController; update Vm class to handle functions; remove obsolete log entities 2025-10-09 19:35:30 +03:00
5b30b876e5 feat: enhance DatabaseManagerService and QueryExecuterService with timeout settings, add AxiosPlugin for HTTP requests, and update DatabasePlugin to use query method 2025-10-09 17:20:33 +03:00
0631e99886 feat: simplify global function assignment in Vm class and enable logging of results in case1-payload test 2025-10-09 13:04:38 +03:00
f357bc5e61 feat: enhance QueryPlugin run method with error handling and update logging in Vm class 2025-10-09 12:57:32 +03:00
dac008366a feat: update ApiTokenGuard to always allow access, add updateDatabase method to ProjectService, enhance QueryExecuterService with job options, integrate QueueModule in QueryModule, apply ApiTokenGuard to RedisManagerController, refactor Plugin class to include methods, implement new methods in RedisPlugin, and remove unused async.js module 2025-10-09 11:56:53 +03:00
efbb9f5c21 feat: implement command functionality with new CommandController, update Query entity, and enhance query execution with headers support 2025-10-02 10:02:44 +03:00
593acf2a9a Refactor VM and Plugin Management
- Removed the `plugins.constants.ts` file as it was no longer needed.
- Updated the `vm.class.ts` to improve result handling and logging.
- Introduced `vm.constants.ts` to manage registered plugins and modules.
- Simplified the test payload in `case1-payload.js` by removing unnecessary insert logic.
- Enhanced `case1.ts` to include database and migration setup, improving test clarity.
- Deleted unused functions for adding modules and plugins, streamlining the codebase.
2025-09-29 20:58:51 +03:00
07efa3b8df refactor: simplify async function calls in asyncCall and Vm class 2025-09-22 18:38:21 +03:00
fbbbd61838 DB 2025-09-22 18:35:02 +03:00
8eba1d1344 feat: enhance query handling with modules and plugins
- Added ManyToMany relationship for plugins in Query entity.
- Updated QueryExecuterController to accept structured query data.
- Enhanced QueryExecuterService to support plugin initialization and execution.
- Implemented QueryHandlerService methods for creating and updating queries, modules, and plugins.
- Introduced new endpoints for creating and adding modules and plugins to queries.
- Created Plugin base class and DatabasePlugin implementation for database interactions.
- Updated VM class to integrate plugin functionality during script execution.
- Added test cases for project, query, module, and plugin operations.
2025-09-21 01:07:51 +03:00
d90c85d66f Refactor query execution logic to return script results and handle errors properly 2025-09-17 17:28:06 +03:00
750e7125ad Update dependencies and fix import paths for consistency 2025-09-17 17:13:19 +03:00
db58d6ecb1 Refactor code structure for improved readability and maintainability 2025-09-17 17:02:03 +03:00