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

411 Commits

Author SHA1 Message Date
Mario Ferraro
e6ca4aa520 Remove and forget the item instead of only detaching it. 2012-12-18 10:36:54 +00:00
Mario Ferraro
f60bda4d23 Remove unnecessary rendering updating of name. 2012-12-18 10:36:31 +00:00
Mario Ferraro
310faabdd8 Update contact list whenever something changes in the underlying data.
Fixes #343
2012-12-18 10:25:27 +00:00
Mario Ferraro
96887f756d Save new multiproperties properly.
Also change the for loop to a jQuery each to avoid looping into Array object's properties.
2012-12-18 09:09:12 +00:00
Thomas Tanghus
e48cb812b7 Contacts: Wrong this :-P 2012-12-17 21:33:02 +01:00
Thomas Tanghus
4aac9edf82 Contacts: Removed obsolete TODO 2012-12-17 17:24:54 +01:00
Thomas Tanghus
e60e87b6d8 Merge branch 'master' of github.com:owncloud/apps
Conflicts:
	contacts/js/contacts.js
2012-12-17 17:24:06 +01:00
Thomas Tanghus
e449059760 Contacts: First work on undo backend. 2012-12-17 16:27:28 +01:00
Mario Ferraro
a00596cb70 Fix missing semicolons, trailing commas, leading/trailing whitespaces, mixed tabs/spaces. 2012-12-17 14:19:22 +00:00
Thomas Tanghus
8f85373987 Contacts: Don't prevent export of readable contacts. 2012-12-17 03:20:51 +01:00
Thomas Tanghus
d7035c99d2 Contacts: Also instantiate comboboxes on new elements. 2012-12-17 03:20:13 +01:00
Thomas Tanghus
118106be71 Contacts: Prevent same value being save twice. 2012-12-17 02:45:57 +01:00
Thomas Tanghus
7efb089810 Contacts: Make micro templates work on FF 4. 2012-12-14 16:35:10 +01:00
Thomas Tanghus
c981af5e54 Contacts: Disable editing photo and setting as favorite until contact is saved. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
a2eeb09151 Contacts: rename variable. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
7b6924e44d Contacts: If a group is selected when adding a contact add it to that group. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
77e8b8e761 Contacts: Contact actions refactor. 2012-12-13 02:48:52 +01:00
Thomas Tanghus
712b75c73b Contacts: Set height of contact photo. 2012-12-11 14:42:29 +01:00
Thomas Tanghus
3248ae6c09 Contacts: Fix strict error. 2012-12-11 14:42:01 +01:00
Thomas Tanghus
bba038189a Contacts: Removed not needed callbacks. 2012-12-11 14:41:22 +01:00
Thomas Tanghus
fea47ef50c Contacts: City/country auto-completion. 2012-12-11 06:58:42 +01:00
Thomas Tanghus
3c495e9f1f Contacts: Use the method since it's there ;) 2012-12-11 06:23:18 +01:00
Thomas Tanghus
8106ec28da Contacts: Fix saving new contact. 2012-12-11 06:22:51 +01:00
Thomas Tanghus
27b822c77d Contacts: Check for missing values in N. 2012-12-11 04:06:19 +01:00
Thomas Tanghus
8e1fb7c8ff Contact: Move rest of actions to popup. 2012-12-11 04:05:34 +01:00
Thomas Tanghus
c693eade6e Contect: use strict 2012-12-11 02:35:31 +01:00
Thomas Tanghus
9d448872b9 Contacts: Forgot to save NOTE 2012-12-11 02:35:31 +01:00
Thomas Tanghus
0a0640a503 Contacts: tipsy tweaks. 2012-12-10 20:58:34 +01:00
Thomas Tanghus
0a33635fad Contacts: Also disable parameter elements on readonly contacts. 2012-12-10 05:59:43 +01:00
Thomas Tanghus
b1d320c221 Contacts: Add error indicator on fields. 2012-12-10 05:59:08 +01:00
Thomas Tanghus
6dd8869ed3 Contacts: Draw border around new, editable fields. Fixes #316 2012-12-10 05:48:22 +01:00
Thomas Tanghus
dfa68f74a5 Contacts: Don't try to delete empty new properties. 2012-12-10 05:36:24 +01:00
Thomas Tanghus
c8ee19038f Contacts: Add group properties arg to addContact() 2012-12-10 00:10:39 +01:00
Thomas Tanghus
441337710e Contacts: Show contact in popup. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
e222a8dee9 Contacts: Use css for hover actions. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
95663966cb Contatcs: Clean up js logging. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
62ba937296 Contacts: Remove unused method. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
1706fe3412 Contacts: Add/remove address book structure. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
c094f398f1 Contacts: N property was used in list element instead of FN. 2012-11-27 20:36:34 +01:00
Thomas Tanghus
8b82533f5d Contacts: Oops, show, don't hide :-P 2012-11-27 03:59:08 +01:00
Thomas Tanghus
f4c761259f Contacts: Speed up rendering all contacts. 2012-11-27 03:52:59 +01:00
Thomas Tanghus
73a86e8aed Contacts: Use $.each() instead of for(var ...) 2012-11-27 03:37:00 +01:00
Thomas Tanghus
593d3796b8 Contacts: Stupid copy/paste error. 2012-11-23 04:16:07 +01:00
Thomas Tanghus
a0f1094bc9 Contacts: Fix remove from group. 2012-11-23 02:25:48 +01:00
Thomas Tanghus
edf0e70b0d Contacts: Minor fixes. 2012-11-23 01:20:45 +01:00
Thomas Tanghus
e9de8f406b Contacts: refactor adding to/removing from group. 2012-11-23 01:16:46 +01:00
Thomas Tanghus
2e4dd75fcf Contacts: Remove unused variable placeholder. 2012-11-22 08:19:45 +01:00
Thomas Tanghus
a71a7fbbde Contacts: Show address meta-data in label. 2012-11-22 08:17:57 +01:00
Thomas Tanghus
df99a27957 Contacts: Group favorite button with other controls. 2012-11-22 05:34:37 +01:00
Thomas Tanghus
3ac9cf0d1f Contacts: Edit structured name inline. 2012-11-22 04:09:52 +01:00
Thomas Tanghus
2f23a59fad Contacts: Various fixes and cleanups. 2012-11-22 00:31:08 +01:00
Thomas Tanghus
1e50b086e4 Contacts: Avoid error msg from missing photo on new contact. 2012-11-22 00:29:37 +01:00
Thomas Tanghus
9c50bebe93 Contacts: Inline address editing. 2012-11-22 00:22:12 +01:00
Thomas Tanghus
6933e1c6bc Contacts: Fixed adding on first change. 2012-11-16 04:40:35 +01:00
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
7cf2974e0c Contacts: Simplified delayed delete. 2012-11-15 06:43:22 +01:00
Thomas Tanghus
2aa7e081b1 Fix deleting multiple contacts 2012-11-15 00:28:43 +01:00
Thomas Tanghus
2fe8439bfb Made adding contact work again. 2012-11-13 22:42:55 +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
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
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
ef0ca10c60 Maintain data structure client side. 2012-10-24 20:30:41 +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
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