Commit Graph

185 Commits

Author SHA1 Message Date
2d1dc2b055 feat: 更新默认站点名称以更清晰地反映错误状态,优化合并逻辑以支持对象递归合并 2025-09-26 00:31:45 +08:00
51c6718fc9 Merge pull request #37 from snowykami/fix/29
Fix/29
2025-09-26 00:26:23 +08:00
f501948f91 Refactor site configuration and color scheme management
- Replaced static config with dynamic site info context.
- Updated color scheme handling in various components to use site info.
- Removed deprecated config file and integrated site info fetching.
- Enhanced user preference page to allow color scheme selection.
- Adjusted blog and console components to reflect new site info structure.
- Improved error handling and fallback mechanisms for site info retrieval.
2025-09-26 00:25:34 +08:00
0812e334df feat: 删除不再使用的配置文件,添加新的控制器和路由文件 2025-09-26 00:25:26 +08:00
751ce7878b feat: 添加新的颜色样式,更新全局样式和组件以支持更多用户颜色选项 2025-09-25 19:18:09 +08:00
e6e7ee64a2 feat: 移除未使用的导入,优化 NavGroup 组件代码
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 18s
2025-09-25 15:50:57 +08:00
6641d78fb6 Merge pull request #36 from snowykami/fix/30
feat: 重构侧边栏组件,合并 NavMain 和 NavUserCenter 为 NavGroup,添加动态激活状态
2025-09-25 13:38:04 +08:00
be4c0b44f2 feat: 重构侧边栏组件,合并 NavMain 和 NavUserCenter 为 NavGroup,添加动态激活状态 2025-09-25 13:34:29 +08:00
17e4678345 Merge pull request #35 from snowykami/fix/31
feat: 添加帖子删除功能,允许用户删除帖子并更新帖子列表
2025-09-25 12:50:18 +08:00
7ba41a3085 feat: 添加帖子删除功能,允许用户删除帖子并更新帖子列表 2025-09-25 12:46:27 +08:00
8170f1aadf Merge pull request #34 from snowykami/fix/33
feat: 添加 SidebarAutoCloseOnRouteChange 组件以在路由变化时自动关闭侧边栏 Fix #33
2025-09-25 12:34:51 +08:00
12991985ae feat: 添加 SidebarAutoCloseOnRouteChange 组件以在路由变化时自动关闭侧边栏 2025-09-25 12:34:09 +08:00
78599e6031 feat: 移除未使用的 PictureEditor 组件,简化用户资料页面 2025-09-25 12:28:50 +08:00
64b1c54911 feat: enhance post management with pagination, search, and order functionality
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 11s
- Added search input for filtering posts by keywords.
- Implemented pagination controls for navigating through posts.
- Introduced order selector for sorting posts based on various criteria.
- Enhanced post item display with additional metrics (view count, like count, comment count).
- Added dropdown menu for post actions (edit, view, toggle privacy, delete).
- Integrated double confirmation for delete action.
- Updated user profile to support background image upload.
- Improved user security settings with better layout and validation.
- Refactored auth context to use useCallback for logout function.
- Added command palette component for improved command execution.
- Introduced popover component for better UI interactions.
- Implemented debounce hooks for optimized state updates.
- Updated localization files with new keys for improved internationalization.
- Added tailwind configuration for styling.
2025-09-25 00:51:29 +08:00
59b68613cd feat: 添加配置路由文件以支持API v1 2025-09-25 00:51:21 +08:00
59d39e0e07 feat: 更新重置密码表单组件,使用新的路由钩子以提升导航功能
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 14s
2025-09-24 12:51:05 +08:00
f2f3e90c4d feat: 在重置密码页面添加登录和注册链接;更新中文翻译以支持“注册”文本 2025-09-24 12:32:42 +08:00
7823264d80 feat: 调整登录、注册和重置密码页面的内边距,提升页面布局一致性 2025-09-24 12:29:53 +08:00
54f236a26a feat: 调整注册和重置密码页面的布局,优化组件宽度;更新中文翻译以支持“获取”按钮文本 2025-09-24 12:21:11 +08:00
9b0ae6f4bb feat: 优化仪表板数据结构类型定义,提升代码可读性 2025-09-24 12:12:40 +08:00
636b4d5ea0 feat: 添加仪表板功能,整合统计数据并优化后台管理界面 2025-09-24 12:09:16 +08:00
2bcaad716d feat: 为当前登录用户组件添加边框和内边距样式,提升视觉效果 2025-09-24 09:58:31 +08:00
a744616884 feat: 调整评论输入框的渲染顺序,确保一次只显示一个输入框 2025-09-24 09:57:07 +08:00
e3e3384995 feat: 添加日期格式化功能,支持不同年份显示完整日期;在评论项中添加调试日志Close #18
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 17s
2025-09-24 09:54:44 +08:00
abf8d63607 Merge pull request #25 from snowykami/fix/17
Fix/17
2025-09-24 09:33:34 +08:00
e44637fb2a feat: 更新验证码逻辑,优化邮件验证功能,增加验证码冷却时间,改进用户体验Closes #17 2025-09-24 09:33:09 +08:00
291f52395b feat: 新增 email_test.go 文件,包含 Email 渲染模板的单元测试 2025-09-24 09:32:56 +08:00
fd154c67ea feat: 优化用户登出逻辑,移除不必要的 API 调用;更新中文翻译以提升用户体验
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s
2025-09-23 18:53:03 +08:00
3192a294c2 Merge pull request #24 from snowykami/fix/20
feat: 更新 OIDC 登录逻辑,确保用户在绑定前登出当前账户;修改中文翻译以提升用户体验
2025-09-23 18:05:33 +08:00
6e3c3cddee feat: 更新 OIDC 登录逻辑,确保用户在绑定前登出当前账户;修改中文翻译以提升用户体验 2025-09-23 18:03:53 +08:00
062c6d2d3c Merge pull request #23 from snowykami/fix/20
feat: 在 OidcLogin 方法中添加当前用户获取逻辑,优化用户绑定流程 Closes #20
2025-09-23 17:55:50 +08:00
f59767d914 feat: 在 OidcLogin 方法中添加当前用户获取逻辑,优化用户绑定流程 Closes #20 2025-09-23 17:55:25 +08:00
27b7612956 Merge pull request #22 from snowykami/fix/21
feat: 更新用户界面,添加注销功能和绑定第三方账号选项,优化表单布局
2025-09-23 17:39:43 +08:00
457c40cc0f feat: 更新用户界面,添加注销功能和绑定第三方账号选项,优化表单布局 2025-09-23 17:37:40 +08:00
349cf5a5b7 refactor: restructure authentication components and routes
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s
- Removed the old reset password form component and replaced it with a new implementation.
- Updated routing paths for login, registration, and reset password to be under a common auth path.
- Added new login and registration pages with corresponding forms.
- Introduced a common auth header component for consistent branding across auth pages.
- Implemented a current logged-in user display component.
- Enhanced the register form to include email verification and captcha.
- Updated translations for new and modified components.
- Refactored the navigation bar to include user avatar dropdown and improved menu structure.
2025-09-23 02:21:03 +08:00
0f7cbb385a fix: 修复获取用户语言时的潜在错误,确保安全访问用户属性
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 11s
2025-09-23 00:38:51 +08:00
e1277ac9a7 feat: 提取并重用 AuthHeader 组件,简化登录和重置密码页面 2025-09-23 00:36:02 +08:00
b0b32c93d1 feat: add email verification and password reset functionality
- Introduced environment variables for database and email configurations.
- Implemented email verification code generation and validation.
- Added password reset feature with email verification.
- Updated user registration and profile management APIs.
- Refactored user security settings to include email and password updates.
- Enhanced console layout with internationalization support.
- Removed deprecated settings page and integrated global settings.
- Added new reset password page and form components.
- Updated localization files for new features and translations.
2025-09-23 00:33:34 +08:00
c9db6795b2 feat: 添加邮箱验证中间件和工具函数 2025-09-23 00:33:28 +08:00
aeff954481 feat: 更新用户显示名称格式化逻辑,优化头像获取方式,增强用户界面 2025-09-22 21:07:48 +08:00
42496cfe5a Merge pull request #16 from snowykami/copilot/fix-60cc94a6-e38d-41c7-88cc-4697e65463f6
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s
Fix comment pagination bug - prevent comments from disappearing on load more
2025-09-22 10:39:04 +08:00
b96a9e98e2 Fix comment pagination bug - prevent comments from disappearing on load more
Co-authored-by: snowykami <79104275+snowykami@users.noreply.github.com>
2025-09-21 17:49:41 +00:00
d223506ee3 Initial analysis of comment pagination bug
Co-authored-by: snowykami <79104275+snowykami@users.noreply.github.com>
2025-09-21 17:46:19 +00:00
ac78291955 Initial plan 2025-09-21 17:43:01 +00:00
3a862856c3 feat: 添加提交按钮的加载状态,防止重复提交
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 17s
2025-09-20 14:49:56 +08:00
640b3299ac refactor: remove data-table component and related functionality
refactor: update sidebar item interface to use IconType

refactor: modify nav-main and nav-ucenter components to use IconType

refactor: delete unused nav-secondary component

refactor: clean up user profile page logic and improve avatar handling

refactor: remove section-cards component

refactor: add icon type definition for better type safety
2025-09-20 14:36:29 +08:00
709aa82337 feat: add new color themes and styles for rose, violet, and yellow
- Introduced new CSS files for rose, violet, and yellow themes with custom color variables.
- Implemented dark mode styles for each theme.
- Created a color data structure to manage theme colors in the console settings.

feat: implement image cropper component

- Added an image cropper component for user profile picture editing.
- Integrated the image cropper into the user profile page.

feat: enhance console sidebar with user permissions

- Defined sidebar items with permission checks for admin and editor roles.
- Updated user center navigation to reflect user permissions.

feat: add user profile and security settings

- Developed user profile page with avatar upload and editing functionality.
- Implemented user security settings for password and email verification.

feat: create reusable dialog and OTP input components

- Built a dialog component for modal interactions.
- Developed an OTP input component for email verification.

fix: improve file handling utilities

- Added utility functions for file URI generation.
- Implemented permission checks for user roles in the common utilities.
2025-09-20 12:45:10 +08:00
f8e4a84d53 feat: 添加文件驱动和本地驱动实现,支持文件操作功能 2025-09-20 12:45:01 +08:00
10dadc0af4 fix: 评论删除的条件判断 2025-09-19 16:11:24 +08:00
1c20598126 refactor: 移除组件中的用户属性,改为使用上下文中的用户信息
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 9s
2025-09-18 23:33:08 +08:00