1
0
Fork 0
forked from jriou/coller
Commit graph

13 commits

Author SHA1 Message Date
b35828d909
feat: Add clients base URL
- Add `clients_base_url` to define an alternative URL to download clients

- Rename `clients_directory` to `clients_base_directory` to download clients
  locally based on the version. If `show_version` is disabled and
  `clients_base_directory` are both defined, a redirection to a remote URL with
  the "latest" version is chosen in order to avoid to disclose the server
  version.

Fixes #43.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-10 12:55:26 +02:00
ab6b03a6d4
feat: serve clients binaries from a local directory
Fixes #44.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-10 12:30:48 +02:00
888e2b3278
fix(clients): download URL for copier
The project name is "coller" and not the client name.

Fixes #42.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-06 13:44:36 +02:00
b316c6ef67
feat: Add copier and curl links
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-02 09:23:40 +02:00
de24146991
feat: Encode password
Fixes #38.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-02 07:07:10 +02:00
f721e56371
refactor: Use functional errors
Use well-defined server errors instead of hardcoded messages that could be
slightly different and spread accross the code base.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-02 06:35:27 +02:00
55de3afc71
feat: Return top-level errors to clients
In order to reduce security risk, the server now returns only functional error
messages to the clients and log low-level error messages.

Fixes #35.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-01 18:13:15 +02:00
1fcde736a8
fix: convert id to int64
Snowflake identifiers are integers, not strings.

BREAKING CHANGE: notes that are not using snowflake identifiers will not be
compatible anymore.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-27 10:05:58 +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
61ca30690b
feat: Disable levels of encryptions by default
- 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
75bdab55df
refactor: Rename protected to encrypted
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-24 09:50:13 +02:00
8e1dd686d3
feat: Rename password by encryption key
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-24 07:09:01 +02:00
3a7d82a396
refactor: Move handlers into their own files
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-20 06:47:31 +02:00