- Added memoization for known classes and selected classes in CssClassBuilder.
- Improved class parsing logic to handle custom classes and validation.
- Updated default CSS classes in seed data for better organization and completeness.
- Refactored LuaEngine to clear logs more efficiently.
- Modularized rendering logic by separating DeclarativeComponentRenderer into its own class.
- Introduced a singleton pattern for global renderer instance.
- Updated workflow engine to streamline execution and deprecate legacy methods.
- Added security scanning tests for vulnerability detection in various code types.
- Implemented `useBlobStorage` hook for handling blob storage operations including upload, download, delete, list, and metadata retrieval.
- Created `useCachedData` hook for managing cached data with automatic serialization and error handling.
- Added `useDBAL` hook to ensure DBAL initialization before performing operations.
- Introduced `useKVStore` hook for key-value store operations with tenant and user context.
- Added tests for user retrieval with tenant filtering.
- Refactored package export functionality into modular files for better maintainability.
- Implemented utility functions for rendering components and executing Lua scripts.
- Established a declarative component renderer with support for component configuration and Lua script registration.
- Updated access rules to streamline credential access permissions.
- Created new utility files for password, schema, and page rendering.
- Refactored secure-db-layer to separate operations into distinct files.
- Added operations for creating, updating, and deleting comments and users.
- Implemented access rules for credential management.
- Enhanced user and credential verification processes.
- Introduced seed data and workflow engine modules.
- Updated security context and access checks for various operations.
- Implemented tableToJS function to convert Lua tables to JavaScript arrays/objects.
- Created executeLuaCode function to execute Lua code with a given context and log messages.
- Added setupContextAPI function to set up logging and printing functions in Lua.
- Defined types for Lua execution context and results.
- Introduced SecurityScanner class to wrap security scanning operations for JavaScript, Lua, JSON, and HTML.
- Established access rules for secure database operations and implemented rate limiting and input sanitization functions.
- Implemented severity color and icon helpers for better UI representation.
- Created a set of security patterns for JavaScript, Lua, and SQL injection detection.
- Developed scanning functions for JavaScript, HTML, JSON, and Lua to identify vulnerabilities.
- Added sanitization utility to clean user input based on content type.
- Introduced types for security scan results and issues to standardize output.
- Enhanced overall severity calculation logic to determine the highest risk level from detected issues.
- Added functions to set, update, delete, and retrieve page configurations.
- Introduced model schema management with functions for adding, updating, deleting, and retrieving schemas.
- Implemented tenant management with functions for adding, updating, deleting, and retrieving tenants.
- Created user management functions for adding, updating, deleting, and retrieving users.
- Developed workflow management functions for adding, updating, deleting, and retrieving workflows.
- Added SMTP configuration management with functions to get and set SMTP configurations.
- Implemented functions for managing god credentials, including expiry management and first login flags.
- Introduced power transfer request management with functions for adding, updating, deleting, and retrieving requests.
- Added Lua snippet management functions for retrieving snippets by ID and category, and searching snippets.
- Add functions for managing dropdown configurations: add, update, delete, get, and set.
- Introduce package management functions: install, uninstall, toggle enabled state, get installed packages, and set package data.
- Create utility functions for schema operations, including validation, sorting, filtering, and generating default values.
- Establish a SchemaUtils class to encapsulate schema-related utility functions for better organization and accessibility.
- Implement tests for password reset token deletion, credential retrieval, password change timestamps, and credential setting.
- Add tests for Lua script management including addition, deletion, retrieval, and updates.
- Create tests for page management functions such as adding, deleting, retrieving, and updating pages.
- Introduce tests for schema management including adding, deleting, retrieving, and updating schemas.
- Implement tests for workflow management functions including adding, deleting, retrieving, and updating workflows.
- Ensure all tests cover various scenarios and edge cases for robust validation of functionality.
feat(types): introduce builder and level types for component and user roles
feat(workflow): implement workflow engine with execution context and logging
style(theme): create modular theme exports for consistent styling
chore(tests): add comprehensive tests for workflow execution and Lua nodes
- Deleted unused components: Skeleton, Slider, Sonner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip.
- Added type extensions for MUI theme to support custom properties and design tokens.
- Updated MUI theme file to import type extensions.
- Introduced Command Palette components including Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut, and useCommandShortcut hook.
- Added Navigation components such as Navigation, NavigationMenu, NavigationList, NavigationItem, NavigationTrigger, NavigationContent, NavigationLink, NavigationBrand, NavigationSeparator, NavigationSpacer, NavigationMobileToggle, and useNavigationDropdown hook.
- Implemented Pagination components including Pagination, SimplePagination, TablePagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationPrevious, and PaginationNext.
- Created Sheet component with Sheet, SheetTrigger, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, and SheetClose.
- Developed Sidebar components including Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarNav, SidebarSection, SidebarSeparator, and SidebarToggle.
- Updated index file to export all new components and types for easy access.
- Introduced a new Table component with TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, and TableCaption for better UI consistency.
- Refactored Select component to utilize MUI's Select, MenuItem, and FormControl for improved accessibility and styling.
- Created a centralized MUI theme with design tokens, typography, spacing, and component overrides for light and dark modes.
- Mark workflow-engine tests (22) in FRONTEND-TODO
- Mark lua-engine tests (51) in LUA-SCRIPTING-TODO
- Mark package-glue tests (45) in PACKAGES-TODO
- Mark security-scanner tests (24) in SECURITY-TODO
- Mark password-utils tests (12) in SECURITY-TODO