CalDAV und CardDAV Berechtigungen

Deutsches Benutzerforum

CalDAV und CardDAV Berechtigungen

Postby TTX.eXe » Sat Sep 08, 2012 8:22 am

Hallo zusammen :)

ich setze seit ein paar Wochen nun emClient in Verbindung mit Tine ein, synce den Kalender und die Kontakte damit. Problem ist nur das Tine dem Client verbietet Einträge zu speichern oder zu erstellen. Wie kann man das ändern :)
User avatar
TTX.eXe
Tine 2.0 Community Contributor
 
Posts: 241
Joined: Thu Mar 17, 2011 5:05 pm
Location: BaWü

Re: CalDAV und CardDAV Berechtigungen

Postby ph_il » Mon Sep 10, 2012 12:46 pm

da müsstest du selbst in der datei Calendar/Convert/Event/VCalendar/Factory.php (bzw. Addressbook/Convert/Contact/VCard/Factory.php) hand anlegen und deinen client da hinzufügen. alle ausser dem generic client dürfen aktualisieren.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3450
Joined: Fri Mar 07, 2008 11:41 am

Re: CalDAV und CardDAV Berechtigungen

Postby TTX.eXe » Mon Sep 17, 2012 8:22 am

Bekommt man irgendwo raus wie der aktuelle client sich nennt, oder gegen Tine anmeldet?
User avatar
TTX.eXe
Tine 2.0 Community Contributor
 
Posts: 241
Joined: Thu Mar 17, 2011 5:05 pm
Location: BaWü

Re: CalDAV und CardDAV Berechtigungen

Postby ph_il » Mon Sep 17, 2012 12:50 pm

wenn du dein log auf DEBUG stellst, sollte irgendwo was mit "parseUserAgent" stehen.

da gibts eine log-ausgabe in dieser form: " $_userAgent -> backend: $backend version: $version"
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3450
Joined: Fri Mar 07, 2008 11:41 am

Re: CalDAV und CardDAV Berechtigungen

Postby Berlin2.0 » Wed Oct 31, 2012 3:44 pm

Hallo,

ich habe auch das Problem, dass die Carddav Synchronisation nicht in beiden Richtungen geht: immer nur eine Richtung von Tine >> Android (bzw Thunderbird).

Auch ich werde bei Android von der App bereits beim Einrichten der Synchronisation darauf hingewiesen, dass ich keinen Schreibzugriff auf die Kontakte habe.
Beim Thunderbird ist das Häckchen für den beidseitigen Sync ausgegraut.

Ich würde auch sie Script-Dateien anpassen, wenn ich genau wüsste wie ;)

Ich habe den Carddav-Sync eingerichtet für Android (mit CardDAV-Sync Beta) und für Thunderbird (mit Invers SOGo-Connector 10.0.3).

Folgende User Agents laut Log-Datei:

user agent: CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip
und
user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8


Ich dank Euch für eine Hilfe!
Berlin2.0
 
Posts: 8
Joined: Fri Oct 26, 2012 12:25 pm

Re: CalDAV und CardDAV Berechtigungen

Postby ph_il » Thu Nov 01, 2012 1:04 pm

du könntest zum testen auch einfach erstmal alle clients so wie den thunderbird behandeln (k.a. ob das unproblematisch ist ... ;)

dazu einfach in der zeile 93 (Calendar/Convert/Event/VCalendar/Factory.php)

Code: Select all
$backend = Calendar_Convert_Event_VCalendar_Factory::CLIENT_GENERIC;


durch

Code: Select all
$backend = Calendar_Convert_Event_VCalendar_Factory::CLIENT_THUNDERBIRD;


ersetzen.

ich weiss nun nicht, ob die version auch gebraucht wird. hilft wohl nur ausprobieren, bzw. code lesen ... :D

das analoge muss dann noch für den Addressbook sync gemacht werden.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3450
Joined: Fri Mar 07, 2008 11:41 am

Re: CalDAV und CardDAV Berechtigungen

Postby Berlin2.0 » Thu Nov 01, 2012 6:50 pm

Ne, so bekomme ich auch keine Schreibrechte.

Habe jetzt versucht:

Code: Select all
//$backend = Addressbook_Convert_Contact_VCard_Factory::CLIENT_GENERIC;
$backend = Addressbook_Convert_Contact_VCard_Factory::CLIENT_ THUNDERBIRD;


und:

Code: Select all
//$backend = Addressbook_Convert_Contact_VCard_Factory::CLIENT_GENERIC;
$backend = Addressbook_Convert_Contact_VCard_Factory::CLIENT_SOGO;


Aber ich bekomme dadurch keinen Schreibzugriff.
Berlin2.0
 
Posts: 8
Joined: Fri Oct 26, 2012 12:25 pm

Re: CalDAV und CardDAV Berechtigungen

Postby ph_il » Mon Nov 05, 2012 12:07 pm

hm, was steht denn dann im logfile? das könnte einen hinweis auf weitere stellen geben, die geändert werden müssen.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3450
Joined: Fri Mar 07, 2008 11:41 am

Re: CalDAV und CardDAV Berechtigungen

Postby Berlin2.0 » Mon Nov 05, 2012 7:32 pm

So, ich habe inzwischen ein Uodate von Milan auf Joey auf Joey gemacht.

Jetzt finde ich trotz Debug-Level beim Logging den Eintrag zum "user agent:" gar nicht mehr im Log... Komisch...

Hier einfach mal ein ganzer Block aus dem Logfile.

Code: Select all
 4d829 -- none -- - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_Server_WebDAV::handle::47 is CalDav, CardDAV or WebDAV request.
4d829 -- none -- - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Auth::setBackend::258 authentication backend: Sql
4d829 -- none -- - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Auth::authenticate::192 Trying to authenticate berlin20
4d829 -- none -- - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_Auth::authenticate::205 Authentication of berlin20 succeeded
4d829 -- none -- - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_User::setBackendType::234 Setting backend type to Sql
4d829 -- none -- - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_User::getInstance::137 accounts backend: Sql
4d829 -- none -- - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_User::factory::195 Created user backend of type Sql
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::978 given localeString 'auto'
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Translation::getLocale::204 given localeString 'auto'
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Translation::getLocale::216 'en' is not supported, checking fallback
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Translation::getLocale::239 selected locale: 'en'
4d829 berlin20 - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_Core::setupUserLocale::1017 Setting user locale: en
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Group::getInstance::71 groups backend: Sql
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1029 Setting CTYPE locale from "C" to "en_US.UTF8".
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::create::415 Create new Tinebase_Model_AccessLog
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Addressbook_Frontend_CardDAV::getChild::58 path: 953d58e0a82b14f68ecebef339f6ffc4ed862f72 name: 7
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Addressbook_Frontend_CardDAV::getChild::58 path: 953d58e0a82b14f68ecebef339f6ffc4ed862f72 name: 7
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
4d829 berlin20 - 2012-11-05T17:21:04+00:00 INFO (6): Tinebase_Controller_Record_Abstract::update::612 Update Tinebase_Model_AccessLog
4d829 berlin20 - 2012-11-05T17:21:04+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::_updateACLCheck::674 Doing ACL check ...
4d829 berlin20 - 2012-11-05T17:21:04+00:00 INFO (6): index.php (36) METHOD: Tinebase_Server_WebDAV::PROPFIND / TIME: 1.3262639045715 seconds / MEMORY: 10 MBytes / REALPATHCACHESIZE: 16319
Berlin2.0
 
Posts: 8
Joined: Fri Oct 26, 2012 12:25 pm

Re: CalDAV und CardDAV Berechtigungen

Postby Berlin2.0 » Mon Nov 05, 2012 7:40 pm

Ok, beim Synchronisieren mit Thunderbird via SOGo 10.0.3 kommt der "userr agent:" doch:

Code: Select all
37773 -- none -- - 2012-11-05T17:33:44+00:00 INFO (6): Tinebase_Server_WebDAV::handle::47 is CalDav, CardDAV or WebDAV request.
37773 -- none -- - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Auth::setBackend::258 authentication backend: Sql
37773 -- none -- - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Auth::authenticate::192 Trying to authenticate berlin20
37773 -- none -- - 2012-11-05T17:33:44+00:00 INFO (6): Tinebase_Auth::authenticate::205 Authentication of berlin20 succeeded
37773 -- none -- - 2012-11-05T17:33:44+00:00 INFO (6): Tinebase_User::setBackendType::234 Setting backend type to Sql
37773 -- none -- - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_User::getInstance::137 accounts backend: Sql
37773 -- none -- - 2012-11-05T17:33:44+00:00 INFO (6): Tinebase_User::factory::195 Created user backend of type Sql
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::978 given localeString 'auto'
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Translation::getLocale::204 given localeString 'auto'
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Translation::getLocale::216 'de_DE' is not supported, checking fallback
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Translation::getLocale::239 selected locale: 'de'
37773 berlin20 - 2012-11-05T17:33:44+00:00 INFO (6): Tinebase_Core::setupUserLocale::1017 Setting user locale: de
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Group::getInstance::71 groups backend: Sql
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1029 Setting CTYPE locale from "C" to "en_US.UTF8".
37773 berlin20 - 2012-11-05T17:33:44+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::create::415 Create new Tinebase_Model_AccessLog
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Frontend_CardDAV::getChild::58 path: 953d58e0a82b14f68ecebef339f6ffc4ed862f72 name: 7
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Frontend_CardDAV::getChild::58 path: 953d58e0a82b14f68ecebef339f6ffc4ed862f72 name: 7
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::302 Loading all configs for app Addressbook
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::309 Found 1 configs.
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Config::getConfig::656 Overwriting config setting "mapPanel" with value from config.inc.php.
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Controller_Contact::__construct::50 Mappanel/geoext/nominatim disabled with config option.
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Addressbook_Convert_Contact_VCard_Factory::parseUserAgent::72 user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 Lightning/1.8
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::288 Using application name is deprecated. Please use the classname of the model or the class itself.
37773 berlin20 - 2012-11-05T17:33:45+00:00 INFO (6): Tinebase_Controller_Record_Abstract::update::612 Update Tinebase_Model_AccessLog
37773 berlin20 - 2012-11-05T17:33:45+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::_updateACLCheck::674 Doing ACL check ...
37773 berlin20 - 2012-11-05T17:33:45+00:00 INFO (6): index.php (36) METHOD: Tinebase_Server_WebDAV::PROPFIND / TIME: 1.4425220489502 seconds / MEMORY: 11 MBytes / REALPATHCACHESIZE: 16319
Berlin2.0
 
Posts: 8
Joined: Fri Oct 26, 2012 12:25 pm

Next

Return to Deutsch [German]

Who is online

Users browsing this forum: Google [Bot] and 25 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »