Commit cd3d040
committed
chore(dev-stack): dedupe FileInput; bump cryptify + pkg submodules
- `FileInput.svelte`: drop duplicate adds in the dropzone. A file
already in the list (matched by name + size + lastModified) is
silently removed from the dropzone instead of getting a second
entry — same behaviour as Gmail's attach UI.
- `cryptify` → v0.1.27-9-g63066a1 (picks up the staging preview
endpoint that the email-preview modal depends on, plus the
`build.rs` Cargo.lock-driven `PG_CORE_VERSION` change).
- `postguard` (pg-pkg) → pg-ffi-v0.1.2-9-gcc47b60 (accepts Yivi
condiscon in IrmaAuthRequest, which pg-js 2.0 emits for the
optional name disjunction).
- `docker-compose.yml`: mount `cryptify/build.rs` and
`cryptify/Cargo.lock` into the dev container; the bumped cryptify
needs both at compile time to set the `X-PostGuard` mail header.1 parent 5b811b2 commit cd3d040
4 files changed
Lines changed: 19 additions & 2 deletions
- .github/workflows/pr-title.yml+14
- CHANGELOG.md+18
- Cargo.lock+37-11
- Cargo.toml+12-2
- Dockerfile+2
- api-description.yaml+33
- build.rs+31
- conf/config.dev.toml+2
- src/config.rs+34
- src/email.rs+674-64
- src/main.rs+1.0k-40
- src/metrics.rs+418
- src/store.rs+35-15
- templates/email/email.html+1-1
- templates/email/email.txt+25
- templates/email/pg_logo.png
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
- .cargo/audit.toml+19
- .github/workflows/pr-title.yml+14
- Cargo.lock+831-275
- Dockerfile+1-1
- pg-cli/CHANGELOG.md+9
- pg-cli/Cargo.toml+7-7
- pg-cli/src/decrypt.rs+6-4
- pg-cli/src/encrypt.rs+9-5
- pg-core/CHANGELOG.md+6
- pg-core/Cargo.toml+4-4
- pg-core/src/api.rs+89-2
- pg-core/src/artifacts.rs+23-19
- pg-core/src/bincode_compat.rs+72
- pg-core/src/client/header.rs+4-4
- pg-core/src/client/rust/mod.rs+6-6
- pg-core/src/client/rust/stream.rs+9-9
- pg-core/src/client/web/mod.rs+7-6
- pg-core/src/client/web/stream.rs+10-10
- pg-core/src/error.rs+15-8
- pg-core/src/lib.rs+2
- pg-ffi/CHANGELOG.md+6
- pg-ffi/Cargo.toml+2-2
- pg-pkg/CHANGELOG.md+21
- pg-pkg/Cargo.toml+6-7
- pg-pkg/src/generate.rs+2-2
- pg-pkg/src/handlers/key.rs+2-2
- pg-pkg/src/handlers/start.rs+102-19
- pg-pkg/src/util.rs+26-28
- pg-wasm/Cargo.toml+1-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
90 | 101 | | |
91 | 102 | | |
92 | 103 | | |
| |||
0 commit comments