Commit graph

2565 commits

Author SHA1 Message Date
Colin Kuskie
c12e1b3758 Search form for StoryArchive view form. 2009-03-07 04:16:29 +00:00
Colin Kuskie
925a218224 keyword tag cloud for StoryArchive, with tests 2009-03-06 17:17:21 +00:00
Yung Han Khoe
03dce77e90 matrix upgrade and privileging fixes 2009-03-06 05:04:24 +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
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
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
JT Smith
1cfa9372b5 forward porting gallery bug fixes 2009-03-04 21:57:31 +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
bd59ac6006 Test adding children, along with automatically adding folders. 2009-03-03 00:36:12 +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
Yung Han Khoe
b7037dc7f9 matrix bugfixes 2009-02-28 01:49:03 +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
Yung Han Khoe
c4376366f3 fixing matrix compare results 2009-02-27 21:53:24 +00:00
Colin Kuskie
802a275bb0 Skeletal code for Story Archive. 2009-02-27 21:35:33 +00:00
Kaleb Murphy
31341e5701 removing surveybundle 2009-02-27 18:40:05 +00:00
Kaleb Murphy
91b49f96b0 removing trace 2009-02-27 18:39:38 +00:00
Yung Han Khoe
45a724f761 fixing combo/select boxes on Matrix search and edit listing screens 2009-02-27 14:17:09 +00:00
Colin Kuskie
f8b11b5423 merging back with HEAD 2009-02-27 06:06:05 +00:00
Colin Kuskie
b934a59998 Fix Survey hoverhelp and i18n. 2009-02-26 20:48:22 +00:00
Colin Kuskie
67f3f98731 Fix a Survey typo in the name of a political party. 2009-02-26 18:05:22 +00:00
Colin Kuskie
a8979545ef Fix another DataForm deletion bug, deleting when there's no storage object. 2009-02-26 16:09:51 +00:00
Kaleb Murphy
f275024f67 Survey.pm now has surveyJSON as a normal definition property, which is also versioned. Survey Responses are not versioned, so updating a survey can cause errors with ongoing responses. 2009-02-25 18:53:14 +00:00
Colin Kuskie
ae1d89de3b i18n the Survey Asset definition, and add hoverhelp. 2009-02-25 04:47:47 +00:00
Colin Kuskie
9f10c3c693 Move template variable generation back into prepareView in the GalleryAlbum, so
that scripts are properly put into the HEAD block of a page.
2009-02-22 03:36:09 +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
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
Patrick Donelan
16c122a550 Fixed regression in ResponseJSON's sectionId, questionId and answerId
methods
2009-02-16 01:21:47 +00:00
Patrick Donelan
50091e8e3a Started working on Survey Multiple Choice bundle management. 2009-02-16 00:13:58 +00:00
Patrick Donelan
bc9c66c2fd Fixed template var regression in Survey.pm 2009-02-16 00:13:36 +00:00
Patrick Donelan
7958aefe64 Survey documentation improvements 2009-02-16 00:13:19 +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
Kaleb Murphy
a350398f41 Logic is corrected, but the JS should probably be rewritten to be more like the WG PageLayout drag and drop so that it isn't so finicky. 2009-02-13 18:28:52 +00:00
Patrick Donelan
34340e56fb Added Survey::surveyJSON_* convenience methods that auto-persist to the db 2009-02-12 01:07:22 +00:00
Patrick Donelan
d9316f47c4 Made perlcritic a little less grumpy about Survey.pm 2009-02-11 09:28:16 +00:00
Patrick Donelan
5a2f514a5a Added Delete Responses back into Survey template (with i18n) 2009-02-11 09:27:54 +00:00
Patrick Donelan
7128a3d07c More Survey.pm refactoring
Turned getResponseId into a lazy-loading responseId mutator
Added responseIdCookies flag as a workaround for WebGUI::Test::getPage's
lack of cookie support
2009-02-11 09:27:31 +00:00
Patrick Donelan
16c87b9cba Made Survey's responseJSON property lazy-load so that you don't have to
call loadResponseJSON and/or loadBothJSON everywhere
2009-02-11 09:27:10 +00:00
Patrick Donelan
e139136d08 Made Survey->surveyJSON lazy-load so that you don't have to call
loadSurveyJSON() everywhere.
2009-02-11 09:26:50 +00:00
Patrick Donelan
8d7599d781 Moved Survey.pm's "survey" and "response" properties to private hash
vars and added accessors.

So that you don't end up with mind-bending code that looks like:
$survey->survey->{survey}
2009-02-11 09:26:27 +00:00