Commit graph

128 commits

Author SHA1 Message Date
Colin Kuskie
5febc0ebbc Merge commit '41575d24bb' into webgui8. Some tests still failing.
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/WikiPage.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/Cache.pm
	lib/WebGUI/Content/Setup.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Pay.pm
	lib/WebGUI/Shop/PayDriver/ITransact.pm
	sbin/testEnvironment.pl
	t/Asset/WikiPage.t
	t/Shop/PayDriver.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/Ogone.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Workflow/Activity/RemoveOldCarts.t
	t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Graham Knop
8597bdbb0f allow undefined template or snippet text 2010-05-10 17:02:29 -05:00
Doug Bell
097fb4c4a3 add style picker during setup 2010-04-26 19:09:05 -05:00
Doug Bell
23d80cfa5c add: example images to templates 2010-04-26 19:09:05 -05:00
Doug Bell
cb3f83a93e Merge branch '8' into psgi
Conflicts:
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Session/Scratch.pm
2010-04-21 13:03:03 -05:00
Graham Knop
bd80af6b60 fix packing in templates and snippets 2010-04-19 18:57:02 -05:00
Graham Knop
6298d394ff don't recompute packed template on object instantiation 2010-04-19 18:57:02 -05:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Graham Knop
13589977f2 don't recompute packed template on object instantiation 2010-04-18 18:54:21 -05:00
Graham Knop
8186754b86 asset immutability 2010-04-18 18:50:56 -05:00
Graham Knop
373be0881d Merge branch 'WebGUI8' into HEAD 2010-04-16 20:52:46 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
c35f3b9ffb Moose subclassing for Asset/*.pm. 2010-04-09 10:30:54 -07:00
Colin Kuskie
c786395eb4 Moose overriding for indexContent. 2010-04-07 15:07:20 -07:00
Colin Kuskie
dee5bbe5d0 Proper Moose setup for addRevision... 2010-04-06 16:13:02 -07:00
Patrick Donelan
d858c6e1ab Demo site loads 2010-04-06 18:21:46 -04:00
Colin Kuskie
d0884afb59 Do not remove newlines from Templates (or Snippets) since HTML::Packer does not handle newlines with H::T syntax. Fixes bug #11458 2010-03-08 11:38:29 -08:00
Colin Kuskie
814c2af249 Change calls to new to newById across Asset/ 2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes. 2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Colin Kuskie
ec5208839e Remove getValue from Assets, except for those in getEditForm which will go away later. 2010-02-16 15:51:01 -08:00
Colin Kuskie
dc2d086b2a Fix a whole bunch of aspect comma/semicolon changes. 2010-02-15 13:52:11 -08:00
Colin Kuskie
d1572c4257 Make sure that all builder methods that use session sare set to be lazy. 2010-02-05 15:41:01 -08:00
Colin Kuskie
86dd8ab23e Lots of syntax fixes, and convert to Moose accessors. 2010-02-04 13:26:38 -08:00
Colin Kuskie
2f8aff55e2 Remove deprecated code, overriding update in Template.pm 2010-02-04 12:51:49 -08:00
Colin Kuskie
3570411a7b Fix bad path to a YUI JS library. Fixes bug #11387 2010-02-02 06:59:06 -08:00
Colin Kuskie
d4f31870a3 change the name attribute to aspect to denote asset level static attributes like tableName, et. al. 2010-01-25 19:16:05 -08:00
Colin Kuskie
f0b263df6c Quick conversion of Template.pm to Moose. 2010-01-21 21:31:43 -08:00
Colin Kuskie
6fe662ef83 Make sure template attachments are duplicated. Fixes bug #11355. 2010-01-18 10:58:03 -08:00
Colin Kuskie
7b810ec227 i18n the template attachments, fixes bug #11186
Also, rework some of the JS code according to jslint.
2009-11-09 13:28:53 -08:00
Colin Kuskie
ece9d56a9e Rekey the template_attachments table. Fixes bug #11063.
Also, prevent template attachments from throwing an error on duplicate
URLs, and fix the purge method added earlier.
2009-10-21 16:11:22 -07:00
Colin Kuskie
365d4bfef2 template attachments are not cleaned up on purge. 2009-10-21 12:37:24 -07:00
Colin Kuskie
8276336cbe Templates in the trash or clipboard now log and return warnings. fixes bug #11031 2009-09-23 15:40:35 -07:00
Colin Kuskie
2948e68781 Fix 10939, commit with approval breaks on assets with autocommit children, Post, Story, Wiki, Event, etc.
Encapsulate a new method to get a fresh asset from the db.  With tests.
2009-09-08 21:17:41 -07:00
Colin Kuskie
2bbf81417b Force the isLockedBy flag to be reset when autocommitting the tag for a duplicated template.
Fixes #10795
2009-08-20 03:58:34 +00:00
Colin Kuskie
c557949ef0 Request objects are optional, so check for one before trying to pull
the HTTP headers for it.
2009-08-14 01:36:46 +00:00
Martin Kamerbeek
46829ac970 Adding return JSON on specific requeest feature to template. 2009-08-10 12:42:33 +00:00
Colin Kuskie
cc1110a48d Add missing POD to these assets. 2009-07-04 20:22:21 +00:00
Colin Kuskie
8a683d1aef Better template diagnostics on failure. It now also includes the template URL, and templateId
in both the onscreen and logged output.
2009-06-08 16:53:53 +00:00
Colin Kuskie
6ac30bb2ea Add noFormPost to packed content in the asset tables to prevent them
from overwriting the data that has been packed from the filter function.
Rerun the upgrade script to repack all areas that use packing.
2009-06-02 20:30:48 +00:00
Graham Knop
c0d7357429 fixed: Template parser cannot be set 2009-05-29 20:22:08 +00:00
Doug Bell
18460256df template attachments now work with packages. head_attachments and body_attachments are now documented 2009-05-07 17:35:43 +00:00
Paul Driver
f4df3b1280 template attachments (scripts and stylesheets) 2009-05-01 23:03:36 +00:00
Colin Kuskie
9b20ce2fe7 Add note about packed templates to process method sub. 2009-04-30 19:42:47 +00:00
Doug Bell
faca68256c Added: Packing of templates, snippets, and head tags. 2009-04-30 17:57:26 +00:00
Graham Knop
cc1c1d165a fixed: Template parser cannot be set 2009-03-04 22:09:08 +00:00
Colin Kuskie
01caef804c parser should be a selectbox, not a selectlist. 2009-03-04 18:08:35 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
09f7caab40 Provide a way for Template to import old packages that have headBlock properties, with tests. 2008-12-10 18:29:18 +00:00