Commit Graph

3303 Commits

Author SHA1 Message Date
9162bd01a2 code: nextjs,frontends,validate (14 files) 2025-12-25 19:35:28 +00:00
fa0a275ca4 code: nextjs,frontends,validate (11 files) 2025-12-25 19:35:12 +00:00
deb31a772d code: validate,page,dbal (2 files) 2025-12-25 19:34:26 +00:00
0fc952c220 code: validate,user,dbal (2 files) 2025-12-25 19:33:54 +00:00
ac1198b1aa code: valid,semver,is (1 files) 2025-12-25 19:33:38 +00:00
d88c0c3372 docs: is,dbal,valid (4 files) 2025-12-25 19:33:07 +00:00
c7e51f859e code: dbal,validate,valid (3 files) 2025-12-25 19:32:51 +00:00
dafde61e3a code: validate,dbal,user (2 files) 2025-12-25 19:32:35 +00:00
d5a50d383a code: dbal,validate,valid (4 files) 2025-12-25 19:32:19 +00:00
4e601d9a31 docs: dbal,valid,is (13 files) 2025-12-25 19:32:03 +00:00
ddad41a56c Add validation unit tests for DBAL core 2025-12-25 19:31:14 +00:00
50419d65ac Update build fix TODOs 2025-12-25 19:26:17 +00:00
dbd8e49b64 Fix tsconfig strict null checks 2025-12-25 19:25:46 +00:00
e129ae24ad docs: add guidance on abstract system design for flexibility and modularity 2025-12-25 19:19:37 +00:00
a7f49f08f2 docs: clarify source code file size guidelines in kickstart document 2025-12-25 19:18:34 +00:00
218008bd21 refine: Update db index and autopusher script 2025-12-25 19:17:41 +00:00
05c1592366 scripts: tools,autopusher (1 files) 2025-12-25 19:13:32 +00:00
7fb70d57f1 Migrate workflow run UI to MUI 2025-12-25 19:08:33 +00:00
4d0cbfc5d7 feat: implement validation utilities for user and page entities; add email, username, slug, title, level validation functions 2025-12-25 19:01:56 +00:00
38a4236a22 feat: implement SandboxedLuaEngine functions for execution, destruction, and environment setup 2025-12-25 18:57:19 +00:00
e86484141e feat: implement AuthProvider and useAuth hooks; refactor CssClassManager for improved UI and functionality 2025-12-25 18:56:48 +00:00
9170fd2bb3 feat: refactor Providers and theme management; implement Lua engine with execution and destruction capabilities 2025-12-25 18:55:30 +00:00
e2101950d6 feat: enhance CssClassBuilder with validation messages for custom class input 2025-12-25 18:53:22 +00:00
6eb3a77457 feat: update CssClassBuilder layout for responsive class display and improve button accessibility 2025-12-25 18:53:16 +00:00
1ea26ec556 feat: enhance CssClassBuilder with improved selected classes display and preview functionality 2025-12-25 18:53:00 +00:00
a663e266e9 feat: implement component registry with CRUD operations and state management 2025-12-25 18:51:57 +00:00
5854973395 refactor: enhance CssClassBuilder with memoization and improved class parsing
- 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.
2025-12-25 18:50:39 +00:00
8181807cb4 refactor component catalog icon mapping 2025-12-25 18:47:18 +00:00
34e31ef2a1 feat: update icon mapping and add scanForVulnerabilities to security scanner 2025-12-25 18:45:59 +00:00
bde5669994 feat: add scanForVulnerabilities export to security functions index 2025-12-25 18:45:42 +00:00
2470f50fa8 feat: refactor LuaSnippetUtils to use utility functions for category counts and tags 2025-12-25 18:45:31 +00:00
c7ef4ae15b feat: add functions to retrieve unique snippet tags and category counts 2025-12-25 18:45:13 +00:00
5e4e2a3ab5 feat: implement DBAL adapter with Prisma; add closeAdapter and getAdapter functions 2025-12-25 18:44:54 +00:00
3110f1b176 feat: enhance ComponentCatalog with Material-UI components and icon mapping; add DBAL client functions for entity management 2025-12-25 18:44:40 +00:00
31e1fd59e8 chore: update kickstart document with additional references and formatting 2025-12-25 18:44:11 +00:00
d69ee2c220 feat: add dbalDeleteUser and dbalUpdateUser functions for user management 2025-12-25 18:41:31 +00:00
ca50d67197 feat: add dbalAddUser and dbalGetUsers functions for user management 2025-12-25 18:41:17 +00:00
1ae333312d feat: add initializeDBAL function for database client setup 2025-12-25 18:40:54 +00:00
fa51c75a35 feat: implement DeclarativeComponentRenderer class with core methods 2025-12-25 18:40:41 +00:00
c182d4ce25 feat: add resolveDataSource function for context-based data retrieval 2025-12-25 18:40:23 +00:00
4c70eef94b feat: Add hooks for blob storage and cached data management
- 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.
2025-12-25 18:40:14 +00:00
d6e9197ce7 feat: restructure security module and add new operations
- 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.
2025-12-25 18:33:21 +00:00
071ba1c4d7 refactor: split secure-db rate limit helpers 2025-12-25 18:20:01 +00:00
e48be526e2 docs: add reference to RADIX_TO_MUI_MIGRATION.md in kickstart prompts 2025-12-25 18:16:24 +00:00
326d18d36d feat(security): implement secure database operations with access control and logging 2025-12-25 18:08:27 +00:00
8d5efd2b17 feat(lua): add Lua execution context and security scanning functionality
- 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.
2025-12-25 18:04:04 +00:00
089c93e649 feat(security): add comprehensive security scanning functions and patterns
- 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.
2025-12-25 18:01:03 +00:00
616d4ad87b feat: Implement CRUD operations for pages, schemas, tenants, users, workflows, and SMTP configurations
- 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.
2025-12-25 17:54:34 +00:00
6b19f12f73 feat: Implement dropdown configuration management and package handling
- 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.
2025-12-25 17:49:59 +00:00
0479a7766d docs: clarify LAMBDA_PROMPT.md by explaining the solution to the code length problem 2025-12-25 17:49:37 +00:00