Commit graph

7438 commits

Author SHA1 Message Date
Patrick Donelan
ad0f3b388d SurveyJSON->update() should iterate over supplied object keys, not
existing object keys. Also applied PBP formatting, fat commas, etc..
2008-12-15 10:25:22 +00:00
Patrick Donelan
4fe81a69f6 Implemented Survey Jump-to combo box (#9202)
You will need to manually import survey_rfe_9202 until this branch is
merged back into trunk.
2008-12-15 03:42:39 +00:00
Patrick Donelan
7a42b4b241 Merge branch 'master' into survey
* master: (36 commits)
  Add a mutator for questionsAnswered, with tests.
  Fix i18n file namespace.
  Flesh out the recordResponses POD.  Almost ready for more in depth testing.
  recordResponse tests (just a few)
  goto tests.
  Add POD stubs, fully document goto.
  Fix my stupid typo in the Shelf template with div.
  nextQuestions tests.
  Add section separator comments between the subroutines.
  Remove old discussion related items from the Article templates.
  matrix compare screen bugfix
  matrix bug fixes
  Add more AdminBar tests.
  Add tests for nextSectionid, nextSection, currentSection.
  Tests for createSurveyOrder and shuffle.
  Change ResponseJSON to use a proper mutator for startTime.
  Forward porting site starter css fix for clears and page content positioning.
  forward porting quotes in asset title fixTitle test
  forward port syndicated articles i18n template fix
  Forward port templated ITransact edit credentials screen.
  ...
2008-12-15 00:35:32 +00:00
Colin Kuskie
9890ede43d Forward porting removal of deleteFileUrl from Posts in the CS, re bug 9260. 2008-12-15 02:39:11 +00:00
Colin Kuskie
941240370b Add a mutator for questionsAnswered, with tests.
Correct POD for recordResponses.
Begin recordResponses answer processing tests.
2008-12-15 00:09:03 +00:00
Colin Kuskie
14ebe05e68 Fix i18n file namespace. 2008-12-14 21:56:42 +00:00
Colin Kuskie
ad00b0f082 Flesh out the recordResponses POD. Almost ready for more in depth testing. 2008-12-14 04:56:43 +00:00
Colin Kuskie
aa04599aec recordResponse tests (just a few)
Fix a bug where if a section is terminal, and has no questions, it did not return the terminal flag as true.
A little recordResponse POD.
2008-12-13 03:56:26 +00:00
Colin Kuskie
3c7162fb8f Add POD stubs, fully document goto.
Prevent recordResponses from autovivifying mcHash keys.  From page to page of
questions it does not matter, but if two questions in the same page have an
unrecognized, type, the second will be processed differently from the first.
2008-12-12 23:33:33 +00:00
Colin Kuskie
574d6cf036 nextQuestions tests.
Add POD, and make sure that answers returned by nextQuestions are safe refs.
2008-12-12 19:27:12 +00:00
Colin Kuskie
5fe0a7cbe2 Add section separator comments between the subroutines.
Add a few checks to getNextSection* so that it won't autovivify array elements
past the end of the survey order array.
2008-12-12 17:03:10 +00:00
Yung Han Khoe
ba24497686 matrix compare screen bugfix 2008-12-12 16:36:19 +00:00
Yung Han Khoe
80d7ac6ae1 matrix bug fixes 2008-12-12 12:20:54 +00:00
Colin Kuskie
8fa164200a Add more AdminBar tests.
Fix adminbar macro to handle bad asset classes without dying.
2008-12-12 03:24:09 +00:00
Colin Kuskie
98294e4e78 Add tests for nextSectionid, nextSection, currentSection.
Add more POD to ResponseJSON
2008-12-12 00:36:08 +00:00
Colin Kuskie
c60393e44a Tests for createSurveyOrder and shuffle.
POD for several methods.
2008-12-12 00:03:16 +00:00
Colin Kuskie
1c1f01d473 Change ResponseJSON to use a proper mutator for startTime.
Add tests for startTime.
Survey uses the accessor, and no longer needs to manually set startTime.
2008-12-11 19:45:19 +00:00
Colin Kuskie
5096352780 Forward porting site starter css fix for clears and page content positioning. 2008-12-11 19:21:20 +00:00
Colin Kuskie
b42d3a80de forward port syndicated articles i18n template fix 2008-12-11 16:37:21 +00:00
Colin Kuskie
b9edc2592d Forward port templated ITransact edit credentials screen. 2008-12-11 16:28:58 +00:00
Yung Han Khoe
040da6f327 added tooltips to Matrix attributes 2008-12-11 14:55:22 +00:00
Colin Kuskie
09f7caab40 Provide a way for Template to import old packages that have headBlock properties, with tests. 2008-12-10 18:29:18 +00:00
Colin Kuskie
bb5ced3e0d remove Combo from Thingy, and let it autodetect List type form fields like the dataform does 2008-12-10 17:03:25 +00:00
Graham Knop
5e14b1d978 preparing for 7.6.7 dev 2008-12-10 06:43:51 +00:00
Graham Knop
b0a2a3971d fixing misuse of pod for commenting out code 2008-12-10 05:46:16 +00:00
Colin Kuskie
6336e569ff Forward port PayDriver button and labeling fix.
Forward port testEnvironment fix for not having prerequisite perl modules.
2008-12-10 02:28:39 +00:00
Colin Kuskie
08bf6b5147 Flesh out the ResponseJSON test more. Add POD. 2008-12-10 02:25:42 +00:00
Colin Kuskie
869aa3e64d Fix the TimeField form control, and add lots of tests. 2008-12-09 16:43:39 +00:00
Yung Han Khoe
1a67df91bc Making Matrix edit listing screen templatable 2008-12-09 15:17:20 +00:00
Colin Kuskie
415221fb4d Forward port Calendar location field fix in ical. 2008-12-09 04:29:22 +00:00
Colin Kuskie
e636e927e8 Fixed some Account i18n typos. 2008-12-08 22:06:08 +00:00
Colin Kuskie
aabec44de8 Forward porting singleton warn vs error for Cron. 2008-12-08 19:21:12 +00:00
Yung Han Khoe
77aefb85e6 fixed #9219: Thingy After Save Search This Thing not showing all rows 2008-12-07 17:25:17 +00:00
Yung Han Khoe
8ba4f6ef70 More Matrix bugfixes 2008-12-07 13:10:08 +00:00
Colin Kuskie
931b502666 Update SurveyJSON POD for the new method.
Add legal and header POD for ResponseJSON.
2008-12-06 00:23:17 +00:00
Kaleb Murphy
3671e80bea terminal sections now work correctly 2008-12-05 23:53:11 +00:00
Kaleb Murphy
4d1f311c42 Fixed hasTimeLimit to work with the new storage location of the time limit. 2008-12-05 21:43:15 +00:00
Colin Kuskie
187c19b84e canAdd is a class method 2008-12-05 17:22:58 +00:00
Yung Han Khoe
8a854a6ffa fixed some Matrix rating bugs 2008-12-05 11:18:42 +00:00
Colin Kuskie
8ea45fe456 Switch to using dclone from Clone::clone due to bugs under
perl 5.10
2008-12-05 04:21:43 +00:00
Colin Kuskie
a50c27de67 add POD, fix a few typos.
Add tests for updateQuestionAnswers
2008-12-04 23:35:40 +00:00
Colin Kuskie
75f6497924 Tests for getEditVars, getEditSectionVars and addAnswersToQuestion.
Add POD.
Fix a bug with setting verbatims in addAnswersToQuestion
2008-12-04 22:01:17 +00:00
Colin Kuskie
24fe2e6dc0 Add tests for getQuestionEditVars.
Refactor out the list of valid question types to make testing easier.
2008-12-04 20:47:42 +00:00
Colin Kuskie
0453f47bc1 Tests for getDragDrop and getAnswerEditVars.
More POD.
2008-12-04 20:18:49 +00:00
Patrick Donelan
71c56e1fcc Survey bug fix - showProgress, showTimeLimit and timeLimit should not be
stored at the response level (they are global to asset instance)
2008-12-04 00:52:45 +00:00
Colin Kuskie
a2a34e7a80 Have AssetAspect comment format its content as HTML, not text. 2008-12-03 22:46:51 +00:00
Colin Kuskie
49cbf11ed2 forward porting UserList profile field name bug fix 2008-12-03 22:39:11 +00:00
Colin Kuskie
1a3ad244b9 update RTE docs for adding toolbar buttons AND Valid Elements 2008-12-03 19:26:02 +00:00
Colin Kuskie
03c411b68e Remove 7.5.34 changelog that snuck into the 7.6 branch.
Forward port imageTree thumbnail relative url fix for sites with multiple hostnames
2008-12-03 18:14:13 +00:00
Martin Kamerbeek
1dde85aad0 Merging fixed #8775: Miscount in number of replies in CS Thread. 2008-12-03 15:39:33 +00:00