Commit graph

149 commits

Author SHA1 Message Date
Doug Bell
6857ad6355 add www_edit boilerplate
This will be removed when forms can be directly added to
templates and template objects can be passed around. Finally www_
methods will be extendible!
2010-08-13 16:40:27 -05:00
Colin Kuskie
3e8e2d452c Merge branch 'master' into WebGUI8. Merged up to 7.9.12 2010-08-13 12:25:19 -07:00
Doug Bell
4e9a2c07c2 fix possible vulnerability loading template parser 2010-08-11 15:37:34 -05:00
Doug Bell
752ea71279 fix Template edit form 2010-08-02 17:27:00 -05:00
Doug Bell
7c60833d4d remove instances of getValue in Template asset 2010-08-02 16:53:50 -05:00
Colin Kuskie
ca9a3bd6c7 Merge branch 'master' into WebGUI8, up to 7.9.10. Some tests failing due to changes in default content. 2010-07-27 22:55:57 -07:00
Colin Kuskie
30f3897fda Handle import of templates with old attachments the correct way. 2010-07-27 18:14:06 -07:00
Colin Kuskie
5bc83c4b17 If the User Function Style template is cut or deleted, use the Fail Safe template instead. Fixes bug #11729 2010-07-26 09:01:21 -07:00
Doug Bell
3934a6704c fix getEditForm 2010-07-15 11:55:25 -05:00
Doug Bell
3c17dafeb4 processPropertiesFromFormPost to processEditForm 2010-07-15 11:52:04 -05:00
Doug Bell
ad96c88a36 initial edit page work 2010-07-15 11:49:54 -05:00
Doug Bell
cd1e450c32 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.9.8-7.9.9.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	t/Asset/Asset.t
	t/Mail/Send.t
	t/Session/Url.t
	t/lib/WebGUI/Test.pm
2010-07-14 17:06:19 -05:00
Doug Bell
b4f47dba7b read template attachments from prior versions 2010-07-13 13:41:29 -05:00
Doug Bell
0b87ce3e65 fix package import problem 2010-07-13 13:20:41 -05:00
Doug Bell
65e9902001 migrate to JsonTable to edit template attachments 2010-07-13 13:12:46 -05:00
Doug Bell
60a813169a migrate attachments to JsonTable 2010-07-13 12:39:43 -05:00
Doug Bell
8de5ab0d53 fix attachmentsJson fieldType 2010-07-12 15:53:13 -05:00
Doug Bell
29b1f794cd fix merge problems 2010-07-12 15:52:38 -05:00
Doug Bell
babfa74209 Merge branch 'master' into 8-merge
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/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Inbox.pm
	lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	sbin/testEnvironment.pl
	t/AdSpace.t
	t/AdSpace/Ad.t
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/EMSSubmissionForm.t
	t/Asset/Event.t
	t/Asset/File/GalleryFile/Photo/00base.t
	t/Asset/File/GalleryFile/Photo/comment.t
	t/Asset/File/GalleryFile/Photo/download.t
	t/Asset/File/GalleryFile/Photo/edit.t
	t/Asset/File/GalleryFile/Photo/exif.t
	t/Asset/File/GalleryFile/Photo/makeResolutions.t
	t/Asset/File/GalleryFile/Photo/makeShortcut.t
	t/Asset/File/Image/setfile.t
	t/Asset/File/setfile.t
	t/Asset/Post.t
	t/Asset/Post/Thread/getAdjacentThread.t
	t/Asset/Sku.t
	t/Asset/Sku/ProductCollateral.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/GalleryAlbum/delete.t
	t/Asset/Wobject/Matrix.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Config.t
	t/Group.t
	t/Help/isa.t
	t/International.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Operation/Auth.t
	t/Pluggable.t
	t/Session.t
	t/Session/DateTime.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Stow.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/PayPalStd.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Transaction.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/Workflow/Activity/ArchiveOldStories.t
	t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
	t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05:00
Doug Bell
6cf68e59a2 migrate to JsonTable to edit template attachments 2010-06-30 17:03:50 -05:00
Doug Bell
129016325d migrate attachments to JsonTable 2010-06-30 15:16:04 -05:00
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