Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate S3-Compatible-API #353

Merged
merged 128 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
7627be3
feat: accesss key
imstevez Jul 24, 2023
a57905b
feat: access-key module & access-key cmds
imstevez Jul 27, 2023
959d35d
fix: remove redunt error condition
imstevez Jul 27, 2023
4ddc476
opt: handle wrapper error and remove unused bucket type define in acc…
imstevez Jul 27, 2023
92436c7
feat: add daemon check before execute accesskey commands
imstevez Aug 7, 2023
3082ff1
optmize: access-key store prefix
imstevez Aug 7, 2023
5e72e40
optmize: not found error
imstevez Aug 8, 2023
3962044
feat: add s3 signature
turingczz Aug 8, 2023
7d25946
chore:
turingczz Aug 8, 2023
d7ad67d
chore:
turingczz Aug 9, 2023
21d4705
chore:
turingczz Aug 9, 2023
7d0c76f
chore:
turingczz Aug 9, 2023
25baad4
chore:
turingczz Aug 9, 2023
7711c82
feat: add store
turingczz Aug 10, 2023
f4324c0
chore:
turingczz Aug 10, 2023
5c57bec
feat: s3 access-key, server, handlers, statestore, filestore
imstevez Aug 10, 2023
d434b63
chore:
turingczz Aug 10, 2023
3d9d343
optmize: code structure
imstevez Aug 11, 2023
a4e6f56
style: s3 code structure
imstevez Aug 11, 2023
9a1bf42
Merge branch 's3_auth' into feat/s3-compatible-api
imstevez Aug 11, 2023
865daf9
style: code structure
imstevez Aug 11, 2023
6299ba8
optmize: code structure
imstevez Aug 12, 2023
7aa2ca5
feat: add multiple context lock
imstevez Aug 14, 2023
ee3e5f8
feat: check auth
turingczz Aug 14, 2023
44da310
chore:
turingczz Aug 14, 2023
1784c49
chore:
turingczz Aug 14, 2023
84dd056
feat: add bucket service
turingczz Aug 15, 2023
bdc1837
chore:
turingczz Aug 15, 2023
29d9ce3
Merge remote-tracking branch 'origin/feat/s3-compatible-api' into s3-…
turingczz Aug 15, 2023
d30af9e
mod: update bucket lock
turingczz Aug 15, 2023
e4f6109
chore:
turingczz Aug 15, 2023
5e4a427
chore:
turingczz Aug 15, 2023
6b3c0c1
chore:
turingczz Aug 15, 2023
4faa010
del s3d
turingczz Aug 15, 2023
8176acc
chore: s3 req & rsp structure
imstevez Aug 15, 2023
6874753
chore:
turingczz Aug 16, 2023
fbbb5e1
feat: add pubBucket api
turingczz Aug 17, 2023
3a572cb
feat: add more bucket api
turingczz Aug 17, 2023
3ce88b3
chore:
turingczz Aug 17, 2023
0eaf129
chore:
turingczz Aug 17, 2023
0b87d68
feat: add request and response
turingczz Aug 17, 2023
3e84557
chore:
turingczz Aug 17, 2023
1cab398
feat: server build
imstevez Aug 18, 2023
bd25a00
chore: check acl
turingczz Aug 21, 2023
0fab872
chore
turingczz Aug 22, 2023
7d83079
chore: adjust bucket url
turingczz Aug 22, 2023
a869bfd

imstevez Aug 23, 2023
7996a1e
feat: add auth middleware
imstevez Aug 23, 2023
3b817d4
feat: adjust code structure
imstevez Aug 23, 2023
366a184
optmize: code structure & auth bug
imstevez Aug 23, 2023
ea2bb72
feat: put object
imstevez Aug 23, 2023
a689141
chore:
turingczz Aug 24, 2023
98a169f
mod: mod bucket parse req
turingczz Aug 24, 2023
4df4864
optmize: adjust place of response error
imstevez Aug 24, 2023
0ecff79
chore: mig sig 01
imstevez Aug 24, 2023
1c5ac9d
chore: clear sig
imstevez Aug 24, 2023
c492fad
chore: mig sig 02
imstevez Aug 24, 2023
a839315
chore: mig sig 03
imstevez Aug 24, 2023
691e63c
chore: mig sig 04
imstevez Aug 24, 2023
ed1a503
optmize: refractor codes
imstevez Aug 24, 2023
0a5e0d6
optmize: rename auth to sign
imstevez Aug 24, 2023
fe0156c
optmize: code structure & h.name
imstevez Aug 24, 2023
0c135c3
fix: h.name
imstevez Aug 24, 2023
17118db
feat: put-object
imstevez Aug 24, 2023
be278a4
feat: multipart
imstevez Aug 24, 2023
5fa266e
fix: nslock key
imstevez Aug 24, 2023
fbe0ec5
chore: rename s3 constructor file name
imstevez Aug 24, 2023
cb34bf1
fix: tidy example go-ipfs-as-a-library go mod
imstevez Aug 26, 2023
bc0f8e7
Merge branch 'fix/exp-go-mod' into s3-compatible-api-auth-2
imstevez Aug 26, 2023
860a7fc
chore: change default s3 server address to local
imstevez Aug 26, 2023
d38caf1
mod: add object api
turingczz Aug 28, 2023
dfda6e2
Merge branch 's3-compatible-api-auth-2' of github.com:bittorrent/go-b…
turingczz Aug 28, 2023
2a61167
feat: s3-compatible-api - 1. add start option and configure; 2. optmi…
imstevez Aug 29, 2023
f21eb32
Merge branch 's3-compatible-api-auth-2' into s3-compatible-api-z
turingczz Aug 30, 2023
71ee7b3
merge: object
turingczz Aug 30, 2023
83889ee
chore: add object lock
turingczz Aug 30, 2023
278fe64
chore: of delete objs
turingczz Aug 30, 2023
73ca8c8
chore:
turingczz Aug 30, 2023
bbfcb97
fix: list objects bug
imstevez Aug 30, 2023
bbed9cd
chore: rename ListObjetV1Handler to ListObjectHandler, rename BTFS-Ha…
imstevez Aug 30, 2023
d34b4c6
refractor: bucket service
imstevez Aug 31, 2023
d0d92c9
refactor: object service
imstevez Aug 31, 2023
714aa30
refractor: refract object service
imstevez Sep 1, 2023
8097ebb
refractor: handlers
imstevez Sep 1, 2023
b7eca10
refractor: bucket handler
imstevez Sep 2, 2023
187f740
refractor: bucket handler
imstevez Sep 2, 2023
ec4bb37
refractor: response
imstevez Sep 3, 2023
ac30bbe
refractor: response func
imstevez Sep 4, 2023
2fb46c1
refractor: response
imstevez Sep 4, 2023
59577be
refractor: object
imstevez Sep 4, 2023
12f68bf
refractor: object
imstevez Sep 6, 2023
00c7227
refractor: objects
imstevez Sep 6, 2023
c2b877e
refractor: btf api add timeout & add cid refs to enable referred cid…
imstevez Sep 6, 2023
0e8707d
ref: fix delete object remove body
imstevez Sep 6, 2023
102db6b
ref: format code
imstevez Sep 6, 2023
f5153f3
fix: routers
imstevez Sep 7, 2023
f086009
fix: add cors header
imstevez Sep 7, 2023
23b3caf
fix: router option
imstevez Sep 7, 2023
ac5145c
feat: add delete objects handler
imstevez Sep 7, 2023
0410494
refractor: multipart
imstevez Sep 8, 2023
4d3d6b7
ref: multipart
imstevez Sep 8, 2023
df7cb3d
fix: multipart etag calculation
imstevez Sep 8, 2023
568e64b
chore: add min part size todo
imstevez Sep 8, 2023
8dbe3c7
chore: upgrade 'github.com/anacrolix/torrent' from v1.47.0 to v1.52.5
imstevez Sep 9, 2023
bcc55bf
opt: comment and amz header
imstevez Sep 9, 2023
510e7fe
opt: code
imstevez Sep 10, 2023
b5f5e5f
opt: preflight cache max age
imstevez Sep 11, 2023
6c71fb5
feat: bucket response add acl header
imstevez Sep 11, 2023
dbb474d
opt: change cid-list header to cid
imstevez Sep 11, 2023
fe87cab
fix: required check exlude unknow location
imstevez Sep 12, 2023
6a2ac3a
fix: get object acl
imstevez Sep 13, 2023
3e1def6
ref: requests
imstevez Sep 18, 2023
c62f651
ref: complete refractor
imstevez Sep 19, 2023
a18e40e
fix: args parse
imstevez Sep 19, 2023
962a5ad
fix: get object unlock
imstevez Sep 19, 2023
cd8ef90
fix: object acl writer
imstevez Sep 19, 2023
5a6bdc5
fix: delete objects error
imstevez Sep 19, 2023
39b0fdd
fix: Sign handler name
imstevez Sep 19, 2023
9fc88cd
fix: object name escape
imstevez Sep 20, 2023
40735b2
fix: copy source validate
imstevez Sep 20, 2023
7034f17
opt: s3 log
imstevez Sep 20, 2023
75a8e21
opt: s3 api log
imstevez Sep 20, 2023
95d2aac
fix: allow Cache-Control header in PutObject and CopyObject Action
imstevez Sep 21, 2023
16db48a
opt: add access-key command taglines
imstevez Sep 21, 2023
f8b2589
opt: add accesskey command description
imstevez Sep 21, 2023
fd09b33
chore: add accesskey commands test path
imstevez Sep 22, 2023
5aca67c
chore: add accesskey test path
imstevez Sep 22, 2023
8d80ba0
Merge branch 'release_2.3.3' into feat/s3-compatible-api
imstevez Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions core/commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@ func TestCommands(t *testing.T) {
"/bittorrent/scrape",
"/bittorrent/metainfo",
"/bittorrent/bencode",
"/accesskey",
"/accesskey/generate",
"/accesskey/enable",
"/accesskey/disable",
"/accesskey/reset",
"/accesskey/delete",
"/accesskey/get",
"/accesskey/list",
"/multibase",
"/multibase/encode",
"/multibase/decode",
Expand Down
Loading