25 Commits

Author SHA1 Message Date
869049c679 feat: Add contributing guidelines and development setup documentation
- Created a comprehensive Code Guidelines document outlining coding standards and best practices for DebrosFramework.
- Added a Development Setup guide to assist contributors in setting up their environment.
- Introduced an Overview document to welcome new contributors and explain the project's status and contribution areas.
- Updated the intro.md to reflect the current development status of DebrosFramework.
- Modified sidebars.ts to include new contributing documentation in the navigation.
- Enhanced package.json description for clarity and added relevant keywords.
- Updated version information in DebrosFramework.ts and index.ts to reflect the current beta version.
2025-07-05 06:18:06 +03:00
619dfe1ddf refactor(tests): remove DebrosFramework integration tests and update blog scenario tests
- Deleted the DebrosFramework integration test file to streamline the test suite.
- Updated blog API server to import reflect-metadata for decorator support.
- Changed Docker Compose command for blog integration tests to run real tests.
- Modified TypeScript configuration for Docker to target ES2022 and enable synthetic default imports.
- Removed obsolete Jest configuration and setup files for blog scenario tests.
- Cleaned up global test setup by removing console mocks and custom matchers.
2025-07-03 07:00:54 +03:00
8c8a19ab5f feat(tests): Add integration tests for blog scenario
- Implement basic operations tests for user, category, post, and comment management.
- Create cross-node operations tests to verify distributed content creation and concurrent operations.
- Introduce Jest configuration and setup files for testing environment.
- Enhance BlogTestHelper with methods for user, category, post, and comment operations.
- Ensure data consistency and network metrics verification across nodes.
2025-07-03 06:15:27 +03:00
e6636c8850 fix: Update OrbitDBService type mapping and adjust BlogAPIServer initialization to use correct service references 2025-07-03 05:52:55 +03:00
1481bd8594 fix: Enhance initialization checks in FrameworkOrbitDBService and FrameworkIPFSService; add tsconfig.docker.json for integration tests 2025-07-02 07:45:55 +03:00
e82b95878e refactor: Improve decorator handling and error management in Field and hooks; update Blog API Dockerfile for better dependency management 2025-07-02 07:24:07 +03:00
08d110b7e6 feat: Update Docker configurations and integrate IPFS and OrbitDB services 2025-06-21 12:07:36 +03:00
1e3c5d46be refactor: Remove unused getters from QueryBuilder class 2025-06-19 21:30:21 +03:00
8d3ccdc80c Add real integration tests for IPFS and OrbitDB
- Implemented real integration tests in `real-integration.test.ts` to validate the functionality of the DebrosFramework with IPFS and OrbitDB.
- Created `RealTestUser` and `RealTestPost` models for testing user and post functionalities.
- Developed setup and teardown lifecycle methods for managing the test environment.
- Introduced `RealIPFSService` and `RealOrbitDBService` classes for managing IPFS and OrbitDB instances.
- Added `PrivateSwarmSetup` for configuring a private IPFS network.
- Implemented utility functions for creating and shutting down IPFS and OrbitDB networks.
- Created a global test manager for managing test lifecycle and network state.
- Updated TypeScript configuration to include test files and exclude them from the main build.
2025-06-19 21:29:50 +03:00
0807547a51 feat: Enhance BaseModel validation with unique constraint checks and improve RelationshipManager model resolution 2025-06-19 20:55:17 +03:00
bac55a5e0c feat: Enhance BaseModel with improved shadowing property cleanup and validation during save operations 2025-06-19 13:54:54 +03:00
abb9734b36 feat: Improve field handling in BaseModel and Field decorator; ensure getter reliability and remove shadowing properties 2025-06-19 13:44:08 +03:00
3a22a655b2 feat: Enhance BaseModel field handling with error logging and getter fixes; update Field decorator for private key access 2025-06-19 13:23:25 +03:00
383419beec feat: Update DebrosFramework to reflect config changes in status; add health check and service retrieval methods; enhance RelationshipManager for model resolution in eager loading 2025-06-19 13:16:34 +03:00
4966df43d5 feat: Enhance decorators and query builder with improved inheritance handling; add targetModel alias for relationship compatibility; implement validation for field names and operators 2025-06-19 13:07:56 +03:00
0305cb1737 feat: Enhance QueryBuilder with operator normalization and null handling; update ShardManager to ensure shard index bounds; improve BaseModel tests for email validation 2025-06-19 12:54:21 +03:00
9f425f2106 feat: Refactor BaseModel and decorators for improved field handling and relationships 2025-06-19 12:45:10 +03:00
64163a5b93 feat: Enhance model decorators and query builder
- Added validation for field and model configurations in decorators.
- Improved handling of relationships in the BelongsTo, HasMany, HasOne, and ManyToMany decorators.
- Introduced new methods in QueryBuilder for advanced filtering, caching, and relationship loading.
- Updated RelationshipManager to support new relationship configurations.
- Enhanced error handling and logging in migration tests.
- Refactored test cases for better clarity and coverage.
2025-06-19 12:09:23 +03:00
eea46b0144 Bug refactor to new version 2025-06-19 06:43:54 +03:00
3232cf2d3e refactor: enhance connection management and error handling, sanitize data, and improve file upload logging 2025-06-18 15:28:32 +03:00
35e9480c5c bug fixes 2025-05-16 11:56:23 +03:00
12inchpenguin
be3763d988 fixed some type errors
Some checks failed
Publish Alpha Package to npm / publish (push) Has been cancelled
2025-04-08 14:20:13 +03:00
12inchpenguin
44d19ad628 updates types for orbit and bug fixes, and sanitiza data on document prepare 2025-04-07 15:49:13 +03:00
12inchpenguin
e00280aea9 initialized version alpha 0.20.0 2025-04-07 12:58:23 +03:00
DeBros
fc5884b7dc Add files via upload 2025-04-01 10:44:20 +03:00