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

965 Commits

Author SHA1 Message Date
Thomas Müller
6fd8405f6e Simply load the thumbnail as small photo - fixes #936 2015-07-06 10:51:52 +02:00
babelouest
a5b717c76b fix bug #807 that doesn't evaluates the return value of the function convertElementToVCard when detecting the file format 2015-07-06 10:51:52 +02:00
Thomas Müller
19b1fa25aa When loading the image from the VCard we get the raw binary data - no need to base64 encode anything anymore 2015-06-30 13:06:46 +02:00
Thomas Müller
bafbbe2bd5 Some cleanup along the way 2015-06-30 10:34:44 +02:00
Thomas Müller
09150e057c Set raw photo data into vcard - encoding is done with the serialization mechanisms - fix #904 #787 2015-06-30 10:26:09 +02:00
Thomas Müller
513b1d6875 Merge pull request #894 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2015-06-29 22:29:54 +02:00
Thomas Müller
1a37138ec3 Merge pull request #906 from owncloud/fix_880_905
Fix #880 #905
2015-06-26 17:55:26 +02:00
Scrutinizer Auto-Fixer
cf7c31b6bb Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-26 17:49:39 +02:00
Thomas Müller
b82e877b0b Merge pull request #915 from owncloud/fix-standard-vcard-import
Fix standard vcard import
2015-06-26 17:47:30 +02:00
Thomas Müller
67d0f14ed3 Merge pull request #921 from schuemann/master
Fixed error handling in getContact if  $id not an array.
2015-06-26 17:44:34 +02:00
Thomas Müller
44370e7f38 Merge pull request #926 from mroi/patch-1
fix app loading with avatars disabled
2015-06-26 17:40:36 +02:00
Bjoern Schiessle
d1b6ee9f2e default should always be home 2015-06-25 16:53:33 +02:00
Bjoern Schiessle
e0d0755998 allow user to add federated cloud ID to addressbook 2015-06-23 17:46:07 +02:00
Michael Roitzsch
07283a2290 add avatar JavaScript
otherwise the contacts app fails to load due to JavaScript errors when avatars are disabled
2015-06-19 10:49:19 +02:00
schuemann
f8f60b50ae Use tabs instead of spaces. 2015-06-14 16:00:14 +02:00
schuemann
7aec8c49d6 Fixed error handling in getContact if is not an array. 2015-06-14 15:32:36 +02:00
Bernhard Posselt
24eda13752 fix standard vcard import 2015-06-06 20:06:52 +02:00
babelouest
057507d989 and one more time for scrutinizer
he's so obsessive, he reminds me sometimes...
2015-05-23 18:26:30 -04:00
babelouest
6032ec2e1e scrutinizer told me not to use spaces for indent, tabs only
so I did
2015-05-23 18:20:50 -04:00
babelouest
c4c1a1fa6b fix issue #905 2015-05-23 17:57:14 -04:00
Nicolas Mora
dcf242f501 use $property->add() instead of $property->parameters[] = new \Sabre\VObject\Parameter() 2015-05-20 07:29:35 -04:00
babelouest
75bbf040e4 fix bug #880, there was no $root parameter passed to the VObject/Parameter creation 2015-05-19 08:33:09 -04:00
Sebastian Kostka
d00df09e69 fix getBirthdayEvent
removing unneeded $vcal->add($vevent);
2015-05-10 19:07:40 +02:00
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