sashakoshka
|
4c19694c4c
|
providers/session: Add a comment about what __Host- means
|
2025-03-27 18:29:15 -04:00 |
|
sashakoshka
|
11dfb795ed
|
providers/http: Add support for easily getting/setting cookies
|
2025-03-27 18:28:48 -04:00 |
|
sashakoshka
|
88ea929288
|
http: Fix header values only being written during a redirect
|
2025-03-27 18:28:04 -04:00 |
|
sashakoshka
|
c21f8a8712
|
examples: Add example that demonstrates working with files
|
2025-03-27 09:28:49 -04:00 |
|
sashakoshka
|
b70fe4d4ba
|
providers/os: Fix listFiles, listFilesDate
|
2025-03-27 09:10:06 -04:00 |
|
sashakoshka
|
c4056bd63e
|
providers/session: Use usync.Monitor instead of usync.Locker
|
2025-03-27 08:57:24 -04:00 |
|
sashakoshka
|
aebb4ac18b
|
providers/os: Add listFilesDate function to list files by date
|
2025-03-26 20:36:00 -04:00 |
|
sashakoshka
|
22ad9ccec5
|
Change out usync.Locker for usync.Monitor
|
2025-02-05 21:45:32 -05:00 |
|
sashakoshka
|
fe5be15ee6
|
Upgrade go-util
|
2025-02-05 21:45:01 -05:00 |
|
sashakoshka
|
d645f44fb7
|
providers/http: Add unsafe function to directly embed HTML
|
2024-12-27 14:39:26 -05:00 |
|
sashakoshka
|
5733d00735
|
examples/session: Demonstrate use of session.insecure-cookie
|
2024-12-27 01:16:31 -05:00 |
|
sashakoshka
|
47a66d53e7
|
providers/session: Add option to set the domain of session cookies
|
2024-12-27 01:13:55 -05:00 |
|
sashakoshka
|
b6e4c719ca
|
providers/session: Provide option for insecure session cookie
Closes #28. Also increase security of secure session cookie.
|
2024-12-27 01:10:28 -05:00 |
|
sashakoshka
|
851931d518
|
http: Hmmm
|
2024-12-27 01:01:08 -05:00 |
|
sashakoshka
|
c6228037cb
|
cmd/stepd: Better error logging
|
2024-12-27 01:00:10 -05:00 |
|
sashakoshka
|
d4ae9d90d5
|
http: Improve a comment
|
2024-12-27 00:22:02 -05:00 |
|
sashakoshka
|
6c73ec0f88
|
http: Don't modify req, create clone instead
|
2024-12-27 00:16:50 -05:00 |
|
sashakoshka
|
0c8c34d81d
|
http: Don't add rate limit entries for things that aren't limited
|
2024-12-26 23:37:54 -05:00 |
|
sashakoshka
|
549958270c
|
http: Fix logging of proxied requests
|
2024-12-26 22:46:01 -05:00 |
|
sashakoshka
|
88a364a155
|
providers/http: Add queryEscape, queryUnescape
|
2024-12-25 14:19:30 -05:00 |
|
sashakoshka
|
adf77c962d
|
providers: Bring math provider back into service
Sprig is missing some float math functions
|
2024-12-21 02:06:19 -05:00 |
|
sashakoshka
|
a1570ddbeb
|
examples/session: Add code that demonstrates altering session data
|
2024-12-21 00:09:41 -05:00 |
|
sashakoshka
|
5d7375a9e3
|
providers/session: Some more tests
|
2024-12-20 22:49:22 -05:00 |
|
sashakoshka
|
4f0364bb49
|
providers/session: "Ensafen" values when they enter/exit the session
|
2024-12-20 22:37:00 -05:00 |
|
sashakoshka
|
b9d55ad0b6
|
providers/session: Fix session cookie, make it more secure
|
2024-12-20 20:27:46 -05:00 |
|
sashakoshka
|
2d5dbc50b3
|
http: Change how HTTPResponseRecorder works
|
2024-12-20 20:27:30 -05:00 |
|
sashakoshka
|
478d990b8b
|
examples/session: Add session example
|
2024-12-20 20:26:49 -05:00 |
|
sashakoshka
|
8dbe5df492
|
cmd/stepd: Fix format string in println
|
2024-12-18 10:57:55 -05:00 |
|
sashakoshka
|
1f4943bc12
|
Switch away from archived goutil
|
2024-12-18 10:57:04 -05:00 |
|
sashakoshka
|
8f681fd63b
|
Improve doc comment in Environment
|
2024-12-15 19:21:52 -05:00 |
|
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 |
|
sashakoshka
|
b865dd251c
|
Improve Makefile
|
2024-12-11 02:32:08 -05:00 |
|
sashakoshka
|
cbc31b64a8
|
Add Makefile
|
2024-12-11 02:28:24 -05:00 |
|
sashakoshka
|
0a040cad92
|
Ignore build directory
|
2024-12-11 02:28:15 -05:00 |
|
sashakoshka
|
c48e67e022
|
openrc: Add untested init script
|
2024-12-11 02:00:52 -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
|
32d10ef7c6
|
providers/http: Remove unnecessary FIXME
|
2024-12-10 22:07:30 -05:00 |
|
sashakoshka
|
79ac18c8c3
|
providers/http: Make redirect function better
|
2024-12-10 21:32:50 -05:00 |
|
sashakoshka
|
efc3fc0990
|
http: Add an HTTP redirect senteniel error
|
2024-12-10 21:32:12 -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
|
df7f3bdadc
|
Ignore shared objects
|
2024-12-10 14:02:53 -05:00 |
|
sashakoshka
|
d694a8acf6
|
examples/testplugin: Add test plugin example
|
2024-12-10 14:02:21 -05:00 |
|
sashakoshka
|
4c3f0056fd
|
cmd/stepd: Load plugins from STEP_PLUGIN_PATH
|
2024-12-10 13:25:32 -05:00 |
|
sashakoshka
|
209270a179
|
Add untested plugin support
|
2024-12-10 13:25:20 -05:00 |
|
sashakoshka
|
9a6607494f
|
cmd/stepd: List all loaded providers on startup
|
2024-12-10 12:53:15 -05:00 |
|
sashakoshka
|
ab167234d0
|
Providers are now required to state their name/package
|
2024-12-10 12:22:58 -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 |
|