Code Monkey home page Code Monkey logo

php-push-2-owncloud's Introduction

PHP-Push-2

Description

PHP-Push-2 is Z-Push-2 - Open Source ActiveSync - from SVN upstream with CalDAV and CardDAV backend support.

Features

Use combined backends from Z-Push-2 to allow:

  • Mail - IMAP

    • Requirements: IMAP Server
  • Calendar - CalDAV

    • Requirements: libawl-php
  • Contacts - LDAP

    • Requirements: LDAP Server
  • Contacts - CardDAV

    • Requirements: libawl-php

Requirements

  • A working caldav/carddav server (e.g. SOGo,ownCloud,SabreDAV)

    • Did not test other than SOGo but it should work with any caldav/cardav groupware, feedback are welcome.
  • An ActiveSync compatible mobile device

  • PHP5 with the following libraries for a Debian/Ubuntu system

      $ apt-get install php5-curl php5-ldap php5-imap php-mail libawl-php
    
  • PHP5 with the following libraries for a Redhat system

      $ yum install php-curl php-common php-ldap php-imap php-imap libawl-php
    
  • libawl-php is part of Redhat and Debian, however it is not available for SME and CentOS. You can find the package at http://debian.mcmillan.net.nz/packages/awl/

Thanks

PHP-Push-2 is possible thanks to the following projects:

See also

Libraries used

-Donate

-PayPal - Donate

-We are building PHP-Push-2 in my spare time, so if you want to buy me a coke while I'm coding, that would be awesome!

Installation

Clone from github:

$ cd /var/www
$ git clone https://github.com/dupondje/PHP-Push-2.git
$ cd PHP-Push-2

Read the Z-Push install instructions in the INSTALL file, or this document: Configure Z-Push (Remote ActiveSync for Mobile Devices)

Note: Z-Push is mean to be use with mod_php, if using FastCGI, additional configuration are need in Apache, please refer to the wiki.

Configuration

If you wan to use the configuration sample to work with SOGo online demo.

Those files are pre-configured to work with the SOGo Online Demo

File 'config.php' is the original file from Z-Push SVN repository:

$ cp config.php config.php.org
$ cp config.inc.php config.php

File 'backend/combined/config.php' is the original file from Z-Push SVN repository:

Nothing is need to be change in this file. It only combined 3 backends.

$ cp backend/combined/config.php backend/combined/config.php.org
$ cp backend/combined/config.inc.php backend/combined/config.php

Permission

$ mkdir -p /var/lib/z-push/ /var/log/z-push/
  • Debian system

      $ chown -R www-data:www-data /var/log/z-push/ /var/lib/z-push/
    
  • RedHat system

      $ chown -R apache:apache /var/log/z-push/ /var/lib/z-push/
    

Edit config.php

  • Set TimeZone
  • Configure the BackendIMAP settings section
  • Configure the BackendCARDDAV setting section
  • Configure the BackendCALDAV setting section

Edit backend/searchldap/config.php

  • This file allows you to enable GAL search support from your LDAP tree.

Test

Using a browser, login to https://sogo.mydomain.com/Microsoft-Server-ActiveSync

You should see a webpage that says "Z-Push - Open Source ActiveSync" with the message "GET not supported."

If so, congratulations!

If not, please READ the wiki.

You can now configure your smartphone or tablet.

Update

To update to the latest version:

$ cd /var/www/PHP-Push-2
$ git pull

Contributing

  1. Fork it
  2. Create a branch (git checkout -b my_markup)
  3. Commit your changes (git commit -am "Added Snarkdown")
  4. Push to the branch (git push origin my_markup)
  5. Create an Issue with a link to your branch
  6. Or Send me a Pull Request

php-push-2-owncloud's People

Contributors

dupondje avatar arved avatar fmbiete avatar magcks avatar xbgmsharp avatar cisiqo avatar mikeheasercom avatar exiva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.