Commit Graph

19 Commits

Author SHA1 Message Date
Brian Gough
23fec68111 use a separate function for hidden file check 2017-09-26 11:03:20 +01:00
Brian Gough
dbeff9a7b8 exclude hidden files from output
express static server doesn't serve them and rejects with 404
2017-09-26 10:42:59 +01:00
Brian Gough
a1613eac5a add setting to avoid optimisations outside docker 2017-04-10 16:12:03 +01:00
Brian Gough
9e53c0b99e fix exception in error log 2016-10-14 10:23:13 +01:00
Brian Gough
d29416fc77 keep one extra build until per-page pdf serving is enabled 2016-06-29 16:31:16 +01:00
Brian Gough
c486d6c215 only keep a single cached output directory in per-user containers 2016-06-28 09:28:40 +01:00
Brian Gough
434e00cb74 make the build id a secure random token
we allow existing build ids to work for backwards compatibility
this can be removed after some time
2016-05-13 10:11:35 +01:00
Brian Gough
558e9ae22b don't log errors when files have disappeared from build directory 2016-04-07 16:16:39 +01:00
James Allen
fbb00ebf2f Only archive main log and blg 2016-03-30 14:10:07 +01:00
James Allen
6af22cf184 Add in flags to run strace and capture logs 2016-03-30 10:37:22 +01:00
Henry Oswald
0ea28710f5 fixed missing value in logger 2015-12-15 19:33:37 +00:00
Brian Gough
7551bc3135 reduce cache limit for pdfs 2015-03-02 11:31:48 +00:00
Brian Gough
75ef0d6581 skip cache directory error when empty 2015-03-02 09:58:20 +00:00
Brian Gough
37cc9f3715 provide a static server which forbids symlinks
prevents mismatch between rootdir of server and rootdir of symlink
checking middleware
2015-02-27 13:57:57 +00:00
Brian Gough
198e1ef492 cleanup and logging 2015-02-27 13:15:35 +00:00
Brian Gough
280d64cf60 remove debugging code 2015-02-26 15:32:01 +00:00
Brian Gough
151ea99639 accept build id parameter when serving static files 2015-02-25 17:05:19 +00:00
Brian Gough
163a33674b add an optimisation pass for the cached output files 2015-02-24 15:48:34 +00:00
Brian Gough
1923352e66 save output files in a .cache directory 2015-02-24 14:40:05 +00:00