From acff900c5a3a7c89faaf1141eff706ec221a4dd3 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 08 Oct 2008 04:42:59 -0400
Subject: [PATCH] #1485294: Add recipients address small validation

---
 CHANGELOG |  498 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 498 insertions(+), 0 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 47be089..25ce5b4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,14 +1,512 @@
 CHANGELOG RoundCube Webmail
 ---------------------------
 
+2008/10/07 (alec)
+----------
+- Write username instead of id in sendmail log (#1485477)
+- Fix htmlspecialchars() use for PHP version < 5.2.3 (#1485475)
+- Fix js keywords escaping in json_serialize() for IE/Opera (#1485472)
+- Added bin/killcache.php script (#1485434)
+
+2008/10/03 (alec)
+----------
+- Add support for SJIS, GB2312, BIG5 in rc_detect_encoding()
+- Fix vCard file encoding detection for non-UTF-8 strings (#1485410)
+- Add 'skip_deleted' option in User Preferences (#1485445)
+
+2008/10/02 (alec)
+----------
+- Minimize "inline" javascript scripts use (#1485433)
+- Fix css class setting for folders with names matching defined classes names (#1485355)
+- Fix race conditions when changing mailbox
+
+2008/10/01 (alec)
+- Fix spellchecking when switching to html editor (#1485362)
+- Fix compose window width/height (#1485396)
+- Allow calling msgimport.sh/msgexport.sh from any directory (#1485431)
+- Localized filesize units (#1485340)
+- Better handling of "no identity" and "no email in identity" situations (#1485117)
+
+2008/09/29 (alec)
+----------
+- Added 'mime_param_folding' option with possibility to choose 
+  long/non-ascii attachment names encoding eg. to be readable
+  in MS Outlook/OE (#1485320)
+- Added "advanced options" feature in User Preferences
+- Fix unread counter when displaying cached massage in preview panel (#1485290)
+- Fix htmleditor spellchecking on MS Windows (#1485397)
+
+2008/09/25 (alec)
+----------
+- Fix problem with non-ascii attachment names in Mail_mime (#1485267, #1485096)
+
+2008/09/23 (alec)
+----------
+- Fix language autodetection (#1485401)
+- Fix button label in folders management (#1485405)
+- Fix collapsed folder not indicating unread msgs count of all subfolders (#1485403)
+- Fix handling of apostrophes in filenames decoded according to rfc2231
+
+2008/09/19 (thomasb)
+----------
+- Made config files location configurable (#1485215)
+
+2008/09/16 (alec)
+----------
+- Reduced memory footprint when forwarding attachments (#1485345)
+- Fix inline images handling when replying/forwarding html messages
+- Allow and use spellcheck attribute for input/textarea fields (#1485060)
+- Added icons for forwarded/forwarded+replied messages (#1485257)
+- Added Reply-To to forwarded emails (#1485315)
+- Display progress message for folders create/delete/rename (#1485357)
+- Smart Tags and NOBR tag support in html messages (#1485363, #1485327)
+
+2008/09/15 (thomasb)
+----------
+- Redesign of the identities settings (#1484042)
+- Add config option to disable creation/deletion of identities (#1484498)
+
+2008/09/15 (alec)
+----------
+- Added 'sendmail_delay' option to restrict messages sending interval (#1484491)
+
+2008/09/12 (alec)
+----------
+- Added vertical splitter for folders list resizing
+- Added possibility to view all headers in message view
+- Fixed splitter drag/resize on Opera (#1485170)
+- Fixed quota img height/width setting from template (#1484857)
+
+2008/09/12 (thomasb)
+----------
+- Refactor drag & drop functionality. Don't rely on browser events anymore (#1484453)
+- Insert "virtual" folders in subscription list (#1484779)
+- Added link to open message in new window
+
+2008/09/05 (thomasb)
+----------
+- Enable export of address book contacts as vCard
+- Respect Content-Location headers in multipart/related messages according to RFC2110 (#1484946)
+- Applied mime_decode patch by David Lublink
+- Allowed max. attachment size now indicated in compose screen (#1485030)
+- Also capture backspace key in list mode (#1484566)
+- Allow application/pgp parts to be displayed (#1484753)
+- Correctly handle options in mailto-links (#1485228)
+- Immediately save sort_col/sort_order in user prefs (#1485265)
+
+2008/09/04 (alec)
+----------
+- Truncate very long (above 50 characters) attachment filenames when displaying
+- Support \" and \\ in quoted strings when parsing BODYSTRUCTURE (mime.inc)
+- Allow 'readonly' atributes in input and textarea (#1485312)
+
+2008/09/03 (thomasb)
+----------
+- Allow to auto-detect client language if none set (#1484434)
+- Auto-detect the client timezone (user configurable)
+
+2008/09/03 (alec)
+----------
+- Add RFC2231 header value continuations support for attachment
+  filenames + hack for servers that not support that feature
+- Fix Reply-To header displaying (#1485314)
+
+2008/09/02 (thomasb)
+----------
+- Add feature to import contacts from vcard files (#1326103)
+- Mark form buttons that provide the most obvious operation (mainaction)
+
+2008/08/30 (alec)
+----------
+- Improved HTML to TXT conversion by html2text class update
+  to version 1.0.0
+
+2008/08/28 (alec)
+----------
+- Added option 'quota_zero_as_unlimited' (#1484604)
+- Added PRE handling in html2text class (#1484740)
+
+2008/08/28 (robin)
+----------
+- Added folder hierarchy collapsing
+
+2008/08/27 (alec)
+----------
+- Added options to use syslog instead of log file (#1484850)
+- Added Logging & Debugging section in Installer
+- Write to smtp log also sent MDN confirmations
+
+2008/08/26 (alec)
+----------
+- Removed support for PEAR::DB driver
+
+2008/08/21 (alec)
+----------
+- Add Content-Length header while attachments downloading (#1484256)
+- Fix In-Reply-To and References headers when composing saved draft 
+  message (#1485288)
+- Removed PHP4 class constructors
+- Fix html message charset conversion for charsets with underline (#1485287) 
+- Fix buttons status after contacts deletion (#1485233)
+
+2008/08/21 (estadtherr)
+----------
+- Fix escaping of To: and From: fields when building message body for reply
+  or forward in the HTML editor (#1484904)
+
+2008/08/15 (thomasb)
+----------
+- Use current mailbox name in template (#1485256)
+- Better fix for skipping untagged responses (#1485261)
+- Added pspell support patch by Kris Steinhoff (#1483960)
+- Enable spellchecker for HTML editor (#1485114)
+- Respect spellcheck_uri in tinyMCE spellchecker (#1484196)
+
+2008/08/09 (alec)
+----------
+- Case insensitive contacts searching using PostgreSQL (#1485259)
+
+2008/07/31 (thomasb)
+----------
+- Make default imap folders configurable for each user (#1485075)
+- Save outgoing mail to selectable folder (#1324581)
+- Fix hiding of mark menu when clicking th button again (#1484944)
+
+2008/07/21 (alec)
+----------
+- use long date format in print mode (#1485191)
+
+2008/07/18 (alec)
+----------
+- Updated TinyMCE to version 3.1.0.1
+
+2008/07/14 (thomasb)
+----------
+- Re-enable autocomplete attribute for login form (#1485211)
+- Check PERMANENTFLAGS before saving $MDNSent flag (#1484963, #1485163)
+
+2008/06/30 (alec)
+----------
+- Added flag column on messages list (#1484623)
+
+2008/06/24 (alec)
+----------
+- Patched Mail/MimePart.php (http://pear.php.net/bugs/bug.php?id=14232)
+
+2008/06/24 (alec)
+----------
+- Allow trash/junk subfolders to be purged (#1485085)
+
+2008/06/20 (alec)
+----------
+- Added Azerbaijani translation
+
+2008/06/20 (thomasb)
+----------
+- Store compose parameters in session and redirect to a unique URL
+
+2008/06/18 (thomasb)
+----------
+- Fixed CRAM-MD5 authentication (#1484819)
+- Add fallback to old 'skin_path' property
+
+2008/06/16 (alec)
+----------
+- Fixed sending emoticons
+- Fixed forwarding messages with one HTML attachment (#1484442)
+- Fixed encoding of message/rfc822 attachments and image/pjpeg handling (#1484914)
+
+2008/06/15 (alec)
+----------
+- Added option to select skin in user preferences
+  WARNING: option 'skin_path' replaced by 'skin' option!
+
+2008/06/14 (alec)
+----------
+- Added option to disable displaying of attached images below the message body
+
+2008/06/13 (alec)
+----------
+- Added option to display images in messages from known senders (#1484601)
+- Updated PEAR::Mail_Mime
+- User preferences grouped in more fieldsets
+
+2008/06/12 (alec)
+----------
+- Fix corrupted MIME headers of messages in Sent folder (#1485111)
+- Fixed bug in MDB2 package: http://pear.php.net/bugs/bug.php?id=14124
+- Use keypress instead of keydown to select list's row (#1484816)
+
+2008/06/11 (alec)
+----------
+- Don't call expunge and don't remove message row after message move 
+  if flag_for_deletion is set to true (#1485002)
+
+2008/06/08 (alec)
+----------
+- Added option to disable autocompletion from selected LDAP address books (#1484922)
+
+2008/06/07 (thomasb)
+----------
+- Cleaned up localization names. Now named with lang_COUNTRY according to ISO 639-1/3166-1
+- Updated Catalan localization
+
+2008/06/06 (robin)
+----------
+- Add option to log successful logins
+
+2008/06/06 (alec)
+----------
+- TLS support in LDAP connections: 'use_tls' property (#1485104)
+
+2008/06/05 (alec)
+----------
+- Fix removing messages from search set after deleting them (#1485106)
+
+2008/06/03 (alec)
+----------
+- imap.inc: Fixed iil_MultLine(): use iil_ReadBytes() instead of iil_ReadLine()
+- imap.inc: Fixed iil_C_FetchStructureString() to handle many 
+  literal strings in response (#1484969)
+- imap.inc: Removed hardcoded data size in iil_ReadLine()
+
+2008/05/30 (alec)
+----------
+- Support for subfolders in default/protected folders (#1484665)
+- Disallowed delimiter in folder name (#1484803)
+- Support " and \ in folder names
+- Escape \ in login (#1484614)
+
+2008/05/29 (thomasb)
+----------
+- Better HTML sanitization with the DOM-based washtml script (#1484701)
+
+2008/05/29 (alec)
+----------
+- Polish localization folder renamed to pl_PL
+
+2008/05/28 (alec)
+----------
+- Fixed sorting of folders with non-ascii characters
+
+2008/05/21 (alec)
+----------
+- Localized pagetitle in Settings and Address Book
+
+2008/05/19 (alec)
+----------
+- Fixed Mysql DDL for default identities creation (#1485070)
+
+2008/05/16 (alec)
+----------
+- In Preferences added possibility to configure 'read_when_deleted',
+  'mdn_requests', 'flag_for_deletion' options
+
+2008/05/15 (thomasb)
+----------
+- Make IMAP auth type configurable (#1483825)
+- Fix empty values with FROM_UNIXTIME() in rcube_mdb2 (#1485055)
+
+2008/05/15 (alec)
+----------
+- Fix attachment list on IE 6/7 (#1484807)
+
+2008/05/12 (estadtherr)
+----------
+- fix JavaScript in compose.html that shows cc/bcc fields if populated
+
+2008/05/12 (alec)
+----------
+- Updated PEAR::DB package to version 1.7.13
+
+2008/05/10 (alec)
+----------
+- Make password input fields of type password in installer (#1484886)
+
+2008/05/09 (alec)
+----------
+- Don't call CAPABILITY if was recieved as server's optional response 
+  on connect (RFC3501 [7.1]) 
+
+2008/05/08 (alec)
+----------
+- Don't attempt to delete cache entries if enable_caching is FALSE (#1485051)
+- Optimized messages sorting on servers without sort capability (#1485049)
+- Option 'use_SQL_address_book' replaced by 'address_book_type'
+- Corrected message headers decoding when charset isn't specified and improved
+  support for native languages (#1485050, #1485048)
+
+2008/05/07 (davidke/richs)
+----------
+- Completed LDAP address book support so it can now write to an LDAP server. 
+- Expanded LDAP configuration options to support LDAP server writes.
+- Modified config/main.inc.php.dist:
+  New Option: $rcmail_config['use_SQL_address_book']
+  Changed Option:  $rcmail_config['ldap_public']['Verisign']
+
+2008/05/05 (alec)
+----------
+- Installer: encode special characters in DB username/password (#1485042)
+- Do charset conversion also for from/to column on messages list
+- Fix management of folders with national characters in names (#1485036, #1485001)
+
+2008/05/02 (alec)
+----------
+- Updated MDB2 package to version 2.5.0b1
+- Updated MDB2 pgsql, mysql, mysqli, sqlite drivers to version 1.5.0b1
+- Updated MDB2 mssql driver to version 1.3.0b1
+- Fixed identities saving when using MDB2 pgsql driver (#1485032)
+
+2008/05/01 (alec)
+----------
+- Fix BCC header reset (#1484997)
+
+2008/04/30 (thomasb)
+----------
+- Introduce new application class 'rcmail' and get rid of some global vars
+
+2008/04/29 (alec)
+----------
+- improved messages list performance - patch from Justin Heesemann
+
+2008/04/23 (alec)
+----------
+- Append skin_path to images location only when it starts 
+  with '/' sign (#1484859)
+
+2008/04/20 (estadtherr)
+----------
+- fix parse_attrib_string to handle unquoted values, which fixes
+  display issues with HTML messages that do not quote attributes
+
+2008/04/17 (alec)
+----------
+- Fix IMAP response in message body when message has no body (#1484964)
+- Updated PEAR::Auth_SASL to 1.0.2
+- Fix non-RFC dates formatting (#1484901)
+
+2008/04/16 (estadtherr)
+----------
+- Fix mail sending with new TinyMCE
+
+2008/04/16 (alec)
+----------
+- Fix typo in set_charset() (#1484991)
+- Decode entities when inserting HTML signature to plain text message (#1484990)
+
+2008/04/15 (estadtherr)
+----------
+- HTML editing is now working with PHP5 updates and TinyMCE v3.0.6
+- fix signature loading on Windows (#1484545)
+- add language support to HTML editing (#1484862)
+
+2008/04/15 (alec)
+----------
+- Fix remove signature when replying (#1333167)
+- Fix problem with line with a space at the end (#1484916)
+- Don't send set_env() in ajax response when env array is empty
+- Fix <!DOCTYPE> tag filtering (#1484391)
+- Fix <?xml> tag filtering (#1484403)
+ 
+2008/04/14 (alec)
+----------
+- Added sections (fieldset+label) in Settings interface
+
+2008/04/12 (alec)
+----------
+- Fixed and optimized 'read_when_deleted': mark as read on server side
+  in one action when marking as deleted, fixed js bugs when deleting
+  from message preview page 
+
+2008/04/12 (thomasb)
+----------
+- Changed codebase to PHP5 with autoloader
+- Added some new classes from devel-vnext branch
+
+2008/04/11 (alec)
+----------
+- Mark as read in one action with message preview (#1484972)
+- Delete redundant quota reads (#1484972)
+- Add options for empty trash and expunge inbox on logout (#1483863)
+
+2008/04/10 (alec)
+----------
+- Add rows highlighting in onmousemove on ksearch list
+- Remove lines wrapping when displaying message
+- Fix month localization
+- Do ob_start/ob_end_clean when reading config files (#1484624)
+- Fix debug (ajax) console 
+
+2008/04/02 (alec)
+----------
+- Updated timezones list (#1484908)
+- Fix design in Settings (#1484799)
+- Fix deleting messages after clicking on "All" (#1484838)
+- Fix sorting o0f message list when default folder is empty (#1484317)
+- Fix creating a new folder w/a comma in its name (#1484681)
+
+2008/04/01 (thomasb)
+----------
+- Fix Enter problem on login (#1484839)
+- Make the http-received header in outgoing mails configurable
+
+2008/03/30 (till)
+----------
+- Fix Firefox problem with ob_gzhandler (#1484932)
+- Improve message previewpane - less loading (#1484316)
+
+2008/03/28 (thomasb)
+----------
+- Disable installer by default; add config option to enable it again 
+
+2008/03/24 (till)
+----------
+- Don't send mark requests for already marked messages (#1484906)
+- Fix "quote inside a quote" (#1484783)
+
+2008/03/23 (till)
+
+- Applied patch to strip newlines from headers (#1484811)
+- Applied patch to trim login (#1484231)
+- Added robots.txt
+- Fix attachment problem when restoring saved draft without body (#1484506)
+- Fix call to undefined function decrypt_passwd()  
+
+2008/03/21 (thomasb)
+----------
+- Add configurable default charset for message decoding
+- Applied patch to fix mime decoding an folder subscription (#1484191)
+- Applied patch to correctly quote email recipient strings (#1484191)
+- Fix wrong charset aliases (#1484818 and #1484598)
+- Remove hard-coded size of logo image (#1484378)
+- Strip slashes from virtuser email values (#1484700)
+- Fixed message part window display in IE6 (#1484610)
+
+2008/02/28 (thomasb)
+----------
+- Fix folder adding/renaming inspired by #1484800
+- Applied patch by Emanuele Rocca to make LDAP filters work with or without brackets
+- Fix quirky message selection
+- Completed installer
+
+2008/02/20 (thomasb)
+----------
+- Localize folder name in page title (#1484785)
+- Fix code using wrong variable name (#1484018)
+- Allow to send mail with BCC recipients only
+- Remove MDN headers before saving in sent folder
+
 2008/02/12 (estadtherr)
 ----------
+- fix switching between HTML/plain composing (#1484752) 
 - condense TinyMCE toolbar down to one line, removing table buttons (#1484747)
 - fix image removal in message display when message HTML includes JS event handlers
 
 2008/02/11 (thomasb)
 ----------
 - Add function to mark the selected messages as read/unread (#1457360)
+- Also do charset decoding as suggested in RFC 2231 (fix #1484321)
+- Show message count in folder list and hint when creating a subfolder
 
 2008/02/08 (thomasb)
 ----------

--
Gitblit v1.9.1