Commit Graph

33 Commits

Author SHA1 Message Date
V
fc83e527b7 feat: Add Demo Mode for Testing and Evaluation (#37)
* demo things.
2025-02-27 11:25:25 -08:00
Greirson Lee-Thorp
1b40cf2e8e feat: add BASE_URL configuration for flexible deployment environments (#30)
- Introduce BASE_URL environment variable for flexible application URL configuration
- Update .env.example, docker-compose, and README with new configuration option
- Implement BASE_URL validation in config module
- Modify server logging to use configurable base URL
- Provide default base URL generation when not explicitly set
2025-02-16 23:47:32 -08:00
Greirson Lee-Thorp
22f79f830b feat: Complete Application Infrastructure and Security Overhaul (#28)
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.
2025-02-16 15:39:13 -08:00
V
72e8e2c286 Update README.md
Updated photo and fixed the name.
2025-02-08 16:59:55 -07:00
Greirson Lee-Thorp
6f0918a530 docs/test: Add dev setup and update docs (#23)
* feat: Add development environment configuration

- Create dev/dev.sh script for simplified development workflow
- Add docker-compose.dev.yml for local development setup
- Update .gitignore to exclude dev directory except specific files
- Add development section to README.md with guide reference

* docs: Update README and docker-compose with comprehensive setup instructions and configuration options
2025-02-04 21:15:21 -08:00
Greirson Lee-Thorp
16447493bf Merge branch 'main' into even-dumber-drop 2025-02-04 09:52:10 -08:00
Greirson Lee-Thorp
1a5bc93e01 feat: Add auto upload configuration and update environment settings
- Introduce AUTO_UPLOAD environment variable to enable automatic file uploads
- Update .env.example with new configuration options
- Modify docker-compose.yml to use new image and comment out default settings
- Update README.md to document AUTO_UPLOAD feature
- Implement client-side auto upload logic in index.html
- Add server-side logging for auto upload status
chore: Refactor notification message template and size unit handling
2025-02-03 22:11:21 -08:00
Greirson Lee-Thorp
490790a6a6 feat: enhance security with rate limiting and file extension filtering
- Add express-rate-limit for API and upload routes
- Implement optional file extension filtering via ALLOWED_EXTENSIONS
- Add security headers middleware
- Update docker-compose image to official repository
- Update README with new environment variable and filtering documentation
2025-02-02 20:53:13 -08:00
Greirson Lee-Thorp
34c12d47fb added storage placeholder for total size of upload folder 2025-01-31 21:28:53 -08:00
Greirson Lee-Thorp
b91f82f3aa feat: enhance Apprise notifications with file size support
- Add file size formatting to notifications with auto-scaling units (B, KB, MB, GB, TB)
- Add APPRISE_SIZE_UNIT environment variable for fixed size units
- Update default notification message to include file size: "New file uploaded: {filename} ({size})"
- Fix filename reference in notifications to use safeFilename
- Fix async/await handling in upload chunk handler
- Add size formatting documentation to README
- Update environment variable documentation

Example notification: "New file uploaded: example.pdf (2.54MB)"
2025-01-31 21:07:53 -08:00
abite
2b78c12009 Merge pull request #13 from greirson/title-customization
Add customizable site title feature
2025-01-31 17:24:43 -06:00
abite
32c7226611 Update README.md 2025-01-31 16:58:30 -06:00
Greirson Lee-Thorp
851fc95f1e Add customizable site title feature via DUMBDROP_TITLE environment variable 2025-01-31 01:26:55 -08:00
Greirson Lee-Thorp
aec1265178 Add notifications support via Apprise
- Added Apprise integration for flexible notifications
- Added notification environment variables
- Added notification logging
- Updated documentation with setup instructions
- Added Python and Apprise to Dockerfile
2025-01-30 20:52:28 -08:00
arbs09
c6d8561d0f edit 2025-01-25 19:58:40 +01:00
arbs09
8fdc507d87 add docker compose 2025-01-25 19:56:11 +01:00
abiteman
97ffd9c4c8 Security Fix/Improvement
Fixed timing attack vulnerability for pin access. Added variable length pins. Users  can now set a pin 4-10 characters long instead of just 4.
2025-01-25 08:02:37 -06:00
Jarek Krochmalski
783cf7f066 fixed container path 2025-01-25 06:47:07 +01:00
abiteman
bce7934de4 update readme 2025-01-24 11:46:15 -06:00
abite
7195971785 Update README.md 2025-01-24 11:44:59 -06:00
abiteman
c2ee46717f Add simple auth
Added Pin verification, set as DUMBDROP_PIN env variable.
2025-01-24 11:44:15 -06:00
abite
e9ad4a8ac5 Update README.md 2025-01-23 20:03:03 -06:00
abite
064230eff1 Update README.md 2025-01-23 14:43:10 -06:00
abite
8118f81b76 Update README.md 2025-01-23 13:59:04 -06:00
abiteman
949a7fbc28 Add File Size Limit Variable, Folder Uploads & Dark Mode
Added MAX_FILE_SIZE variable to limit upload size
Added Dark Mode toggle to UI - Default is dark on load
Added Folder Upload with nested directories
2025-01-23 13:53:30 -06:00
abite
a9ef5a04f5 Update README.md 2025-01-22 17:11:13 -06:00
abite
f615cfa699 Update README.md 2025-01-22 17:10:29 -06:00
abite
45e8b43226 Update README.md 2025-01-22 16:52:48 -06:00
abiteman
243ef4e75c Update README.md 2025-01-22 15:28:05 -06:00
abiteman
35f7fb8e07 Add Dockerhub Worker 2025-01-22 13:23:59 -06:00
abiteman
b8441c6588 Update README.md 2025-01-22 13:13:58 -06:00
abiteman
8c43acfe22 Update README.md 2025-01-22 13:13:44 -06:00
abiteman
4987adfcfc Create README.md 2025-01-22 13:12:19 -06:00