mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-22 23:31:57 +00:00
Chores & Configuration • Enhanced development setup: optimized Dockerfile, refined scripts, and improved .gitignore. • Updated docker-compose for better dev/prod separation. • Improved documentation in README and source files. Features & Enhancements • Refactored project structure with modular architecture. • Improved testing infrastructure and integration tests. • Enhanced file upload logic, client-side handling, and API routes. • Implemented robust server shutdown, rate limiting, and cleanup mechanisms. • Improved upload progress tracking with UI enhancements. • Strengthened security in PIN authentication and cookie handling. Refactors & Fixes • Cleaned up test infrastructure, logging, and error handling. • Simplified API route paths and improved middleware. • Fixed incorrect total storage size reporting. • Optimized logging verbosity based on environment. Documentation • Expanded project documentation and comments for clarity.
22 lines
909 B
Plaintext
22 lines
909 B
Plaintext
# Development Environment Settings
|
|
|
|
# Server Configuration
|
|
PORT=3000 # Development server port
|
|
|
|
# Upload Settings
|
|
MAX_FILE_SIZE=1024 # Maximum file size in MB for development
|
|
AUTO_UPLOAD=false # Disable auto-upload by default in development
|
|
UPLOAD_DIR=../local_uploads # Local development upload directory
|
|
|
|
# Development Specific
|
|
DUMBDROP_TITLE=DumbDrop-Dev # Development environment indicator
|
|
DUMBDROP_PIN=123456 # Default development PIN (change in production)
|
|
|
|
# Optional Development Features
|
|
NODE_ENV=development # Ensures development mode
|
|
DEBUG=dumbdrop:* # Enable debug logging (if implemented)
|
|
|
|
# Development Notifications (Optional)
|
|
APPRISE_URL= # Test notification endpoint
|
|
APPRISE_MESSAGE=[DEV] New file uploaded - {filename} ({size}), Storage used {storage}
|
|
APPRISE_SIZE_UNIT=auto |