M2F Changelog ------------- -------------RELEASED AS v1.2.1------------- 19-07-2006 - Security fix - exploit for users with register_globals on: see http://www.mail2forum.com/forums/viewtopic.php?t=2117 -------------RELEASED AS v1.2------------- 30-06-2006 - Fixed bug in moderation panel - fixed bug with usernames containing a '.' character -------------RELEASED AS v1.2 RC1------------- 30-04-2006 - Improved functionality of POP/SMTP/mbox/gMail/Sendmail test buttons 28-04-2006 - Improved insert_post.php to cater better for posts which are added out of chronological sequence - improved moderation panel - added color-coded 'reason' field for moderated posts, allow batch approve/delete/change topic 27-04-2006 - Improved message moderation - now a moderated message is instantly entered into phpBB_posts as a 'phantom' post, with no data. This post is either updated or deleted when the message is authorised/rejected. This prevents complications with the topic_last_post_id value being out of date. 24-04-2006 - Improved mbox handling 22-04-2006 - Improved quoting routine - ensure empty [quote][/quote] sections are removed, and close all opened quotes - Moved pattern Search & Replace routine to later in script, so it only runs on the portion of the email we will be using. - remove attachments whose contents is '[Attachment content not displayed.]' (Yahoo groups, poss. others) - allow for email addresses in the form "username@..." - Yahoo Groups seems to crop the domain from all email addresses + Message IDs in the headers - Fix bug where m2f would continue to import a totally empty email - Fix bug with non-processed smilies - Improved pattern matching instructions - include updated version of libgmailer 31-03-2006 - Small bugfixes - Added option to detect spam from message headers, as well as body and subject as before. 22-03-2006 - Some tiny bugfixes. - Added a few new spam patterns. - fixed bug in References header generation -------------RELEASED AS v1.1.10------------- 20-03-2006 - Removed PRIMARY key in hash table - hopefully this isn't needed, and it was problematic in upgrades - changed " - Added option to send disallowed posts to Moderation panel instead of bouncing/informing admin - Re-organised dist list config page for more logical display for new users (it's bloody confusing now with so many options!) -------------RELEASED AS v1.1.9------------- 15-03-2006 - Small bugfixes -------------RELEASED (PRIVATELY) AS v1.1.8------------- 13-03-2006 - Added new area to Pattern Matching CP - option to use patterns to detect and block spam email 10-03-2006 - fixed From: header strangeness. Removed X-Original-From, which was a security risk as it put poster's email address in the headers - fixed bug where m2f footer was pasted twice in some HTML parts - $template object was being carried over - added option to allow admin posts to bypass message moderation - improved Email Subscriptions interface - added fancy Javascript on Pattern Matching page to hide instructions when not needed 08-03-2006 - Small bugfixes: - ensure users cannot subscribe to dist lists which use external mailing list - fixed bugs in db upgrade scripts - clearer pattern matching instructions -------------RELEASED (PRIVATELY) AS v1.1.7------------- 07-03-2006 - Added new feature - configurable user options for email/attachment format (By user Nick) - improved SMTP test button - sending test mail to check From header can be set - improved phpBB MOD instructions -------------RELEASED (PRIVATELY) AS v1.1.6------------- 02-03-2006 - Added info to log for edited messages 01-03-2006 - Bug fixes: creating dist list failed special characters not escaped on dist list config page -------------RELEASED (PRIVATELY) AS v1.1.5------------- 28-02-2006 - Bug fixes: improved file logging display fixed small bugs with escaped quotes in message subject and body added break before gmail case in function clean_up_messsages 26-02-2006 - new feature - message author can be taken off recipients list so he doesn't get copy of his own message -------------RELEASED (PRIVATELY) AS v1.1.4------------- 25-02-2006 - fix MySQL v5 bug fix PostgreSQL bug 24-02-2006 - fix bug to remove winmail.dat files 12-02-2006 - Added message moderation panel. 14-12-2005 - Added gMail option as import channel 14-12-2005 - Bugfixing, improved regexp, postgres compatibility. Also, removed race condition (new post details were previously read from DB soetimes before post was fully entered) 06-12-2005 - Significant changes to hash/messageID routines. Importing should now be more logical, and should work with multiple addresses in To: header 30-11-2005 - More bug fixes. Added max message size. 30-11-2005 - Bug fixes/new features: 118871 BUG: Fix imported msg statistics 118275 tables grow ad infinitum 118293 Allow m2f to ignore phpBB forum security settings 118294 Force posts all posts to be made as Guest 118393 BUG: Fix DIE & ask if user exists nicely 120764 BUG: Email address parsing 120680 Fix subject line length issue Updated nick's attachment code. -------------RELEASED AS v1.1.3c------------- 08-08-2005 - Improved mbox import routine. Temp directory is now either system temp dir (preferred), or m2f root dir. If neither work, error is output. 07-08-2005 - Bugfix: solved problem with APOP connection - I'm pretty sure there is a PEAR bug in Net_POP3 which prevents TRUE and FALSE working properly as third parameter in login(). - Bugfix: over-enthusiastic regexp was causing CSS to be displayed in email body - improved regexp which trims incoming email signatures - more feedback on Force Import - now ignored messages and unauthorised messages are different -------------RELEASED AS v1.1.3------------- 30-07-2005 - more bug fixing. Attachment links now added to plain text emails (some cases were broken before). Improved (I hope) HTML -> bbCode conversion. 29-07-2005 - loads of bug fixing. Built Yahoo patterns into m2f as internal patterns. Improved pattern match CP. Improved Message-ID and References headers. - new routine for detecting From:, To: and Cc: list in emails - now uses PEAR RFC822 functions. - improved log display using htmlentities() 26-07-2005 - Added a 'Force Import' link to the left admin pane. I'm bored with going through the 'Tools' page! - Removed 'die()' calls when there's a POP mailbox error - this really shouldn't kill the script! I just print the errors to screen and store in the DB now. - Improved error handling. Critical errors are now printed to screen in a legible format before the script dies. 26-07-2005 - Added more tests and checks to the Pattern Matching area. Added pattern modifiers and pattern testing against a sample. 25-07-2005 - First draft of References and In-Reply-To message headers, as according to RFC. This should enable threading in email clients. It may introduce a number of bugs! - bugfix - prevent the properties of an HTML tag from being lowercased (like a link href for example!) 22-07-2005 - Now disabled users's email won't be imported into the forum (Even if guest emails are allowed) 20-07-2005 - Fixed a bug in table creation - Fixed additional spaces in m2f_attachments.php (Headers already sent error) 15-07-2005 - Updated m2f_attachments.php to 0.4.0 10-07-2005 - Changed mailinglist.php to remove a UNION statement which is MySQL 4 only 10-07-2005 - Added a 'pattern matching' tab - a database of regexp patterns which can be applied to incoming emails. Any number can be linked to each distribution list 08-07-2005 - Fixed a dumb bug in the phpBB2 MOD (m2f_phpbb20x.txt) 05-07-2005 - Various changes to mbox & POP import. Changed max-message-import to a per-dist-list setting. Prevented deletion of messages until script has finished importing them into the forum. Checks for md5 hash and Message-Id header to see if email has been imported before. 30-06-2005 - Allow admins to specify that an edited post will resend an email to the list. Options to add a tag to the email subject, and/or to the message body. 29-06-2005 - Cleared up dist list setting - mailing list can now be INTERNAL (i.e. send to the subscribed m2f users), or EXTERNAL (i.e. just send to the mailing list email address, where a Mailing List Server will deal with it) 28-06-2005 - Fixed bugs in the simple cron. Added iframe method to avoid path problems. 19-06-2005 - Forgot to set up cron table creation at install... -------------RELEASED AS v1.1.2------------- 18-06-2005 - Fixed a bug where whole-board subscription also subscribed non-approved members (Thanks to knightshade) - Added guest posting as "Name" instead of email - Fixed bugs with mime emails in attachment/inline text handling 11-06-2005 - Fixed a bug where _M2F_FORCE_SUBJECT_MATCH_ was always on - Added #110828 "Add RE: to subject line for reply to posts", _M2F_SUBJECT_REPLY_PREFIX_ - Added plaintext with attachment support - Now the "Attachments:" title shows only in plaintext mails when there are attachments. - Now _M2F_USE_ALL_ADDRESSES_ is set to 1 per default - Fixed a bug where incoming mails with no attachments would register a warning on the log 29-05-2005 - Introduced a simple cron mechanism -------------RELEASED AS v1.1.1------------- 28-05-2005 - Plain text convertion had more side effects, more bugfixing. - Introduced ">" quoting to [quote] bbcode feature. - Added _M2F_SEND_ATTACHMENT_LINK_ config parameter - Added attachment support, thanks to rouly's and nick's MOD to M2F - Restored non-attachmentmod-modded phpBB boards compatibility (bugfix) - Added _M2F_ENABLE_ATTACHMENTS_ config parameter - Added enabling/disabling attachment mod compatibility from the admin interface (Config sending link or attachment pending) 26-05-2005 - Fixed a bug introduced in the last commit 16-05-2005 - Now plain text emails get converted to HTML if _M2F_SEND_HTML_ is on. - Fixed a small typo on unauthorized msg importing warning. 09-05-2005 - Fixed "empty pattern" warning on mailinglist.php, line 525. -------------RELEASED AS v1.1.0------------- 08-05-2005 - Fixed bug #110929, prefix removing was matching inside the subject. - Fixed potential bug where prefix could not contain special regexp chars. 05-05-2005 - Fixed a bug where bold face html incoming mail text wasn't being properly converted to bbcode 01-05-2005 - Fixed a bug where trying to subscribe current whole board twice resulted in an implode error - Added "_M2F_POP3_APOP_" dist list parameter, to set "try APOP first" PEAR Pop3 login parameter. 30-04-2005 - Added "\n" parameter to mail_mime, improved compatibility when using MAIL method. - Enable attach sig depending on user profile (#114477) - Incorporate battarsa's fix for external mailing lists (#114474) 28-04-2005 - Squashed ugly bug where checkbox settings under "Settings" tab weren't written to the DB. Changed them into select boxes. 19-04-2005 - Quoting now use ">>" style 17-04-2005 - Fixed a bug where test pop3 settings wasn't properly detecting login problems 16-04-2005 - Fixed a bug where the filename of the logging script was not being resolved correctly 29-03-2005 - Fixed problem with Thunderbird replies where style info is included in message. - phpBB MOD compliancy changes - Minor fix to phpBB header template and new subscription icon. 04-03-2005 - added first version of a staandalone admin control panel 26-02-2005 - unknown users or groups in the m2f_subscription or m2f_group_subscription tables are now removed 23-02-2005 - added "test SMTP settings", "test mbox path" and "test POP settings" to dist list config page 23-02-2005 - Added feedback to the Force Import button - now prints out number of successful/unsuccessful emails for each mailing list 23-02-2005 - Introduced the 'default distribution list', which can be modified on the Settings page. All new distribution lists are based on the default. 22-02-2005 - Changed 'subscribe whole board' to actually subscribe each board member individually 22-02-2005 - Added 'find a username' on subscriptions page 22-02-2005 - Changed Log system to allow for Database logs as well as File 18-02-2005 - Check for valid topic ID before searching for moved topic. 15-02-2005 - Re-added "NOT NULL" to table columns that are part of primary keys for mysql 3.23. 15-02-2005 - Integrated Vinai's remove_yahoo_footer patch to add option for removing Yahoo Groups footers. - Integrated Vinai's specify_distributionlist_as_param patch to allow specifying the distribution list id from the command line. - Integrated Vinai's subject_prefix_and_cleaning patch to allow custom subject prefix and cleaning up subject for outgoing email. 15-02-2005 - Integrated Vinai's "m2f_from_user_name_ml_address" patch. Adds option for setting from header to username plus mailing list address. - Added config to the distribution list settings panel for using all addresses in the TO hdr of an incoming message. 15-02-2005 - Integrated Vinai's "double-post" patch which removes the incoming REPLY-TO address from the outgoing recipients. 14-02-2005 - Bumped version to 1.1.0. -------------BRANCHED v1-0------------- 11-02-2005 - Changed m2f.sourceforge.net to www.mail2forum.com in docs. - Removed _M2F_TMP_DIR_ constant. It's no longer needed. - Updated author and version in MOD header. 10-02-2005 - Created a 3 part version number, major, db, and minor. 10-02-2005 - Added note in admin panel for M2F signatures that \n starts a new line. 10-02-2005 - Bumped version to 0.93. -------------RELEASE CANDIDATE 1------------- 09-02-2005 - Updated info in MOD header. 28-01-2005 - Added message to user subscription panel when no forums are available for subscribing. Minor additions to the text in the admin panels. Install doc tweak. 17-01-2005 - POP3 PEAR package is now fixed, so use default login method. 14-01-2005 - Added include of PEAR compatibility functions is_a and html_entity_decode, if needed. More install doc tweaks. 14-01-2005 - Install doc tweaks. 11-01-2005 - Code from Vinai to correctly extract HTML email body when closing tag is missing. 11-01-2005 - Fixed task #108369. Code from Vinai to detect deleted topics before posting reply. 11-01-2005 - Fixed task #108664. Added ability to put line breaks in M2F signatures. 11-01-2005 - Bumped the version to 0.92. Fixed task #108766. Code from Vinai for adding user signature to the bottom of outgoing text mail. Fixed task #108739. Code from Vinai to delete distribution list when mailing list deleted. 10-01-2005 - Fixed task #108143. Removed "not null" constraint from table columns. 07-01-2005 - Install instructions tweak. 07-12-2004 - Change x-generated-by header to X-Generated-By. 30-11-2004 - Fixed problem converting unordered lists from HTML to bbcode. 17-11-2004 - Blocked email to locked forums or topics. Email to moved topics will redirect. - Disabled importing when board is disabled, except "Force Import" from admin panel. -------------BETA 3 RELEASE------------- 15-11-2004 - Bumped version to 0.91. 12-11-2004 - Fixed bug when importing messages with cron. 12-11-2004 - Minor install doc change. 10-11-2004 - Fixed page title on subscription panel. Minor tweak to mbox code. 08-11-2004 - Fixed bug 1017305. M2F should handle non-critical errors gracefully. 06-11-2004 - Temporary fix for converting bbcode quotes to plain text. 05-11-2004 - Fixed conversion of html email without tag. 05-11-2004 - Made "inactive" red on the distribution list panel. - Added warning to log for inactive distribution lists. 02-11-2004 - Minor update to install instructions. - Only set post author when the user is not recognized. 02-11-2004 - Fixed two minor bugs with
 conversion.
           - Removed dependency on file_get_contents().
01-11-2004 - Minor changes to log messages. Added message for total messages imported. Small mbox fix.
31-10-2004 - Fixed issue with mbox code not setting file permissions correctly.
28-10-2004 - Minor fixes to HTML conversion for email links.
27-10-2004 - Minor improvements to HTML conversion.
26-10-2004 - Fixed minor bug in mail parsing.
25-10-2004 - Fixed blank admin email when upgrading distribution lists.
25-10-2004 - Fixed bug in upgrade logic for subscription table.
           - Fixed upgrade instructions for EasyMOD.
           - Minor changes to wording on subscriptions panel.
           - Minor fix for viewing truncated log and minor change for smilie replacement.
24-10-2004 - Removed duplicates in the COPY statements. COPY * is recursive.
24-10-2004 - Fixed bugs with COPY statement in MOD syntax.
24-10-2004 - Several minor fixes to HTML handling and other stuff.
23-10-2004 - Added copy directives to m2f_phpbb20x.txt for EasyMOD. Added EasyMOD install instructions.
           - Moved m2f_phpbb20x.txt to the m2f root from the docs folder so it can be found by EasyMOD.
23-10-2004 - Updated readme and install instructions. Removed milestones.txt, since they've all been accomplished.
21-10-2004 - Fixed task #106330. Occasionally check for distribution lists without a forum and delete them.
21-10-2004 - Convert incoming HTML email to text if config value "send HTML" is unset.
21-10-2004 - Minor tweak to HTML conversion for extended entities (e.g. ’)
21-10-2004 - Tweaks to HTML conversion. Added conversion for incoming  TO header
           - Added prefix & subject cleaning in incoming mail in the admin cp
           - Added preliminary pnphpbb support
           - Bugfix: Mailinglist deletion didn't delete subscriptions.
07-03-2004 - Fixed minor issue in subject threading for subjects longer than 60 chars
07-03-2004 - Switched SUBJECT_WORDS and REPLY_PREFIXES to use new multi-valued config
           - Fixed small bug in distribution list multi-valued config handling
           - Added code for getting post date/time from first "Received" header, which is more accurate than "Date"
29-02-2004 - Changed the DB schema
           - Multi-valued config directives are now available in M2F config and distributionlist config
           - Added a config directive to add a M2F signature to M2F-generated posts and emails
28-02-2004 - Incoming messages now threaded together by matching subject
26-02-2004 - Made MIME tag handling case-insensitive (mainly for WebTV email)
26-02-2004 - BIG improvements in debug logging
           - _M2F_DEBUG_ deprecated
           - config file updated
           - Bugfix: Template files had typos
           - Declared insert_post as m2f_insert_post to address MOD collision
           - Fixed the install.txt a bit
           - Bugfix: Sendmail setup was bugged
           - Modified m2f_import_msgs.php to automatically change directory to M2F dir (Untested)
25-02-2004 - Added search for plain text in a MIME multipart message
23-02-2004 - SMTP Auth config is now a checkbox
           - Added an ugly 'Back to the index' link in the user cp
18-02-2004 - The "From: " was not quite in the correct format
16-02-2004 - Beta 1 Release
           - SMTP Transport 100% working
           - From header shows username and email of poster
13-02-2004 - Install no longer set up default distribution and mailinglist
           - Bugfix: Deleting a distributionlist now deletes its config directives
           - Bugfix: Importing mail got broken in previous commits
           - Bugfix: Mandatory Login for forum subscriptions wasn't working
           - Bugfix: SMTP transport wasn't working (Still with issues though)
12-02-2004 - Distributionlist configuration is now more user-friendly 
           - Added a 'force import' button on the admin
           - Added a 'Show username as email for guests' config
           - Added a 'Ingore TO msg header when importing' config
11-02-2004 - Added some info to the install.txt file
           - Basic user control panel
           - Changed @ to 'at' if author's name is an email
           - Added 'Extract mail date' distribution list configuration
09-02-2004 - Full admin control panel
           - Multiple distribution lists now supported (Major update)
           - Fixed some bugs within the threading support code
           - Now mail replies to mail posts are correctly threaded
27-01-2004 - Alpha 2 release
           - Fixed problems when mysql4 was used
           - Cleaned additional escape backslashes coming with especial chars
           - Fixed a bug with mailing list (i.e. ezmlm) interaction (The TO header was missing)
           - Basic admin module
           - Added a config directive: Send mails back to the mailing list, in order to behave like a real mailing list manager
           - Automatic creation of sql databases in the first run
           - Special thanks to squeebee and jonathan for their beta testing work!
16-08-2003 - Pop3 mail retrieval working
           - Stdin (forward) mail retrieval working
           - Added max mails to retrieve config directive
           - Identification detection working
15-08-2003 - Fixed a bug where mail contents were not being escaped for special chars
16-07-2003 - Added a local PEAR distribution to end PEAR problems
           - Updated a some of the docs
           - Added SMTP server support (Untested)
           - Added missing subject & from header handling
           - Threading working! Lots of cleanup needed though
29-04-2003 - Several bugfixes: (Thanks Giosico and iohan for the beta testing, and nathan_anderson for his useful comments)
           - mbox.php: took off some hardcodes
           - moved some stuff around m2f_common and m2f_config
           - fixed Subject bug
           - made install.txt more verbose, read it again :)
           - added several path fixes
           - This release is tagged as official Alpha1!
14-03-2003 - Mail sending working
02-22-2003 - First CVS version of this file