Create a file model to preserve user ownership (if any) over a file, store the path, and store created_at time
Give files a random name in file system, verifying it doesn't already exist, and store the original name in the database via the file model, the original name should be applied when served
Sanitize uploaded files to avoid cross-site scripting attacks (need to research first)
Front-end example showing file uploads and serving files
# To-do:
- [X] Basic file upload functionality (Thanks Tom!)
- [ ] Create a file model to preserve user ownership (if any) over a file, store the path, and store created_at time
- [ ] Give files a random name in file system, verifying it doesn't already exist, and store the original name in the database via the file model, the original name should be applied when served
- [ ] Sanitize uploaded files to avoid cross-site scripting attacks (need to research first)
- [ ] Front-end example showing file uploads and serving files
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
To-do: