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

440 Commits

Author SHA1 Message Date
Thomas Tanghus
b5a0bbb7aa Contacts: Test for more ways to construct name. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
5e4198bee7 Contacts: Make sure multi value fields are saved in correct order. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
7f7fd44de5 Contacts: Construct FN based on N if empty 2013-03-05 02:31:14 +01:00
Thomas Tanghus
a5e5d6ad0c Contacts: Select first *visible* contact on load. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
1d2dfd7ff9 Contacts: Show/hide firstrun better. Fix #656 2013-03-04 17:57:46 +01:00
Thomas Tanghus
9a302d211f Contacts: Showstopper: Fix firstrun action. Also fix #580 2013-02-16 23:01:07 +01:00
Thomas Tanghus
12347f6b0b Contacts: Use jquery trim() 2013-02-12 11:56:43 +01:00
Thomas Tanghus
b5fc6b69e4 Contacts: Fix group showing. 2013-02-04 02:07:00 +01:00
Thomas Tanghus
9aeec46945 Contacts: Some more error checking 2013-02-03 15:40:14 +01:00
Thomas Tanghus
df92b31a51 Contacts: Disable group select until saved. 2013-02-03 15:25:00 +01:00
Thomas Tanghus
dd508c2784 Contacts: Last inline js gone. 2013-01-25 16:22:38 +01:00
Thomas Tanghus
c5c8b29964 Contacts: Move check for indexed state to ajax call. 2013-01-25 15:08:56 +01:00
Thomas Tanghus
e616a27b41 Contacts: Show/hide PREF take 2 2013-01-25 13:29:16 +01:00
Thomas Tanghus
57eac9eff2 Contacts: Correct faulty docstring. 2013-01-25 13:29:16 +01:00
Thomas Tanghus
bd1bd0d2d1 Contacts: Show/hide PREF take 1. 2013-01-17 14:48:46 +01:00
Thomas Tanghus
48c23c0dc0 Contacts: Refactored adding single contact to group. Closes #443 2013-01-16 13:35:41 +01:00
Thomas Mueller
35f78467ba fixes js syntax error 2013-01-15 00:47:39 +01:00
Thomas Tanghus
290fdd46db Contacts: Made Contact.inGroup() more failsafe. 2013-01-08 05:49:40 +01:00
Thomas Tanghus
25fa711b7e Contacts: Minor changes to groups. 2013-01-04 10:27:53 +01:00
Thomas Tanghus
3059d7ece0 Contacts: Start refactor single contact group change. 2013-01-02 04:10:07 +01:00
Thomas Tanghus
d176fa5750 Contacts: Test if internal data structure exists before testing an element 2013-01-02 01:34:26 +01:00
Thomas Tanghus
813e4f5508 Contacts: Don't set current contact when there are none. 2013-01-02 01:34:26 +01:00
Thomas Tanghus
0294d704a3 Contacts: Add group select to contact popup. 2012-12-29 18:24:15 +01:00
Thomas Tanghus
4dfe512725 Contacts: fix deletion timer. 2012-12-29 18:24:15 +01:00
Thomas Tanghus
ccb851343c Contact: Determine whether to update listelement in event handler. 2012-12-22 00:28:15 +01:00
Thomas Tanghus
120179b25d Contacts: Add contacts in batches and defer sorting to speedup loading 2012-12-21 23:46:59 +01:00
Thomas Tanghus
bbe74d2333 Merge branch 'master' of github.com:owncloud/apps 2012-12-20 23:01:54 +01:00
Thomas Tanghus
fa2ce2f1c0 Contacts: Define self. 2012-12-20 22:59:34 +01:00
Thomas Tanghus
31e88e531f Merge pull request #358 from merio/issue_343
Update contact list whenever something changes in the underlying data.
2012-12-18 12:20:10 -08:00
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