CalDAV Scheduling - part 6

This commit is contained in:
mdecimus
2025-06-21 19:53:23 +02:00
parent 068457ea87
commit 367ddeeae4
24 changed files with 869 additions and 73 deletions

View File

@@ -228,7 +228,7 @@ pub(super) async fn build_scheduling_resources(
cache.paths.insert(path);
cache
.resources
.push(resource_from_scheduling(document_id, false));
.push(resource_from_scheduling(document_id, is_container));
}
Ok(cache)
@@ -360,7 +360,7 @@ pub(super) fn path_from_scheduling(
}
} else {
DavPath {
path: format!("inbox/{document_id}"),
path: format!("inbox/{document_id}.ics"),
parent_id: Some(SCHEDULE_INBOX_ID),
hierarchy_seq: 0,
resource_idx,

View File

@@ -414,7 +414,7 @@ impl ItipIngest for Server {
let todo = "use templates";
Ok(format!(
"RSVP response recorded: {}",
"RSVP response recorded: {summary:?} {}",
rsvp.partstat.as_str()
))
} else {

View File

@@ -142,7 +142,7 @@ pub enum ItipError {
AutoAddDisabled,
}
#[derive(rkyv::Archive, rkyv::Deserialize, rkyv::Serialize)]
#[derive(Debug, rkyv::Archive, rkyv::Deserialize, rkyv::Serialize)]
pub struct ItipMessage<T> {
pub method: ICalendarMethod,
pub from: String,