Derrick Hammer
|
61012ae394
|
fix: change property name
|
2024-03-17 08:33:24 -04:00 |
Derrick Hammer
|
1bd4527300
|
fix: use middleware.DEFAULT_AUTH_COOKIE_NAME for authCookieName
|
2024-03-17 08:30:55 -04:00 |
Derrick Hammer
|
6c58f6bd6c
|
refactor: use SetAuthCookie and set both DEFAULT_AUTH_COOKIE_NAME and s5 authCookieName
|
2024-03-17 08:17:56 -04:00 |
Derrick Hammer
|
b03e6815e2
|
refactor: fall back and check for DEFAULT_AUTH_COOKIE_NAME
|
2024-03-17 08:13:50 -04:00 |
Derrick Hammer
|
193871f083
|
fix: error if user is nil
|
2024-03-16 21:31:09 -04:00 |
Derrick Hammer
|
3dc5c72840
|
fix: auth cookie needs to be at the root path
|
2024-03-16 21:14:43 -04:00 |
Derrick Hammer
|
1ca8d78c8e
|
fix: need to use develop branch for dashboard submodule
|
2024-03-16 21:07:57 -04:00 |
Derrick Hammer
|
57a455a17e
|
refactor: need to handle get requests as nested jape routers with special routing checks to ensure virtual client side app routing returns the static bundle
|
2024-03-16 21:05:42 -04:00 |
Derrick Hammer
|
fd6c3e8604
|
fix: wrong embed path
|
2024-03-16 17:46:36 -04:00 |
Derrick Hammer
|
cc1efd5d85
|
feat: add dashboard as a submodule and register embed and routing in account api
|
2024-03-16 17:13:29 -04:00 |
Derrick Hammer
|
f6b28b0ee0
|
chore: temp disable email verification for testing
|
2024-03-16 15:43:52 -04:00 |
Derrick Hammer
|
971c72ada9
|
fix: add 401 status code
|
2024-03-16 11:37:42 -04:00 |
Derrick Hammer
|
f558d87b36
|
fix: update /s5/account/pins response
|
2024-03-16 11:36:38 -04:00 |
Derrick Hammer
|
ccae147398
|
feat: implement a basic account pins json api without paging
|
2024-03-16 11:14:06 -04:00 |
Derrick Hammer
|
8a2f501e8e
|
refactor: rename accountPins to accountPinsBinary
|
2024-03-16 11:00:27 -04:00 |
Derrick Hammer
|
e11340ad2b
|
refactor: ensure we set a cookie, auth header and json response in both login and otp validate
|
2024-03-14 12:54:41 -04:00 |
Derrick Hammer
|
358d5fdf60
|
feat: add account info endpoint
|
2024-03-14 06:42:38 -04:00 |
Derrick Hammer
|
6ff84bbc1a
|
refactor: use dedicated auth mw for ping
|
2024-03-13 18:45:14 -04:00 |
Derrick Hammer
|
d5118beb58
|
refactor: allow purpose to be none
|
2024-03-13 18:44:09 -04:00 |
Derrick Hammer
|
749a932663
|
fix: give login a dedicated authMiddleware instance
|
2024-03-13 17:35:26 -04:00 |
Derrick Hammer
|
4f891e067c
|
refactor: rename pong to ping
|
2024-03-13 17:34:10 -04:00 |
Derrick Hammer
|
2e3ec1408e
|
refactor: add PingResponse and link to /api/auth/ping
|
2024-03-13 17:26:25 -04:00 |
Derrick Hammer
|
0efcd35d65
|
refactor: add EmptyAllowed to authMw2fa
|
2024-03-13 14:01:08 -04:00 |
Derrick Hammer
|
bf8d909a3c
|
refactor: add option to allow jwt to be bypassed if there is no token
|
2024-03-13 14:00:19 -04:00 |
Derrick Hammer
|
ca12b99438
|
fix: first/last name are snake case
|
2024-03-13 13:54:30 -04:00 |
Derrick Hammer
|
36c614c483
|
fix: correct swagger for ping
|
2024-03-13 12:30:31 -04:00 |
Derrick Hammer
|
c416b40d00
|
feat: add ping endpoint to check auth status
|
2024-03-13 12:26:38 -04:00 |
Derrick Hammer
|
06f37bf3d8
|
refactor: add 415 response to /s5/metadata
|
2024-03-12 11:23:15 -04:00 |
Derrick Hammer
|
a1014acf15
|
refactor: use StatusUnsupportedMediaType
|
2024-03-12 11:21:25 -04:00 |
Derrick Hammer
|
d5782c7e86
|
fix: bad error message
|
2024-03-12 07:00:57 -04:00 |
Derrick Hammer
|
6c60dae743
|
fix: if the render end is 0, ensure the range header is valid syntax and skip it
|
2024-03-10 11:53:24 -04:00 |
Derrick Hammer
|
1f1f204b35
|
fix: only return noop is we are SeekStart and want the beginning, otherwise this is likely actually needing to start a partial content seek
|
2024-03-09 17:46:18 -05:00 |
Derrick Hammer
|
0c90924f31
|
refactor: add checking tus for metadata before uploads
|
2024-03-09 15:37:58 -05:00 |
Derrick Hammer
|
4020b9f7c7
|
fix: S5File::Exists needs to check tus before uploads
|
2024-03-09 14:27:07 -05:00 |
Derrick Hammer
|
4261bb6a5d
|
refactor: if the file exists locally, pull from out own node before fetching it from the net
|
2024-03-07 16:59:50 -05:00 |
Derrick Hammer
|
8a6516e157
|
fix: if root return a file with that set
|
2024-03-07 16:48:56 -05:00 |
Derrick Hammer
|
6e97b582ba
|
fix: pass Name to override using CID
|
2024-03-07 16:48:20 -05:00 |
Derrick Hammer
|
91d58ee87f
|
refactor: change login to respond with the jwt token in the body
|
2024-03-06 18:13:34 -05:00 |
Derrick Hammer
|
550398c701
|
feat: add swagger spec and support to account api
|
2024-03-06 04:58:04 -05:00 |
Derrick Hammer
|
6fb77d102a
|
refactor: add logic to find any unpinned files of a child manifest if the root is pinned but the children aren't
|
2024-03-05 16:27:29 -05:00 |
Derrick Hammer
|
caac09cc6f
|
feat: add CtxAborted and use in account pin
|
2024-03-05 13:41:47 -05:00 |
Derrick Hammer
|
fdfffb897c
|
fix: if not a manifest, call pinEntity directly
|
2024-03-05 12:41:28 -05:00 |
Derrick Hammer
|
a5c1356847
|
fix: don't rely on content length, but do a basic heuristic by reading 1 byte past the max upload, if if we haven't hit the limit and the sizes don't match, then error, but otherwise take an optimistic stance
|
2024-03-05 12:38:41 -05:00 |
Derrick Hammer
|
c6feee1351
|
fix: check if entry returns nil
|
2024-03-03 11:29:37 -05:00 |
Derrick Hammer
|
73623b8c36
|
fix: add CIDTypeDirectory to isCidManifest
|
2024-03-03 10:43:01 -05:00 |
Derrick Hammer
|
f20b4ee916
|
fix: update usage of GetCachedStorageLocations
|
2024-03-03 09:33:21 -05:00 |
Derrick Hammer
|
080fcbd559
|
fix: add special case to check for an index.html, and pass root and root type
|
2024-03-03 08:29:07 -05:00 |
Derrick Hammer
|
bd5544198e
|
refactor: optionally track a "root" cid which will be used for webapp manifests to start. Have IsDir run heuristics to verify if it is a dir by checking the manifest tryfiles
|
2024-03-03 08:28:39 -05:00 |
Derrick Hammer
|
756a01d52f
|
fix: if the filename is a . treat as a special case for a dir
|
2024-03-03 07:39:18 -05:00 |
Derrick Hammer
|
bd29ab4612
|
fix: if we are being requested the root while is a dot, create a file based on the root cid with the . name
|
2024-03-03 07:38:34 -05:00 |