* upstream/master:
Re-add https in log message
Also use bind address on standalone redirect
Allow 'bind' in config to specify bind address
Only log ActivityPub info when debugging
Bump version to 0.4
Move softwareVer to var() block
Add @koehn to AUTHORS
Add `make release-docker`
Move docker build to `make build-docker`
extracted docker command a la `go` and `make`
added docker support to `make release`
removed an unnecessary debugging statement
added .git to make builds cache more effectively and run faster
switched to much smaller alpine image since golang not required at runtime
Updated Dockerfile to produce smaller image with minimum content and a few extra features; added .dockerignore
Minimal changes, definitely WIP, to resolve:
- how to support dualstack when not using localhost?
- net/http package uses string, mentions IP address instead of bind,
need info.
* upstream/master:
Work as a standalone server, including TLS
Include About/Privacy page content in page description
Show instance stats on About page
Change default database name to writefreely
Use and validate database type before connecting
Mention Contributing Guide in README
Add AUTHORS.md
Fix About page link in Admin dash
Include version in archives made by `make release`
Remove keys.sh from make release
Add make release
This supports running the server on port 443, serving secure pages, with
automatic redirects from the insecure site. It also modifies the
configuration process to better guide users through configuring for
running behind a reverse proxy or as a standalone server.
This closes T537
This is a first stab at having a configurable code highlighting option,
similar to the MathJax rendering option. This change makes a checkbox
in the settings for code highlighting using the highlightjs.org
library.
What works: code highlighting in multi-user env is like I would
expect. single and anon(?) needs work
Things to resolve/consider:
- does the .IsCode test for code highlighting need to stay? At least
this and that should use the same version of the highlight.js lib.
- can the common templating part be 'included' somehow?
- the anon vs single-user vs multi-user code is not completely
clear (to me)
- bring js to local instead of cloudfare cdn (perhaps combine with
MathJax)