Commit Graph

34 Commits

Author SHA1 Message Date
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
af6c705d8c Add HTTPResponseRecorder 2024-12-07 00:46:24 -05:00
ed1cdf4e89 cmd/stepd: Get content-type information from front matter 2024-12-06 02:01:10 -05:00
5b88d13052 Export Document.FrontMatter 2024-12-06 02:00:08 -05:00
ceff4d1205 Remove ContentType from Document 2024-12-06 01:49:41 -05:00
489e6a8425 providers: Rename url provider to http 2024-12-06 01:12:09 -05:00
90183a2759 providers/url: Add ability to parse POST form data 2024-12-06 01:10:29 -05:00
5e7d279ee1 cmd/stepd: Pass HTTPData to document 2024-12-06 00:15:08 -05:00
a46cecd5b3 Add HTTPData struct 2024-12-06 00:14:55 -05:00
c6b5fd7eeb providers: Add provider for URL functions 2024-12-06 00:14:30 -05:00
541f2f0620 providers/os: Add ability to read environment variables 2024-12-05 22:22:25 -05:00
68200e66d6 providers/markdown: Separate HTML and non-HTML markdown parsing 2024-12-05 21:53:06 -05:00
018749101a providers: Use default markdown provider 2024-12-05 21:31:08 -05:00
44f3be2c4f providers/markdown: Create a default markdown provider 2024-12-05 21:29:37 -05:00
adc39a8a4f Ignore STEP files at the repository root 2024-12-05 18:36:35 -05:00
abf3fc3ae3 Documents can now specify a content-type 2024-12-05 14:54:26 -05:00
b395963709 Add markdown support 2024-12-05 14:20:37 -05:00
0da05d465e cmd/stepd: Better error logging 2024-12-05 14:20:16 -05:00
ffb0eb894a providers/os: Add file statting 2024-12-05 13:23:25 -05:00
91e72ac49e Initial commit 2024-12-05 13:15:22 -05:00