Commit Graph

56 Commits

Author SHA1 Message Date
katelya fac3f4bfc7 fix: 同步更新 version.ts 中的版本时间戳
- 更新 CURRENT_VERSION 为 20250904200125
- 确保前端版本检查功能正常工作
- 避免版本不一致导致的误报
2025-09-04 20:04:02 +08:00
katelya 82485d1939 feat: Add Docker Compose configurations for Kvrocks and Redis deployments
- Implemented `docker-compose.kvrocks.auth.yml` for Kvrocks with password authentication.
- Created `docker-compose.redis.yml` for Redis deployment.
- Added Kvrocks configuration file `kvrocks.auth.conf` with necessary settings.
- Updated documentation with deployment guidelines for Kvrocks.
- Introduced ESLint configuration for code quality.
- Developed deployment configuration check script `check-deployment-configs.js`.
- Added D1 database initialization script `d1-init.sql` for KatelyaTV.
- Created test script `test-kvrocks-deployment.js` to validate Kvrocks deployment.
- Implemented fix verification script `verify-kvrocks-fix.js` for password handling.
- Updated `wrangler.toml` for Cloudflare deployment configuration.
2025-09-04 17:55:23 +08:00
katelya 63120d418b feat: 实现真正的无限滚动加载
- 修改 PaginatedRow 组件支持动态加载更多数据
- 添加 onLoadMore 回调函数和加载状态管理
- 在首页三个版块实现真正的分页加载新内容
- 第一页时隐藏左箭头,避免无效操作
- 移除底部页码指示器,界面更简洁
- 右箭头点击时动态从豆瓣API加载新数据
2025-09-04 16:36:59 +08:00
katelya 8f23545439 feat: 优化PaginatedRow组件的翻页逻辑,确保向前翻页不超出范围并支持无限循环翻页 2025-09-04 16:10:38 +08:00
katelya 62f70a9bf5 feat: 优化PaginatedRow组件的翻页逻辑,改进按钮显示条件 2025-09-04 16:07:45 +08:00
katelya dcc6d4cef2 feat: 优化PaginatedRow组件,支持无限翻页和悬停显示导航按钮 2025-09-04 15:45:47 +08:00
katelya c5c8aa43f2 feat: 重新设计PaginatedRow组件,优化首页热门板块的切页体验
新功能:
- 实现无限循环翻页,不再局限于有限页数
- 重新设计翻页按钮,使用紫色渐变和更好的悬停效果
- 按钮位置居中对齐,放在两行内容的中间位置
- 为每个组件实例添加唯一ID,避免跨板块悬停效果冲突

 设计改进:
- 按钮使用渐变背景和阴影效果,提升视觉体验
- 优化按钮尺寸和间距,更加美观
- 改进页码指示器的动画效果
- 修复悬停状态下其他板块也高亮的问题

 Bug修复:
- 解决鼠标悬停在一个影视卡片时其他板块卡片也高亮的问题
- 修复只能显示两批内容的限制,现在支持无限循环
- 优化按钮定位,确保在各种屏幕尺寸下都能正确居中
2025-09-04 15:35:10 +08:00
katelya 07a68b01a4 build: 更新版本号到 20250904151930
- 使用 generate-version.js 脚本生成新版本号
- 同步更新 src/lib/version.ts 和 VERSION.txt
- 确保前端显示正确的版本信息
- 触发 Docker 镜像重新构建
2025-09-04 15:19:50 +08:00
katelya c755a6d466 feat: 添加分页组件PaginatedRow,优化首页内容展示逻辑 2025-09-04 14:24:13 +08:00
katelya 63d0942b66 feat: 优化影视源类型判断逻辑,支持更智能的API地址解析 2025-09-04 13:18:29 +08:00
katelya d6ea0a4748 feat: 智能判断影视源类型,根据API地址动态设置type 2025-09-04 13:11:36 +08:00
katelya 4b9f87f7f8 删除旧版本的发布说明文件,更新用户菜单以移除TVBox配置按钮,并在管理页面中添加TVBox配置按钮。 2025-09-04 10:56:44 +08:00
katelya db651d5a55 fix: 调整集数网格的列宽和间距,优化布局 2025-09-03 22:38:12 +08:00
katelya f121b06b91 fixed littles bug 2025-09-03 22:29:58 +08:00
katelya 475d8f0334 fix: 调整集数网格的垂直间距,优化布局 2025-09-03 22:20:21 +08:00
katelya b54d626496 fix: 调整集数网格的间距,优化布局 2025-09-03 22:13:37 +08:00
katelya 5202a4b11a fix: 调整集数网格的间距,优化布局 2025-09-03 22:07:04 +08:00
katelya af73306814 fix: 修复选集点击偏移问题,优化事件处理和布局 2025-09-03 22:01:00 +08:00
katelya f0bbcf00dc fix: 修复选集点击偏移问题,调整跳过配置面板位置以避免覆盖 2025-09-03 21:52:08 +08:00
katelya 9aeef4bc63 feat: 修复选集点击偏移问题,优化布局和事件处理 2025-09-03 21:42:00 +08:00
katelya d6e14b2d00 feat: 优化跳过控制器,新增片尾倒计时模式选择,支持剩余时间和绝对时间模式 2025-09-03 21:31:09 +08:00
katelya 222126e50f feat: 更新版本至 0.6.0-katelya,新增 TVBox 配置功能及优化用户体验 2025-09-03 20:34:52 +08:00
katelya 3783fbdd00 feat: 更新 middleware 匹配规则,添加 TVBox API 路径支持 2025-09-03 20:26:56 +08:00
katelya c4458ae23a feat: 添加 TVBox 配置按钮,支持跳转到配置页面 2025-09-03 20:17:25 +08:00
katelya ac29b75457 feat: 更新 TVBox API 解析逻辑,支持从配置文件异步读取源站列表 2025-09-03 20:05:56 +08:00
katelya 1ca36f7454 feat: Add TVBox configuration support and management interface
- Introduced a new configuration page for TVBox with JSON and Base64 format options.
- Updated API endpoints for TVBox configuration retrieval.
- Enhanced the sidebar navigation to link to the new configuration page.
- Improved error handling and user feedback for configuration copying.
- Added detailed usage instructions and feature descriptions in the documentation.
- Fixed issues related to deployment and static generation.
2025-09-03 19:54:58 +08:00
katelya 2294f1b066 feat: 添加 TVBox 配置接口,支持视频源导入及解析功能 2025-09-03 19:32:24 +08:00
katelya 54b4388685 feat: 更新视频源配置,禁止删除示例源并优化批量删除提示 2025-09-03 14:45:23 +08:00
katelya 66a6fd0392 feat: 添加对 Kvrocks 的支持,包括配置文件、环境变量示例及数据库操作实现 2025-09-03 14:34:45 +08:00
katelya d563ca165d feat: 优化视频源批量删除功能,支持一键删除所有视频源并改善用户提示 2025-09-03 14:15:41 +08:00
katelya cdd60356eb feat: 添加视频源批量操作功能,包括批量选择和删除 2025-09-03 14:06:42 +08:00
katelya d8e8510e5e feat: 添加视频源配置管理功能,包括导入和导出配置的支持 2025-09-02 17:56:48 +08:00
katelya 1e3467fff2 feat: 添加 CORS 支持,处理预检请求并更新 API 响应头 2025-09-02 17:43:06 +08:00
katelya fa958d0987 Refactor service worker and remove test page
- Updated service worker (sw.js) to improve caching strategies and update asset revisions.
- Deleted the test page (page.tsx) as it is no longer needed.
- Refactored EpisodeSelector component to simplify logic and improve performance.
- Added a .dockerignore file to exclude unnecessary files from Docker builds.
2025-09-02 17:08:23 +08:00
katelya f545058bf8 feat: 添加 'use client' 声明到 EpisodeSelector 和 TestPage 组件 2025-09-02 16:40:48 +08:00
katelya aa03a0b932 feat: 添加剧集选择器测试页面,包含响应式布局和调试信息 2025-09-02 16:33:22 +08:00
katelya 5dacbc027d fix: 修改每页显示集数的默认值为 10,更新导航按钮样式以增强可用性 2025-09-02 16:21:18 +08:00
katelya 0b60840097 feat: 添加左右导航按钮和智能响应式布局到集数选择器组件 2025-09-02 16:05:00 +08:00
katelya dd01a91383 fix: 调整跳过控制器中元素的 z-index 以避免重叠问题 2025-09-02 15:44:28 +08:00
katelya b365be91e0 feat: 更新版本号至 0.5.0-katelya,添加发布说明文档 2025-09-02 15:36:57 +08:00
katelya d268fa7dd5 feat: 更新发布配置和文档,修改 Docker 镜像地址为 katelya77/KatelyaTV 2025-09-02 15:16:51 +08:00
katelya d5726c4f07 feat: Implement intelligent skip feature with enhanced settings
- Added support for time input in minutes:seconds format for skipping segments.
- Introduced automatic skipping functionality for both opening and ending segments.
- Enhanced UI for skip settings with a floating configuration card.
- Implemented countdown timer for automatic next episode playback.
- Added batch settings for configuring multiple skip segments at once.
- Updated SkipController component to handle new skip logic and UI changes.
- Created comprehensive usage guide for the new skip feature.
2025-09-02 14:49:56 +08:00
katelya a6bcb72987 添加跳过片头片尾功能,更新相关组件和文档,支持用户自定义设置 2025-09-02 14:18:44 +08:00
katelya 5bbea4f3d5 实现 LocalStorage 存储支持,添加跳过配置功能及相关 API,更新 Docker 部署兼容性测试脚本 2025-09-02 14:01:52 +08:00
katelya 0ceed4a5f7 配置 Edge Runtime 以支持 Cloudflare Pages 2025-09-02 13:56:01 +08:00
katelya 348494336a 添加跳过配置功能,包括数据库和API支持,更新播放器以处理跳过片段 2025-09-02 13:49:46 +08:00
katelya 8da7d1153f feat: 优化 PageLayout 组件,调整 TopNavbar 的固定定位和注释说明 2025-09-01 22:06:20 +08:00
katelya ab4e58dc4c feat: 更新 README 和版本管理脚本,优化 PageLayout 组件布局,添加 .eslintignore 文件 2025-09-01 21:57:20 +08:00
katelya 4d4f2ab665 feat: enhance PageLayout for better responsiveness and scrolling behavior
- Updated PageLayout component to use flexbox for improved layout structure.
- Ensured the main content area is scrollable by adjusting CSS classes.
- Modified the minimum height calculations for better visual consistency across devices.
- Added comments for clarity on layout changes and their purposes.

chore: add Workbox service worker for improved caching and offline support

- Introduced Workbox for managing caching strategies and offline capabilities.
- Implemented various caching strategies including CacheFirst and NetworkFirst.
- Added expiration and cleanup mechanisms for cached entries.
- Enhanced precaching functionality to ensure assets are available offline.
2025-09-01 21:47:05 +08:00
katelya 4617b0199b feat: Enhance package manager detection script and improve type safety in components
- Updated `check-package-manager.js` to disable specific ESLint rules for better readability.
- Refactored `page.tsx` in the login module to remove unnecessary type assertions and improve state management.
- Modified `page.tsx` in the home module to enhance error handling, improve layout with grid system, and limit displayed items.
- Adjusted `PageLayout.tsx` to implement responsive layout changes for the play page.
- Improved `ThemeToggle.tsx` to ensure proper dependency tracking in useEffect.
- Enhanced `VideoCard.tsx` with better type definitions for favorites.
- Updated `db.client.ts` to rename legacy cache prefix for future migration.
- Added runtime configuration types in `types.ts` and extended global Window interface.
- Introduced a new Workbox service worker file for improved caching strategies.
2025-09-01 21:23:45 +08:00