Commit Graph

69 Commits

Author SHA1 Message Date
37022e051a Rename front matter errors to meta errors 2024-12-09 11:56:20 -05:00
847eff17b9 Split ParseMeta out of SplitMeta 2024-12-09 11:54:53 -05:00
88c5ef2922 Rename frontmatter.go files to meta.go equivalents 2024-12-09 02:23:06 -05:00
67480bb974 Rename FrontMatter to Meta 2024-12-09 02:22:37 -05:00
c618d7bc5e Add .editorconfig 2024-12-08 20:24:19 -05:00
a12377b7d6 Ignore stepd.pid 2024-12-08 20:23:50 -05:00
04149fe218 cmd/stepd: PID file is properly removed now 2024-12-08 20:22:35 -05:00
e79417ec9d cmd/stepd: Add periods in the help text 2024-12-08 20:05:04 -05:00
b6cd237ed3 cmd/stepd: Serve a named directory
Closes #8
2024-12-08 20:02:28 -05:00
d06b03bbfe cmd/stepd: Write PID file
Closes #9
2024-12-08 19:45:14 -05:00
deb3d7e935 providers/slice: Make the slice functions way better 2024-12-08 19:20:18 -05:00
947cbc1440 Add type mismatch error 2024-12-08 16:12:54 -05:00
860d083c11 providers/mime: use Document.Rel 2024-12-08 03:28:57 -05:00
52b8b5a347 providers/import: use Document.Rel 2024-12-08 03:28:48 -05:00
25541dadfe providers/os: use Document.Rel 2024-12-08 03:28:33 -05:00
cc13abd8f8 Documents now make use of relative paths to parse parent documents 2024-12-08 02:57:49 -05:00
f1fccdc2ae Add ParseRelative to Environment 2024-12-08 02:51:13 -05:00
3c9f91a2c9 Add Abs method on Document 2024-12-08 02:51:01 -05:00
17b6253211 Add Abs method to Document 2024-12-08 02:18:14 -05:00
efb1f455c9 http: Wrap the recorder instead of the actual response writer 2024-12-08 01:55:02 -05:00
6f635825a9 http: Make methods of .Data.Res actually work 2024-12-08 01:50:15 -05:00
3c9eb01790 providers/os: Add appendFile 2024-12-08 01:30:00 -05:00
889850c04c Move all http stuff into the http package 2024-12-08 01:01:10 -05:00
6f04353512 providers/import: Add panic function 2024-12-08 01:00:50 -05:00
b654829428 providers: Add mime provider 2024-12-08 00:08:38 -05:00
d76374719d providers: Add slice functions provider 2024-12-07 22:18:45 -05:00
7f64686323 providers/os: isFile, isDir no longer return errors, just false 2024-12-07 21:51:57 -05:00
0d456b7508 providers/os: Change name of fileExists to exists 2024-12-07 21:50:53 -05:00
891e4dc140 Fix bugs surrounding adding funcs to a template 2024-12-07 21:47:36 -05:00
5e3421a0a7 providers/path: Add functions to check if a file is hidden 2024-12-07 21:47:11 -05:00
b7952cf8eb providers/os: Add functions to check if something is a dir or file 2024-12-07 21:46:43 -05:00
b66b64a327 Make frontmatter splitting work with CRLF files 2024-12-07 16:25:34 -05:00
bc08186d30 cmd/stepd: Include error document flag 2024-12-07 13:07:44 -05:00
5c9168c9b0 providers/http: Include status text in func map 2024-12-07 13:07:26 -05:00
d67738b29a assets: Add icon 2024-12-07 13:07:02 -05:00
a2edaf30e1 Add some TODOs 2024-12-07 03:13:58 -05:00
006a311aeb cmd/stepd: Add ability to specify error document 2024-12-07 03:11:12 -05:00
a7b360cc09 http: Error template documents are supported 2024-12-07 03:10:45 -05:00
62885b2e37 http: Handler now uses redirects to ensure dirs end on a / 2024-12-07 02:34:40 -05:00
7c9e1a429e Move handler out of cmd and into separate pacakge 2024-12-07 02:27:34 -05:00
e7e31f0e60 providers: Add path functions to supplement sprig's 2024-12-07 02:13:06 -05:00
30323c0d59 providers/import: Add execute function that returns ExecutionResult 2024-12-07 01:57:53 -05:00
1b3c1d3585 cmd/stepd: Fix goofy mistakes 2024-12-07 01:41:05 -05:00
561e72427f Fix HTTPResponseRecorder playing back a zero status code 2024-12-07 01:40:35 -05:00
e292c9fbb2 FuncProviderFor now implies FuncProvider 2024-12-07 01:36:06 -05:00
17bb6a383b providers: Add import/include provider 2024-12-07 01:35:44 -05:00
e6415a250b Add method to Document to get the current environment 2024-12-07 01:29:33 -05:00
243659e9ee cmd/stepd: Resetting makes a bit more sense now 2024-12-07 01:20:11 -05:00
60f1b62965 cmd/stepd: Buffer templates 2024-12-07 00:59:20 -05:00
c85bd09ac5 Make HTTPResponseRecorder more useful 2024-12-07 00:53:39 -05:00