Commit Graph
192 Commits
Author SHA1 Message Date
sashakoshka 8c5e69fcdf providers/os: Add chmod function 2025-03-27 19:52:56 -04:00
sashakoshka bc3b486704 providers/os: Rename removeFile to remove
Same reason as renameFile -> rename
2025-03-27 19:50:49 -04:00
sashakoshka 4f71e8502a providers/os: Add functions for creating directories 2025-03-27 19:49:55 -04:00
sashakoshka f9b83d8d67 providers/os: Function rename converts the destination path properly 2025-03-27 19:44:42 -04:00
sashakoshka 67b263d8f0 providers/os: Rename renameFile to rename
It also works on directories so calling it renameFile is wierd
2025-03-27 19:41:50 -04:00
sashakoshka 78ed9964a3 providers/os: Add readDirDate function to match listFilesDate 2025-03-27 19:30:20 -04:00
sashakoshka 7e0c0b079b Add an example that demonstrates using cookies 2025-03-27 18:29:34 -04:00
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