280 Commits

Author SHA1 Message Date
9fbe24cc5c feat(smalltrip): development middleware 2025-02-24 08:03:45 -03:00
0d76edaaa3 feat(smalltrip): new smalltrip package
This is a new package to reimplement the groute package with new
improvements and a better API
2025-02-24 08:03:07 -03:00
f6a044a2b6 chore(blogo): remove blogo package from directory, moved to https://forge.capytal.company/loreddev/blogo 2025-01-29 11:26:01 -03:00
1f823aa099 fix(blogo): use BufferedMultiRenderer instead of MultiRenderer to deal with renderer plugins that can return errors after reading a file 2025-01-28 17:18:07 -03:00
cdd70eadb9 feat(blogo,plugins): new buffered multi renderer plugin
New plugin similar to the multi renderer, but with custom wrapper files
that preserve the original contents. So in any error, their original
contents can be recovered and re-read by other plugins.
2025-01-28 17:17:21 -03:00
f12b82ac6e fix(blogo,gitea): infinity redading on repositoryDirFile, missing io.EOF 2025-01-28 09:12:09 -03:00
07d282daea fix(blogo,plugins): folding file with swapped arguments in Copy method 2025-01-28 08:58:50 -03:00
5a0df16220 docs(blogo): Opts documentation 2025-01-27 19:03:09 -03:00
df599ec4a2 docs(blogo): Blogo interface documentation 2025-01-27 19:02:55 -03:00
dcd963a740 docs(blogo): New function documentation 2025-01-27 19:02:36 -03:00
a8a61d0897 fix(blogo): add check for nil plugins in Use method 2025-01-27 18:40:47 -03:00
ada8ad734e fix(blogo): incorrect template being passed to TemplateerrorHandler 2025-01-27 17:07:34 -03:00
fa04bceaae refactor(blogo,core): remove unused templateErr variable 2025-01-27 11:47:45 -03:00
b31fa5ca85 feat(blogo)!: add not found and template error as fallbacks 2025-01-27 11:46:27 -03:00
e83dcad23f fix(blogo,plugins): logger error without key to log error 2025-01-27 11:46:01 -03:00
7297e8b107 fix(blogo,core): remove reference to errors, new type requires it to be directly value 2025-01-27 11:45:42 -03:00
302b738803 feat(blogo): explicily set default multi sourcer options 2025-01-27 11:25:38 -03:00
70175ea412 feat(blogo): explicily set default multi renderer options 2025-01-27 11:25:25 -03:00
2997c51f6a feat(blogo): explicily set default fallback renderer options 2025-01-27 11:25:06 -03:00
e20e9ee08c feat(blogo): error handler in blogo construction 2025-01-27 11:22:29 -03:00
1ebd8d6f56 feat(blogo,plugins): support for plugin group in multi sourcer 2025-01-27 10:09:04 -03:00
b5939e3d42 feat(blogo,plugins): support for plugin group in multi renderer 2025-01-27 10:08:59 -03:00
c1315a827e feat(blogo,plugins): multi error handler 2025-01-27 10:05:26 -03:00
d81757efd3 feat(blogo,plugins): template error handler 2025-01-27 09:51:39 -03:00
f832266a16 feat(blogo,plugins): not found/404 error handler 2025-01-27 09:51:20 -03:00
ef9959ac37 feat(blogo,plugins): logger error handler 2025-01-27 09:51:09 -03:00
656bf92b4d fix(blogo,core): make error not pointer to better follow std 2025-01-27 09:50:50 -03:00
af29d1adf3 refactor(blogo,plugins): rename files to camel_case 2025-01-25 10:28:00 -03:00
8b1175e56b feat(blogo,core): assert error values of error response write 2025-01-25 10:24:26 -03:00
fca0fd2708 feat(blogo,core): support for recovr functions 2025-01-25 10:22:53 -03:00
116c630093 feat(blogo,plugin): recovr function for ErrorHandler 2025-01-25 10:13:49 -03:00
3b8b553713 feat(blogo,core): support for onerror plugin in core 2025-01-25 10:11:28 -03:00
576f170685 feat(blogo,plugin): ErrorHandler plugin 2025-01-24 17:00:50 -03:00
a19f5c95d2 refactor(blogo,core): remove redundant asserts in ServeHTTP 2025-01-24 17:00:17 -03:00
0320cc42c3 docs(blogo,metadata): missing punctiation 2025-01-24 16:43:37 -03:00
c91df6d759 docs(blogo,metadata): TypedMetadata documentation 2025-01-24 16:41:53 -03:00
5145f17fd7 docs(blogo,metadata): Immutable func documentation 2025-01-24 16:41:39 -03:00
7cd7db539b docs(blogo,metadata): Join function documentation 2025-01-24 16:41:27 -03:00
c33bd38053 docs(blogo,metadata): Map documentation 2025-01-24 16:41:12 -03:00
2105c099d8 docs(blogo,metadata): Metadata implementation docs 2025-01-24 16:40:52 -03:00
df2d1ca52e docs(blogo,metadata): top-level functions documentation 2025-01-24 16:40:33 -03:00
cf469b2586 docs(blogo,metadata): package documentation 2025-01-24 16:40:10 -03:00
f9220c409d feat(blogo,metadata)!: return ErrImmutable if Map's underlying map is nil 2025-01-24 16:28:57 -03:00
81998f4baf fix(blogo,metadata): Map being used instead of Metadata in Immutable argument 2025-01-24 16:26:33 -03:00
5008f9d6ad fix(blogo,metadata): return TypedMetadata directly if Metadata already implements it 2025-01-24 16:03:48 -03:00
8134b104a9 feat(blogo,metadata): support for TypedMetadata to GetTyped func 2025-01-24 15:58:20 -03:00
d238982008 refactor(blogo,metadata)!: fix casing of UintPtr to Uintptr 2025-01-24 15:56:00 -03:00
2ad474a3cc refactor(blogo,metadata)!: fix casing of UInt to Uint 2025-01-24 15:55:01 -03:00
a2f8c38091 feat(blogo,metadata): Typed func to convert a Metadata to TypedMetadata 2025-01-24 15:39:36 -03:00
1de244a7ad feat(blogo,metadata): TypedMetadata helper interface 2025-01-24 15:39:12 -03:00