nextcloud/apps/contacts
Bart Visscher 3e2e5196d2 Merge branch 'tanghus_remote_backup' of git://gitorious.org/~tanghus/owncloud/tanghus-owncloud
Conflicts:
	apps/calendar/export.php
	apps/contacts/index.php
2011-12-27 22:18:01 +01:00
..
ajax Misc. changes after review by bartv. 2011-12-16 17:42:07 +01:00
appinfo Contacts: refactor rendering of part.details template 2011-12-07 20:40:58 +01:00
css Added UI for selecting/editing address books. 2011-12-04 20:25:46 +01:00
js Misc. changes after review by bartv. 2011-12-16 17:42:07 +01:00
l10n updated translations 2011-09-24 23:12:18 +02:00
lib Merge branch 'tanghus_remote_backup' of git://gitorious.org/~tanghus/owncloud/tanghus-owncloud 2011-12-27 22:18:01 +01:00
templates Merge branch 'tanghus_remote_backup' of git://gitorious.org/~tanghus/owncloud/tanghus-owncloud 2011-12-27 22:18:01 +01:00
README.tanghus Update README 2011-12-13 10:39:31 +01:00
carddav.php Check if the application is actually enabled 2011-09-30 23:17:18 +02:00
export.php Misc. changes after review by bartv. 2011-12-16 17:42:07 +01:00
index.php Merge branch 'tanghus_remote_backup' of git://gitorious.org/~tanghus/owncloud/tanghus-owncloud 2011-12-27 22:18:01 +01:00
photo.php Use a proxy class to interface with Sabre_VObject classes 2011-12-07 20:40:58 +01:00
settings.php show the syncing and ampache urls on the settings page. not very pretty but otherwise the user has no way to configure the desktop integration 2011-09-28 16:05:01 +02:00

README.tanghus

As I like to run regular, automated backups of my PIM data I looked into an 
easy way of getting the direct link to an address book, and noticed the 
elegant way it was possible in the calendar, where you can click on the 
'Calendars' button and download it directly.
I modified the export.php script for the contacts app and can now run backups 
with wget and http authentication. Hence the name 'tanghus_remote_backup' for
this branch.
Then I implemented the nice popup window function to get an UI for it and one 
thing lead to another: 

As for the Calendar app there's a js popup for address book activation, CardDAV link, export, 
edit, delete and add address books.

When making changes to the address books the contact list is updated to show the
contacts in the active address book(s).

When an address book is activated the setting is saved using OC_Preferences::setValue().

Most of the code is copy/paste from the Calendar and Contacts apps ;-)

Tested with fresh clone from git@gitorious.org:~tanghus/owncloud/tanghus-owncloud.git, removed
database and config.php.