74 Commits

Author SHA1 Message Date
38584e164e feat: 更新Kubernetes部署说明,简化描述
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 10s
2025-08-01 01:29:04 +08:00
92e0fb1606 Merge branch 'main' of https://github.com/snowykami/neo-blog 2025-08-01 01:24:59 +08:00
e3441af4b4 feat: 更新Helm Chart注册中心地址和安装命令 2025-08-01 01:24:57 +08:00
ffda845e85 Merge pull request #3 from redish101/ci/helm-chart
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 17s
ci: 自动将helm chart推送至注册表
2025-07-31 08:34:04 +08:00
a740c48d12 feat: 更新评论功能,重构评论列表接口,添加分隔符组件,优化用户头像显示 2025-07-31 08:32:24 +08:00
94aa4f1b1f feat: 添加评论功能,包括评论输入、评论列表和评论项组件,支持层级深度和私密评论 2025-07-31 08:03:19 +08:00
d7356d600e ci: 自动将helm chart推送至注册表 2025-07-30 16:37:57 +08:00
92c2a58e80 feat: Implement blog home and post components with sidebar and pagination
- Added BlogHome component for displaying posts with sorting options (latest/popular).
- Integrated Sidebar with About, Hot Posts, Tags, and Misskey Iframe components.
- Created BlogPost component to render individual posts with metadata and content.
- Developed GravatarAvatar component for user avatars.
- Implemented Markdown rendering with syntax highlighting and custom code blocks.
- Added pagination component for navigating through posts.
- Enhanced login form with OpenID Connect options and email/password authentication.
- Utility functions for generating post URLs and calculating reading time.
2025-07-30 00:18:32 +08:00
1b29d50ba4 📝 feat: Update README with feature list and deployment instructions
refactor: Remove old Helm chart files and templates

feat: Add new Helm chart structure for neo-blog deployment

chore: Add .helmignore and initial Chart.yaml for Helm chart

feat: Implement backend and frontend deployment templates in Helm chart

feat: Create services and ingress configurations for backend and frontend

chore: Define resource limits and requests for backend and frontend in values.yaml

feat: Enable autoscaling configuration for backend and frontend deployments

chore: Clean up unused files and configurations from previous setup
2025-07-29 08:15:20 +08:00
6b391422b8 Merge pull request #2 from redish101/feat/helm
feat(deploy): Helm Chart
2025-07-28 22:25:19 +08:00
dc6b84d998 fix: 修复了在frontend.enabled=false时仍配置前端hpa的问题 2025-07-28 18:42:07 +08:00
4444b398c0 fix: 修复了values.yaml中错误的docker registry 2025-07-28 18:38:38 +08:00
05448151d2 feat(deploy): Helm Chart 2025-07-28 18:31:17 +08:00
2c2e274ed5 ♻️ refactor: 修正.gitignore中的server路径格式 2025-07-28 15:31:32 +08:00
69b597e713 ♻️ refactor: 删除不再使用的server文件,清理代码库 2025-07-28 15:30:49 +08:00
dc698da285 ♻️ refactor: 优化布局组件,调整动画效果并修复ScrollToTop组件的依赖 2025-07-28 14:32:02 +08:00
faa793a68d feat: 添加设备检测功能,支持判断用户是否使用移动设备 2025-07-28 14:14:01 +08:00
b1296047aa ♻️ refactor: 优化Dockerfile,修正pnpm build命令的格式,确保构建过程顺利 2025-07-28 14:12:06 +08:00
bb1d4bc757 ♻️ refactor: 优化Dockerfile,移除不必要的pnpm prune命令,简化构建过程 2025-07-28 14:10:16 +08:00
aceb96ea53 feat: 在Footer组件中添加版权信息,增强页面底部内容 2025-07-28 14:08:23 +08:00
9a5a5b99e6 refactor: 移除未使用的导入和优化Navbar组件的逻辑 2025-07-28 14:06:48 +08:00
c962cf572f feat: 添加Footer组件并在RootLayout中引入,增强页面结构
style: 更新globals.css,调整sonner-toast背景颜色
fix: 修改request.ts中的日志级别为debug,优化错误信息输出
2025-07-28 11:44:50 +08:00
460ed87ad2 refactor: 优化extractText函数的类型声明,增强类型安全性 2025-07-28 11:24:57 +08:00
ceb8357dc8 refactor: 优化Dockerfile,合并COPY和RUN命令,简化构建过程 2025-07-28 11:18:01 +08:00
c702fc7664 refactor: 重构Dockerfile,合并构建阶段,简化依赖安装和构建逻辑 2025-07-28 11:13:30 +08:00
e1f3972541 refactor: 优化Dockerfile,简化依赖安装和构建逻辑,移除不必要的注释 2025-07-28 11:11:36 +08:00
b2fdca86f8 refactor: 简化Dockerfile中的依赖安装和构建逻辑,移除条件判断 2025-07-28 11:07:56 +08:00
cb5c92cfae fix: 修复加载语言文件时的警告信息,确保错误信息正确输出 2025-07-28 11:06:38 +08:00
812962eb84 feat: 添加代码高亮支持,优化Markdown渲染,新增滚动到顶部组件 2025-07-28 11:04:13 +08:00
06e270545a fix: 调整用户登出路由权限,优化登出逻辑注释并移除无用打印 2025-07-28 08:52:11 +08:00
ca8e1f92bd 🐛 Implement feature X to enhance user experience and optimize performance 2025-07-28 08:42:56 +08:00
a3403995c0 feat: 添加帖子元数据组件,优化帖子头部显示 2025-07-28 08:39:13 +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
d73ed493be feat: 更新评论和帖子模型,添加用户信息和原创标识,优化API请求和组件结构 2025-07-28 06:22:07 +08:00
5c20a310e3 Merge pull request #1 from redish101/main
feat: ️ feat: 添加评论 CRUD 操作
2025-07-26 16:32:42 +08:00
2bd981135d fix: 纠正获取评论列表排序参数的错误 2025-07-26 16:31:15 +08:00
339d420918 feat: ️ feat: 添加评论 CRUD 操作 2025-07-26 16:26:14 +08:00
a805767030 ️ feat: 在README中添加Kubernetes容器化部署说明 2025-07-26 10:45:33 +08:00
d5d0b75dd3 ️ feat: 更新README以包含环境变量配置说明,并删除示例docker-compose文件 2025-07-26 10:44:27 +08:00
49ebb484fa ️ feat: 在README中添加BACKEND_URL环境变量说明,并更新源码构建部署部分的描述 2025-07-26 10:39:44 +08:00
7918f04059 ️ feat: 在前端服务中添加端口映射,并在API客户端中记录后端URL 2025-07-26 10:30:36 +08:00
b92fce5c7c ️ feat: 更新后端URL环境变量为BACKEND_URL,以支持更灵活的配置 2025-07-26 10:21:31 +08:00
99e291654d ♻️ refactor: standardize code formatting and improve readability across components
- Updated component files to use consistent single quotes for strings.
- Removed unnecessary newlines and adjusted indentation for better readability.
- Simplified conditional rendering and improved code structure in various components.
- Added ESLint configuration for better code quality and adherence to standards.
- Enhanced error handling in i18n request logic.
2025-07-26 10:01:27 +08:00
e659de23fb ️ feat: refactor sorting parameters in post listing API and components
- Renamed `orderedBy` to `orderBy` and `reverse` to `desc` in ListPostsParams interface and related functions.
- Updated all usages of the sorting parameters in the post listing logic to reflect the new naming convention.

feat: add user-related API functions

- Implemented `getLoginUser` and `getUserById` functions in the user API to fetch user details.
- Enhanced user model to include `language` property.

feat: integrate next-intl for internationalization

- Added `next-intl` plugin to Next.js configuration for improved localization support.
- Removed previous i18n implementation and replaced it with a new structure using JSON files for translations.
- Created locale files for English, Japanese, and Chinese with basic translations.
- Implemented a request configuration to handle user locales and messages dynamically.

fix: clean up unused imports and code

- Removed unused i18n utility functions and language settings from device context.
- Cleaned up commented-out code in blog card component and sidebar.

chore: update dependencies

- Added `deepmerge` for merging locale messages.
- Updated package.json and pnpm-lock.yaml to reflect new dependencies.
2025-07-26 09:48:23 +08:00
9984f665d4 feat: 新增 Like、Comment、Repo 和 Service 模块的基础包结构 2025-07-26 09:48:14 +08:00
c565b5b5ef ️ feat: Refactor API client to support server-side and client-side configurations
fix: Update post fetching logic to use dynamic ID instead of hardcoded value

feat: Enhance layout with animated transitions using framer-motion

refactor: Remove old post and user page implementations, introduce new structure

feat: Implement sidebar components for blog home with dynamic content

feat: Create blog post component with wave header and metadata display

feat: Add responsive sidebar menu for navigation on mobile devices

chore: Introduce reusable sheet component for modal-like functionality
2025-07-25 06:18:24 +08:00
a76f03038c feat: 修复创建帖子时参数验证失败的处理逻辑,并更新博客卡片链接路径 2025-07-25 04:32:00 +08:00
1cbfe60f8c feat: 更新标签列表获取逻辑,支持空数据处理 2025-07-25 04:23:45 +08:00
d03730a7fa feat: 重构构建工作流,分离前端和后端构建步骤 2025-07-25 04:15:59 +08:00
5d5e008bc0 Merge branch 'main' of https://github.com/snowykami/neo-blog 2025-07-25 04:13:58 +08:00