Commit Graph

7 Commits

Author SHA1 Message Date
dd7641bf6e feat: implement advanced comment features including reply and like functionality
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s
- Added support for nested comments with reply functionality.
- Implemented like/unlike feature for comments and posts.
- Enhanced comment DTO to include reply count, like count, and like status.
- Updated comment and like services to handle new functionalities.
- Created new API endpoints for toggling likes and listing comments.
- Improved UI components for comments to support replies and likes with animations.
- Added localization for new comment-related messages.
- Introduced a TODO list for future enhancements in the comment module.
2025-09-09 00:24:25 +08:00
89e2fbe0b9 feat: enhance post retrieval with authorization token
- Updated `getPostById` function to accept an optional authorization token.
- Modified `PostPage` to retrieve the token from cookies and pass it to the API call.
- Added smooth transition effects for background and text colors in `globals.css`.
- Cleaned up imports and formatting in `blog-home.tsx`.
- Refactored `blog-post.tsx` to use `MDXRemote` for rendering markdown content.
- Introduced `blog-comment.tsx` and `blog-post-header.client.tsx` components for better structure.
- Added a switch component for dark/light mode toggle in the navbar.
- Updated `Post` model to include a description field.
2025-07-28 08:30:37 +08:00
f07200b0b9 update environment mode handling, refactor user registration logic, and add username/email existence checks 2025-07-22 10:04:42 +08:00
08872ea015 add .env.example file with configuration settings, refactor environment variable access methods 2025-07-22 09:31:58 +08:00
a0d215fa2e implement email verification feature, add captcha validation middleware, and enhance user authentication flow 2025-07-22 08:50:16 +08:00
d1a040617f implement user authentication and database initialization, add models for user, comment, label, and OIDC configuration 2025-07-22 06:18:23 +08:00
70b653a88b initialize project structure with main, routing, and environment utilities 2025-07-17 04:01:30 +08:00