Skip to content

Commit

Permalink
v0.11.0-pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Dec 29, 2024
1 parent 4a7524c commit c34f80c
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 58 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stalwart Labs Ltd. <hello@stalw.art>"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
repository = "https://github.com/stalwartlabs/cli"
homepage = "https://github.com/stalwartlabs/cli"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
readme = "README.md"
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "common"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/directory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "directory"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/imap-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imap_proto"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/imap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imap"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/jmap-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jmap_proto"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/jmap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jmap"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
21 changes: 1 addition & 20 deletions crates/jmap/src/api/management/spam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

use std::{net::IpAddr, sync::Arc};

use common::{
auth::AccessToken, config::spamfilter::SpamFilterAction, scripts::ScriptModification, Server,
};
use common::{auth::AccessToken, config::spamfilter::SpamFilterAction, Server};
use directory::{
backend::internal::manage::{self, ManageDirectory},
Permission,
Expand Down Expand Up @@ -36,23 +34,6 @@ use super::{
troubleshoot::{AuthResult, DmarcPolicy},
};

#[derive(Debug, serde::Serialize)]
#[serde(tag = "action")]
#[serde(rename_all = "lowercase")]
pub enum Response {
Accept {
modifications: Vec<ScriptModification>,
},
Replace {
message: String,
modifications: Vec<ScriptModification>,
},
Reject {
reason: String,
},
Discard,
}

pub trait ManageSpamHandler: Sync + Send {
fn handle_manage_spam(
&self,
Expand Down
2 changes: 1 addition & 1 deletion crates/main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://stalw.art"
keywords = ["imap", "jmap", "smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/managesieve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "managesieve"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/nlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nlp"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/pop3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pop3"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/smtp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://stalw.art/smtp"
keywords = ["smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/spam-filter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spam-filter"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "store"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/trc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trc"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/trc/event-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "event_macro"
version = "0.10.7"
version = "0.11.0"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utils"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/utils/proc-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "proc_macros"
version = "0.10.7"
version = "0.11.0"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tests"
version = "0.10.7"
version = "0.11.0"
edition = "2021"
resolver = "2"

Expand Down

0 comments on commit c34f80c

Please sign in to comment.