Commit graph

10601 commits

Author SHA1 Message Date
Colin Kuskie
76c86aec74 PassiveAnalytics logging. addMissing. 2010-08-10 10:27:45 -07:00
Colin Kuskie
fff5bcfcd8 Better handling of fragment null string. Return chunked for errors in www_view. 2010-08-10 10:27:45 -07:00
Colin Kuskie
8a448e8f96 Tests for methods that die. Strange tom-foolery to get $@ into the logged message... 2010-08-10 10:27:45 -07:00
Colin Kuskie
3a9a3dd8e9 Add retry in case of problems in dispatch. Add tests for logging errors for bad templates. 2010-08-10 10:27:45 -07:00
Colin Kuskie
25fb019a18 Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors. 2010-08-10 10:27:45 -07:00
Colin Kuskie
1e00e6a93f Complete refactor, to handle defaulting to www_view. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7a1abd7bc0 Alter URL permutations to handle the cases when there is a leading / in the URL. Add the dispatch subroutine. 2010-08-10 10:27:45 -07:00
Colin Kuskie
c987747409 Explicit return of undef in the fall through case. Test for notFound now look for undef. Added POD. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7e96b15141 Check for fragment existance. Clarify a test. 2010-08-10 10:27:44 -07:00
Colin Kuskie
a649816db8 handle query params before URLs 2010-08-10 10:27:44 -07:00
Colin Kuskie
cb4189b7da Initial pass at dispatch 2010-08-10 10:27:44 -07:00
Colin Kuskie
35284c0753 getUrlPermutations, and a stub for Content::Asset::dispatch so the test doesn't die. 2010-08-10 10:27:44 -07:00
Colin Kuskie
092e3502c2 Add stub dispatch sub to Asset.pm 2010-08-10 10:27:44 -07:00
Doug Bell
994f0aa98c fix 11770 Starter needs to set all account plugins
Refactored HomePage wizard to have a method to update
all places where the style template needs to be updated
2010-08-10 12:24:28 -05:00
Colin Kuskie
b8917d4e57 Make sure that keywords are always returned in alphabetical order in the WikiMaster byKeyword view. 2010-08-09 19:27:45 -07:00
Colin Kuskie
b5ef9fc9e7 Add POD for the new sortOrder option to Keyword's getMatchingAssets 2010-08-09 18:57:41 -07:00
Colin Kuskie
9fafa25bf5 Give ZipArchives a default template. Fixes bug #11769. 2010-08-09 15:26:19 -07: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
Colin Kuskie
7a21887110 Fix a bad call to quote_identifer. Fixes bug #11766. 2010-08-08 16:27:56 -07: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
6a09708f9a WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048.
Fixes #11765.
2010-08-04 23:16:02 -04: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