Commit graph

17 commits

Author SHA1 Message Date
09dd88783e
fix: use innerText instead of innerHTML 2025-10-13 14:27:31 +00:00
b316c6ef67
feat: Add copier and curl links
All checks were successful
/ pre-commit (push) Successful in 1m16s
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-02 09:23:40 +02:00
ee7b5f0c6e
feat: Pass encryption key in URL fragment
All checks were successful
/ pre-commit (push) Successful in 1m21s
- Remove encryptionKey from URL
- Use POST method to pass both password and encryption key
- Parse URL fragment to extract the encryption key from the web (using
  javascript) and from the CLI

Fixes #36.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-01 12:43:04 +02:00
b5701b5a4d
feat: replace Monaco by Ace
All checks were successful
/ pre-commit (push) Successful in 1m20s
- Remove the Monaco Editor because it was to heavy and hard to integrate
- Use Ace instead
- Use the lowercase identifier for languages (ex: "Text" -> "text")
- Select automatically the default language in the drop down to create a note
  (like the expiration)
- Add `ace_directory` to serve assets from a local folder instead of a CDN
- "hcl" syntax highlighting has been removed
- "go" syntax highlighting has been renamed to "golang"
- Add option to disable the editor

Fixes #32.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-27 09:56:50 +02:00
9e0254c0b5
feat: Add password protection
All checks were successful
/ pre-commit (push) Successful in 1m20s
Fixes #37.

BREAKING CHANGE: API routes are prefixed by /api/note.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-27 08:36:00 +02:00
61ca30690b
feat: Disable levels of encryptions by default
All checks were successful
/ pre-commit (push) Successful in 1m11s
- Add `allow_client_encryption_key` option to allow encryption key provided by
  the client on the web UI (false by default)
- Add `allow_no_encryption` option to allow notes without encryption (disabled
  by default)

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-24 17:44:50 +02:00
8e1dd686d3
feat: Rename password by encryption key
All checks were successful
/ pre-commit (push) Successful in 1m9s
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-24 07:09:01 +02:00
634326190c
feat: add expiration time in the note web view
All checks were successful
/ pre-commit (push) Successful in 1m7s
Fixes #35.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-22 17:13:44 +02:00
70d3892b15
feat: Add Command-line clients link and web page
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-20 06:36:28 +02:00
ff92e30232
feat: Option to serve Bootstrap from the filesystem
All checks were successful
/ pre-commit (push) Successful in 1m7s
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-19 07:14:33 +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
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
beabdd5749
feat: Add Dark mode
Implements #2.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-24 12:45:50 +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