Colin Kuskie
07b4258cb9
Shunt upgrade code from 7.8.24 to 7.9.11
2010-08-10 15:16:48 -07:00
Doug Bell
abd2e09a6d
fix 11772 Metadata in post doesn't set default
2010-08-10 14:28:02 -05:00
Doug Bell
625da8bb41
fix 11432 DataTable date input
2010-08-10 14:05:35 -05:00
Doug Bell
731ae3801a
add webgui to strftime conversion sub
2010-08-10 13:51:20 -05:00
Doug Bell
a751c3a48d
fix edit screen name for collab subclasses
2010-08-10 12:42:53 -05:00
Doug Bell
0ed496a875
fix 11771 Default newsletter template not set
...
Pro tip: Never do what I just did. Ever. 8 removes the need for it.
2010-08-10 12:42:53 -05:00
Colin Kuskie
711f8d6bfa
Update Keyword test for new default content.
2010-08-10 10:40:26 -07:00
Colin Kuskie
3e95468254
Update this test for the new default content. Fix a duplicated test description.
2010-08-10 10:37:06 -07:00
Colin Kuskie
6130165282
Move StoryTopic upgrade sub for storySortOrder into the present release, instead of the previous one.
2010-08-10 10:32:47 -07:00
Colin Kuskie
ea1bb5f714
No more dash escaping for the Matrix.
2010-08-10 10:27:46 -07:00
Colin Kuskie
a59baedd51
Dispatch code for RSS, Atom and RDF feeds.
2010-08-10 10:27:45 -07:00
Colin Kuskie
98d3ecc16f
Set the session asset, added tests.
2010-08-10 10:27:45 -07:00
Colin Kuskie
3e60133e10
Call the right subroutine.
2010-08-10 10:27:45 -07:00
Colin Kuskie
18bdd2f809
Rework the handler sub to use dispatch. Remove dead code.
2010-08-10 10:27:45 -07:00
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
08f453475e
Add extra tests for denied www methods, checking asset state, add comments to test, and cleanup code.
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
ead0c0d0e9
Fix test setup and lib dirs.
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
32a75ebe38
Use correct path to get to WebGUI::Test
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
9d6463f1e7
make sure something is returned
2010-08-10 10:27:44 -07:00
Doug Bell
2ccbdf4e19
fix %INC jiggery-pokery
2010-08-10 10:27:44 -07:00
Doug Bell
00b41fb2a0
add tests for declined behavior
2010-08-10 10:27:44 -07:00
Doug Bell
b5e1db8ff9
test default www_view with unhandled fragment
2010-08-10 10:27:44 -07:00
Doug Bell
b77f98ed6a
test ?func= dispatch with unhandled fragment
2010-08-10 10:27:44 -07:00
Doug Bell
7ab4c2d95f
test overridden dispatch should trump default
2010-08-10 10:27:44 -07:00
Doug Bell
2d8c354cb3
add tests for new dispatch system
2010-08-10 10:27:43 -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
Doug Bell
89c1afd10e
fix 11758: formatting on account stuff is wrong
2010-08-10 11:51:55 -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
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
a1b1eaff3c
Add the default email subscription template again, since it seems to be missing from the 7.8 sites that got upgraded.
2010-08-09 10:19:35 -07:00
Colin Kuskie
7a21887110
Fix a bad call to quote_identifer. Fixes bug #11766 .
2010-08-08 16:27:56 -07:00
Doug Bell
455f850ac0
history now works. JS needs locale month names
2010-08-06 18:41:08 -05:00