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

942 Commits

Author SHA1 Message Date
Jakob Sack
e009465f81 Fix creation of ics files 2015-05-08 10:02:41 +02:00
Thomas Müller
6b85b484d3 Merge pull request #857 from lupusmeatus/bugfix-restrict-addressbookprovider-search-to-single-addressbook
Restrict addressbookprovider-search to its address-book to fix duplicate search results
2015-05-08 00:35:05 +02:00
Thomas Müller
ba050ccf11 Merge pull request #877 from derkostka/master
fix Undefined index error ehen updatein thumbnail of contacts
2015-05-08 00:34:01 +02:00
Thomas Müller
4acefa4c3a Merge pull request #887 from jakobsack/master
Make birthday events non-blocking
2015-05-08 00:32:58 +02:00
Sebastian Kostka
bb600cd86f fix undefined variable $vevent
using the return value of createComponent
2015-04-27 23:02:13 +02:00
Jakob Sack
1ca7a34675 Make birthday events non-blocking 2015-04-27 17:35:25 +02:00
babelouest
03776258bb remove use of obsolete class OC_FileProxy 2015-04-26 15:09:13 -04:00
Sebastian Kostka
bbe1b8ef4d Update properties.php
Added check if array exists, and also if the value is false
2015-04-12 11:30:54 +02:00
Sebastian Kostka
971c1e9d6d fix Undefined index: remove at \/var\/www\/owncloud\/apps2\/contacts\/lib\/utils\/properties.php#303 2015-04-11 11:20:30 +02:00
lupusmeatus
e7025a15ad Update addressbookprovider.php 2015-03-22 04:14:55 +01:00
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
LEDfan
5fa823012e Merge pull request #723 from ionum/master
extend func getIDFromUri => Issue #478
2015-03-12 19:26:51 +01:00
LEDfan
1642fa5419 Merge pull request #824 from martin-rueegg/martin-rueegg-avoid-offset-error
Avoid "Undefined offset: 0"
2015-03-12 14:31:06 +01:00
David Prévot
8280042bfe Drop useless execution bits 2015-02-27 12:38:54 -04:00
Martin Rüegg
f941a30838 move comments to commit comment
// Not sure if I'm doing it wrongly, or if its supposed to return
		// the info in an array?
		// https://github.com/owncloud/core/blob/master/lib/private/share/share.php
		// \-> getItemSharedWithBySource()
		//     \-> self::getItems()
		//          -> return array();
		//       or -> return formatResult(); 
		//             \-> https://github.com/owncloud/contacts/blob/master/lib/share/addressbook.php
		//                 \-> formatItems()
		//                      \--> which in turn also always returns an array
		// thus $addressBook is an array. either empty or having one entry
2015-02-13 11:14:59 +01:00
Martin Rüegg
95cdb64b14 Avoid "Undefined offset: 0"
$addressBook is always an array. either empty or having one entry.

https://github.com/owncloud/contacts/issues/740
https://github.com/nerzhul/ocsms/issues/39
2015-02-13 04:25:48 +01:00
babelouest
ea0f5119db improve import automatic selection 2015-01-29 09:42:22 -05:00
LEDfan
ff13e3e081 Merge pull request #751 from owncloud/fix_741
Use thumbnail cache instead of refreshing every time
2014-12-24 07:55:09 +01:00
LEDfan
308241a0f5 Merge pull request #706 from owncloud/fix_704
Fix the createOrUpdate function
2014-12-21 09:20:46 +01:00
LEDfan
8e23084254 Fix wrong parameter order 2014-12-20 13:48:22 +01:00
LEDfan
f322defadf Use thumbnail cache instead of refreshing every time 2014-12-20 11:16:40 +01:00
Bjoern Schiessle
c5555e89c5 in oc8 or later share_backend need to implement isShareTypeAllowed() 2014-12-10 15:43:17 +01:00
LEDfan
3b70690e05 Create Update part 2014-12-07 14:01:39 +01:00
LEDfan
5a653a2a52 Use setPropertyByName 2014-12-07 09:22:13 +01:00
LEDfan
adfbbe3fbf Directly return 2014-12-07 09:17:38 +01:00
LEDfan
ae69dbf74f Fix identation 2014-12-07 09:17:38 +01:00
LEDfan
23a92e2b74 Fix the createOrUpdate function 2014-12-07 09:17:38 +01:00
babelouest
89c65e35a4 use tabs instead of space for indentation 2014-12-06 16:57:00 -05:00
babelouest
b90f05c0c6 fix bug with colon and space that made the import controller guess it's a ldif file instead of a vcard... 2014-12-06 16:42:34 -05:00
LEDfan
95bd2ff182 Merge pull request #621 from jakobsack/master
Move creation of default address book to backend
2014-12-05 07:45:49 +01:00
LEDfan
2ad05e3bdb Merge pull request #710 from owncloud/fix_404
Fix 404 contact not found with shared addressbook
2014-12-05 07:33:58 +01:00
ionum
15d2d74246 extend func getIDFromUri
uri is no unique value; only combination of uri and addressbookid is unique
2014-12-01 13:16:52 +01:00
Morris Jobke
f6ac4ea683 migrate from OC_Preferences to DI config object 2014-11-28 16:51:10 +01:00
LEDfan
579819bee8 also search for shared contacts 2014-11-21 13:03:15 +01:00
LEDfan
b6cdd06db2 Fix double line 2014-11-21 11:47:09 +01:00
LEDfan
2e9dbc4a38 Remove uneeded func 2014-11-21 11:37:08 +01:00
LEDfan
bd9706756d Use join instead of 2 queries 2014-11-21 11:36:28 +01:00
LEDfan
825884adc7 Refactor code to make it simpler 2014-11-21 11:06:54 +01:00
LEDfan
7ce883b33d First step to fix 404's with a shared addressbook 2014-11-21 11:05:06 +01:00
Bernhard Reiter
66f8c5d882 Merge pull request #668 from ockham/share-contact-groups2
Share contact groups
2014-11-17 16:51:07 +01:00
Bernhard Reiter
ea7e3b4844 Load resources from template using script() and style() functions. 2014-11-08 16:35:22 +01:00
Bernhard Reiter
5728c8663b Load md5 and Jcrop scripts and styles from their new locations.
They could not be loaded as they have been replaced by their bower
counterparts with
owncloud/core@49fbd766c2 and
owncloud/core@73569b29bc
2014-11-07 21:44:56 +01:00
Bernhard Reiter
8f23166955 Display correct number of contacts in shared addressbooks.
Fixes #654.
2014-10-28 23:17:38 +01:00
Bernhard Reiter
d29a4b3179 Replace "if (is_null($a) || $a === '')" clauses by "if (empty($a))". 2014-10-23 21:30:09 +02:00
jbtbnl
e947469545 Merge pull request #628 from owncloud/issue-592
Add avatar and placeholder JavaScripts
2014-10-22 12:51:23 +02:00
Bernhard Reiter
9cdf7a57e7 Include shared groups.
Fixes #38.
2014-10-11 01:47:49 +02: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
Bernhard Reiter
c86dbf11b5 Delete groups by their id instead of their name. 2014-10-11 01:47:49 +02:00
Bernhard Reiter
83bc1eaadf Prepare for sharing of contact groups. 2014-10-11 01:47:44 +02:00
Bernhard Reiter
74a8af09a2 Add displayName() to GroupController. 2014-10-10 17:55:46 +02:00