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
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
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
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
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
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
babelouest
b15ee161cf
fix $id is array in database.php line 529 #559
2014-09-10 12:29:35 -04:00
Jakob Sack
7d214dbaea
Fix creation of default address book
2014-09-02 22:54:54 +02:00
Jakob Sack
026fb01af3
Move creation of default address book to backend
...
Fixes owncloud/contacts#513
2014-08-29 15:18:11 +02:00
Bernhard Reiter
e69f1374f3
Fix a comment typo.
2014-08-29 00:45:56 +02:00
Stephane V
e62dc63947
Fix #532 . Adds an intermediate variable to be compatible with php 5.3
2014-07-09 19:18:20 +02:00
LEDfan
8d5c4456da
Remove localusers from contacts app
2014-06-19 15:17:22 +02:00
LEDfan
97d7fe40d6
Support jpg images for avatars from users
2014-06-19 15:17:22 +02:00
babelouest
b2d26811e3
fixed scrutinizer issues
2014-05-09 15:18:44 -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
babelouest
de4bb76c53
after a painful rebase
2014-05-09 14:30:14 -04:00
babelouest
93f7ccbc09
tmp
2014-05-09 13:58:11 -04:00
babelouest
7e3da29c87
rebase
2014-05-09 13:55:51 -04:00
babelouest
5e95953799
rebase
2014-05-09 13:54:45 -04:00
Thomas Tanghus
a457684f41
Updates to localusers backend. cc @LEDfan
2014-04-24 15:30:59 +02:00
Thomas Tanghus
971675f7fe
Cleanup backend code and docs
2014-04-24 15:30:59 +02:00
Tobia De Koninck
f0784e906d
Fix #474 issue 2
2014-04-23 08:37:08 +02:00
Thomas Tanghus
90d7f1e282
Shared address books was shown twice
2014-04-22 15:39:44 +02:00
Thomas Tanghus
a839a9ae6e
Shared address books wasn't shown. Fix #471
2014-04-22 15:39:14 +02:00
Thomas Tanghus
f75dee996e
Some cleanups. cc @LEDfan
2014-04-17 04:59:14 +02:00
Thomas Tanghus
a7ea3e4706
Clean indentation
2014-04-17 01:40:41 +02:00
Volkan Gezer
e9f52acd9c
add space between on this and Name
2014-04-16 21:20:21 +02:00
babelouest
6920f3c2d9
sanitize code, remove error_log debug messages
2014-04-16 13:04:07 -04:00
Thomas Tanghus
25446f0e48
Add getSearchProvider() to AbstractBackend. Refs #465
2014-04-16 17:12:14 +02:00
babelouest
b8c3c4e1ea
Merge branch 'master' of https://github.com/owncloud/contacts into ldap
2014-04-15 11:13:05 -04:00
babelouest
c20022562d
fix scrutinizer feedbacks on code
...
https://scrutinizer-ci.com/g/owncloud/contacts/inspections/1e228d67-e0a8-4a59-ab21-b2414c66dcf2
2014-04-09 16:07:13 -04:00
LEDfan
093ff0920c
solve bug
2014-04-08 16:35:10 +02:00
babelouest
e354d0fae3
use ocdialog
...
fix a bug in the contact.save() methid that was readonly for no reason
2014-04-07 19:40:21 -04:00
babelouest
57211530f8
clean code
2014-04-07 01:17:48 -04:00
LEDfan
a65549f089
Update DB on getContacts, getContact and search
2014-04-06 09:58:49 +02:00
LEDfan
c769e33a49
Add docs
2014-04-06 08:39:58 +02:00
LEDfan
17d7ed7e99
Add x-owncloud-handle by default
2014-04-06 08:21:24 +02:00
LEDfan
90a090af98
Add index properties to provide a solid search function
2014-04-05 18:56:21 +02:00
babelouest
ec8053c915
Several corrections and improvements, thanks to the feedbacks on the PR
2014-04-04 18:50:55 -04: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
LEDfan
00cf07ec1a
Small cleanup
2014-04-03 18:59:34 +02:00
LEDfan
e70814997f
Add search() function
2014-04-03 18:36:11 +02:00
LEDfan
4cf45fa91f
fix issue when a user is removed
2014-04-02 21:49:53 +02:00
LEDfan
615077b900
Fix issue when updating a contact
2014-04-02 21:44:03 +02:00
LEDfan
ef12447f8d
Finnaly fix permissions
2014-04-02 21:16:08 +02:00
LEDfan
1fa0004492
Change name of the backend
2014-04-02 20:39:04 +02:00