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

164 Commits

Author SHA1 Message Date
Lukas Reschke
ff24a91f48 Cleanup the unit tests and add some unit tests for controllers 2015-07-06 15:35:37 +02:00
Jan-Christoph Borchardt
3a4b38dbf2 Merge pull request #940 from owncloud/remove-api-class
Remove use of deprecated API class
2015-07-01 12:03:11 +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
ac70af510d Remove use of deprecated API class 2015-06-30 00:25:55 +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
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
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
Bernhard Posselt
24eda13752 fix standard vcard import 2015-06-06 20:06:52 +02:00
babelouest
03776258bb remove use of obsolete class OC_FileProxy 2015-04-26 15:09:13 -04: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
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
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
jbtbnl
18c7e95380 Merge branch 'master' into import-new-ui
Conflicts:
	css/contacts.css
2014-09-15 11:14:31 +02:00
Jan-Christoph Borchardt
ea5d8fbb79 Merge pull request #619 from owncloud/fix-header
Small fixes for header
2014-09-08 17:00:46 +02:00
Jan ten Bokkel
2cec676c10 Add avatar and placeholder JavaScripts 2014-08-31 10:51:24 +02:00
Jan ten Bokkel
7945f1fcc8 Fix export of contacts 2014-08-29 17:52:51 +02:00
Bernhard Reiter
0eb18b2a15 Fix typos in variable names that broke stuff. 2014-08-29 00:45:56 +02:00
Bernhard Reiter
0d6f16f612 Fix one error reporting line in the group controller. 2014-08-29 00:45:56 +02:00
jbtbnl
0129e59024 Hide upload iframe and fix merge flaws 2014-08-26 19:28:45 +02:00
jbtbnl
a9ade3079d Merge remote-tracking branch 'origin/master' into import-new-ui
Conflicts:
	css/contacts.css
	lib/controller/importcontroller.php
2014-08-26 17:42:14 +02:00
Bernhard Reiter
1e015d9872 Rename $this->tagMgr to $this->tags as that's what they are.
They're instances of OCP\ITags, not of OCP\ITagManager.
2014-08-19 14:29:46 +02:00
Thomas Müller
0549c01fe8 Merge pull request #568 from owncloud/adding-php-lint
adding php-lint
2014-07-30 11:33:10 +02:00
Clark Tomlinson
e7755dcc32 Extracting closures into methods to solve php 5.3 issue #546 2014-07-30 11:07:44 +02:00
Bernhard Reiter
dd2c0f7c14 Use OCP\ITags in lib/controller/importcontroller.php. 2014-07-23 20:43:32 +02:00
root
5c5bc56ae4 fix TagMgr access
remove unwanted error_log
2014-07-04 10:51:59 -04:00
LEDfan
bf9d2cd999 Instead of throwing error, give a JSON result when there isn't a photo 2014-07-02 17:25:34 +02:00
babelouest
229c49d43e Merge branch 'master' of https://github.com/owncloud/contacts into import-new-ui
Conflicts:
	js/addressbooks.js
	templates/contacts.php
2014-05-10 12:09:23 -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
Thomas Tanghus
f699812f69 Move instantiation of ImportManager to PageController 2014-05-09 13:39:17 +02:00
babelouest
da0d990472 adapted import ui to fit in the ocdialog
might be some bugs left though
2014-05-07 22:46:22 -04:00
babelouest
f3272ad159 reimplemented import ui in a ocdialog 2014-05-07 16:54:58 -04:00
babelouest
a3166ee452 add admin settings to enable/disable ldap backend 2014-05-05 01:10:01 -04:00
Thomas Tanghus
a50b1b4860 Add use OCP\ICache to ImportController 2014-04-18 02:00:17 +02:00
Thomas Tanghus
561d13c20e Simplify cropPhoto args 2014-04-17 17:38:01 +02:00
babelouest
5512e72ef4 Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-04-11 07:56:06 -04:00
Thomas Tanghus
bf37aead8e Inject API in AddressBookController. Refs. #460 2014-04-11 12:45:15 +02:00
babelouest
03cf95f37c Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-04-09 13:45:48 -04:00
babelouest
c674b8db00 code clean in js config dialog
distinction between a ldap addressbook edition and a local addressbook edition in the UI
several bug fixes
2014-04-09 13:38:09 -04: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
Thomas Tanghus
e993761cb3 Forgot access sig 2014-04-08 01:32:53 +02:00