Commit graph

60 commits

Author SHA1 Message Date
Colin Kuskie
91029e8140 Remove inline JS from the Date and DateTime forms by putting the user's firstDayOfWeek preference
into the getWebuiProps.
2009-06-23 19:25:50 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Paul Driver
f4df3b1280 template attachments (scripts and stylesheets) 2009-05-01 23:03:36 +00:00
Doug Bell
faca68256c Added: Packing of templates, snippets, and head tags. 2009-04-30 17:57:26 +00:00
Doug Bell
026f7ff47e Added #10145: Global Head Tags in Settings 2009-04-29 21:51:22 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
149337d77d encode html entities when used in a setLink or setScript attribute value 2008-11-12 21:28:18 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
JT Smith
d18f081683 Made the charset metatag the highest thing in the head block. 2008-09-15 15:08:40 +00:00
Graham Knop
90983496ca don't remove the included js and css lists after generating headers, prevents later code from generating them again 2008-08-11 21:52:04 +00:00
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