1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-11 22:24:32 +01:00
Commit Graph

235 Commits

Author SHA1 Message Date
Thomas Tanghus
2716018d44 Contacts: Better error reporting. 2012-04-13 18:50:40 +02:00
Bart Visscher
77b173f70b Contacts: Also initialize org var in updateValuesFromAdd 2012-04-12 23:10:49 +02:00
Bart Visscher
b354c4c77e Contacts: Move use of OC_Contacts_App::$categories to inside of OC_Contacts_App
This is in preparation of making $categories protected and initialized
with default categories.
2012-04-12 23:10:49 +02:00
Thomas Tanghus
29a4ffb730 Contacts: Fix for not being able to add contact to empty/non-existant address book. 2012-04-09 16:30:58 +02:00
Thomas Tanghus
0506fa9856 Fixed error in OC_Contacts_VCard::addFromDAVData as pointed out by Guillaume ZITTA 2012-03-26 02:04:34 +02:00
Thomas Tanghus
7b00319bae Contacts: Modifications for using categories. 2012-03-12 14:13:03 +01:00
Thomas Tanghus
d005c9123b Merge branch 'vcategories' of gitorious.org:owncloud/owncloud into vcategories
Conflicts:
	apps/contacts/lib/vcard.php
	apps/contacts/templates/part.contact.php
2012-03-08 02:55:48 +01:00
Thomas Tanghus
279fc58088 Merge gitorious.org:owncloud/owncloud into vcategories
Conflicts:
	apps/contacts/ajax/saveproperty.php
	apps/contacts/lib/vcard.php
2012-03-07 23:38:44 +01:00
Bart Visscher
be94d7caf3 Contacts: Add UI for categories 2012-03-07 21:50:55 +01:00
Bart Visscher
cfbf2e62c1 Merge branch 'master' into vcategories
Conflicts:
	apps/contacts/lib/vcard.php
2012-03-07 21:49:46 +01:00
Bart Visscher
3dc6e658fe Contacts: small fixes and cleanups 2012-03-07 21:46:42 +01:00
Bart Visscher
c8598c3df1 Contacts: change card parameter type of VCard::edit and VCard::add
changed to OC_VObject
2012-03-07 21:46:42 +01:00
Thomas Tanghus
df70d9eeed Fix conflict. 2012-03-07 20:57:05 +01:00
Thomas Tanghus
80ce69e089 Contacts: UI updates and ajax methods for categories. 2012-03-07 16:39:56 +01:00
Jakob Sack
f1d6e9c313 Fix missing bracket 2012-03-02 21:01:44 +01:00
Jakob Sack
96181c1ea5 Add /dav.php, a single location bundling all *DAV-operations. 2012-03-02 20:25:20 +01:00
Bart Visscher
a6d0482606 Search: Change provider registration to class name, for lazy loading of search providers 2012-03-01 22:59:35 +01:00
Bart Visscher
3355b3f2e7 Small cleanups 2012-03-01 21:00:23 +01:00
Bart Visscher
073bd92af7 Implement showing Birthdays of contacts in the calendar 2012-03-01 21:00:22 +01:00
Thomas Tanghus
e0f14bf818 Fix merge conflict. 2012-02-22 11:20:57 +01:00
Thomas Tanghus
a803359506 Improved upgrading VCARD v. 2.1 => 3.0. Improved import of malformed cards. Remove duplicate code. 2012-02-21 23:22:06 +01:00
Thomas Tanghus
109314b532 Merge gitorious.org:owncloud/owncloud into vcategories 2012-02-20 23:42:06 +01:00
Thomas Tanghus
dfc25bd405 Update ctag in deleteFromDAVData. 2012-02-20 14:24:10 +01:00
Thomas Tanghus
f8e36a6bce Added public static OC_VCategories object to OC_Contacts_App.
Parse cards for new categories in add and edit methods.
2012-02-19 23:32:09 +01:00
Tom Needham
7631d0d438 Fixed call to OC_User. Thanks Burillo on IRC 2012-02-18 23:53:10 +00:00
Bart Visscher
ad9b912e10 Fixup use of OC_Helper::linkTo function 2012-02-17 22:07:14 +01:00
Thomas Tanghus
a6d37ee9ff Added some error checking as mentioned in http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-227 2012-02-14 02:15:21 +01:00
Thomas Tanghus
d55aa3a8f7 Modify check for missing UID. 2012-02-14 01:56:38 +01:00
Thomas Tanghus
1cf89738e2 Removed superfluous debug. 2012-02-14 01:02:01 +01:00
Thomas Tanghus
a0a4534247 Added OC_Contacts_VCard::moveToAddressBook 2012-02-14 01:00:41 +01:00
Bart Visscher
6e35c456aa Contacts: Add missing parameter 2012-02-12 20:40:52 +01:00
Bart Visscher
1813bb6bd0 Contacts: Move response caching to OC_Response 2012-02-12 17:21:33 +01:00
Bart Visscher
969e364d17 Contacts: Save last-modified time in REV property if not set 2012-02-12 15:14:25 +01:00
Bart Visscher
fad50a1c5b Contacts: Fix adding N property in getContactVCard 2012-02-12 15:14:24 +01:00
Bart Visscher
e335f60004 Small coding style update
Fixup OC_Contacts_App
2012-02-12 15:14:23 +01:00
Bart Visscher
0d872d0169 Improve logging in OC_Contacts_App
Add logging to errors paths in getAddressbook and getContactObject.
2012-02-12 15:14:23 +01:00
Thomas Tanghus
bcd1470ea9 Keep js data structure in sync on changes.
More checks for missing properties.
2012-02-09 19:04:07 +01:00
Thomas Tanghus
ab6a5fe76d Don't import cards that can't be parsed by Sabre, but log it instead.
Fix missing 'N' or 'FN' fields on import.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
f1f05f9f2f Some fixes for malformed VCards. 2012-02-08 07:59:39 +01:00
Thomas Tanghus
3ebfa257a9 Fixed broken "Add new" contact.
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
cafc5877b8 - Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-93
Property was added multiple times.
- Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-8
  "Missing "N" field: Contacts app not compatible with vcard 3.0 format"
- Almost sure I've fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-27
  "Full name in Contacts app doesn't sync to iOS 5 contacts" because it is caused by oc-8
2012-01-31 19:30:56 +01:00
Thomas Tanghus
54e4f12857 Some reminders in the code of what I have to change post OC3.0 2012-01-31 19:30:56 +01:00
Thomas Tanghus
ffe0e5ac48 Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-92
"Character '&' in address data causes wrong data".
This was also the case for the 'N' property.
2012-01-24 23:08:40 +01:00
Thomas Tanghus
3ef2e51e6b - Added fix for empty 'FN' field on import via CardDAV clients.
- Make sure that the contact in the list has a display name.
- More tweaks on thumbnail caching.
2012-01-19 19:47:09 +01:00
Thomas Tanghus
10235f28a2 UI fixes in contact editor and address book dialog.
Error checking in ajax methods.
Localize menu entry.
2012-01-19 16:07:17 +01:00
Thomas Tanghus
cb5b166b52 Don't chunk_split encoded image string.
Don't return json error but null if card can't be parsed.
Small check for non-parsable card in index.php.
2012-01-12 22:50:12 +01:00
Thomas Tanghus
02180541a3 Added search. Thanks to icewind it was mostly copy/paste :-) 2012-01-12 22:50:12 +01:00
Thomas Tanghus
1e9453ea37 Add PRODID to vcards created by ownCloud. 2012-01-12 22:50:12 +01:00
Thomas Tanghus
56c1d9ee54 Localizin strings and adding error checking. 2012-01-11 20:07:15 +01:00
Thomas Tanghus
30e1fffe15 Make sure VERSION is set.
Set REV for each edit.
Download single VCard.
2012-01-11 06:20:06 +01:00
Thomas Tanghus
3702428369 CSS cleanup, more error checking, better error messages, general cleanup. 2012-01-11 04:05:30 +01:00
Thomas Tanghus
6e88659b69 OC_DB::insertid was being called too late to get the correct result. 2012-01-09 23:14:11 +01:00
Thomas Tanghus
aa2fabaef9 Removed redundant DB queries. 2011-12-31 01:34:22 +01:00
Thomas Tanghus
a3bbcb16d2 Added license and waiver of conditions for jquery.inview.
CSS fix on contact list.
Query contacts from multiple address books.
2011-12-30 21:07:16 +01:00
Bart Visscher
b5b216fb3c Contacts: small merge cleanups 2011-12-27 22:44:52 +01:00
Bart Visscher
45dc7ea0be 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
Bart Visscher
e6cb120c73 Contacts: add missing property_options template var 2011-12-18 23:10:43 +01:00
Thomas Tanghus
ae4bb0b1cb Misc. changes after review by bartv. 2011-12-16 17:42:07 +01:00
Thomas Tanghus
82fc2095c6 Updating of contact list when activating/adding/deleting address books now works. 2011-12-11 16:26:00 +01:00
Thomas Tanghus
7a63a0cbc5 Merge git://gitorious.org/owncloud/owncloud into tanghus_remote_backup
Conflicts:
	apps/contacts/ajax/deletebook.php
	apps/contacts/index.php
2011-12-09 15:25:26 +01:00
Thomas Tanghus
6401ccef2e Various fixes to multiple address books handling 2011-12-09 15:10:51 +01:00
Bart Visscher
18f9d177d5 Contacts: refactor common ajax functions to OC_Contacts_App 2011-12-07 20:40:59 +01:00
Bart Visscher
e53e413c6c Contacts: refactor rendering of part.details template 2011-12-07 20:40:58 +01:00
Bart Visscher
9ab66b5e9b Use a proxy class to interface with Sabre_VObject classes 2011-12-07 20:40:58 +01:00
Thomas Tanghus
51b21f2969 Added UI for selecting/editing address books.
Export, CardDAV link and activation/deactivation of address books done.
2011-12-04 20:25:46 +01:00
Bart Visscher
5372e61d34 Contacts: support multiple phone type parameter 2011-11-23 21:07:32 +01:00
Bart Visscher
33e0263509 Use a function to generate select options 2011-11-09 22:19:52 +01:00
Jakob Sack
e6cf001105 contacts: every card needs a version! 2011-11-09 11:35:50 +01:00
Brice Maron
05ba42ae8b Add sequence name in insertid to be more portable 2011-10-29 11:40:48 +02:00
Bart Visscher
0490c8138f Fix function name error in contacts app 2011-10-21 21:49:58 +02:00
Bart Visscher
f6df768405 Fixes for adding contact property 2011-10-07 23:01:49 +02:00
Bart Visscher
53836fa857 Add new contact name to end of cantact list 2011-10-04 21:16:57 +02:00
Bart Visscher
7cbfa71fcc All the basic field for add contact added 2011-10-04 21:16:57 +02:00
Jakob Sack
e916f7eeeb Split OC_Contacts_Addressbook in _Addressbook and _VCard 2011-09-17 00:26:57 +02:00
Jakob Sack
22163ead6d fix documentation 2011-09-15 23:20:49 +02:00
Jakob Sack
8cc8ec2378 Small fix in documentation 2011-09-15 22:45:40 +02:00
Jakob Sack
f3a9158cc5 Improve reading of vCard files 2011-09-15 11:06:21 +02:00
Jakob Sack
57fd341fc9 Improving contacts 2011-09-08 23:36:47 +02:00
Jakob Sack
d9bedf093b Fix creation of UID in contacts 2011-08-11 11:20:12 +02:00
Jakob Sack
c548dd2e58 Small fixes 2011-08-10 22:27:55 +02:00
Jakob Sack
72f923760c Delete addressbooks of deleted users 2011-08-10 14:28:14 +02:00
Jakob Sack
e8d3af0f3a Some more fixes. It basically works but looks ugly 2011-08-09 17:42:54 +02:00
Jakob Sack
6782188d34 Fix naming bug 2011-08-09 14:15:11 +02:00
Jakob Sack
f07bfa704e Some more work on the address book 2011-08-09 13:53:58 +02:00
Jakob Sack
f23b4b9ae0 New app: contacts 2011-08-06 22:32:06 +02:00