Commit graph

2151 commits

Author SHA1 Message Date
Doug Bell
1de7439056 fixed issue with getSortOrder and rating 2009-06-05 17:31:39 +00:00
Colin Kuskie
0cf94b4c32 Fix a syntax warning in Survey.pm 2009-06-04 21:45:13 +00:00
Colin Kuskie
f9f5a8b12a Remove patch temporary file. 2009-06-04 16:24:37 +00:00
Patrick Donelan
d3f5c9ecfd Survey - differentiated between endDate and endDateEpoch. 2009-06-04 07:22:48 +00:00
JT Smith
9381fd02d8 Insufficient filtering in javascript filter (#10001) 2009-06-03 15:53:55 +00:00
Patrick Donelan
3ffb76ef7f Fixed Survey testsuite handling of Tagged question type 2009-06-03 07:16:14 +00:00
Patrick Donelan
5acade845a Fixed Survey test suite 'tagged' check to work with nested data 2009-06-03 07:15:52 +00:00
Patrick Donelan
9702ffcaac Fixed Survey section-level branch precedence bug
For Sections with questions spread out over multiple pages, branch
expressions should only happen on the last page of the Section.
Added explicit test.
2009-06-03 02:12:00 +00:00
Patrick Donelan
da595da89e Remove bloat from Survey response record to reduce json serialisation time 2009-06-03 02:11:31 +00:00
Patrick Donelan
216a48580a Fixed #9927 Survey - verbatim
Fixed inconsistencies between answer 'comment' and 'verbatim'.
Updated tests.
Made minor changes to reporting methods but they still need some love.
2009-06-03 00:29:29 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Patrick Donelan
084a0c3105 Fixed naff Survey::takenCount bug, added explicit test for it 2009-06-02 02:42:37 +00:00
Patrick Donelan
7faa9c3e9d Fixed Survey Date question type server-side validation, and made
all validation messages generate debug output
2009-06-02 01:48:41 +00:00
Colin Kuskie
5fd74af21e Don't make a 2nd i18n object. 2009-06-01 20:47:06 +00:00
Colin Kuskie
fcb884a410 Fix Project Manager calling wrong method on right object. www_viewScreen now
uses mobile template if so enabled via calling processStyle.
2009-06-01 20:00:16 +00:00
Colin Kuskie
8f09dc062d Add edit and delete icons to the Story Topic. Update tests. Adjust both
sets of templates.  Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
6844ef4559 Add missing edit story and delete story icons in the view method of the Story Archive. 2009-06-01 16:27:49 +00:00
Colin Kuskie
76b9f01e77 Prevent head tags from appearing twice in wobjects.
prepareView sets the extra head tags.  Have all wobjects, in their www_view method,
tell processStyle not to set the extra head tags again.
2009-06-01 02:03:05 +00:00
Colin Kuskie
20a333cde8 Change caching on the SQLReport to be set by its cacheTimeout, even
when viewed standalone, and not part of a page.
2009-05-30 18:01:59 +00:00
Yung Han Khoe
398f5203f4 making all Matrix datatables templatable 2009-05-30 14:43:41 +00:00
Graham Knop
66843db604 string evals are evil 2009-05-29 21:41:52 +00:00
Colin Kuskie
0bf47be7f4 Add a basic test for the Poll, adding votes and making a graph.
Add POD to Poll for setVote, and use placeholders in there.
2009-05-29 18:54:26 +00:00
Patrick Donelan
1a4b673843 Made Survey Test Suite feature was dependent on TAP::Parser and TAP::Parser::Aggregator 2009-05-29 01:04:45 +00:00
Martin Kamerbeek
1ec0ec5961 - Fixed a bug in thingy which caused the defaultValue property for some list form elements to be ignored.
- Fixed a race condition introduced in a previous commit.
2009-05-28 16:31:45 +00:00
Martin Kamerbeek
0826f09f32 Thingy bug fixes. 2009-05-28 07:58:07 +00:00
Patrick Donelan
beff1d2166 Survey NYTProf performance improvements
initSurveyOrder now builds a lookup cache to speed up branching
Test suite caches surveyOrder and response itself
Unnecessary sub calls reduced
Updated tests
My largest survey instance test suite, which contains > 1000 tests,
now runs nearly 8 times faster.
2009-05-28 07:24:11 +00:00
Patrick Donelan
d14cf19e9d Added Survey tests for more question types 2009-05-28 07:23:43 +00:00
Colin Kuskie
1e6d9b7d18 Fix missing overrides in the Navigation when shortcutted.
Also, documented the getOverridesList method inside Shortcut.
2009-05-27 23:31:12 +00:00
Colin Kuskie
cb79dddf00 Disable Syndicated Content caching when admin is on. 2009-05-27 23:09:05 +00:00
Colin Kuskie
303c725d1f Fix JS and CSS showing up in the body of the Gallery album thumbnails and slideshow screens. 2009-05-27 21:32:43 +00:00
Colin Kuskie
d0dd5920a4 Fix the calendar list view to use the correct template variables. 2009-05-27 17:47:18 +00:00
Yung Han Khoe
ab18fbb913 fixed listing urls in matrix default view 2009-05-27 16:57:54 +00:00
David Delikat
a054c9de73 added date pagination to EMS schedule table
also improved formatting of table
2009-05-24 22:51:39 +00:00
Patrick Donelan
0ad26a1921 Survey: more bug fixes
Fixed invalid calendar markup so that Date question type works in IE
Minor tweaks to ResponseJSON for more robustness
Fixed Number question type javascript
2009-05-24 09:59:43 +00:00
Patrick Donelan
3a25e806c6 Survey bug fixes
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00
Patrick Donelan
5e7c594440 Started fixing Survey responseId handling 2009-05-23 09:53:28 +00:00
Colin Kuskie
946cf6e026 Fix syntax warnings in Survey/Test.pm 2009-05-21 15:09:15 +00:00
Yung Han Khoe
43f09b433f fixed #10133: Matrix compare for priv. group open to any user 2009-05-21 13:18:18 +00:00
Patrick Donelan
beb9b77440 Added Survey www_runTests to run and aggregate all tests
Added more i18n
2009-05-21 08:22:29 +00:00
Patrick Donelan
302e217e7a Survey test suite added support for checking answer properties 2009-05-21 08:22:11 +00:00
Patrick Donelan
f55559e124 Survey: fixed subtle bug in testing of answers with recordedAnswer set to q{} 2009-05-21 08:21:54 +00:00
Patrick Donelan
d246454b2f Survey: fixed bugs in handling of test setup & Slider question type 2009-05-21 08:21:35 +00:00
Patrick Donelan
8baf09948e Fixed bug where ResponseJSON was not properly resetting between
tests. Refactored out reset() sub to make it easy for people to
achieve reliable resetting of rJSON objects.
2009-05-21 08:21:17 +00:00
Patrick Donelan
867aa51507 Fixed Survey bug in handling of logical sections 2009-05-20 10:17:46 +00:00
Patrick Donelan
c64a1de9f3 Made Survey upgrades conditional in upgrade script because my 7.7.6 upgrades got
committed halfway through the release process.
2009-05-20 10:17:31 +00:00
David Delikat
0fb2b7775d added EMS Schedule table 2009-05-20 02:51:44 +00:00
Colin Kuskie
bee4437007 Fix syntax warning with multiple my's. 2009-05-19 22:13:05 +00:00
Yung Han Khoe
8fb8ed5c62 fixed #10332: Matrix: last updated fields = today 2009-05-19 11:35:11 +00:00
Patrick Donelan
59329e9718 Survey tweaks
Added Survey 'Tagged' question type, which builds its answers dynamically from tagged data
Made Survey test suite more forgiving about JSON parsing
2009-05-19 02:45:45 +00:00
Patrick Donelan
a9638ae691 Survey: Let them eat sort 2009-05-19 02:45:26 +00:00