Page MenuHomePhorge
Feed All Stories

Jul 3 2025

machniak added a comment to D5436: flat_mode for kolab4.

We should make this new code consistent with kolab_sync_storage_kolab4::folders_list(). You can find there how we handle special folders type. kolab_storage::folders_typedata() should not be used.

Jul 3 2025, 12:43 PM
mollekopf added a comment to D5445: Mark devices as broken.

This is how outlook looks once we block the device (as you can see it enters "Disconnected/Getrennt" state).

image.png (1,782×1,003 px, 64 KB)

Jul 3 2025, 12:42 PM
mollekopf updated the diff for D5436: flat_mode for kolab4.

Separate kolab4 implementation

Jul 3 2025, 12:33 PM
machniak added a comment to D5445: Mark devices as broken.

I don't see how you unset the "broken" state. You said that when you reset Outlook according to your manual it will use the same device identifier. How it will unlock itself then? A test would be nice.

Jul 3 2025, 12:06 PM
mollekopf added inline comments to D5448: Show broken state in Activesync UI.
Jul 3 2025, 12:05 PM
machniak added a comment to D5448: Show broken state in Activesync UI.

Makes sense.

Jul 3 2025, 11:57 AM
mollekopf updated the diff for D5445: Mark devices as broken.

Handle blocking of devices via config option

Jul 3 2025, 11:44 AM
mollekopf added a reviewer for D5448: Show broken state in Activesync UI: Syncroton Developers.

Clearly with room for improvement, but this gets the job done.
I'm open to some easy to implement suggestions, as I'm not very familiar with registering new forms (which is why I'm hijacking the subscriptions list).

Jul 3 2025, 11:25 AM
mollekopf added a reviewer for D5445: Mark devices as broken: Syncroton Developers.

My plan is to deploy this, review which devices get marked as broken, and only then start failing requests early.

Jul 3 2025, 11:23 AM
mollekopf requested review of D5448: Show broken state in Activesync UI.
Jul 3 2025, 11:22 AM
mollekopf updated the diff for D5445: Mark devices as broken.

mysql.initial version

Jul 3 2025, 10:44 AM
mollekopf requested review of D5445: Mark devices as broken.
Jul 3 2025, 10:39 AM
machniak closed D5376: Include shared folders and resources when looking for a mail recipient.
Jul 3 2025, 10:10 AM
machniak committed rK5cb409aa607f: Include shared folders and resources when looking for a mail recipient.
Jul 3 2025, 10:10 AM
machniak accepted D5439: Make sure we always get the correct data for a FolderSync..
Jul 3 2025, 10:09 AM
machniak accepted D5442: Ping retry counter.
Jul 3 2025, 8:56 AM
mollekopf added inline comments to D5436: flat_mode for kolab4.
Jul 3 2025, 8:44 AM
machniak added inline comments to D5427: Slim down number of wallet check jobs.
Jul 3 2025, 8:44 AM
machniak requested changes to D5436: flat_mode for kolab4.
Jul 3 2025, 8:26 AM
mollekopf accepted D5376: Include shared folders and resources when looking for a mail recipient.
Jul 3 2025, 8:24 AM
machniak added inline comments to D5427: Slim down number of wallet check jobs.
Jul 3 2025, 8:16 AM
mollekopf added a reviewer for D5442: Ping retry counter: Syncroton Developers.

Basically the same as we do for FolderSync, but useful for loops that don't report changes on FolderSync (and thus get no counting), or for loops that don't include FolderSync at all.

Jul 3 2025, 8:10 AM
mollekopf added a reviewer for D5439: Make sure we always get the correct data for a FolderSync.: Syncroton Developers.
Jul 3 2025, 8:09 AM
mollekopf added a reviewer for D5436: flat_mode for kolab4: Syncroton Developers.

Seems to work for the delegation case.

Jul 3 2025, 8:08 AM
mollekopf added inline comments to D5427: Slim down number of wallet check jobs.
Jul 3 2025, 8:08 AM
machniak accepted D5430: Sleep when a client keeps resending the same FolderSync request..
Jul 3 2025, 8:08 AM
mollekopf requested review of D5442: Ping retry counter.
Jul 3 2025, 8:05 AM
mollekopf requested review of D5439: Make sure we always get the correct data for a FolderSync..
Jul 3 2025, 8:05 AM
mollekopf requested review of D5436: flat_mode for kolab4.
Jul 3 2025, 8:05 AM
mollekopf updated the diff for D5430: Sleep when a client keeps resending the same FolderSync request..

Return a 503 and sleep, because the 503 doesn't actually seem to stop the client.

Jul 3 2025, 8:05 AM

Jul 2 2025

machniak requested review of D5433: Make sure that user data is deleted in user:force-delete command.
Jul 2 2025, 1:19 PM
mollekopf added inline comments to D5430: Sleep when a client keeps resending the same FolderSync request..
Jul 2 2025, 12:09 PM
machniak added inline comments to D5430: Sleep when a client keeps resending the same FolderSync request..
Jul 2 2025, 12:00 PM
mollekopf added a comment to D5430: Sleep when a client keeps resending the same FolderSync request..

If we assume 1 request per device per second and an average execution time of 1s, then we'd reduce our capacity by ~11 by making all requests take 11s, because all processing slots in php-fpm will be occupied.
So while this should work well for protecting e.g. imap from getting overloaded, we may introduce another bottleneck....

Jul 2 2025, 11:28 AM
mollekopf added a reviewer for D5430: Sleep when a client keeps resending the same FolderSync request.: Syncroton Developers.
Jul 2 2025, 11:20 AM
mollekopf requested review of D5430: Sleep when a client keeps resending the same FolderSync request..
Jul 2 2025, 11:18 AM
machniak added a comment to D5427: Slim down number of wallet check jobs.

This may not be a big win because non-owner users do have meet room entitlements in their wallets. Hopefully abusers never visited the Video chat page in dashboard, i.e. the entitlement wasn't created for them.

Jul 2 2025, 10:38 AM
machniak committed rK0d614824b30c: Skip shared folders namespace in IMAP::unshareFolders().
Jul 2 2025, 10:32 AM
machniak committed rK16c1906f1922: Fix Roundcube::createDelegatedIdentities() so it does not create duplicates.
Jul 2 2025, 10:14 AM
machniak committed rRPK4cbdc933cdb0: Calendar: Don't display errors in UI if freebusy is disabled.
Jul 2 2025, 8:52 AM
machniak committed rRPK7681c16dde02: Kolab: Fix setting a delegation context for an invitation message.
Jul 2 2025, 8:32 AM

Jul 1 2025

mollekopf committed rRPKbb7e211d1b46: Outlook can't deal with Spam or Junk Email re-enabled either..
Jul 1 2025, 2:49 PM
machniak updated the diff for D5427: Slim down number of wallet check jobs.
  • Fix test regression
Jul 1 2025, 11:11 AM
machniak requested review of D5427: Slim down number of wallet check jobs.
Jul 1 2025, 10:53 AM
mollekopf committed rRPK094ea588671c: Anchor the pattern os we don't match subfolders if we don't intend to.
Jul 1 2025, 10:03 AM
machniak requested review of D5424: Add `user:resync --deleted-only` to the schedule.
Jul 1 2025, 9:23 AM
mollekopf closed D5421: Debug message to explain why a change has been detected.
Jul 1 2025, 8:50 AM
mollekopf closed D5418: Count FolderSync retries, and warn after 10 failures.
Jul 1 2025, 8:50 AM
mollekopf committed rS149185894023: Count FolderSync retries, and warn after 10 failures.
Jul 1 2025, 8:50 AM
mollekopf committed rS59e08a3f0c8f: Debug message to explain why a change has been detected.
Jul 1 2025, 8:50 AM
mollekopf committed rSfebdd60e334e: php8 compat.
Jul 1 2025, 8:50 AM
mollekopf committed rS092430556bc7: Test activesync_force_subscriptions.
Jul 1 2025, 8:50 AM
machniak closed D5412: Allow distribution list creation for email that existed before.
Jul 1 2025, 8:03 AM
machniak committed rKe77a421f6699: Allow distribution list creation for email that existed before.
Jul 1 2025, 8:03 AM
machniak closed D5409: Silently exit a job on "object already deleted" case, unify behvior across all jobs.
Jul 1 2025, 8:03 AM
machniak committed rKaff681f9686d: Silently exit a job on "object already deleted" case, unify behvior across all….
Jul 1 2025, 8:03 AM
machniak closed D5403: Password expiration.
Jul 1 2025, 8:03 AM
machniak closed D5415: Add support for --with-deleted option in scalpel:*:read commands.
Jul 1 2025, 8:03 AM
machniak committed rK09867f493e1f: Add support for --with-deleted option in scalpel:*:read commands.
Jul 1 2025, 8:03 AM
machniak committed rK51913a95f935: Password expiration.
Jul 1 2025, 8:03 AM
machniak accepted D5421: Debug message to explain why a change has been detected.
Jul 1 2025, 5:11 AM
machniak accepted D5418: Count FolderSync retries, and warn after 10 failures.

Probably 5 instead of 10 would be enough.

Jul 1 2025, 5:11 AM

Jun 30 2025

mollekopf accepted D5409: Silently exit a job on "object already deleted" case, unify behvior across all jobs.
Jun 30 2025, 7:43 PM
mollekopf updated the diff for D5421: Debug message to explain why a change has been detected.

Ensure we match servids and not parent ids.

Jun 30 2025, 7:13 PM
mollekopf updated the diff for D5418: Count FolderSync retries, and warn after 10 failures.

Initial log message as info, cleanup of the counterNext situation

Jun 30 2025, 7:06 PM
mollekopf closed D5406: activesync_force_subscriptionstate support.
Jun 30 2025, 7:04 PM
mollekopf committed rRPK66c3a62aef58: Support for activesync_force_subscriptions.
Jun 30 2025, 7:04 PM
mollekopf added inline comments to D5418: Count FolderSync retries, and warn after 10 failures.
Jun 30 2025, 6:37 PM
mollekopf added inline comments to D5418: Count FolderSync retries, and warn after 10 failures.
Jun 30 2025, 6:34 PM
machniak requested changes to D5418: Count FolderSync retries, and warn after 10 failures.
Jun 30 2025, 4:22 PM
machniak requested changes to D5421: Debug message to explain why a change has been detected.
Jun 30 2025, 4:04 PM
machniak accepted D5406: activesync_force_subscriptionstate support.
Jun 30 2025, 3:59 PM
mollekopf accepted D5412: Allow distribution list creation for email that existed before.

Looks like it's at least the same logic as before.

Jun 30 2025, 3:49 PM
mollekopf added inline comments to D5412: Allow distribution list creation for email that existed before.
Jun 30 2025, 3:40 PM
mollekopf accepted D5403: Password expiration.
Jun 30 2025, 3:35 PM
mollekopf accepted D5415: Add support for --with-deleted option in scalpel:*:read commands.
Jun 30 2025, 3:33 PM
mollekopf added a reviewer for D5418: Count FolderSync retries, and warn after 10 failures: Syncroton Developers.

This will turn a read-only operation into an UPDATE query, and the getting the abstraction lasagna to execute the update query is fairly messy, but I suppose it's still worth it unless there's a better approach.

Jun 30 2025, 3:19 PM
mollekopf added a reviewer for D5421: Debug message to explain why a change has been detected: Syncroton Developers.

Makes it a lot easier to see what's happening.

Jun 30 2025, 3:17 PM
mollekopf requested review of D5421: Debug message to explain why a change has been detected.
Jun 30 2025, 3:15 PM
mollekopf requested review of D5418: Count FolderSync retries, and warn after 10 failures.
Jun 30 2025, 3:10 PM
mollekopf updated the diff for D5406: activesync_force_subscriptionstate support.

Merge the two config options

Jun 30 2025, 3:01 PM
machniak committed rKd1fbb62e3571: Fix labels order on the All Users chart.
Jun 30 2025, 1:14 PM
mollekopf committed rK1902738c64a3: Make sure we have a valid php.ini during build.
Jun 30 2025, 11:54 AM
mollekopf committed rK3d1c1f771385: Make sure we have activesync_storage set for tests.
Jun 30 2025, 11:54 AM
mollekopf committed rK8e3649cf59fd: null and not having the entry is not the same.
Jun 30 2025, 11:54 AM
mollekopf committed rKbab92f6ac1b1: Fixed database seed.
Jun 30 2025, 11:54 AM
machniak requested review of D5415: Add support for --with-deleted option in scalpel:*:read commands.
Jun 30 2025, 9:52 AM

Jun 27 2025

machniak committed rRPK3babbf5d5ace: Fix phpunit.xml.
Jun 27 2025, 12:49 PM
machniak committed rRPKf1c621911716: Kolab: Add X-Client-IP header to the Cockpit API requests.
Jun 27 2025, 12:38 PM
machniak added a comment to D5406: activesync_force_subscriptionstate support.

We already have $config['activesync_force_subscriptions'] in the kolab_activesync plugin. It would make sense to de-duplicate.

How do we deduplicate accross plugin boundaries?

Jun 27 2025, 11:38 AM
mollekopf added a comment to D5406: activesync_force_subscriptionstate support.

We already have $config['activesync_force_subscriptions'] in the kolab_activesync plugin. It would make sense to de-duplicate.

Jun 27 2025, 11:32 AM
machniak committed rK8e9c5f28a6d8: Add missing test user cleanup.
Jun 27 2025, 10:24 AM
machniak requested review of D5412: Allow distribution list creation for email that existed before.
Jun 27 2025, 9:54 AM
machniak added a comment to D5406: activesync_force_subscriptionstate support.

We already have $config['activesync_force_subscriptions'] in the kolab_activesync plugin. It would make sense to de-duplicate.

Jun 27 2025, 9:01 AM
machniak requested review of D5409: Silently exit a job on "object already deleted" case, unify behvior across all jobs.
Jun 27 2025, 7:40 AM

Jun 26 2025

mollekopf added a comment to D5406: activesync_force_subscriptionstate support.

My outlook is in a state where enabling the Calendar will break FolderSync because of the Add, but disabling the Calendar will result in a sync loop via Ping because the Calendar is not available.

Jun 26 2025, 3:48 PM
mollekopf added a comment to D5406: activesync_force_subscriptionstate support.

I think a problem with this will be that if you have an existing outlook, but the Calendar has been disabled on the server, then enabling it will trigger an "Add" for the Calendar, which Outlook doesn't like, so I'm not sure how to reconcile that.
Perhaps we need to suppress the Add for folders that are supposed to be always enabled.

Jun 26 2025, 3:46 PM
mollekopf added a reviewer for D5406: activesync_force_subscriptionstate support: Roundcube Kolab Plugins Developers.

Tested via test in syncroton repository where I nuke all subscriptions and make sure we still get the expected default folders in FolderSync.

Jun 26 2025, 3:33 PM
mollekopf requested review of D5406: activesync_force_subscriptionstate support.
Jun 26 2025, 3:32 PM
machniak closed D5400: Stats: Added 'suspended' line on the All users chart.
Jun 26 2025, 1:30 PM