This commit is contained in:
Maurus Decimus
2026-05-20 08:35:02 +02:00
parent e9f9d81866
commit d59ea4dfc4
4 changed files with 86 additions and 60 deletions

View File

@@ -6,7 +6,7 @@ edition = "2024"
[features]
#default = ["sqlite", "postgres", "mysql", "rocks", "s3", "redis", "nats", "azure", "foundationdb"]
#default = ["sqlite", "postgres", "mysql", "rocks", "s3", "redis", "foundationdb"]
default = ["rocks"]
default = ["rocks", "sqlite"]
sqlite = ["store/sqlite", "directory/sqlite"]
foundationdb = ["store/foundation", "common/foundation"]
postgres = ["store/postgres", "directory/postgres"]

View File

@@ -195,8 +195,45 @@ pub async fn test(test: &TestServer) {
"urn:ietf:params:jmap:filenode": {
"maxFileNodeDepth": null,
"maxSizeFileNodeName": 255,
"fileNodeQuerySortOptions": [],
"mayCreateTopLevelFileNode": true
"forbiddenNameChars": "/<>:\"\\|?*",
"forbiddenNodeNames": [
".",
"..",
"CON",
"PRN",
"AUX",
"NUL",
"COM0",
"COM1",
"COM2",
"COM3",
"COM4",
"COM5",
"COM6",
"COM7",
"COM8",
"COM9",
"LPT0",
"LPT1",
"LPT2",
"LPT3",
"LPT4",
"LPT5",
"LPT6",
"LPT7",
"LPT8",
"LPT9"
],
"fileNodeQuerySortOptions": [
"name",
"size",
"nodeType"
],
"mayCreateTopLevelFileNode": true,
"caseInsensitiveNames": false,
"webTrashUrl": null,
"webUrlTemplate": null,
"webWriteUrlTemplate": null
},
"urn:ietf:params:jmap:mail:share": {},
"urn:stalwart:jmap": {}

View File

@@ -82,7 +82,7 @@ pub async fn test(test: &TestServer) {
..Default::default()
})]),
aliases: List::from_iter([EmailAlias {
name: "!invalid".to_string(),
name: "inva..lid".to_string(),
domain_id,
enabled: true,
..Default::default()