Commit graph

2875 commits

Author SHA1 Message Date
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
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Graham Knop
18993c5924 pod and i18n fixes 2009-05-14 22:12:33 +00:00
JT Smith
b6da052e08 - Added the WebGUI stats system, which will allow site admins to submit
information about their site to a central repository on webgui.org which 
   help the developers make WebGUI better.
2009-05-14 19:42:37 +00:00
Colin Kuskie
b805e75765 Refactor the gallery album i18n so translators don't have to translate URLs
when not needed.
2009-05-14 16:09:09 +00:00
Arjan Widlak
bdfe3b545a Added internationalisations in Gallery.pm "Return to Album" and "Add Photo" 2009-05-14 14:52:54 +00:00
Yung Han Khoe
dfe87bf181 adding a 'delete item' button on Carousel edit screen 2009-05-14 13:51:56 +00:00
Patrick Donelan
f18d4e193e Added crud for Survey test suites 2009-05-14 07:14:38 +00:00
Eric Kennedy
2fb41ce8e8 Implemented RFE 9204 - Add Reply Filter Code and Reply Rich Editor Option to Collaboration System - Provides ability to specify different Rich Editors and FilterCodes for posts (start of thread) and replies 2009-05-14 03:02:26 +00:00
Colin Kuskie
d309dbce6a i18n the choices for the new DataForm Rich Editor selector. 2009-05-14 00:13:49 +00:00
Eric Kennedy
b361e5db9c Implemented RFE 10253 - Select DataForm HTMLArea Rich Text Editor - Provides ability to specify the Rich Editor to be used for htmlArea fields on a given DataForm Wobject 2009-05-13 23:53:41 +00:00
Colin Kuskie
ef7abeec77 Make the Story Manager assets use the new icons. 2009-05-13 22:04:43 +00:00
JT Smith
6a289e060d - Fixed a problem in the EMS calculating prices on tickets with a badge that
has an existing ribbon.
2009-05-13 19:36:57 +00:00
Patrick Donelan
d432d1e115 Added www_showFeedback to Survey so that you can dial up response feedback on demand 2009-05-13 09:22:26 +00:00
Patrick Donelan
fdf7e68827 Added Survey feedback template
Added survey feedback template and method for returning the templated feedback for a given response
Used this to clean up the default survey template, and updated the i18n and help
2009-05-13 08:59:50 +00:00
Yung Han Khoe
c4cd3c0940 adding listings caching to Matrix 2009-05-13 07:43:43 +00:00
Colin Kuskie
6fc0bf8866 Fix POD syntax errors in Survey.pm 2009-05-13 02:59:00 +00:00
Colin Kuskie
edb842e7ae Fix a POD whitespace problem in SurveyJSON. 2009-05-13 02:28:08 +00:00
Patrick Donelan
c9861bdf8f More Survey refactoring
refactored out repetitive checking of takenCount
added i18n template variables to Survey template so that user is told what happened for timeouts etc..
2009-05-13 02:10:57 +00:00
Patrick Donelan
6815cd76aa Improved handling of Survey restart 2009-05-13 02:10:34 +00:00
Yung Han Khoe
909c8f62ae Compare form on Matrix default view screen is now generated from markup 2009-05-12 14:49:41 +00:00
Patrick Donelan
79db642219 Refactored Survey for more happy endings
Refactored www_submitQuestions to use utility submitQuestions sub (for ease of testing)
Replaced numeric flags, completedCode etc..
Added restart() and exitUrl() to the Expression Engine
Added more Survey instance tests
2009-05-12 12:36:26 +00:00
Patrick Donelan
4332b57ba2 Made Survey date picker more i18n-generic until we support proper i18n 2009-05-12 00:21:21 +00:00
Doug Bell
d6046d05e3 collab now always sets sortOrder scratch, for better testing 2009-05-11 21:23:19 +00:00
Patrick Donelan
9e2cdeca13 Added some tests for Survey visualization 2009-05-11 11:06:55 +00:00
Patrick Donelan
b12906a777 Added Survey Visualization
Does nothing if GraphViz module not installed (the default until wre 0.9.3)
Shows sections and questions as nodes, answers as edges.
Branch targets also show up as edges
Branch expression edges are currently disabled
2009-05-11 10:21:14 +00:00
Patrick Donelan
639a3398f0 Fixed Survey expression validation handling of verbatim values 2009-05-11 08:16:14 +00:00
Patrick Donelan
7a3ecea4bb Survey Expressions can now access verbatim values 2009-05-11 06:55:13 +00:00
Patrick Donelan
5f80ac35f6 Fixed Survey "copy" button on Edit Survey page 2009-05-11 05:20:27 +00:00
Patrick Donelan
5d6b4093be Survey Expression Engine validation++
Survey Expression Engine now detects invalid variable names passed to value(), score(), etc..
Also now detects situations where you have jump targets/expressions defined at multiple levels - thus causing precedence rules to kick in (normally this indicates a mistake)
Fixed Survey edit page bug where TextEditor would not move after gotoExpression textarea resize caused items to move
2009-05-10 07:45:14 +00:00
JT Smith
8905d554fb fixed pagination counting error and some ticket import problems 2009-05-09 17:04:15 +00:00
JT Smith
0ba93ae518 Fixed a search results display error with synopsis. 2009-05-08 14:22:49 +00:00
JT Smith
37271f7ca7 Added more information output to EMS record importer. 2009-05-08 14:19:05 +00:00
Patrick Donelan
cf98c81461 Fixed Survey's handling of multi-answer questions (e.g. maxAnswers != 1)
Now stores all supplied answers to multi-answer question as arrayref
Variable [[var]] text replacement converts to comma-separated list
Expression Engine's value() returns appropriate value depending on context
Expression Engine's score() does sum of multi-answers, as you would expect
Updated related i18n & hover-help, and tests
Cleaned up survey js somewhat
2009-05-08 08:00:04 +00:00
Doug Bell
18460256df template attachments now work with packages. head_attachments and body_attachments are now documented 2009-05-07 17:35:43 +00:00
Doug Bell
af4db882b8 fix regeneration of packed snippet 2009-05-07 17:29:17 +00:00
Graham Knop
01de17428e fix pod typo 2009-05-07 15:57:07 +00:00
Patrick Donelan
330c8f416c Fixed Survey jump target and jump expression precedence order across
Answer, Question and Section (and improved documentation in API)
2009-05-07 06:42:27 +00:00
Colin Kuskie
1fb9c4877b Prevent a possible logic problem in the Sku with shipsSeparately and isShippingRequired. 2009-05-06 22:55:28 +00:00
Patrick Donelan
f3ed30d939 Refactored Survey ExpressionEngine tag() util into tag() setter and tagged() accessor.
Updated i18n to reflect the fact that min/max/step are used for all numeric types, not just slider.

Also updated textCols/Rows i18n.
2009-05-06 05:53:10 +00:00
Patrick Donelan
494efe1cf1 Added Country question type to Survey
Refactored WebGUI::Form::Country so that it can be used to return a list of countries
2009-05-06 02:38:26 +00:00