Commit Graph

416 Commits

Author SHA1 Message Date
d718f3e455 Merge branch 'main' into copilot/refactor-large-typescript-files 2025-12-27 15:25:43 +00:00
copilot-swe-agent[bot]
a8ba66fce1 refactor(dbal): modularize tenant-context from 255 to 54 lines
- Extract tenant types into tenant/tenant-types.ts (43 lines)
- Extract permission checks into tenant/permission-checks.ts (48 lines)
- Extract quota checks into tenant/quota-checks.ts (57 lines)
- Main file delegates to extracted utilities

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 14:54:50 +00:00
copilot-swe-agent[bot]
f97e91b471 refactor(dbal): modularize websocket-bridge from 181 to 168 lines
- Extract RPC types into utils/rpc-types.ts
- Extract request ID generation into utils/generate-request-id.ts
- Simplify WebSocketBridge by using extracted utilities

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 14:44:54 +00:00
copilot-swe-agent[bot]
37f48497a0 Update dependencies to latest versions and refactor API calls
- Updated Prisma from 6.19.1 to 7.2.0 (major version)
- Migrated Prisma schema to remove datasource URL (Prisma 7.x requirement)
- Updated PrismaClient initialization to pass datasourceUrl
- Fixed API route handlers to accept NextRequest parameter
- Updated MUI Grid component to include component prop for v7 compatibility
- Added AWS SDK dependencies to DBAL development module
- Created stub implementations for GitHub workflow log analysis functions

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 14:37:27 +00:00
copilot-swe-agent[bot]
672038938b refactor(dbal): modularize ACL adapter from 453 to 258 lines
- Extract ACL types into acl/types.ts
- Extract default rules into acl/default-rules.ts
- Extract permission check into acl/check-permission.ts
- Extract row-level access check into acl/check-row-level-access.ts
- Extract audit logger into acl/audit-logger.ts
- Extract permission operation resolver into acl/resolve-permission-operation.ts
- Simplify ACL adapter by using extracted lambda functions

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 14:36:54 +00:00
copilot-swe-agent[bot]
aac7d1f4d4 refactor(dbal): break down client.ts from 813 to 103 lines
- Extract adapter factory into adapter-factory.ts
- Replace inline entity operations with modular imports
- Remove poorly named client-refactored.ts file
- Client now delegates to entity-specific operation modules

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 14:33:41 +00:00
copilot-swe-agent[bot]
5491597a79 fix: improve AWS SDK optional import handling
- Added @ts-ignore for optional AWS SDK import to prevent TypeScript errors
- Changed webpack config to use resolve.fallback instead of externals
- Improved error message for missing AWS SDK
- Made S3 storage truly optional with better runtime error handling

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:57:46 +00:00
copilot-swe-agent[bot]
877691ebbe docs: add S3 blob storage configuration guide
- Created comprehensive S3_CONFIGURATION.md documentation
- Covers AWS S3, MinIO, DigitalOcean Spaces, Cloudflare R2
- Documents optional AWS SDK dependency installation
- Includes configuration examples, troubleshooting, security best practices
- Added link to main DBAL README
- Explains why AWS SDK is optional and how to enable S3 support

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:55:23 +00:00
copilot-swe-agent[bot]
f2795107b9 fix: resolve getAdapter export path and mark AWS SDK as external
- Fixed core/dbal-client index path to use ../dbal-client (not ../../)
- Added AWS SDK to webpack externals to prevent build errors
- S3 storage is optional - will throw error if @aws-sdk/client-s3 not installed
- Fixed circular re-export issue between core/dbal-client and dbal-client

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:54:09 +00:00
copilot-swe-agent[bot]
892e2e491b fix: create DBAL shared UI components for status and daemon page
- Created dbal/shared/ui directory for shared UI components
- Implemented getStatusResponse() for status API endpoint
- Implemented DBALDaemonPage component with metadata
- Updated tsconfig.json @dbal-ui path to point to dbal/shared/ui
- Updated next.config.ts webpack alias for @dbal-ui
- Components support both development and production DBAL modes

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:50:20 +00:00
copilot-swe-agent[bot]
6daa178c05 Merge branch 'main' into copilot/fix-npm-run-build-issue
# Conflicts:
#	dbal/development/src/core/validation/index.ts
#	frontends/nextjs/src/lib/dbal/database-dbal/core/initialize-dbal.server.ts
2025-12-27 13:40:59 +00:00
copilot-swe-agent[bot]
e0bb913c6c fix: correct blob-storage import paths and add TypeScript annotations
- Fixed import paths in blob providers (filesystem, memory, s3, tenant-aware) to use ../blob-storage
- Added type annotation to prisma-adapter createMany method
- Fixed package-lib/package-catalog.ts path to use ../packages/core
- Cleared Next.js build cache to resolve stale module issues

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:37:21 +00:00
copilot-swe-agent[bot]
082c687325 Move documentation files to docs folder
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:36:33 +00:00
copilot-swe-agent[bot]
52786b73fd fix: replace stub implementations with proper functions
- Removed stub dbal-client directory, fixed import path to use real implementation
- Implemented proper workflow log analysis functions (analyze, fetch, parse)
- Created workflows/analysis/logs directory with real implementations
- Fixed package catalog circular import (now points to packages/core)
- Fixed prisma-adapter updateMany TypeScript error with type annotation
- All GitHub workflow functions now properly implemented using Octokit API

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:33:42 +00:00
copilot-swe-agent[bot]
6658c6af0d Add before/after visualization for DBAL restructure
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:33:25 +00:00
copilot-swe-agent[bot]
f22db00de6 Complete DBAL restructure with summary documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:32:43 +00:00
copilot-swe-agent[bot]
2180f608fb Restructure dbal folder: development, production, and shared
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:30:57 +00:00
copilot-swe-agent[bot]
8e5bf079c7 fix: add type annotation to prisma-adapter deleteMany result
- Added explicit type annotation to fix TypeScript error in deleteMany method

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:24:04 +00:00
copilot-swe-agent[bot]
9f7dd63b7f fix: resolve remaining module import path issues
- Fixed database-lib/database.ts to export from ../db
- Created /lib/db/index.ts barrel export
- Fixed secure-db operations to use @/lib/database-lib/database
- Fixed secure-db entity getters execute-query import paths
- Fixed secure-db rate-limiting store import paths
- Fixed main.scss to use correct styles/core paths
- Fixed DBAL adapter core/types imports to use core/foundation/types

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:17:42 +00:00
copilot-swe-agent[bot]
5359cd7d6d [WIP] Fix module import path issues preventing npm run build
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:07:26 +00:00
copilot-swe-agent[bot]
fbb5c97c24 fix: correct DBAL internal import paths
- Fixed blob providers to use correct error path
- Fixed core/client imports for adapters, bridges, validation
- Fixed DBAL index.ts to export from foundation subdirectory
- Created validation/index.ts to export all validation functions
- Fixed is-plain-object import in validate-component-hierarchy-create.ts

WIP: Multiple validation entity files need predicate import path fixes

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:03:44 +00:00
83896e0b63 code: hpp,dbal,cpp (2 files) 2025-12-26 06:23:46 +00:00
04b1015fe6 code: cpp,dbal,client (2 files) 2025-12-26 06:22:59 +00:00
0a24c71112 code: hpp,dbal,cpp (2 files) 2025-12-26 06:22:43 +00:00
60a68d4b18 code: cpp,dbal,client (1 files) 2025-12-26 06:21:57 +00:00
7bfcb4623d code: cpp,dbal,client (2 files) 2025-12-26 06:21:41 +00:00
9018bce53e docs: dbal,cpp,hpp (3 files) 2025-12-26 06:21:25 +00:00
32365a19b9 docs: txt,dbal,cpp (1 files) 2025-12-26 06:21:08 +00:00
4aa964e91a docs: dbal,cpp,client (4 files) 2025-12-26 06:20:52 +00:00
aa5ad8ff26 code: cpp,dbal,client (2 files) 2025-12-26 06:20:36 +00:00
7f94ebe426 docs: dbal,cpp,txt (4 files) 2025-12-26 06:20:05 +00:00
c62caa6b3b code: search,scripts,lua (1 files) 2025-12-26 06:19:49 +00:00
b7b3ec2077 code: cpp,dbal,client (1 files) 2025-12-26 06:19:18 +00:00
d214188a1f code: cpp,dbal,client (1 files) 2025-12-26 06:19:02 +00:00
2735dda76a code: cpp,dbal,client (2 files) 2025-12-26 06:18:46 +00:00
e6ec8c48aa code: users,hpp,dbal (1 files) 2025-12-26 06:18:30 +00:00
1993b8320e code: users,hpp,dbal (1 files) 2025-12-26 06:18:14 +00:00
6439bd4d4c docs: dbal,frontends,cpp (3 files) 2025-12-26 06:17:28 +00:00
cdbea281ed docs: cpp,dbal,client (3 files) 2025-12-26 06:17:12 +00:00
d31131dc33 code: hpp,dbal,cpp (2 files) 2025-12-26 06:16:56 +00:00
395718da9f code: search,hpp,dbal (1 files) 2025-12-26 06:16:40 +00:00
88431aca9e docs: dbal,cpp,txt (2 files) 2025-12-26 06:15:52 +00:00
6bf6fc0497 code: cpp,dbal,client (1 files) 2025-12-26 06:15:36 +00:00
753cc8ad53 code: cpp,dbal,hpp (3 files) 2025-12-26 06:15:20 +00:00
ea0886059f docs: dbal,txt,search (2 files) 2025-12-26 06:15:04 +00:00
14b5038ad3 code: cpp,prisma,nextjs (2 files) 2025-12-26 06:14:01 +00:00
bebc14e745 code: dbal,qml,list (2 files) 2025-12-26 06:13:45 +00:00
17b5e3c223 code: cpp,dbal,tree (3 files) 2025-12-26 06:13:13 +00:00
d4aa8f98bf code: prisma,nextjs,native (2 files) 2025-12-26 06:12:57 +00:00
1e66dcc6be code: cpp,frontends,cli (4 files) 2025-12-26 06:11:23 +00:00