Benoit Benedetti
5d32af8a6b
Fix typo in loadConfigs comment
2015-09-08 22:38:30 +02:00
Benoit Benedetti
ed10863494
Configuration as command line arg #222
2015-09-08 22:27:05 +02:00
Matthew Holt
4e1717db4c
basicauth: htpasswd path now relative to site root
2015-09-05 16:04:30 -06:00
Matt Holt
159b68aab4
Merge pull request #228 from tgulacsi/htpasswd
...
basicauth: Add htpasswd support
2015-09-05 14:56:23 -06:00
Matt Holt
d76cf6d337
Merge pull request #230 from evermax/master
...
log, errors: Use localtime for the log roller timestamp
2015-09-04 11:27:23 -06:00
Maxime
69950e57f0
Use localtime for the log roller timestamp
2015-09-04 19:18:01 +02:00
Matt Holt
d44ab3dbab
Merge pull request #229 from LK4D4/fix_format
...
Fix formatting directives in tests
2015-09-04 10:07:30 -06:00
Alexander Morozov
b199825c3b
Fix formatting directives in tests
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-09-04 08:34:58 -07:00
Matthew Holt
94becb89f6
Add Go 1.5 to the Travis CI manifest
2015-09-02 18:28:03 -06:00
Matt Holt
1f4231e1f0
Merge pull request #216 from evermax/master
...
log, errors: Added lumberjack library for log rolling
2015-09-02 17:44:10 -06:00
Maxime
bdcbd11d65
Merge branch 'master' of https://github.com/mholt/caddy
2015-09-02 15:16:06 +02:00
Maxime
008160998a
Added LogRoller parser and entity.
...
The errors and logs can now have log rolling if provided by the user.
The current customisable parameter of it are:
The maximal size of the file before rolling.
The maximal age/time of the file before rolling.
The number of backups to keep.
2015-09-02 15:13:31 +02:00
Matt Holt
1cafb1eea5
Merge pull request #226 from Karthic-Hackintosh/master
...
browse: Initial test for json response in browse.go
2015-08-31 21:34:54 -06:00
Tamás Gulácsi
392f1d70eb
Add htpasswd support for basic auth
...
If the password arg starts with htpasswd=, then the rest is treated as
the file name of the htpasswd file, and used for md5 and sha1 hashes.
2015-08-30 20:08:42 +02:00
Matthew Holt
d79d2611ca
Mention setcap in readme so it's more prominent
2015-08-30 10:55:30 -06:00
karthic rao
e3cea042d6
Left over comments removed
...
Redundant comments in the code removed
2015-08-30 19:00:35 +05:30
Karthic Rao
730269743f
Json response initial test for browse.go
2015-08-29 08:04:01 +05:30
Matt Holt
bfc61824b9
Merge pull request #225 from Karthic-Hackintosh/master
...
middleware: Initial test for replacer
2015-08-27 15:01:45 -06:00
Karthic Rao
444f9e40d5
initial test for replacer
2015-08-27 23:36:32 +05:30
Matt Holt
c5006321a7
Merge pull request #224 from pyed/patch-2
...
Fixing comment
2015-08-27 10:13:38 -06:00
pyed
b9d3e7721e
Fixing my comment
...
the old comment might throw the source-reader off, my bad.
2015-08-27 18:01:46 +03:00
Matt Holt
49a229835a
Merge pull request #220 from pyed/json
...
browse: Optional JSON output
2015-08-27 08:48:44 -06:00
Abdulelah Alfuntukh
414b47d653
adds json option for the browse middleware
2015-08-24 23:37:11 +03:00
Abiola Ibrahim
b62d087bb6
Merge pull request #218 from Karthic-Hackintosh/master
...
Complete test coverage for recorder.go of middleware package
2015-08-14 07:23:27 +01:00
Karthic Rao
4704625e3a
Complete test coverage for middleware/recorder.go
2015-08-14 09:59:22 +05:30
Karthic Rao
53c4797606
Initial setup of test for recorder.go of middleware package
2015-08-11 22:02:13 +05:30
Matthew Holt
60b6c0c03d
Add link to joshix/caddy in readme
2015-08-10 16:33:36 -06:00
Matt Holt
5f3ef9c0da
Merge pull request #215 from Karthic-Hackintosh/master
...
Initial test for middleware/middleware.go
2015-08-10 07:26:56 -06:00
Maxime
bb5a322ce2
Added lumberjack library for log rolling
2015-08-08 16:13:10 +02:00
Karthic Rao
bb072faeee
Initial test for middleware/middleware.go
2015-08-08 00:56:59 +05:30
Matthew Holt
a2be7b4548
Bumped version to 0.7.5
2015-08-05 13:26:12 -06:00
Matthew Holt
7796ff0f69
core: Disable TLS for http sites (again)
...
Fixes bug introduced in 0ac8bf5
- Also note that setup functions no longer have access to server port. Will need to fix later.
2015-08-05 11:33:51 -06:00
Matt Holt
afd6b7ea27
Merge pull request #210 from evermax/master
...
log, errors: Support system log (except Windows)
Specify log file of 'syslog' to output to system log
2015-08-05 10:25:49 -06:00
Matthew Holt
b62de4c521
New template action NowDate to get the time.Time of Now()
2015-08-05 08:27:13 -06:00
Matthew Holt
2e8a74ecff
markdown: Prefix log messages, and slight refactor
...
Also change sha1 to md5 for the directory scans; slightly faster.
2015-08-05 08:15:52 -06:00
Matthew Holt
e94e90b046
Add new docker link, DO link, and enhanced comment
2015-08-05 07:37:51 -06:00
Matthew Holt
7173764d6d
markdown: Render lists as part of summary (upstream bug workaround)
...
See github.com/russross/blackfriday/issues/189
2015-08-05 07:37:51 -06:00
Matthew Holt
e4643f048a
core: Bind all listeners to wildcard host by default ( closes #208 )
...
This behavior can still be overridden by bind directive
2015-08-05 07:37:51 -06:00
Matt Holt
236c8c4eaf
Merge pull request #214 from abiosoft/master
...
markdown: generate static sites after links
2015-08-05 07:24:56 -06:00
Abiola Ibrahim
3b910645e7
Markdown: generate static sites after links.
2015-08-05 09:55:04 +01:00
Matt Holt
9669363504
Merge pull request #213 from abiosoft/master
...
markdown: Watch for file changes for links. Removed sitegen requirement for link index.
2015-08-04 18:06:37 -06:00
Abiola Ibrahim
b5d79bdccc
Markdown: Removed unused constant.
2015-08-05 01:01:57 +01:00
Abiola Ibrahim
1d3d705aae
Markdown: Rename 'development' to 'dev' in config.
2015-08-05 00:49:42 +01:00
Abiola Ibrahim
2ab466599d
Markdown: Modify development mode to generate links on page requests.
2015-08-05 00:41:04 +01:00
Abiola Ibrahim
851026d3fa
Markdown: Watch for file changes. Removed sitegen dependency for links.
2015-08-04 23:35:09 +01:00
Matthew Holt
32da2ed706
Updated change log
2015-08-03 17:51:33 -06:00
Matthew Holt
d8c50264cc
Fix parser when address is empty token
...
Bug detected by go-fuzz (more fuzzing is required; need larger corpus)
2015-08-03 17:31:10 -06:00
Matthew Holt
8d81ae88da
fastcgi: Add HTTPS env variable on HTTPS connections
2015-08-03 17:16:24 -06:00
Maxime
f1f1eb040a
Changed the facility of syslog to be LOCAL0
2015-08-03 12:00:17 +02:00
Matthew Holt
36fa6e857b
markdown: Sitegen only occurs if directory exists
...
We do this by returning an error and stopping link generation (which scans the markdown path for files)
2015-08-01 16:09:10 -06:00