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

373 Commits

Author SHA1 Message Date
Thomas Tanghus
93315a05fa Contacts: Use isAdminUser() 2013-03-05 02:31:14 +01:00
Thomas Tanghus
7047e3e7b3 Contacts: Fix copy/paste mistake. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
cab4ceea84 Contacts: Fix undefined indexes on search. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
75c1302197 Upgrade: ENCODING: BASE64 -> 'b' and format image mime types. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
b752145ce3 Also set version when upgrading. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
1e4bc27e02 Use VObject\StringUtil::convertToUTF8() to decode v. 2.1 properties. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
4aa894d0aa Fix variable name. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
2fecf91483 Updated header: 2013-03-05 02:31:12 +01:00
Thomas Tanghus
65957c8737 Contacts: Move vCard validation and repair to SabreDAV subclasses. 2013-03-05 02:31:12 +01:00
Thomas Tanghus
39c5e4700e Contacts: Replace hardcoded db prefixes. 2013-03-05 01:32:34 +01:00
Thomas Tanghus
358a41a8ac Contacts: Use int instead of bool to help pgsql ;) 2013-03-04 19:31:28 +01:00
Thomas Tanghus
464919e93c Contacts: Fix copy/paste error. 2013-03-04 19:23:45 +01:00
Thomas Tanghus
574cec4b60 Contacts: Fix caching newly edited photo. 2013-03-04 15:15:47 +01:00
Thomas Tanghus
88a1e4d770 Contacts: Didn't show birthday. 2013-02-18 03:08:01 +01:00
Thomas Tanghus
d3e80b91fa Contacts: Make $addressBookInfo protected instead of private. 2013-02-09 20:29:23 +01:00
Thomas Tanghus
d7c5ccdb15 Contacts: Make $carddavBackend protected instead of private. 2013-02-09 20:27:06 +01:00
Tom Needham
8912726a56 Add missing backslash to delete addressbook method
Relevant error: 
[09-Feb-2013 17:03:31] PHP Fatal error:  Class 'OCA\Contacts\OCP\User' not found in /Users/tomneedham/Sites/htdocs/cloud/apps2/contacts/lib/addressbook.php on line 349

Relevant Backtrace:
[09-Feb-2013 17:03:31] PHP   7. OC_User::deleteUser() /Users/tomneedham/Sites/htdocs/cloud/apps2/provisioning_api/lib/users.php:169
[09-Feb-2013 17:03:31] PHP   8. OC_Hook::emit() /Users/tomneedham/Sites/htdocs/cloud/lib/user.php:228
[09-Feb-2013 17:03:31] PHP   9. call_user_func() /Users/tomneedham/Sites/htdocs/cloud/lib/hook.php:71
[09-Feb-2013 17:03:31] PHP  10. OCA\Contacts\Hooks::deleteUser() /Users/tomneedham/Sites/htdocs/cloud/lib/hook.php:0
[09-Feb-2013 17:03:31] PHP  11. OCA\Contacts\Addressbook::delete() /Users/tomneedham/Sites/htdocs/cloud/apps2/contacts/lib/hooks.php:59
2013-02-09 17:07:44 +00:00
Thomas Tanghus
b6a25e62b2 Contacts: sanitizeHTML 2013-02-08 23:24:24 +01:00
Thomas Tanghus
13c395e895 Contacts: Don't loop forever when exporting contacts. 2013-02-08 20:14:54 +01:00
Thomas Tanghus
5f6d029c11 Contacts: Only query for properties if contacts matches search criteria. 2013-02-04 02:07:00 +01:00
Thomas Tanghus
525ebecc89 Contacts: Search improvements. 2013-01-30 00:47:47 +01:00
Thomas Tanghus
4b2a32d0b2 Contacts: Use OCP\Contacts for search. 2013-01-29 20:17:55 +01:00
Thomas Tanghus
860073502f Contacts: No inline js in search results. 2013-01-25 19:00:10 +01:00
Thomas Tanghus
333ad9a1fa Contacts: Work around bug in current Sabre VObject. 2013-01-14 09:50:57 +01:00
Thomas Tanghus
d63705a9b6 Contacts: Also index UID. 2013-01-08 05:50:41 +01:00
Thomas Tanghus
85ec5eeb9f Calendar/Contacts: Check for string value of BDAY. Closes #336 2012-12-14 04:33:14 +01:00
Brice Maron
29fa35760a Make addressbookprovider compatible with older version of php 2012-12-12 20:39:58 +00:00
Thomas Tanghus
db863a4986 Contacts: Properly quote CardDAV etag. 2012-12-12 00:29:24 +01:00
Thomas Tanghus
283b93a024 Contacts: Added AddressbookProvider 2012-12-12 00:07:36 +01:00
Thomas Tanghus
b0f1407495 Contacts: Also index NOTE 2012-12-11 02:35:31 +01:00
Thomas Tanghus
9aa005a9c4 Contacts: Only query 'lastmodified' in App::lastModified() 2012-12-10 05:54:17 +01:00
Thomas Tanghus
775cce38f0 Contacts: Add 'fields' argument to VCard:all and VCard::find. 2012-12-10 05:52:57 +01:00
Thomas Tanghus
b8e5e7a06f Contacts: Missing variable. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
0f843a95f1 Contacts: Set revision (maybe) fix. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
5d6cb9f005 Namespace fix. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
edd356a252 Contacts: Enable Caching contact list if not changed. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
fd18bf9d2a Contacts: More fine-grained ACL checks for CardDAV. 2012-11-26 23:11:40 +01:00
Thomas Tanghus
86b081ad80 Contacts: fix more namespace errors. 2012-11-26 23:11:40 +01:00
Thomas Tanghus
040d79bc21 Contacts: Added debugging statements to deleteFromDAVData() 2012-11-26 23:11:40 +01:00
Thomas Tanghus
e7ab74053f Contacts: Use own delete() method in deleteFromDAVData() 2012-11-26 23:11:40 +01:00
Thomas Tanghus
0b27c3a82c Contacts: Don't use userid when setting addressbook ctag. 2012-11-26 23:11:40 +01:00
Thomas Tanghus
e8375b1217 Contacts: Correct variable name. 2012-11-26 23:11:40 +01:00
Thomas Tanghus
5abe44120d Contacts: Space after comma 2012-11-26 23:11:40 +01:00
Thomas Tanghus
79c6e78e8e Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Conflicts:
	contacts/lib/vcard.php
2012-11-24 01:52:13 +01:00
Thomas Tanghus
76236b7e28 Contacts: Cut some additional bytes off the response. 2012-11-24 01:46:00 +01:00
Thomas Tanghus
4e4baf8b77 Contacts: Increment addressbook ctag on contact delete. 2012-11-23 23:38:28 +01:00
Luke Owncloud
6a37a1baf6 Touch address book cTag after deleting a contact. Bugfix for
https://github.com/owncloud/apps/issues/238
2012-11-23 14:51:21 +01:00
Thomas Tanghus
3ac9cf0d1f Contacts: Edit structured name inline. 2012-11-22 04:09:52 +01:00
Thomas Tanghus
2f23a59fad Contacts: Various fixes and cleanups. 2012-11-22 00:31:08 +01:00
Thomas Tanghus
3a25cc050e Contacts: Use Sabre\VObject 2012-11-22 00:14:03 +01:00
Thomas Tanghus
098aded213 Contacts: Another namespace err 2012-11-16 04:35:14 +01:00
Thomas Tanghus
5c38880f78 Contacts: Also index GEO. 2012-11-16 04:34:42 +01:00
Thomas Tanghus
addd12c967 Contacts: Fix property indexing. 2012-11-15 06:07:44 +01:00
Thomas Tanghus
495b94685a Fiz namespace errors. 2012-11-15 00:27:09 +01:00
Thomas Tanghus
b83796e251 Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Conflicts:
	contacts/ajax/categories/categoriesfor.php
	contacts/ajax/contact/saveproperty.php
	contacts/js/contacts.js
	contacts/lib/vcard.php
2012-11-14 01:11:42 +01:00
Thomas Tanghus
2fe8439bfb Made adding contact work again. 2012-11-13 22:42:55 +01:00
Thomas Tanghus
bec1bb5e78 Merge branch 'master' of github.com:owncloud/apps into vcategories_db
Conflicts:
	contacts/appinfo/app.php
2012-11-13 12:02:15 +01:00
Thomas Tanghus
888b05f0b2 Contacts: Correct syntax error. 2012-11-12 02:29:27 +01:00
Thomas Tanghus
aa22e083f7 Contacts: First steps on making searchable properties. Relates to issue #113 2012-11-12 02:11:19 +01:00
Thomas Tanghus
de26552f2f Correct namespace. 2012-11-12 01:24:56 +01:00
Thomas Tanghus
1453ecab48 Contacts: Correct javadoc 2012-11-12 01:24:20 +01:00
Thomas Tanghus
0f02508121 Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Conflicts:
	contacts/ajax/contact/details.php
	contacts/lib/addressbook.php
	contacts/lib/vcard.php
2012-11-12 00:46:15 +01:00
Thomas Tanghus
814819092e Use CRUDS consts as defined in https://github.com/owncloud/core/pull/356 2012-11-11 19:43:44 +01:00
Thomas Tanghus
4b73ded2ac Trying to limit Cyclomatic Complexity (?) 2012-11-06 01:36:27 +01:00
Thomas Tanghus
71e247f097 Namespace fix. 2012-11-01 15:31:36 +01:00
Thomas Tanghus
307409b7e2 Open contact from search without reloading app. 2012-11-01 02:01:00 +01:00
Thomas Tanghus
09843741e3 Fix namespace error. 2012-11-01 02:00:29 +01:00
Thomas Tanghus
7383915904 Added more error checking to db queries. 2012-10-31 21:37:49 +01:00
Thomas Tanghus
7ccaa51361 Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Conflicts:
	contacts/appinfo/app.php
2012-10-31 16:14:37 +01:00
Thomas Tanghus
a96fea3541 VCF export plugin now included in SabreDAV. 2012-10-30 08:49:24 +01:00
Thomas Tanghus
ec86736336 Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Fix conflicts:
	contacts/ajax/contact/saveproperty.php
	contacts/js/contacts.js
	contacts/lib/hooks.php
	contacts/lib/search.php
	contacts/lib/vcard.php
2012-10-30 07:19:56 +01:00
Thomas Tanghus
db8175bb3d Use local namespace. 2012-10-30 07:08:41 +01:00
Bart Visscher
c2d29f20f7 Merge remote-tracking branch 'git://github.com/susinths/apps'
Conflicts:
	calendar/ajax/event/edit.form.php
	calendar/lib/object.php
2012-10-27 16:36:06 +02:00
Bart Visscher
d696522f3a Merge branch 'routing' 2012-10-27 15:07:15 +02:00
Thomas Tanghus
3ab079e781 Cut some more off of the json response. 2012-10-26 00:02:44 +02:00
Thomas Tanghus
66b2d0c42a Missed to namespace a class name. 2012-10-25 23:13:59 +02:00
Thomas Tanghus
a208a66df2 Keep array of names for properties that can appear more than once. 2012-10-25 23:12:21 +02:00
Thomas Tanghus
b8813e0357 Only do checksum on properties that can appear more than once. Cuts off around a 3rd of the the json response size. 2012-10-25 23:10:36 +02:00
Thomas Tanghus
3b3adb318a Use mb_convert_encoding() if iconv() is not available. 2012-10-25 23:09:39 +02:00
Thomas Tanghus
d5d81b36c7 Check if iconv exists. 2012-10-25 18:04:57 +02:00
Thomas Tanghus
69cdc09d93 Use OCA namespace. 2012-10-25 03:34:12 +02:00
Thomas Tanghus
48f4cab791 Cache thumbnails and use remote.php service to avoid loading all apps for each thumbnail. 2012-10-24 21:35:51 +02:00
Thomas Tanghus
0179b9a488 Add parameter to control if shared addressbooks should also be returned. 2012-10-24 20:28:43 +02:00
Thomas Tanghus
e5c6665a05 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-10-22 15:37:50 +02:00
Susinthiran Sithamparanathan
9c3ba7bed0 Update Contacts and Calendar with namespaces for Sabre 1.7.1 2012-10-18 23:08:26 +02:00
Thomas Tanghus
87273d60af Merge branch 'master' of github.com:owncloud/apps into vcategories_db
Conflicts:
	contacts/lib/vcard.php
2012-10-18 18:11:32 +02:00
Thomas Tanghus
2bd762c86f Unshare Calendar/Event/Addressbook/Contact on delete. 2012-10-16 22:25:03 +02:00
Thomas Tanghus
4b1739efc8 Fix PHOTO handling in serializer method. 2012-10-15 21:34:22 +02:00
Thomas Tanghus
a3c4ae6e94 Merge branch 'master' of github.com:owncloud/apps into vcategories_db 2012-10-10 23:01:21 +02:00
Thomas Tanghus
d7354034ae Major rewrite almost done. 2012-10-05 05:05:49 +02:00
Thomas Tanghus
9bfe53bbb9 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-10-05 03:52:25 +02:00
Thomas Tanghus
b8d6b7bcfb Fix regression where contact photo was included in json response. 2012-10-05 02:09:52 +02:00
Thomas Tanghus
e24e2cf9fe Merge branch 'vcategories_db' into contacts_rework 2012-10-03 22:12:21 +02:00
Thomas Tanghus
6fbd4ddec8 Make default groups/categories more relevant for contacts. 2012-10-03 22:10:48 +02:00
Thomas Tanghus
6785e2f2c1 Don't scan for categories/groups in shared addressbooks/calendars. 2012-10-03 22:03:29 +02:00
Thomas Tanghus
9505b23ab7 Merge branch 'master' of github.com:owncloud/apps into vcategories_db 2012-10-03 21:40:13 +02:00
Thomas Tanghus
09883cc4d8 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-10-02 23:25:31 +02:00
Thomas Tanghus
d9a3f56b9d Don't prevent calendar and contant data deletion on user deletion because of sharing permissions. 2012-10-02 23:22:29 +02:00
Thomas Tanghus
ce2535521b Add 'Other' as standard email type. 2012-09-30 06:40:04 +02:00
Bart Visscher
a4f5478d06 Merge branch 'master' into routing
Conflicts:
	gallery/lib/tiles.php
2012-09-28 21:43:48 +02:00