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

116 Commits

Author SHA1 Message Date
Bernhard Reiter
2db4e3b4e7 Fix Addressbook::childExists($id).
Return false instead of throwing an exception if there's no child with $id.
Also, add a test for that function.
2014-10-01 21:06:57 +02:00
Thomas Müller
e8e9d34725 return 'PHOTO' attribute on AddressbookProvider::search 2014-07-22 12:42:59 +02:00
Volkan Gezer
096eb36d23 fix plural typo 2014-05-25 13:14:06 +02:00
babelouest
fed712b0c9 fixed issue #498 another time
seems that the problem was due to the array $this->objects that didn't accept ldap backend ids as key
forced the key to string, seems better now (ldap and local backend tested)
2014-05-20 14:53:04 -04:00
babelouest
bb1733da81 fix bug #498 2014-05-20 14:10:17 -04:00
babelouest
c682a3585d Merge branch 'ldap' of https://github.com/owncloud/contacts into ldap
Conflicts:
	admin.php
	lib/backend/ldap.php
	lib/dispatcher.php
2014-05-09 14:54:49 -04:00
Thomas Tanghus
971675f7fe Cleanup backend code and docs 2014-04-24 15:30:59 +02:00
Thomas Tanghus
06fd41e886 Update docs for AddressBook::getSearchProvider. Refs #470 2014-04-23 11:43:26 +02:00
Tobia De Koninck
c03ad310cb fix issues 2014-04-23 08:42:17 +02:00
LEDfan
0d619b835c Add docs 2014-04-18 12:52:52 +02:00
LEDfan
11eef60a55 Implement getSearchProvidder 2014-04-18 12:47:44 +02:00
babelouest
e9c9f6d363 first batch of a working of add/update addressbook dialog window
several bugs remaining and code cleaning is necessary
2014-04-03 17:35:58 -04:00
babelouest
3f26148233 implementing ldap addressbook modification (draft) 2014-04-01 09:16:53 -04:00
babelouest
a8e6ab0d33 change new addressbook ui for a dialog
implemented delete ldap addressbook
2014-03-29 01:22:52 -04:00
Thomas Tanghus
ff395f36a3 Misc. code cleanups 2014-03-23 19:02:16 +01:00
Thomas Tanghus
d9a1089c7d @returns => @return 2014-03-20 21:52:44 +01:00
Thomas Tanghus
202d23813b Misc. fixes after refactoring 2014-03-18 23:51:32 +01:00
Thomas Tanghus
1afddaa98e Finally actually implement the interfaces I claim to.
\Iterator, \Countable, \ArrayAccess

Still need some checks to assure validity after unset()
2014-03-10 15:16:15 +01:00
Thomas Tanghus
45aa3198f7 More cleanups 2014-03-09 15:03:29 +01:00
Thomas Tanghus
d724149c56 More fixes 2014-03-08 19:09:17 +01:00
Thomas Tanghus
f6bfea77e7 Scrutinizer cleanup 2014-03-08 16:22:51 +01:00
Thomas Tanghus
9abdeb75ce 2014 2014-01-26 00:40:22 +01:00
Thomas Tanghus
e06bd9b17a Fix birthday generation and add methods for creating birthday events 2013-10-01 19:15:22 +02:00
Thomas Tanghus
cf92673e8c OC_ -> OCP\ 2013-09-16 02:24:08 +02:00
Thomas Tanghus
feb200bba6 Finally (re)implemented (de)activate address books. Closes #48 2013-09-05 22:08:34 +02:00
Thomas Tanghus
e76606b419 Don't emit signals in batch operations. 2013-09-03 19:23:11 +02:00
Thomas Tanghus
83d3320339 First iteration of barch deletion #110 2013-09-03 14:09:13 +02:00
Thomas Tanghus
4a67ad28ca Improved unit tests and adjust backend method signatures. 2013-08-26 20:10:29 +02:00
Thomas Tanghus
b71b0c280b Add missing public declarations 2013-05-31 21:32:45 +02:00
Thomas Tanghus
34bdb4e70f Minor interface cleanups 2013-05-19 00:54:50 +02:00
Thomas Tanghus
5581b62c9a Missing method name to OC_L10N calls. 2013-05-18 16:49:02 +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
49f728a86a Contacts: Don't mix possible permissions with actual permissions. 2013-05-05 22:21:42 +02:00
Thomas Tanghus
26cc08f553 Contacts: Tighten up on permission checking. 2013-05-03 05:00:50 +02:00
Thomas Tanghus
e1e06c4f78 Contacts: Proper access control in AddressBook and Contact 2013-04-27 01:46:25 +02:00
Thomas Tanghus
8414c16955 Contacts: Adjust some class names 2013-04-25 01:03:05 +02:00
Thomas Tanghus
09413a4fca Contacts: Step 2 in porting to app framework. 2013-04-19 09:59:30 +02: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
ca7d8d3332 Contacts: Don't store empty child in AddressBook 2013-03-28 05:00:51 +01:00
Thomas Tanghus
3eb5303c3e Contacts: More updates on backends 2013-03-25 17:10:21 +01:00
Thomas Tanghus
b6b32f3ed5 Contacts: Add missing argument to backend. 2013-03-22 15:02:08 +01:00
Thomas Tanghus
9044749985 Contacts: Add addChild, deleteChild, delete and save to collections. 2013-03-20 11:22:53 +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
5bfe561937 Contacts: Misc backend updates. 2013-03-16 15:59:23 +01:00
Thomas Tanghus
d9640bdc4e Contacts: Remove obsolete methods. 2013-03-13 04:14:27 +01:00
Thomas Tanghus
fccea3347c Contacts: Adjustments to backends. 2013-03-12 20:00:22 +01:00
Thomas Tanghus
1b1a2ef7d4 Contacts: New backends WiP 2013-03-12 09:15:40 +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