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

257 Commits

Author SHA1 Message Date
Thomas Tanghus
a6d37ee9ff Added some error checking as mentioned in http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-227 2012-02-14 02:15:21 +01:00
Thomas Tanghus
d55aa3a8f7 Modify check for missing UID. 2012-02-14 01:56:38 +01:00
Thomas Tanghus
d9e31298bd Use proper index file. 2012-02-14 01:47:18 +01:00
Thomas Tanghus
2b7cee1411 Don't try to load a profile picture for contacts the doesn't have any. 2012-02-14 01:11:21 +01:00
Thomas Tanghus
1cf89738e2 Removed superfluous debug. 2012-02-14 01:02:01 +01:00
Thomas Tanghus
a0a4534247 Added OC_Contacts_VCard::moveToAddressBook 2012-02-14 01:00:41 +01:00
Thomas Tanghus
2e356d3f9d Added function for later testing. 2012-02-14 01:00:41 +01:00
Bart Visscher
19a63d1f9d Contacts+OC_Respone: Move enableCaching out of setEtagHeader and setLastModifiedHeader 2012-02-13 22:47:31 +01:00
Bart Visscher
774eb66110 Contacts: Optimize thumbnail cache handling a bit 2012-02-12 20:40:52 +01:00
Bart Visscher
96ee0ceca3 OC_Response: add setExpiresHeader function 2012-02-12 20:40:52 +01:00
Bart Visscher
76b1f19e88 OC_Response: add redirect function 2012-02-12 20:40:52 +01:00
Bart Visscher
6e35c456aa Contacts: Add missing parameter 2012-02-12 20:40:52 +01:00
Bart Visscher
1813bb6bd0 Contacts: Move response caching to OC_Response 2012-02-12 17:21:33 +01:00
Bart Visscher
274fa8875b Contacts: Add id to vars with id in them 2012-02-12 16:12:46 +01:00
Bart Visscher
0b0782697a Contacts: cleanup OC_L10N usage 2012-02-12 16:11:41 +01:00
Bart Visscher
217a5a2aff Contacts: Move debug logging of $_POST to after access checks 2012-02-12 15:58:55 +01:00
Bart Visscher
670df9a5fe Contacts: Document usage of OC_Contacts_App::getAddressbook
Remove redundant access checks and add comments to the calls to
OC_Contacts_App::getAddressbook that are access checks
2012-02-12 15:55:36 +01:00
Bart Visscher
969e364d17 Contacts: Save last-modified time in REV property if not set 2012-02-12 15:14:25 +01:00
Bart Visscher
fad50a1c5b Contacts: Fix adding N property in getContactVCard 2012-02-12 15:14:24 +01:00
Bart Visscher
5cb5cf0ae4 Contacts: Cleanup photo and thumbnail code 2012-02-12 15:14:24 +01:00
Bart Visscher
47950f1d34 Access check fix in contacts/ajax/activation.php
plus small cleanup
2012-02-12 15:14:24 +01:00
Bart Visscher
e335f60004 Small coding style update
Fixup OC_Contacts_App
2012-02-12 15:14:23 +01:00
Bart Visscher
0d872d0169 Improve logging in OC_Contacts_App
Add logging to errors paths in getAddressbook and getContactObject.
2012-02-12 15:14:23 +01:00
Bart Visscher
c3e143d700 Cleanup OC_Contacts_Addressbook::find usage
Use OC_Contacts_App::getAddressbook($id) instead of OC_Contacts_Addressbook::find($id), it contains access checks.
2012-02-12 15:14:23 +01:00
Bart Visscher
0bfd7066c9 Derive the user principles from the owncloud users
The code for updating the principles table is still there. To make it easier to
revert this commit if that is necessary.
2012-02-11 21:09:51 +01:00
Thomas Tanghus
0f07e18da5 Merge branch 'tanghus_contacts' 2012-02-10 16:44:06 +01:00
Thomas Tanghus
49d70f139e Variable wasn't reset. 2012-02-10 16:43:40 +01:00
Thomas Tanghus
8576d978e2 Added custom combobox widget. 2012-02-10 16:40:40 +01:00
Thomas Tanghus
bcd1470ea9 Keep js data structure in sync on changes.
More checks for missing properties.
2012-02-09 19:04:07 +01:00
Thomas Tanghus
1e4f4f7cfd More @£#¤ conflicts
Merge branch 'temp' into tanghus_contacts
2012-02-08 09:36:16 +01:00
Thomas Tanghus
57f0097f16 Fix merge conflicts 2012-02-08 09:18:58 +01:00
Thomas Tanghus
2b171a2b55 Added files for new contact editor/viewer. 2012-02-08 09:14:10 +01:00
Thomas Tanghus
ba1d4a8d18 Fixed broken "Add new" contact.
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-08 08:47:03 +01:00
Thomas Tanghus
f1944721e5 Hide container for emails/phones/adresses if there are none. 2012-02-08 08:47:03 +01:00
Thomas Tanghus
ff18dd34c3 Updated copyrights.
Element menu didn't update.
2012-02-08 08:47:03 +01:00
Thomas Tanghus
ad71a024a1 Added files for new contact editor/viewer. 2012-02-08 08:47:03 +01:00
Thomas Tanghus
55ac10e335 Merge branch 'tanghus_contacts' of gitorious.org:owncloud/owncloud into tanghus_contacts
Conflicts:
	apps/contacts/ajax/contactdetails.php
	apps/contacts/js/contacts.js
2012-02-08 08:33:51 +01:00
Thomas Tanghus
ab6a5fe76d Don't import cards that can't be parsed by Sabre, but log it instead.
Fix missing 'N' or 'FN' fields on import.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
f1f05f9f2f Some fixes for malformed VCards. 2012-02-08 07:59:39 +01:00
Thomas Tanghus
3ebfa257a9 Fixed broken "Add new" contact.
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
2992710693 Hide container for emails/phones/adresses if there are none. 2012-02-08 07:59:39 +01:00
Thomas Tanghus
5356a83219 Updated copyrights.
Element menu didn't update.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
27963f2983 Added files for new contact editor/viewer. 2012-02-08 07:59:39 +01:00
Thomas Tanghus
7f2d38eb3e Fixed broken "Add new" contact.
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-06 14:18:40 +01:00
Thomas Tanghus
51b408e649 Hide container for emails/phones/adresses if there are none. 2012-02-06 08:15:23 +01:00
Thomas Tanghus
745766de1c Updated copyrights.
Element menu didn't update.
2012-02-06 08:04:06 +01:00
Thomas Tanghus
d9d6df5169 Added files for new contact editor/viewer. 2012-02-06 07:32:57 +01:00
Thomas Tanghus
4841adaa6a Modification for adding photos. 2012-02-06 07:24:39 +01:00
Georg Ehrke
51e7ff2bc2 change comments in import.php 2012-02-05 12:13:53 +01:00
Georg Ehrke
0e1b92aafd add import function for contacts 2012-02-05 12:13:53 +01:00