Derrick Hammer
|
3f2757fb18
|
feat: add support for resolving a registry entry when pinning
|
2024-02-29 12:08:04 -05:00 |
Derrick Hammer
|
b3df326980
|
feat: add support for recursively pinning a manifest and all its children
|
2024-02-29 12:02:49 -05:00 |
Derrick Hammer
|
c984d72cfd
|
refactor: add performance logging for bao
|
2024-02-28 12:33:13 -05:00 |
Derrick Hammer
|
d9d85f2804
|
fix: casing
|
2024-02-27 11:14:38 -05:00 |
Derrick Hammer
|
097e29aa94
|
refactor: switch to using All api then filter to find valid locations
|
2024-02-27 10:58:15 -05:00 |
Derrick Hammer
|
944c5f01b9
|
refactor: add support for ExcludeNodes via excludeSelf in newStorageLocationProvider
|
2024-02-27 07:31:59 -05:00 |
Derrick Hammer
|
9f5b676f47
|
refactor: use S3MultipartUpload if greater than S3_MULTIPART_MIN_PART_SIZE
|
2024-02-27 06:14:27 -05:00 |
Derrick Hammer
|
01eda4aa23
|
fix: need to pass content length
|
2024-02-27 04:31:55 -05:00 |
Derrick Hammer
|
9b6a253313
|
fix: need to use Get, head isn't always supported
|
2024-02-27 04:26:55 -05:00 |
Derrick Hammer
|
8f8944a645
|
fix: pass ctx
|
2024-02-27 03:43:41 -05:00 |
Derrick Hammer
|
b3d63007e1
|
fix: pass login ip
|
2024-02-26 08:30:17 -05:00 |
Derrick Hammer
|
355033634d
|
refactor: set login ip with LoginPubkey
|
2024-02-26 08:28:22 -05:00 |
Derrick Hammer
|
88ef43acaa
|
fix: dnslink would not import
|
2024-02-26 08:18:55 -05:00 |
Derrick Hammer
|
90834601d7
|
refactor: modify CreateAccount to optionally send an email verification
|
2024-02-26 08:15:10 -05:00 |
Derrick Hammer
|
38375d44d8
|
feat: initial DNS link support
|
2024-02-25 09:47:40 -05:00 |
Derrick Hammer
|
8885fd37cc
|
refactor: use job terminology for consistency
|
2024-02-25 07:50:59 -05:00 |
Derrick Hammer
|
d618f08275
|
refactor: rename RetryableTask to RetryableJob
|
2024-02-25 07:49:22 -05:00 |
Derrick Hammer
|
5c3d1144d4
|
feat: add ability for pinning to import a CID via cron task
|
2024-02-25 07:23:30 -05:00 |
Derrick Hammer
|
ea8c50edc7
|
refactor: make PostUploadLimit uint64
|
2024-02-25 02:10:41 -05:00 |
Derrick Hammer
|
7f12ee5b0d
|
refactor: implement new configuration management system
|
2024-02-22 02:13:59 -05:00 |
Derrick Hammer
|
8f78f6fe87
|
fix: metadata service not passed in construction
|
2024-02-17 23:27:37 -05:00 |
Derrick Hammer
|
fc042570ab
|
refactor: change to store the hash as a raw, but also make it unique with an index
|
2024-02-17 23:17:26 -05:00 |
Derrick Hammer
|
24694ecbae
|
feat: create new swagger package
|
2024-02-17 03:05:22 -05:00 |
Derrick Hammer
|
a5f0a4bfcc
|
fix: GetUploadReader needs ctx
|
2024-02-17 02:38:07 -05:00 |
Derrick Hammer
|
c452b0c271
|
refactor: add context
|
2024-02-17 02:37:52 -05:00 |
Derrick Hammer
|
c468a81543
|
refactor: remove tus out of method names
|
2024-02-16 22:03:34 -05:00 |
Derrick Hammer
|
93e727ab3b
|
refactor: epic protocol and storage design refactor
|
2024-02-16 22:00:53 -05:00 |
Derrick Hammer
|
7834471b84
|
refactor: merge http handler back to s5 api struct
|
2024-02-16 08:49:19 -05:00 |
Derrick Hammer
|
7f5847f7da
|
chore: remove commented code
|
2024-02-16 08:42:26 -05:00 |
Derrick Hammer
|
f0d7a337db
|
refactor: change how init of protocols works and make router building part of the interface
|
2024-02-16 08:39:55 -05:00 |
Derrick Hammer
|
3f90cbfe09
|
refactor: use new errors and optimize code
|
2024-02-15 20:55:38 -05:00 |
Derrick Hammer
|
41a6772c9f
|
chore: emailverifier no longer needed here
|
2024-02-13 23:32:23 -05:00 |
Derrick Hammer
|
8b9471aa04
|
refactor: switch to GetUserFromContext
|
2024-02-13 23:29:48 -05:00 |
Derrick Hammer
|
50c4d8b945
|
refactor: clean up use of auth middleware in s5
|
2024-02-13 22:25:50 -05:00 |
Derrick Hammer
|
0b3d54e7c5
|
refactor: major middleware refactor
|
2024-02-13 22:17:34 -05:00 |
Derrick Hammer
|
171b810504
|
fix: remove duplicate check
|
2024-02-13 20:01:45 -05:00 |
Derrick Hammer
|
6f61f09ba4
|
refactor: move email validation to gorm
|
2024-02-13 19:41:00 -05:00 |
Derrick Hammer
|
3e629cf46e
|
refactor: update usage of account methods
|
2024-02-13 19:29:37 -05:00 |
Derrick Hammer
|
5598660176
|
refactor: un-export all s5 http handlers
|
2024-02-13 19:10:24 -05:00 |
Derrick Hammer
|
78accd1f02
|
fix: add missing content responses to upload api's
|
2024-02-13 00:32:16 -05:00 |
Derrick Hammer
|
227ac9b403
|
fix: wrong proof extension
|
2024-02-09 15:58:15 -05:00 |
Derrick Hammer
|
0c00e2e7d9
|
feat: add proof download support to download endpoint
|
2024-02-09 15:49:34 -05:00 |
Derrick Hammer
|
e7ac46de32
|
fix: update method calls and hash object usage
|
2024-02-09 15:28:50 -05:00 |
Derrick Hammer
|
b939ea109c
|
refactor: add tags to swagger
|
2024-02-07 20:31:42 -05:00 |
Derrick Hammer
|
7c945f0a2d
|
refactor: clean up and remove version check
|
2024-02-07 20:21:44 -05:00 |
Derrick Hammer
|
89cdd01698
|
fix: update swagger json url
|
2024-02-07 20:20:13 -05:00 |
Derrick Hammer
|
8e04de591e
|
fix: add content type header to byteHandler
|
2024-02-07 20:19:56 -05:00 |
Derrick Hammer
|
172b040365
|
refactor: more refactoring on swagger handlers
|
2024-02-07 20:19:22 -05:00 |
Derrick Hammer
|
279cc484fc
|
refactor: merge flowchartsman/swaggerui into our own code base to simplify routing
|
2024-02-07 19:18:11 -05:00 |
Derrick Hammer
|
69ae351d94
|
fix: schema fixes
|
2024-02-07 18:25:20 -05:00 |
Derrick Hammer
|
192ac364c5
|
fix: schema fixes
|
2024-02-07 18:14:43 -05:00 |
Derrick Hammer
|
0f3f92442a
|
fix: schema fixes
|
2024-02-07 17:56:16 -05:00 |
Derrick Hammer
|
be92e036f3
|
feat: initial swagger support
|
2024-02-07 17:39:18 -05:00 |
Derrick Hammer
|
d13c15212c
|
fix: need to create a special mock handler for tus cors, and make cores a dedicated middleware function
|
2024-02-03 20:11:47 -05:00 |
Derrick Hammer
|
6655abe61b
|
fix: need to allow Upload-Length through cors
|
2024-02-03 20:02:11 -05:00 |
Derrick Hammer
|
8a1e586b28
|
fix: need to allow Upload-Concat through cors
|
2024-02-03 20:00:40 -05:00 |
Derrick Hammer
|
39b4977d52
|
fix: need to allow Expires through cors
|
2024-02-03 19:59:43 -05:00 |
Derrick Hammer
|
130abe6098
|
fix: need to allow Authorization through cors
|
2024-02-03 19:58:17 -05:00 |
Derrick Hammer
|
5784afe064
|
fix: need to create custom cors middleware instance for tus
|
2024-02-03 19:55:32 -05:00 |
Derrick Hammer
|
6894cd7e54
|
refactor: put cors middleware 1st
|
2024-02-03 19:46:02 -05:00 |
Derrick Hammer
|
d57a14d9a3
|
fix: need to add options routes
|
2024-02-03 19:34:55 -05:00 |
Derrick Hammer
|
fd721077e5
|
fix: need to apply cors to tus upload
|
2024-02-03 19:25:13 -05:00 |
Derrick Hammer
|
6d34f5b683
|
refactor: change struct naming convention from "impl" to "default"
|
2024-01-31 20:29:27 -05:00 |
Derrick Hammer
|
1721fbf832
|
fix: update imports
|
2024-01-30 00:33:57 -05:00 |
Derrick Hammer
|
e034e1d54e
|
refactor: restructure s5 protocol/api to use new fx module and new library structure. Also move the proto/api to its own package for organization
|
2024-01-29 15:11:57 -05:00 |
Derrick Hammer
|
a410cc55f0
|
fix: dont return pointer
|
2024-01-28 04:22:49 -05:00 |
Derrick Hammer
|
4348ff6dfe
|
fix: HttpHandler needs a Result struct
|
2024-01-28 04:18:32 -05:00 |
Derrick Hammer
|
2dc8fc56f5
|
refactor: epic refactor to use uber fx microframework/DI framework to manage dependency graph, remove the portal object, and remove the interfaces package
|
2024-01-28 02:20:59 -05:00 |
Derrick Hammer
|
ad54cc70b3
|
fix: need to pass content type header before ServeContent
|
2024-01-25 19:18:35 -05:00 |
Derrick Hammer
|
be27728b42
|
feat: need to support mime type in small uploads
|
2024-01-25 19:15:01 -05:00 |
Derrick Hammer
|
73bd74faeb
|
refactor: use storage NewFile
|
2024-01-25 16:34:31 -05:00 |
Derrick Hammer
|
14d8760c1f
|
fix: pass name to http.ServeContent
|
2024-01-24 19:23:42 -05:00 |
Derrick Hammer
|
bf15faf33f
|
feat: need else on hash check
|
2024-01-24 19:10:19 -05:00 |
Derrick Hammer
|
bf25d7bfda
|
feat: use new file abstraction and use http.ServeContent
|
2024-01-24 19:08:13 -05:00 |
Derrick Hammer
|
95b57cffc0
|
fix: handle both cid and base64url hash
|
2024-01-24 17:15:21 -05:00 |
Derrick Hammer
|
523286df32
|
fix: use MaxUint32
|
2024-01-24 12:51:19 -05:00 |
Derrick Hammer
|
60c905181c
|
fix: manually encode list
|
2024-01-24 12:34:50 -05:00 |
Derrick Hammer
|
c976ec31be
|
fix: create an AccountPinResponse with a custom msgpack encoder
|
2024-01-24 12:29:25 -05:00 |
Derrick Hammer
|
a4137102e6
|
fix: import cycle
|
2024-01-24 03:36:03 -05:00 |
Derrick Hammer
|
6a2b1b4a9b
|
feat: implement provider store
|
2024-01-24 03:28:47 -05:00 |
Derrick Hammer
|
22eacc4af1
|
feat: implement /s5/download/:cid
|
2024-01-24 01:27:05 -05:00 |
Derrick Hammer
|
e9db71f3b8
|
refactor: move middleware to its own package to prevent import cycles
|
2024-01-19 17:04:25 -05:00 |
Derrick Hammer
|
2c30477465
|
refactor: update putfile and gethash call names
|
2024-01-19 15:52:26 -05:00 |
Derrick Hammer
|
8044591697
|
feat: support auth in header, cookie, and query arg
|
2024-01-18 20:56:49 -05:00 |
Derrick Hammer
|
82f34726d6
|
debug: add logging
|
2024-01-18 14:38:15 -05:00 |
Derrick Hammer
|
12de0342f5
|
debug: add logging
|
2024-01-18 14:28:32 -05:00 |
Derrick Hammer
|
8161d36f0e
|
fix: bad response for existing file
|
2024-01-18 13:53:04 -05:00 |
Derrick Hammer
|
f957ef5d78
|
feat: implement /s5/metadata/:cid
|
2024-01-17 22:19:42 -05:00 |
Derrick Hammer
|
510a57162c
|
feat: implement /s5/debug/storage_locations/:hash
|
2024-01-17 22:02:36 -05:00 |
Derrick Hammer
|
0c88e80a66
|
feat: implement /s5/blob/:cid
|
2024-01-17 21:23:33 -05:00 |
Derrick Hammer
|
dfd03673c9
|
fix: pin the file if it exists
|
2024-01-17 17:21:15 -05:00 |
Derrick Hammer
|
7fde67aea5
|
fix: use PinByID and pin after creating the upload
|
2024-01-17 17:16:12 -05:00 |
Derrick Hammer
|
72c3167e5f
|
feat: implement POST /s5/registry/subscription
|
2024-01-17 16:46:13 -05:00 |
Derrick Hammer
|
acb9604b02
|
feat: implement POST /s5/registry
|
2024-01-17 16:20:51 -05:00 |
Derrick Hammer
|
cde3f90d2d
|
feat: implement GET /s5/registry
|
2024-01-17 16:05:31 -05:00 |
Derrick Hammer
|
7248570e6b
|
feat: implement /s5/debug/download_urls/:cid
|
2024-01-17 15:36:21 -05:00 |
Derrick Hammer
|
c338a41efd
|
refactor: use CreateUpload
|
2024-01-17 14:49:35 -05:00 |
Derrick Hammer
|
5fec2f08ff
|
feat: implement /s5/upload/directory
|
2024-01-17 14:46:37 -05:00 |
Derrick Hammer
|
6a8a3c436a
|
feat: implement /s5/pin/:cid
|
2024-01-17 13:13:37 -05:00 |
Derrick Hammer
|
66dabf5150
|
feat: implement /s5/delete/:cid
|
2024-01-17 13:04:32 -05:00 |