Changeset 25d8ba6 in github


Ignore:
Timestamp:
Jun 30, 2006 6:02:28 PM (7 years ago)
Author:
svncommit <devs@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5084427
Parents:
a894ba5
Message:

Misc bug and compatibility fixes

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    ra894ba5 r25d8ba6  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42006/06/30 (richs) 
     5---------- 
     6- Fixed empty INBOX compatibility bug (Patch #1443200) 
     7- Temporarily fixed French "compact" localization (Patch #1483862) 
     8- Fixed "Select All" not working with Delete interface button (Bug #1332434) 
     9- Fixed messsage list column compatibility with Konqueror (Bug #1395711) 
     10- Fixed "unread count" in window title when count changed (Bug #1483812) 
     11- Fixed DB error when deleting from message table (Patch #1483835) 
    312 
    4132006/06/29 (richs) 
  • INSTALL

    rfd372599 r25d8ba6  
    1010   - error_reporting E_ALL & ~E_NOTICE (or lower) 
    1111   - file_uploads on (for attachment upload features) 
     12   - memory_limit (increase as suitable to support large attachments) 
    1213* A MySQL or PostgreSQL database engine or the SQLite extension for PHP 
    1314* A database with permission to create tables 
  • program/include/rcube_imap.inc

    ra894ba5 r25d8ba6  
    10611061      foreach ($a_uids as $uid) 
    10621062        { 
    1063         $index = array_search($uid, $a_cache_index); 
    1064         $start_index = min($index, $start_index); 
     1063        if(($index = array_search($uid, $a_cache_index)) !== FALSE) 
     1064          $start_index = min($index, $start_index); 
    10651065        } 
    10661066 
  • program/js/app.js

    ra894ba5 r25d8ba6  
    14531453    for (var n in this.list_rows) { 
    14541454      if (!filter || this.list_rows[n][filter]==true) 
     1455        this.last_selected = n; 
    14551456        this.highlight_row(n, true); 
    14561457    } 
     
    30113012    }; 
    30123013 
     3014  // for reordering column array, Konqueror workaround 
     3015  this.set_message_coltypes = function(coltypes)  
     3016  {  
     3017  this.coltypes = coltypes;  
     3018  } 
    30133019 
    30143020  // create a table row in the message list 
     
    30433049 
    30443050    // add each submitted col 
    3045     for (var c in cols) 
    3046       { 
     3051    for (var n = 0; n < this.coltypes.length; n++)  
     3052      {  
     3053      var c = this.coltypes[n]; 
    30473054      col = document.createElement('TD'); 
    30483055      col.className = String(c).toLowerCase(); 
     
    30883095    if (!this.gui_objects.mailboxlist) 
    30893096      return false; 
    3090        
     3097 
     3098    if (mbox==this.env.mailbox) 
     3099      set_title = true; 
     3100 
    30913101    var item, reg, text_obj; 
    30923102    mbox = String(mbox).toLowerCase().replace(this.mbox_expression, ''); 
     
    31053115      else 
    31063116        text_obj.innerHTML = text_obj.innerHTML.replace(reg, ''); 
    3107            
     3117 
    31083118      // set the right classes 
    31093119      this.set_classname(item, 'unread', count>0 ? true : false); 
     
    31123122    // set unread count to window title 
    31133123    reg = /^\([0-9]+\)\s+/i; 
    3114     if (set_title && count && document.title)    
     3124    if (set_title && document.title) 
    31153125      { 
    31163126      var doc_title = String(document.title); 
     
    31223132      else 
    31233133        document.title = doc_title.replace(reg, ''); 
    3124       } 
    3125     // remove unread count from window title 
    3126     else if (document.title) 
    3127       { 
    3128       document.title = document.title.replace(reg, ''); 
    31293134      } 
    31303135    }; 
  • program/lib/imap.inc

    r6eeb17d r25d8ba6  
    676676        $index_field = strtoupper($index_field); 
    677677         
    678         if (empty($message_set)) return array(); 
     678        if ((empty($message_set)) || ($message_set == "1:0")) return array(); 
    679679         
    680680        //$fields_a["DATE"] = ($IMAP_USE_INTERNAL_DATE?6:1); 
  • program/localization/fr/labels.inc

    rc8c1e0ef r25d8ba6  
    109109$labels['unread'] = 'Non lus'; 
    110110 
    111 $labels['compact'] = 'Compresser'; 
     111//$labels['compact'] = 'Compresser'; 
    112112$labels['empty'] = 'Vider'; 
    113113$labels['purge'] = 'Purger'; 
  • program/steps/mail/check_recent.inc

    rc8c1e0ef r25d8ba6  
    3333      $unread_count = $IMAP->messagecount(NULL, 'UNSEEN', TRUE); 
    3434 
    35       $commands .= sprintf("this.set_unread_count('%s', %d, true);\n", addslashes($mbox_name), $unread_count); 
     35      $commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_name), $unread_count); 
    3636      $commands .= sprintf("this.set_env('messagecount', %d);\n", $count); 
    3737      $commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); 
  • program/steps/mail/func.inc

    ra894ba5 r25d8ba6  
    501501    $a_show_cols[$f] = 'to'; 
    502502 
     503  $commands .= sprintf("this.set_message_coltypes(%s);\n", array2js($a_show_cols));  
     504 
    503505  // loop through message headers 
    504506  for ($n=0; $a_headers[$n]; $n++) 
Note: See TracChangeset for help on using the changeset viewer.