summaryrefslogtreecommitdiff
path: root/frontend
Commit message (Collapse)AuthorAgeFilesLines
...
* Add time with seconds to info dialog modified fielddiogo4642025-08-111-1/+14
| | | | | | | | | | - Add formatDateTime function to show full timestamp - Display modification time as "YYYY-MM-DD at HH:MM:SS" - Keep formatDate for table display (date only) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Remove select all checkbox from table headerdiogo4642025-08-111-45/+1
| | | | | | | | | | - Keep individual row checkboxes for file selection - Remove complex select all logic from table header - Maintain column alignment with empty header cell 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Add sorted tree structure to Drive_tree functiondiogo4642025-08-111-1/+22
| | | | | | | | | | | - Sort directories first, then files - Both categories sorted alphabetically (case-insensitive) - Recursive sorting applied to all tree levels - Server-side sorting for better performance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Simplify frontend by removing FileItem conversion layerdiogo4642025-08-116-425/+225
| | | | | | | | | | | | | - Remove FileItem interface and 300+ lines of mock data - Eliminate transformTreeNodes() conversion function - Update component to use DriveTreeNode[] directly - Rename /api/list to /api/tree with server-side tree building - Add Drive_tree() function and DriveTreeNode types - Significantly reduce code complexity and memory usage 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* implement RESTful API and remove legacy endpointsdiogo4642025-08-115-175/+239
| | | | | | | | | | | | | | | | | | - Created unified /api/fs/[...path] endpoint with full REST methods: - GET: List directory contents or file info - POST: Create directories using Drive_mkdir() - PUT: Upload files with multipart form data - DELETE: Remove files/directories using Drive_remove() - Added /api/fs route for root directory listing - Added Drive_mkdir() function to drive_server.ts using fctdrive mkdir command - Removed legacy /api/delete and /api/upload endpoints - Updated CLAUDE.md with comprehensive API documentation and examples - All endpoints support authentication with AUTH: 1 header in development - Proper error handling, file size validation, and cache revalidation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* add delete api endpoint with authenticationdiogo4642025-08-113-0/+75
| | | | | | | | | | | | | - Added Drive_remove() function to drive_server.ts using fctdrive remove command - Created /api/delete route with POST method, JSON body input, and authentication - Added development mode AUTH header bypass for testing authenticated endpoints - Updated CLAUDE.md with API testing instructions using AUTH: 1 header - Endpoint validates user authentication and upload permissions before deletion - Returns success response even for non-existent files (CLI ignores them) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* add api route for recursive file listingdiogo4642025-08-112-1/+14
| | | | | | | | | | - Added /api/list route that returns all files/directories recursively from root - Increased maxBuffer to 50MB in Drive_ls to handle large directory listings - Fixes ENOBUFS error when listing entire drive contents 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* basic v0 ui workingdiogo4642025-08-1126-617/+3384
|
* snapshotdiogo4642025-08-119-202/+233
|
* basic file uploaddiogo4642025-08-115-1/+447
|
* snapshotdiogo4642025-08-1125-0/+6946