Commit Graph
80 Commits
Author SHA1 Message Date
sashakoshka 975d604e2f providers/session: Use usync.RWMonitor instead of usync.RWLocker 2025-07-07 07:54:19 -04:00
sashakoshka 64fb80734d providers/http: Fix fmt not being imported 2025-07-07 07:49:34 -04:00
sashakoshka a377995a5b providers/os: Fix incorrect return value count 2025-07-07 07:49:23 -04:00
sashakoshka 2293780131 providers/validate: add isEnglish, hasWords, and hasXML functions 2025-06-02 10:27:24 -04:00
sashakoshka 8b00321812 providers/http: Don't accept redirect codes outside 3XX range 2025-04-29 09:33:16 -04:00
sashakoshka e72523c036 providers/os: Add countFiles function 2025-04-29 09:21:41 -04:00
sashakoshka b974fde7e4 providers/strings: stripSlashes now removes backslashes too 2025-03-28 10:45:04 -04:00
sashakoshka 961f7187e9 providers/os: Change statFile to stat 2025-03-28 09:46:04 -04:00
sashakoshka c623c4f35e providers/os: Add function for creating temporary files 2025-03-27 20:03:58 -04:00
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 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 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 d645f44fb7 providers/http: Add unsafe function to directly embed HTML 2024-12-27 14:39:26 -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 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 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 1f4943bc12 Switch away from archived goutil 2024-12-18 10:57:04 -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 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 a592426c46 providers/log: Stop pretending to be providers/mime 2024-12-13 13:44:52 -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 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 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 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