1
0
Fork 0
forked from jriou/coller
Commit graph

5 commits

Author SHA1 Message Date
ee7b5f0c6e
feat: Pass encryption key in URL fragment
- 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
- 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
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
634326190c
feat: add expiration time in the note web view
Fixes #35.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-22 17:13:44 +02:00
8edaebfad6
feat: Add web view to display notes in HTML
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-28 09:46:44 +02:00