[ADD] caldav : documentation for synchronization
authorThibault Francois <tfr@openerp.com>
Fri, 7 Jan 2011 10:38:24 +0000 (11:38 +0100)
committerThibault Francois <tfr@openerp.com>
Fri, 7 Jan 2011 10:38:24 +0000 (11:38 +0100)
bzr revid: tfr@openerp.com-20110107103824-vmo8eknw94isxjor

addons/caldav/doc/all.rst [new file with mode: 0644]
addons/caldav/doc/caldav_doc.pdf [new file with mode: 0644]
addons/caldav/doc/evolution.rst [new file with mode: 0644]
addons/caldav/doc/iPhone.rst
addons/caldav/doc/makefile [new file with mode: 0644]
addons/caldav/wizard/caldav_browse.py

diff --git a/addons/caldav/doc/all.rst b/addons/caldav/doc/all.rst
new file mode 100644 (file)
index 0000000..98bd3d3
--- /dev/null
@@ -0,0 +1,41 @@
+==========================
+CalDAV How-To
+==========================
+
+
+OpenERP server Setup
+--------------------
+Some modules need to be installed at the OpenERP server. These are:
+    - caldav: Required, has the reference setup and the necessary
+            underlying code. Will also cause document, document_webdav
+            to be installed.
+    - crm_caldav: Optional, will export the CRM Meetings as a calendar.
+    - project_caldav: Optional, will export project tasks as calendar.
+    - http_well_known: Optional, experimental. Will ease bootstrapping,
+            but only when a DNS srv record is also used.
+
+These will also install a reference setup of the folders, ready to go.
+The administrator of OpenERP can add more calendars and structure, if
+needed.
+
+DNS server setup
+------------------
+To be documented.
+
+SSL setup
+----------
+It is highly advisable that you also setup SSL to work for the OpenERP
+server. HTTPS is a server-wide feature in OpenERP, which means a 
+certificate will be set at the openerp-server.conf and will be the same
+for XML-RPC, HTTP, WebDAV and CalDAV.
+The iPhone also supports secure connections with SSL, although it does
+not expect a self-signed certificate (or one that is not verified by
+one of the "big" certificate authorities [1] ).
+
+
+[1] I remember one guy that made *lots* of money selling his CA business
+off, and since then uses this money to create a software monopoly.
+
+
+
+
diff --git a/addons/caldav/doc/caldav_doc.pdf b/addons/caldav/doc/caldav_doc.pdf
new file mode 100644 (file)
index 0000000..a6c840f
--- /dev/null
@@ -0,0 +1,1638 @@
+%PDF-1.3\r
+%\93\8c\8b\9e ReportLab Generated PDF document http://www.reportlab.com\r
+% 'BasicFonts': class PDFDictionary \r
+1 0 obj\r
+% The standard fonts dictionary\r
+<< /F1 2 0 R\r
+ /F2 3 0 R\r
+ /F3 4 0 R\r
+ /F4 5 0 R >>\r
+endobj\r
+% 'F1': class PDFType1Font \r
+2 0 obj\r
+% Font Helvetica\r
+<< /BaseFont /Helvetica\r
+ /Encoding /WinAnsiEncoding\r
+ /Name /F1\r
+ /Subtype /Type1\r
+ /Type /Font >>\r
+endobj\r
+% 'F2': class PDFType1Font \r
+3 0 obj\r
+% Font Helvetica-Bold\r
+<< /BaseFont /Helvetica-Bold\r
+ /Encoding /WinAnsiEncoding\r
+ /Name /F2\r
+ /Subtype /Type1\r
+ /Type /Font >>\r
+endobj\r
+% 'F3': class PDFType1Font \r
+4 0 obj\r
+% Font Times-Roman\r
+<< /BaseFont /Times-Roman\r
+ /Encoding /WinAnsiEncoding\r
+ /Name /F3\r
+ /Subtype /Type1\r
+ /Type /Font >>\r
+endobj\r
+% 'F4': class PDFType1Font \r
+5 0 obj\r
+% Font Helvetica-Oblique\r
+<< /BaseFont /Helvetica-Oblique\r
+ /Encoding /WinAnsiEncoding\r
+ /Name /F4\r
+ /Subtype /Type1\r
+ /Type /Font >>\r
+endobj\r
+% 'Page1': class PDFPage \r
+6 0 obj\r
+% Page dictionary\r
+<< /Contents 30 0 R\r
+ /MediaBox [ 0\r
+ 0\r
+ 595.2756\r
+ 841.8898 ]\r
+ /Parent 29 0 R\r
+ /Resources << /Font 1 0 R\r
+ /ProcSet [ /PDF\r
+ /Text\r
+ /ImageB\r
+ /ImageC\r
+ /ImageI ] >>\r
+ /Rotate 0\r
+ /Trans <<  >>\r
+ /Type /Page >>\r
+endobj\r
+% 'Annot.NUMBER1': class PDFDictionary \r
+7 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (https://my.server.ip:8071/) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 92.69291\r
+ 504.5936\r
+ 208.6562\r
+ 516.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Annot.NUMBER2': class PDFDictionary \r
+8 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (https://my.server.ip:8071/webdav/dbname/calendars) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 85.69291\r
+ 213.5936\r
+ 329.4529\r
+ 225.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Annot.NUMBER3': class PDFDictionary \r
+9 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (https://my.server.ip:8071) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 374.4428\r
+ 213.5936\r
+ 483.9328\r
+ 225.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Annot.NUMBER4': class PDFDictionary \r
+10 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (https://my.server.ip:8071/principals/users/username) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 172.6166\r
+ 189.5936\r
+ 401.5866\r
+ 201.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Annot.NUMBER5': class PDFDictionary \r
+11 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (https://my.server.ip:8071/webdav/dbname/principals/users/username) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 89.24291\r
+ 177.5936\r
+ 394.3629\r
+ 189.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Page2': class PDFPage \r
+12 0 obj\r
+% Page dictionary\r
+<< /Annots [ 7 0 R\r
+ 8 0 R\r
+ 9 0 R\r
+ 10 0 R\r
+ 11 0 R ]\r
+ /Contents 31 0 R\r
+ /MediaBox [ 0\r
+ 0\r
+ 595.2756\r
+ 841.8898 ]\r
+ /Parent 29 0 R\r
+ /Resources << /Font 1 0 R\r
+ /ProcSet [ /PDF\r
+ /Text\r
+ /ImageB\r
+ /ImageC\r
+ /ImageI ] >>\r
+ /Rotate 0\r
+ /Trans <<  >>\r
+ /Type /Page >>\r
+endobj\r
+% 'Annot.NUMBER6': class PDFDictionary \r
+13 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (http://HOST:PORT/webdav/DB_NAME/calendars/users/USER/c/Meetings) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 162.2528\r
+ 561.5936\r
+ 503.8577\r
+ 573.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Annot.NUMBER7': class PDFDictionary \r
+14 0 obj\r
+<< /A << /S /URI\r
+ /Type /Action\r
+ /URI (http://localhost:8069/webdav/db_1/calendars/users/demo/c/Meetings) >>\r
+ /Border [ 0\r
+ 0\r
+ 0 ]\r
+ /Rect [ 118.6929\r
+ 549.5936\r
+ 422.7329\r
+ 561.5936 ]\r
+ /Subtype /Link\r
+ /Type /Annot >>\r
+endobj\r
+% 'Page3': class PDFPage \r
+15 0 obj\r
+% Page dictionary\r
+<< /Annots [ 13 0 R\r
+ 14 0 R ]\r
+ /Contents 32 0 R\r
+ /MediaBox [ 0\r
+ 0\r
+ 595.2756\r
+ 841.8898 ]\r
+ /Parent 29 0 R\r
+ /Resources << /Font 1 0 R\r
+ /ProcSet [ /PDF\r
+ /Text\r
+ /ImageB\r
+ /ImageC\r
+ /ImageI ] >>\r
+ /Rotate 0\r
+ /Trans <<  >>\r
+ /Type /Page >>\r
+endobj\r
+% 'R16': class PDFCatalog \r
+16 0 obj\r
+% Document Root\r
+<< /Outlines 18 0 R\r
+ /PageLabels 33 0 R\r
+ /PageMode /UseNone\r
+ /Pages 29 0 R\r
+ /Type /Catalog >>\r
+endobj\r
+% 'R17': class PDFInfo \r
+17 0 obj\r
+<< /Author ()\r
+ /CreationDate (D:20110107113403-01'00')\r
+ /Keywords ()\r
+ /Producer (ReportLab http://www.reportlab.com)\r
+ /Subject (\(unspecified\))\r
+ /Title () >>\r
+endobj\r
+% 'R18': class PDFOutlines \r
+18 0 obj\r
+<< /Count 12\r
+ /First 19 0 R\r
+ /Last 28 0 R\r
+ /Type /Outlines >>\r
+endobj\r
+% 'Outline.0': class OutlineEntryObject \r
+19 0 obj\r
+<< /Count 3\r
+ /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 765.0236\r
+ 0 ]\r
+ /First 20 0 R\r
+ /Last 22 0 R\r
+ /Next 23 0 R\r
+ /Parent 18 0 R\r
+ /Title (CalDAV How-To) >>\r
+endobj\r
+% 'Outline.11.0': class OutlineEntryObject \r
+20 0 obj\r
+<< /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 732.0236\r
+ 0 ]\r
+ /Next 21 0 R\r
+ /Parent 19 0 R\r
+ /Title (OpenERP server Setup) >>\r
+endobj\r
+% 'Outline.11.1': class OutlineEntryObject \r
+21 0 obj\r
+<< /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 534.0236\r
+ 0 ]\r
+ /Next 22 0 R\r
+ /Parent 19 0 R\r
+ /Prev 20 0 R\r
+ /Title (DNS server setup) >>\r
+endobj\r
+% 'Outline.11.2': class OutlineEntryObject \r
+22 0 obj\r
+<< /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 486.0236\r
+ 0 ]\r
+ /Parent 19 0 R\r
+ /Prev 21 0 R\r
+ /Title (SSL setup) >>\r
+endobj\r
+% 'Outline.1': class OutlineEntryObject \r
+23 0 obj\r
+<< /Count 4\r
+ /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 360.0236\r
+ 0 ]\r
+ /First 24 0 R\r
+ /Last 27 0 R\r
+ /Next 28 0 R\r
+ /Parent 18 0 R\r
+ /Prev 19 0 R\r
+ /Title (CalDAV with iPhone How-To) >>\r
+endobj\r
+% 'Outline.12.0': class OutlineEntryObject \r
+24 0 obj\r
+<< /Dest [ 6 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 243.0236\r
+ 0 ]\r
+ /Next 25 0 R\r
+ /Parent 23 0 R\r
+ /Title (OpenERP server Setup) >>\r
+endobj\r
+% 'Outline.12.1': class OutlineEntryObject \r
+25 0 obj\r
+<< /Dest [ 12 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 729.0236\r
+ 0 ]\r
+ /Next 26 0 R\r
+ /Parent 23 0 R\r
+ /Prev 24 0 R\r
+ /Title (DNS server setup) >>\r
+endobj\r
+% 'Outline.12.2': class OutlineEntryObject \r
+26 0 obj\r
+<< /Dest [ 12 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 681.0236\r
+ 0 ]\r
+ /Next 27 0 R\r
+ /Parent 23 0 R\r
+ /Prev 25 0 R\r
+ /Title (SSL setup) >>\r
+endobj\r
+% 'Outline.12.3': class OutlineEntryObject \r
+27 0 obj\r
+<< /Dest [ 12 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 585.0236\r
+ 0 ]\r
+ /Parent 23 0 R\r
+ /Prev 26 0 R\r
+ /Title (Phone setup) >>\r
+endobj\r
+% 'Outline.2': class OutlineEntryObject \r
+28 0 obj\r
+<< /Dest [ 15 0 R\r
+ /XYZ\r
+ 62.69291\r
+ 705.0236\r
+ 0 ]\r
+ /Parent 18 0 R\r
+ /Prev 23 0 R\r
+ /Title (Synchronization with Evolution's calendar) >>\r
+endobj\r
+% 'R29': class PDFPages \r
+29 0 obj\r
+% page tree\r
+<< /Count 3\r
+ /Kids [ 6 0 R\r
+ 12 0 R\r
+ 15 0 R ]\r
+ /Type /Pages >>\r
+endobj\r
+% 'R30': class PDFStream \r
+30 0 obj\r
+% page stream\r
+<< /Length 7450 >>\r
+stream\r
+1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET\r
+q\r
+1 0 0 1 62.69291 744.0236 cm\r
+q\r
+BT 1 0 0 1 0 8.435 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (CalDAV How-To) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 714.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (OpenERP server Setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 576.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 117 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (Some modules need to be installed at the OpenERP server. These are:) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 104 Tm  T* ET\r
+q\r
+1 0 0 1 10 108 cm\r
+Q\r
+q\r
+1 0 0 1 10 108 cm\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 21 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (caldav: Required, has the reference setup and the necessary) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (underlying code. Will also cause document, document_webdav to be installed.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (crm_caldav: Optional, will export the CRM Meetings as a calendar.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (project_caldav: Optional, will export project tasks as calendar.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 21 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (http_well_known: Optional, experimental. Will ease bootstrapping,) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (but only when a DNS srv record is also used.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 546.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL 1.059986 Tw (These will also install a reference setup of the folders, ready to go. The administrator of OpenERP can) Tj T* 0 Tw (add more calendars and structure, if needed.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 516.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (DNS server setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 498.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (To be documented.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 468.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (SSL setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 402.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 52.82 Tm /F1 10 Tf 12 TL .909987 Tw (It is highly advisable that you also setup SSL to work for the OpenERP server. HTTPS is a server-wide) Tj T* 0 Tw .112339 Tw (feature in OpenERP, which means a certificate will be set at the openerp-server.conf and will be the same) Tj T* 0 Tw 1.645366 Tw (for XML-RPC, HTTP, WebDAV and CalDAV. The iPhone also supports secure connections with SSL,) Tj T* 0 Tw .017356 Tw (although it does not expect a self-signed certificate \(or one that is not verified by one of the "big" certificate) Tj T* 0 Tw (authorities [1] \).) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 372.0236 cm\r
+q\r
+BT 1 0 0 1 0 16.82 Tm 1.298935 Tw 12 TL /F1 10 Tf 0 0 0 rg ([1] I remember one guy that made ) Tj /F4 10 Tf (lots ) Tj /F1 10 Tf (of money selling his CA business off, and since then uses this) Tj T* 0 Tw (money to create a software monopoly.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 339.0236 cm\r
+q\r
+BT 1 0 0 1 0 8.435 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (CalDAV with iPhone How-To) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 309.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL .869213 Tw (As from OpenERP v6.0, document_webdav v2.2, the iPhone has been thoroughly tested and supported) Tj T* 0 Tw (as a Calendaring client for the OpenERP CalDAV module.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 255.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 40.82 Tm /F1 10 Tf 12 TL .312651 Tw (However, keep in mind that OpenERP is not a straightforward calendaring server, but an ERP application) Tj T* 0 Tw .814104 Tw (\(with more data + structure\) which exposes that data to calendar clients. That said, the full features that) Tj T* 0 Tw 1.645984 Tw (would be accessible through the Gtk or Web OpenERP clients cannot be crammed into the Calendar) Tj T* 0 Tw (clients \(such as the iPhone\).) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 225.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (OpenERP server Setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 87.02362 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 117 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (Some modules need to be installed at the OpenERP server. These are:) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 104 Tm  T* ET\r
+q\r
+1 0 0 1 10 108 cm\r
+Q\r
+q\r
+1 0 0 1 10 108 cm\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 21 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (caldav: Required, has the reference setup and the necessary) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (underlying code. Will also cause document, document_webdav to be installed.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+Q\r
+q\r
+1 0 0 1 10 72 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (crm_caldav: Optional, will export the CRM Meetings as a calendar.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (project_caldav: Optional, will export project tasks as calendar.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 21 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (http_well_known: Optional, experimental. Will ease bootstrapping,) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (but only when a DNS srv record is also used.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+Q\r
+Q\r
\r
+endstream\r
+\r
+endobj\r
+% 'R31': class PDFStream \r
+31 0 obj\r
+% page stream\r
+<< /Length 9112 >>\r
+stream\r
+1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET\r
+q\r
+1 0 0 1 62.69291 741.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL 1.059986 Tw (These will also install a reference setup of the folders, ready to go. The administrator of OpenERP can) Tj T* 0 Tw (add more calendars and structure, if needed.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 711.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (DNS server setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 693.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (To be documented.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 663.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (SSL setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 597.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 52.82 Tm /F1 10 Tf 12 TL .909987 Tw (It is highly advisable that you also setup SSL to work for the OpenERP server. HTTPS is a server-wide) Tj T* 0 Tw .112339 Tw (feature in OpenERP, which means a certificate will be set at the openerp-server.conf and will be the same) Tj T* 0 Tw 1.645366 Tw (for XML-RPC, HTTP, WebDAV and CalDAV. The iPhone also supports secure connections with SSL,) Tj T* 0 Tw .017356 Tw (although it does not expect a self-signed certificate \(or one that is not verified by one of the "big" certificate) Tj T* 0 Tw (authorities [1] \).) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 567.0236 cm\r
+q\r
+BT 1 0 0 1 0 7.23 Tm 18 TL /F2 15 Tf 0 0 0 rg (Phone setup) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 537.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL .677988 Tw (The iPhone is fairly easy to setup. IF you need SSL \(and your certificate is not a verified one, as usual\),) Tj T* 0 Tw (then you first will need to let the iPhone trust that. Follow these steps:) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 531.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 459.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 20 30 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 27 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (s1. Open Safari and enter the https location of the OpenERP server:) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 14 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+BT 1 0 0 1 0 16.82 Tm .913314 Tw 12 TL /F1 10 Tf 0 0 .501961 rg (https://my.server.ip:8071/ ) Tj 0 0 0 rg (\(assuming you have the server at "my.server.ip" and the HTTPS port is) Tj T* 0 Tw (the default 8071\)) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 20 0 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (s2. Safari will try to connect and issue a warning about the certificate) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 2 Tm  T* ET\r
+q\r
+1 0 0 1 10 0 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (used. Inspect the certificate and click "Accept" so that iPhone now trusts it.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 459.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 441.0236 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Now, to setup the calendars, you need to:) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 435.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 435.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 417.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (1.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Click on the "Settings" and go to the "Mail, Contacts, Calendars" page.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 417.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 417.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 399.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (2.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Go to "Add account...") Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 399.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 399.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 381.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (3.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Click on "Other") Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 381.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 381.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 363.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (4.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (From the "Calendars" group, select "Add CalDAV Account") Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 363.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 363.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 321.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 27 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (5.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 28.82 Tm /F1 10 Tf 12 TL .475318 Tw (Enter the server's name or IP address at the "Server" entry, the OpenERP username and password) Tj T* 0 Tw 2.729985 Tw (at the next ones. As a description, you can either leave the server's name or something like) Tj T* 0 Tw ("OpenERP calendars".) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 321.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 321.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 291.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (6.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL .286098 Tw (You _will_ get the "Unable to verify account" error message. That is because our server is not at the) Tj T* 0 Tw (port iPhone expects[2]. But no need to worry, click OK.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 291.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 291.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 273.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (7.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (At the next page, enter the "Advanced Settings" to specify the right ports and paths) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 273.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 273.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 255.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (8.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (If you have SSL, turn the switch on. Note that port will be changed to 8443.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 255.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 255.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 237.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (9.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Specify the port for the OpenERP server: 8071 for SSL, 8069 without.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 237.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 237.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 171.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 51 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL .1 0 Td (10.) Tj T* -0.1 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+BT 1 0 0 1 0 52.82 Tm 14.41089 Tw 12 TL /F1 10 Tf 0 0 0 rg (Set the "Account URL" to the right path of the OpenERP webdav:) Tj T* 0 Tw 9.209941 Tw 0 0 .501961 rg (https://my.server.ip:8071/webdav/dbname/calendars ) Tj 0 0 0 rg (Where ") Tj 0 0 .501961 rg (https://my.server.ip:8071) Tj 0 0 0 rg (" is the) Tj T* 0 Tw 1.045318 Tw (protocol, server name and port as discussed above, "dbname" is the name of the database. [Note) Tj T* 0 Tw 4.81122 Tw (that the default ") Tj 0 0 .501961 rg (https://my.server.ip:8071/principals/users/username) Tj 0 0 0 rg (" might also be edited to) Tj T* 0 Tw (") Tj 0 0 .501961 rg (https://my.server.ip:8071/webdav/dbname/principals/users/username) Tj 0 0 0 rg (" ]) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 171.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 171.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 141.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 15 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL .1 0 Td (11.) Tj T* -0.1 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 16.82 Tm /F1 10 Tf 12 TL 1.14528 Tw (Click on Done. The phone will hopefully connect to the OpenERP server and verify it can use the) Tj T* 0 Tw (account.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 141.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 141.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 99.02362 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 27 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL .1 0 Td (12.) Tj T* -0.1 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 28.82 Tm /F1 10 Tf 12 TL 1.036651 Tw (Go to the main menu of the iPhone and enter the Calendar application. Your OpenERP calendars) Tj T* 0 Tw .321235 Tw (will be visible inside the selection of the "Calendars" button. Note that when creating a new calendar) Tj T* 0 Tw (entry, you will have to specify which calendar it should be saved at.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 99.02362 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 99.02362 cm\r
+Q\r
\r
+endstream\r
+\r
+endobj\r
+% 'R32': class PDFStream \r
+32 0 obj\r
+% page stream\r
+<< /Length 5243 >>\r
+stream\r
+1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET\r
+q\r
+1 0 0 1 62.69291 717.0236 cm\r
+q\r
+BT 1 0 0 1 0 40.82 Tm 1.298935 Tw 12 TL /F1 10 Tf 0 0 0 rg ([1] I remember one guy that made ) Tj /F4 10 Tf (lots ) Tj /F1 10 Tf (of money selling his CA business off, and since then uses this) Tj T* 0 Tw 1.957765 Tw (money to create a software monopoly. [2] This may not happen if the SRV records at DNS and the) Tj T* 0 Tw .639985 Tw (well-known URIs are setup right. But we appreciate that a default OpenERP installation will not have the) Tj T* 0 Tw (DNS server of the company's domain configured.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 684.0236 cm\r
+q\r
+BT 1 0 0 1 0 8.435 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (Synchronization with Evolution's calendar) Tj T* ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 672.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 672.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 654.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (1.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Go to Calendar View) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 654.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 654.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 636.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (2.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+BT 1 0 0 1 0 4.82 Tm 12 TL /F1 10 Tf 0 0 0 rg (File -) Tj (> New -) Tj (> Calendar) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 636.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 636.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 474.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 147 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (3.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 0 141 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F2 10 Tf 12 TL (Fill the form) Tj T* ET\r
+Q\r
+Q\r
+BT 1 0 0 1 0 128 Tm  T* ET\r
+q\r
+1 0 0 1 10 132 cm\r
+Q\r
+q\r
+1 0 0 1 10 132 cm\r
+Q\r
+q\r
+1 0 0 1 10 114 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (type : CalDav) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 114 cm\r
+Q\r
+q\r
+1 0 0 1 10 114 cm\r
+Q\r
+q\r
+1 0 0 1 10 96 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (name : Whaterver you want \(ie : Meeting\)) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 96 cm\r
+Q\r
+q\r
+1 0 0 1 10 96 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 27 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+BT 1 0 0 1 0 28.82 Tm 12.05494 Tw 12 TL /F1 10 Tf 0 0 0 rg (url : ) Tj 0 0 .501961 rg (http://HOST:PORT/webdav/DB_NAME/calendars/users/USER/c/Meetings ) Tj 0 0 0 rg (\(ie :) Tj T* 0 Tw 2.623953 Tw 0 0 .501961 rg (http://localhost:8069/webdav/db_1/calendars/users/demo/c/Meetings) Tj 0 0 0 rg (\) the one given on the) Tj T* 0 Tw (top of this window) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 54 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (uncheck "User SSL") Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 36 cm\r
+Q\r
+q\r
+1 0 0 1 10 18 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Username : Your username \(ie : Demo\)) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 18 cm\r
+Q\r
+q\r
+1 0 0 1 10 18 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Refresh : everytime you want that evolution synchronize the data with the server) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+1 0 0 1 10 0 cm\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 474.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 474.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 456.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (4.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (Click ok and give your openerp password) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 456.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 456.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 438.0236 cm\r
+0 0 0 rg\r
+BT /F3 10 Tf 12 TL ET\r
+q\r
+1 0 0 1 6 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL 5.66 0 Td (5.) Tj T* -5.66 0 Td ET\r
+Q\r
+Q\r
+q\r
+1 0 0 1 23 3 cm\r
+q\r
+0 0 0 rg\r
+BT 1 0 0 1 0 4.82 Tm /F1 10 Tf 12 TL (A new calendar named with the name you gave should appear on the left side.) Tj T* ET\r
+Q\r
+Q\r
+q\r
+Q\r
+Q\r
+q\r
+1 0 0 1 62.69291 438.0236 cm\r
+Q\r
+q\r
+1 0 0 1 62.69291 438.0236 cm\r
+Q\r
\r
+endstream\r
+\r
+endobj\r
+% 'R33': class PDFPageLabels \r
+33 0 obj\r
+% Document Root\r
+<< /Nums [ 0\r
+ 34 0 R\r
+ 1\r
+ 35 0 R\r
+ 2\r
+ 36 0 R ] >>\r
+endobj\r
+% 'R34': class PDFPageLabel \r
+34 0 obj\r
+% None\r
+<< /S /D\r
+ /St 1 >>\r
+endobj\r
+% 'R35': class PDFPageLabel \r
+35 0 obj\r
+% None\r
+<< /S /D\r
+ /St 2 >>\r
+endobj\r
+% 'R36': class PDFPageLabel \r
+36 0 obj\r
+% None\r
+<< /S /D\r
+ /St 3 >>\r
+endobj\r
+xref\r
+0 37\r
+0000000000 65535 f\r
+0000000113 00000 n\r
+0000000245 00000 n\r
+0000000410 00000 n\r
+0000000585 00000 n\r
+0000000754 00000 n\r
+0000000933 00000 n\r
+0000001226 00000 n\r
+0000001470 00000 n\r
+0000001737 00000 n\r
+0000001980 00000 n\r
+0000002250 00000 n\r
+0000002520 00000 n\r
+0000002868 00000 n\r
+0000003150 00000 n\r
+0000003420 00000 n\r
+0000003731 00000 n\r
+0000003890 00000 n\r
+0000004102 00000 n\r
+0000004228 00000 n\r
+0000004446 00000 n\r
+0000004629 00000 n\r
+0000004823 00000 n\r
+0000004992 00000 n\r
+0000005237 00000 n\r
+0000005420 00000 n\r
+0000005615 00000 n\r
+0000005803 00000 n\r
+0000005975 00000 n\r
+0000006161 00000 n\r
+0000006286 00000 n\r
+0000013837 00000 n\r
+0000023050 00000 n\r
+0000028398 00000 n\r
+0000028517 00000 n\r
+0000028594 00000 n\r
+0000028671 00000 n\r
+trailer\r
+<< /ID \r
+ % ReportLab generated PDF document -- digest (http://www.reportlab.com) \r
+ [(\221\315\247\202\204\362A\225\350\266\351E\0106\271\243) (\221\315\247\202\204\362A\225\350\266\351E\0106\271\243)] \r
+\r
+ /Info 17 0 R\r
+ /Root 16 0 R\r
+ /Size 37 >>\r
+startxref\r
+28718\r
+%%EOF\r
diff --git a/addons/caldav/doc/evolution.rst b/addons/caldav/doc/evolution.rst
new file mode 100644 (file)
index 0000000..7b893cf
--- /dev/null
@@ -0,0 +1,21 @@
+=========================================
+Synchronization with Evolution's calendar
+=========================================
+
+1. Go to Calendar View
+
+2. File -> New -> Calendar
+
+3. Fill the form 
+    - type : CalDav
+    - name : Whaterver you want (ie : Meeting)
+    - url : http://HOST:PORT/webdav/DB_NAME/calendars/users/USER/c/Meetings (ie :
+      http://localhost:8069/webdav/db_1/calendars/users/demo/c/Meetings) 
+      the one given on the top of this window
+    - uncheck "User SSL"
+    - Username : Your username (ie : Demo)
+    - Refresh : everytime you want that evolution synchronize the data with the server
+
+4. Click ok and give your openerp password
+
+5. A new calendar named with the name you gave should appear on the left side.
index 76941bf..f223366 100644 (file)
@@ -11,6 +11,34 @@ that data to calendar clients. That said, the full features that would be
 accessible through the Gtk or Web OpenERP clients cannot be crammed into
 the Calendar clients (such as the iPhone).
 
+OpenERP server Setup
+--------------------
+Some modules need to be installed at the OpenERP server. These are:
+    - caldav: Required, has the reference setup and the necessary
+            underlying code. Will also cause document, document_webdav
+            to be installed.
+    - crm_caldav: Optional, will export the CRM Meetings as a calendar.
+    - project_caldav: Optional, will export project tasks as calendar.
+    - http_well_known: Optional, experimental. Will ease bootstrapping,
+            but only when a DNS srv record is also used.
+
+These will also install a reference setup of the folders, ready to go.
+The administrator of OpenERP can add more calendars and structure, if
+needed.
+
+DNS server setup
+------------------
+To be documented.
+
+SSL setup
+----------
+It is highly advisable that you also setup SSL to work for the OpenERP
+server. HTTPS is a server-wide feature in OpenERP, which means a 
+certificate will be set at the openerp-server.conf and will be the same
+for XML-RPC, HTTP, WebDAV and CalDAV.
+The iPhone also supports secure connections with SSL, although it does
+not expect a self-signed certificate (or one that is not verified by
+one of the "big" certificate authorities [1] ).
 
 Phone setup
 -------------
@@ -18,51 +46,63 @@ The iPhone is fairly easy to setup.
 IF you need SSL (and your certificate is not a verified one, as usual),
 then you first will need to let the iPhone trust that. Follow these
 steps:
-  s1. Open Safari and enter the https location of the OpenERP server:
+
+    s1. Open Safari and enter the https location of the OpenERP server:
       https://my.server.ip:8071/
       (assuming you have the server at "my.server.ip" and the HTTPS port
       is the default 8071)
-  s2. Safari will try to connect and issue a warning about the certificate
+    s2. Safari will try to connect and issue a warning about the certificate
       used. Inspect the certificate and click "Accept" so that iPhone
       now trusts it.
 
 Now, to setup the calendars, you need to:
+
 1. Click on the "Settings" and go to the "Mail, Contacts, Calendars" page.
 2. Go to "Add account..."
 3. Click on "Other"
 4. From the "Calendars" group, select "Add CalDAV Account"
+
 5. Enter the server's name or IP address at the "Server" entry, the
-      OpenERP username and password at the next ones.
-      As a description, you can either leave the server's name or
-      something like "OpenERP calendars".
+   OpenERP username and password at the next ones.
+   As a description, you can either leave the server's name or
+   something like "OpenERP calendars".
+
 6. You _will_ get the "Unable to verify account" error message. That is
-      because our server is not at the port iPhone expects[2]. But no
-      need to worry, click OK.
+   because our server is not at the port iPhone expects[2]. But no
+   need to worry, click OK.
+
 7. At the next page, enter the "Advanced Settings" to specify the right
-      ports and paths 
+   ports and paths
+    
 8. If you have SSL, turn the switch on. Note that port will be changed
-      to 8443.
+   to 8443.
+
 9. Specify the port for the OpenERP server: 8071 for SSL, 8069 without.
+
 10. Set the "Account URL" to the right path of the OpenERP webdav:
-      https://my.server.ip:8071/webdav/dbname/calendars
-      Where "https://my.server.ip:8071" is the protocol, server name 
-      and port as discussed above, "dbname" is the name of the database.
-      [Note that the default 
-      "https://my.server.ip:8071/principals/users/username" might also
-      be edited to 
-      "https://my.server.ip:8071/webdav/dbname/principals/users/username" ]
+    https://my.server.ip:8071/webdav/dbname/calendars
+    Where "https://my.server.ip:8071" is the protocol, server name 
+    and port as discussed above, "dbname" is the name of the database.
+    [Note that the default "https://my.server.ip:8071/principals/users/username" might also
+    be edited to "https://my.server.ip:8071/webdav/dbname/principals/users/username" ]
+
 11. Click on Done. The phone will hopefully connect to the OpenERP server
-      and verify it can use the account.
+    and verify it can use the account.
+
 12. Go to the main menu of the iPhone and enter the Calendar application.
-      Your OpenERP calendars will be visible inside the selection of the
-      "Calendars" button.
+    Your OpenERP calendars will be visible inside the selection of the
+    "Calendars" button.
     Note that when creating a new calendar entry, you will have to specify
     which calendar it should be saved at.
 
 
 
 
-
+[1] I remember one guy that made *lots* of money selling his CA business
+off, and since then uses this money to create a software monopoly.
 [2] This may not happen if the SRV records at DNS and the well-known URIs
 are setup right. But we appreciate that a default OpenERP installation will
 not have the DNS server of the company's domain configured.
+
+
+
diff --git a/addons/caldav/doc/makefile b/addons/caldav/doc/makefile
new file mode 100644 (file)
index 0000000..df4c4a5
--- /dev/null
@@ -0,0 +1,13 @@
+all: compile clean
+
+concat: all.rst
+       cat all.rst iPhone.rst evolution.rst > compile.rst
+    
+compile: concat
+       rst2pdf compile.rst -o caldav_doc.pdf 
+       
+clean:
+       rm compile.rst 
+
+del: 
+       rm caldav_doc.pdf
index 390641e..292856d 100644 (file)
@@ -45,7 +45,29 @@ class caldav_browse(osv.osv_memory):
         DATABASE_NAME: Name of database on which OpenERP Calendar is created
         CALENDAR_NAME: Name of calendar to access
      """),
-     'iphone' : _("""It's complicated""")}
+     'iphone' : _("""It's complicated"""),
+     'evolution' : _("""
+    =========================================
+    Synchronization with Evolution's calendar
+    =========================================
+
+    1. Go to Calendar View
+
+    2. File -> New -> Calendar
+
+    3. Fill the form 
+        - type : CalDav
+        - name : Whaterver you want (ie : Meeting)
+        - url : http://HOST:PORT/webdav/DB_NAME/calendars/users/USER/c/Meetings (ie : http://localhost:8069/webdav/db_1/calendars/users/demo/c/Meetings) the one given on the top of this window
+        - uncheck "User SSL"
+        - Username : Your username (ie : Demo)
+        - Refresh : everytime you want that evolution synchronize the data with the server
+
+    4. Click ok and give your openerp password
+
+    5. A new calendar named with the name you gave should appear on the left side.
+     
+     """)}
     
     
     _name = 'caldav.browse'
@@ -88,7 +110,7 @@ class caldav_browse(osv.osv_memory):
            pref_ids = pref_ids[0] 
            url = host + ':' + str(port) + '/'+ pref_ids.service + '/' + cr.dbname + '/'+'calendars/'+ 'users/'+ current_user.login + '/'+ pref_ids.collection.name+ '/'+ pref_ids.calendar.name
            res['description'] = self.__doc.get(pref_ids.device , self.__doc['other'])
-        file = open(addons.get_module_resource('caldav','doc', 'Caldav_doc.pdf'),'rb')
+        file = open(addons.get_module_resource('caldav','doc', 'caldav_doc.pdf'),'rb')
         res['caldav_doc_file'] = base64.encodestring(file.read())