Commit graph

1265 commits

Author SHA1 Message Date
Colin Kuskie
4b1ec30748 Formatted duration template variable and method, with tests.
Start writing Story help.
2009-03-07 00:01:41 +00:00
Colin Kuskie
925a218224 keyword tag cloud for StoryArchive, with tests 2009-03-06 17:17:21 +00:00
Colin Kuskie
5bb4cbf299 change names of loops to be _loop vs Loop.
Added keyword loop variable.
Change subtitle to a textarea.
Add tests for Story template variables.
2009-03-05 23:43:50 +00:00
Colin Kuskie
17b124c39f Change how the view template variables work. It no longer appends, viewTemplateVars
makes them all.
2009-03-05 20:43:57 +00:00
Colin Kuskie
04105713f0 merge back with HEAD for 7.7.0 2009-03-05 16:19:12 +00:00
Colin Kuskie
426bc41b04 Add a getArchive method to the Story. Test it.
Make www_edit work.
2009-03-05 01:01:45 +00:00
Colin Kuskie
cff0a9ae9d Templates for archive, and edit story.
Added switches and URLs for adding stories.
Fixed date problems in the date_loop.
Fixed an autocommit issue with folders when there's no currently open version tag.
2009-03-05 00:15:20 +00:00
Colin Kuskie
df4d6efb10 Tests for StoryArchive view variables. 2009-03-04 00:01:37 +00:00
Colin Kuskie
e5c56dcf70 Add JSON handling, and move code form addRevision to update. 2009-03-03 00:36:38 +00:00
Colin Kuskie
bd59ac6006 Test adding children, along with automatically adding folders. 2009-03-03 00:36:12 +00:00
Colin Kuskie
02dc71055b Story code. Added validParent, storage location code. 2009-03-02 20:20:43 +00:00
Colin Kuskie
716ef998a7 Add methods for creating and getting date specific folders below the Archive for
holding stories.  With tests.
Code for the approval workflow for stories.
2009-03-02 16:49:26 +00:00
Colin Kuskie
2ce2155321 test canPostStories method 2009-02-28 00:56:38 +00:00
Colin Kuskie
2345c6a2d1 Test Skeletons for Story Archive and Topic Wobjects. 2009-02-27 23:48:28 +00:00
Colin Kuskie
444ff307e0 And another one. 2009-02-27 19:23:18 +00:00
Colin Kuskie
46a3620daf missed a revision in the last merge 2009-02-27 19:22:58 +00:00
Colin Kuskie
f8b11b5423 merging back with HEAD 2009-02-27 06:06:05 +00:00
Colin Kuskie
f509317d55 Complete the Asset/Wobject/Matrix.t fix by using the newly calculated assetId in the test. 2009-02-21 02:24:34 +00:00
Colin Kuskie
f0b025e855 Update International test for new International module. 2009-02-21 02:16:15 +00:00
Colin Kuskie
cdcdd2951f Clean up after the newly modified DeleteExpiredSession test. 2009-02-21 02:06:22 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
8b06f912ca Rewrite the DeleteExpiredSessions test to not take cheap shortcuts
that are not very reliable.
2009-02-20 22:31:03 +00:00
Colin Kuskie
4ee2e59f1d Add a test to make sure that update does not erase values that it is not given. 2009-02-19 18:09:32 +00:00
Colin Kuskie
d4fb48f77d Fix a bad test that will fail when we upgrade to mysql 5.1 2009-02-19 16:35:46 +00:00
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Colin Kuskie
c90fa56507 Make WebGUI::PseudoRequest work with fatals. Cookies are now mocked and
tied off inside that package.  ErrorHandler uses the session request object,
instead of RequestUtil.
2009-02-18 02:46:59 +00:00
Graham Knop
2079266627 fix matrix test function 2009-02-17 20:53:09 +00:00
Colin Kuskie
96c15c56b2 Optimize canShowDebug for speed by caching the calculated check. 2009-02-16 21:03:31 +00:00
Graham Knop
1edc66367e Spectre tests shouldn't need WRE to run 2009-02-10 22:54:54 +00:00
Graham Knop
a8dab0ac03 fix exif test 2009-02-10 21:41:48 +00:00
Graham Knop
bf9bd2f0d2 use proper JSON encoding/decoding 2009-02-10 21:41:36 +00:00
Colin Kuskie
5d8ede926c use PseudoRequest to stop some test warnings 2009-02-10 20:24:34 +00:00
Colin Kuskie
2482c0f89f Remove tests from FetchMimeType that just were setup to help Fedora pass. 2009-02-10 17:26:29 +00:00
Colin Kuskie
3e326cf25d Update the templateChecker test to look at extra head tags instead of the defunct
headBlock.  Add URL to the output to make working with wgd easy.
2009-02-03 22:24:02 +00:00
Colin Kuskie
ca208699a4 Make test pass when there are no failures. Yes, it does seem strange. 2009-02-03 22:00:00 +00:00
Colin Kuskie
a17e4288ba Remove tests for file content that do not work because files stream.
Update error message in test to match how the code works.
2009-02-03 20:27:36 +00:00
Colin Kuskie
151ebbde09 Also leaking a version tag. 2009-02-03 04:23:22 +00:00
Colin Kuskie
4ac37757ca Fix a leaking test. 2009-02-03 04:09:01 +00:00
Colin Kuskie
826089f075 Add a test to check for hardcoded extras in templates, and
in the extra head tags of all assets.
2009-01-30 16:49:00 +00:00
Colin Kuskie
ee9369392d Fix a test I broke with the i18n refactor for the GalleryFile 2009-01-29 23:46:39 +00:00
Colin Kuskie
83ca676be5 We want to add tests, not logically or them... 2009-01-29 06:00:50 +00:00
Graham Knop
2bc81f7757 fixing tests for Form changes 2009-01-28 16:39:38 +00:00
Colin Kuskie
7f2bc2458c Handle the case where someone is doing double quoted variable interpolation
in the label part of an i18n fetch.
2009-01-27 20:33:55 +00:00
Colin Kuskie
0302e7b96e WebGUI Perl::Critic policy. Handle the case when the namespace is
variable instead of a literal.
2009-01-27 20:19:39 +00:00
Colin Kuskie
6b7886c856 Add module version detecting to this test to handle WRE and non-WRE
installations of WebGUI.
2009-01-27 03:07:13 +00:00
Colin Kuskie
f47cb2ffdd Detect when Devel::Symdump pukes and skip modules that fail falsely.
Give better diagnostics so that true coverage can be monitored.
2009-01-27 02:22:08 +00:00
David Delikat
d24079f2ca added splitTag test cases 2009-01-26 03:56:02 +00:00
Colin Kuskie
1b6dd7be63 Forward port the PayDriver bug fixes from 7.5 branch. Labels are always
taken consistently from the JSON blob, and not a mixture of the two.
2009-01-15 00:34:34 +00:00
Colin Kuskie
e3c77d4e80 Add a test for evaluating templates and macros in the right order
in the Snippet.  Fix a bug with that.
2009-01-12 22:23:41 +00:00
Graham Knop
b5104d9581 fixing photo comment test 2009-01-09 10:33:20 +00:00