Page MenuHomePhorge

Required changes for EWS import, including email
ClosedPublic

Authored by mollekopf on Oct 10 2024, 10:17 AM.
Tags
None
Referenced Files
F18499274: D4995.diff
Fri, Feb 14, 7:15 PM
Unknown Object (File)
Tue, Feb 11, 6:43 AM
Unknown Object (File)
Sat, Feb 8, 1:07 AM
Unknown Object (File)
Sat, Feb 8, 1:07 AM
Unknown Object (File)
Sat, Feb 8, 1:07 AM
Unknown Object (File)
Sat, Feb 8, 1:07 AM
Unknown Object (File)
Fri, Feb 7, 11:56 PM
Unknown Object (File)
Tue, Jan 28, 2:59 PM
Subscribers

Details

Summary

EWS: Skip "Aufgabensuche"

--folder-mapping support for migrate command

migrator Further folders to skip / search depth=infinity for iRony compat

Email migration from EWS to IMAP

Subscribe to new folders

Add a filename to calendar attachments

After creating a folder there may be a delay until the folder becomes available.

EWS: Skip "Aufgabensuche"

--folder-mapping support for migrate command

migrator Further folders to skip / search depth=infinity for iRony compat

Email migration from EWS to IMAP

Subscribe to new folders

Add a filename to calendar attachments

Handle an odd case where we get ATTACH parts in ORGANIZER

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf edited the summary of this revision. (Show Details)

Cleanup

mollekopf added a reviewer: Restricted Project.Oct 10 2024, 10:29 AM

This diff consists of multiple commits that I've used for the migration. Since we're already using it like this I'd like to mostly just get it merged, but I'm open to small adjustments (the rest we can improve later on IMO).

src/app/DataMigrator/DAV.php
349 ↗(On Diff #14295)

For new folders it can take a moment for them to appear.

mollekopf retitled this revision from After creating a folder there may be a delay until the folder becomes available. to Required changes for EWS import, including email.Oct 10 2024, 10:30 AM
machniak subscribed.

It's good enough, but I added some comments.

src/app/DataMigrator/DAV.php
187 ↗(On Diff #14295)

Will that not fetch the items from subfolders?

src/app/DataMigrator/EWS/Appointment.php
64

Maybe the preg_replace() above is wrong and is causing this missing end-line issue.

src/app/DataMigrator/Engine.php
119 ↗(On Diff #14295)

This is fragile and can catch folders that should not be mapped. We should do proper equality and prefix matching.

This revision is now accepted and ready to land.Oct 10 2024, 10:55 AM