Commit Graph

15 Commits

Author SHA1 Message Date
6f68196127 Fix Vercel config: remove functions property to resolve build conflict 2025-08-21 12:31:39 +09:00
67f944a318 Add GitHub Actions deployment workflows and cloud platform configs 2025-08-21 11:26:03 +09:00
a8a31b696a Add complete Jaryo File Manager with Synology NAS deployment support 2025-08-21 11:22:54 +09:00
122d0e2582 Enhance pagination and UI consistency across admin/user interfaces
- Fixed pagination to display exactly 10 items per page
- Made pagination controls always visible, even with empty data
- Synchronized data structure and sorting between admin and main pages
- Improved pagination styling with better visibility and centering
- Enhanced attachment display with file icons, names, and sizes
- Implemented detailed view pages for both interfaces
- Optimized table row spacing for more compact display
- Centered attachment icons with file names for better visual balance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 20:29:32 +09:00
7a08bf9b4c Add comprehensive file management system with admin/user separation
Features added:
- Admin interface with full CRUD operations and multi-file upload
- User interface with read-only access and download functionality
- Board-style table layout with pagination (10 items per page)
- Category-specific file icons and attachment management
- Drag & drop file upload with preview and individual file removal
- Individual and bulk download with ZIP compression support
- Offline mode with localStorage fallback for both interfaces
- Responsive design with modern UI components

Technical improvements:
- Separated admin (/admin/) and user (/) interfaces
- Enhanced file data structure with consistent naming
- Improved error handling and user notifications
- Multi-file upload processing with base64 encoding
- File type detection and appropriate icon mapping
- Download functionality with single/multiple file handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 19:56:16 +09:00
033eb567c5 Improve download location guidance and user experience
- Add download folder path detection based on platform
- Show download location in notification for first-time users
- Add helpful tooltip to download button explaining options
- Support Ctrl+click for "Save As" dialog option
- Add multi-line support for notification messages
- Provide guidance for changing browser download settings

Download UX improvements:
• Clear indication of where files are saved
• Platform-specific path information (Windows/Mac/Linux)
• First-time user education about download settings
• Keyboard shortcut support for advanced users

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:45:29 +09:00
2889a4e299 Improve UI layout and notification system
- Fix overlapping text issues in file cards and meta information
- Improve download success notification with actual filenames
- Enhance file actions button layout with better spacing
- Add modern notification system with animations and better styling
- Improve responsive design for mobile devices
- Add proper spacing and alignment for read-only badges
- Update notification positioning and mobile responsiveness

UI improvements:
• Better text spacing and wrapping
• Professional notification animations
• Improved mobile layout
• Enhanced file action button alignment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:39:08 +09:00
73d5359deb Revert to 'files' bucket and update error messages
- Revert bucket name from 'file-storage' back to 'files'
- Update error messages to indicate Storage policy issues
- Files bucket exists but may need proper RLS policies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:25:12 +09:00
3ee4b98ee0 Add Storage bucket verification and improved error handling
- Add checkOrCreateBucket method to verify Storage bucket exists
- Improve error handling for bucket not found errors
- Add detailed logging for upload and download operations
- Provide user-friendly error messages for Storage issues
- Check bucket existence before upload and download operations

This resolves: "Bucket not found" errors in file downloads

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:20:16 +09:00
9ba38e69c2 Fix file upload path issues with Korean filenames
- Replace complex filename sanitization with simple timestamp-based naming
- Generate safe filenames using timestamp and random strings
- Store original filename in database, use safe names in storage
- Remove Korean characters and special characters from storage paths
- Preserve file extensions for proper file type handling

This resolves: "Invalid key" errors with Korean filenames in Supabase Storage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:16:52 +09:00
c647cbdc6c Fix database schema compatibility - remove invalid fields
- Remove id, created_at, updated_at from client-side fileData
- Extract only valid database fields in addFile and updateFile functions
- Let database handle UUID generation and timestamps automatically
- Clean separation between client data structure and database schema
- Fix persistent createdAt column error by filtering client-side fields

This should resolve: "Could not find the 'createdAt' column of 'files' in the schema cache"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:14:30 +09:00
4eb3bf0e34 Fix database column naming mismatch (createdAt vs created_at)
- Change JavaScript code to use snake_case column names (created_at, updated_at)
- Add backward compatibility for existing localStorage data
- Fix sorting and display functions to use correct column names
- Ensure consistent column naming between database schema and JavaScript code

This resolves the error: "Could not find the 'createdAt' column of 'files' in the schema cache"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:11:28 +09:00
a0efe6f637 Fix file upload errors and improve error handling
- Fix uploadAttachments method to use proper SupabaseHelper methods
- Add addFileAttachment method for proper database insertion
- Improve error handling with detailed logging and user feedback
- Add file upload progress tracking and cleanup on failure
- Fix direct supabase variable access issues
- Better error messages for users and developers

Bug fixes:
• File upload now works properly with Supabase Storage
• Database insertion errors are properly handled
• Failed uploads are cleaned up automatically
• More informative error messages displayed to users

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:08:28 +09:00
7bae9abe28 Add guest mode functionality for read-only access
- Implement guest mode for unauthenticated users
- Allow file viewing and downloading without login
- Hide create/edit/delete functions for guests
- Add guest mode banner with login prompt
- Add read-only badges for guest accessible files
- Include permission checks for all CRUD operations
- Add responsive guest mode styling
- Support both online (Supabase) and offline (localStorage) modes

Features:
• Guest users can view all files and download attachments
• Authentication required for create, edit, delete operations
• Seamless transition between guest and authenticated modes
• User-friendly guest experience with clear login prompts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:02:13 +09:00
ac506321e8 Initial commit: Web-based file management system (자료실)
- Complete CRUD functionality for file records
- Hybrid Supabase cloud database + localStorage support
- User authentication and authorization
- File upload with cloud storage
- Search, filtering, and categorization features
- Responsive design with offline capabilities

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 12:51:49 +09:00