Commit graph

1275 commits

Author SHA1 Message Date
Colin Kuskie
e06d53c122 Add top story subtitle to match the spec. 2009-03-19 17:32:48 +00:00
Colin Kuskie
db839e2dc4 Add a template variable to tell if the Topic is viewed standalone by URL, or not. 2009-03-19 16:55:14 +00:00
Colin Kuskie
ea31d52ac0 Add template field to StoryTopic. The same template will be shared between both modes.
Add top story variables, and tests.
2009-03-19 16:43:21 +00:00
Colin Kuskie
49b01b76ec i18 label for StoryTopic help.
View methods for StoryTopic, with tests for template variables and amount of data returned.
2009-03-19 04:07:59 +00:00
Colin Kuskie
abaccb18e0 Refactor out used SQL statements into a statement handle. 2009-03-19 04:06:41 +00:00
Colin Kuskie
4cb5b5d83c Add an easy way to access a famous date. 2009-03-19 04:06:14 +00:00
Colin Kuskie
dd771bd409 Check for addStoryUrl with the right permissions.
Move all stories into the past, in preparation for filtering out future Stories based
on canEdit.
2009-03-18 18:27:04 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Colin Kuskie
40e068e0fb Search interface, in addition to the default view and the keywords view. 2009-03-09 23:23:34 +00:00
Colin Kuskie
9487b7d4ac Complete rework of Story autocommit.
Tests for status of Stories that have been autocommitted.
Keyword search interface with UI and tests.
2009-03-09 20:59:28 +00:00
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