Chris Lu
b9aee2defb
add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
10 years ago
Chris Lu
a092794804
use error to report error
10 years ago
Chris Lu
4be5ccd0c8
resolve directory log file error
avoid possible race condition
10 years ago
Chris Lu
b8bef16c98
test move function
11 years ago
Chris Lu
5f975f5ce8
fix test error due to changed api
11 years ago
Chris Lu
77fd5ecd98
Add /admin/mv to move a file or a folder
11 years ago
Chris Lu
4ac8f2e59d
adjust file name
11 years ago
Chris Lu
f7d6909b6f
1. refactor, move image resizing to its own package
2. make code compile
11 years ago
Chris Lu
029923329d
add os.Kill signal to handle.
go fmt some code.
11 years ago
Chris Lu
dc24bad791
releasing 0.58 to handle control+c interrupts.
compilable now. but FUSE mount is not working.
11 years ago
Chris Lu
328aa48c6a
Can compile now. not working just yet.
11 years ago
Chris Lu
83c0c9843d
Add option to recursively delete a folder.
11 years ago
Chris Lu
e378f9892d
Avoid showing the first directory when listing the root directory
11 years ago
Chris Lu
5f4dc11409
1. root dir has id of 0
2. only delete empty folders
3. correct listing files under a folder
11 years ago
Chris Lu
abde40377c
a correct implementation of filer
11 years ago