Updated dependencies

This commit is contained in:
mdecimus
2025-10-20 19:44:32 +02:00
parent ce836216a4
commit f6f5d18d68
26 changed files with 148 additions and 297 deletions

View File

@@ -320,9 +320,6 @@ pub async fn test(params: &mut JMAPTest) {
"participants/7f2bd210-6c66-5b64-8562-0176b74462b1": {
"calendarAddress": "mailto:rupert@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "needs-action"
}
}),
@@ -418,7 +415,6 @@ pub async fn test(params: &mut JMAPTest) {
"calendarAddress": "mailto:cyrus@example.com",
"@type": "Participant",
"roles": {
"attendee": true,
"owner": true
},
"participationStatus": "accepted"
@@ -426,9 +422,6 @@ pub async fn test(params: &mut JMAPTest) {
"7f2bd210-6c66-5b64-8562-0176b74462b1": {
"calendarAddress": "mailto:rupert@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "needs-action"
}
},
@@ -621,7 +614,7 @@ END:VCALENDAR
"iCalComponent": {
"convertedProperties": {
"duration": {
"name": "DTEND"
"name": "dtend"
}
},
"name": "vevent"
@@ -762,7 +755,6 @@ pub fn test_jscalendar_3() -> Value {
"calendarAddress": "mailto:cyrus@example.com",
"@type": "Participant",
"roles": {
"attendee": true,
"chair": true
},
"participationStatus": "accepted"
@@ -770,9 +762,6 @@ pub fn test_jscalendar_3() -> Value {
"ec5e7db5-22a3-5ed5-89bf-c8894ab86805": {
"calendarAddress": "mailto:lisa@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "needs-action"
}
},

View File

@@ -239,7 +239,6 @@ pub async fn test(params: &mut JMAPTest) {
"calendarAddress": "mailto:jdoe@example.com",
"@type": "Participant",
"roles": {
"attendee": true,
"chair": true
},
"participationStatus": "accepted"
@@ -247,18 +246,12 @@ pub async fn test(params: &mut JMAPTest) {
"a0171748-fe8d-57d8-879e-56036a5251d1": {
"calendarAddress": "mailto:jane.smith@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "accepted",
"kind": "individual"
},
"86720268-d67c-58c3-9217-03df7d7ee4d8": {
"calendarAddress": "mailto:bill@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"kind": "individual",
"participationStatus": "accepted"
}
@@ -301,7 +294,6 @@ pub async fn test(params: &mut JMAPTest) {
"calendarAddress": "mailto:jdoe@example.com",
"@type": "Participant",
"roles": {
"attendee": true,
"chair": true
},
"participationStatus": "accepted"
@@ -309,18 +301,12 @@ pub async fn test(params: &mut JMAPTest) {
"a0171748-fe8d-57d8-879e-56036a5251d1": {
"calendarAddress": "mailto:jane.smith@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "declined",
"kind": "individual"
},
"86720268-d67c-58c3-9217-03df7d7ee4d8": {
"calendarAddress": "mailto:bill@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"kind": "individual",
"participationStatus": "accepted"
}
@@ -421,7 +407,6 @@ fn test_event() -> Value {
"calendarAddress": "mailto:jdoe@example.com",
"participationStatus": "accepted",
"roles": {
"attendee": true,
"chair": true
},
"@type": "Participant"
@@ -429,9 +414,6 @@ fn test_event() -> Value {
"a0171748-fe8d-57d8-879e-56036a5251d1": {
"calendarAddress": "mailto:jane.smith@example.com",
"@type": "Participant",
"roles": {
"attendee": true
},
"participationStatus": "needs-action",
"kind": "individual"
},
@@ -439,9 +421,6 @@ fn test_event() -> Value {
"calendarAddress": "mailto:bill@example.com",
"participationStatus": "needs-action",
"@type": "Participant",
"roles": {
"attendee": true
},
"kind": "individual"
}
},

View File

@@ -387,7 +387,7 @@ END:VCARD"#
"vCard": {
"properties": [
[
"VERSION",
"version",
{},
"unknown",
"4.0"
@@ -1178,7 +1178,7 @@ LANG;TYPE=WORK;PREF=1;PROP-ID=k1:en
LANG;TYPE=WORK;PREF=2;PROP-ID=k2:fr
FN:Sarah O'Connor
N;JSCOMPS=";0;1;2;3;4":O'Connor;Sarah;Marie;Dr.;Ph.D.;;
KEY;TYPE=pgp;PROP-ID=k1:https://pgp.example.com/pks/lookup?op=get&search=sar
KEY;TYPE=PGP;PROP-ID=k1:https://pgp.example.com/pks/lookup?op=get&search=sar
ah.johnson@example.com
CATEGORIES:Work,Research,VIP
BDAY;PROP-ID=k1:19850415
@@ -1187,14 +1187,14 @@ URL;TYPE=WORK;PROP-ID=k1:https://www.example.com/staff/sjohnson
URL;TYPE=HOME;PROP-ID=k2:https://www.sarahjohnson.example.com
ORG;PROP-ID=k1:Acme Technologies Inc.;Research Department
EMAIL;TYPE=WORK;PROP-ID=k1:sarah.johnson@example.com
EMAIL;TYPE=HOME,pref;PROP-ID=k2:sarahjpersonal@example.com
TEL;TYPE=pref,CELL,VOICE;PROP-ID=k1:+1-555-123-4567
EMAIL;TYPE=HOME,PREF;PROP-ID=k2:sarahjpersonal@example.com
TEL;TYPE=PREF,CELL,VOICE;PROP-ID=k1:+1-555-123-4567
TEL;TYPE=WORK,VOICE;PROP-ID=k2:+1-555-987-6543
TEL;TYPE=HOME,VOICE;PROP-ID=k3:+1-555-456-7890
ADR;TYPE=WORK;LABEL="123 Business Ave\nSuite 400\nNew York, NY 10001\nUSA";
TZ=Etc/GMT+5;GEO="40.7128;-74.0060";PROP-ID=k1;JSCOMPS=";11;3;4;5;6":;;123 B
usiness Ave;New York;NY;10001;USA;;;;;123 Business Ave;;;;;;
ADR;TYPE=HOME,pref;LABEL="456 Residential St\nApt 7B\nBrooklyn, NY 11201\nU
ADR;TYPE=HOME,PREF;LABEL="456 Residential St\nApt 7B\nBrooklyn, NY 11201\nU
SA";PROP-ID=k2;JSCOMPS=";11;3;4;5;6":;;456 Residential St;Brooklyn;NY;11201;
USA;;;;;456 Residential St;;;;;;
TITLE;PROP-ID=k1:Senior Research Scientist

View File

@@ -49,7 +49,6 @@ pub async fn test(params: &mut JMAPTest) {
"myRights": {
"mayRead": true,
"mayWrite": true,
"mayDelete": true,
"mayShare": true
},
"shareWith": {}
@@ -115,7 +114,6 @@ pub async fn test(params: &mut JMAPTest) {
&jane_id : {
"mayRead": true,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
}
}
@@ -140,7 +138,6 @@ pub async fn test(params: &mut JMAPTest) {
"myRights": {
"mayRead": true,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
}
}));
@@ -182,13 +179,11 @@ pub async fn test(params: &mut JMAPTest) {
"oldRights": {
"mayRead": false,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
},
"newRights": {
"mayRead": true,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
},
"name": null
@@ -227,7 +222,6 @@ pub async fn test(params: &mut JMAPTest) {
&john_folder_id,
json!({
format!("shareWith/{jane_id}/mayWrite"): true,
format!("shareWith/{jane_id}/mayDelete"): true,
}),
)],
Vec::<(&str, &str)>::new(),
@@ -252,7 +246,6 @@ pub async fn test(params: &mut JMAPTest) {
"myRights": {
"mayRead": true,
"mayWrite": true,
"mayDelete": true,
"mayShare": false
}
}));
@@ -294,13 +287,11 @@ pub async fn test(params: &mut JMAPTest) {
"oldRights": {
"mayRead": true,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
},
"newRights": {
"mayRead": true,
"mayWrite": true,
"mayDelete": true,
"mayShare": false
},
"name": null
@@ -429,13 +420,11 @@ pub async fn test(params: &mut JMAPTest) {
"oldRights": {
"mayRead": true,
"mayWrite": true,
"mayDelete": true,
"mayShare": false
},
"newRights": {
"mayRead": false,
"mayWrite": false,
"mayDelete": false,
"mayShare": false
},
"name": null
@@ -448,7 +437,7 @@ pub async fn test(params: &mut JMAPTest) {
&john_folder_id,
json!({
format!("shareWith/{jane_id}/mayRead"): true,
format!("shareWith/{jane_id}/mayDelete"): true,
format!("shareWith/{jane_id}/mayWrite"): true,
}),
)],
Vec::<(&str, &str)>::new(),

View File

@@ -80,7 +80,7 @@ async fn jmap_tests() {
server::webhooks::test(&mut params).await;
mail::get::test(&mut params).await;
/*mail::get::test(&mut params).await;
mail::set::test(&mut params).await;
mail::parse::test(&mut params).await;
mail::query::test(&mut params, delete).await;
@@ -116,7 +116,7 @@ async fn jmap_tests() {
files::acl::test(&mut params).await;
calendar::calendars::test(&mut params).await;
calendar::event::test(&mut params).await;
calendar::event::test(&mut params).await;*/
calendar::notification::test(&mut params).await;
calendar::alarm::test(&mut params).await;

View File

@@ -114,7 +114,7 @@ pub async fn test(params: &mut JMAPTest) {
"urn:ietf:params:jmap:sieve": {
"maxSizeScriptName": 512,
"maxSizeScript": 1048576,
"maxNumberScripts": 256,
"maxNumberScripts": 100,
"maxNumberRedirects": 1,
"sieveExtensions": [
"body",