Page MenuHomePhorge
Feed Search

May 2 2025

mollekopf updated the diff for D5226: Make sure we always have at least a name in the contact.

Just check if there is anything in the contact, it shouldn't matter what.

May 2 2025, 1:45 AM
mollekopf updated the diff for D5226: Make sure we always have at least a name in the contact.

The empty string works and is rendered as "Name is unavailable" in Outlook.

May 2 2025, 1:37 AM

May 1 2025

mollekopf added a comment to D5223: Handle folder removals on sync key resend.

Wouldn't it be easier to remember which folder is missing in Sync/Ping (e.g. using cache) and then in FolderSync treat it as deleted?

May 1 2025, 4:20 PM
mollekopf added a comment to D5226: Make sure we always have at least a name in the contact.

Maybe setting it to an empty string would work, but we're ignoring such values on our side (AXMLEntry::appendXML()), so we'd have to change how we handle empty strings. Maybe it was a problem for the original Syncroton authors implementation, but I think this change should be safe for us. So, I'd propose to try this first.

May 1 2025, 4:06 PM
mollekopf added inline comments to D5229: Fix email address syncing with dav backend.
May 1 2025, 3:53 PM
mollekopf added a comment to D5229: Fix email address syncing with dav backend.

The Kolab3 XML objects are read like this:

$emails = $this->obj->emailAddresses();
if ($emails instanceof vectoremail) {
    $emailtypes = array_flip($this->emailtypes);
    for ($i = 0; $i < $emails->size(); $i++) {
        $email = $emails->get($i);
        $object['email'][] = ['address' => $email->address(), 'type' => $emailtypes[$email->types()]];
    }
} else {
    $object['email'] = self::vector2array($emails);
}

but Kolab4 vCards are read using rcube_vcard::get_assoc(), so the output is different. We have to support both. And looking at the code it seems that writing is also broken. I can work on this.

May 1 2025, 3:52 PM
mollekopf added a comment to D5229: Fix email address syncing with dav backend.

The writing side currently crashes for similar reasons I think (we insert an array where a string would be expected).

May 1 2025, 3:47 AM
mollekopf added a comment to D5229: Fix email address syncing with dav backend.

I think on the reading side the problem is that we get:

May 1 2025, 3:46 AM
mollekopf added a reviewer for D5229: Fix email address syncing with dav backend: Syncroton Developers.
May 1 2025, 3:43 AM
mollekopf requested review of D5229: Fix email address syncing with dav backend.
May 1 2025, 3:42 AM

Apr 30 2025

mollekopf added a reviewer for D5226: Make sure we always have at least a name in the contact: Syncroton Developers.
Apr 30 2025, 5:14 PM
mollekopf requested review of D5226: Make sure we always have at least a name in the contact.
Apr 30 2025, 5:14 PM
mollekopf added a reviewer for D5223: Handle folder removals on sync key resend: Syncroton Developers.

I'm aware that we're not actually taking the is_deleted flag into account anywhere, but I haven't found a place where it matters yet.

Apr 30 2025, 2:58 PM
mollekopf requested review of D5223: Handle folder removals on sync key resend.
Apr 30 2025, 2:56 PM

Apr 29 2025

mollekopf committed rP70ed855c7fca: Can't encode a binary.
Apr 29 2025, 3:37 PM

Apr 24 2025

mollekopf accepted D5214: DAV Facade.
Apr 24 2025, 9:08 AM

Apr 19 2025

mollekopf accepted D4686: Subscriptions engine.
Apr 19 2025, 2:28 AM
mollekopf abandoned D5190: Skip folder tests that don't work in the containers.
Apr 19 2025, 2:25 AM
mollekopf committed rScf37d42b4c44: Get FolderTest to pass.
Apr 19 2025, 2:15 AM
mollekopf closed D5187: Clear caches so we can detect new folders.
Apr 19 2025, 2:15 AM
mollekopf committed rS0b20b674125c: Fixed analyzelogs extraction regex after change of debug message.
Apr 19 2025, 2:15 AM
mollekopf committed rS056e00cd8096: Force default folders to be always subscribed.
Apr 19 2025, 2:15 AM
mollekopf closed D5193: Force default folders to be always subscribed.
Apr 19 2025, 2:15 AM
mollekopf committed rS5dbe9ecc84fe: Clear caches so we can detect new folders.
Apr 19 2025, 2:15 AM
mollekopf closed D5184: Sleep after the loop so we can respond immediately.
Apr 19 2025, 2:15 AM
mollekopf committed rSa6d45341475d: Sleep after the loop so we can respond immediately.
Apr 19 2025, 2:15 AM

Apr 18 2025

mollekopf requested changes to D4686: Subscriptions engine.

I think kolab_subscriptions.php is missing?
We should probably just get this merged, but it would be nice if we could fall-back to the metadata value for a seamless upgrade path (not sure what the current state is).

Apr 18 2025, 5:20 PM
mollekopf abandoned D5211: Get redis cache clearing to work.
Apr 18 2025, 5:00 PM
mollekopf updated the diff for D5187: Clear caches so we can detect new folders.

Cache clearing works now

Apr 18 2025, 4:51 PM
mollekopf committed R113:bfd0a4adfaf6: Support configuring the oauth redirect uri.
Apr 18 2025, 4:45 PM
mollekopf committed R113:a04e5fe89d47: Avoid reparenting special folders..
Apr 18 2025, 4:45 PM
mollekopf committed R113:72fd8f7332ae: Log exceptions to stdout also with the logfmt driver.
Apr 18 2025, 4:44 PM
mollekopf committed R113:2be2b1822b5d: logfmt stdout logger.
Apr 18 2025, 4:44 PM
mollekopf committed R113:880f8b653bd1: Also print an error on E_COMPILE_ERROR.
Apr 18 2025, 4:44 PM
mollekopf committed R113:2e61770bd2e3: php8 warning.
Apr 18 2025, 4:44 PM
mollekopf committed R113:6d7461bbe3d8: per_user_logging for stdout logging.
Apr 18 2025, 4:44 PM
mollekopf committed R113:bd99f89be5c1: Add a backtrace when an exception is raised so we know where it.
Apr 18 2025, 4:44 PM
mollekopf committed R113:d616e697da7e: php8 compat.
Apr 18 2025, 4:44 PM
mollekopf committed R113:12d34757c6c1: Do not log deprecation messages no production systems.
Apr 18 2025, 4:44 PM
mollekopf committed R113:8a25d57336e7: php8 compat.
Apr 18 2025, 4:44 PM
mollekopf committed R113:370ddd0f07c0: php8 compat.
Apr 18 2025, 4:44 PM
mollekopf committed R113:f97e02f0049c: Optimize fetchPartBody() for huge results w/o formatting and decoding (authored by machniak).
Apr 18 2025, 4:44 PM
mollekopf committed R113:42968c046e99: kolab skin updates.
Apr 18 2025, 4:44 PM
mollekopf committed R113:da48bf12165d: Fixed managesieve.js.
Apr 18 2025, 4:44 PM
mollekopf committed R113:923915745211: Don't log an imap authentication error when log_logins=true (authored by machniak).
Apr 18 2025, 4:44 PM
mollekopf committed R113:68fb8d8a0c7d: Added the kolab skin because the other repo is not publicly available.
Apr 18 2025, 4:44 PM
mollekopf committed R113:648f0cb6c50d: php8 compat.
Apr 18 2025, 4:44 PM
mollekopf committed R113:b10cc3cb17e3: Update changelog (authored by machniak).
Apr 18 2025, 4:44 PM
mollekopf committed R113:edb262482c5b: CS fixes, update changelog (authored by machniak).
Apr 18 2025, 4:44 PM
mollekopf committed R113:e3da525d6b26: Introduce optional support to inject PROXY protocol headers after.
Apr 18 2025, 4:44 PM
mollekopf committed R113:447f7041fdcd: Add a warning regarding implicit ssl.
Apr 18 2025, 4:44 PM
mollekopf committed R113:8f74781861e0: Added a composer.json.
Apr 18 2025, 4:44 PM
mollekopf committed R113:e5fb140988cb: Enigma: WOAT Support (#8626).
Apr 18 2025, 4:44 PM
mollekopf committed R113:9af1c575871f: Use rcube_utils::remote_addr() to take HTTP_X_FORWARDED_FOR into account.
Apr 18 2025, 4:44 PM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 10:54 AM
mollekopf added a reviewer for D5211: Get redis cache clearing to work: machniak.
Apr 18 2025, 10:22 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 10:22 AM
mollekopf requested review of D5211: Get redis cache clearing to work.
Apr 18 2025, 10:20 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 9:54 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 9:46 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 9:44 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 18 2025, 9:22 AM
mollekopf accepted D5208: Add more facades for backend classes.
Apr 18 2025, 9:08 AM
mollekopf added inline comments to D5202: IMAP and LDAP Facades (mocking).
Apr 18 2025, 8:56 AM
mollekopf accepted D5205: Webmail configuration API.

Looks good. For the theme / logo we'll have to contemplate where to store the actual image/theme. I could see it being an http link to with the backend being s3 or cephfs. I suppose for the image that would just work, and for the theme we would require some caching logic to download the theme as required.

Apr 18 2025, 8:54 AM
mollekopf accepted D5202: IMAP and LDAP Facades (mocking).

Looks good apart from the comment.

Apr 18 2025, 8:45 AM
mollekopf added inline comments to D5202: IMAP and LDAP Facades (mocking).
Apr 18 2025, 8:44 AM
mollekopf abandoned D5196: Test caching in Ping.
Apr 18 2025, 8:40 AM
mollekopf updated the diff for D5187: Clear caches so we can detect new folders.

This now properly tests the metadata cache issue.

Apr 18 2025, 1:56 AM

Apr 16 2025

mollekopf updated the diff for D5184: Sleep after the loop so we can respond immediately.

We either have time left to sleep, or we break. So no point in having the min anymore.

Apr 16 2025, 7:40 AM
mollekopf added inline comments to D5184: Sleep after the loop so we can respond immediately.
Apr 16 2025, 7:36 AM
mollekopf added inline comments to D5184: Sleep after the loop so we can respond immediately.
Apr 16 2025, 7:31 AM
mollekopf updated the diff for D5184: Sleep after the loop so we can respond immediately.

Avoid unnecessary and confusing secondsLeft updates

Apr 16 2025, 7:30 AM
mollekopf added a comment to D5202: IMAP and LDAP Facades (mocking).

I'm going to keep tests against a real backend in tests/Feature/Backends/, where all IMAP methods should have it's test. Also DataMigrator tests and Infrastructure tests will stay this way.

But anywhere else we can use mocking.

Apr 16 2025, 7:18 AM
mollekopf added a comment to D5202: IMAP and LDAP Facades (mocking).

I think this is a good idea. There's always a tradeoff where there is some value in testing against the actual backend vs having a mock + a separate imap backend test. But I think especially we the currently relatively simple interface having a mock makes a lot of sense to make our tests faster and more robust.

Apr 16 2025, 6:55 AM

Apr 14 2025

mollekopf added a comment to D5196: Test caching in Ping.

That's not exactly the same as doing it in another client. I don't like the test code in Ping command code. Maybe create a php script that will sleep for a few seconds and then do the metadata update, which you could call using exec() before the Ping request in the test.

Apr 14 2025, 10:11 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 14 2025, 10:06 AM

Apr 13 2025

mollekopf added a reviewer for D5196: Test caching in Ping: Syncroton Developers.
Apr 13 2025, 4:49 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 13 2025, 4:44 AM
mollekopf requested review of D5196: Test caching in Ping.
Apr 13 2025, 4:39 AM
mollekopf added inline comments to D5184: Sleep after the loop so we can respond immediately.
Apr 13 2025, 3:12 AM
mollekopf updated the diff for D5187: Clear caches so we can detect new folders.

Added some tests

Apr 13 2025, 3:07 AM
mollekopf updated the diff for D5184: Sleep after the loop so we can respond immediately.

Stick to the logic that we only sleep if we have a at least ping-timeout + 10s left.

Apr 13 2025, 3:06 AM

Apr 12 2025

mollekopf added inline comments to D5184: Sleep after the loop so we can respond immediately.
Apr 12 2025, 10:21 AM
mollekopf updated the diff for D5193: Force default folders to be always subscribed.

Adjust the kolab4 implementation as well

Apr 12 2025, 10:15 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 12 2025, 10:03 AM
mollekopf added inline comments to D5187: Clear caches so we can detect new folders.
Apr 12 2025, 9:24 AM

Apr 11 2025

mollekopf added a reviewer for D5184: Sleep after the loop so we can respond immediately: Syncroton Developers.
Apr 11 2025, 3:02 PM
mollekopf added a reviewer for D5193: Force default folders to be always subscribed: Syncroton Developers.
Apr 11 2025, 3:00 PM
mollekopf added a reviewer for D5187: Clear caches so we can detect new folders: Syncroton Developers.
Apr 11 2025, 3:00 PM
mollekopf accepted D5181: Metrics: Improve collectPayersCount() - use transactions instead of payments.
Apr 11 2025, 2:59 PM
mollekopf requested review of D5193: Force default folders to be always subscribed.
Apr 11 2025, 2:58 PM
mollekopf requested review of D5190: Skip folder tests that don't work in the containers.
Apr 11 2025, 2:58 PM
mollekopf requested review of D5187: Clear caches so we can detect new folders.
Apr 11 2025, 2:58 PM
mollekopf requested review of D5184: Sleep after the loop so we can respond immediately.
Apr 11 2025, 2:58 PM

Apr 9 2025

mollekopf accepted D5175: Rate Limit: Check wallet transactions instead of payments.
Apr 9 2025, 3:27 PM
mollekopf accepted D5178: Stats: Make payers count depend on transactions not payments.

I think we'll need the same in the metrics controller.

Apr 9 2025, 3:25 PM

Apr 8 2025

mollekopf archived Zanshin Developers.
Apr 8 2025, 10:39 AM
mollekopf archived Zanshin.
Apr 8 2025, 10:39 AM
mollekopf changed the Can Use Application policy for application Diffusion from All Users to Public (No Login Required).
Apr 8 2025, 10:18 AM