Commit graph

2533 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
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
c12e1b3758 Search form for StoryArchive view form. 2009-03-07 04:16:29 +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
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
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
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
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
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
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Yung Han Khoe
90247ac13c matrix performance improvements 2009-02-17 01:34:34 +00:00
Yung Han Khoe
6286f2e31d fixing Matrix sort by updated 2009-02-16 17:06:06 +00:00
Yung Han Khoe
60f44083bb improving MatrixListing performance 2009-02-16 16:56:39 +00:00
Yung Han Khoe
d1680cf867 matrix search fixes and performance improvements 2009-02-15 16:08:48 +00:00
Colin Kuskie
9fd2d511a0 Make sure that the gallery obeys the displayTitle flag. Many gallery
templates were altered to support this.
2009-02-13 23:47:30 +00:00
Colin Kuskie
991ac55a01 Thread sticky and locked handling. Form vars are now exposed
in all post forms.  Editing a thread does not clear the isSticky and isLocked
flags.
2009-02-11 23:20:20 +00:00
Graham Knop
bf9bd2f0d2 use proper JSON encoding/decoding 2009-02-10 21:41:36 +00:00
Graham Knop
7023683b48 fix for matrix test 2009-02-10 21:41:27 +00:00
Yung Han Khoe
66e4b23e7f improving matrix performance 2009-02-10 02:17:42 +00:00