Commit Graph

142 Commits

Author SHA1 Message Date
5c12982908 Refactor: Use common password validator
Refactors password validation logic to use a common `PasswordValidator` utility. This ensures consistent password validation rules across different parts of the application, including:

- User login
- Email sign-up
- Password change
- Account removal

Also adds a string resource for password too long error message.
2025-09-01 15:10:14 +08:00
cb253d3276 完善个人信息编辑
- 修复了从相册选择图片时,如果文件名不包含扩展名导致的崩溃问题。
- 在编辑个人信息页面增加了“修改密码”的入口。
- 修复了新建Agent时,保存按钮状态更新不及时的问题。
- 优化了新建Agent时,对异常的处理。
2025-08-31 23:59:05 +08:00
40ccd70e80 Add VIP selection page and related data models
This commit introduces a new VIP selection page (`VipSelPage.kt`) that allows users to choose between Premium and Standard membership plans.

Key changes include:

*   **New VIP Selection UI:**
    *   `VipSelPage.kt`: Implements the UI for selecting VIP plans, displaying prices, and benefits.
    *   `SelfProfileAction.kt`: Updated to include a "Rave Premium" button alongside "Edit Profile".
*   **Data Models for Membership:**
    *   `MembershipModels.kt`: Defines data classes for membership configuration (`MembershipConfigData`, `ConfigData`, `Member`, `Benefit`, `Good`), price models (`VipPriceModel`), page data models (`VipPageDataModel`), and request bodies (`ValidateProductRequestBody`, `ValidateData`).
    *   `VipModelMapper`: Provides functions to transform backend data into UI-friendly models for price and benefit display.
*   **API Integration:**
    *   `RiderProAPI.kt`: Added new endpoints `getMembershipConfig` to fetch membership details and `validateAndroidProduct` for product validation.
*   **Navigation:**
    *   `Navi.kt`: Added `VipSelPage` to the navigation routes.
    *   `ProfileV3.kt`: The "Rave Premium" button in the self profile action now navigates to the `VipSelPage`.
*   **Theming:**
    *   `Colors.kt`: Added new color definitions for premium buttons, VIP benefit highlighting, and price card states (selected/unselected).
*   **Assets:**
    *   `ic_member.webp`: New icon for the "Rave Premium" button.
2025-08-31 22:17:20 +08:00
a79628026c 首页UI调整 2025-08-29 18:39:59 +08:00
weber
52e571da01 用户信息调整 2025-08-27 11:39:50 +08:00
5d4a95bf07 UI调整 2025-08-26 18:42:33 +08:00
f2ab55d545 Merge upstream/main and resolve conflicts 2025-08-25 18:48:56 +08:00
weber
df75c710e5 UI调整 2025-08-25 18:35:06 +08:00
weber
77033854f0 UI调整 2025-08-25 10:49:00 +08:00
bd2d291164 Merge upstream/main and resolve conflicts 2025-08-22 10:41:30 +08:00
weber
9fb79b3881 聊天室和群聊信息调整 2025-08-21 19:04:59 +08:00
weber
5ee1897739 消息列表和聊天时调整 2025-08-21 17:08:18 +08:00
a9066bd473 test push 2025-08-21 16:43:30 +08:00
weber
8f8c2ff2e9 UI调整,群聊开发 2025-08-20 19:19:14 +08:00
weber
791b24b2fb UI调整,群聊天室开发 2025-08-18 19:02:11 +08:00
weber
2de8127882 首页UI调整 2025-08-15 18:56:38 +08:00
weber
112efa74e7 首页UI调整 2025-08-14 19:04:20 +08:00
weber
bc7a897cec 预留首页-探索,完善群组功能 2025-08-13 18:57:03 +08:00
weber
2d518cbd68 自定义NavigationItem,新增群组创建页面 2025-08-12 19:06:56 +08:00
weber
697af504b7 会话分组及聊天室实现 2025-08-11 18:21:22 +08:00
1bb0adeb90 添加标签组件并更新导航栏Add按钮样式
- 新增可复用的`TabItem`和`TabSpacer`组件,用于实现标签页切换效果。
- 在消息列表和AI Agent页面中,使用新的`TabItem`和`TabSpacer`组件替换原有的标签页实现,简化代码并统一风格。
- 更新底部导航栏Add按钮的图标和交互行为:
    - 使用新的`ic_nav_add.xml`图标。
    - Add按钮只显示图标,不显示文字标签。
    - Add按钮图标放大。
- 在`Colors.kt`中为`AppThemeData`添加新的颜色属性,以支持新标签组件的自定义主题。
2025-08-08 09:57:42 +08:00
weber
f6a796e2bc 智能体会话开发 2025-08-07 19:03:05 +08:00
weber
b837c704e5 我的智能体 2025-08-06 18:14:36 +08:00
weber
3e544844bb 添加新的表单文本输入组件 FormTextInput2,包含错误提示和动态显示功能;新增图标和图片资源。 2025-08-05 14:24:15 +08:00
weber
29d2bb753f 实现了 Agent 和 Profile 数据类,添加了 AddAgent 界面 2025-07-31 15:37:17 +08:00
weber
6ec732b996 20250723-Test Push 2025-07-23 19:07:29 +08:00
9f93e6dc14 更新代码 2024-12-07 17:14:45 +08:00
50fb1874e7 增加动态举报 2024-12-06 22:08:57 +08:00
784427cfba 更新密码校验规则 2024-12-01 15:29:03 +08:00
e75b181818 Rave Now 版本1.0.000.17 2024-11-17 20:35:42 +08:00
4cdb7f28b3 完全替换为Rave Now,只保留了Google Play的密钥还有一些图片映射还有旧字样。 2024-11-17 20:31:18 +08:00
074244c0f8 改包名com.aiosman.ravenow 2024-11-17 20:07:42 +08:00
914cfca6be 更新软件Logo 2024-11-15 20:04:15 +08:00
3cef90c887 更新代码 2024-11-03 09:17:46 +08:00
9838439ff1 补充提交 2024-10-26 16:14:47 +08:00
8dca3e8de1 暗黑模式按钮、更新弹框文案 2024-10-26 06:53:47 +08:00
ed66f15be7 修复小细节,home图标和消息通知 2024-10-26 02:51:23 +08:00
6cb19eb6cf 关注和取消关注 2024-10-13 06:18:02 +08:00
fab1e0206d 修改背景细节 2024-10-13 05:57:25 +08:00
20a34b569a 启动页控制 2024-10-13 05:03:34 +08:00
d98bfe88c5 更换图标 2024-10-13 04:33:14 +08:00
3c5f8a7787 调整发送页面 2024-10-13 03:28:57 +08:00
f6e763cb3f 调整布局和边距 2024-10-13 02:44:22 +08:00
7bd3ea8f91 登录页面字体调整 2024-10-11 23:31:03 +08:00
81f90db1b1 新增聊天消息提醒 2024-10-11 16:51:51 +08:00
36739b1615 软件主页背景动画,存在两个问题:1.只有位置改变,没有图片索引改变;2.布局上下比例还要调整 2024-10-11 05:55:29 +08:00
d728ef2043 软件首页样式调整 2024-10-11 02:09:08 +08:00
43c27b7e0b 上传 2024-10-08 17:25:27 +08:00
0f9923f3e0 更新代码 2024-10-07 10:12:41 +08:00
9168884edb 新增验证码 2024-10-06 20:08:57 +08:00