optional basic auth for shared notes, closes #2781

This commit is contained in:
zadam
2022-07-31 21:45:32 +02:00
parent 3ebfaec1bc
commit 46deceedc9
6 changed files with 263 additions and 506 deletions

View File

@@ -218,6 +218,7 @@ const ATTR_HELP = {
"shareRoot": "marks note which is served on /share root.",
"shareRaw": "note will be served in its raw format, without HTML wrapper",
"shareDisallowRobotIndexing": `will forbid robot indexing of this note via <code>X-Robots-Tag: noindex</code> header`,
"shareCredentials": "require credentials to access this shared note. Value is expected to be in format 'username:password'. Don't forget to make this inheritable to apply to child-notes/images.",
"displayRelations": "comma delimited names of relations which should be displayed. All other ones will be hidden.",
"hideRelations": "comma delimited names of relations which should be hidden. All other ones will be displayed.",
"titleTemplate": `default title of notes created as children of this note. The value is evaluated as JavaScript string