1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-11 00:52:29 +01:00

8 Commits

Author SHA1 Message Date
Vincent Petry
0b5fb1bfc7 Fix to make it compatible with Sabre 2.1
Also fixed unit tests so they run but some still fail

- Added IUserSession mock
- Replaced OCP::getUser() with IUserSession usage to make the mock work
- Added base class for test cases
2015-03-17 12:53:05 +01:00
Bjoern Schiessle
c5555e89c5 in oc8 or later share_backend need to implement isShareTypeAllowed() 2014-12-10 15:43:17 +01:00
Bernhard Reiter
51d6783240 Fix and re-activate Contact sharing backend.
While not needed for actual contacts sharing (which is solely done via
the Addressbook sharing backend), we need its isValidSource() function
in core's \OC\Tags::getIdsForTag() (which implements \OCP\ITags::getIdsForTag()).
It is required there to test if the items that are tagged with a given
tag are actually allowed to be accessed by the user, i.e. owned by the
user or someone who is sharing it with the user.
2014-10-11 01:47:49 +02:00
Thomas Tanghus
8414c16955 Contacts: Adjust some class names 2013-04-25 01:03:05 +02:00
Thomas Tanghus
1b1a2ef7d4 Contacts: New backends WiP 2013-03-12 09:15:40 +01:00
Thomas Tanghus
69cdc09d93 Use OCA namespace. 2012-10-25 03:34:12 +02:00
Bart Visscher
b179feeea2 Fix whitespace in contacts 2012-09-07 14:32:45 +02:00
Michael Gapczynski
9b2e8de621 Sharing backends for contacts and addressbooks 2012-08-06 16:11:03 -04:00