Commit Graph

71 Commits

Author SHA1 Message Date
8c5e69fcdf providers/os: Add chmod function 2025-03-27 19:52:56 -04:00
bc3b486704 providers/os: Rename removeFile to remove
Same reason as renameFile -> rename
2025-03-27 19:50:49 -04:00
4f71e8502a providers/os: Add functions for creating directories 2025-03-27 19:49:55 -04:00
f9b83d8d67 providers/os: Function rename converts the destination path properly 2025-03-27 19:44:42 -04:00
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
78ed9964a3 providers/os: Add readDirDate function to match listFilesDate 2025-03-27 19:30:20 -04:00
4c19694c4c providers/session: Add a comment about what __Host- means 2025-03-27 18:29:15 -04:00
11dfb795ed providers/http: Add support for easily getting/setting cookies 2025-03-27 18:28:48 -04:00
b70fe4d4ba providers/os: Fix listFiles, listFilesDate 2025-03-27 09:10:06 -04:00
c4056bd63e providers/session: Use usync.Monitor instead of usync.Locker 2025-03-27 08:57:24 -04:00
aebb4ac18b providers/os: Add listFilesDate function to list files by date 2025-03-26 20:36:00 -04:00
d645f44fb7 providers/http: Add unsafe function to directly embed HTML 2024-12-27 14:39:26 -05:00
47a66d53e7 providers/session: Add option to set the domain of session cookies 2024-12-27 01:13:55 -05:00
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
88a364a155 providers/http: Add queryEscape, queryUnescape 2024-12-25 14:19:30 -05:00
adf77c962d providers: Bring math provider back into service
Sprig is missing some float math functions
2024-12-21 02:06:19 -05:00
5d7375a9e3 providers/session: Some more tests 2024-12-20 22:49:22 -05:00
4f0364bb49 providers/session: "Ensafen" values when they enter/exit the session 2024-12-20 22:37:00 -05:00
b9d55ad0b6 providers/session: Fix session cookie, make it more secure 2024-12-20 20:27:46 -05:00
1f4943bc12 Switch away from archived goutil 2024-12-18 10:57:04 -05:00
f9fb355c8c providers/os: Add listFiles function that works like the caddy one 2024-12-14 03:02:51 -05:00
fa8e359ec0 providers/session: Remove some debug messages 2024-12-14 02:39:52 -05:00
3118f2bcee providers/log: Fix formatting of log messages 2024-12-14 02:38:34 -05:00
1ec27f18cc providers: Add crypto provider with bcrypt comparison 2024-12-14 02:21:43 -05:00
3cc005bece providers/session: Fully-working session system 2024-12-14 01:06:43 -05:00
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
a592426c46 providers/log: Stop pretending to be providers/mime 2024-12-13 13:44:52 -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
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
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
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
ab167234d0 Providers are now required to state their name/package 2024-12-10 12:22:58 -05:00
eb7da68de6 providers/os: readDir now returns a slice of fs.DirEntry 2024-12-10 02:18:42 -05:00
433a112875 Add Provider interface 2024-12-09 22:57:59 -05:00
67480bb974 Rename FrontMatter to Meta 2024-12-09 02:22:37 -05:00
deb3d7e935 providers/slice: Make the slice functions way better 2024-12-08 19:20:18 -05:00
860d083c11 providers/mime: use Document.Rel 2024-12-08 03:28:57 -05:00
52b8b5a347 providers/import: use Document.Rel 2024-12-08 03:28:48 -05:00
25541dadfe providers/os: use Document.Rel 2024-12-08 03:28:33 -05:00
3c9eb01790 providers/os: Add appendFile 2024-12-08 01:30:00 -05:00