Skip to content

Commit 5120af0

Browse files
committed
v0.21.6
1 parent ceb76b8 commit 5120af0

File tree

20 files changed

+102
-44
lines changed

20 files changed

+102
-44
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [0.21.6]
8+
9+
### Improved
10+
11+
- Streaming file download/upload to reduce memory consumption
12+
- Polish auth error page
13+
14+
### Fixed
15+
16+
- Login button invisible under light theme in server web UI
17+
- Images not displaying correctly when server uses self-signed certificate
18+
- Adding host tag to search box now replaces existing host tag instead of appending
19+
720
## [0.21.5]
821

922
### Fixed

CLAUDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Both the CLI and desktop app support connecting to HTTPS servers with self-signe
187187
- Server tests must run sequentially: `-- --test-threads=1`
188188
- Client tests must run sequentially: `-- --test-threads=1`
189189
- Each test creates isolated temporary database
190-
- **Total test coverage**: clipper-indexer (all core operations), clipper-server (18 tests), clipper-client (18 tests)
190+
- **Total test coverage**: clipper-indexer (all core operations), clipper-server (81 tests), clipper-client (20 tests)
191191

192192
## Project Status
193193

@@ -212,6 +212,11 @@ Both the CLI and desktop app support connecting to HTTPS servers with self-signe
212212
- Global hotkey support
213213
- Advanced search operators
214214
- Export/import functionality (tar.gz archive with clips and attachments, deduplication on import)
215+
- Self-signed certificate trust (SSH-like fingerprint verification)
216+
- Streaming file upload/download for reduced memory consumption
217+
- Tags management with dedicated tags table
218+
- Search result highlighting
219+
- PII detection before sharing
215220

216221
### Future Work
217222
- Clipboard monitoring daemon (standalone)

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111
resolver = "2"
1212

1313
[workspace.package]
14-
version = "0.21.5"
14+
version = "0.21.6"
1515
edition = "2024"
1616
rust-version = "1.91"
1717
repository = "https://github.com/windoze/clipper"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ COPY clipper-server ./clipper-server
5252
COPY --from=web-builder /app/clipper-server/web/dist ./clipper-server/web/dist
5353

5454
# Create a minimal workspace Cargo.toml for the server build
55-
RUN echo '[workspace]\nmembers = ["clipper-security", "clipper-server", "clipper-indexer"]\nresolver = "2"\n[workspace.package]\nversion = "0.21.5"\nedition = "2024"' > Cargo.toml
55+
RUN echo '[workspace]\nmembers = ["clipper-security", "clipper-server", "clipper-indexer"]\nresolver = "2"\n[workspace.package]\nversion = "0.21.6"\nedition = "2024"' > Cargo.toml
5656

5757
# Build release binary with embedded web UI and TLS support
5858
RUN cargo build --release -p clipper-server --features embed-web,full-tls

Dockerfile.backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ COPY clipper-server ./clipper-server
6565
COPY --from=web-builder /app/clipper-server/web/dist ./clipper-server/web/dist
6666

6767
# Create a minimal workspace Cargo.toml for the server build
68-
RUN echo '[workspace]\nmembers = ["clipper-security", "clipper-server", "clipper-indexer"]\nresolver = "2"\n[workspace.package]\nversion = "0.21.5"\nedition = "2024"' > Cargo.toml
68+
RUN echo '[workspace]\nmembers = ["clipper-security", "clipper-server", "clipper-indexer"]\nresolver = "2"\n[workspace.package]\nversion = "0.21.6"\nedition = "2024"' > Cargo.toml
6969

7070
# Build release binary with embedded web UI and TLS support
7171
RUN cargo build --release -p clipper-server --features embed-web,full-tls

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A modern, cross-platform clipboard manager with full-text search, real-time sync, and a beautiful desktop interface.
44

55
[![Homepage](https://img.shields.io/badge/homepage-clipper.unwritten.codes-blue)](https://clipper.unwritten.codes)
6-
![Version](https://img.shields.io/badge/version-0.21.5-blue)
6+
![Version](https://img.shields.io/badge/version-0.21.6-blue)
77
![License](https://img.shields.io/badge/license-MIT-green)
88
![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey)
99

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
一款现代化、跨平台的剪贴板管理器,支持全文搜索、实时同步,拥有精美的桌面界面。
44

55
[![Homepage](https://img.shields.io/badge/homepage-clipper.unwritten.codes-blue)](https://clipper.unwritten.codes)
6-
![Version](https://img.shields.io/badge/version-0.21.5-blue)
6+
![Version](https://img.shields.io/badge/version-0.21.6-blue)
77
![License](https://img.shields.io/badge/license-MIT-green)
88
![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey)
99

clipper-cli/CLAUDE.md

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,40 @@ cargo run --bin clipper-cli -- watch
2424
## Commands
2525

2626
```bash
27-
clipper-cli create <content> [--tags tag1,tag2] [--notes "notes"]
28-
clipper-cli get <id> [--format json|text]
29-
clipper-cli update <id> [--tags tag1,tag2] [--notes "notes"]
30-
clipper-cli search <query> [--tags tag1,tag2] [--start-date ISO8601] [--end-date ISO8601] [--page 1] [--page-size 20] [--format json|text]
31-
clipper-cli delete <id>
32-
clipper-cli watch # Real-time notifications as NDJSON
33-
clipper-cli share <id> [--expires <hours>] # Create a short URL for sharing (requires server with CLIPPER_SHORT_URL_BASE)
27+
clipper-cli create <content> [--tags tag1,tag2] [--notes "notes"] # Alias: c
28+
clipper-cli get <id> [--format json|text] # Alias: g
29+
clipper-cli update <id> [--tags tag1,tag2] [--notes "notes"] # Alias: u
30+
clipper-cli search <query> [--tags tag1,tag2] [--start-date ISO8601] [--end-date ISO8601] [--page 1] [--page-size 20] [--format json|text] # Alias: s
31+
clipper-cli list [--tags tag1,tag2] [--start-date ISO8601] [--end-date ISO8601] [--page 1] [--page-size 100] [--format json|text] # Alias: l
32+
clipper-cli delete <id> # Alias: d
33+
clipper-cli watch # Alias: w - Real-time notifications as NDJSON
34+
clipper-cli upload <file> [--tags tag1,tag2] [--notes "notes"] [--content "override"]
35+
clipper-cli share <id> [--expires <hours>] [--format url|json] # Create a short URL for sharing
36+
clipper-cli export [--output <path>] # Alias: e - Export clips to tar.gz
37+
clipper-cli import <file> [--format text|json] # Alias: i - Import clips from tar.gz
38+
clipper-cli search-tag [<query>] [--page 1] [--page-size 100] [--format text|json] # Alias: st - Search/list tags
3439
```
3540

36-
## Environment Configuration
41+
## Configuration
3742

43+
Configuration priority: CLI arg > env var > config file > Clipper desktop app config > default
44+
45+
### CLI Options
46+
47+
- `-c, --config <path>` - Path to config file
48+
- `-u, --url <url>` - Server URL
49+
- `-t, --token <token>` - Bearer token for authentication
50+
51+
### Environment Variables
52+
53+
- `CLIPPER_CONFIG` - Path to config file
3854
- `CLIPPER_URL` - Server URL (default: `http://localhost:3000`)
3955
- `CLIPPER_TOKEN` - Bearer token for authentication (optional)
4056

57+
### Config File
58+
59+
Shares the same format as Clipper desktop app's `settings.json`. If no config is specified, CLI will try to use the desktop app's config.
60+
4161
## Self-Signed Certificate Support
4262

4363
When connecting to an HTTPS server with a self-signed certificate, clipper-cli will:

clipper-client/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ while let Some(notification) = rx.recv().await {
5959

6060
- Client tests must run sequentially: `-- --test-threads=1`
6161
- Tests require running server (tests start temporary server instances)
62-
- **Test coverage**: 18 tests
62+
- **Test coverage**: 20 tests (2 unit tests + 18 integration tests)

0 commit comments

Comments
 (0)