- Fix contact row update after name change when in searching mode, update changelog
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | RELEASE 0.6-beta |
| | | ---------------- |
| | | - Fixed selecting identity on reply/forward (#1487981) |
| | | - Add option to hide selected LDAP addressbook on the list |
| | | - Add client-side checking of uploaded files size |
| | | - Add newlines between organization, department, jobtitle (#1488028) |
| | | - Recalculate date when replying to a message and localize the cite header (#1487675) |
| | | - Fix XSS vulnerability in UI messages (#1488030) |
| | | - Fix handling of email addresses with quoted local part (#1487939) |
| | | - Fix EOL character in vCard exports (#1487873) |
| | | - Added optional "multithreading" autocomplete feature |
| | |
| | | - Fulltext search over (almost) all data for contacts |
| | | - Extend address book with rich contact information |
| | | |
| | | RELEASE 0.5.4 |
| | | ------------- |
| | | - Fix XSS vulnerability in UI messages (#1488030) |
| | | |
| | | RELEASE 0.5.3 |
| | | ------------- |
| | | - Fix identities "reply-to" and "bcc" fields have a bogus value when left empty (#1487943) |
| | |
| | | }; |
| | | |
| | | // update a contact record in the list |
| | | this.update_contact_row = function(cid, cols_arr, newcid) |
| | | this.update_contact_row = function(cid, cols_arr, newcid, source) |
| | | { |
| | | var c, row, list = this.contact_list; |
| | | |
| | | cid = String(cid).replace(this.identifier_expr, '_'); |
| | | |
| | | // when in searching mode, concat cid with the source name |
| | | if (!list.rows[cid]) { |
| | | cid = cid+'-'+source; |
| | | if (newcid) |
| | | newcid = newcid+'-'+source; |
| | | } |
| | | |
| | | if (list.rows[cid] && (row = list.rows[cid].obj)) { |
| | | for (c=0; c<cols_arr.length; c++) |
| | | if (row.cells[c]) |
| | |
| | | $RCMAIL->session->remove('contacts'); |
| | | } |
| | | |
| | | $source = get_input_value('_source', RCUBE_INPUT_GPC); |
| | | |
| | | // update an existing contact |
| | | if (!empty($cid)) |
| | | { |
| | | $plugin = $RCMAIL->plugins->exec_hook('contact_update', |
| | | array('id' => $cid, 'record' => $a_record, 'source' => get_input_value('_source', RCUBE_INPUT_GPC))); |
| | | array('id' => $cid, 'record' => $a_record, 'source' => $source)); |
| | | $a_record = $plugin['record']; |
| | | |
| | | if (!$plugin['abort']) |
| | |
| | | $a_js_cols[] = Q((string)$record[$col]); |
| | | |
| | | // update the changed col in list |
| | | $OUTPUT->command('parent.update_contact_row', $cid, $a_js_cols, $newcid); |
| | | $OUTPUT->command('parent.update_contact_row', $cid, $a_js_cols, $newcid, $source); |
| | | |
| | | // show confirmation |
| | | $OUTPUT->show_message('successfullysaved', 'confirmation', null, false); |
| | |
| | | |
| | | // insert a new contact |
| | | else { |
| | | $source = get_input_value('_source', RCUBE_INPUT_GPC); |
| | | // Name of the addressbook already selected on the list |
| | | $orig_source = get_input_value('_orig_source', RCUBE_INPUT_GPC); |
| | | |