Derrick Hammer
|
e40111a276
|
fix: sec was not used
|
2024-01-15 23:15:57 -05:00 |
Derrick Hammer
|
b2d863d466
|
Revert "fix: refactor AddPolicy"
This reverts commit 17f16c53af .
|
2024-01-15 23:08:44 -05:00 |
Derrick Hammer
|
17f16c53af
|
fix: refactor AddPolicy
|
2024-01-15 23:07:44 -05:00 |
Derrick Hammer
|
f0b92aa2d6
|
fix: need to load policies
|
2024-01-15 22:53:51 -05:00 |
Derrick Hammer
|
87ebf5012b
|
fix: policies need to be added after
|
2024-01-15 22:53:12 -05:00 |
Derrick Hammer
|
212832eda1
|
refactor: since Portal.Logger can return a temporary logger, just use it
|
2024-01-15 22:44:28 -05:00 |
Derrick Hammer
|
a8a39d523e
|
fix: if logger is not ready, use a temporary one
|
2024-01-15 22:42:55 -05:00 |
Derrick Hammer
|
27ad581026
|
fix: port default needs to be a number
|
2024-01-15 22:36:17 -05:00 |
Derrick Hammer
|
6076073dce
|
fix: logger needs to be inited before config check
|
2024-01-15 22:35:00 -05:00 |
Derrick Hammer
|
51a1f6051b
|
fix: implement database getter
|
2024-01-15 22:02:10 -05:00 |
Derrick Hammer
|
05c0aba484
|
feat: initial casbin support
|
2024-01-15 22:01:40 -05:00 |
Derrick Hammer
|
b9fab1a4b5
|
fix: add db config to required config
|
2024-01-15 21:00:08 -05:00 |
Derrick Hammer
|
3a44305c44
|
refactor: rename to startProtocolRegistry
|
2024-01-15 20:58:53 -05:00 |
Derrick Hammer
|
82fe380b02
|
feat: initial database support and models
|
2024-01-15 20:58:20 -05:00 |
Derrick Hammer
|
2040d4edbc
|
fix: break import cycle
|
2024-01-15 20:10:15 -05:00 |
Derrick Hammer
|
66e1cba39b
|
refactor: move init and startup process to a functional approach for readability
|
2024-01-15 20:07:08 -05:00 |
Derrick Hammer
|
8ceb8c1eb9
|
refactor: logger does not need to be a singleton
|
2024-01-15 19:43:00 -05:00 |
Derrick Hammer
|
eae3de419c
|
deps: update libs5
|
2024-01-15 19:35:03 -05:00 |
Derrick Hammer
|
6784cbf453
|
refactor: optimize
|
2024-01-15 15:16:48 -05:00 |
Derrick Hammer
|
387ec56bec
|
fix: disable resty warnings
|
2024-01-15 14:45:35 -05:00 |
Derrick Hammer
|
0cd60b7db0
|
fix: use CIDFromHash
|
2024-01-15 14:41:24 -05:00 |
Derrick Hammer
|
699869ca3e
|
fix: wrong payload to bucket create
|
2024-01-15 14:36:06 -05:00 |
Derrick Hammer
|
138b7a8e8c
|
fix: wrong bucket create endpoint
|
2024-01-15 14:33:51 -05:00 |
Derrick Hammer
|
d4ed4eb9a2
|
fic: add createBucketIfNotExists helper
|
2024-01-15 14:25:12 -05:00 |
Derrick Hammer
|
dc239b0cba
|
dep: update libs5
|
2024-01-15 14:14:04 -05:00 |
Derrick Hammer
|
61304ad3d2
|
fix: wrong api endpoint (again)
|
2024-01-15 14:08:41 -05:00 |
Derrick Hammer
|
e4626fdbb8
|
fix: wrong api endpoint
|
2024-01-15 14:06:16 -05:00 |
Derrick Hammer
|
d6d15cff73
|
debug: add debug line
|
2024-01-15 14:03:57 -05:00 |
Derrick Hammer
|
b0a7566466
|
fix: ensure Error() is not nil
|
2024-01-15 14:03:05 -05:00 |
Derrick Hammer
|
01029430cb
|
dep: update libs5
|
2024-01-15 13:55:27 -05:00 |
Derrick Hammer
|
f080dbc943
|
dep: update libs5
|
2024-01-15 13:41:14 -05:00 |
Derrick Hammer
|
2ef6df540f
|
dep: update libs5
|
2024-01-15 13:38:29 -05:00 |
Derrick Hammer
|
a8f9dfdbd3
|
dep: update libs5
|
2024-01-15 13:20:15 -05:00 |
Derrick Hammer
|
0c49c70b98
|
dep: update libs5
|
2024-01-15 13:11:36 -05:00 |
Derrick Hammer
|
a641e57656
|
dep: update libs5
|
2024-01-15 13:04:18 -05:00 |
Derrick Hammer
|
df815c1ebf
|
dep: update libs5
|
2024-01-15 12:59:40 -05:00 |
Derrick Hammer
|
ef9ecbf8e9
|
dep: update libs5
|
2024-01-15 12:14:44 -05:00 |
Derrick Hammer
|
73ab5b8214
|
refactor: add a means of saving the config if any default value is not set
|
2024-01-15 12:02:15 -05:00 |
Derrick Hammer
|
8ab200541e
|
fix: add default for protocol.s5.p2p.maxOutgoingPeerFailures
|
2024-01-15 11:50:31 -05:00 |
Derrick Hammer
|
4b1622511e
|
dep: update libs5
|
2024-01-15 11:46:14 -05:00 |
Derrick Hammer
|
41481fe89d
|
dep: update libs5
|
2024-01-15 11:39:20 -05:00 |
Derrick Hammer
|
eb9f4513b5
|
dep: update libs5
|
2024-01-15 11:16:12 -05:00 |
Derrick Hammer
|
3f07a580ec
|
dep: update libs5
|
2024-01-15 10:55:02 -05:00 |
Derrick Hammer
|
0281936511
|
refactor: put logger as its own package with a custom config for the log level, allow it to be configurable with a default, add an init func for it, and have the config init use a temp logger
|
2024-01-15 10:02:58 -05:00 |
Derrick Hammer
|
ba44b58897
|
fix: need to create init for storage service to ensure it configures the http client after we have read the config
|
2024-01-15 08:38:05 -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
|
a16bcc788d
|
fix: make core.sia.url and core.sia.key required
|
2024-01-15 08:04:05 -05:00 |
Derrick Hammer
|
7ef2f819a8
|
fix: use GetHttpRouter
|
2024-01-15 07:56:37 -05:00 |