Commit graph

14 commits

Author SHA1 Message Date
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
2c3ca08dbf
feat: Use snowflake identifiers
All checks were successful
/ pre-commit (push) Successful in 1m7s
Fixes #29.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-20 08:37:37 +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
b62a807f89
feat: Add HTTPS support
All checks were successful
/ pre-commit (push) Successful in 1m6s
Fixes #19.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-19 07:12:21 +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
a5ebf7607c
feat: Enable metrics by default
All checks were successful
/ pre-commit (push) Successful in 1m14s
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-27 22:56:53 +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
7d7614637b
Several fixes and features
All checks were successful
/ pre-commit (push) Successful in 1m8s
- Commit database transactions
- Listen to all interfaces by default
- Use logger in collerd
- Add docker-compose file with PostgreSQL

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-26 12:30:41 +02:00
01031a24ab
docs: Add API routes
All checks were successful
/ pre-commit (push) Successful in 2m15s
Fixes #10.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-26 11:53:22 +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
7c00b364d1
docs: Add READMEs
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-24 15:48:12 +02:00