Derrick Hammer
|
ea4a22c52d
|
fix: remove duplicate chan close
|
2024-01-20 11:07:06 -05:00 |
Derrick Hammer
|
6bbfac661a
|
fix: call released on ctx done
|
2024-01-20 11:06:50 -05:00 |
Derrick Hammer
|
112fbb4c51
|
refactor: moved anon func to private released method
|
2024-01-20 11:04:43 -05:00 |
Derrick Hammer
|
5465cf7a63
|
fix: RequestRelease needs to be inside for, but after we check for a non-busy error
|
2024-01-20 10:48:42 -05:00 |
Derrick Hammer
|
60e917120d
|
fix: only add slash if path is empty
|
2024-01-20 10:37:33 -05:00 |
Derrick Hammer
|
c5b0865977
|
fix: need to create a custom version of strip prefix that appends a trailing slash for the router
|
2024-01-20 10:33:18 -05:00 |
Derrick Hammer
|
9f7f819369
|
dep: update tus
|
2024-01-20 10:15:44 -05:00 |
Derrick Hammer
|
e201f97e0b
|
dep: replace tus with fork
|
2024-01-20 10:10:48 -05:00 |
Derrick Hammer
|
75e7ba00cd
|
fix: query needs to be manually built and re-encoded
|
2024-01-20 08:22:51 -05:00 |
Derrick Hammer
|
07c36109d8
|
refactor: move strip prefix to be last
|
2024-01-20 08:15:27 -05:00 |
Derrick Hammer
|
24e841ae97
|
fix: use new copy of request
|
2024-01-20 08:13:17 -05:00 |
Derrick Hammer
|
a1e7cda659
|
refactor: move injectJwt to be processed after authMiddlewareFunc
|
2024-01-20 08:12:50 -05:00 |
Derrick Hammer
|
9bf10b19bf
|
refactor: add current request to tusJwtResponseWriter
|
2024-01-20 08:12:30 -05:00 |
Derrick Hammer
|
73fa265939
|
feat: implement tusJwtResponseWriter WriteHeader
|
2024-01-20 08:06:50 -05:00 |
Derrick Hammer
|
a56fa20b6d
|
refactor: split findAuthToken to parseAuthTokenHeader
|
2024-01-20 08:03:26 -05:00 |
Derrick Hammer
|
1d1c552a0a
|
refactor: explicitly check the path and only for post
|
2024-01-20 07:57:09 -05:00 |
Derrick Hammer
|
a2051acff1
|
feat: add initial tusJwtResponseWriter bones so we can append the auth_token to tus urls
|
2024-01-20 07:54:24 -05:00 |
Derrick Hammer
|
4378da70da
|
refactor: create and export GenerateTokenWithDuration and GenerateToken
|
2024-01-20 07:30:46 -05:00 |
Derrick Hammer
|
8c86ecc5b7
|
fix: TusUploadExists needs to operate on TusUpload not Upload
|
2024-01-20 07:05:27 -05:00 |
Derrick Hammer
|
e8fbe46dfc
|
fix: uploaderID is uint64
|
2024-01-20 06:57:57 -05:00 |
Derrick Hammer
|
0ab70dcaa5
|
fix: if we have errors at the CreatedUploads hook, cancel the upload
|
2024-01-20 06:41:51 -05:00 |
Derrick Hammer
|
af5b6241bf
|
fix: NotifyCreatedUploads needs to be enabled
|
2024-01-20 06:27:11 -05:00 |
Derrick Hammer
|
b50c6c9f85
|
fix: dont put leading slash in prefix
|
2024-01-20 06:03:07 -05:00 |
Derrick Hammer
|
43e52e1ae1
|
fix: wrong prefix
|
2024-01-20 06:01:42 -05:00 |
Derrick Hammer
|
fdef217078
|
fix: need to add a strip prefix middleware
|
2024-01-20 05:50:54 -05:00 |
Derrick Hammer
|
fba3ee4213
|
fix: we don't need to wrap the tus middleware as NewHandler does it for us
|
2024-01-20 05:45:13 -05:00 |
Derrick Hammer
|
eb063a8954
|
dep: replace jape with fork with HEAD support
|
2024-01-20 05:20:23 -05:00 |
Derrick Hammer
|
eaa515345e
|
feat: add startCron to start list
|
2024-01-19 17:48:42 -05:00 |
Derrick Hammer
|
48e3c690ce
|
feat: register storage service with cron
|
2024-01-19 17:47:14 -05:00 |
Derrick Hammer
|
16a3b531ac
|
fix: add RegisterService
|
2024-01-19 17:45:52 -05:00 |
Derrick Hammer
|
c397cc9fcb
|
fix: add initCron to init list
|
2024-01-19 17:44:08 -05:00 |
Derrick Hammer
|
60c7cc5c6c
|
refactor: fix import cycles
|
2024-01-19 17:12:26 -05:00 |
Derrick Hammer
|
1f7c05434a
|
refactor: fix import cycles
|
2024-01-19 17:11:16 -05:00 |
Derrick Hammer
|
72219eb59c
|
feat: add tus endpoints
|
2024-01-19 17:08:55 -05:00 |
Derrick Hammer
|
2e64b56115
|
refactor: need to use middleware package
|
2024-01-19 17:08:05 -05:00 |
Derrick Hammer
|
5b1838a63b
|
feat: create tus api builder
|
2024-01-19 17:06:41 -05:00 |
Derrick Hammer
|
26c28db1f2
|
feat: create ApplyMiddlewares helper
|
2024-01-19 17:05:18 -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
|
4c92750dd0
|
feat: add tus getter
|
2024-01-19 16:51:41 -05:00 |
Derrick Hammer
|
2c30477465
|
refactor: update putfile and gethash call names
|
2024-01-19 15:52:26 -05:00 |
Derrick Hammer
|
6acf8a606a
|
feat: initial tus protocol and processing support
|
2024-01-19 15:51:31 -05:00 |
Derrick Hammer
|
b50c16ff2a
|
feat: implement a tus locker based on mysql
|
2024-01-19 15:50:09 -05:00 |
Derrick Hammer
|
6a8936b9c9
|
feat: add initial tus db models
|
2024-01-19 15:49:41 -05:00 |
Derrick Hammer
|
1f8ad3ac1a
|
feat: s3 config key to required config
|
2024-01-19 15:47:18 -05:00 |
Derrick Hammer
|
0eb6a9a3a3
|
feat: added a cron service
|
2024-01-19 15:46:37 -05:00 |
Derrick Hammer
|
5323e43bdb
|
fix: initDatabase no longer needs to pass p to init
|
2024-01-19 15:45:02 -05:00 |
Derrick Hammer
|
fbbb22145d
|
dep: add aws sdk, gocron, and tusd
|
2024-01-19 15:44:18 -05:00 |
Derrick Hammer
|
2693c892a4
|
refactor: use service interface
|
2024-01-19 12:49:06 -05:00 |
Derrick Hammer
|
2500b3f047
|
feat: add generic service interface
|
2024-01-19 12:48:37 -05:00 |
Derrick Hammer
|
5b6084986f
|
refactor: init doesn't need portal passed
|
2024-01-19 12:43:16 -05:00 |