Misc bug and compatibility fixes
| | |
| | | CHANGELOG RoundCube Webmail |
| | | --------------------------- |
| | | |
| | | 2006/06/30 (richs) |
| | | ---------- |
| | | - Fixed empty INBOX compatibility bug (Patch #1443200) |
| | | - Temporarily fixed French "compact" localization (Patch #1483862) |
| | | - Fixed "Select All" not working with Delete interface button (Bug #1332434) |
| | | - Fixed messsage list column compatibility with Konqueror (Bug #1395711) |
| | | - Fixed "unread count" in window title when count changed (Bug #1483812) |
| | | - Fixed DB error when deleting from message table (Patch #1483835) |
| | | |
| | | 2006/06/29 (richs) |
| | | ---------- |
| | | - Added ability to remove attachments (Feature #1436721) |
| | |
| | | * php.ini options: |
| | | - error_reporting E_ALL & ~E_NOTICE (or lower) |
| | | - file_uploads on (for attachment upload features) |
| | | - memory_limit (increase as suitable to support large attachments) |
| | | * A MySQL or PostgreSQL database engine or the SQLite extension for PHP |
| | | * A database with permission to create tables |
| | | |
| | |
| | | $start_index = 100000; |
| | | foreach ($a_uids as $uid) |
| | | { |
| | | $index = array_search($uid, $a_cache_index); |
| | | $start_index = min($index, $start_index); |
| | | if(($index = array_search($uid, $a_cache_index)) !== FALSE) |
| | | $start_index = min($index, $start_index); |
| | | } |
| | | |
| | | // clear cache from the lowest index on |
| | |
| | | |
| | | for (var n in this.list_rows) { |
| | | if (!filter || this.list_rows[n][filter]==true) |
| | | this.last_selected = n; |
| | | this.highlight_row(n, true); |
| | | } |
| | | return true; |
| | |
| | | this.env.mailbox = mbox; |
| | | }; |
| | | |
| | | // for reordering column array, Konqueror workaround |
| | | this.set_message_coltypes = function(coltypes) |
| | | { |
| | | this.coltypes = coltypes; |
| | | } |
| | | |
| | | // create a table row in the message list |
| | | this.add_message_row = function(uid, cols, flags, attachment, attop) |
| | |
| | | row.appendChild(col); |
| | | |
| | | // add each submitted col |
| | | for (var c in cols) |
| | | { |
| | | for (var n = 0; n < this.coltypes.length; n++) |
| | | { |
| | | var c = this.coltypes[n]; |
| | | col = document.createElement('TD'); |
| | | col.className = String(c).toLowerCase(); |
| | | col.innerHTML = cols[c]; |
| | |
| | | { |
| | | if (!this.gui_objects.mailboxlist) |
| | | return false; |
| | | |
| | | |
| | | if (mbox==this.env.mailbox) |
| | | set_title = true; |
| | | |
| | | var item, reg, text_obj; |
| | | mbox = String(mbox).toLowerCase().replace(this.mbox_expression, ''); |
| | | item = document.getElementById('rcmbx'+mbox); |
| | |
| | | text_obj.innerHTML += ' ('+count+')'; |
| | | else |
| | | text_obj.innerHTML = text_obj.innerHTML.replace(reg, ''); |
| | | |
| | | |
| | | // set the right classes |
| | | this.set_classname(item, 'unread', count>0 ? true : false); |
| | | } |
| | | |
| | | // set unread count to window title |
| | | reg = /^\([0-9]+\)\s+/i; |
| | | if (set_title && count && document.title) |
| | | if (set_title && document.title) |
| | | { |
| | | var doc_title = String(document.title); |
| | | |
| | |
| | | document.title = '('+count+') '+doc_title; |
| | | else |
| | | document.title = doc_title.replace(reg, ''); |
| | | } |
| | | // remove unread count from window title |
| | | else if (document.title) |
| | | { |
| | | document.title = document.title.replace(reg, ''); |
| | | } |
| | | }; |
| | | |
| | |
| | | if (empty($index_field)) $index_field="DATE"; |
| | | $index_field = strtoupper($index_field); |
| | | |
| | | if (empty($message_set)) return array(); |
| | | if ((empty($message_set)) || ($message_set == "1:0")) return array(); |
| | | |
| | | //$fields_a["DATE"] = ($IMAP_USE_INTERNAL_DATE?6:1); |
| | | $fields_a['DATE'] = 1; |
| | |
| | | return (iil_C_Expunge($conn, $folder) >= 0); |
| | | } |
| | | |
| | | ?> |
| | | ?> |
| | |
| | | $labels['none'] = 'Aucun'; |
| | | $labels['unread'] = 'Non lus'; |
| | | |
| | | $labels['compact'] = 'Compresser'; |
| | | //$labels['compact'] = 'Compresser'; |
| | | $labels['empty'] = 'Vider'; |
| | | $labels['purge'] = 'Purger'; |
| | | |
| | |
| | | $labels['sortdesc'] = 'Tri descendant'; |
| | | |
| | | |
| | | ?> |
| | | ?> |
| | |
| | | $count = $IMAP->messagecount(); |
| | | $unread_count = $IMAP->messagecount(NULL, 'UNSEEN', TRUE); |
| | | |
| | | $commands .= sprintf("this.set_unread_count('%s', %d, true);\n", addslashes($mbox_name), $unread_count); |
| | | $commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_name), $unread_count); |
| | | $commands .= sprintf("this.set_env('messagecount', %d);\n", $count); |
| | | $commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); |
| | | $commands .= sprintf("this.set_quota('%s');\n", $IMAP->get_quota()); |
| | |
| | | && !array_search('to', $a_show_cols)) |
| | | $a_show_cols[$f] = 'to'; |
| | | |
| | | $commands .= sprintf("this.set_message_coltypes(%s);\n", array2js($a_show_cols)); |
| | | |
| | | // loop through message headers |
| | | for ($n=0; $a_headers[$n]; $n++) |
| | | { |