Commit Graph

25 Commits

Author SHA1 Message Date
60c52ee4ce cmd/stepd: Be able to trim multiple things 2024-12-12 18:12:22 -05:00
df7c49247b Create Trimmer interface 2024-12-12 18:12:22 -05:00
67d4f8a10a Add support for HTTP rate limiting
Closes #16
2024-12-12 03:10:30 -05:00
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
ce6c5b6285 cmd/stepd: Surpress some go vet warnings 2024-12-11 02:50:20 -05:00
f8bbf7f3fc cmd/stepd: Add privelege dropping 2024-12-11 02:00:24 -05:00
d24cf1cdc1 cmd/stepd: Remove periods in help text 2024-12-11 01:04:51 -05:00
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
f112a2e564 Plugins work now oughghgghughgghg 2024-12-10 15:51:34 -05:00
c2ccaff8ab Progress on plugin loading 2024-12-10 14:03:02 -05:00
4c3f0056fd cmd/stepd: Load plugins from STEP_PLUGIN_PATH 2024-12-10 13:25:32 -05:00
9a6607494f cmd/stepd: List all loaded providers on startup 2024-12-10 12:53:15 -05:00
4a1b78b857 cmd/stepd: Fix pid file being spawned even if not specified 2024-12-10 02:58:50 -05:00
dc378008d6 cmd/stepd: Add config key and arguments for the directory document 2024-12-10 02:12:14 -05:00
68c8deb269 cmd/stepd: Automatically forbid the configuration file 2024-12-10 00:39:25 -05:00
11e8e7460a cmd/stepd: Configuration file is read and used for the HTTP server
Closes #7
2024-12-10 00:29:33 -05:00
433a112875 Add Provider interface 2024-12-09 22:57:59 -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
bc08186d30 cmd/stepd: Include error document flag 2024-12-07 13:07:44 -05:00
006a311aeb cmd/stepd: Add ability to specify error document 2024-12-07 03:11:12 -05:00
7c9e1a429e Move handler out of cmd and into separate pacakge 2024-12-07 02:27:34 -05:00
91e72ac49e Initial commit 2024-12-05 13:15:22 -05:00