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

340 Commits

Author SHA1 Message Date
Thomas Tanghus
148c69ac33 Finished implementing favorites. 2012-10-22 15:35:33 +02:00
Thomas Tanghus
3bbf951fda Add method to show/hide shared addressbooks. 2012-10-22 15:34:15 +02:00
Thomas Tanghus
6badc525d9 Remove trailing white space. 2012-10-22 15:33:44 +02:00
Thomas Tanghus
c94d4feb26 Remove trailing white space. 2012-10-22 15:32:32 +02:00
Thomas Tanghus
15e64b86b8 Delete photo *before* adding it, not after... 2012-10-19 22:19:05 +02:00
Thomas Tanghus
3e1dedf8ac Add contact(s) to group while creating it. And use ints as keys instead of strings. 2012-10-19 22:09:59 +02:00
Thomas Tanghus
2e5a1d192e Profile picure event handlers. 2012-10-15 21:35:34 +02:00
Thomas Tanghus
d7354034ae Major rewrite almost done. 2012-10-05 05:05:49 +02:00
Thomas Tanghus
9bfe53bbb9 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-10-05 03:52:25 +02:00
Thomas Tanghus
0f419bf436 Silenced console logging. 2012-10-05 03:50:45 +02:00
Thomas Tanghus
6187c4ad62 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-09-30 11:06:28 +02:00
Thomas Tanghus
605e4e7c93 Change requesttoken to oc_requesttoken. 2012-09-30 07:30:51 +02:00
Thomas Tanghus
99cac70666 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-09-17 02:05:31 +02:00
Thomas Tanghus
b15dfbba0d Don't open multiple eamil composers on click. 2012-09-16 18:53:26 +02:00
Thomas Tanghus
a31f47405a Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-09-16 14:23:13 +02:00
Thomas Tanghus
0d3d1593c1 Removed context menu test. 2012-09-16 14:13:22 +02:00
Thomas Tanghus
2fc7f0f12c Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-09-13 02:15:14 +02:00
Thomas Tanghus
2d5d1e1c5c Mark newly added contact as active. oc-1694. 2012-09-13 02:10:15 +02:00
Thomas Tanghus
fbfe8aab45 Transitional filter-by-category design take 1. 2012-09-11 14:19:28 +02:00
Thomas Tanghus
c7ccfb9b4a Don't look up permissions from list. 2012-09-09 18:51:22 +02:00
Bart Visscher
b179feeea2 Fix whitespace in contacts 2012-09-07 14:32:45 +02:00
Thomas Tanghus
56606afd1e Contacts: Localized sorting. 2012-09-06 23:46:07 +02:00
Thomas Tanghus
4852932fb5 Contacts: Improve firstrun. 2012-09-06 16:35:46 +02:00
Thomas Tanghus
d735be702d Make bottom controls pwettier. 2012-09-06 05:23:38 +02:00
Thomas Tanghus
aefe7db84c Don't write translated shared by strings to db, instead have a shared indicator on the addressbook. 2012-09-06 02:12:22 +02:00
Thomas Tanghus
9818045fea Another try on keyboard shortcuts. Why doesn't '?' have the same key code?!? 2012-09-03 01:06:20 +02:00
Thomas Tanghus
8912d86927 Fixed keyboard shortcut. 2012-09-03 00:29:59 +02:00
Thomas Tanghus
c33e5b0517 Simplify showing intro when no contacts. For reasons unknown also fixes oc-1588. 2012-09-01 06:41:36 +02:00
Jörn Friedrich Dreyer
114ba38fa8 unify permissions (2/3): change apps to use OC::PERMISSION_X 2012-08-31 01:12:02 +02:00
Thomas Tanghus
51940b01a7 Only update contacts list once import has finished. 2012-08-30 18:43:01 +02:00
Thomas Tanghus
4564f569c1 Make sure initial addressbook is marked active to avoid false permission errors. 2012-08-30 18:43:01 +02:00
Thomas Tanghus
3e92c3b0ae Permission checking for shared addressbooks/contacts. 2012-08-23 22:03:36 +02:00
Thomas Tanghus
9619c8aa42 Fix for deleting queued contacts. 2012-08-23 22:03:35 +02:00
Thomas Tanghus
070bb410ba Add support for IMPP properties. 2012-08-22 18:51:17 +02:00
Thomas Tanghus
94545fc092 Email type list wasn't initialized. 2012-08-22 12:40:35 +02:00
Thomas Tanghus
8bd01c044f Minor layout change. 2012-08-22 12:40:35 +02:00
Thomas Tanghus
ded6b9ba46 Preliminary support for Apple X-ABLabel. Also for oc-1508. 2012-08-21 03:57:48 +02:00
Thomas Tanghus
d55a01eeb0 Added types to emails. Support for custom types. Partial fix for oc-1508. 2012-08-21 00:20:18 +02:00
Thomas Tanghus
d16ea83f24 Try to align and float contact parts better. 2012-08-21 00:20:18 +02:00
Thomas Tanghus
1d9d5e64e9 Merge addressbooks. 2012-08-16 00:25:32 +02:00
Thomas Tanghus
7ebe70e85c Readded refresh param. 304 and ETag is still sent so shouldn't matter. 2012-08-12 17:30:09 +02:00
Thomas Tanghus
696a330c37 Another take at profile photo/thumbnail caching. oc-839. 2012-08-09 16:32:05 +02:00
Thomas Tanghus
3996dfa330 Correct path to ajax file. 2012-08-05 03:36:16 +02:00
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