5feeb15561
docs(smalltrip,exceptions): add MDN documentation for each status code on 400s contructors
2025-02-26 10:54:38 -03:00
affe3a61d1
docs(smalltrip,exceptions): document all 400s status code constructors
2025-02-26 10:54:18 -03:00
05af766cf2
feat(smalltrip,exceptions): constructor for all 400 status codes
2025-02-26 10:51:10 -03:00
5eabc13516
feat(smalltrip,exceptions): exception constructor
2025-02-26 10:47:19 -03:00
5c562eb363
feat(smalltrip,exceptions): headers field for additional headers to be sent with exception
2025-02-25 16:00:21 -03:00
5ff4f3a79b
feat(smalltrip,exceptions): Data field for additional contextual data
2025-02-25 15:59:48 -03:00
d461f2a8c8
feat(smalltrip,exceptions): Severity type implementation
2025-02-25 14:31:23 -03:00
cef5a31545
feat(smalltrip,exceptions): exception middleware to provide handlers depending of Accept header
2025-02-25 14:31:02 -03:00
ef8261752f
feat(smalltrip,exceptions): use a JSON handler if none is provided via the context
2025-02-25 14:30:14 -03:00
efceb2efd6
feat(smalltrip): new exceptions package for structurerd error codes
2025-02-25 14:28:07 -03:00
b9726e04a0
chore: configure golangci-lint rules
2025-02-24 08:06:21 -03:00
dec6bcb1a1
feat(smalltrip): TODO PersistentCache middlware
2025-02-24 08:05:37 -03:00
054bcefdd7
feat(smalltrip): TODO SmartCache middlware
2025-02-24 08:04:49 -03:00
aa4f34e3f4
feat(smalltrip): cache middleware
2025-02-24 08:04:28 -03:00
7593ba9870
feat(smalltrip): logger middleware
2025-02-24 08:03:53 -03:00
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