Commit graph

50 commits

Author SHA1 Message Date
Colin Kuskie
fba93ebcbe bugfix: more debug output when style cannot instance your template 2008-06-11 02:38:34 +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
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
JT Smith
2c1f56a009 - rfe: Admin bar doesn't resize with the browser
- fix: Left Admin Bar overlap problem
2007-07-26 23:05:22 +00:00
JT Smith
2082506efb Added Site Starter to WebGUI Initial Configuration. 2007-07-23 19:44:05 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
JT Smith
3a8bd77cde - Made Weather Data asset more fault tollerant.
- Made CS related upgrades more fault tollerant.
 - Enhanced HTTP caching directives.
2007-03-07 19:12:37 +00:00
Doug Bell
6e8547169a fixed changelog and some formatting issues 2007-02-01 20:24:00 +00:00
JT Smith
600118b40a - fix: Styles were printing double head block headers. 2007-01-07 17:38:24 +00:00
JT Smith
4f68a0933c added YUI and YUI-ext
fixed the resizable text area with IE problem
fixed the ad space with IE problem
merged the 7.2.0 and 7.1.4 change logs
2006-11-07 23:15:57 +00:00
Roy Johnson
0ce287c212 fix - Style templates now process metadata properties assigned to them 2006-11-07 16:42:41 +00:00
Colin Kuskie
eadb9ada36 Implemented the last few tests to give Session::Style 100% coverage.
There are still a few functional tests that need to be written, they're
codified as TODOs.

In Session/Style.pm, in all methods that have a send immediate option
(when sent=1), they no longer send and cache.  This prevents duplicate
heag tags from being generated if generateAdditionalHeadTags was
ever called twice.
2006-10-12 22:43:33 +00:00
Colin Kuskie
514c2263fc Added tests to cover userStyle.
fixed a bug in userStyle where it would not process data that was false.
process will do this, so I made userStyle do it as well by adding
in a definedness check on $output.
2006-10-12 04:53:43 +00:00
Colin Kuskie
01a09cbea9 Add tests for printableStyleTemplateId.
Found a fixed an infinite loop in WebGUI::Style::process

If an asset was requested to be printed who does not have a
printableStyleTemplateId then process would recurse back up the
lineage until it does find an asset with a printableStyleTemplateId.
Eventually, if none is found, it will find the Asset Root, whose
parent is itself, and it will loop forever.

I added code to jump out of the loop if it recurses back to the
assetRoot.
2006-10-12 04:06:13 +00:00
Colin Kuskie
7867ce3573 more POD docs for WebGUI::Session::Style->process that describe hierarchy if templates 2006-10-12 01:13:41 +00:00
Colin Kuskie
a86c34df84 Added 5 more tests for Style's process method, checking for meta tags
for default processing and for meta tags when cache busting is enabled.

Fixed a bug where the default meta tag Generator did not contain the
WebGUI version.

Added lots of POD to the Style module detailing how meta tags are
handled in various cases.
2006-10-11 04:15:21 +00:00
Colin Kuskie
b1bb5d0b58 Fix broken templateId in Session/Style/process when useEmptyStyle was
requested.  It used to be 6, but at somepoint in the 6.x cycle it
was changed to be PBtmpl0000000000000132 in the database.

Added tests that verify that it works correctly.
2006-10-11 00:32:42 +00:00
Colin Kuskie
6cf1afc6a7 Add more POD to Style.pm to document that sent is set to true after this method
is called.

Add tests to check personalStyleTemplate and sent inside process method.
2006-10-10 23:10:31 +00:00
Colin Kuskie
5920a6d482 10 more tests for methods in Session/Style.pm
Refactored generateAdditionalHeadTags to remove two loops.
2006-10-05 03:40:39 +00:00
Colin Kuskie
ff2344cdad Added comments to the POD in Var.pm that creating a Var object overwrites
the Session Id.  This is by design.

Added a check to Style.pm so that if no params are passed to setLink that
it won't die by trying to deref undef into a hashref.

First set of tests for Session/Style added.
2006-10-03 23:27:08 +00:00
Roy Johnson
aac1df8dfb fix - makePrintable operation with other styleId 2006-09-07 18:17:32 +00:00
JT Smith
35db285a67 - rfe: Workflow activity for assigning users to a group
- The prevent proxy cache setting also now sets anti-caching meta tags and
   HTTP headers.
2006-08-16 22:04:59 +00:00
JT Smith
03b4b0ed33 - fix: Head Block in styles
- fix: select assetVersionTag
 - fix: Infinite recursion
 - fix: assetUiLevel override broken
 - fix: Indexing files failes (derck)
 - fix: Unable to approve New listings on Matrix
2006-07-25 17:15:57 +00:00
JT Smith
8abbdf5e41 there should have been a space here 2006-07-13 21:01:23 +00:00
JT Smith
36b5346d0e some http headers changes that should make things better 2006-05-11 17:48:40 +00:00
JT Smith
1b7488e4b1 [ 1475220 ] some 6.99 templates have double slashes 2006-04-28 17:12:58 +00:00
JT Smith
1c6fddb206 lots of litlte bug fixes and tweaks 2006-04-20 19:02:11 +00:00
JT Smith
e8c073b9df some http header changes 2006-04-18 14:22:42 +00:00
JT Smith
3e52133431 fixed [ 1470275 ] 6.99: HTML output before DOCTYPE 2006-04-17 21:50:03 +00:00
JT Smith
da9c26d72c fixed redirect bugs in file, image, and zip archive
added cache control headers to style
added cache control headers to snippet
added server side caching to snippet
2006-04-15 16:07:04 +00:00
JT Smith
e2109910fd holy crap it actually works!!! import/export of themes base system is complete.
fixed some chunking related bugs in Session/Style
fixed other misc bugs
2006-04-13 03:31:39 +00:00
JT Smith
7cf2c22a95 several small improvements to lots of stuff 2006-04-07 17:15:53 +00:00
JT Smith
44a182ee0d fixing a couple cosmetic bugs 2006-02-03 05:39:52 +00:00
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
JT Smith
80fc76691f fixed a macro problem 2006-01-30 18:22:54 +00:00
JT Smith
82156de83c more changes related to chunked output 2006-01-30 17:51:03 +00:00
JT Smith
268947c1d5 getting closer to bucket output 2006-01-30 00:14:22 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
2069da5fdb tons of bug fixes. 2006-01-18 14:41:12 +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
Matthew Wilson
65823b1f53 oodles of fixes. 2006-01-15 15:56:17 +00:00
JT Smith
297b9f8487 more session related bug fixes 2006-01-13 22:23:24 +00:00
JT Smith
eeba6daf7f fix
[ 1404985 ] 6.9 WebGUI::Session::Style missing methods
2006-01-13 18:05:23 +00:00
JT Smith
c74c1bdcbc merged WebGUI::Groupings with WebGUI::Group and WebGUI::User
changed WebGUI::Group api to work with the new session api
2006-01-11 03:27:07 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
d470a7cdd4 more session related changes 2006-01-09 20:43:02 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
JT Smith
de50e9b49c more session mods 2006-01-01 06:44:09 +00:00
JT Smith
68ff4fdf6c more session stuff 2005-12-31 22:01:14 +00:00
Renamed from lib/WebGUI/Style.pm (Browse further)