Commit graph

856 commits

Author SHA1 Message Date
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
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
ead0c0d0e9 Fix test setup and lib dirs. 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
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
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
Scott Walters
ca5ca46557 Don't call methods on the first story item when there are no story items.
Fixes #11747.
2010-07-28 08:34:39 -04:00
Scott Walters
e033192328 StoryTopic 'Alphabetically' sort order 2010-07-28 08:33:52 -04: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
ef319ea2a2 fix cleanup 2010-07-13 13:12:47 -05:00
Doug Bell
ab7e98d08c test changes to updating serialize asset props 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
Colin Kuskie
655efc49e2 Add tests for double encoding of UTF8 content in Posts and email notificaitons. 2010-07-06 10:23:08 -07:00
Colin Kuskie
bf7c7aad55 Make the view test more robust. It has been failing randomly. 2010-07-04 09:40:19 -07:00
Colin Kuskie
b7ba9f2118 Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678 2010-06-23 14:12:42 -07:00
Colin Kuskie
05610f7621 Correctly handle the case of finding new lastPost information when a Post is trashed. Fixes bug #11646. 2010-06-21 16:02:29 -07:00
Colin Kuskie
54c56019d1 Update lastPost information in the Thread and CS when a Post is archived. Made a separate method so it can be used by other actions, and in the upgrade script. Fixes bug #11628. 2010-06-21 14:38:46 -07:00
Colin Kuskie
0b2d78ed71 More END block cleanups, 7 to go. 2010-06-15 16:49:34 -07:00
Colin Kuskie
fecc2bec54 Yet more END block cleanups. 2010-06-15 16:40:06 -07:00
Colin Kuskie
1ea2f3ea76 Add tracking to the InOutBoard test to try and find out why it fails intermittently. 2010-06-15 15:13:50 -07:00
Colin Kuskie
71d4880635 Another batch of test cleaning. 2010-06-14 19:47:30 -07:00
Colin Kuskie
e878258543 END block cleanup. 2010-06-14 19:39:11 -07:00
Colin Kuskie
94699417a7 END block cleanup. 2010-06-14 18:24:21 -07:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Graham Knop
9b725c6d42 use temp config file for testing 2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
kimd
fa04d01518 o Allow return from photo edit view to gallery edit view (RFE 11571)
o Reject form submissions without image selected for upload in edit view of Photo asset
2010-06-09 15:28:42 -05:00
Colin Kuskie
83e945142e More END block cleanups. 2010-06-08 19:27:39 -07:00
Colin Kuskie
2c08b4e712 Fix a bug in getLineageSql, where it would return the empty string. This could cause downstream problems. Fixes bug #11616 2010-06-08 09:22:28 -07:00
Colin Kuskie
1770e3945c END block cleanups. 2010-06-08 08:39:43 -07:00
Colin Kuskie
c9dc084ed6 Stories have to pass along absolute links in their RSS feeds. Fixes bug #11606 2010-06-07 11:44:30 -07:00
Colin Kuskie
8d85912da7 Commit the initial Survey for the test. 2010-06-05 21:24:17 -07:00
Colin Kuskie
951864f6d3 Add more tests for Calendar edge cases, and remove 1 day from the all day event window in getEventsIn. Fixes bug #11596. 2010-06-02 14:53:38 -07:00
Doug Bell
247c607393 fixes for weaken and iterator 2010-06-01 19:37:53 -05:00
kimd
387942e68d Added search by location to the Gallery (RFE 11504) 2010-06-01 16:23:48 -05:00
Paul Driver
c5bddbd95c testing clearPackageFlag 2010-06-01 12:24:52 -07:00
Colin Kuskie
5b3103ebf8 Save a second in the Template test. 2010-05-25 21:03:00 -07:00
Colin Kuskie
ab0204dfd9 Remove HTML from SC sentences and words template variables, and any initial whitespace. Fixes bug #11589. 2010-05-25 12:41:22 -07:00
Colin Kuskie
7a1487be55 Added GUID and pubDate entries to Stories. Updated tests. Fixes bug #11580 2010-05-25 11:42:38 -07:00