Derrick Hammer
|
c2075989fa
|
fix: need a Database and DatabaseService getter, and a getter on Database
|
2024-01-16 01:24:47 -05:00 |
Derrick Hammer
|
0c5827ce0b
|
Revert "fix: try to deref?"
This reverts commit a19af267cf .
|
2024-01-16 01:17:46 -05:00 |
Derrick Hammer
|
a19af267cf
|
fix: try to deref?
|
2024-01-16 01:14:42 -05:00 |
Derrick Hammer
|
58f734d3b3
|
fix: use a 32 byte hash, not 64
|
2024-01-16 01:08:39 -05:00 |
Derrick Hammer
|
276719f47f
|
feat: handle existing files
|
2024-01-16 01:05:09 -05:00 |
Derrick Hammer
|
a4e0e1fa58
|
refactor: have FileExists return the upload model if it exists
|
2024-01-16 01:01:57 -05:00 |
Derrick Hammer
|
866d105028
|
refactor: rename CIDExists to FileExists and have it work on hashes and check in hex format
|
2024-01-16 00:58:51 -05:00 |
Derrick Hammer
|
48f03c0f47
|
refactor: add Size field
|
2024-01-16 00:54:32 -05:00 |
Derrick Hammer
|
441e07f00e
|
refactor: rename ProtocolType
|
2024-01-16 00:53:39 -05:00 |
Derrick Hammer
|
f986e3e483
|
refactor: uploads should not store the cid but just a hash
|
2024-01-16 00:52:55 -05:00 |
Derrick Hammer
|
61696f42b8
|
feat: add GetHash
|
2024-01-16 00:48:06 -05:00 |
Derrick Hammer
|
62e22d0d39
|
feat: add CIDExists
|
2024-01-16 00:40:50 -05:00 |
Derrick Hammer
|
47602854a0
|
feat: bare bones account service
|
2024-01-16 00:19:36 -05:00 |
Derrick Hammer
|
4a408a179d
|
dep: add jwt
|
2024-01-16 00:11:21 -05:00 |
Derrick Hammer
|
4976874453
|
fix: ensure blocklist is singular
|
2024-01-16 00:11:12 -05:00 |
Derrick Hammer
|
86c80aefaa
|
fix: fix user relationship
|
2024-01-16 00:05:25 -05:00 |
Derrick Hammer
|
d30d2f34b5
|
fix: correct db name setting
|
2024-01-16 00:00:54 -05:00 |
Derrick Hammer
|
539d5ead65
|
fix: make core.db.name required
|
2024-01-15 23:59:58 -05:00 |
Derrick Hammer
|
cd7790834b
|
fix: provide a default database name
|
2024-01-15 23:59:18 -05:00 |
Derrick Hammer
|
4b56de03a3
|
fix: fix policies
|
2024-01-15 23:56:44 -05:00 |
Derrick Hammer
|
1ccc5d1141
|
fix: fix policies
|
2024-01-15 23:46:54 -05:00 |
Derrick Hammer
|
46dbfe77bc
|
fix: update def's
|
2024-01-15 23:41:13 -05:00 |
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 |