Commit graph

7924 commits

Author SHA1 Message Date
Stephen Opal
cb5207c268 Add retain last login yesNo option. If configured to retain, workflow will determine if
the last login would be removed from the login history and will skip deleting that entry.
2009-05-13 17:14:09 +00:00
Martin Kamerbeek
31c4bf83d7 Refactored genereation of tranasaction related tmpl_vars into WG::Shop::Transaction->getTransactionVars. 2009-05-13 12:52:19 +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
Doug Bell
1d6831d055 merged 10739 2009-05-13 02:02:31 +00:00
Colin Kuskie
cbdd6077d5 Add USPS Shipping Driver with tests, and i18n.
Change the Ship, Cart to do exception handling when calling a shipping driver,
as that's the message passing interface between the modules.
Add a noFormProcess field property that is recognized by processPropertiesFromFormPost.
2009-05-12 23:58:19 +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
9fb2074414 - Fixed a load problem with Code Editor by making user toggle it on. This is
better than normal anyway since many users appear not to want to use the
   editor in most cases.
2009-05-08 15:27:20 +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
Martin Kamerbeek
7fb87de71d Added the methods for the pluggable tax system that add templ vars to the cart and cart items. 2009-05-08 13:34:42 +00:00
Martin Kamerbeek
9d90b92629 Tax details are now stored with the transaction items they belong to. 2009-05-08 10:03:25 +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
28311c08d4 fix default value for packed head tags. too dangerous to make default to on right now 2009-05-07 17:30:25 +00:00
Doug Bell
af4db882b8 fix regeneration of packed snippet 2009-05-07 17:29:17 +00:00
Doug Bell
7a1d96f752 fix bug with packed extra head tags 2009-05-07 17:27:56 +00:00
JT Smith
2b6b8872dd URLs that shouldn't happen (#10353) 2009-05-07 16:26:32 +00:00
Graham Knop
01de17428e fix pod typo 2009-05-07 15:57:07 +00:00
Graham Knop
121d3683e2 fix Thingy Record expiry workflow activity 2009-05-07 15:42:58 +00:00
Martin Kamerbeek
0fd6447042 Internationalised the javascript part of the vendor payouts manager. 2009-05-07 12:23:26 +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
Colin Kuskie
efd20f86a4 Fix an i18n typo in the survey exitURL hover help. 2009-05-06 22:05:06 +00:00
Colin Kuskie
22fc77dd41 Fix multiple Crud issues with serialization and text/blob field handling 2009-05-06 20:50:12 +00:00
Martin Kamerbeek
461c80a6b8 Pluggable Tax: more POD, more tests, better code and less bugs 2009-05-06 13:33:16 +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
Colin Kuskie
a819c93944 Fix wrong attribute for script tag in Dataform. 2009-05-05 16:46:30 +00:00
Patrick Donelan
3dda2b49d4 Survey Branch Expressions now allow you to "tag" data along the way and store
it in the response data structure along with the actual user input. Tag data
can be used in subsequent expressions, in [[tag]] templated text replacement,
and to classify responses in an arbitrary way.

Refactored Survey expression utility subs that lookup values/scores/tags in
external assets.

Fixed bug whereby only highest precedence Survey expression was being evaluated
rather than letting them all run and do their own short-circuiting.
2009-05-04 06:28:05 +00:00
Patrick Donelan
ac1a00b252 Survey Branch Expressions can now test whether a question
has been reached/answered, rather than just testing for the value
of a response
2009-05-04 04:06:40 +00:00
Doug Bell
9b72641abb added minimal skeletons without all the unnecessary example code 2009-05-02 02:52:21 +00:00
Paul Driver
f4df3b1280 template attachments (scripts and stylesheets) 2009-05-01 23:03:36 +00:00
Doug Bell
3320465ca4 fixed: #9897. Fixed problem with highlighting in codearea. Updated EditArea to version 0.8.1.1 2009-05-01 18:29:41 +00:00
Hao Ching
254796dea3 RFE #9998, mark selected inbox messages as read/unread. 2009-05-01 17:21:02 +00:00