source: trunk/gsdl/perllib/plugins/EMAILPlug.pm

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @12169   18 years mdewsnip Tidied up that horrible long line in the new() function of every plugin.
(edit) @10839   18 years jrm21 better match when looking at sub-part types so we don't match …
(edit) @10834   18 years jrm21 moved utf8 checking code into separate function. (maybe it should be …
(edit) @10827   18 years jrm21 1) include %xx bits when making hrefs out of urls 2) test if text is …
(edit) @10254   19 years kjdon added 'use strict' to all plugins, and made modifications (mostly …
(edit) @10218   19 years kjdon Jeffrey's new parsing modifications, committed approx 6 July, 15.16
(edit) @9971   19 years jrm21 text_from_part now takes an optional parameter with the part's …
(edit) @9823   19 years jrm21 fix bug where we forgot to call a method with $self->
(edit) @8904   19 years jrm21 need to do qp decoding before doing text_into_html so we don't keep …
(edit) @8902   19 years jrm21 slightly better way of recognising gb charset names (mapped to 'gb')
(edit) @8121   20 years chi Add the "FileFormat" metadata to each of the Plugins.
(edit) @7830   20 years jrm21 change a couple of error messages to using gsprintf translated strings …
(edit) @7703   20 years jrm21 1) use the email's message ID instead of document hash for Identifier. …
(edit) @6916   20 years jrm21 Don't store Headers metadata by default (it's quite wasteful of …
(edit) @6408   20 years jmt12 Added two new attributes for script arguments. HiddenGLI controls …
(edit) @6332   20 years jmt12 When -gli argument is provided to calling script these modules will …
(edit) @6079   20 years jrm21 oops... became too liberal for attachment filenames... now fixed to …
(edit) @6062   20 years jrm21 "use strict" and picked up quite a few typos. escape _ into \_ …
(edit) @5924   20 years kjdon changed the new metadata to eg WordPlug instead of Word, cos a clash …
(edit) @5919   20 years kjdon each plugin now adds a metadata field to teh doc obj based on the …
(edit) @5680   21 years mdewsnip Moved plugin descriptions into the resource bundle …
(edit) @4873   21 years mdewsnip Further work on standardising option descriptions. Specifically, in …
(edit) @4785   21 years mdewsnip Commented out print_usage functions - plugins should now call …
(edit) @4744   21 years mdewsnip Tidied up and structures (representing the options of the plugin) in …
(edit) @4224   21 years jrm21 fixed regexp for when we have a content type without a charset
(edit) @4089   21 years jrm21 added "\n" to headers as we weren't picking up messages that were only …
(edit) @3726   21 years jrm21 minor fix for "_" chars in urls... escape them after, not before. …
(edit) @3721   21 years jrm21 bug where some text/plain messages weren't having < > & properly …
(edit) @3630   21 years jrm21 1) Correct typo in print_usage(): process_exp -> split_exp 2) Fixed …
(edit) @3627   21 years jrm21 added less-obfuscated quote-printable parsing in qp_decode()
(edit) @3540   21 years kjdon added John T's changes into CVS - added info to enable retrieval of …
(edit) @3524   21 years kjdon added the help message for the previous change
(edit) @3523   21 years kjdon now EMAILplug accepts the split_exp option - a regular expression that …
(edit) @3414   22 years jrm21 Need to escape "_" characters so that greenstone doesn't interprete them…
(edit) @3398   22 years jrm21 Oops... the last change to the regex was too permissive... fixed up to …
(edit) @3397   22 years jrm21 minor change to the regex for marking up urls (to allow #anchor at the end)
(edit) @3352   22 years jrm21 We can now properly handle messages with a content type of …
(edit) @3351   22 years jrm21 If a message is in an unsupported encoding, we assume iso8859-1. …
(edit) @3329   22 years jrm21 Oops, removed debugging statement!
(edit) @3328   22 years jrm21 Make sure that sender's name is more than 0 chars long, otherwise use …
(edit) @3215   22 years jrm21 Fixed up some regexs for mime header encodings - eg people with …
(edit) @3206   22 years jrm21 Oops! Bad things were happening when the headers said utf-8 encoding, …
(edit) @3143   22 years jrm21 Minor tweak for badly formatted dates. We now use a window, so …
(edit) @3136   22 years paynter Reconciled John's version of my changes to EMAILPlug with my version …
(edit) @3134   22 years jrm21 1) Convert headers to detected charset if possible. 2) Convert header …
(edit) @3132   22 years jrm21 Try to determine the encoding used in the headers in case it is not …
(edit) @3111   22 years jrm21 Allow .eml extension (IE and mozilla default to this for individual …
(edit) @3073   22 years jrm21 1) Default Title now correctly escapes [ and ] chars. 2) …
(edit) @2918   22 years jrm21 Add [Title] metadata so that the default format strings will show …
(edit) @2886   22 years jrm21 Fixed some encoding issues - need to convert to utf-8 after …
(edit) @2847   22 years sjboddie Altered EMAILPlug a little so it now treats all text that it used to …
(edit) @2781   23 years jrm21 oops - left off a '$' at end of a pattern match.
(edit) @2779   23 years jrm21 Be a little more flexible when looking for boundary field in a …
(edit) @2754   23 years jrm21 oops - left a debugging statement in there.
(edit) @2733   23 years jrm21 minor regex fixes/improvements.
(edit) @2732   23 years jrm21 needed <pre> tags when using the text/plain part of a multipart message.
(edit) @2730   23 years jrm21 1) Non-ascii characters should now work for any encoding handled by …
(edit) @2717   23 years jrm21 Do some email munging - @ symbols become &#64;. Both netscape and IE …
(edit) @2681   23 years jrm21 fixed a few more minor MIME header parsing cases.
(edit) @2680   23 years jrm21 1. we escape 'and' chars in headers so greenstone doesn't try to …
(edit) @2662   23 years jrm21 oops, that's a bit stupid (of me) - changed: if …
(edit) @2652   23 years jrm21 Needed to replace \s with s. Also checked for multipart/related.
(edit) @2638   23 years jrm21 typo in regexp broke import... encoding type should have had [\s], …
(edit) @2630   23 years jrm21 Mime support for multipart messages. Doesn't extract attachments …
(edit) @2493   23 years paynter Changed at the request of Marcio - see mailing list.
(edit) @2096   23 years jrm21 Minor changes to regexs, so that header fields have to be at start of …
(edit) @1895   23 years jrm21 Email plug now uses SplitPlug for mbox mail files. Hopefully this …
(edit) @1869   23 years paynter Regular expression fix.
(edit) @1757   23 years say1 tightened the criteria for email files to avoid matching all dynamic …
(edit) @1658   23 years paynter Fixed a bug reading the headers that confused "To" with "In-Reply-To".
(edit) @1424   24 years sjboddie Added a -out option to most of the perl building scripts to allow …
(edit) @1244   24 years sjboddie Caught up most general plugins (that's the ones in …
(edit) @1206   24 years gwp A thorough rewrite; some of the metadata was flawed in such a way that …
(add) @638   25 years sjboddie Gordon's new email plugin thingy
Note: See TracRevisionLog for help on using the revision log.