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

711 Commits

Author SHA1 Message Date
Thomas Tanghus
5581b62c9a Missing method name to OC_L10N calls. 2013-05-18 16:49:02 +02:00
Thomas Tanghus
b5123ab99b Don't use backend directly when updating address book 2013-05-18 06:57:38 +02:00
Thomas Tanghus
cab617f0e0 Implement HTTP Middleware
Intercept exceptions thrown and return suitable HTTP responses.
2013-05-18 04:58:41 +02:00
Thomas Tanghus
f67d18b894 Return status on partially imported vcards 2013-05-18 04:58:41 +02:00
Thomas Tanghus
653ff015e8 Access check on import 2013-05-18 04:58:41 +02:00
Thomas Tanghus
54e4693b7f Move decoding vCard properties to start of upgrade. 2013-05-15 22:59:42 +02:00
Thomas Tanghus
23b6e074da Proper updating on deletion of contact photo. Fix #77 2013-05-15 01:02:38 +02:00
Thomas Tanghus
65c4b71965 Return response on error. 2013-05-15 01:01:32 +02:00
Thomas Tanghus
77f931cfec Workaround for owncloud/core#2814 Fixes #78 2013-05-14 19:17:35 +02:00
Thomas Tanghus
e4540c2bc0 Set some status headers in AddressBookController. 2013-05-10 02:18:31 +02:00
Thomas Tanghus
2dc1250a1e Replace method to fix parameters with no name. 2013-05-10 02:14:19 +02:00
Thomas Tanghus
4ad995d815 Quick hack to allow setting FN from array 2013-05-09 21:19:12 +02:00
Thomas Tanghus
85c2e3229e Only check Contact permissions on save/update/delete. 2013-05-09 19:14:57 +02:00
Thomas Tanghus
7d9194e066 CardDAV: Wrong arguments used to deleteContact() 2013-05-09 15:44:21 +02:00
Thomas Tanghus
02e8ad0c86 CardDAV: getContact didn't return a uri. 2013-05-09 15:32:22 +02:00
Thomas Tanghus
afed6933cb Updated LDAP Backend 2013-05-09 14:07:27 +02:00
Thomas Tanghus
58d1d7ae27 Return null if lastModified can't be converted to DateTime 2013-05-09 05:59:57 +02:00
Thomas Tanghus
b8b9c5dc91 Add GET route to single contact. 2013-05-09 05:58:28 +02:00
Thomas Tanghus
980a0dbdf1 Add getETag to Contact (PHP) 2013-05-09 05:56:32 +02:00
Thomas Tanghus
e7267209ef Backgroung load on import and async load on init. Closes #49 2013-05-08 06:47:36 +02:00
Thomas Tanghus
d4f4c97b2d Fix method names 2013-05-07 19:18:23 +02:00
Thomas Tanghus
f76ca64ba4 Add renaming address books. 2013-05-07 19:16:06 +02:00
Thomas Tanghus
9df6967ac8 Contacts: Some status checks 2013-05-06 01:50:03 +02:00
Thomas Tanghus
757bc10216 Contacts: Implement move to address book. Still some rough edges. 2013-05-06 01:49:10 +02:00
Thomas Tanghus
958af7bbe0 Contacts: Return error if contact photo can't be loaded 2013-05-06 01:48:07 +02:00
Thomas Tanghus
5125adb834 Contacts: Check if backend methods are implemented. 2013-05-05 22:23:11 +02:00
Thomas Tanghus
49f728a86a Contacts: Don't mix possible permissions with actual permissions. 2013-05-05 22:21:42 +02:00
Thomas Tanghus
73055dffd4 Contacts: Copy/paste errors. 2013-05-05 16:58:51 +02:00
Thomas Tanghus
7b8110e85a Contacts: Don't update REV for CardDAV requests if it exists already. 2013-05-05 16:27:10 +02:00
Thomas Tanghus
e13899da50 Contacts: Reenable permission checking on Contact::_set(). 2013-05-05 15:28:26 +02:00
Thomas Tanghus
b647181044 Contacts: Old VCard -> VCardLegacy 2013-05-05 15:26:35 +02:00
Thomas Tanghus
52a72a080b Contacts: Use AddressBook to access Contact in controller. 2013-05-04 22:49:36 +02:00
Thomas Tanghus
58031b7d86 Contacts: Namespace fix 2013-05-04 22:48:30 +02:00
Thomas Tanghus
56a982b19c Contacts: Temporarily disable permission check in Contact::__set() 2013-05-04 22:47:34 +02:00
Thomas Tanghus
514672ba3d Contacts: Update docs for backends. 2013-05-03 05:00:50 +02:00
Thomas Tanghus
f3a7d23e87 Contacts: Shared backend didn't always return correct permissions. 2013-05-03 05:00:50 +02:00
Thomas Tanghus
26cc08f553 Contacts: Tighten up on permission checking. 2013-05-03 05:00:50 +02:00
Thomas Tanghus
d4b18987ae Contacts: Abstract js address book access and further simplify import. 2013-05-02 20:42:24 +02:00
Thomas Tanghus
065015471a Contacts: Fix debug stmts 2013-05-01 01:48:11 +02:00
Thomas Tanghus
50b360a963 Contacts: Missing $this-> 2013-05-01 01:48:11 +02:00
Thomas Tanghus
56831dfa67 Contacts: Don't set no-cache if caching is intended. 2013-04-30 19:58:54 +02:00
Thomas Tanghus
c05e739bb0 Contacts: Call parents ctor in JSONResponse. 2013-04-30 19:57:39 +02:00
Thomas Tanghus
e7d52c5437 Contacts: Reenabled search. Currently only for own, local contacts. 2013-04-30 02:06:11 +02:00
Thomas Tanghus
a7b30d8c5a Contacts: Property parameters wasn't saved 2013-04-27 04:38:28 +02:00
Thomas Tanghus
f1276c846e Contacts: Add IMPP SIP 2013-04-27 04:36:45 +02:00
Thomas Tanghus
370b8ba416 Contacts: Use own method instead of duplicating db query. 2013-04-27 03:09:24 +02:00
Thomas Tanghus
e03839838e Contacts: Throw exception on missing parameters. 2013-04-27 03:05:06 +02:00
Thomas Tanghus
49b97e6415 Contacts: Removed redundant App instantiation in ContactController. 2013-04-27 02:55:34 +02:00
Thomas Tanghus
a4b22fd8bb Contacts: Use timestamp for ctag 2013-04-27 02:20:12 +02:00
Thomas Tanghus
e1e06c4f78 Contacts: Proper access control in AddressBook and Contact 2013-04-27 01:46:25 +02:00
Thomas Tanghus
a2ab3254ab Contacts: Return false on error in db backend 2013-04-27 01:46:25 +02:00
Thomas Tanghus
b28796e93d Contacts: Namespace fix 2013-04-26 16:54:18 +02:00
Thomas Tanghus
4610367d8d Contacts: Only purge contacts index if they exists 2013-04-26 16:53:33 +02:00
Thomas Mueller
950e410c0d PHP 5.3 compatibility 2013-04-26 15:36:43 +02:00
Thomas Tanghus
375bcac080 Contacts: Remove update from interface 2013-04-25 12:33:52 +02:00
Thomas Tanghus
eb86535393 Contacts: Removed abstract method that PHP 5.3 didn't like. 2013-04-25 12:31:30 +02:00
Thomas Tanghus
a7f9a83985 Contacts: Add SettingsController to DIContainer 2013-04-25 04:21:56 +02:00
Thomas Tanghus
a4456db329 Contacts: Use $this->api->getUserId() in Controllers 2013-04-25 04:21:14 +02:00
Thomas Tanghus
1c0c8097f2 Contacts: Move code to SettingsController 2013-04-25 04:19:41 +02:00
Thomas Tanghus
a573aa16a5 Contacts: Add SettingsController 2013-04-25 03:56:20 +02:00
Thomas Tanghus
6ac93b2a3d Contacts: Remove legacy Addressbook class 2013-04-25 03:21:36 +02:00
Thomas Tanghus
482f5d1c32 Contacts: search.php -> searchprovider.php 2013-04-25 03:19:58 +02:00
Thomas Tanghus
32c773b5b5 Contacts: Removed local copy of Request class 2013-04-25 03:17:49 +02:00
Thomas Tanghus
c5ed2734ce Contacts: Fix ImageResponse ctor 2013-04-25 01:49:43 +02:00
Thomas Tanghus
635a6e2825 Contacts: Added start on LDAP backend by @babelouest 2013-04-25 01:46:47 +02:00
Thomas Tanghus
9a38c57df9 Merge branch 'master' into contacts_framework
Conflicts:
	contacts/css/contacts.css
2013-04-25 01:11:22 +02:00
Thomas Tanghus
8414c16955 Contacts: Adjust some class names 2013-04-25 01:03:05 +02:00
Thomas Tanghus
d0ad2a5581 Contacts: Clean directory structure thanks to owncloud/core#2993 \o/ 2013-04-25 00:57:45 +02:00
Thomas Tanghus
fc69739461 Contacts: Image- and JSONResponse 2013-04-24 23:38:31 +02:00
Thomas Tanghus
878e3e0eb1 Contacts: Unescape search values 2013-04-19 14:43:50 +02:00
Thomas Tanghus
daa3b97446 Contacts: Address book providers returned duplicate keys 2013-04-19 14:43:34 +02:00
Thomas Tanghus
fc6a4d79e0 Contact names weren't unescaped in birthday events. Fix #1032 2013-04-19 12:45:40 +02:00
Thomas Tanghus
09413a4fca Contacts: Step 2 in porting to app framework. 2013-04-19 09:59:30 +02:00
Thomas Tanghus
2fbbc01f91 Remove obsolete TODOs 2013-04-17 14:37:22 +02:00
Thomas Tanghus
6431048c28 Contacts: Add ownership checks to pics and export. 2013-04-12 13:49:55 +02:00
Thomas Tanghus
23b0265a9d Fix category purging 2013-04-12 11:45:05 +02:00
Thomas Tanghus
ad1664e658 Contacts: Add Utils\Properties::generateUID() 2013-04-09 17:20:30 +02:00
Thomas Tanghus
e06f8d04a7 Contacts: Avoid double escape in contact list. Fix #970 2013-04-09 00:46:07 +02:00
Thomas Tanghus
d300a100c5 Contacts: Fix description on StringProperty 2013-04-08 22:41:51 +02:00
Thomas Tanghus
a308a3ed21 Contacts: Use a backend name/id combo for CardDAV 2013-04-08 01:27:35 +02:00
Thomas Tanghus
ac0d12470b Contacts: Rename 'database' backend to 'local' 2013-04-07 22:33:40 +02:00
Thomas Tanghus
221f1bbcdf Contacts: Add docstring 2013-04-07 22:28:14 +02:00
Thomas Tanghus
2e23ba5bb1 Contacts: Use the return value from the address book backend 2013-04-07 22:27:43 +02:00
Thomas Tanghus
f160332dcb Better variable names 2013-04-07 22:04:17 +02:00
Thomas Tanghus
fb385150dc Contacts: Fix namespace 2013-04-07 22:03:42 +02:00
Thomas Tanghus
ee2c52c31e Contacts: Format shared address book display name better 2013-04-07 21:49:53 +02:00
Thomas Tanghus
499c69f15e Contacts: Also return uri from db backend 2013-04-07 21:42:27 +02:00
Thomas Tanghus
f0e6472d73 Contacts: Port fixes from master/stable5 2013-04-07 16:47:28 +02:00
Thomas Tanghus
93af121014 Contacts: Use sharees principals on read-write address book. Fix #952 2013-04-07 14:28:12 +02:00
Thomas Tanghus
ddd3a83f08 Fix thumbnail cache key 2013-04-06 02:09:04 +02:00
Thomas Tanghus
b135758715 Correct TTL for thumbnail cache. 2013-04-04 17:02:21 +02:00
Thomas Tanghus
9d313b1a1e Contacts: Cache thumbnails as base64 an load together with contacts.
Removes the massive amount of requests on first load.
2013-04-04 17:00:22 +02:00
Thomas Tanghus
c8ade4b24e Contacts: Component->children !== Component->children 2013-04-04 02:53:17 +02:00
Thomas Tanghus
1b927cb2cb Added TODOs 2013-04-03 16:55:56 +02:00
Thomas Tanghus
058b9b1923 Fixes for Request 2013-04-03 16:52:23 +02:00
Thomas Tanghus
9f61cc8d78 Contacts: Basic merge functionality 2013-04-03 16:43:18 +02:00
Thomas Tanghus
b528b56902 Contacts: Don't return true on DAV::put Fix #920 2013-04-01 15:18:38 +02:00
Thomas Tanghus
d059f9af09 Contacts: Add base for merging contacts. 2013-04-01 03:50:42 +02:00
Thomas Tanghus
e5fbf0d888 Contacts: Add hooks for scanning categories and index properties. 2013-04-01 03:46:45 +02:00
Thomas Tanghus
073f694bbb Contacts: Remove obsolete method. 2013-03-30 07:31:08 +01:00
Thomas Tanghus
0b1926841b Contacts: Set unsaved state when adding/updating properties. 2013-03-30 07:30:14 +01:00
Thomas Tanghus
cc69b94775 Contacts: BDAY VALUE=DATE wasn't saved 2013-03-30 07:29:39 +01:00
Thomas Tanghus
3960793209 Contacts: CardDAV fixes 2013-03-30 04:22:30 +01:00
Thomas Tanghus
21d77d7ba6 Properly parse JSON parameters 2013-03-30 04:06:54 +01:00
Thomas Tanghus
e4efd4e59f Contacts: Hooks for updating categories 2013-03-30 04:06:07 +01:00
Thomas Tanghus
ddcdc6eef3 Oops, duplicate methods 2013-03-30 04:05:13 +01:00
Thomas Tanghus
fd2f1e6eb0 Contacts: Move default group names to Utils\Properties::getDefaultCategories() 2013-03-30 00:28:20 +01:00
Thomas Tanghus
2dfab8d220 Contacts: Escape values client side to not double escape. 2013-03-29 18:06:10 +01:00
Thomas Tanghus
6c1484de9c copy/paste error 2013-03-29 16:45:16 +01:00
Thomas Tanghus
feeb686482 Contacts: Add new multiproperty if it doesn't exist. 2013-03-29 16:44:44 +01:00
Thomas Tanghus
09054d06e3 Contacts: Namespace Exception 2013-03-29 16:44:14 +01:00
Thomas Tanghus
808af5b381 Contacts: Only one PRODID 2013-03-29 16:42:33 +01:00
Thomas Tanghus
aa87d0de73 Stop floating the log on import 2013-03-29 06:50:47 +01:00
Thomas Tanghus
7693785933 Contacts: Importing, indexing and group extraction in working state. 2013-03-29 05:00:03 +01:00
Thomas Tanghus
1d0a41d6fb Contacts: Document variables. 2013-03-28 17:33:30 +01:00
Thomas Tanghus
0bbb6afcba Contacts: Properly implement Countable in AddressBook And support in Database backend 2013-03-28 17:32:36 +01:00
Thomas Tanghus
c58940336c Contacts: Improve docs on AbstractBackend 2013-03-28 17:31:20 +01:00
Thomas Tanghus
b66770b697 Contacts: Cleanup and more logging in Contact 2013-03-28 05:01:45 +01:00
Thomas Tanghus
ca7d8d3332 Contacts: Don't store empty child in AddressBook 2013-03-28 05:00:51 +01:00
Thomas Tanghus
db74b3c665 Contacts: Quick hack to create default address book 2013-03-28 03:36:23 +01:00
Thomas Tanghus
255c538a60 Contacts: Add more routes and wrap response in a JSONResponse object. 2013-03-28 03:19:01 +01:00
Thomas Tanghus
3d5e740325 Contacts: Fix deleting properties. 2013-03-26 12:35:37 +01:00
Thomas Tanghus
ebca7c662d Contacts: PoC request. 2013-03-26 12:33:44 +01:00
Thomas Tanghus
787931bc16 Contacts: Fix undefined index in search. 2013-03-25 22:05:59 +01:00
Thomas Tanghus
334751a18b Contacts: Properly prepare query and quote values. thx @eMerzh :) 2013-03-25 21:41:37 +01:00
Thomas Tanghus
6e3e4d263b Contacts: Properly prepare query and quote values. thx @eMerzh :) 2013-03-25 21:34:18 +01:00
Thomas Tanghus
3eb5303c3e Contacts: More updates on backends 2013-03-25 17:10:21 +01:00
Thomas Tanghus
3e9813bc68 Contacts: Rename getPropertyByChecksum unsetPropertyByChecksum 2013-03-23 02:03:23 +01:00
Thomas Tanghus
321cb7bf94 Contacts: Cleanup sql in Database backend. 2013-03-22 15:03:50 +01:00
Thomas Tanghus
b6b32f3ed5 Contacts: Add missing argument to backend. 2013-03-22 15:02:08 +01:00
Thomas Tanghus
a92eb61135 Contacts: Disable magic accessors in collection class. 2013-03-22 15:00:47 +01:00
Thomas Tanghus
e0b95a2857 Contacts: PoC shared collection update. 2013-03-22 14:59:24 +01:00
Thomas Tanghus
d85a6c36aa Contacts: Temporarily reenable legacy categories methods. 2013-03-22 14:58:32 +01:00
Thomas Tanghus
f6541dafc3 Contacts: Cache thumbnails in Contact class. 2013-03-22 14:50:41 +01:00
Thomas Tanghus
55338242dd Contacts: Add reminder 2013-03-20 11:27:40 +01:00
Thomas Tanghus
2f24dbbc8a Contacts: Temporarily disable birthday event hook 2013-03-20 11:26:39 +01:00
Thomas Tanghus
671eecd2ce Contacts: Misc. fixes for Contact 2013-03-20 11:26:01 +01:00
Thomas Tanghus
7d6ce18b0a Contacts: Document Properties::updateIndex() 2013-03-20 11:25:04 +01:00
Thomas Tanghus
5e67fc27d6 Contacts: Some updates to Datebase backend 2013-03-20 11:24:05 +01:00
Thomas Tanghus
9044749985 Contacts: Add addChild, deleteChild, delete and save to collections. 2013-03-20 11:22:53 +01:00
Thomas Tanghus
24ee12ed31 Contacts: Use Property class for TYPE vales. 2013-03-20 11:20:35 +01:00
Thomas Tanghus
457dfefdb2 Contacts: Add some reminders 2013-03-17 23:06:14 +01:00
Thomas Tanghus
6fc05fa4cc Contacts: Updates on PIM classes. 2013-03-17 21:32:53 +01:00
Thomas Tanghus
f8b0387fdd Contacts: Document class assumptions 2013-03-17 21:31:46 +01:00
Thomas Tanghus
7a69ed85d3 Contact: port getACL 2013-03-17 10:48:12 +01:00
Thomas Tanghus
dd00e6872b Contacts: Return Return {DAV:}write for own address books. Fix #788
Propably fixes #780 and #694
2013-03-17 10:31:23 +01:00
Thomas Tanghus
0f1800c2de Contacts: Various fixes found when adding unit tests. Unit tests FTW \o/ 2013-03-17 00:38:00 +01:00
Thomas Tanghus
5bfe561937 Contacts: Misc backend updates. 2013-03-16 15:59:23 +01:00
Thomas Tanghus
a4d26981d8 Contacts: Fix JSON serializer 2013-03-16 15:57:22 +01:00
Thomas Tanghus
9fda90791f Contacts: Temporarily disable userCreate hook. 2013-03-16 15:56:21 +01:00
Thomas Tanghus
8c1d04edac Contacts: remove stray semi-colon 2013-03-15 17:03:43 +01:00
Thomas Tanghus
5b08c7fcdc Contacts: Updates to backends API. 2013-03-15 17:02:33 +01:00
Thomas Tanghus
67474ebbc0 Contacts: First stub for App 2013-03-15 17:01:06 +01:00
Thomas Tanghus
d7a47af586 Contacts: Remove old VCard::delete() 2013-03-14 15:20:49 +01:00
Thomas Tanghus
2d3769f273 Contacts: CardDAV getCard() returns false if not found. 2013-03-13 19:48:25 +01:00
Thomas Tanghus
107e8d4bd2 Contacts: Move GEO class map to appinfo/app.php 2013-03-13 09:59:12 +01:00
Thomas Tanghus
3d278c0e11 Contacts: Moved misc. functionality to hooks and utility classes. 2013-03-13 08:52:00 +01:00
Thomas Tanghus
4c093890f1 Updated 2012 => 2013 2013-03-13 05:58:46 +01:00
Thomas Tanghus
e956420b1e Contacts: Move checksum check to Contact. 2013-03-13 05:57:35 +01:00
Thomas Tanghus
006bf317f4 Contacts: var 'url' => 'uri'. 2013-03-13 05:56:31 +01:00
Thomas Tanghus
5e938caf75 Contacts: Stripped out stale code. 2013-03-13 05:55:44 +01:00
Thomas Tanghus
08ad7b1a32 Contacts: Remove obsolete methods. 2013-03-13 05:54:39 +01:00
Thomas Tanghus
3b8cc18aff Contacts: Cache queries in Database backend. 2013-03-13 05:19:38 +01:00
Thomas Tanghus
d9640bdc4e Contacts: Remove obsolete methods. 2013-03-13 04:14:27 +01:00
Thomas Tanghus
897560fcc7 Contacts: Moved translated parameters to utility class. 2013-03-13 04:11:37 +01:00
Thomas Tanghus
8a7302045d Contacts: Moved structureContact etc to JSONSerializer class. 2013-03-13 04:10:06 +01:00
Thomas Tanghus
c7971b4071 Merge branch 'master' into contacts_backends
Conflicts:
	contacts/lib/addressbook.php
	contacts/lib/vcard.php
2013-03-12 23:03:30 +01:00
Thomas Tanghus
ccc32aac25 Contacts: Some Exceptions weren't namspaced. 2013-03-12 22:15:04 +01:00
Thomas Tanghus
fccea3347c Contacts: Adjustments to backends. 2013-03-12 20:00:22 +01:00
Thomas Tanghus
152386946e Contacts: Updates on interfaces 2013-03-12 09:25:10 +01:00
Thomas Tanghus
3ac86ce032 Merge branch 'five_zero_dot_one' into contacts_backends
Conflicts:
	contacts/ajax/contact/saveproperty.php
	contacts/import.php
	contacts/js/app.js
	contacts/js/contacts.js
	contacts/js/groups.js
	contacts/lib/carddav/backend.php
2013-03-12 09:24:06 +01:00
Thomas Tanghus
1b1a2ef7d4 Contacts: New backends WiP 2013-03-12 09:15:40 +01:00
Thomas Tanghus
0449d706ed Contacts: Temporarily use AddressbookLegacy 2013-03-12 09:14:06 +01:00
Thomas Tanghus
29dc6cf0b0 Contacts: Convinience method for getting backend in carddav. 2013-03-11 16:22:27 +01:00
Thomas Tanghus
edc10d08e9 Contacts: Added missing twitter scheme. 2013-03-10 12:51:21 +01:00
Thomas Tanghus
293c0b260d Contacts: Use new backends for CardDAV. 2013-03-10 12:50:37 +01:00
Thomas Tanghus
e8a2b6fc74 Contacts: Avoid double escaping on serialize. 2013-03-10 12:50:02 +01:00
Thomas Tanghus
c7dfc8fc33 Contacts: Add generic PIM classes + Contact class. 2013-03-10 12:40:11 +01:00
Thomas Tanghus
275c98cce8 Contacts: Generate prettier target for shared address books. 2013-03-10 12:38:27 +01:00
Thomas Tanghus
efad313280 Contacts: Typo in CardDAV plugin. 2013-03-10 12:36:08 +01:00
Thomas Tanghus
604b819014 Contacts: Added backends for database and shared contacts. 2013-03-10 12:34:41 +01:00
Thomas Tanghus
19246ebe22 Contacts: Fix missing URI scheme for twitter IMPP. Thx @dmfs :) 2013-03-09 22:50:00 +01:00
Thomas Tanghus
bcdc7e3ecd Contacts: Wrong variable name in Sabre backend. 2013-03-07 04:06:04 +01:00
Thomas Tanghus
4aa46c5736 Contacts: Title wasn't shown. 2013-03-06 23:37:55 +01:00
Georg Ehrke
0769e833d9 fix some PHP Notices and fix birthday calendar - fix #610 2013-03-06 14:47:26 +01:00
Thomas Tanghus
99e8f5b5f6 Contacts: Properly namespace VObject subclasses. 2013-03-05 11:36:35 +01:00
Thomas Tanghus
ac19b7f0f3 Contacts: Namespace CardDAV backend. 2013-03-05 11:08:04 +01:00
Thomas Tanghus
ec24a73c48 Contacts: Properly escape commas and semi-colons. 2013-03-05 02:31:14 +01:00
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