feat: public Markdown and isolated HTML landing pages (3.2.4)
This commit is contained in:
1 parent
9f777bafbc
commit
3bc62d2b69
50 files changed
+1065
-94
No files matched your search
@@ -35,6 +35,7 @@ func TestPublicShareHandlerAuthentication(t *testing.T) {
|
||||
downloadPerm: true,
|
||||
expectedStatusCode: 200,
|
||||
},
|
||||
"Expired share, 404": {share: &share.Link{Hash: "h", UserID: 1, Expire: 1}, req: newHTTPRequest(t), sharePerm: true, downloadPerm: true, expectedStatusCode: 404},
|
||||
"Private share, no auth provided, 401": {
|
||||
share: &share.Link{Hash: "h", UserID: 1, PasswordHash: passwordBcrypt, Token: "123"},
|
||||
req: newHTTPRequest(t),
|
||||
|
||||
Reference in new issue
Block a user