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

902 Commits

Author SHA1 Message Date
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
Thomas Tanghus
41cdd2173d Merge pull request #457 from owncloud/oc-users-backend
OC users backend for the Chat app
2014-04-15 13:43:10 +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
cffc06cc47 Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-04-10 23:33:17 -04:00
Thomas Tanghus
569b2c4a3f Register middleware as string. Refs owncloud/core#8139 2014-04-10 20:29:34 +02:00
Thomas Tanghus
08b5bf4514 Line break for readability 2014-04-10 20:29:34 +02:00
babelouest
78183bebf6 fix scrutinizer errors 2014-04-10 13:51:52 -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
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
LEDfan
093ff0920c solve bug 2014-04-08 16:35:10 +02:00
Thomas Tanghus
dfcc9f19eb Clean up Dispatcher 2014-04-08 12:48:03 +02:00
Thomas Tanghus
946562869e Fix variable name 2014-04-08 11:08:15 +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
Thomas Tanghus
e993761cb3 Forgot access sig 2014-04-08 01:32:53 +02:00
Thomas Tanghus
c5bdc2f74d Scrutinizer fixes 2014-04-08 01:19:30 +02:00
Thomas Tanghus
d0e8457fc3 No need to instantiate App twice 2014-04-07 23:35:57 +02:00
Thomas Tanghus
8dcd7a7d8b server => cache in ContactPhotoController 2014-04-07 23:21:12 +02:00
Thomas Tanghus
70438c997d Align controllers to owncloud/core#8017 2014-04-07 22:29:24 +02: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
25d79d534c fix typos 2014-04-06 09:50:02 +02:00
LEDfan
393c0cf534 Add docs 2014-04-06 08:41:08 +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
2835402b57 Add searc() func tion 2014-04-05 20:35:29 +02:00
LEDfan
90a090af98 Add index properties to provide a solid search function 2014-04-05 18:56:21 +02:00
babelouest
e4ac07cbab Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-04-04 18:51:44 -04: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
LEDfan
7b440cb68c Remove create function 2014-04-02 20:37:16 +02:00
LEDfan
fa4839c6ae Remove / 2014-04-02 20:31:57 +02:00
LEDfan
dd68af97e4 Fix several issues 2014-04-02 18:54:15 +02:00
LEDfan
e95ca5124b Remove uneeded table for address books 2014-04-02 18:54:15 +02:00
LEDfan
69bca05716 Undo uneeded changes 2014-04-02 18:54:15 +02:00
LEDfan
ab03ba5ff2 Check if querys succeeded 2014-04-02 18:54:15 +02:00
LEDfan
8362ef1c99 Check if querys succeeded 2014-04-02 18:54:15 +02:00
LEDfan
39ac52062a Add copyright notice 2014-04-02 18:54:15 +02:00
LEDfan
12b2b1cd61 Fix scrutinizer issues 2014-04-02 18:54:14 +02:00
LEDfan
a6393f9695 Add Docs 2014-04-02 18:54:14 +02:00
LEDfan
a234865f71 Create addressbook if don't exists 2014-04-02 18:54:14 +02:00
LEDfan
0856f4ccc8 WIP almost done 2014-04-02 18:54:14 +02:00
LEDfan
c148f09386 WIP Implenting getContacts 2014-04-02 18:54:14 +02:00
Thomas Tanghus
abb3166e90 Get permissions from Contact if exists, otherwise AddressBook. Refs #457 2014-04-02 14:18:16 +02:00
babelouest
536b5d5261 Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-04-01 09:17:38 -04:00
babelouest
3f26148233 implementing ldap addressbook modification (draft) 2014-04-01 09:16:53 -04:00
Thomas Tanghus
06f865beeb Explicitly check for request vars 2014-04-01 03:38:01 +02:00
Thomas Tanghus
fa9f66e140 Unused var 2014-04-01 02:31:16 +02:00
Thomas Tanghus
9d672249da Add route for getting AddressBook metadata. Refs. #412 2014-04-01 02:11:29 +02:00
babelouest
a8e6ab0d33 change new addressbook ui for a dialog
implemented delete ldap addressbook
2014-03-29 01:22:52 -04:00
babelouest
e70faa6e82 Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-03-28 10:39:49 -04:00
babelouest
440fce7ca8 Merge branch 'master' of https://github.com/owncloud/contacts into ldap
Conflicts:
	formats/backend_ldap_connector.xml
	lib/backend/abstractbackend.php
	lib/backend/database.php
	lib/backend/ldap.php
	lib/controller/addressbookcontroller.php
2014-03-28 10:39:25 -04:00
Thomas Tanghus
1c1fc532d5 Throw proper exceptions in GroupController 2014-03-25 01:16:08 +01:00
Thomas Tanghus
f7ea06fe79 Cleanup in TemporaryPhoto 2014-03-25 01:16:08 +01:00
Thomas Tanghus
ff395f36a3 Misc. code cleanups 2014-03-23 19:02:16 +01:00
Thomas Tanghus
a1c8fe7f1e Merge pull request #444 from owncloud/import_multi_format2
Import from multiple formats
2014-03-23 14:18:48 +01:00
Thomas Tanghus
2aa97eeece Fix thumbnail caching 2014-03-22 21:20:08 +01:00
Thomas Tanghus
f28751e3d8 Get Image directly from Contact in cacheThumbnail 2014-03-21 15:19:32 +01:00
Thomas Tanghus
a2323e1dc6 Add to CacheThumbnail call 2014-03-21 15:19:32 +01:00
Thomas Tanghus
b4436257a9 Add Contact to CacheThumbnail call 2014-03-21 15:19:32 +01:00
Thomas Tanghus
b4f4147195 Remove unneeded test that will be caught by http middleware anyways 2014-03-21 15:19:32 +01:00
Thomas Tanghus
702b0cdc18 Revert fix to please Scrutinizer 2014-03-21 15:19:32 +01:00
Thomas Tanghus
cc0b0a4c9a Correct call to AddressBook->getChild() 2014-03-21 15:19:32 +01:00
Thomas Tanghus
ebc1eb4568 REmove unused ctor 2014-03-21 15:19:32 +01:00
Thomas Tanghus
ba87ba60a2 Correct types for VCard properties 2014-03-21 15:19:31 +01:00
babelouest
d7f8b57025 added standard vcard connector
cleaned code according to scrutinizer log
fixed import message on UI
2014-03-21 01:59:19 -04:00
Thomas Tanghus
43e65fc817 More photo handling cleanups 2014-03-20 21:53:13 +01:00
Thomas Tanghus
d9a1089c7d @returns => @return 2014-03-20 21:52:44 +01:00
Thomas Tanghus
4d71167d56 Change calls to legacy methods 2014-03-20 21:52:07 +01:00
Thomas Tanghus
8bbb60a68e Stray semi-colon 2014-03-20 17:12:11 +01:00
Thomas Tanghus
98e1dfe7a6 Scrutinizer weirdness 2014-03-20 16:58:06 +01:00
Thomas Tanghus
eb7c143718 More contact photo refactoring 2014-03-20 16:00:38 +01:00
Thomas Tanghus
1a7a7cbc80 Add missing @property annotations 2014-03-20 16:00:38 +01:00
Thomas Tanghus
05acb6e87a Mostly done refactoring Photo controller 2014-03-20 01:55:57 +01:00
Thomas Tanghus
fc85adb1b8 Missing 'case:' 2014-03-19 01:59:09 +01:00
Thomas Tanghus
1f4eec0ae5 Reduce complexity of DB query calls 2014-03-19 01:50:10 +01:00
Thomas Tanghus
95c54b6bab White-space 2014-03-19 01:17:00 +01:00
Thomas Tanghus
202d23813b Misc. fixes after refactoring 2014-03-18 23:51:32 +01:00
Thomas Tanghus
cdcb9e504e Database backend refactoring 2014-03-18 23:51:07 +01:00
Thomas Tanghus
83c3d0c094 Add types to @property annotations 2014-03-18 16:20:25 +01:00
Thomas Tanghus
dfda6d1ea6 Wrong var name 2014-03-18 16:20:25 +01:00
Thomas Tanghus
dab64ee15c Missing @return 2014-03-18 16:20:25 +01:00
Thomas Tanghus
f7811490a2 Add missing use arg to closure 2014-03-18 16:20:25 +01:00
Thomas Tanghus
54c79d65c5 Fix logic in IndexProperties hook 2014-03-18 16:20:25 +01:00
Thomas Tanghus
868bf088b3 camelCase variables 2014-03-18 00:58:01 +01:00
Thomas Tanghus
d7d8d3e998 Scrutinizer fixes 2014-03-17 23:48:16 +01:00
Thomas Tanghus
1724c872ef Don't force UTF-8 convertion on a raw vCard.
- See http://lists.kde.org/?l=kde-pim&m=139499803011869&w=2
2014-03-17 23:20:21 +01:00
Thomas Tanghus
67c53df958 Improve UID generator 2014-03-17 23:19:58 +01:00
Thomas Tanghus
aed174483d Fix @param 2014-03-17 23:18:57 +01:00
Thomas Tanghus
86406d5599 Remove faulty multi-byte detection 2014-03-17 22:56:09 +01:00
Thomas Tanghus
4da09ff2e7 Prevent multi-bute chars (Emoji) from being added 2014-03-17 06:14:23 +01:00
Thomas Tanghus
d1da143191 Removed obsolete dicontainer.php 2014-03-16 01:30:33 +01:00
Thomas Tanghus
7441ae66e7 Add {@inheritdoc} for backends 2014-03-16 01:30:33 +01:00
Thomas Tanghus
5b30b408d3 camelCase variabels 2014-03-14 20:57:26 +01:00
Thomas Tanghus
e0846b454f Return null if shared address book is not found 2014-03-14 20:36:44 +01:00
babelouest
c85b284208 Revert "a little code cleaning, removed {count} value during the import process"
This reverts commit 2a43562229.
2014-03-12 14:23:42 -04:00
babelouest
2a43562229 a little code cleaning, removed {count} value during the import process 2014-03-12 13:32:09 -04:00
babelouest
919f540d01 Import from multiple formats 2014-03-11 16:43:32 +01:00
Thomas Tanghus
cbb7b0db8f Remove wrong argument to HttpMiddleware ctor 2014-03-11 12:59:06 +01:00
Thomas Tanghus
c184fc5973 Remove wrong argument to HttpMiddleware ctor 2014-03-11 12:59:06 +01:00
Thomas Tanghus
b685af611a Remove unused code in Http middleware 2014-03-10 22:24:19 +01:00
Thomas Tanghus
ef30cdc524 Add userid to address book query. Fix owncloud/security-tracker#48 2014-03-10 15:53:49 +01:00
Thomas Tanghus
1afddaa98e Finally actually implement the interfaces I claim to.
\Iterator, \Countable, \ArrayAccess

Still need some checks to assure validity after unset()
2014-03-10 15:16:15 +01:00
Thomas Tanghus
45aa3198f7 More cleanups 2014-03-09 15:03:29 +01:00
Thomas Tanghus
d724149c56 More fixes 2014-03-08 19:09:17 +01:00
Thomas Tanghus
55c50dd1b2 More fixes 2014-03-08 18:13:43 +01:00
Thomas Tanghus
f63081a06b More fixes 2014-03-08 17:37:05 +01:00
Thomas Tanghus
f6bfea77e7 Scrutinizer cleanup 2014-03-08 16:22:51 +01:00
Thomas Tanghus
f1aa86204f Return cached shared address book. Fix #442 2014-03-08 14:10:30 +01:00
Thomas Tanghus
8cbfec3b0a Scrutinizer fixes 2014-03-08 04:32:18 +01:00
babelouest
2dc75e962e apparently it works -ish 2014-03-03 23:11:18 -05:00
babelouest
ac16864059 fix bug in ldap->vcard translation that caused the remote update not to work (was hard to find this one !) 2014-03-03 22:59:50 -05:00
Thomas Tanghus
4bbbe3d95a Revert "fix ldap a bit" @babelouest
This reverts commit 5cb99a657e.
2014-03-03 01:16:02 +01:00
babelouest
a13e1bd28c Merge branch 'master' of https://github.com/owncloud/contacts into ldap
Conflicts:
	lib/backend/abstractbackend.php
	lib/backend/ldap.php
2014-02-27 13:51:21 -05:00
Thomas Tanghus
ddcf0f2e53 Resize contact photo on upload. Fixes #296 2014-02-27 11:03:14 +01:00
Thomas Tanghus
394d15350e Remove use of %webroot%. Closes #406 2014-02-26 23:23:01 +01:00
Thomas Tanghus
809d79163b Remove stray App instantiation. Thx @ednt :) 2014-02-26 12:59:08 +01:00
Thomas Tanghus
2a1f308acb Improve search. Fix #385 and #421 2014-02-26 12:30:38 +01:00
Thomas Tanghus
16de03fcfd Quiet down address book provider 2014-02-26 12:29:05 +01:00
babelouest
3300bed849 Merge branch 'master' of https://github.com/owncloud/contacts 2014-02-25 07:53:35 -05:00
babelouest
23f7729018 tmp 2014-02-23 16:33:50 -05:00
babelouest
f412d41a9b apparently it works -ish 2014-02-10 15:16:43 -05:00
babelouest
a4e45c435e Merge branch 'master' of https://github.com/owncloud/contacts into ldap 2014-02-10 13:31:39 -05:00
Thomas Tanghus
b672cd7ea7 Doc for carddav backend class 2014-02-10 16:55:51 +01:00
Thomas Tanghus
a7d3a69fdd Show year in CalDAV BDAY events 2014-02-08 19:22:22 +01:00
Thomas Tanghus
047ed7634f Merge pull request #401 from owncloud/chat_app_integration
Add ownCloud handle field
2014-02-08 14:25:26 +01:00
LEDfan
90ec264caa Add 'x-' since the protocol is not standard 2014-02-08 12:28:21 +01:00
babelouest
9d83e92cb0 it's been a long time 2014-02-07 15:55:55 -05:00
Thomas Tanghus
1ab880f348 Also log errors 2014-02-05 22:48:29 +01:00
Thomas Tanghus
c75b52cb8f Revert "Initialize JSONReponse data with null"
This reverts commit e2898139bb.
2014-02-05 22:46:26 +01:00
Thomas Tanghus
0b6cd04a3b Fix invalid BDAYs before import. Fixes #395 2014-02-04 22:33:07 +01:00
Thomas Tanghus
8383bafce6 Try parse invalid BDAYs already imported. Refs #395 2014-02-04 22:23:36 +01:00
Thomas Tanghus
e2898139bb Initialize JSONReponse data with null 2014-02-04 21:38:22 +01:00
LEDfan
a008057f59 Use dash instead of underscore 2014-02-04 08:03:32 +01:00
LEDfan
104c7d9be4 Add ownCloud handle field 2014-02-03 18:37:55 +01:00
Thomas Tanghus
7ada585112 Don't thrown exception in CardDAV backend if card not found 2014-02-03 17:36:02 +01:00
Thomas Tanghus
3f23a5afb3 Fix SQL query. Refs. #386 2014-02-03 14:53:04 +01:00
Thomas Tanghus
8a7ada1c37 Add support for HEAD and OPTIONS to address book 2014-01-29 23:49:58 +01:00
Thomas Tanghus
04dc2c8a12 Add some checks. Refs #386 2014-01-28 17:21:54 +01:00
Thomas Tanghus
f347f3725a name -> displayname 2014-01-27 17:51:13 +01:00
Thomas Tanghus
a5d3697b97 Don't reset array. Refs #361 2014-01-27 17:31:05 +01:00