- Apr 16, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
We have special handling for IncompleteSyncException in the controller, but since the exception handling always wrapped the original exception in a service exception, the type cast to the incomplete sync exception didn't work. Now, it just doesn't wrap unless it's something other than a service exception. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Apr 14, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Apr 07, 2020
-
-
Christoph Wurst authored
The initial message sync has to fetch potentially large amounts of data and insert that into the database. To work around limitations with sync requests triggered by web requests the process had already been made interruptable and resumable. This means we never insert all the data right away. Yet, the IMAP code fetched all UIDs before we capped it to a maximum number of results per sync attempt. Depending on the mailbox size this operation could require and allocate a lot of memory. On some setup with lower memory limits, the process was aborted by the web server due to a php memory exhaustion. This patch modifies the IMAP code to optimize the memory usage by limiting the amount of data that is fetched with each initial sync attempt. The algorithm works as follows. IMAP allows us to search in a range with a lower an upper bound UID. While we know the highest known UID from the current cache values, we can't derive the range for the next page from that as UIDs are not continuous but might have holes due to deleted messages. If we assume that messages of a mailbox are roughly distributed equally across the assigned UIDs we can guess the max UID for the next range. So we ask the server for min and max UIDs. The min or our known highest UID is always the lower bound. Then we can calculate the distribution rate from the min, max and number of messages and build the upper bound. On everage this will fetch about the expected number of messages. It could be more, but it could also be less. It shouldn't matter in most cases. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Apr 01, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 26, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 25, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 24, 2020
-
-
Cyrille Bollu authored
Signed-off-by:
Cyrille Bollu <cyrpub@bollu.be> Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at> Co-authored-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 23, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 20, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
* Remove the heavy-weight virtual flagged mailbox * Implement a favorites inbox as a simple filtered view * Refactor the sync logic so it work with filtered mailboxes Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 03, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 26, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 24, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 11, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 10, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 06, 2020
-
-
Christoph Wurst authored
* Query IMAP only if necessary * Fix pagination (when IMAP results are used) * Fix CC and BCC search queries Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Feb 03, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Jan 31, 2020
-
-
Christoph Wurst authored
Co-authored-by:
Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Jan 22, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Jan 21, 2020
-
-
Christoph Wurst authored
* Fix input value selection * Fix folders flattening in store * Force resync after adding a folder Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Jan 15, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Jan 09, 2020
-
-
Boris Fritscher authored
Signed-off-by:
Boris Fritscher <boris@fritscher.ch>
-
- Jan 08, 2020
-
-
Boris Fritscher authored
By adding a new GroupService implementation and copying some code of the ContactsIntegration.php Signed-off-by:
Boris Fritscher <boris@fritscher.ch>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 17, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 16, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 09, 2019
-
-
Christoph Wurst authored
Passwords can't just be `null` but also an empty string. The code did not handle that properly. Now checking against `emtpy` so both `null` and `''` trigger shortcut evaluation and prevent decrypring of an invalid value. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 06, 2019
-
-
Christoph Wurst authored
As a precaution for the database message cache it make sense to have a CLI command to diagnose the capabilities and size of an IMAP account in case of slow or failing syncs. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 04, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Nov 21, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Oct 29, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Oct 28, 2019
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-