forked from gza/oczpush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
76 lines (62 loc) · 2.59 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
oczupsh - ActiveSync for Owncloud
!!! Not under Active developpement !!!
!!! You WILL loose information !!! (Perhaps acceptable)
Why ?:
- It is at "work for me" stage and I don't have many time to work on it
Patches are accepted, but
- VCARD from/to ActiveSync conversion is not bijective
the email type exemple :
- VCARD supports more then 3 email address, AS don't
- VCARD's email address can be qualified (HOME or WORK)
- AS only have email1, email2, email3
So if you have a contact with a HOME and WORK email, you'll loose this information
- With Android (VCARD based) and protocol based on MSActiveSync is a bad Idea
VCARD <-> ActiveSync <-> VCARD
There is two VCARD based product synced by AS protocol leads to big data mess.
OLD README:
Based on
- z-push 2.0.7 stable's svn version
http://svn.berlios.de/svnroot/repos/z-push/release/2.0
- Owncloud's (should work on stable 4.5.x)
http://owncloud.org/
What works :
- Contact sync
- Calendar sync
- Tasks untested (no UI on owncloud side)
- Tested with Android Emulator 2.3.3 and 4.0
- Reported to work on :
- Samsung Galaxy S2
- Iphone 4 and Ipad 2 (thanks a40a)
- HTC runnyDroid ROM (Sense 3.5 + android 2.3.5)
Todo :
- Fix VCARD format to V3.0
- test tasks
- mail/imap from owncloud's conf
- Owncloud integration :
- app
- configuration
- device management (wipe, lock, etc...)
- Multi folder (multi calendar/addressbook)
- What else, tell me :)
Quick Install, debian/ubuntu style (thks to AlainB) :
- checkout :
cd /var/www ; git clone https://github.com/gza/oczpush.git
- php parameters (I prefer put it in apache conf) + Apache conf
Alias /Microsoft-Server-ActiveSync /var/www/oczpush/index.php
Alias /autodiscover/autodiscover.xml /var/www/oczpush/autodiscover.php
<Directory "/var/www/oczpush/">
php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
</Directory>
- dirs
mkdir -p /var/log/oczpush/ /var/lib/oczpush/ /var/www/oczpush/
chown www-data:www-data /var/log/oczpush/ /var/lib/oczpush/
- edit /var/www/oczpush/config.php.inc
NB: if you installed from debian package, this is probably '/usr/share/owncloud', otherwise, you know better than me :)
define('OC_DIR', '/var/www/owncloud');
- rename /var/www/oczpush/config.php.inc to /var/www/oczpush/config.php
- for Owncloud 4 replace /var/www/oczpush/backends/occontacts.php with /var/www/oczpush/backends/occontacts4.php
- optional, if you know what you do, Upgrade z-push codebase :
z-push's .svn is integrated, svn up should work, but will probably prevent any git pull to work anymore