Skip to content

User2#20

Merged
Zekud merged 59 commits into
mainfrom
user2
Aug 12, 2025
Merged

User2#20
Zekud merged 59 commits into
mainfrom
user2

Conversation

@Zekud
Copy link
Copy Markdown
Collaborator

@Zekud Zekud commented Aug 12, 2025

No description provided.

apeiron888 and others added 30 commits July 30, 2025 09:52
…otifications, reactions, and reports; add service layers for handling business logic.
…ialization

fix(config): correct environment variable name for MongoDB database
chore(go.mod): update dependencies and add new indirect dependencies
…ialization

fix(config): correct environment variable name for MongoDB database
chore(go.mod): update dependencies and add new indirect dependencies
…etup; remove unused comment and article files
…pagination & filtering

- Persist articles in MongoDB with insert, update, delete, restore, get by ID/slug
- Support publish/unpublish/archive/unarchive
- Enable pagination and filtering for author and general searches
Emran-Mohammed and others added 29 commits August 6, 2025 15:09
…rfaces

feat: update article, repository, and usecase implementations

- Generated mocks for IArticleRepository and IArticlePolicy using mockery
- Integrated mocks into table-driven tests
- Refactored usecase logic to support testing with mocked dependencies
- Updated MongoCommentRepository to log comment ID fetching and handle ObjectID conversion in GetByID method.
- Refactored GeminiClient to utilize the genai package for generating suggestions and content, improving error handling and response parsing.
- Added a utility function to strip code fences from the AI responses.
- Removed deprecated HTTP request logic in favor of the new genai client methods.
- Introduced stricter content guidelines in AI prompts to ensure appropriateness.
- Added a new binary file for the main executable.
feat(ai_routes): add generate-content endpoint to AI routes
…ict markers in router.go, and tidy imports in container.go
- Added unit tests for Comment, Follow, Reaction, Report, and User use cases to ensure basic functionality.
- Implemented a new function to create indexes in MongoDB for improved query performance across comments, reactions, follows, and reports collections.
- Created a probe file for internal mocks.
@Zekud Zekud merged commit e89397e into main Aug 12, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants