- 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>
- 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>
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>
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>
- 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>