Commit Graph

923 Commits

Author SHA1 Message Date
git 309ef64fd6 fix(types): enhance type safety in executeLuaScript, interpolateValue, evaluateConditional, and resolveDataSource methods 2025-12-30 00:48:17 +00:00
git d818a93c0f fix(types): enhance type safety in callLuaFunction and loadPackageComponents functions 2025-12-30 00:48:08 +00:00
git 8f42c03697 fix(types): enhance type safety in LuaEngine and execution functions 2025-12-30 00:47:52 +00:00
git a8d0e1b749 fix(types): improve type safety in generatePackageExport and executeLuaScript functions 2025-12-30 00:47:25 +00:00
git 4d451dab46 fix(types): enhance type safety across various components and utilities 2025-12-30 00:47:10 +00:00
git f93945ad79 fix(types): update types in LuaScriptDetails and PackageFilters components for better type safety 2025-12-30 00:40:26 +00:00
git 021762bd50 docs: add package-sources documentation and update copilot-instructions for 6-level permissions 2025-12-30 00:36:30 +00:00
git e59841bbff test: add unit tests for PackageSourceManager functionality 2025-12-30 00:33:00 +00:00
git 52e1337b69 feat: Implement local and remote package sources with package source manager
- Added LocalPackageSource to load packages from the local filesystem.
- Introduced RemotePackageSource to fetch packages from a remote registry.
- Created PackageSourceManager to manage multiple package sources and resolve conflicts.
- Added tests for package source types and configurations.
- Updated metadata.json files for various packages to include dependencies.
- Enhanced type definitions for package sources and related data structures.
2025-12-30 00:32:52 +00:00
git ec76c69609 fix(types): update SqlParam type for query and execute methods in UIPagesDb 2025-12-30 00:21:14 +00:00
git 00c7d7f473 feat(users): add moderator user to seed data 2025-12-30 00:20:37 +00:00
git fac6a49a64 Refactor and enhance permission handling, UI components, and package metadata
- Updated ModelTable component to use more specific types for records and edit actions.
- Enhanced NavItem component to extend MUI ListItemProps for better type safety.
- Refactored normalizeLuaStructure to improve type handling with JsonValue.
- Updated LuaUIComponent and related types to use JsonValue for props and handler arguments.
- Modified AuditLog interface to use JsonObject for metadata.
- Improved importUIPages function to use a more specific database interface.
- Refactored builder-types to use JsonValue for component props and default values.
- Updated package index.json to reflect changes in package descriptions, dependencies, and added minLevel attributes.
- Enhanced permissions in Lua scripts to include new roles (moderator, supergod).
- Renamed and updated metadata for UI level packages to reflect new roles and functionalities.
- Added new UI level package (Level 6 - Supergod Panel) with associated scripts and components.
- Updated permissions check script to include new moderator role checks.
2025-12-30 00:20:29 +00:00
git b72763d9ff feat: add minLevel property to metadata.json files and update permission levels in levels.lua 2025-12-30 00:13:12 +00:00
git de20d96a82 feat(build): ensure minLevel is set from indexEntry in package registry 2025-12-30 00:09:55 +00:00
git fe5b4ce0a9 feat(types): add minLevel property to PackageDefinition for permission management 2025-12-30 00:09:33 +00:00
git d9a562f09b feat(JsonEditor): update types for value, onSave, and schema props to JsonValue
feat(TabContent): refine types for onSchemasChange, onWorkflowsChange, and onLuaScriptsChange props
2025-12-30 00:09:24 +00:00
git 5bca85b5a9 feat(lua-ui): remove Lua UI example form and login page implementations 2025-12-30 00:07:35 +00:00
git 8190255e7c feat: Refactor package installation and validation scripts
- Updated ContactForm example to remove type casting on handleInputChange.
- Enhanced package installation scripts with type definitions for better type safety.
- Implemented package uninstallation and installation checks with improved type definitions.
- Added new Lua scripts for admin settings, code editor features, and user management.
- Introduced schema editor field types and validation rules for form inputs.
- Created social feed components and workflow editor nodes for enhanced functionality.
- Developed layout modules for various UI levels, including admin and supergod panels.
2025-12-30 00:05:03 +00:00
git 1a57c0a917 fix(types): enhance type safety by specifying return types in package component functions and adding new field components 2025-12-29 23:58:21 +00:00
git d517d04537 fix(types): improve type safety by replacing 'any' with specific types in getInstalledPackages and PackageDefinition 2025-12-29 23:58:00 +00:00
git 4201940930 fix(types): replace 'any' with specific types for improved type safety in exportDatabaseSnapshot function 2025-12-29 23:57:52 +00:00
git f89ac06184 fix(types): replace 'any' with specific types for improved type safety in modular package functions 2025-12-29 23:57:45 +00:00
git ef86c48fd0 fix(types): replace 'any' with 'unknown' for improved type safety across workflow and metadata files 2025-12-29 23:52:02 +00:00
git 66ea8ceb9f Merge branch 'main' of https://github.com/johndoe6345789/metabuilder 2025-12-29 23:48:13 +00:00
git 4b002d8bfa fix(types): replace 'any' with 'unknown' in DBALConfig and DBALUser interfaces for better type safety 2025-12-29 23:47:39 +00:00
git d1d0862fe9 feat: add SVG icons for various components including user manager, workflow editor, and permissions 2025-12-29 23:47:13 +00:00
git 9d67c8dbbc feat: add notification center package with toast and list functionalities
- Implemented notification center initialization and rendering utilities.
- Added toast notification types: success, error, warning, and info.
- Created notification list rendering with badge support.
- Included SVG icons for notification center.
- Added tests for notification center functionalities.

feat: introduce schema editor package for database management

- Developed schema editor initialization and field type definitions.
- Implemented table management and relationships handling.
- Added SVG icons for schema editor.
- Included tests for schema editor functionalities.

feat: create user manager package for user management operations

- Implemented user management actions: create, update, delete, change level, and toggle active.
- Developed user list rendering with sortable columns.
- Added SVG icons for user manager.
- Included tests for user manager functionalities.

feat: add workflow editor package for workflow management

- Developed workflow editor rendering and step management utilities.
- Implemented workflow run status display and progress rendering.
- Added SVG icons for workflow editor.
- Included tests for workflow editor functionalities.

chore: add static SVG icons for various packages
2025-12-29 23:47:01 +00:00
git e4450de5ca chore: improve package data typings 2025-12-29 23:38:49 +00:00
git 92e9b870fa Fix type lint warnings in hooks 2025-12-29 23:30:27 +00:00
git 427f502a3d Merge pull request #478 from johndoe6345789/codex/resolve-lint-warnings
Resolve lint warnings
2025-12-29 23:21:32 +00:00
git c852289a06 chore: resolve lint warnings 2025-12-29 23:21:14 +00:00
git d0dbf45d24 feat: load UI pages from lua packages 2025-12-29 23:19:02 +00:00
git 1f88b32d0c fix: rename error variable in GET function for consistency 2025-12-29 23:04:19 +00:00
git 5d880c6c3b feat: implement dynamic UI page rendering and database integration 2025-12-29 22:58:50 +00:00
git 9f10d771d2 feat: add login and level 1 pages with UI components and actions 2025-12-29 22:55:41 +00:00
git bc1b8de3e0 test: update assertion for handling unknown component types in generateComponentTree tests 2025-12-29 22:50:49 +00:00
git 21d45bc559 test: add unit tests for generateComponentTree function 2025-12-29 22:50:36 +00:00
git df40166a60 fix: remove unused LuaUIComponent type import in loadLuaUIPackage 2025-12-29 22:49:31 +00:00
git 3f12f2d23a feat: add normalizeLuaStructure and normalizeLuaComponent functions for Lua data handling 2025-12-29 22:49:22 +00:00
git 3f5f9d66cc fix: standardize import formatting across multiple files
- Adjusted import statements to ensure consistent spacing and formatting in various test files, utility files, and component files.
- Updated type imports to maintain uniformity in spacing.
- Ensured that all import statements follow the same style for better readability and maintainability.
2025-12-29 22:49:05 +00:00
git 3265d06737 fix: standardize import formatting across components and tests
- Adjusted import statements for consistency by adding spaces after commas in multiple files.
- Ensured proper export formatting in various components to maintain code readability.
- Updated test files to follow the same import formatting standards.
- Refactored the `createLuaFunctionWrapper` function to simplify its parameters.
2025-12-29 22:48:33 +00:00
git 4d46410015 Refactor action function wrapper creation in loadLuaUIPackage for clarity 2025-12-29 22:48:12 +00:00
git 71a2d784bd Implement loadLuaUIPackage function to load Lua UI packages and handle errors 2025-12-29 22:48:03 +00:00
git f8577072cb Fix import formatting in loadLuaUIPackage tests for consistency 2025-12-29 22:47:48 +00:00
git 72be29b288 Add callLuaFunction utility and tests for Lua module loading 2025-12-29 22:47:16 +00:00
git a6e427647c Add tests for loadLuaUIPackage functionality and structure validation 2025-12-29 22:45:32 +00:00
git b7e6234c38 Refactor code structure and remove redundant sections for improved readability and maintainability 2025-12-29 22:45:07 +00:00
git dbfbb32188 refactor 2025-12-29 22:42:31 +00:00
git 50cd5c40b2 Refactor page rendering functions for consistency and readability
- Adjusted indentation and formatting in get-pages.ts for consistency.
- Enhanced readability in build-feature-card.ts by formatting parameters and adding commas.
- Updated build-features-component.ts to maintain consistent formatting and added missing commas.
- Improved formatting in build-hero-component.ts for better readability.
- Standardized formatting in build-level1-homepage.ts by adding commas.
- Refactored initialize-default-pages.ts for consistent indentation and added commas.
- Cleaned up PageRendererUtils.ts by ensuring consistent argument handling.
- Streamlined check-permissions.ts for better readability and consistency.
- Refined execute-lua-script.ts for consistent error handling and formatting.
- Enhanced get-page.ts and get-pages-by-level.ts with consistent return formatting.
- Improved load-pages.ts for better readability and consistent formatting.
- Standardized on-page-load.ts and on-page-unload.ts for consistent formatting and readability.
2025-12-29 22:38:34 +00:00
git d305b25c76 refactor 2025-12-29 22:38:23 +00:00