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

412 Commits

Author SHA1 Message Date
Thomas Tanghus
cac64a1fd2 If a contact wasn't loaded in the list you coulcn't access it from search result. Fixes oc-1264. 2012-07-17 01:35:35 +02:00
Thomas Tanghus
af123af81f Remove obsolete code. 2012-07-16 01:46:16 +02:00
Thomas Tanghus
5fa9c5cd92 Fix sorting - again :-P 2012-07-16 01:46:16 +02:00
Thomas Tanghus
4ea167088f Set the address book of the active contact active. 2012-07-16 01:46:16 +02:00
Thomas Tanghus
bbf259a0a3 UI part of addressbook merging. 2012-07-16 01:46:16 +02:00
Thomas Tanghus
dbd58936fe Wrap image uploading in anonymous function. 2012-07-16 01:46:16 +02:00
Thomas Tanghus
1a51f57e5d Make list droppable too instead of just the header. 2012-07-15 12:28:29 +02:00
Thomas Tanghus
c025b19bee Hide file form field behind image so it will maybe work with IE... 2012-07-15 12:28:29 +02:00
Thomas Tanghus
067baa0bb9 Made notifications more flexible. 2012-07-15 12:28:29 +02:00
Thomas Tanghus
5f8e992fd0 Added notification. 2012-07-15 12:28:29 +02:00
Thomas Tanghus
e7eff9055f Fixed sorting of addressbooks. 2012-07-15 12:28:29 +02:00
Thomas Tanghus
df32fd33ec Removed obsolete TODO. 2012-07-15 12:28:28 +02:00
Thomas Tanghus
ba05dfc2de Refactored contacts import. 2012-07-15 04:17:30 +02:00
Thomas Tanghus
7ba9f67195 Fix loading previous or next contact after deleting one. 2012-07-15 04:17:30 +02:00
Thomas Tanghus
609ed9e348 Make sure the proper DOM is loaded and the right address book gets expanded. 2012-07-10 01:24:40 +02:00
Thomas Tanghus
3406fe8828 Remove deleted address book from list. 2012-07-08 23:38:03 +02:00
Thomas Tanghus
5a7854fb0b Set the loading class on the property being changed, not on its container. Now on all the places relevant ;-) 2012-07-08 16:15:52 +02:00
Thomas Tanghus
6633855259 Set the loading class on the property being changed, not on its container. 2012-07-08 16:11:45 +02:00
Thomas Tanghus
3a4f9f80cf Missing requesttoken 2012-07-06 03:22:42 +02:00
Thomas Tanghus
bb68611cff Add missing CSRF check. 2012-07-05 00:37:08 +02:00
Thomas Tanghus
7caf34aac1 Remove ugly activation hack. 2012-07-04 22:13:36 +02:00
Thomas Tanghus
5af39ebf0a Don't add duplicate contacts in the list when en-/disable an address book. 2012-06-29 23:18:47 +02:00
Thomas Tanghus
b02c25fba2 Smoother profile picture loading - hopefully. 2012-06-28 01:46:33 +02:00
Thomas Tanghus
9e0f6bd612 Load contactlist progressivly. 2012-06-27 22:44:28 +02:00
Bjoern Schiessle
7ec44a4339 enable highlighting of address in OSM. 2012-06-27 11:46:42 +02:00
Thomas Tanghus
2bb2140ee3 Ensure event handlers are being set when adding first contact. 2012-06-27 02:12:53 +02:00
Thomas Tanghus
1d5c4c2529 Added some error checking. 2012-06-26 18:15:24 +02:00
Thomas Tanghus
fb0d6cf7f7 Added missing requesttoken. 2012-06-26 18:15:24 +02:00
Thomas Tanghus
a7ccecd91b Better visual feedback and prevent drop on self. 2012-06-25 18:24:15 +02:00
Thomas Tanghus
b45b869307 Improve styling on draggables. 2012-06-25 18:24:15 +02:00
Thomas Tanghus
f4defb845c Drag'n'Drop contacts between addressbook. Still needs some css magic. 2012-06-25 03:42:27 +02:00
Thomas Tanghus
3d26fc36a0 Remove unneeded parameter. 2012-06-24 16:07:18 +02:00
Thomas Tanghus
b0fb10082e Click to select which address book to add to. 2012-06-24 16:03:10 +02:00
Thomas Tanghus
c973c35150 Improve prev/next selection on delete. 2012-06-24 15:07:44 +02:00
Bart Visscher
789ada54e6 Contacts: Fix name and carddav-url encoding 2012-06-21 23:30:04 +02:00
Thomas Tanghus
a48debb3c9 Fix being able to link directly to contact, that I broke in other commit. 2012-06-21 22:02:17 +02:00
Thomas Tanghus
b3b67ab2cb More changes for updating the contacts list. 2012-06-20 21:00:49 +02:00
Thomas Tanghus
b4056f75ca Re-add missing loadhandlers() call. 2012-06-19 14:56:21 +02:00
Thomas Tanghus
dc65727235 Loading of contacts was placed outside of $(document).ready() function. 2012-06-19 14:55:14 +02:00
Thomas Tanghus
23a1f455c4 Update js after contactlist change. 2012-06-18 02:21:29 +02:00
Thomas Tanghus
b6f00dd64d Save addressbook id to be able to rearrange contacts properly. 2012-06-17 23:14:02 +02:00
Thomas Tanghus
53365e4b48 Add effect on addressbook show/hide. 2012-06-17 21:37:13 +02:00
Thomas Tanghus
b5458d7784 Adjustments for inview handler etc. 2012-06-17 20:25:32 +02:00
Stephan Bergemann
d621126f11 now a little less in template - more in ajax controller 2012-06-17 20:25:32 +02:00
Stephan Bergemann
9eaf64b6d0 contacts app now lists contacts sorted by expandable/collapsable addressbooks 2012-06-17 20:25:32 +02:00
Thomas Tanghus
130aaea934 Contacts: Fixes for CSRF. 2012-06-14 18:13:01 +02:00
Thomas Tanghus
aa73a32b89 Contacts: implemented CSRF prevention. 2012-06-13 17:35:42 +02:00
Thomas Tanghus
1ebf3dc643 Fix js for missing address fields. 2012-06-11 22:14:21 +02:00
Thomas Tanghus
587e16b51d Contacts: Use POST instead of GET. 2012-06-09 15:00:44 +02:00
Thomas Tanghus
5bb678a528 Break text to fit in dialog. 2012-06-07 20:29:15 +02:00
Thomas Tanghus
b28e050cf3 Contacts: Import upload button was obscured on Android browser. 2012-06-07 10:55:40 +02:00
Thomas Tanghus
84975f6f7c Contacts: Make js a tad DRYer. Added URL property. 2012-06-06 15:29:33 +02:00
Thomas Tanghus
65c6178e73 Contacts: Removed temp dir cleanup after using OC_Cache. 2012-06-06 01:06:12 +02:00
Thomas Tanghus
58dff33314 Contacts: Use OC_Cache for contact photo handling instead of temp dir. 2012-06-05 20:34:12 +02:00
Thomas Tanghus
5206b686d1 Contacts: When editing photo on a newly created contact the name in the contact list was cleared. 2012-06-04 13:14:31 +02:00
Thomas Tanghus
2e8e4d8a56 Contacts: Temporary files weren't deleted if crop window was closed without saving. 2012-06-04 13:14:31 +02:00
Thomas Tanghus
2fd9d16147 Contacts: Improve loading and cleanup of dialogs. 2012-05-29 16:43:59 +02:00
Thomas Tanghus
e0ac28afa0 Contacts: Fix XSS. 2012-05-28 14:42:57 +02:00
Thomas Tanghus
6646066aa8 Contacts: wrong name was set on initial load. 2012-05-17 16:46:39 +02:00
Thomas Tanghus
9678e4a2c0 Contacts: Disable in-app import if encryption is enabled, and make an attempt of supporting IE uploads too. Can't test it though... 2012-05-17 14:31:04 +02:00
Thomas Tanghus
92f2bd61ab Contacts: removed check for empty FN field because Chrome/Chromium barfed. 2012-05-16 23:45:43 +02:00
Thomas Tanghus
af7003f025 Remove logging. 2012-05-14 17:50:24 +02:00
Thomas Tanghus
04e5521c39 Contacts: Had forgotten to call local function. 2012-05-14 17:49:33 +02:00
Thomas Tanghus
84a54c27ea Contacts: Fix layout in contacts list that I had broken in an earlier fix :-P 2012-05-14 17:49:33 +02:00
Thomas Tanghus
44588b54c1 Contacts: Photo upload handlers wern't being loaded for new contacts.
Name conflict with two FileUploads :-P
2012-05-14 11:08:00 +02:00
Thomas Tanghus
33ca950ba7 Contacts: The proper DOM wasn't loaded after import and thumbnails weren't being updated. 2012-05-14 10:13:45 +02:00
Thomas Tanghus
1e6d002cee Revert "Contacts: Change placeholder text to avoid confusion. No, JanC, I won't change it back again ;-)"
This reverts commit a36a8faad4b66b5d68d6ba57fa095dd85546adfe.

Moved it to unstable branch for now.
2012-05-13 06:22:15 +02:00
Thomas Tanghus
802294df09 Contacts: Change placeholder text to avoid confusion. No, JanC, I won't change it back again ;-) 2012-05-12 13:43:33 +02:00
Thomas Tanghus
b612c2d68d Contacts: Make the structured name dialog modal to avoid confusion. 2012-05-11 18:21:55 +02:00
Thomas Tanghus
66df19d91b Contacts: Clone event handlers as well. 2012-05-11 18:21:55 +02:00
Thomas Tanghus
afe3f30dff Contacts: Hack to add structured name from formatted name. 2012-05-11 01:14:11 +02:00
Thomas Tanghus
f9aa628ecd Contacts: Fix some regressions from last commit. 2012-05-10 20:44:12 +02:00
Thomas Tanghus
bbb3cd0d18 Some UI and code restructering according to usability tests: https://mail.kde.org/pipermail/owncloud/2012-May/003194.html 2012-05-10 16:53:25 +02:00
Thomas Tanghus
16e00397d9 Code cleanup. 2012-05-07 04:46:09 +02:00
Thomas Tanghus
56191cc385 Revert "Contacts: Fix for leftcontent positioning in Android browser."
This reverts commit 93ae945414a9511dfe5c396205cfccac1c40a153.
2012-05-06 13:51:16 +02:00
Thomas Tanghus
afffd44ef5 Contacts: Fix for leftcontent positioning in Android browser. 2012-05-06 00:34:08 +02:00
Thomas Tanghus
2c06c4730f Contacts: Changed the Add property button to not fixed and use plain button. 2012-05-04 16:36:45 +02:00
Thomas Tanghus
a8ff083317 Contacts: Improve NOTE UI. Cleanup markup. 2012-05-04 15:47:55 +02:00
Thomas Tanghus
81192c2866 Contacts: Don't load event handlers more than once, or you're asking for trouble :-P 2012-05-04 00:13:35 +02:00
Thomas Tanghus
ffa2209b43 Contacts: Remove some logging. 2012-05-03 16:01:40 +02:00
Thomas Tanghus
6b6a2b8648 Contacts: Clean up tipsies. 2012-05-03 16:01:40 +02:00
Thomas Tanghus
935b6fad1a Contacts: Improve loading contact. 2012-05-03 11:15:44 +02:00
Thomas Tanghus
f508ad3d9d Contacts: Removed styling and (most) js from template. Started making app more keyboard/screenreader friendly. General cleanup in code and markup. 2012-05-02 12:10:44 +02:00
Thomas Tanghus
0470cf6e3c Contacts: Trying to improve PHOTO handling a bit. 2012-05-02 11:44:00 +02:00
Thomas Tanghus
97e65da810 Various file path fixes. 2012-04-30 01:48:01 +02:00
Thomas Tanghus
82a2011dc2 Contacts: Ensure TYPE parameters on email aren't deleted on edit. They are still not shown in the UI.
Remove an obsolute file and did some cleanup.
2012-04-29 22:12:27 +02:00
Georg Ehrke
758a3d7800 Merge branch 'master' into movable_apps_2 2012-04-27 14:22:12 +02:00
Thomas Tanghus
d8cf49215a Contacts: Added convinience method for notifications. 2012-04-27 10:35:31 +02:00
Georg Ehrke
849099d724 fix merge conflicts 2012-04-26 18:08:49 +02:00
Georg Ehrke
4b3864dfc1 fixes for contacts app 2012-04-26 15:20:01 +02:00
Thomas Tanghus
bd5acfaa1a Contacts: Some js cleanup. 2012-04-26 10:38:39 +02:00
Thomas Tanghus
f01fc2e855 Contacts: Added import with with file picker. 2012-04-26 03:21:52 +02:00
Thomas Tanghus
fefe8aa158 Contacts: Fixed some file paths. 2012-04-25 10:44:27 +02:00
Georg Ehrke
ca1ab993d8 some fixes in contacts javascript files 2012-04-25 10:17:54 +02:00
Georg Ehrke
bb9a090659 fix merge conflicts 2012-04-24 21:59:56 +02:00
Georg Ehrke
a2b23b0c8a fix pathes in contacts 2012-04-24 21:33:34 +02:00
Thomas Tanghus
d5a0940733 Added loading indicator. 2012-04-24 11:38:11 +02:00
Thomas Tanghus
e4eef8a698 Contacts: In app import (for Chrome and Firefox only) 2012-04-24 01:44:07 +02:00
Thomas Tanghus
b543d03321 Contacts: In app import. Cleanup still needed. 2012-04-24 01:44:07 +02:00
Thomas Tanghus
0385491bd2 Contacts: Tipsyfied photo toolbar. 2012-04-23 10:52:13 +02:00
Thomas Tanghus
4f5f6aff6a Contacts:
- Added overlay toolbar to contact photo with 'Delete current', 'Edit current', 'Load from OC_Filesystem' and 'Upload' options.
- Made action icons translucent instead of hiding them.
2012-04-22 20:47:24 +02:00
Thomas Tanghus
1426763dfd Contacts: Changed layout as discussed with JanC. Still WiP. 2012-04-22 00:44:53 +02:00
Thomas Tanghus
994934a0e3 Contacts: Fixed contact photo drag'n'drop upload - again... 2012-04-22 00:44:53 +02:00
Thomas Tanghus
afcc6e905e Contacts: Add check for empty FN field. 2012-04-22 00:44:53 +02:00
Bart Visscher
b2e87eb83f Contacts: update category list when the categories change 2012-04-12 23:10:49 +02:00
Bart Visscher
9c9a02add2 Contacts: fix function names to coding standard 2012-04-10 21:53:36 +02:00
Thomas Tanghus
5ce8fbe3e8 Removed padding. 2012-04-09 16:30:58 +02:00
Thomas Tanghus
84c0d5bea6 Contacts: Misc. cleanup tweaks. 2012-04-07 16:03:43 +02:00
Thomas Tanghus
f84c53f9a9 Contacts: l11n for geo autocomplete. Not sure if it works though. 2012-04-03 08:13:10 +02:00
Thomas Tanghus
c86b29d471 Contacts: Added autocomplete using geonames.org. 2012-04-03 07:29:47 +02:00
Thomas Tanghus
53161bdb77 Contacts: First work on cleaner design. 2012-04-03 03:29:12 +02:00
Thomas Tanghus
1542d6c318 Improve actions on delete. 2012-03-29 15:25:24 +02:00
Thomas Tanghus
e44a246e16 Improvements in adding/deleting properties. 2012-03-27 12:30:20 +02:00
Thomas Tanghus
7696116865 Contacts: Update contact list thumbnail when deleting PHOTO. 2012-03-27 12:30:20 +02:00
Thomas Tanghus
519c3e0509 Make PHOTO deletable. 2012-03-13 14:56:03 +01:00
Thomas Tanghus
b9af0ac334 Fixed NOTE property UI. 2012-03-13 02:55:17 +01:00
Thomas Tanghus
9e294f9ae1 Remember categories when they have changed. 2012-03-12 21:55:54 +01:00
Thomas Tanghus
d1dc4f23c6 Rename... 2012-03-12 16:47:29 +01:00
Thomas Tanghus
bb05cb70f3 More modifications for using jquery.multiple_autocomplete. 2012-03-12 16:44:16 +01:00
Thomas Tanghus
7b00319bae Contacts: Modifications for using categories. 2012-03-12 14:13:03 +01:00
Thomas Tanghus
3f78a641f7 Merge branch 'vcategories' 2012-03-09 10:29:58 +01:00
Thomas Tanghus
014edbe94d Temporarily disabled multi_autoselect. 2012-03-09 10:29:00 +01:00
Thomas Tanghus
82998ab1a6 Parses malformed N fields a bit more tolerantly. Thanks to nibbler for the patch :-) 2012-03-09 07:39:35 +01:00
Thomas Tanghus
d005c9123b Merge branch 'vcategories' of gitorious.org:owncloud/owncloud into vcategories
Conflicts:
	apps/contacts/lib/vcard.php
	apps/contacts/templates/part.contact.php
2012-03-08 02:55:48 +01:00
Thomas Tanghus
279fc58088 Merge gitorious.org:owncloud/owncloud into vcategories
Conflicts:
	apps/contacts/ajax/saveproperty.php
	apps/contacts/lib/vcard.php
2012-03-07 23:38:44 +01:00
Thomas Tanghus
ac8a55689f Use OC.dialogs. 2012-03-07 22:57:37 +01:00
Bart Visscher
be94d7caf3 Contacts: Add UI for categories 2012-03-07 21:50:55 +01:00
Bart Visscher
23f088a8bc Contacts: Add Organisation as Name property choice 2012-03-07 21:46:41 +01:00
Bart Visscher
b25dcf1805 Contacts: convert class attribute selectors to class selectors 2012-03-07 21:46:41 +01:00
Thomas Tanghus
df70d9eeed Fix conflict. 2012-03-07 20:57:05 +01:00
Thomas Tanghus
80ce69e089 Contacts: UI updates and ajax methods for categories. 2012-03-07 16:39:56 +01:00
Marvin Thomas Rabe
b5aa235719 UI problems solved. Bookmarks app updated. 2012-02-22 16:04:31 +01:00
Thomas Tanghus
ea4f1ebbaf JS fix on address book creation. 2012-02-21 23:22:06 +01:00
Thomas Tanghus
16702e97c0 Contacts: Fix adding/updating address book with empty name. 2012-02-20 15:24:54 +01:00
Thomas Tanghus
af8085853e Strip tags on address on client side. 2012-02-18 11:49:31 +01:00
Thomas Tanghus
0424854b41 Removed obsolete commented code and made minor speed improvements.
Added stub function for loading categories.
2012-02-18 11:49:31 +01:00
Thomas Tanghus
e7a13fedb8 Minor tweaks 2012-02-16 10:38:00 +01:00
Thomas Tanghus
0bb56a04c8 Added some fixes for what to show when address books are (de)selected, all contacts deleted etc. Still need some cleaning up. 2012-02-14 13:57:11 +01:00
Thomas Tanghus
280eb33f15 Added some check for when addinf deleting contacts. 2012-02-14 10:36:22 +01:00
Thomas Tanghus
2e356d3f9d Added function for later testing. 2012-02-14 01:00:41 +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