Ben Overmyer
6cb86214d7
SQLite support added.
2018-12-01 12:07:25 -06:00
Matt Baer
c60c61c5b8
Add link to AUR package
2018-12-01 10:13:45 -05:00
Marcel van der Boom
3b4d14f194
Only push language uri once on load stack
2018-11-29 17:36:50 +01:00
Marcel van der Boom
b034a08350
Merge remote-tracking branch 'upstream/master' into codehighlight
...
* 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
2018-11-29 16:30:31 +01:00
Marcel van der Boom
c6e4967728
Add support for all languages
...
- dynamically construct a list of languages to load
- fire hightlighting once last file has loaded
2018-11-29 16:25:53 +01:00
Matt Baer
fb18b8f6e3
Merge pull request #38 from mrvdb/bindaddress
...
Allow 'bind' in config to specify bind address
2018-11-27 13:58:17 -05:00
Matt Baer
fe78d6d47f
Re-add https in log message
2018-11-27 10:55:43 -05:00
Ben Overmyer
dd5f6870d8
Add SQLite option for database.
2018-11-26 14:11:10 -06:00
Marcel van der Boom
875c758ba2
Also use bind address on standalone redirect
2018-11-26 18:34:09 +01:00
Marcel van der Boom
543f6c9ae3
Allow 'bind' in config to specify bind address
...
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.
2018-11-26 16:50:36 +01:00
Matt Baer
94badbc838
Only log ActivityPub info when debugging
2018-11-26 08:39:15 -05:00
Matt Baer
42a47258da
Bump version to 0.4
2018-11-26 08:37:36 -05:00
Matt Baer
f0250d501f
Move softwareVer to var() block
2018-11-26 08:37:06 -05:00
Matt Baer
6ed9fef88f
Add @koehn to AUTHORS
2018-11-24 18:43:33 -05:00
Matt Baer
223e385048
Merge pull request #36 from writeas/docker-release
...
added docker support to `make release`
2018-11-24 14:22:52 -05:00
Matt Baer
7bbc1b4b47
Add make release-docker
2018-11-24 14:18:11 -05:00
Matt Baer
402f66770e
Move docker build to make build-docker
2018-11-24 14:11:39 -05:00
koehn
695bc79696
extracted docker command a la go
and make
2018-11-24 17:57:01 +00:00
koehn
50a6a1ee40
added docker support to make release
2018-11-24 17:49:52 +00:00
Matt Baer
bdcacbc632
Merge pull request #34 from koehn/master
...
Updated Dockerfile
2018-11-24 11:01:02 -05:00
Matt Baer
cf784388f0
Merge pull request #31 from mrvdb/codehighlight
...
Add code highlighting
2018-11-23 13:23:50 -05:00
Matt Baer
3dd6e34914
Fix whitespace in templates
2018-11-23 12:42:30 -05:00
Matt Baer
2b5e869916
Rename render.tmpl to post-render.tmpl
2018-11-23 12:37:59 -05:00
Matt Baer
03c36af2f9
Optimize template loading on non-post pages
...
Avoids loading render.tmpl where it isn't needed.
2018-11-23 12:37:59 -05:00
Matt Baer
246a6dc554
Fix whitespace in highlight JS
2018-11-23 12:37:59 -05:00
Marcel van der Boom
a54f5fc9d8
Fix typos
2018-11-22 16:03:44 +01:00
Marcel van der Boom
d63db27917
Merge remote-tracking branch 'upstream/master' into codehighlight
...
* 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
2018-11-22 15:09:58 +01:00
Marcel van der Boom
e400fe1649
Only load highlght css when needed
2018-11-22 15:01:11 +01:00
Marcel van der Boom
add06ee56c
Only load js when there are blocks to highlight
...
Crux was the load event for the script tag inserted.
2018-11-22 14:31:25 +01:00
Brad Koehn
6f0c7aed66
removed an unnecessary debugging statement
2018-11-22 06:57:05 -06:00
Brad Koehn
aebad1ce54
added .git to make builds cache more effectively and run faster
2018-11-22 06:56:29 -06:00
Matt Baer
09f5953431
Work as a standalone server, including TLS
...
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
2018-11-21 18:26:19 -05:00
Matt Baer
77e79acd06
Include About/Privacy page content in page description
2018-11-21 15:04:47 -05:00
Matt Baer
be2c7ef86b
Show instance stats on About page
...
This also moves the stats database logic out of nodeinfo.go and into
database.go.
2018-11-21 14:08:47 -05:00
Brad Koehn
f2a07db23a
switched to much smaller alpine image since golang not required at runtime
2018-11-21 12:51:37 -06:00
Matt Baer
b9d7d4ce24
Change default database name to writefreely
...
(not writeas)
2018-11-21 13:36:00 -05:00
Matt Baer
f3df2b4159
Use and validate database type before connecting
...
Just the start of changes needed for T529.
2018-11-21 13:10:10 -05:00
Matt Baer
82e45ef5ae
Mention Contributing Guide in README
2018-11-21 11:54:01 -05:00
Matt Baer
4c7969d808
Add AUTHORS.md
2018-11-21 11:46:23 -05:00
Brad Koehn
5039853edc
Updated Dockerfile to produce smaller image with minimum content and a few extra features; added .dockerignore
2018-11-21 10:38:56 -06:00
Matt Baer
8a5811e3e9
Fix About page link in Admin dash
2018-11-21 11:12:44 -05:00
Matt Baer
bf5ed00484
Include version in archives made by make release
2018-11-20 18:35:52 -05:00
Matt Baer
1b57ea6f37
Merge branch 'master' of github.com:writeas/writefreely
2018-11-20 16:36:52 -05:00
Marcel van der Boom
8144c9581d
Use the samen render common template for user pages
2018-11-20 22:11:53 +01:00
Marcel van der Boom
7181fd9d9e
Remove code for CodeHighlighting UI
...
We load it always, no need for a user config UI
2018-11-20 22:11:09 +01:00
Marcel van der Boom
a659acdc14
Bring all MathJax logic into one common template
...
Might as well do this right away, we're here anyway.
2018-11-20 22:01:25 +01:00
Marcel van der Boom
a82882fddc
Put the highlight logic into one common template
...
It now loads unconditionally and highlights all code blocks.
TODO: optimize to not load when there are no blocks
2018-11-20 21:51:39 +01:00
Marcel van der Boom
03ac402c37
Use the same highlightjs library everywhere
2018-11-20 18:37:56 +01:00
Marcel van der Boom
ed3ea37537
Merge branch 'master' into codehighlight
...
* master:
Don't automatically include "v" from git
Get versioninfo from the git repository
2018-11-20 18:24:36 +01:00
Matt Baer
a4751c7abf
Merge pull request #32 from mrvdb/versioninfo
...
Get versioninfo from the git repository
2018-11-20 12:18:18 -05:00