Commit graph

63 commits

Author SHA1 Message Date
Colin Kuskie
55e0feb687 Extend WebGUI::HTML::filter to also do encode XML entities. 2009-08-05 21:47:14 +00:00
Colin Kuskie
1a74cb056d Fix the separator macro. Adds a method to WebGUI::HTML that splits
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
Colin Kuskie
4376a6770e Update POD in HTML.pm, 'html' is not an option for format content.
Fix Comment formatting in the AssetAspect.
2009-07-10 23:40:57 +00:00
Colin Kuskie
b89486d5f3 Work around bugs in HTML::Entities, which doesn't output strict utf8, and
DBD::mysql, which doesn't encode high characters correctly.  This shows up
in the Post synopsis, HTML::splitTag and Post->getSynopsisAndContent.
2009-07-07 22:24:00 +00:00
JT Smith
9381fd02d8 Insufficient filtering in javascript filter (#10001) 2009-06-03 15:53:55 +00:00
Colin Kuskie
4f5a010faa Fix a syntax warning re shift. 2009-04-25 14:57:18 +00:00
Colin Kuskie
3535e8ddb4 Fix a bug where html2text dropped the last word. Added tests. 2009-04-25 05:41:24 +00:00
Colin Kuskie
fa15f92b68 Fix POD for User.pm
Add POD for HTML.pm
2009-03-31 03:20:57 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
fd48c81e76 fixing placement of head tags in widgets 2009-02-10 21:41:53 +00:00
David Delikat
d24079f2ca added splitTag test cases 2009-01-26 03:56:02 +00:00
Colin Kuskie
13ac9dc064 Posix character classes have to be used inside of regexp classes. 2009-01-25 23:31:50 +00:00
David Delikat
16ce54bf4f added a new function to WebGUI::HTML to parse html text and extract a list of elements based on a tag
spec. used to extract paragraphs for the synopsis; convert FeedPP properties to scalar context so that
blank fields are rendered properly.
2009-01-23 03:41:49 +00:00
Graham Knop
4a88e39c21 fixed: filtering of rich text areas very slow for large content 2008-12-03 00:32:36 +00:00
Graham Knop
4fd276f0e5 include full link tag in cleanSegment 2008-09-23 21:32:44 +00:00
Doug Bell
6f789c9917 fixed: WebGUI::HTML->cleanSegment now keeps <link> when preserving script and style 2008-09-23 17:18:20 +00:00
Graham Knop
1e54cf0458 some comment cleanups 2008-09-15 21:51:46 +00:00
Graham Knop
357b2b3c5c improved behavior of CS mail message filtering 2008-04-01 14:42:42 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Graham Knop
a3af4e3746 fix incorrect apostrophy escaping 2007-08-24 16:19:30 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
76585a1daa Added a new method to WebGUI::HTML called makeParameter safe. It will
encode commas and single quotes to make the output safe to embed inside
of a macro.
Added tests to verify that it works correctly.
Updated the c_companyName macro to use makeParameterSafe.
Added tests to verify that the changed macro works okay.
Updated the c_companyName documentation.
Added a blurb to the gotchas file to cover the change to the macro.
2007-02-13 23:42:53 +00:00
Yung Han Khoe
ec2e7832f9 WebGUI::HTML::makeAbsolute didn't handle closing slashes right. 2007-01-26 16:31:25 +00:00
Eric Kennedy
3ebd2ef625 Revised WebGUI::HTML::filter "all" so that text does not run together when tags are removed. Added additional tests to HTML.t. 2006-07-24 17:31:57 +00:00
JT Smith
45080ea0d9 - fix: cs mail needs archive url
- fix: cs mail not sending in-reply-to and references headers
 - fix: cs mail doesn't like code via email
 - CS mail now sends out the email address of the poster as from, when it 
   exists.
2006-07-19 18:37:33 +00:00
Wouter van Oijen
e81ce2759a Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
81a26c6d18 some more fixes. 2006-01-21 02:35:13 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Colin Kuskie
197dacadec no more getSlave, convert code to use dbSlave instead
more form accessor fixes
Form/Template.pm, all asset calls need a session var
2006-01-16 00:08:58 +00:00
JT Smith
45c7e7876d refactored WebGUI::HTML api to use new ssesion system 2006-01-11 16:35:45 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
JT Smith
ea868a8c0e moved uploadsAccessHandler into the main webgui handler mechanism
converted macros to use references
fixed some other various bugs
2005-11-07 01:40:07 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
JT Smith
ce9cfe43a2 preparing for 6.2.4 bugfix cycle 2004-09-16 21:11:12 +00:00
JT Smith
2b6eb201a9 changed POD formatting 2004-09-14 02:22:38 +00:00
JT Smith
c1a19e9c6b fixing more bugs 2004-09-06 21:53:52 +00:00
JT Smith
c866d00c1b changed company name 2004-09-03 17:01:59 +00:00
JT Smith
fb6fab4226 [ 1008039 ] When adding javascript to description, the script is doubled 2004-08-31 23:42:10 +00:00
Len Kranendonk
fd591a761d Added html2text and makeAbsolute functions 2004-07-17 20:25:59 +00:00
JT Smith
7648c6c13f added support for reading from replicated databases 2004-07-09 21:10:58 +00:00
JT Smith
6112f756b0 fixed [ 925586 ] HttpProxy ignores javascript in <HEAD> (solution provided) 2004-04-19 19:50:52 +00:00
JT Smith
cbbb7e8392 merging 5.5.5 bugfixes 2004-03-04 05:56:44 +00:00
JT Smith
403082ed23 updated copyright year 2004-02-29 15:40:11 +00:00
JT Smith
a7ccedb956 merging 5.5.4 bugfixes 2004-01-01 23:08:28 +00:00
JT Smith
83f1188ea3 moved FAQ's into USS 2003-11-30 00:05:08 +00:00
JT Smith
a4d391b52a working on new discussion system 2003-07-13 03:28:03 +00:00
Len Kranendonk
12a35c8db6 Added searchAndReplace functionality 2003-05-13 11:38:51 +00:00