Commit graph

10667 commits

Author SHA1 Message Date
Colin Kuskie
9d03cd52ca Always dangle a comma. 2009-03-18 17:40:52 +00:00
Colin Kuskie
20db7e1dda Remove debug. 2009-03-18 17:25:35 +00:00
Colin Kuskie
1349667103 Fix broken Help. 2009-03-18 16:57:59 +00:00
Colin Kuskie
988e74e6a9 Fix missing, and broken Help. 2009-03-18 16:57:03 +00:00
Colin Kuskie
a8dbe3bed7 Parenthesize the call to get to make it stand out. 2009-03-18 16:56:28 +00:00
Colin Kuskie
8914b0e14e Add a duplicate story template to be used for the Topic. 2009-03-18 00:19:53 +00:00
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
f37e98b982 Fixes to edit story, view story templates. There is no summary field, it's
subtitle.
2009-03-05 22:48:25 +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
8f933d96f5 Fix namespace in Story template 2009-03-05 21:59:36 +00:00
Colin Kuskie
fccab4a2c0 Template/folder clean-up 2009-03-05 21:50:54 +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
d134336ffc Fix a broken label. 2009-03-05 01:01:03 +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
df4d6efb10 Tests for StoryArchive view variables. 2009-03-04 00:01:37 +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
b1add0ebdf Add column for approval workflow. 2009-03-02 16:44:07 +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
5009c96c32 Modify default config file.
Upgrade script adds Story Manager assets to site config files.
2009-02-27 22:25:47 +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