[PR #232] Add autoconfigure feature for Kolab users #457

Open
opened 2026-02-25 20:31:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aluxnimm/outlookcaldavsynchronizer/pull/232
Author: @fjl5
Created: 5/25/2018
Status: 🔄 Open

Base: masterHead: master


📝 Commits (10+)

  • 3c2db69 Implement autoconfiguration for Kolab
  • d47203e Avoid exception if CalDav server is not reachable and trivial cleanup
  • 6f97c8b Merge changes from CalDavSynchronizer 3.1.1
  • 47ce498 Handle read-only, LDAP-based address books: Sync from server to outlook
  • 0a6c450 Set free/busy URL in Kolab autoconfiguration
  • bf3d598 Initialize LDAP-based GAL as default address list and make sure all new address books are visible as address list
  • f91817b Merge remote-tracking branch 'upstream/master'
  • 108f465 Generalize detection of read-only resources by using CalDAV/CardDAV acl property
  • f4032bd Make sync settings visible to user
  • 0f01e51 Sync CalDAV default folder with Outlook default folder

📊 Changes

30 files changed (+804 additions, -50 deletions)

View changed files

📝 CalDavSynchronizer/CalDavSynchronizer.csproj (+7 -1)
📝 CalDavSynchronizer/ComponentContainer.cs (+329 -0)
📝 CalDavSynchronizer/Contracts/GeneralOption.cs (+1 -0)
📝 CalDavSynchronizer/DataAccess/AddressBookData.cs (+3 -1)
📝 CalDavSynchronizer/DataAccess/CalDavDataAccess.cs (+12 -2)
📝 CalDavSynchronizer/DataAccess/CalendarData.cs (+5 -1)
📝 CalDavSynchronizer/DataAccess/CardDavDataAccess.cs (+3 -1)
📝 CalDavSynchronizer/DataAccess/GeneralOptionsDataAccess.cs (+3 -1)
📝 CalDavSynchronizer/DataAccess/TaskListData.cs (+3 -1)
📝 CalDavSynchronizer/DataAccess/WebDavDataAccess.cs (+42 -0)
📝 CalDavSynchronizer/Globalization/StringResources.de-DE.resx (+27 -0)
📝 CalDavSynchronizer/Globalization/StringResources.ru-RU.resx (+3 -0)
📝 CalDavSynchronizer/Properties/Resources.Designer.cs (+61 -1)
📝 CalDavSynchronizer/Properties/Resources.resx (+18 -0)
CalDavSynchronizer/Resources/AddressbookReadOnly.gfie (+0 -0)
CalDavSynchronizer/Resources/AddressbookReadOnly.ico (+0 -0)
CalDavSynchronizer/Resources/AddressbookReadWrite.gfie (+0 -0)
CalDavSynchronizer/Resources/AddressbookReadWrite.ico (+0 -0)
CalDavSynchronizer/Resources/CalendarReadOnly.gfie (+0 -0)
CalDavSynchronizer/Resources/CalendarReadOnly.ico (+0 -0)

...and 10 more files

📄 Description

When using Outlook as a Kolab client, the average user will expect new calendars and address books to show in Outlook without manual intervention. This pull request adds such a feature: It is only enabled if the registry key HKEY_CURRENT_USER\Software\CalDavSynchronizer\AutoconfigureKolab is set to 1, so CalDavSynchronizer will not change its default behaviour. Setting this key would typically be done by the Sysadmin when installing CalDavSynchronizer and/or setting up the Kolab IMAP account. A trivial kolab.reg file to add the key would be:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\CalDavSynchronizer]
"AutoconfigureKolab"=dword:00000001

Features added

  • Autoconfigure happens when outlook (re)starts:
    • Create outlook folders and sync profiles for every new CalDAV / CardDAV resource (resources without a synchronization profile). Existing sync profiles are not changed.
    • Rename existing outlook folders when the CalDAV / CardDAV resource is no longer available. We don't delete the folder as it might contain new data from the user (client side).
  • Kolab can share the GAL (global address list) as a read-only CardDAV resource:
    • In this case, only sync from server to client.
    • Use the GAL as default address list. This only happens on newly detected GALs, so the user can still change that setting.
  • Add free/busy URL to Outlook settings. Please note that by default, Kolab only provides this data to local networks.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aluxnimm/outlookcaldavsynchronizer/pull/232 **Author:** [@fjl5](https://github.com/fjl5) **Created:** 5/25/2018 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`3c2db69`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/3c2db6962cf594e4c46c92c977729458363941bd) Implement autoconfiguration for Kolab - [`d47203e`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/d47203ee8fd18fd7e17079ed507c938a6d7e8b19) Avoid exception if CalDav server is not reachable and trivial cleanup - [`6f97c8b`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/6f97c8b909f37b69bc2182fe2a6c840ed2c43199) Merge changes from CalDavSynchronizer 3.1.1 - [`47ce498`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/47ce49873061dbdef12bd906017719c169d7a97e) Handle read-only, LDAP-based address books: Sync from server to outlook - [`0a6c450`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/0a6c450ee874a04303a916bd43e331e967978e1a) Set free/busy URL in Kolab autoconfiguration - [`bf3d598`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/bf3d598462d1d7e788c95daa785b98e35d7fc3a3) Initialize LDAP-based GAL as default address list and make sure all new address books are visible as address list - [`f91817b`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/f91817b1c18acf07733e09f739589b54bc416716) Merge remote-tracking branch 'upstream/master' - [`108f465`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/108f465bd41644de480f676a7919e5d0d53eb1b2) Generalize detection of read-only resources by using CalDAV/CardDAV acl property - [`f4032bd`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/f4032bd9d5524e32d4757345d51e26346dd64d5b) Make sync settings visible to user - [`0f01e51`](https://github.com/aluxnimm/outlookcaldavsynchronizer/commit/0f01e511f3c3bc489a375ed9db88f6cda24340d9) Sync CalDAV default folder with Outlook default folder ### 📊 Changes **30 files changed** (+804 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `CalDavSynchronizer/CalDavSynchronizer.csproj` (+7 -1) 📝 `CalDavSynchronizer/ComponentContainer.cs` (+329 -0) 📝 `CalDavSynchronizer/Contracts/GeneralOption.cs` (+1 -0) 📝 `CalDavSynchronizer/DataAccess/AddressBookData.cs` (+3 -1) 📝 `CalDavSynchronizer/DataAccess/CalDavDataAccess.cs` (+12 -2) 📝 `CalDavSynchronizer/DataAccess/CalendarData.cs` (+5 -1) 📝 `CalDavSynchronizer/DataAccess/CardDavDataAccess.cs` (+3 -1) 📝 `CalDavSynchronizer/DataAccess/GeneralOptionsDataAccess.cs` (+3 -1) 📝 `CalDavSynchronizer/DataAccess/TaskListData.cs` (+3 -1) 📝 `CalDavSynchronizer/DataAccess/WebDavDataAccess.cs` (+42 -0) 📝 `CalDavSynchronizer/Globalization/StringResources.de-DE.resx` (+27 -0) 📝 `CalDavSynchronizer/Globalization/StringResources.ru-RU.resx` (+3 -0) 📝 `CalDavSynchronizer/Properties/Resources.Designer.cs` (+61 -1) 📝 `CalDavSynchronizer/Properties/Resources.resx` (+18 -0) ➕ `CalDavSynchronizer/Resources/AddressbookReadOnly.gfie` (+0 -0) ➕ `CalDavSynchronizer/Resources/AddressbookReadOnly.ico` (+0 -0) ➕ `CalDavSynchronizer/Resources/AddressbookReadWrite.gfie` (+0 -0) ➕ `CalDavSynchronizer/Resources/AddressbookReadWrite.ico` (+0 -0) ➕ `CalDavSynchronizer/Resources/CalendarReadOnly.gfie` (+0 -0) ➕ `CalDavSynchronizer/Resources/CalendarReadOnly.ico` (+0 -0) _...and 10 more files_ </details> ### 📄 Description When using Outlook as a Kolab client, the average user will expect new calendars and address books to show in Outlook without manual intervention. This pull request adds such a feature: It is **only** enabled if the registry key `HKEY_CURRENT_USER\Software\CalDavSynchronizer\AutoconfigureKolab` is set to `1`, so CalDavSynchronizer will not change its default behaviour. Setting this key would typically be done by the Sysadmin when installing CalDavSynchronizer and/or setting up the Kolab IMAP account. A trivial `kolab.reg` file to add the key would be: ```INI Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\CalDavSynchronizer] "AutoconfigureKolab"=dword:00000001 ``` Features added --------------------- * Autoconfigure happens when outlook (re)starts: - Create outlook folders and sync profiles for every new CalDAV / CardDAV resource (resources without a synchronization profile). Existing sync profiles are not changed. - Rename existing outlook folders when the CalDAV / CardDAV resource is no longer available. We don't delete the folder as it might contain new data from the user (client side). * Kolab can share the GAL (global address list) as a read-only CardDAV resource: - In this case, only sync from server to client. - Use the GAL as default address list. This only happens on newly detected GALs, so the user can still change that setting. * Add free/busy URL to Outlook settings. Please note that by default, Kolab only provides this data to local networks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#457
No description provided.