Commit graph

3565 commits

Author SHA1 Message Date
Colin Kuskie
d9e2590623 Internationalize the shortcut no longer exists message. 2009-05-30 15:28:59 +00:00
Yung Han Khoe
398f5203f4 making all Matrix datatables templatable 2009-05-30 14:43:41 +00:00
Colin Kuskie
b0a1e20053 Refactor processStyle so there's no duplicated code. Make Wobject call
SUPER.  Add an option to skip adding getExtraHeadTags, so that Shortcut
doesn't add them an extra time.  Remove the subclassed getExtraHeadTags,
since prepareView will add them, which prevents adding them a 3rd time.
2009-05-29 23:30:04 +00:00
Graham Knop
66843db604 string evals are evil 2009-05-29 21:41:52 +00:00
Graham Knop
c0d7357429 fixed: Template parser cannot be set 2009-05-29 20:22:08 +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
Colin Kuskie
2daa6c6c99 fix list type form data in Shortcut, too 2009-05-29 15:51:47 +00:00
Colin Kuskie
91694a2e97 Revert previous bugfix for MetaData list type form controls, and change the
hoverhelp instead.
2009-05-29 15:37:16 +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
Doug Bell
400c67e39a added "addedToCart" var to ThingyRecord 2009-05-28 21:52:54 +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
83497b773e Fix Story permissions so that admin need not be turned on.
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +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
09970a9ea7 Duplicate the Asset metadata fix inside Shortcut. 2009-05-27 23:18:49 +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
Colin Kuskie
be4b0dc4d4 Fix bugs in the default story archive template (pagination bar) and
the subtitle in the Story.
2009-05-20 16:18:02 +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
Colin Kuskie
1ad192fe57 Cleanup thread subscription groups during purge. 2009-05-20 03:27:48 +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
Doug Bell
25ff0dae0e Added: Google map asset.
Added a way for authors to prevent debugging output on page requests
2009-05-17 22:44:27 +00:00
Doug Bell
280dff8bff initial checkin of map 2009-05-17 22:44:12 +00:00
Patrick Donelan
9cbd30c3d8 Refactored Survey test suite diagnostics etc.. 2009-05-17 08:15:59 +00:00
Patrick Donelan
3105b27034 Improved Survey test setup 2009-05-16 09:06:00 +00:00
Patrick Donelan
4d181da7f9 SurveyJSON bug fixes
Fixed bug in SurveyJSON::update to stop it updating questionType when not asked
Fixed unsafe reference bug in SurveyJSON::getMultipleChoiceBundle
Added more Survey Test Suite tests
2009-05-16 07:24:55 +00:00
Patrick Donelan
7e0796cc78 Some minor Survey bug fixes
Removed evil "use JSON -support_by_pp"
test() and test_mc() now intelligently start at the right place and give better TAP descriptions
2009-05-16 01:13:20 +00:00
Patrick Donelan
2bde3dc02c Moved Survey test upgrade to 7.7.6-7.7.7 upgrade script 2009-05-15 23:42:10 +00:00
Graham Knop
c081910d26 fix dumbness 2009-05-15 10:47:47 +00:00
Patrick Donelan
7829d708ea Survey test suite now functional.
Tests are defined via a JSON-encoded spec, through Web Crud interface
Test results are TAP encoded, and TAP parsed and prettified into HTML
Added i18n, help and tests
2009-05-15 10:33:47 +00:00