Commit graph

8 commits

Author SHA1 Message Date
af5baa999c fix: display error page if note not found (#24)
All checks were successful
/ pre-commit (push) Successful in 1m10s
Fix panic when trying to access a non existing note with the "pretty" url (.html)

Reviewed-on: #24
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
Co-committed-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
2025-09-09 15:57:23 +02:00
8edaebfad6
feat: Add web view to display notes in HTML
All checks were successful
/ pre-commit (push) Successful in 2m59s
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-28 09:46:44 +02:00
c54f32495b
feat: Add text editor
All checks were successful
/ pre-commit (push) Successful in 1m45s
Use Monaco Editor to create notes. Support syntax highlighting. Store the
language with the note in the database to later support syntax highlighting in
a note web view.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-27 22:42:12 +02:00
d3b28143ea
fix(encoding): Use utf-8 in plain/text responses
All checks were successful
/ pre-commit (push) Successful in 1m5s
Fixes #12.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-26 16:20:33 +02:00
0ce540e92d
feat: Add metrics
All checks were successful
/ pre-commit (push) Successful in 1m40s
Fixes #7.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-26 09:26:15 +02:00
711327390f
typo: Rename to HealthHandler
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-24 14:57:43 +02:00
4b75edc754
Add Dockerfile
- Add Docker image
- Fix whitespace location in the footer when version is not provided
- Add log message when the server is about to start

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-22 07:57:08 +02:00
ef9aca1f3b
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-21 16:22:03 +02:00