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
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
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
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
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 Tanghus
70438c997d
Align controllers to owncloud/core#8017
2014-04-07 22:29:24 +02:00
Thomas Tanghus
1c1fc532d5
Throw proper exceptions in GroupController
2014-03-25 01:16:08 +01:00
Thomas Tanghus
f6bfea77e7
Scrutinizer cleanup
2014-03-08 16:22:51 +01:00
Thomas Tanghus
1ab880f348
Also log errors
2014-02-05 22:48:29 +01:00
Thomas Tanghus
9abdeb75ce
2014
2014-01-26 00:40:22 +01:00
Thomas Tanghus
c738174937
Refactor groups management. Fix #370
...
- Moved adding/removing groups to OCA\Contacts\VObject\VCard
- CATEGORIES property wasn't removed when empty
- When removing all groups from contact, it wasn't assigned to ungrouped.
- When adding contact(s) to group it wasn't removed from ungrouped until
you changed to other group and back.
2014-01-25 17:08:01 +01:00
Thomas Tanghus
a742486150
Indentation
2014-01-25 03:42:03 +01:00
Thomas Tanghus
f8c46f1ad1
Various route and request adjustments
...
* All request bodies are now JSON.
* Contact property add/update/delete uses the same PATCH route.
2013-10-03 04:15:12 +02:00
Thomas Tanghus
e06bd9b17a
Fix birthday generation and add methods for creating birthday events
2013-10-01 19:15:22 +02:00
Thomas Tanghus
67412f3679
Port controllers to OCP\AppFramework
2013-10-01 19:15:22 +02:00
Thomas Tanghus
cfd8cd02b3
Now loads with OCP\AppFramework
2013-10-01 19:15:22 +02:00
Thomas Tanghus
fa43515037
Remove obsolete comment
2013-09-03 19:54:25 +02:00
Thomas Tanghus
e76606b419
Don't emit signals in batch operations.
2013-09-03 19:23:11 +02:00
Thomas Tanghus
73135c62d8
Fix arguments to backend
2013-09-03 14:09:13 +02:00
Thomas Tanghus
db24d26e7d
Fix Contact arguments in GroupController
2013-09-03 14:09:13 +02:00
Thomas Tanghus
4a67ad28ca
Improved unit tests and adjust backend method signatures.
2013-08-26 20:10:29 +02:00
Thomas Tanghus
92aff552e0
Catch exceptions in GroupController
2013-08-15 20:11:40 +02:00
Thomas Tanghus
73b3c7346d
Fix group/category deletion.
2013-06-27 15:53:31 +02:00
Thomas Tanghus
44c4a2fd49
Check if contact was retrieved
2013-05-25 01:35:42 +02:00
Thomas Tanghus
ce4088f7ff
Remember to return the response on error.
2013-05-22 03:37:56 +02:00
Thomas Tanghus
e8c7047869
Implement rename group. Refs #97
2013-05-21 23:39:50 +02:00
Thomas Tanghus
aab66afb03
Let backend add/remove CATEGORIES instead of firering N requests
2013-05-19 03:16:36 +02:00
Thomas Tanghus
50b360a963
Contacts: Missing $this->
2013-05-01 01:48:11 +02:00
Thomas Tanghus
a4456db329
Contacts: Use $this->api->getUserId() in Controllers
2013-04-25 04:21:14 +02:00
Thomas Tanghus
8414c16955
Contacts: Adjust some class names
2013-04-25 01:03:05 +02:00
Thomas Tanghus
d0ad2a5581
Contacts: Clean directory structure thanks to owncloud/core#2993 \o/
2013-04-25 00:57:45 +02:00