Commit graph

13 commits

Author SHA1 Message Date
e2d3146222 fix: display error page instead of panic on non existant note (#30)
All checks were successful
/ pre-commit (push) Successful in 1m7s
Same that #24 but for non password protected notes

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #30
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-15 18:30:03 +02:00
e03aa6b87a feat: add possibility to hide upload button (#25)
All checks were successful
/ pre-commit (push) Successful in 1m4s
I was asked to add the possibility to hide the upload button to avoid users confuse this tool for a file sharing app.
This is only on the front.

No breaking changes, by default the button is displayed.

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #25
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-15 09:20:50 +02:00
33628331f4 feat: set default expiration in select (#28)
All checks were successful
/ pre-commit (push) Successful in 1m10s
No default value in select could be interpreted as ever lasting note.
Default value in the select makes that clearer.

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #28
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-15 06:51:16 +02:00
938d10c3a6 fix: remove double rendering and test error (#26)
All checks were successful
/ pre-commit (push) Successful in 1m11s
Remove double template rendering and test error for non password protected note

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #26
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-13 19:10:50 +02:00
401397241b
fix: Upload text files other than plain text
All checks were successful
/ pre-commit (push) Successful in 1m23s
Fixes #23

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-10 07:02:48 +02:00
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