Commit graph

3662 commits

Author SHA1 Message Date
Scott Walters
7b11f97aec In a properties block, "defaultValue" does nothing. We want "default". 2010-08-11 19:29:17 -04:00
Scott Walters
580c6bf6f7 Update addTab usage to pass name/value pairs. 2010-08-11 19:29:17 -04:00
Scott Walters
9eea40aeff Don't blow up on view when there are no WebGUI::Asset::WikiPage
child objects under us to feature.  Also, the only reason that -1
on the rand works is because Perl is nice.
2010-08-11 19:29:16 -04:00
Colin Kuskie
e43745cd86 Trap exceptions when trying to get the featured wiki page. 2010-08-11 21:47:18 -07:00
Graham Knop
996acb5ab5 fix typo in SQLReport 2010-08-11 12:28:16 -05:00
Scott Walters
d57d9ff962 Don't blow up on view when there are no WebGUI::Asset::WikiPage
child objects under us to feature.  Also, the only reason that -1
on the rand works is because Perl is nice.
2010-08-09 15:17:00 -04:00
Scott Walters
c1a918493f Force scalar context to avoid getting () back and the associated odd number of elements in hash warnings. 2010-08-09 14:46:45 -04:00
Scott Walters
b7cb774e60 Avoid warnings about odd numbers of form elements. session->form->process
will return () when called in list context so force scalar context and it
nicely gives us an undef.
2010-08-09 14:39:53 -04:00
Scott Walters
13e7d4c6d5 Fix: WebGUI::Asset::File::ZipArchive specifies a default template of '' 2010-08-09 13:39:16 -04:00
Doug Bell
6d6e5768ef fix typo preventing Article from add/edit 2010-08-06 17:02:09 -05:00
Doug Bell
a99b15a38d remove getAdminConsole preventing editing Collab 2010-08-06 17:00:12 -05:00
Scott Walters
7a56c72586 WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048
Fixes #11765
2010-08-04 23:02:37 -04:00
Scott Walters
e1ebb5d1be Fix typo in property initialization to satisfy Test::Class test for t_11_getEditForm. 2010-08-04 16:36:00 -04: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
khenn
078bc0e162 fixed #11745: Pagination doesn't work in DataForm list mode 2010-07-27 11:20:30 -05: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
Colin Kuskie
ffe4b8fa2c Better handling of an empty spamStopWords entry in the config file, for WikiPage and Post. 2010-07-23 17:09:18 -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
2471517fa7 remove getAdminConsole from Survey 2010-07-15 12:54:31 -05:00
Doug Bell
c030946688 fix getEditForm override 2010-07-15 12:53:33 -05:00
Doug Bell
c58a66ba61 remove syntax error 2010-07-15 12:53:10 -05:00
Doug Bell
e56c665057 fix layout options subs 2010-07-15 11:55:25 -05:00
Doug Bell
3934a6704c fix getEditForm 2010-07-15 11:55:25 -05:00
Doug Bell
1caef590cc fix navigation edit form 2010-07-15 11:55:25 -05:00
Doug Bell
e891410075 tests and such 2010-07-15 11:55:24 -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
708b47d73c Merge remote branch 'upstream/WebGUI8' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/VersionTag.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	t/AdSpace.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Story.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/InOutBoard.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/Group.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Url.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -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
69b7fe0465 fix jsontable and use it for Calendar feeds 2010-07-13 13:12:47 -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
Colin Kuskie
e66be2a5b3 Add a minimum height to the Carousel due to further rendering problems. Fixes bug #11457. 2010-07-12 14:49:53 -07: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
Colin Kuskie
90f0a9b006 Fix date field type detection during import. Fixes bug #11692. 2010-07-05 09:02:48 -07:00
Colin Kuskie
e0177dc666 Remove Session::Env, migrate code to Plack::Request object in Session, and WebGUI::Session::Request 2010-07-01 17:40:12 -07:00
Colin Kuskie
005b9da1ac Move session->env->getIp into session->request->address 2010-07-01 13:11:01 -07:00
Doug Bell
bbc756c852 fix jsontable and use it for Calendar feeds 2010-07-01 13:11:37 -05:00
Colin Kuskie
565cf955d7 Merge commit '469c2b72b4' into WebGUI8. All tests passing. 2010-07-01 10:13:22 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07: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
bb2587b1ea Add a new template variable to the Thingy search screen, so that List type form fields can display a better form for searching. Fixes bug #11612. 2010-06-29 15:14:12 -07:00