Commit graph

14991 commits

Author SHA1 Message Date
Scott Walters
773fadcffc Pass empty JSON for icalFeeds field in Calendar until I can get good sample data; makes Calendar Test::Asset tests pass. 2010-08-11 23:24:28 -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
5d50866461 Add support for additional, required per-package constructor args.
Give better diagnostics on which properties don't appear in forms and vice versa so I can hopefully figure out the rhyme and reason to those that don't match.
When an edit form takes attachmentsJson, stick some in there so it doesn't get upset and to give it a workout.
2010-08-11 19:36:48 -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
48f239a178 Requires extra arguments to Asset constructor; list them in the package so Test::Asset can query and use them. 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
7eda8f7d46 Numerous corrections to tests.
Currently, "Looks like you failed 62 tests of 3882".
Many transient, non-deterministic failures lurk and specific asset types need special cases added in test subclasses.
2010-08-10 11:24:39 -04: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
455f850ac0 history now works. JS needs locale month names 2010-08-06 18:41:08 -05: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
Doug Bell
f1fed19e24 remove AdminBar macro from all templates 2010-08-06 17:00:11 -05:00
Doug Bell
4eee60512d add i18n macro alias 2010-08-06 17:00:11 -05:00
Doug Bell
10d6bd71cf remove irrelevant admin console items from config 2010-08-06 17:00:11 -05:00
Doug Bell
754fc0abe7 update current version tag after loaded 2010-08-06 17:00:10 -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
2d6a822a00 fix clipboard items display 2010-08-04 17:56:16 -05:00
Doug Bell
4210b64369 ExportHtml AssetHelper works 2010-08-04 17:56:15 -05:00
Doug Bell
1e4815eedc get rid of space that breaks the info message 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
05a551d960 give a more helpful error when processing helpers 2010-08-04 12:52:09 -05:00
Doug Bell
04334685aa add helpful message to copy 2010-08-04 12:51:43 -05:00
Doug Bell
105b368b1e refactor helper processing to use in progressbar 2010-08-04 12:30:25 -05:00