Commit graph

71 commits

Author SHA1 Message Date
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
Scott Walters
d17d096380 StoryArchive optional sorting by title.
Fwiw, this code was written a while ago but seems to have gotten
misplaced.
2010-07-23 09:13:55 -04: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
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
b7ba9f2118 Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678 2010-06-23 14:12:42 -07:00
Colin Kuskie
be259d803c Fix problems with assetExportHtml. The method needs to be rethought, and make check that one exists before calling it via can/DOES. Fix a problem with duplicating the session, since duplicate is not a class method. 2010-06-05 22:25:18 -07:00
Doug Bell
247c607393 fixes for weaken and iterator 2010-06-01 19:37:53 -05:00
Doug Bell
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Colin Kuskie
3e168b1c87 Trap calls to newById inside getParent. StoryArchive should use cloneFromDb. 2010-05-05 11:50:31 -07:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Graham Knop
29df110409 progress and WebGUI::Paths conversion 2010-04-15 18:42:16 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
56fcb761a1 Rework StoryArchive for exceptions and modifiers. 2010-03-24 14:54:53 -07:00
Colin Kuskie
88ec09d279 rework how validParent works, and where it is checked. Add an explicit check for it in addChild, and remove a bunch of overridden addChild methods. 2010-03-19 14:31:49 -07:00
Graham Knop
2af4c4de63 clean up WebGUI::Utility imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
ffb7945c34 Remove leftover definition sub stubs. 2010-03-09 13:51:07 -08:00
Colin Kuskie
bf1cb7b721 Aspect to Role renaming 2010-03-03 21:10:35 -08:00
Colin Kuskie
9b4a9beba2 Remove usage of Class:C3 in favor of roles. 2010-03-03 17:58:55 -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
b7f79a506f Update StoryArchive for Moose. 2010-02-15 15:46:03 -08:00
Colin Kuskie
38e6bfad3e Convert many search forms from POST to GET. Fixes bug ##11372 2010-01-25 15:53:49 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
hao
7a439fd702 Fixed failure in test 250 of t/00_compile.t.
not ok 250 - WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings
@   Failed test 'WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings'
@   at 00_compile.t line 52.
@          got: 'Argument "." isn't numeric in numeric eq (==) at /Users/hao/Dropbox/PB/wg/webgui/lib/WebGUI/Asset/Wobject/StoryArchive.pm line 383.'
@     expected: ''
2009-10-02 07:52:48 -04:00
Colin Kuskie
021b7f8fed Fix import Story Archive packages with sub-stories. 2009-09-10 08:43:26 -07:00
Graham Knop
b8127bafec Revert "When opening or duplicating Session objects, pass on any Apache2::Request object"
This reverts commit ed97fa1ecd.
2009-09-08 11:06:39 -05:00
Colin Kuskie
cdb7fd2d6f Fix pagination for keywords listing in Story Archive. Fixes bug #10890. 2009-09-03 12:54:15 -07:00
Colin Kuskie
ed97fa1ecd When opening or duplicating Session objects, pass on any Apache2::Request object
stored in the current session.
2009-08-14 01:38:03 +00:00
Colin Kuskie
c9fa63bdb7 Give StoryArchive sub-folders the same style as their parent. Fix to hide them
better upcoming.
2009-07-23 21:17:25 +00:00
Colin Kuskie
576b914293 More POD fixes. 2009-07-04 17:21:05 +00:00
Colin Kuskie
fcad3a112d Fix a bug in the Story when handling images of different sizes. Add a
photoWidth property to the StoryArchive, and resize all newly uploaded pictures
to a Story.
2009-06-08 21:51:33 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
5fd74af21e Don't make a 2nd i18n object. 2009-06-01 20:47:06 +00:00
Colin Kuskie
8f09dc062d Add edit and delete icons to the Story Topic. Update tests. Adjust both
sets of templates.  Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
6844ef4559 Add missing edit story and delete story icons in the view method of the Story Archive. 2009-06-01 16:27:49 +00:00
Colin Kuskie
ef7abeec77 Make the Story Manager assets use the new icons. 2009-05-13 22:04:43 +00:00
Colin Kuskie
40b5ac13a4 Update code to match new RssFeed API w.r.t exporting. 2009-04-28 19:51:47 +00:00
Colin Kuskie
8d8d5f2d3b Do not set the exporting scratch variable in places where it is not needed. 2009-04-24 19:04:29 +00:00
Colin Kuskie
1b8ad91605 Add in StoryManager, 3 assets for managing news content in WebGUI.
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
Colin Kuskie
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Colin Kuskie
a46038d734 Update the keyword URL callback to the correct method. 2009-04-24 03:44:52 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Colin Kuskie
070df97708 tag cloud urls in export mode 2009-04-22 01:20:55 +00:00
Colin Kuskie
d1db12d1e4 Finish export code.
Make the list of assets templatable, since the user can see it.
Beginnings of export collateral tests.
2009-04-20 21:18:24 +00:00
Colin Kuskie
08c033b2c5 Document how template variables work in export mode.
Change how pagination works when exporting.
Early code for exporting keyword pages.
2009-04-17 17:11:07 +00:00
Colin Kuskie
c439453784 Make rssUrl and atomUrl variables respond to exportMode. 2009-04-16 21:19:17 +00:00
Colin Kuskie
1ddf1b50a4 add export mode for StoryArchive.
Turn off search variables when in export mode.
2009-04-16 19:21:28 +00:00
Colin Kuskie
a400d3697f Add missing template variables to the Story Archive.
Add RSS and atom template variables.
2009-04-10 22:39:23 +00:00
Colin Kuskie
efef611b03 getRssFeedItems for StoryArchive, with tests.
A couple of quick rss/atom url tests.
2009-04-08 22:46:42 +00:00