34 Commits

Author SHA1 Message Date
katelya 8aeaa629f1 fix: 删除空的测试API文件以修复Cloudflare Pages部署问题
- 删除了空的 /api/test/simple/route.ts 文件
- 删除了空的 test 目录结构
- 确保所有API路由都正确配置了Edge Runtime
- 修复了Cloudflare Pages部署时的Edge Runtime错误
2025-10-01 23:18:37 +08:00
katelya 142c780b50 Fix TypeScript errors: Update User type system across all storage implementations 2025-09-05 15:59:55 +08:00
katelya 427056f4ad feat: 更新搜索API的响应,添加缓存控制头以优化性能 2025-09-05 01:37:53 +08:00
katelya b9c59a3066 feat: 添加 is_adult 字段处理,更新配置以支持成人内容源 2025-09-05 00:36:55 +08:00
katelya b06665788f fix: 完善成人内容过滤功能的部署兼容性
- 为用户设置API添加Edge Runtime配置确保部署兼容性
- 完善所有存储后端的用户设置方法实现
- 为D1数据库添加user_settings表迁移脚本
- 修复TypeScript类型错误和构建兼容性
- 所有25个API路由现在都正确配置了Edge Runtime
- 确保Docker、Cloudflare Pages等各平台部署正常运行
2025-09-04 21:25:45 +08:00
katelya 9aeef4bc63 feat: 修复选集点击偏移问题,优化布局和事件处理 2025-09-03 21:42:00 +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 b4ebe89292 feat: 更新 service worker 逻辑,优化模块注册和缓存管理 2025-09-03 19:20:20 +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 0b60840097 feat: 添加左右导航按钮和智能响应式布局到集数选择器组件 2025-09-02 16:05:00 +08:00
katelya c582366206 feat: 添加新的发布工作流,支持 Docker 镜像构建和推送 2025-09-02 15:24:12 +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 0ceed4a5f7 配置 Edge Runtime 以支持 Cloudflare Pages 2025-09-02 13:56:01 +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 3db16acd6c Rename wechat.JPG to wechat.jpg 2025-09-01 21:30:03 +08:00
Katelya 0d14b089c7 Add files via upload 2025-09-01 21:28:28 +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
Katelya d21df45d16 upload screenshot files 2025-08-31 22:12:48 +08:00
Katelya 21ae5b77a8 Delete public/screenshot1.png 2025-08-31 22:08:59 +08:00
Katelya 93af4f97e8 Delete public/screenshot3.png 2025-08-31 22:08:51 +08:00
Katelya b8d09f5220 Delete public/screenshot2.png 2025-08-31 22:08:42 +08:00
Katelya c246350698 Delete public/screenshot.png 2025-08-31 22:08:29 +08:00
Katelya 2c3b7efda4 Update sw.js 2025-08-31 00:43:19 +08:00
Katelya 93106cbf3b Merge branch 'main' into cursor/update-documentation-and-release-notes-fb3a 2025-08-31 00:36:34 +08:00
katelya 42c5f445be Fix Docker method 2025-08-30 23:53:34 +08:00
Cursor Agent edb9857e4a fix: update Docker deployment instructions to use correct KatelyaTV image
- Fix Docker image paths in README.md, QUICKSTART.md, and RELEASE_NOTES.md
- Update from ghcr.io/senshinya/moontv:latest to ghcr.io/katelya77/katelyatv:latest
- Ensure all Docker Compose examples use correct image
- Verify build compatibility and deployment instructions
- Add comprehensive v0.2.0 release notes with deployment guide
2025-08-30 15:44:42 +00:00
Cursor Agent 7f73c00e0a Update repo URL, Redis client key, and add environment variable support
Co-authored-by: 20250410303 <20250410303@stu.fosu.edu.cn>
2025-08-29 07:59:44 +00:00
katelya 446c2f003e update 2025-08-29 13:53:41 +08:00
katelya f239211864 Update 2025-08-27 14:07:03 +08:00