Remove file when error while saving the data in DB
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
## Tasks
|
||||
|
||||
# Testing
|
||||
|
||||
- [ ] Tests for the server module
|
||||
|
||||
# Development plans
|
||||
- [ ] make print_log to write a file log
|
||||
- [ ] Remove file when error while saving the data in DB
|
||||
@@ -11,26 +7,10 @@
|
||||
- [ ] Unified list of exit codes
|
||||
|
||||
## Features
|
||||
|
||||
- [x] Database integration
|
||||
- [x] Paging in the file list
|
||||
- [x] Get files in FS by their hash
|
||||
- [x] Registration
|
||||
- [x] Encrypt passwords in DB
|
||||
- [x] Registration: Error when username or email is already used
|
||||
- [ ] Sorting in the file list
|
||||
- [ ] Check correctness of email
|
||||
- [ ] Message to admin
|
||||
- [x] Advanced folder structure in the storage
|
||||
- [ ] File encryption
|
||||
- [ ] Connection encryption
|
||||
- [ ] Advanced rights for files
|
||||
- [ ] Multithreading
|
||||
|
||||
## Done
|
||||
|
||||
- [x] Switch to SQLite
|
||||
- [x] Close the DB correctly in any quit case (also by SIGTERM)
|
||||
- [x] Get rid of unsigned integers
|
||||
- [x] Check registration
|
||||
- [x] Auto create a database when one is missing
|
||||
- [x] Show date in server log
|
||||
- [ ] Multithreading
|
||||
Reference in New Issue
Block a user