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

859 Commits

Author SHA1 Message Date
Thomas Tanghus
a50b1b4860 Add use OCP\ICache to ImportController 2014-04-18 02:00:17 +02:00
Thomas Tanghus
ed3a7ea31f is not allowed in Closures in PHP 5.3 2014-04-17 20:08:32 +02:00
Thomas Tanghus
561d13c20e Simplify cropPhoto args 2014-04-17 17:38:01 +02:00
Thomas Tanghus
f75dee996e Some cleanups. cc @LEDfan 2014-04-17 04:59:14 +02:00
Thomas Tanghus
fd2b7423a6 Indentation/Code style 2014-04-17 02:05:56 +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
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