Commit Graph

37 Commits

Author SHA1 Message Date
Derrick Hammer 98c1784518
fix: S5ProviderStore cannot rely on S5Protocol, so we need to provide for it too 2024-01-28 03:57:59 -05:00
Derrick Hammer 4a66be5b87
refactor: wrap in a module 2024-01-28 03:03:29 -05:00
Derrick Hammer 8c89796341
refactor: use a centralized list key for enabled protocols 2024-01-28 03:01:12 -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 f4b981f97f
fix: remove return false 2024-01-25 09:58:53 -05:00
Derrick Hammer 46b407bd9a
feat: broadcast file if tus has the upload as well 2024-01-25 09:53:02 -05:00
Derrick Hammer 47020fe738
fix: create StorageLocationTypeFull on StorageLocationTypeFull case 2024-01-24 16:43:17 -05:00
Derrick Hammer fe2d1be764
fix: wrong download url 2024-01-24 10:32:44 -05:00
Derrick Hammer a93eca6a7c
fix: wrong download subdomain 2024-01-24 03:41:00 -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 c4f0226d1a
refactor: re-implement s5 routes 2024-01-16 12:20:43 -05:00
Derrick Hammer 69b1938e87
feat: add AccountRegisterChallenge handler 2024-01-16 11:31:33 -05:00
Derrick Hammer 185269afea
feat: add upload create call 2024-01-16 02:01:18 -05:00
Derrick Hammer 276719f47f
feat: handle existing files 2024-01-16 01:05:09 -05:00
Derrick Hammer 2040d4edbc
fix: break import cycle 2024-01-15 20:10:15 -05:00
Derrick Hammer 6784cbf453
refactor: optimize 2024-01-15 15:16:48 -05:00
Derrick Hammer 0cd60b7db0
fix: use CIDFromHash 2024-01-15 14:41:24 -05:00
Derrick Hammer 592b20c561
fix: check header for prefix/starts with 2024-01-15 08:29:09 -05:00
Derrick Hammer 4f50d645ad
fix: pass a buffer.Reader copying from Buffer 2024-01-15 08:20:28 -05:00
Derrick Hammer 35aa206687
fix: use s5 bucket 2024-01-15 08:09:37 -05:00
Derrick Hammer 908411f33f
feat: initial s5 basic upload 2024-01-15 07:54:13 -05:00
Derrick Hammer 89935f2f00
refactor: consolidate log lines and pass more protocol info 2024-01-12 10:38:57 -05:00
Derrick Hammer 59a3ac6b64
fix: pass domain as protocol subdomain 2024-01-12 10:32:19 -05:00
Derrick Hammer 866fa89cee
feat: add logging of S5 identity 2024-01-12 10:16:04 -05:00
Derrick Hammer ab6b71813d
fix: update error message 2024-01-12 09:30:55 -05:00
Derrick Hammer de407b2803
fix: fatal if protocol.s5 is not set 2024-01-12 09:30:23 -05:00
Derrick Hammer 2caaa07da8
refactor: try to use core.externalPort if set, else use core.port 2024-01-12 09:17:53 -05:00
Derrick Hammer e6f3df2882
refactor: use a sub logger 2024-01-12 08:22:59 -05:00
Derrick Hammer 522ed11d50
refactor: store portal identity 2024-01-12 08:22:40 -05:00
Derrick Hammer 0bd089e046
refactor: update Initialize signature 2024-01-12 08:22:21 -05:00
Derrick Hammer 7ccfaa57da
fix: use logger.Fatal 2024-01-12 06:37:11 -05:00
Derrick Hammer 5fbac2ae13
fix: use config for db 2024-01-12 06:37:01 -05:00
Derrick Hammer fa4a3e6f2a
fix: pass domain and port info to s5 http config 2024-01-11 23:33:11 -05:00
Derrick Hammer c7af6286ad
fix: namespace config under protocol 2024-01-11 23:32:31 -05:00
Derrick Hammer 519426ba7d
feat: bare bones s5 support, and more dynamic loading of subsystems 2024-01-11 23:13:10 -05:00
Derrick Hammer 444de35e31
feat: initial new portal bones 2024-01-11 19:11:53 -05:00