Commit Graph

143 Commits

Author SHA1 Message Date
8142e520f5 Update goutil 2024-12-13 18:07:51 -05:00
a592426c46 providers/log: Stop pretending to be providers/mime 2024-12-13 13:44:52 -05:00
60309a14a0 Add double close error 2024-12-13 13:30:50 -05:00
9e3955f92f cmd/stepd: Initialize initializers 2024-12-13 13:05:15 -05:00
32fd1ebfd6 Add Initializer interface 2024-12-13 13:05:02 -05:00
8c0f78a3f7 Add error for impossible situations 2024-12-13 13:04:22 -05:00
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
424eebde84 Relicense under AGPL 2024-12-12 15:16:36 -05:00
881c2ba7d6 providers/mime: Why was that const there? lollll 2024-12-12 14:00:48 -05:00
ff1e73ce6d Add logging provider 2024-12-12 12:38:06 -05:00
695e94ef3e providers/os: Fix file mode!!!! Oh my god!!!! 2024-12-12 12:06:06 -05:00
afe6d6689f Fix badge on README 2024-12-12 03:32:46 -05:00
726cd5b059 Make README.md nicer 2024-12-12 03:31:39 -05:00
da7b3ad950 Add comments to metadata
Closes # 17
2024-12-12 03:13:14 -05:00
67d4f8a10a Add support for HTTP rate limiting
Closes #16
2024-12-12 03:10:30 -05:00
e8a9435a1b Update go-cli 2024-12-12 01:21:36 -05:00
ebe4c80400 openrc: Make the init script more basic 2024-12-12 01:10:57 -05:00
77afd0dcd1 Add install target for openrc init script 2024-12-12 01:10:35 -05:00
8a92a24536 providers: Update all.go 2024-12-12 00:27:55 -05:00
58c9266dd6 providers/import: Reading the config actually works now 2024-12-12 00:27:34 -05:00
876c7d1a1b providers/validate: Add more functions 2024-12-12 00:27:13 -05:00
a7e8c337db providers/strings: Add string functions provider 2024-12-12 00:26:22 -05:00
99e244fa92 providers: Add validation functions 2024-12-11 21:44:34 -05:00
588061e3e0 providers/slice: Remove because sprig has lists 2024-12-11 20:57:59 -05:00
ad8a2a7c25 providers/import: Remove panic function, because sprig has fail 2024-12-11 20:56:09 -05:00
461abe6cf4 providers/import: Add ability for templates to read step.meta 2024-12-11 20:40:23 -05:00
06c788d997 Improve www-template 2024-12-11 12:23:58 -05:00
9aa1695d53 Add www examples
Closes #10
2024-12-11 03:35:53 -05:00
b41540e091 openrc: Tell stepd to write logs 2024-12-11 03:17:40 -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
728d50f6b5 openrc: Make init script executable 2024-12-11 02:59:04 -05:00
45b8eb2a26 Fix install target 2024-12-11 02:54:46 -05:00
7e708f84f1 Never mind, maybe root shouldn't be building things 2024-12-11 02:53:23 -05:00
ce6c5b6285 cmd/stepd: Surpress some go vet warnings 2024-12-11 02:50:20 -05:00
f8b739ac4d cmd/step: Fix calls to template parsing/loading functions 2024-12-11 02:43:46 -05:00
09fa576873 Make check target work 2024-12-11 02:42:14 -05:00
5ba3dfd26f Improved Makefile install target 2024-12-11 02:41:06 -05:00
b865dd251c Improve Makefile 2024-12-11 02:32:08 -05:00
cbc31b64a8 Add Makefile 2024-12-11 02:28:24 -05:00
0a040cad92 Ignore build directory 2024-12-11 02:28:15 -05:00
c48e67e022 openrc: Add untested init script 2024-12-11 02:00:52 -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
32d10ef7c6 providers/http: Remove unnecessary FIXME 2024-12-10 22:07:30 -05:00
79ac18c8c3 providers/http: Make redirect function better 2024-12-10 21:32:50 -05:00
efc3fc0990 http: Add an HTTP redirect senteniel error 2024-12-10 21:32:12 -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