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

912 Commits

Author SHA1 Message Date
Thomas Tanghus
873452eda9 Contacts: Simplified unload handling 2012-11-16 04:39:57 +01:00
Thomas Tanghus
e5988c623d Added basic name parsing. 2012-11-16 04:38:58 +01:00
Thomas Tanghus
5a5c55eb98 Contacts: Fix cancelling new contact creation. 2012-11-15 20:35:35 +01:00
Thomas Tanghus
16e1db3113 Contacts: Remove unneeded assertion function 2012-11-15 20:34:54 +01:00
Thomas Tanghus
7cf2974e0c Contacts: Simplified delayed delete. 2012-11-15 06:43:22 +01:00
Thomas Tanghus
addd12c967 Contacts: Fix property indexing. 2012-11-15 06:07:44 +01:00
Thomas Tanghus
c47d54e634 Contacts: show/hide export section. 2012-11-15 03:54:15 +01:00
Thomas Tanghus
a489400dc6 Conntect some buttons to event handlers. 2012-11-15 02:42:33 +01:00
Thomas Tanghus
2b702ef192 DRYed (un)checking contacts. 2012-11-15 02:41:52 +01:00
Thomas Tanghus
29edd498da Added firstrun help 2012-11-15 02:40:47 +01:00
Thomas Tanghus
2aa7e081b1 Fix deleting multiple contacts 2012-11-15 00:28:43 +01:00
Thomas Tanghus
749dcad116 Refactored add group. 2012-11-14 15:27:38 +01:00
Thomas Tanghus
04fe455daf Prettyfied the slideup settings. 2012-11-14 00:42:02 +01:00
Thomas Tanghus
2fe8439bfb Made adding contact work again. 2012-11-13 22:42:55 +01:00
Thomas Tanghus
4d3a93151d Fix show/hide actions. 2012-11-13 17:01:14 +01:00
Thomas Tanghus
1d9cfe792a Fixes for adding new contact. 2012-11-13 17:00:29 +01:00
Thomas Tanghus
e34a932609 Contacts: Hide preferred checkbox if only one property of the type (TEL/EMAIL/URL etc.) 2012-11-05 20:52:54 +01:00
Thomas Tanghus
3cdf82f7c1 Contacts: Let unload trigger beforeunload. 2012-11-05 20:45:08 +01:00
Thomas Tanghus
1588a6504d Cleanup add to/remove from groups. 2012-11-05 12:39:49 +01:00
Thomas Tanghus
c76abd593a Re-enable profile picture upload. 2012-11-05 12:39:12 +01:00
Thomas Tanghus
501ec1052d app:contacts: Add/remove multiple contacts to/from group. 2012-11-01 15:31:58 +01:00
Thomas Tanghus
307409b7e2 Open contact from search without reloading app. 2012-11-01 02:01:00 +01:00
Thomas Tanghus
ef893ce9c7 Move unused variable. 2012-10-30 07:08:00 +01:00
Thomas Tanghus
d98861d841 Change variable name. 2012-10-30 07:07:30 +01:00
Thomas Tanghus
93db2ca723 Add some docs and reminders. 2012-10-30 07:06:37 +01:00
Thomas Tanghus
efb1db1788 Remove not needed method. 2012-10-30 07:05:27 +01:00
Thomas Tanghus
812a966b42 Improvements on callback functions. 2012-10-30 07:03:09 +01:00
Thomas Tanghus
3ccef884ff Small code adjustments. 2012-10-26 14:03:42 +02:00
Thomas Tanghus
bc727eeba4 Make groups sortable. 2012-10-26 01:57:16 +02:00
Thomas Tanghus
72d911f9cc Test if jsondata is present. 2012-10-25 23:19:06 +02:00
Thomas Tanghus
2cac6c08ca Tweak the micro templating. 2012-10-25 23:18:36 +02:00
Thomas Tanghus
eb87100b9f Improvements on addressbook selection/creation. 2012-10-25 23:17:29 +02:00
Thomas Tanghus
62ebef32cc Catch-all ajax errors. 2012-10-25 23:15:47 +02:00
Thomas Tanghus
69cdc09d93 Use OCA namespace. 2012-10-25 03:34:12 +02:00
Thomas Tanghus
48f4cab791 Cache thumbnails and use remote.php service to avoid loading all apps for each thumbnail. 2012-10-24 21:35:51 +02:00
Thomas Tanghus
40873db0c3 Render shared contact books as groups and some fine-tuning. 2012-10-24 20:31:29 +02:00
Thomas Tanghus
ef0ca10c60 Maintain data structure client side. 2012-10-24 20:30:41 +02:00
Thomas Tanghus
051d0f027d Load last selected group on or all if first time. 2012-10-23 10:55:18 +02:00
Thomas Tanghus
2dba1d3672 Re-added deleting properties. 2012-10-23 06:27:22 +02:00
Thomas Tanghus
7e52c45675 Added method to get value from an element in the DOM. 2012-10-23 06:26:51 +02:00
Thomas Tanghus
3600c6c74a Added method to test if a contact is in a group. 2012-10-23 06:24:22 +02:00
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
d5ca457340 First step on reenabling profile picture editor. 2012-10-15 21:33:21 +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
ec2a8fb949 Merge branch 'master' of github.com:owncloud/apps into contacts_rework 2012-10-03 21:41:08 +02:00
Thomas Tanghus
d253b77a49 Also show correct links for addressbooks. 2012-10-03 18:47:02 +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
bf4b770920 Merge branch 'contacts_rework' of github.com:owncloud/apps into contacts_rework 2012-09-30 06:44:33 +02:00
Thomas Tanghus
68e409cac7 Insert a rendered contact in the list. 2012-09-30 06:38:53 +02:00
raghu
79b8a27ba0 A Polyfill for Placeholders added to the contacts_rework branch 2012-09-25 16:39:32 +05:30
Thomas Tanghus
6b77479899 First work on new Contacts js and group based UI. 2012-09-17 16:15:31 +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
Thomas Tanghus
0b42a3fb83 Edit dialog remained if you deleted an address book while editing it. oc-1657 2012-09-08 03:59:35 +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
e0f9ed99d3 Don't disable displayname when adding adressbook. 2012-09-06 23:26:09 +02:00
Thomas Tanghus
4852932fb5 Contacts: Improve firstrun. 2012-09-06 16:35:46 +02:00
Thomas Tanghus
46cc491eae Also disable dis-/enabling shared addressbook. 2012-09-06 05:23:38 +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
742f175872 Disable editing shared calendars name. 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
Thomas Tanghus
b1e38e8829 Show correct CardDAV URL. 2012-08-31 05:12:19 +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
Michael Gapczynski
b5b59ad153 Remove jquery.inview files from contacts app 2012-08-26 18:54:21 -04: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
Michael Gapczynski
d80d66fe58 Merge branch 'share_api'
Conflicts:
	apps/contacts/lib/vcard.php
	apps/files/index.php
	lib/files.php
2012-08-19 22:29:01 -04:00
Thomas Tanghus
1d9d5e64e9 Merge addressbooks. 2012-08-16 00:25:32 +02:00
Michael Gapczynski
839b873656 Merge branch 'master' into share_api
Conflicts:
	lib/group.php
	lib/group/backend.php
	lib/group/database.php
	lib/group/interface.php
	lib/public/user.php
	lib/user.php
	lib/user/backend.php
	lib/user/database.php
	lib/user/interface.php
2012-08-14 10:22:13 -04: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
Michael Gapczynski
a1ac3767ce Merge branch 'master' into share_api
Conflicts:
	apps/contacts/lib/vcard.php
	apps/files_sharing/sharedstorage.php
2012-08-09 11:38:22 -04:00
Thomas Tanghus
696a330c37 Another take at profile photo/thumbnail caching. oc-839. 2012-08-09 16:32:05 +02:00
Thomas Tanghus
50a4e8ed8d Some UI improvements on the addressbooks settings. 2012-08-07 00:06:18 +02:00
Michael Gapczynski
9fa545b2ec Load icons for addressbooks, fix statuses for types other than files 2012-08-06 15:24:08 -04:00
Michael Gapczynski
6db5e23c77 Merge branch 'master' into share_api
Conflicts:
	apps/contacts/lib/app.php
	apps/contacts/templates/part.chooseaddressbook.rowfields.php
2012-08-06 13:49:54 -04: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
95c00c16f6 Return properly formatted jsondata. 2012-08-02 19:03:45 +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
4ff2f2aaf9 And then the missing files ;) 2012-08-02 00:02:07 +02:00
Thomas Tanghus
990e13cdd0 Addressbooks settings rewrite and cleanup. 2012-08-02 00:02:07 +02:00
Michael Gapczynski
9e16c8ae7c Merge branch 'master' into share_api
Conflicts:
	apps/contacts/lib/app.php
	apps/files_sharing/js/share.js
2012-07-31 15:00:04 -04: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
Michael Gapczynski
93556984f2 Merge branch 'master' into share_api
Conflicts:
	apps/calendar/js/loader.js
	apps/contacts/index.php
	apps/contacts/js/loader.js
	apps/files/js/files.js
	apps/files_sharing/sharedstorage.php
	lib/filesystemview.php
2012-07-25 17:08:18 -04:00
Michael Gapczynski
d01ee747aa Make file actions permissions aware 2012-07-25 16:33:08 -04: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
9ead8e1ac4 Whitespace 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
25069553ec Try to avoid occasional error messages. 2012-07-14 14:11:43 +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
197e853588 Contacts: Used non-existent var. 2012-06-10 12:48:39 +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
57865be069 Edited combobox to adhere to coding standards and added a dblclick handler. 2012-06-07 16:44:54 +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
Bart Visscher
28a12ee6ff Calendar & Contacts: Store import progress in OC_Cache
Convert calendar and contacts import to use a caching system
for storing the import progress percentage. OC_Cache can later
be made smarter about storing values.
2012-06-04 22:24:17 +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
f5a9b8d2e7 Contacts: Add error checking and reporting to import from files app. 2012-05-13 23:27:14 +02:00
Thomas Tanghus
d514dc19a8 Revert "Edited combobox to adhere to coding standards and added a dblclick handler."
This reverts commit 19b55d3fcef54d610a8256e861d0bc894b514c5c.
2012-05-13 06:22:15 +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
9aaf9f5287 Edited combobox to adhere to coding standards and added a dblclick handler. 2012-05-12 13:43:34 +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
ea04d85f96 Revert Android positioning 'fix'.
This reverts commit 20f1c1e6ca40c09b67c404729a4bf986b4732051 and 93ae945414a9511dfe5c396205cfccac1c40a153.
2012-05-06 13:51:16 +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
7127bb1840 Forgot to fix one file... 2012-05-06 00:39:01 +02:00
Thomas Tanghus
afffd44ef5 Contacts: Fix for leftcontent positioning in Android browser. 2012-05-06 00:34:08 +02:00
Thomas Tanghus
6ee53855b5 Add missing file. 2012-05-04 20:17:15 +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
Thomas Tanghus
1f59f4c25a jquery.combobox: Added 'showButton' option 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
Thomas Tanghus
845cf4b51a jquery.combobox: Added 'editable' option and cleaned up a bit. 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
04b7f3f688 Don't trigger unnecessary change events. 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
cd9d399b89 Trigger autocomplete wo button. 2012-03-27 12:30:20 +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
Georg Ehrke
6310ea5f07 register text/x-vcard as a fileaction for vcard import 2012-03-19 09:58:44 +01: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
2eae578367 Cleanup in Contacts. 2012-03-13 00:55:15 +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
cd30300200 Small fix to jquery.multiple_autocomplete. 2012-03-12 15:30:52 +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
VicDeo
61e98cae3c Contact list scroll fix 2012-02-20 23:54:23 +03: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
Georg Ehrke
0e1b92aafd add import function for contacts 2012-02-05 12:13:53 +01:00
Thomas Tanghus
24eeefc342 Tweaked some tipsys. 2012-01-11 23:05:34 +01:00
Thomas Tanghus
56c1d9ee54 Localizin strings and adding error checking. 2012-01-11 20:07:15 +01:00
Thomas Tanghus
30e1fffe15 Make sure VERSION is set.
Set REV for each edit.
Download single VCard.
2012-01-11 06:20:06 +01:00
Thomas Tanghus
3702428369 CSS cleanup, more error checking, better error messages, general cleanup. 2012-01-11 04:05:30 +01:00
Thomas Tanghus
253e0474e6 More fixes on saving TYPE parameters.
Use jQuery Dialog for error messages instead of alert()
2012-01-10 14:59:31 +01:00
Thomas Tanghus
82148746d3 Insert new contacts alphabetically correct in the list.
Added some tipsys to the editor.
2012-01-09 22:05:28 +01:00
Thomas Tanghus
1e2a44039c Some cleanup, better error messages and such. 2012-01-09 20:38:06 +01:00
Thomas Tanghus
6c8c89a57d Thumbnails was overwriting default style so hover and active didn't work. Moved them to the 'a' element instead. 2011-12-30 23:39:31 +01:00
Thomas Tanghus
a3bbcb16d2 Added license and waiver of conditions for jquery.inview.
CSS fix on contact list.
Query contacts from multiple address books.
2011-12-30 21:07:16 +01:00
Thomas Tanghus
56581b8c82 More missing js. 2011-12-28 10:31:45 +01:00
Thomas Tanghus
dca605b41c Merge git://gitorious.org/owncloud/owncloud into contact_thumbnails
Fixed some conflicts.
Conflicts:
	apps/contacts/css/styles.css
	apps/contacts/templates/index.php
2011-12-28 10:14:59 +01:00
Thomas Tanghus
8d6713e238 Added missing files and tried to revert the wrong commit of app/contacts/js/interfaces.js 2011-12-17 20:38:52 +01:00
Thomas Tanghus
477c5d34b8 Added thumbnails to contact list. The contacts have a default thumbnail when the page is
first loaded. Once the page is loaded the thumbnails will be lazy-loaded to the contacts
viewable.
2011-12-17 20:05:54 +01:00
Thomas Tanghus
ae4bb0b1cb Misc. changes after review by bartv. 2011-12-16 17:42:07 +01:00
Thomas Tanghus
82fc2095c6 Updating of contact list when activating/adding/deleting address books now works. 2011-12-11 16:26:00 +01:00
Thomas Tanghus
7a63a0cbc5 Merge git://gitorious.org/owncloud/owncloud into tanghus_remote_backup
Conflicts:
	apps/contacts/ajax/deletebook.php
	apps/contacts/index.php
2011-12-09 15:25:26 +01:00
Thomas Tanghus
6401ccef2e Various fixes to multiple address books handling 2011-12-09 15:10:51 +01:00
Thomas Tanghus
b77bb04972 Fixed adding, editing and deleting address books. One minor UI flaw remains. 2011-12-05 03:38:06 +01:00
Thomas Tanghus
51b21f2969 Added UI for selecting/editing address books.
Export, CardDAV link and activation/deactivation of address books done.
2011-12-04 20:25:46 +01:00
Bart Visscher
be0dcc2898 Contacts: make name editable again 2011-12-02 21:24:48 +01:00
Bart Visscher
adab7b7012 Contacts: make type of phone property also multiselect in addproperty 2011-11-24 21:36:34 +01:00
Bart Visscher
5372e61d34 Contacts: support multiple phone type parameter 2011-11-23 21:07:32 +01:00
Jakob Sack
312aaa02f2 Improve style in contacts 2011-11-09 11:35:50 +01:00
Jakob Sack
94c44f2413 improved style in contacts 2011-10-22 21:32:07 +02:00
Jakob Sack
f2bc7cfa7d Some improvements on the contact application 2011-10-22 19:23:22 +02:00
Bart Visscher
4cee6abe6b Show add contact form on opening contacts page 2011-10-09 00:04:37 +02:00
Bart Visscher
f6df768405 Fixes for adding contact property 2011-10-07 23:01:49 +02:00
Bart Visscher
2e085be53e Save the right contact property 2011-10-07 22:38:19 +02:00
Bart Visscher
53836fa857 Add new contact name to end of cantact list 2011-10-04 21:16:57 +02:00
Bart Visscher
4ae12c4dab Use .empty function instead of .html("") 2011-09-28 23:17:26 +02:00
Jakob Sack
57fd341fc9 Improving contacts 2011-09-08 23:36:47 +02:00
Jakob Sack
01e3aa5471 Small design changes in Contacts 2011-08-14 23:49:09 +02:00
Jakob Sack
6372a03b01 At least dome layout in Contacts 2011-08-11 10:08:02 +02:00
Jakob Sack
e8d3af0f3a Some more fixes. It basically works but looks ugly 2011-08-09 17:42:54 +02:00
Jakob Sack
f07bfa704e Some more work on the address book 2011-08-09 13:53:58 +02:00
Jakob Sack
c1cdfa65c5 Small details in contacts 2011-08-06 23:29:25 +02:00
Jakob Sack
f23b4b9ae0 New app: contacts 2011-08-06 22:32:06 +02:00