Commit Graph
39 Commits
Author SHA1 Message Date
sashakoshka 48e8c2d4f0 cmd/stepd: Don't copy lock value 2025-07-07 07:53:01 -04:00
sashakoshka c6228037cb cmd/stepd: Better error logging 2024-12-27 01:00:10 -05:00
sashakoshka 8dbe5df492 cmd/stepd: Fix format string in println 2024-12-18 10:57:55 -05:00
sashakoshka 1e7b26f776 http: Handler configures self 2024-12-15 18:11:27 -05:00
sashakoshka 9e3955f92f cmd/stepd: Initialize initializers 2024-12-13 13:05:15 -05:00
sashakoshka 60c52ee4ce cmd/stepd: Be able to trim multiple things 2024-12-12 18:12:22 -05:00
sashakoshka df7c49247b Create Trimmer interface 2024-12-12 18:12:22 -05:00
sashakoshka 67d4f8a10a Add support for HTTP rate limiting
Closes #16
2024-12-12 03:10:30 -05:00
sashakoshka 0f3c563dbf cmd/stepd: Set up logging after dropping privelege
This has to be done because we can't just create a log file as
root and not be able to open it later
2024-12-11 03:13:07 -05:00
sashakoshka ce6c5b6285 cmd/stepd: Surpress some go vet warnings 2024-12-11 02:50:20 -05:00
sashakoshka f8b739ac4d cmd/step: Fix calls to template parsing/loading functions 2024-12-11 02:43:46 -05:00
sashakoshka f8bbf7f3fc cmd/stepd: Add privelege dropping 2024-12-11 02:00:24 -05:00
sashakoshka d24cf1cdc1 cmd/stepd: Remove periods in help text 2024-12-11 01:04:51 -05:00
sashakoshka bf668b0cf7 Things I did while unable to commit
- Log rotation
- Execution cancellation
- HTTP redirect, error functions
- Changed naming of document parsing/loading functions
2024-12-10 20:37:40 -05:00
sashakoshka f112a2e564 Plugins work now oughghgghughgghg 2024-12-10 15:51:34 -05:00
sashakoshka c2ccaff8ab Progress on plugin loading 2024-12-10 14:03:02 -05:00
sashakoshka 4c3f0056fd cmd/stepd: Load plugins from STEP_PLUGIN_PATH 2024-12-10 13:25:32 -05:00
sashakoshka 9a6607494f cmd/stepd: List all loaded providers on startup 2024-12-10 12:53:15 -05:00
sashakoshka 4a1b78b857 cmd/stepd: Fix pid file being spawned even if not specified 2024-12-10 02:58:50 -05:00
sashakoshka 666a9b0c77 cmd/step: Fix setting providers 2024-12-10 02:53:54 -05:00
sashakoshka dc378008d6 cmd/stepd: Add config key and arguments for the directory document 2024-12-10 02:12:14 -05:00
sashakoshka 68c8deb269 cmd/stepd: Automatically forbid the configuration file 2024-12-10 00:39:25 -05:00
sashakoshka 11e8e7460a cmd/stepd: Configuration file is read and used for the HTTP server
Closes #7
2024-12-10 00:29:33 -05:00
sashakoshka 433a112875 Add Provider interface 2024-12-09 22:57:59 -05:00
sashakoshka 04149fe218 cmd/stepd: PID file is properly removed now 2024-12-08 20:22:35 -05:00
sashakoshka e79417ec9d cmd/stepd: Add periods in the help text 2024-12-08 20:05:04 -05:00
sashakoshka b6cd237ed3 cmd/stepd: Serve a named directory
Closes #8
2024-12-08 20:02:28 -05:00
sashakoshka d06b03bbfe cmd/stepd: Write PID file
Closes #9
2024-12-08 19:45:14 -05:00
sashakoshka bc08186d30 cmd/stepd: Include error document flag 2024-12-07 13:07:44 -05:00
sashakoshka 006a311aeb cmd/stepd: Add ability to specify error document 2024-12-07 03:11:12 -05:00
sashakoshka 7c9e1a429e Move handler out of cmd and into separate pacakge 2024-12-07 02:27:34 -05:00
sashakoshka 1b3c1d3585 cmd/stepd: Fix goofy mistakes 2024-12-07 01:41:05 -05:00
sashakoshka 243659e9ee cmd/stepd: Resetting makes a bit more sense now 2024-12-07 01:20:11 -05:00
sashakoshka 60f1b62965 cmd/stepd: Buffer templates 2024-12-07 00:59:20 -05:00
sashakoshka ed1cdf4e89 cmd/stepd: Get content-type information from front matter 2024-12-06 02:01:10 -05:00
sashakoshka 5e7d279ee1 cmd/stepd: Pass HTTPData to document 2024-12-06 00:15:08 -05:00
sashakoshka abf3fc3ae3 Documents can now specify a content-type 2024-12-05 14:54:26 -05:00
sashakoshka 0da05d465e cmd/stepd: Better error logging 2024-12-05 14:20:16 -05:00
sashakoshka 91e72ac49e Initial commit 2024-12-05 13:15:22 -05:00