Commit graph

10185 commits

Author SHA1 Message Date
Scott Walters
f1fe99a95a Use super() instead of SUPER. 2010-08-12 07:55:53 -04:00
Scott Walters
8f616a9fe1 addField takes the key/value pairs unrolled, not as a hash ref. 2010-08-11 22:04:46 -04:00
Scott Walters
7d41ade046 WebGUI::Asset::File::Image::getEditForm counts on having the templateId tab be under the 'display' tab so lock it down to there. 2010-08-11 21:41:59 -04:00
Scott Walters
c74572bac1 Fix typo in '_doAfterTimeLimit_options' call from property definition. 2010-08-11 19:29:18 -04:00
Scott Walters
c65eb74197 Use the new getProperties() API rather than the definition datastructure. 2010-08-11 19:29:17 -04:00
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
0f9500b2cc fix my tyops 2010-08-06 18:05:03 -05:00
Doug Bell
fd524c9e2a add revisions to asset data in admin console 2010-08-06 17:50:57 -05:00
Doug Bell
a13fee07a0 add getRevisionDates method 2010-08-06 17:50:28 -05:00
Doug Bell
6d6e5768ef fix typo preventing Article from add/edit 2010-08-06 17:02:09 -05:00
Doug Bell
7dc57ce29d allow both className (new) and class (backcompat) 2010-08-06 17:00:12 -05:00
Doug Bell
fc6c84e737 fix class/className problems in www_editSave 2010-08-06 17:00:12 -05:00
Doug Bell
9949666926 temporary fix to the getToolbar problem
Later we should make getToolbar add the toolbar in a hidden
state. The Admin Console JS can unhide it.
2010-08-06 17:00:12 -05:00
Doug Bell
8c631fbc86 only show asset helpers when editing, not adding 2010-08-06 17:00:12 -05:00
Doug Bell
a99b15a38d remove getAdminConsole preventing editing Collab 2010-08-06 17:00:12 -05:00
Doug Bell
5e64d6f5fb fix problem with options preventing asset editing 2010-08-06 17:00:11 -05:00
Colin Kuskie
ad9d5604e0 Remove duplicate default in CartItem options. 2010-08-06 12:21:03 -07:00
Colin Kuskie
be42b7118c Migrate CartItem from Class::InsideOut to Moose. 2010-08-05 16:24:10 -07:00
Colin Kuskie
679c4678d2 Fix a double $i18n syntax warning. 2010-08-05 15:15:58 -07: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
6df47033dd Fix typo in property initialization to satisfy Test::Class test for t_11_getEditForm. 2010-08-04 18:55:43 -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
1b0ec95abb New Content pane is working 2010-08-04 17:56:16 -05:00
Doug Bell
90d974d911 version tags admin pane is working 2010-08-04 17:56:16 -05:00
Doug Bell
4210b64369 ExportHtml AssetHelper works 2010-08-04 17:56:15 -05:00
Doug Bell
6a1ec0468e EditBranch asset helper now works 2010-08-04 17:56:15 -05:00
Scott Walters
13c27bc38b Fix bad interaction with Test::Class:
"Operation "eq": no method found, left argument in overloaded package WebGUI::Error..."
2010-08-04 11:07:07 -04:00
Doug Bell
b8905ed780 cut AssetHelper now works 2010-08-04 12:53:54 -05:00
Doug Bell
e7bfd6db48 allow asset helper-type responses
This should probably be refactored into a WebGUI::ProgressBar::Admin
subclass to get rid of all these if statements
2010-08-04 12:52:41 -05:00
Doug Bell
04334685aa add helpful message to copy 2010-08-04 12:51:43 -05:00
Doug Bell
7b3855c991 Remove old asset helpers replaced by CopyBranch 2010-08-04 12:13:16 -05:00
Doug Bell
f94ea5a606 add CopyBranch to handle copy children/descendants 2010-08-04 12:12:45 -05:00
Doug Bell
8bd28e101f update Copy to work with ProgressBar and streaming
ProgressBar needs to handle streaming itself. When it does, all
AssetHelpers that use ProgressBar will need to remove their own
streaming handlers and just use ProgressBar's
2010-08-04 12:07:55 -05:00
Doug Bell
cbb8c0ed61 add docs and total() accessor 2010-08-04 12:07:26 -05:00
Doug Bell
6081ea3765 fix progressbar to work inside new admin console
This is a horrible hack and needs to be fixed to shore up the
ProgressBar's API before API freeze
2010-08-04 11:56:01 -05:00
Doug Bell
2a33785d11 fix streaming. don't close the session until done 2010-08-03 17:02:39 -05:00
JT Smith
c8adf70760 missing admin in conf, fixed color on starter 2010-08-03 13:48:35 -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
Doug Bell
556b9e97b9 make the info message box pretty 2010-08-02 15:56:28 -05:00
Doug Bell
399326981e add info message box 2010-08-02 14:41:54 -05:00
Doug Bell
3d6df0fa77 copy opens progress dialog 2010-08-02 11:11:03 -05:00