Permalink
Browse files

Workaround for drag-drop using whitespace in FF, Junk emptying, misc …

…fixes
  • Loading branch information...
thomascube committed Jul 3, 2006
1 parent 5084427 commit b4b081713ee88c9a7b2515d18c36bedf966641ce
View
@@ -1,6 +1,16 @@
CHANGELOG RoundCube Webmail
---------------------------
+2006/07/03 (richs)
+----------
+- Fixed compatibility with in-body email addresses containing "+" (Bug #1483836)
+- Updated French localizations (Ticket #1483862)
+- Incoming messages can now be moved to Drafts, edited, saved, then moved back (Feature #1436191)
+- Added Firefox workaround when clicking whitespace to drag messages (Bug #1483857)
+- Corrected Dutch and Italian localizations (Ticket #1483851 and #1483848)
+- Enabled 'Empty' (purge) command for Junk mailbox (defined in main.inc.php)
+
+
2006/06/30 (richs)
----------
- Fixed empty INBOX compatibility bug (Patch #1443200)
@@ -10,6 +20,7 @@ CHANGELOG RoundCube Webmail
- 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)
View
@@ -120,6 +120,7 @@ form version 0.1-beta
$rcmail_config['db_persistent'] = TRUE;
- add these lines to /config/main.inc.php
$rcmail_config['drafts_mbox'] = 'Drafts';
+ $rcmail_config['junk_mbox'] = 'Junk';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
View
@@ -121,6 +121,9 @@ $rcmail_config['imap_root'] = '';
// leave blank if draft messages should not be stored
$rcmail_config['drafts_mbox'] = 'Drafts';
+// store spam messages in this mailbox
+$rcmail_config['junk_mbox'] = 'Junk';
+
// store sent message is this mailbox
// leave blank if sent messages should not be stored
$rcmail_config['sent_mbox'] = 'Sent';
View
@@ -153,7 +153,7 @@ function rcube_webmail()
if (this.env.messagecount)
this.enable_command('select-all', 'select-none', 'sort', 'expunge', true);
- if (this.env.messagecount && this.env.mailbox==this.env.trash_mailbox)
+ if (this.env.messagecount && (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox))
this.enable_command('purge', true);
this.set_page_buttons();
@@ -893,7 +893,7 @@ function rcube_webmail()
}
else if (props)
- url += '&_to='+props;
+ url += '&_to='+encodeURIComponent(props);
// don't know if this is necessary...
url = url.replace(/&_framed=1/, "");
@@ -1352,7 +1352,7 @@ function rcube_webmail()
if (this.env.mailbox==this.env.drafts_mailbox)
{
this.enable_command('show', selected);
- this.enable_command('delete', this.selection.length>0 ? true : false);
+ this.enable_command('delete', 'moveto', this.selection.length>0 ? true : false);
}
else
{
View
@@ -395,4 +395,4 @@ function getCookie(name)
}
-var bw = new roundcube_browser();
+var bw = new roundcube_browser();
@@ -12,7 +12,7 @@
| Author: aldweb <info@aldweb.com>, Pierre HAEGELI <pierre@haegeli.net> |
+-----------------------------------------------------------------------+
- $Id$
+ $Id: labels.inc 220 2006-06-12 17:33:21Z roundcube $
*/
@@ -33,7 +33,6 @@ $labels['addressbook'] = 'Carnet d\'adresses';
// mailbox names
$labels['inbox'] = 'Boîte de réception';
-$labels['drafts'] = 'Ébauches';
$labels['sent'] = 'Messages envoyés';
$labels['trash'] = 'Corbeille';
$labels['drafts'] = 'Brouillons';
@@ -66,7 +65,7 @@ $labels['filesize'] = 'Taille du fichier';
$labels['preferhtml'] = 'Préférer HTML';
$labels['htmlmessage'] = 'Message HTML';
-$labels['prettydate'] = 'Belles dates';
+$labels['prettydate'] = 'Affichage réduit des dates';
$labels['addtoaddressbook'] = 'Ajouter au carnet d\'adresses';
@@ -91,7 +90,6 @@ $labels['saturday'] = 'Samedi';
$labels['today'] = 'Aujourd\'hui';
// toolbar buttons
-$labels['checkmail'] = 'Vérification les nouveaux messages';
$labels['writenewmessage'] = 'Créer un nouveau message';
$labels['replytomessage'] = 'Répondre au message';
$labels['replytoallmessage'] = 'Répondre à tous';
@@ -113,14 +111,23 @@ $labels['empty'] = 'Vider';
$labels['purge'] = 'Purger';
$labels['quota'] = 'Utilisation Disque';
+$labels['unknown'] = 'inconnue';
+$labels['unlimited'] = 'illimitée';
+$labels['quicksearch'] = 'Recherche rapide';
+$labels['resetsearch'] = 'Réinitialiser la recherche';
// message compose
$labels['compose'] = 'Composer un nouveau message';
-$labels['savemessage'] = 'Économiser cette ébauche';
$labels['sendmessage'] = 'Envoyer le message maintenant';
$labels['addattachment'] = 'Joindre un fichier';
$labels['charset'] = 'Encodage';
+$labels['returnreceipt'] = 'Accusé de réception';
+
+$labels['checkmail'] = 'Vérification des nouveaux messages';
+$labels['checkspelling'] = 'Vérifier l\'orthographe';
+$labels['resumeediting'] = 'Retourner à l\'édition';
+$labels['revertto'] = 'Revenir à';
$labels['attachments'] = 'Fichiers joints';
$labels['upload'] = 'Joindre';
@@ -158,6 +165,9 @@ $labels['contactsfromto'] = 'Contacts $from à $to sur $count';
$labels['print'] = 'Imprimer';
$labels['export'] = 'Exporter';
+$labels['previouspage'] = 'Montrer page précédente';
+$labels['nextpage'] = 'Montrer page suivante';
+
// LDAP search
$labels['ldapsearch'] = 'Recherche dans répertoires LDAP';
@@ -188,6 +198,7 @@ $labels['language'] = 'Langue';
$labels['timezone'] = 'Fuseau horaire';
$labels['pagesize'] = 'Nombre de lignes par page';
$labels['signature'] = 'Signature';
+$labels['dstactive'] = 'Heure d\'été';
$labels['folder'] = 'Dossier';
$labels['folders'] = 'Dossiers';
@@ -12,7 +12,7 @@
| Author: aldweb <info@aldweb.com>, Pierre HAEGELI <pierre@haegeli.net> |
+-----------------------------------------------------------------------+
- $Id$
+ $Id: messages.inc 139 2006-06-12 17:32:27Z roundcube $
*/
@@ -36,16 +36,10 @@ $messages['loading'] = 'Chargement en cours...';
$messages['loadingdata'] = 'Chargement des données en cours...';
-$messages['checkingmail'] = 'Vérification les nouveaux messages...';
-
$messages['sendingmessage'] = 'Message en cours d\'envoi...';
$messages['messagesent'] = 'Message envoyé';
-$messages['savingmessage'] = 'Message d\'économie...';
-
-$messages['messagesaved'] = 'Message sauvé aux ébauches';
-
$messages['successfullysaved'] = 'Sauvegarde effectuée';
$messages['addedsuccessfully'] = 'Contact ajouté dans le carnet d\'adresses';
@@ -94,4 +88,16 @@ $messages['nocontactsreturned'] = 'Aucun contact trouvé';
$messages['nosearchname'] = 'Entrez un nom ou une adresse e-Mail de contact';
+$messages['searchsuccessful'] = '$nr messages trouvés';
+
+$messages['searchnomatch'] = 'Aucun résultat trouvé';
+
+$messages['searching'] = 'En cours de recherche...';
+
+$messages['checking'] = 'Vérification...';
+
+$messages['nospellerrors'] = 'Aucune faute trouvée';
+
+$messages['checkingmail'] = 'Vérification des nouveaux messages ...';
+
?>
@@ -117,7 +117,7 @@ $labels['quota'] = 'Utilizzo spazio';
// message compose
$labels['compose'] = 'Componi un messaggio';
-$labels['savemessage'] = 'Risparmi questa brutta copia';
+$labels['savemessage'] = 'Salva messaggio come bozza';
$labels['sendmessage'] = 'Invia il messaggio adesso';
$labels['addattachment'] = 'Allega un file';
$labels['charset'] = 'Set di caratteri';
@@ -42,9 +42,9 @@ $messages['sendingmessage'] = 'Invio messaggio in corso...';
$messages['messagesent'] = 'Messaggio inviato correttamente';
-$messages['savingmessage'] = 'Messaggio di Saving...';
+$messages['savingmessage'] = 'Salvataggio bozza...';
-$messages['messagesaved'] = 'Messaggio conservato alle brutte copie';
+$messages['messagesaved'] = 'Messaggio salvato come bozza';
$messages['successfullysaved'] = 'Salvato correttamente';
@@ -140,7 +140,7 @@ $labels['showimages'] = 'Toon afbeeldingen';
// address boook
-$labels['name'] = 'Tonen als';
+$labels['name'] = 'Naam';
$labels['firstname'] = 'Voornaam';
$labels['surname'] = 'Achternaam';
$labels['email'] = 'E-Mail';
@@ -67,7 +67,8 @@ if ($CONFIG['trash_mbox'])
if ($CONFIG['drafts_mbox'])
$OUTPUT->add_script(sprintf("%s.set_env('drafts_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['drafts_mbox']));
-
+if ($CONFIG['junk_mbox'])
+ $OUTPUT->add_script(sprintf("%s.set_env('junk_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['junk_mbox']));
// return the mailboxlist in HTML
function rcmail_mailbox_list($attrib)
@@ -433,7 +434,11 @@ function rcmail_message_list($attrib)
if ($col=='from' || $col=='to')
$cont = rep_specialchars_output(rcmail_address_string($header->$col, 3, $attrib['addicon']));
else if ($col=='subject')
+ {
$cont = rep_specialchars_output($IMAP->decode_header($header->$col), 'html', 'all');
+ // firefox/mozilla workaround to pad subject with content so that whitespace in rows responds to drag+drop
+ $cont .= '<img src="http://www.whidbey.com/roundcube/roundcubemail/skins/default/images/cleardot.png" height="1" width="1000">';
+ }
else if ($col=='size')
$cont = show_bytes($header->$col);
else if ($col=='date')
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -397,33 +397,39 @@ body.messagelist
{
display: table-column;
text-align: left;
+ vertical-align: middle;
}
#messagelist tr td.icon
{
width: 16px;
+ vertical-align: middle;
}
#messagelist tr td.subject
{
overflow: hidden;
+ vertical-align: middle;
}
#messagelist tr td.size
{
width: 60px;
text-align: right;
+ vertical-align: middle;
}
#messagelist tr td.from,
#messagelist tr td.to
{
width: 180px;
+ vertical-align: middle;
}
#messagelist tr td.date
{
width: 110px;
+ vertical-align: middle;
}
#messagelist tr.message

0 comments on commit b4b0817

Please sign in to comment.