Commit Graph
155 Commits
Author SHA1 Message Date
sashakoshka ee0bb7e54b http: Should have been in the last commit 2024-12-15 19:21:26 -05:00
sashakoshka 1e7b26f776 http: Handler configures self 2024-12-15 18:11:27 -05:00
sashakoshka 303adcd02a http: Actually write the status on error pages LOL 2024-12-14 16:29:44 -05:00
sashakoshka 95e60f477a Fix handling of forwarded requests 2024-12-14 16:17:57 -05:00
sashakoshka f9fb355c8c providers/os: Add listFiles function that works like the caddy one 2024-12-14 03:02:51 -05:00
sashakoshka fa8e359ec0 providers/session: Remove some debug messages 2024-12-14 02:39:52 -05:00
sashakoshka 3118f2bcee providers/log: Fix formatting of log messages 2024-12-14 02:38:34 -05:00
sashakoshka 1ec27f18cc providers: Add crypto provider with bcrypt comparison 2024-12-14 02:21:43 -05:00
sashakoshka 3cc005bece providers/session: Fully-working session system 2024-12-14 01:06:43 -05:00
sashakoshka 9858fc4f17 http: Fix remoteAddr 2024-12-14 01:06:13 -05:00
sashakoshka 5e3dfacc80 providers: Incomplete session support
Interestingly, attempting to compile and run ./cmd/stepd crashes
the Go compiler (Chimera, v1.23.3). Unknown line number, nil panic.
2024-12-13 22:11:24 -05:00
sashakoshka 5124e6f8f7 http: Add UnderlyingResponseWriter function 2024-12-13 21:18:29 -05:00
sashakoshka 8142e520f5 Update goutil 2024-12-13 18:07:51 -05:00
sashakoshka a592426c46 providers/log: Stop pretending to be providers/mime 2024-12-13 13:44:52 -05:00
sashakoshka 60309a14a0 Add double close error 2024-12-13 13:30:50 -05:00
sashakoshka 9e3955f92f cmd/stepd: Initialize initializers 2024-12-13 13:05:15 -05:00
sashakoshka 32fd1ebfd6 Add Initializer interface 2024-12-13 13:05:02 -05:00
sashakoshka 8c0f78a3f7 Add error for impossible situations 2024-12-13 13:04:22 -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 424eebde84 Relicense under AGPL 2024-12-12 15:16:36 -05:00
sashakoshka 881c2ba7d6 providers/mime: Why was that const there? lollll 2024-12-12 14:00:48 -05:00
sashakoshka ff1e73ce6d Add logging provider 2024-12-12 12:38:06 -05:00
sashakoshka 695e94ef3e providers/os: Fix file mode!!!! Oh my god!!!! 2024-12-12 12:06:06 -05:00
sashakoshka afe6d6689f Fix badge on README 2024-12-12 03:32:46 -05:00
sashakoshka 726cd5b059 Make README.md nicer 2024-12-12 03:31:39 -05:00
sashakoshka da7b3ad950 Add comments to metadata
Closes # 17
2024-12-12 03:13:14 -05:00
sashakoshka 67d4f8a10a Add support for HTTP rate limiting
Closes #16
2024-12-12 03:10:30 -05:00
sashakoshka e8a9435a1b Update go-cli 2024-12-12 01:21:36 -05:00
sashakoshka ebe4c80400 openrc: Make the init script more basic 2024-12-12 01:10:57 -05:00
sashakoshka 77afd0dcd1 Add install target for openrc init script 2024-12-12 01:10:35 -05:00
sashakoshka 8a92a24536 providers: Update all.go 2024-12-12 00:27:55 -05:00
sashakoshka 58c9266dd6 providers/import: Reading the config actually works now 2024-12-12 00:27:34 -05:00
sashakoshka 876c7d1a1b providers/validate: Add more functions 2024-12-12 00:27:13 -05:00
sashakoshka a7e8c337db providers/strings: Add string functions provider 2024-12-12 00:26:22 -05:00
sashakoshka 99e244fa92 providers: Add validation functions 2024-12-11 21:44:34 -05:00
sashakoshka 588061e3e0 providers/slice: Remove because sprig has lists 2024-12-11 20:57:59 -05:00
sashakoshka ad8a2a7c25 providers/import: Remove panic function, because sprig has fail 2024-12-11 20:56:09 -05:00
sashakoshka 461abe6cf4 providers/import: Add ability for templates to read step.meta 2024-12-11 20:40:23 -05:00
sashakoshka 06c788d997 Improve www-template 2024-12-11 12:23:58 -05:00
sashakoshka 9aa1695d53 Add www examples
Closes #10
2024-12-11 03:35:53 -05:00
sashakoshka b41540e091 openrc: Tell stepd to write logs 2024-12-11 03:17:40 -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 728d50f6b5 openrc: Make init script executable 2024-12-11 02:59:04 -05:00
sashakoshka 45b8eb2a26 Fix install target 2024-12-11 02:54:46 -05:00
sashakoshka 7e708f84f1 Never mind, maybe root shouldn't be building things 2024-12-11 02:53:23 -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 09fa576873 Make check target work 2024-12-11 02:42:14 -05:00
sashakoshka 5ba3dfd26f Improved Makefile install target 2024-12-11 02:41:06 -05:00