[horde] Multiple calendar support
Andreas Mauser
andreas at mauser.info
Sun Mar 22 08:08:29 UTC 2015
Good Morning Mike,
----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
Datum: Sat, 21 Mar 2015 23:45:10 -0400
Von: Michael J Rubinsky <mrubinsk at horde.org>
Antwort an: mrubinsk at horde.org
Betreff: Re: [horde] Multiple calendar support
An: Andreas Mauser <andreas at mauser.info>
> Quoting Andreas Mauser <andreas at mauser.info>:
>
>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>> Datum: Sat, 21 Mar 2015 15:26:23 -0400
>> Von: Michael J Rubinsky <mrubinsk at horde.org>
>> Antwort an: mrubinsk at horde.org
>> Betreff: Re: [horde] Multiple calendar support
>> An: horde at lists.horde.org
>>
>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>
>>>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>>>> Datum: Sat, 21 Mar 2015 14:45:32 -0400
>>>> Von: Michael J Rubinsky <mrubinsk at horde.org>
>>>> Antwort an: mrubinsk at horde.org
>>>> Betreff: Re: [horde] Multiple calendar support
>>>> An: horde at lists.horde.org
>>>>
>>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org>
---------
>>>>>> Datum: Sat, 21 Mar 2015 14:18:49 -0400
>>>>>> Von: Michael J Rubinsky <mrubinsk at horde.org>
>>>>>> Antwort an: mrubinsk at horde.org
>>>>>> Betreff: Re: [horde] Multiple calendar support
>>>>>> An: horde at lists.horde.org
>>>>>>
>>>>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>>>>
>>>>>>>> Hi Team and community,
>>>>>>>>
>>>>>>>> when I create another calendar in Kronolith.
>>>>>>>> And in the settings check the box for more calendar.
>>>>>>>> And choose both calendars for sync...
>>>>>>>>
>>>>>>>> ..should the client not sync both calendars automatically, or do
>>>>>>>> I need
>>>>>>>> to
>>>>>>>> recreate account, or anything?
>>>>>>>
>>>>>>> If the client supports multiple collections, it should. However,
>>>>>>> there
>>>>>>> are many clients that do NOT support this. The ones we know about
>>>>>>> (and
>>>>>>> are able to detect) are forced to "multiplex" the collections
>>>>>>> together
>>>>>>> so all events from all of your calendars will appear on a single
>>>>>>> calendar on the client.
>>>>>>
>>>>>> If you get a log from me can you make it force multiplex then?
>>>>>>
>>>>>>> If you look at your ActiveSync device settings in the prefs (or on
>>>>>>> the
>>>>>>> admin page) you will see a value named "Forced Multiplex Value" (or
>>>>>>> similar). This is a bit mask that identifies what collections are
>>>>>>> being
>>>>>>> forced to a single collection on the client.
>>>>>>
>>>>>> I can confirm that my client doesnt seem to use this forced
>>>>>> multiplex. I can see that with other of my devices, not with this
>>>>>> partuclar one.
>>>>>>
>>>>>>> What client are you using?
>>>>>>
>>>>>> This is Renovate Milestone 5, Android 4.4.4, HTC Sense 6, and I
>>>>>> believe its booting with Android 5 but am not sure (they say
>>>>>> something on xda-dev)
>>>>>>
>>>>>> The client itself is Calengoo, which is using the internal android
>>>>>> calendar, and the exchange account I created.
>>>>>>
>>>>>> Thank you,
>>>>>> Andreas
>>>>>
>>>>> Yes, if I can find some way to sniff out this particular client I
>>>>> can try to force it. FWIW, this is what the
>>>>> activesync_device_modify hook is for - for those clients that don't
>>>>> play nicely with others and are not already dealt with in the stock
>>>>> code.
>>>>
>>>> Okay, so
>>>> 1, I could fix it myself with the hook if I would know how to find
>>>> out after which string to look?
>>>> 2, You would need a sync log from me? A full (huge file) or just a
>>>> snap?
>>>
>>> I basically need the data from the DEVICEINFORMATION and the User
>>> Agent etc... Most of this is also listed on the device information
>>> prefs page.
>>
>> When I go to the Activesync Page I can read:
>>
XXXXXXXXXXXXXXXXXXXX
>>
>> What do you mean with the device information prefs page. I did not find
>> more information ad hoc?
>
> That's the page I meant. It's available under both Administration and
> Prefs.
>
> Is this a stock setup or a custom/modified rom?
>
> If it's a stock client, I can add something in code. In the meantime,
> you can test this by checking for the userAgent property in the hook.
> E.g.,
>
> <code>
>
> if ($device->userAgent == 'HTC-EAS-HTCOneM8') {
> $device->multiplex = Horde_ActiveSync_Device::MULTIPLEX_NOTES
|
> Horde_ActiveSync_Device::MULTIPLEX_CONTACTS |
> Horde_ActiveSync_Device::MULTIPLEX_CALENDAR |
> Horde_ActiveSync_Device::MULTIPLEX_TASKS;
> }
>
> // Be sure to return the device object regardless.
> return $device;
> </code>
It will be the first hook I ever place.
I found the imp/config/hooks.php file and had a look in the hooks dist file.
Where would I correctly put your code?
Thank you,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 3871 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <http://lists.horde.org/archives/horde/attachments/20150322/fee3c33d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20150322/fee3c33d/attachment-0001.bin>
More information about the horde
mailing list