Commit graph

7402 commits

Author SHA1 Message Date
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Colin Kuskie
c7a66861a6 The URL for the story was changing when the story was edited. The initial
URL was based on the current asset, which is the Archive instead of the Folder.
(Archive hands off to Folder in addChild).
On following edits, no URL was passed, so one was built from the parent, which
is the Folder.
Fix this by passing in the existing URL as an hidden form param.
2009-03-10 00:31:19 +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
087b7afb08 Fix searching by keyword via the form. 2009-03-09 21:28:43 +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
6dc31e64ae Add a new option for getMatchingAssets to set the number of rows
per page.
Add another sort clause to make testing easier.
2009-03-09 18:40:21 +00:00
Colin Kuskie
c12e1b3758 Search form for StoryArchive view form. 2009-03-07 04:16:29 +00:00
Colin Kuskie
9368a5dbcf POD fix about the default sort order of returned assets. 2009-03-07 04:13:58 +00:00
Colin Kuskie
ae4c57a7f0 Add the new timeUpdated variable to the template, along with i18n phrase support. 2009-03-07 00:52:48 +00:00
Colin Kuskie
b5889146d3 More Story template variable help 2009-03-07 00:45:08 +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
882b8a5c89 Viewing stories is now possible. 2009-03-05 22:47:43 +00:00
Colin Kuskie
06790fa72b Fix label typos in storiesPerPage.
Add Story templateId.
2009-03-05 22:00:17 +00:00
Colin Kuskie
a48c6e02f3 Document the missing keywords template variable that is now added to all assets. 2009-03-05 21:04:17 +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
338433e78d Help and i18n for the edit story template. 2009-03-05 17:59:42 +00:00
Colin Kuskie
e0f46517bb Add a cancel button to the edit story form. 2009-03-05 17:59:22 +00:00
Colin Kuskie
40d17b7be9 Add stories to a story archive.
i18n support for that.
log problems when calling www_add in the story archive.
2009-03-05 17:22:41 +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
2cd648d717 override www_add so that it makes or access a folder to hold stories. 2009-03-05 01:00:41 +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
874fad9917 Make edit story form values sticky, for preview. 2009-03-04 23:25:18 +00:00
Colin Kuskie
f7ebd6189a Beginnings of an edit form for the Story. 2009-03-04 18:11:57 +00:00
Colin Kuskie
64ff0ad4d4 Template help and i18n for the view template. 2009-03-04 00:27:26 +00:00
Colin Kuskie
2f0b2638cf Handle the case when purging a story, and there's no storage location. 2009-03-03 23:50:45 +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
b20f4b4a08 Story Topic skeleton code. 2009-02-27 22:14:30 +00:00
Colin Kuskie
8397b96ef8 Pick up some missing dependencies. 2009-02-27 22:14:05 +00:00
Colin Kuskie
802a275bb0 Skeletal code for Story Archive. 2009-02-27 21:35:33 +00:00
Colin Kuskie
1fc14a0cd3 Add a missing i18n tag for assetName. 2009-02-27 21:03:28 +00:00
Colin Kuskie
daf6c7bd92 Clean up autoGenerateForms in definition. 2009-02-27 20:56:26 +00:00
Colin Kuskie
4085c246b1 Skeletal code for Story Asset. i18n as well. 2009-02-27 20:52:26 +00:00
Colin Kuskie
f8b11b5423 merging back with HEAD 2009-02-27 06:06:05 +00:00
Colin Kuskie
1a4211dcb5 Really fix Thingy pagination this time. I promise. For sure.
No kidding.
2009-02-21 00:37:57 +00:00
Graham Knop
9686a74244 International text retrieval has been optimized 2009-02-20 23:50:20 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
179e75ef8f Fixes of defaultValue from undef to '', 0 for mysql 5.1 2009-02-20 17:28:23 +00:00
Colin Kuskie
44ac8a42b9 Add a missing template variable, which prevented users from deleting
a DataForm entry when viewing that entry.
2009-02-19 06:10:52 +00:00
Colin Kuskie
021215c9bd Fix a hash lookup into a C::IO object in the DataForm, which isn't a hash. 2009-02-18 23:58:05 +00:00
Wes Morgan
f88093a82b added more MIME encoding of mail headers in case wide chars sneak in there 2009-02-18 21:40:47 +00:00
Graham Knop
5800a9ef0a fix compile time warning 2009-02-18 03:20:51 +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
Colin Kuskie
e0ce8caf5a ProfileCategory->set really wants ALL the options. Document that in POD. 2009-02-18 02:42:27 +00:00