Colin Kuskie
4e78593395
Change tests to use the automatic backup of Settings in END blocks.
2009-03-30 20:41:02 +00:00
Colin Kuskie
4e2a8bab91
Bump up the version for Clone, since the new version works with
...
perl 5.10.
Have SurveyJSON use it instead of dclone.
2009-03-30 19:47:27 +00:00
Patrick Donelan
07e03c7b15
Fixed Survey to follow convention that a value of 0 for maxResponsesPerUser
...
should imply unlimited. Updated tests and docs to match.
2009-03-27 05:12:57 +00:00
Graham Knop
4b5b4b9cb0
test fix
2009-03-27 02:03:18 +00:00
Kaleb Murphy
569151c4ad
Fixing the fix that shouldnt have been fixed.
2009-03-26 23:32:01 +00:00
Kaleb Murphy
9c60e75cf7
Text has changed
2009-03-26 23:27:14 +00:00
Graham Knop
f25f9aae25
another test fix
2009-03-26 23:23:29 +00:00
Colin Kuskie
5f1f0a8a11
Close the statement handle.
2009-03-25 01:06:44 +00:00
Yung Han Khoe
a57fc80a18
Added rfe #9098 Thingy thing-copy function and added some context to thingy's i18n
2009-03-24 17:08:33 +00:00
Brian Medley
e7a3282af3
RSS Limiter
2009-03-23 09:09:48 +00:00
Colin Kuskie
7b6ea1350f
Code to delete photos and their data.
2009-03-23 05:11:01 +00:00
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
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
f621c1c0eb
Make the Shelf set and update the menuTitle, too.
2009-03-17 03:16:52 +00:00
Patrick Donelan
b1b033afa5
Added Survey Workflow onSurveyEndWorkflowId
...
Fixed username bug
2009-03-15 06:34:37 +00:00
Colin Kuskie
12c5b14ab4
Handle different random sort orders on different machines.
2009-03-12 21:12:21 +00:00
Patrick Donelan
5da0379f99
Updated SurveyJSON tests to recognise goto[Expression] on Section and Question
2009-03-11 15:29:04 +11:00
Patrick Donelan
7ec5cab126
Merge branch 'master' into survey
...
* master: (121 commits)
Fix a POD typo.
correct inbox message from user preface
Fix a typo in the Default gallery view template
Documentation bug in buildArrayRefOfHashRefs
changed screenshots in Matrix Listing view to popup
matrix privileging fixes
Fix an i18n typo in the Post user defined variables.
Remove debugging code.
approval workflow fix
matrix upgrade and privileging fixes
fixed: Template parser cannot be set
forward porting gallery bug fixes
preparing for 7.7.0 dev
parser should be a selectbox, not a selectlist.
labeling survey as beta
fixeding my borkes to the changelog
fixed #9852 : Users can accept private messages from Visitor, but Visitor cannot send messages
preparing for 7.6.14 release
fix AdSpace, Ad tests
Restore the original properties for the profile category that was modified for test.
...
Conflicts:
docs/gotcha.txt
docs/upgrades/upgrade_7.6.10-7.6.11.pl
lib/WebGUI/Asset/Wobject/Survey.pm
lib/WebGUI/Asset/Wobject/Survey/SurveyJSON.pm
2009-03-11 15:26:07 +11: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
925a218224
keyword tag cloud for StoryArchive, with tests
2009-03-06 17:17:21 +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
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
Graham Knop
d7649d3212
survey test fix
2009-03-03 17:07:53 +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
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
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
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
2079266627
fix matrix test function
2009-02-17 20:53:09 +00:00
Patrick Donelan
50091e8e3a
Started working on Survey Multiple Choice bundle management.
2009-02-16 00:13:58 +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
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
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
Patrick Donelan
d882181fd1
Started refactoring the Survey.pm Wobject class
...
Refactored www_jumpTo and added tests
Added Params::Validate
Improved docs
Made call to SurveyJSON->createSurveyOrder() unnecessary
Turned ResponseJSON->nextResponse a mutator
2009-02-11 09:25:42 +00:00
Graham Knop
bf9bd2f0d2
use proper JSON encoding/decoding
2009-02-10 21:41:36 +00:00
Patrick Donelan
306502465c
Started refactoring nextQuestions in ResponseJSON
...
Made perlcritic happier
Extracted getQuestionResponses from processGotoExpression
Eliminated getPreviousAnswer
2009-02-06 01:56:54 +00:00
Patrick Donelan
345989370f
Renamed ResponseJSON branching methods
2009-02-06 01:56:18 +00:00
Patrick Donelan
932a033b58
More ResponseJSON refactoring
...
Removed unnecessary $session argument from recordResponses
Refactored nextQuestions to return a list rather than an arrayref
Lots more documentation for ResponseJSON
More param validation for ResponseJSON
Refactored recordResponses
Updated tests
2009-02-06 01:55:56 +00:00
Patrick Donelan
90d314d2f1
Refactored next/last response/section related accessors and mutators
...
(and tests).
Added more documentation.
2009-02-06 01:55:33 +00:00
Patrick Donelan
669e986189
Replaced ResponseJSON's implementation of shuffle with List::Util's
...
shuffle and updated Colin's ninja shuffle tests
2009-02-04 02:05:44 +00:00