From 2176ad6ca20bc32a75397d10824b1560cb5a2475 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Fri, 14 Oct 2022 17:38:22 +1300 Subject: [PATCH 1/3] Update API query parameters for search --- docs/apiv1/Search.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/apiv1/Search.md b/docs/apiv1/Search.md index cf4c4fb..f2c7aa2 100644 --- a/docs/apiv1/Search.md +++ b/docs/apiv1/Search.md @@ -4,7 +4,7 @@ **Method** : `GET` -The search returns up to 200 of the most recent matches, and does not support pagination or limits. +The search returns the most recent matches (default 50). Matching messages are returned in the order of latest received to oldest. @@ -62,8 +62,8 @@ Matching messages are returned in the order of latest received to oldest. - `total` - Total messages in mailbox (all messages, not search) - `unread` - Total unread messages in mailbox (all messages, not search) -- `count` - Number of messages returned in request (up to 200 for search) -- `start` - Always 0 (offset in search is unsupported) +- `count` - Number of messages returned in request +- `start` - The offset (default `0`) for pagination - `From` - Singular Name & Address, or null if none - `To`, `CC`, `BCC` - Array of Name & Address, or null if none - `Size` - Total size of raw email in bytes From b1027ca844ab276192c75e7659474e6f7941f3b0 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 14 Oct 2022 20:00:46 +0200 Subject: [PATCH 2/3] Bugfix: Fix mail download link --- server/ui-src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/ui-src/App.vue b/server/ui-src/App.vue index 6d191ef..0ebdadb 100644 --- a/server/ui-src/App.vue +++ b/server/ui-src/App.vue @@ -532,7 +532,7 @@ export default { :href="'#'+messagePrev" title="View previous message"> - Download From 614b63cf284731459001c07068defd465c547158 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 15 Oct 2022 09:02:16 +1300 Subject: [PATCH 3/3] Release 1.2.4 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b42bed9..7b40d22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Notable changes to Mailpit will be documented in this file. +## 1.2.4 + +### Bugfix +- Fix mail download link + + ## 1.2.3 ### API