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

100 Commits

Author SHA1 Message Date
Thomas Tanghus
202d23813b Misc. fixes after refactoring 2014-03-18 23:51:32 +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
f6bfea77e7 Scrutinizer cleanup 2014-03-08 16:22:51 +01:00
Thomas Tanghus
9abdeb75ce 2014 2014-01-26 00:40:22 +01:00
Thomas Tanghus
e06bd9b17a Fix birthday generation and add methods for creating birthday events 2013-10-01 19:15:22 +02:00
Thomas Tanghus
cf92673e8c OC_ -> OCP\ 2013-09-16 02:24:08 +02:00
Thomas Tanghus
feb200bba6 Finally (re)implemented (de)activate address books. Closes #48 2013-09-05 22:08:34 +02:00
Thomas Tanghus
e76606b419 Don't emit signals in batch operations. 2013-09-03 19:23:11 +02:00
Thomas Tanghus
83d3320339 First iteration of barch deletion #110 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
b71b0c280b Add missing public declarations 2013-05-31 21:32:45 +02:00
Thomas Tanghus
34bdb4e70f Minor interface cleanups 2013-05-19 00:54:50 +02:00
Thomas Tanghus
5581b62c9a Missing method name to OC_L10N calls. 2013-05-18 16:49:02 +02:00
Thomas Tanghus
cab617f0e0 Implement HTTP Middleware
Intercept exceptions thrown and return suitable HTTP responses.
2013-05-18 04:58:41 +02:00
Thomas Tanghus
49f728a86a Contacts: Don't mix possible permissions with actual permissions. 2013-05-05 22:21:42 +02:00
Thomas Tanghus
26cc08f553 Contacts: Tighten up on permission checking. 2013-05-03 05:00:50 +02:00
Thomas Tanghus
e1e06c4f78 Contacts: Proper access control in AddressBook and Contact 2013-04-27 01:46:25 +02:00
Thomas Tanghus
8414c16955 Contacts: Adjust some class names 2013-04-25 01:03:05 +02:00
Thomas Tanghus
09413a4fca Contacts: Step 2 in porting to app framework. 2013-04-19 09:59:30 +02:00
Thomas Tanghus
1d0a41d6fb Contacts: Document variables. 2013-03-28 17:33:30 +01:00
Thomas Tanghus
0bbb6afcba Contacts: Properly implement Countable in AddressBook And support in Database backend 2013-03-28 17:32:36 +01:00
Thomas Tanghus
ca7d8d3332 Contacts: Don't store empty child in AddressBook 2013-03-28 05:00:51 +01:00
Thomas Tanghus
3eb5303c3e Contacts: More updates on backends 2013-03-25 17:10:21 +01:00
Thomas Tanghus
b6b32f3ed5 Contacts: Add missing argument to backend. 2013-03-22 15:02:08 +01:00
Thomas Tanghus
9044749985 Contacts: Add addChild, deleteChild, delete and save to collections. 2013-03-20 11:22:53 +01:00
Thomas Tanghus
457dfefdb2 Contacts: Add some reminders 2013-03-17 23:06:14 +01:00
Thomas Tanghus
6fc05fa4cc Contacts: Updates on PIM classes. 2013-03-17 21:32:53 +01:00
Thomas Tanghus
5bfe561937 Contacts: Misc backend updates. 2013-03-16 15:59:23 +01:00
Thomas Tanghus
d9640bdc4e Contacts: Remove obsolete methods. 2013-03-13 04:14:27 +01:00
Thomas Tanghus
fccea3347c Contacts: Adjustments to backends. 2013-03-12 20:00:22 +01:00
Thomas Tanghus
1b1a2ef7d4 Contacts: New backends WiP 2013-03-12 09:15:40 +01:00
Tom Needham
8912726a56 Add missing backslash to delete addressbook method
Relevant error: 
[09-Feb-2013 17:03:31] PHP Fatal error:  Class 'OCA\Contacts\OCP\User' not found in /Users/tomneedham/Sites/htdocs/cloud/apps2/contacts/lib/addressbook.php on line 349

Relevant Backtrace:
[09-Feb-2013 17:03:31] PHP   7. OC_User::deleteUser() /Users/tomneedham/Sites/htdocs/cloud/apps2/provisioning_api/lib/users.php:169
[09-Feb-2013 17:03:31] PHP   8. OC_Hook::emit() /Users/tomneedham/Sites/htdocs/cloud/lib/user.php:228
[09-Feb-2013 17:03:31] PHP   9. call_user_func() /Users/tomneedham/Sites/htdocs/cloud/lib/hook.php:71
[09-Feb-2013 17:03:31] PHP  10. OCA\Contacts\Hooks::deleteUser() /Users/tomneedham/Sites/htdocs/cloud/lib/hook.php:0
[09-Feb-2013 17:03:31] PHP  11. OCA\Contacts\Addressbook::delete() /Users/tomneedham/Sites/htdocs/cloud/apps2/contacts/lib/hooks.php:59
2013-02-09 17:07:44 +00:00
Thomas Tanghus
5d6cb9f005 Namespace fix. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
de26552f2f Correct namespace. 2012-11-12 01:24:56 +01:00
Thomas Tanghus
0f02508121 Merge branch 'master' of github.com:owncloud/apps into contacts_rework
Conflicts:
	contacts/ajax/contact/details.php
	contacts/lib/addressbook.php
	contacts/lib/vcard.php
2012-11-12 00:46:15 +01:00
Thomas Tanghus
814819092e Use CRUDS consts as defined in https://github.com/owncloud/core/pull/356 2012-11-11 19:43:44 +01:00
Thomas Tanghus
7383915904 Added more error checking to db queries. 2012-10-31 21:37:49 +01:00
Thomas Tanghus
69cdc09d93 Use OCA namespace. 2012-10-25 03:34:12 +02:00
Thomas Tanghus
0179b9a488 Add parameter to control if shared addressbooks should also be returned. 2012-10-24 20:28:43 +02:00
Thomas Tanghus
2bd762c86f Unshare Calendar/Event/Addressbook/Contact on delete. 2012-10-16 22:25:03 +02:00
Thomas Tanghus
d9a3f56b9d Don't prevent calendar and contant data deletion on user deletion because of sharing permissions. 2012-10-02 23:22:29 +02:00
Thomas Mueller
089b7e8f8a adding space between) and { 2012-09-07 15:21:03 +02:00
Bart Visscher
b179feeea2 Fix whitespace in contacts 2012-09-07 14:32:45 +02:00
Thomas Tanghus
09f7b632d4 Permission check in OC_Contacts_Addressbook::find() 2012-09-06 16:02:00 +02:00
Thomas Tanghus
c7b116f3d7 Reminder to unshare on delete when a method is provided. 2012-09-06 05:23:37 +02:00
Thomas Tanghus
8ff56cfbf2 Fix return values on update. 2012-08-31 05:12:18 +02:00
Thomas Tanghus
b454e6a3d3 Only show CRUDS actions if you have proper permissions. 2012-08-30 23:02:19 +02:00
Thomas Tanghus
5905e6c314 Error and permission checking. 2012-08-30 18:43:01 +02:00