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

297 Commits

Author SHA1 Message Date
Thomas Tanghus
e59775c602 Reorganize ajax scripts. 2012-08-03 21:32:27 +02:00
Thomas Tanghus
1d094c2631 Some fixes for keyboard shortcuts. 2012-08-03 21:32:27 +02:00
Thomas Tanghus
8de619ce1d Correct namespace usage. 2012-08-02 19:03:06 +02:00
Thomas Tanghus
5f315d9c3d Remove logging 2012-08-02 19:01:55 +02:00
Thomas Tanghus
73bca9b8ca I was a bit too fast in removing methods yesterday... 2012-08-02 18:57:03 +02:00
Thomas Tanghus
ceca4a1138 If first addressbook was empty it was seen as if there where no contacts at all. 2012-08-02 18:50:20 +02:00
Thomas Tanghus
76d1507677 Remove onunload handler when delete is cancelled. 2012-08-02 05:01:54 +02:00
Thomas Tanghus
732a921411 Use popup class style for ninja-mode help. 2012-08-02 04:18:44 +02:00
Thomas Tanghus
af6ffc9505 Updated JS namespace. 2012-08-02 04:18:44 +02:00
Thomas Tanghus
990e13cdd0 Addressbooks settings rewrite and cleanup. 2012-08-02 00:02:07 +02:00
Thomas Tanghus
14a44c6178 Changed fix parameter to OC.appSettings(). 2012-07-31 14:18:32 +02:00
Thomas Tanghus
76ede3d16e Implemented app settings in popup. 2012-07-31 12:23:22 +02:00
Thomas Tanghus
77dfaedc04 Check if the are contacts marked as deleted and warn if so. 2012-07-30 04:57:14 +02:00
Thomas Tanghus
d55d41df8a Cache DOM lookups, general cleanup. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
039ed4f48d Cleaner event handling. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
15132e443c No need to set checksum on PHOTO. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
c88ced278c Cleaner variable handling. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
8dc02e114c Make sure notifier cleans up. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
165255b6da Revert "No need to set checksum for PHOTO."
This reverts commit 3937d19fa2ef3da2719d0425ce02707d0345960c.
2012-07-23 01:17:38 +02:00
Thomas Tanghus
34d39e320b No need to set checksum for PHOTO. 2012-07-23 01:17:38 +02:00
Thomas Tanghus
b59c9e187e Use insertContact 2012-07-23 01:17:38 +02:00
Thomas Tanghus
5dacba5c7e Added help for keyboard shortcuts. 2012-07-22 00:15:28 +02:00
Thomas Tanghus
4870056419 First stab at Ninja mode ;-) 2012-07-21 22:00:27 +02:00
Thomas Tanghus
a4fa076934 Improved scrollTo method. Still not quite there... 2012-07-21 22:00:27 +02:00
Thomas Tanghus
5c49ea9713 Added next/previous methods to contacts list. 2012-07-21 22:00:27 +02:00
Thomas Tanghus
92f2f870b7 Remove wrong comment. 2012-07-21 22:00:27 +02:00
Thomas Tanghus
164618e2dd Implemented undelete for contacts. 2012-07-21 16:02:12 +02:00
Thomas Tanghus
9f973e5b3d Made contactlist optional in insertContact(). 2012-07-21 14:26:57 +02:00
Thomas Tanghus
1d10e0ac78 White space. 2012-07-21 14:26:26 +02:00
Thomas Tanghus
ce161cf53d Added option to notify method. 2012-07-21 14:24:26 +02:00
Thomas Tanghus
d2e3a51128 DRYed inserting into contacts list. 2012-07-21 13:13:41 +02:00
Thomas Tanghus
1313be5352 Hide progressbar on error. 2012-07-20 22:25:09 +02:00
Thomas Tanghus
01a5494d45 Corrected retry count for uploaded imports. 2012-07-20 21:54:24 +02:00
Thomas Tanghus
d4b6d60754 Trigger loading of more contacts a bit earlier. 2012-07-20 00:18:23 +02:00
Thomas Tanghus
afd6b10f09 Tweak dragging. 2012-07-20 00:18:23 +02:00
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