chrislusf
4ee766e966
avoid auto unzip tar.gz files
fix https://github.com/chrislusf/weed-fs/issues/90
10 years ago
yourchanges
a86042e413
fix the #59 and #56
10 years ago
yourchanges
7481b7376d
Fix the first form multi-part item is not a "file type part" problem in "ParseUpload()"
10 years ago
yanyiwu
5a40f539f2
fix bug: upload a file which already existed return a wrong file size.
10 years ago
yanyiwu
089eb8ad39
add String function for needle to print
10 years ago
Brian McQueen
d56c748fa8
switch it back to chris's repo
10 years ago
Brian McQueen
c0dfdf4392
switch to my forked repo
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
7920b4685e
Adding unit tests for volume ttl.
10 years ago
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
c1307103b2
fix orientation for all jpg files
11 years ago
Chris Lu
34e03e7cf6
iphone usually has upper cased .JPG extension
refactor
11 years ago
Chris Lu
2a8c60f71b
be lenient when writing, but report right away when volume size limit is
exceeded
11 years ago
Chris Lu
1bf75f7f73
toughen up error handling for invalid fid
11 years ago
Chris Lu
59ded34b83
issue 48 weed upload does not set the modified date
11 years ago
Chris Lu
69ac6b6bf6
Issue 45 in weed-fs: [Compact issue] Offset overflow
New issue 45 by hieu.hcmus@gmail.com: [Compact issue] Offset overflow
http://code.google.com/p/weed-fs/issues/detail?id=45
You are using uint32(Maximum 4Gb) to store needle offset(Maximum 32Gb)
when compacting.
Currently It is ok if the volume size is < 4gb
Change variable "offset" in ScanVolumeFile function to uint64 to fix the
issue.
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
48e4ced29d
easier for client to delete file
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
952974491b
refactor "content upload" out of needle creation
12 years ago
Chris Lu
54906c48f3
report errors when upload timeouts
12 years ago
Chris Lu
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
12 years ago
Chris Lu
4c200acd7d
1. ensure replicated file has the same timestamp
2. upload can specify modified time by &ts=...
3. correctly return code 304
12 years ago
Chris Lu
cbd9d14cc4
Issue 27: feature request - Last-Modified header
12 years ago
Chris Lu
915b16f97a
refactoring, same logic, but the store replication logic is moved to a
stand-alone file, for later easier improvements
12 years ago
Chris Lu
bd278337db
checking file name empty
12 years ago
Chris Lu
79d11ac951
go vet
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
55f2627fcf
testing new directory structure
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
0b7a235c17
ensure file name does not contain any "/"
12 years ago
Chris Lu
81b9175c7a
re-factoring volume file scanning code
add export function
fix bugs on deleted byte counting
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
a502b78c3f
Revert "add error return for (Un)GzipData"
This reverts commit 8243710351
.
12 years ago
Tamás Gulácsi
8243710351
add error return for (Un)GzipData
12 years ago
Chris Lu
46b8c4cc98
use bits in needle.Flags to mark hasName and hasMime
12 years ago
Chris Lu
9b95430e9f
add store metadata:file name, mime type, is_gzipped
add support to upload .gz file directly
12 years ago
Chris Lu
1943647860
can read/write files in format version 2
12 years ago
Chris Lu
11cc489ca5
refactoring
12 years ago
Chris Lu
ebe7af1833
refactor a bit
12 years ago
Chris Lu
5e020196f6
add version type
12 years ago
Chris Lu
084e0ab7bb
adding exception handling for this case
12 years ago
Chris Lu
86c8f248bd
support compacting a volume
12 years ago
Chris Lu
9630825576
adjusting gzip logic
12 years ago
Chris Lu
5d86b50782
fixes
12 years ago
Chris Lu
ac5f227aae
correct crc
correct volume id lookup
12 years ago