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

330 Commits

Author SHA1 Message Date
Thomas Tanghus
7c26a86550 Added createUser hook. 2012-06-26 18:15:24 +02:00
Thomas Tanghus
6f85700984 Fix variable name. 2012-06-26 16:06:52 +02:00
Thomas Tanghus
5c649dc2d5 Added signals. 2012-06-26 05:26:50 +02:00
Thomas Tanghus
541dfa2580 Cast translation to string. 2012-06-22 14:27:46 +02:00
Thomas Tanghus
b41b2c38b8 Fix URL delimiter. 2012-06-21 22:03:57 +02:00
Thomas Tanghus
1f6bb63f8d Better error checking. 2012-06-20 21:00:49 +02:00
Thomas Tanghus
a534cc54d4 Log error as ERROR. 2012-06-20 21:00:49 +02:00
Thomas Tanghus
d8b662c25f Cleanup code. 2012-06-14 23:05:31 +02:00
Thomas Tanghus
2ac341c871 If Hr. Lerdorf had made up his mind on parameter order, life would have been a lot easier... 2012-06-14 23:05:31 +02:00
Thomas Tanghus
dc5b13a827 Contacts: Final (for now) fix to encoding probs on import. 2012-06-12 12:33:37 +02:00
Thomas Tanghus
f3e19ca230 Contacts: Final (for now) fix to encoding probs on import. 2012-06-12 12:32:37 +02:00
Thomas Tanghus
2c289d3a75 Contacts: Fix encoding errors, import errors, developer headache, paint cute kittens and pink clouds ;-) 2012-06-11 22:15:31 +02:00
Thomas Tanghus
1ee05e12bd Contacts: Fix encoding errors, import errors, developer headache, paint cute kittens and pink clouds ;-) 2012-06-11 22:14:21 +02:00
Thomas Tanghus
5397dcf695 Contacts: 11th hour fix for invalid VCARD from CardDAV. 2012-06-10 20:56:55 +02:00
Thomas Tanghus
1bf36539f4 Contacts: 11th hour fix for invalid VCARD from CardDAV. 2012-06-10 20:54:52 +02:00
Thomas Tanghus
f5d3ba18f2 Contacts: Double check XSS, and fix a rookie error ;-) 2012-05-28 13:19:31 +02:00
Thomas Tanghus
7317b67272 Please don't tell me I did that :-P 2012-05-28 12:52:18 +02:00
Thomas Tanghus
393578a609 Contacts: Backport XSS fix. 2012-05-21 21:49:35 +02:00
Thomas Tanghus
d78ec64e80 Contacts: XSS fix. Still some more to check. 2012-05-21 21:47:15 +02:00
Thomas Mueller
39f99602bf removing executable bit - again 2012-05-15 00:52:00 +02:00
Thomas Tanghus
967134ccb6 Contacts: Forgot one file for the import fix. 2012-05-13 23:27:14 +02:00
Thomas Tanghus
f5a9b8d2e7 Contacts: Add error checking and reporting to import from files app. 2012-05-13 23:27:14 +02:00
Thomas Tanghus
afe3f30dff Contacts: Hack to add structured name from formatted name. 2012-05-11 01:14:11 +02:00
Thomas Tanghus
dd48fc009e Contacts: Fix check for version. 2012-05-11 01:14:11 +02:00
Thomas Tanghus
bbb3cd0d18 Some UI and code restructering according to usability tests: https://mail.kde.org/pipermail/owncloud/2012-May/003194.html 2012-05-10 16:53:25 +02:00
Thomas Tanghus
6fc62e2827 Contacts: Don't try to render invalid properties. 2012-05-05 13:49:47 +02:00
Thomas Tanghus
682a47e8b4 Contacts: Hack around malformed BDAY. 2012-05-04 01:27:59 +02:00
Frank Karlitschek
3d62cf716a ported oc_db 2012-05-03 13:06:08 +02:00
Frank Karlitschek
0343af38fd ported oc_json 2012-05-03 12:23:29 +02:00
Frank Karlitschek
0b43e94733 port oc_response 2012-05-03 10:46:27 +02:00
Bart Visscher
9b433705ba Contacts: check for malformed VCards in calendar hook 2012-05-02 21:36:33 +02:00
Frank Karlitschek
299cabaf87 port oc_preferences 2012-05-02 15:54:34 +02:00
Thomas Müller
57ce95df77 fixing namespace 2012-05-02 00:55:26 +02:00
Frank Karlitschek
b2f19f3a7f ported the oc_app calls 2012-05-02 00:50:26 +02:00
Frank Karlitschek
47b18a270e port linkto and serverHost 2012-05-01 23:19:39 +02:00
Frank Karlitschek
a3dc9e8b2a ported getUser 2012-05-01 18:50:31 +02:00
Frank Karlitschek
26930d0d83 finish porting of the LOG calls or the apps to the public api 2012-05-01 17:38:27 +02:00
Thomas Tanghus
82a2011dc2 Contacts: Ensure TYPE parameters on email aren't deleted on edit. They are still not shown in the UI.
Remove an obsolute file and did some cleanup.
2012-04-29 22:12:27 +02:00
Thomas Tanghus
20734b60a9 Contacts: removed unused method and ajax file. 2012-04-29 22:12:27 +02:00
Thomas Tanghus
887747394b Contacts: Check that UIDs really are unique on import. Better solution would be to suggest to merge contacts, but that will have to wait to OC5 ;-) 2012-04-24 11:35:56 +02:00
Thomas Tanghus
5e735201b6 Applied patches by Nicolas progweb at free.fr - https://mail.kde.org/pipermail/owncloud/2012-April/002900.html 2012-04-24 01:44:07 +02:00
Jakob Sack
d1b0434d82 Remove useless, unmaintained dav.php 2012-04-15 16:50:44 +02:00
Robin Appelman
6bfb0189b6 reuse OC_L10N objects 2012-04-14 16:44:15 +02:00
Robin Appelman
bb559d028f improve flexibility of search providers a bit 2012-04-14 11:29:54 +02:00
Bart Visscher
08c0dc9c87 Contacts: Save the category list update when updating/adding contact 2012-04-13 21:13:58 +02:00
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