added features list
This commit is contained in:
parent
a8a4771ca4
commit
1b2a24a901
4 changed files with 34 additions and 17 deletions
11
README.md
11
README.md
|
|
@ -47,6 +47,15 @@ See the `scripts/` directory on how to install gowiki on Linux or OpenBSD.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## GoWiki on OpenBSD
|
## Features
|
||||||
|
|
||||||
|
* Fulltext indexing of wiki pages
|
||||||
|
* Password hashing using BCrypt
|
||||||
|
* 2FA using TOTP
|
||||||
|
* Content Security Policy
|
||||||
|
* No Javascript (yet)
|
||||||
|
* Private wiki pages
|
||||||
|
|
||||||
|
### GoWiki on OpenBSD
|
||||||
|
|
||||||
GoWiki makes use of the OpenBSD native security features [pledge(2)](https://man.openbsd.org/pledge) and [unveil(2)](https://man.openbsd.org/unveil).
|
GoWiki makes use of the OpenBSD native security features [pledge(2)](https://man.openbsd.org/pledge) and [unveil(2)](https://man.openbsd.org/unveil).
|
||||||
|
|
|
||||||
|
|
@ -679,12 +679,14 @@ const (
|
||||||
</div>
|
</div>
|
||||||
{{if .Admin}}
|
{{if .Admin}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
<div class="custom-control custom-checkbox">
|
||||||
{{if .Data.Admin}}
|
{{if .Data.Admin}}
|
||||||
<input type="checkbox" id="admin" name="admin" value="0" checked>
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0" checked>
|
||||||
{{else}}
|
{{else}}
|
||||||
<input type="checkbox" id="admin" name="admin" value="0">
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
||||||
|
|
@ -735,8 +737,10 @@ const (
|
||||||
<input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
|
<input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" id="admin" name="admin" value="0">
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||||
|
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-sm btn-primary" type="submit">Create</button>
|
<button class="btn btn-sm btn-primary" type="submit">Create</button>
|
||||||
<a href="/users" class="btn btn-sm btn-primary">Back</a>
|
<a href="/users" class="btn btn-sm btn-primary">Back</a>
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,14 @@
|
||||||
</div>
|
</div>
|
||||||
{{if .Admin}}
|
{{if .Admin}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
<div class="custom-control custom-checkbox">
|
||||||
{{if .Data.Admin}}
|
{{if .Data.Admin}}
|
||||||
<input type="checkbox" id="admin" name="admin" value="0" checked>
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0" checked>
|
||||||
{{else}}
|
{{else}}
|
||||||
<input type="checkbox" id="admin" name="admin" value="0">
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,10 @@
|
||||||
<input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
|
<input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" id="admin" name="admin" value="0">
|
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||||
|
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-sm btn-primary" type="submit">Create</button>
|
<button class="btn btn-sm btn-primary" type="submit">Create</button>
|
||||||
<a href="/users" class="btn btn-sm btn-primary">Back</a>
|
<a href="/users" class="btn btn-sm btn-primary">Back</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue