Commit graph

3029 commits

Author SHA1 Message Date
Patrick Donelan
2cc10d2953 Survey JSON performance warning for non-wre-standard JSON modules/versions
If you have funny combinations of JSON, JSON::XS and JSON::PP installed,
JSON can start deciding to use JSON::PP instead of JSON::XS, which equals
bad performance on very large Survey instances.

This commit adds a new warning to the Edit Survey page if JSON->backend
is detected to be something other than JSON::XS.
2009-08-09 06:25:49 +00:00
Colin Kuskie
af2d858f68 Revision Event storage locations. 2009-08-09 04:35:16 +00:00
Colin Kuskie
e53d921397 Fix broken Post i18n. 2009-08-08 02:28:28 +00:00
Colin Kuskie
0175abdfc5 Forward porting TinyMCE ask user fix for FF browsers on Windows. 2009-08-07 20:42:58 +00:00
Patrick Donelan
146373937d Fixed two new Survey bugs
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).

* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it  to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
3b577599f5 Forward port XML encoding for template based RSS feeds in the Gallery. 2009-08-05 22:16:38 +00:00
Colin Kuskie
4ecc2c725e Forward porting Event iCal end day date math fix. 2009-08-03 22:56:10 +00:00
Colin Kuskie
ecd89d349a Forward porting calendar non-inclusive end times fix. 2009-08-03 20:05:34 +00:00
Colin Kuskie
2c4ebe6333 Fix misspelled i18n for Gradebook. 2009-07-31 15:51:55 +00:00
Patrick Donelan
10755c3b83 Fixed Survey reporting bugs
* Survey::responseJSON mutator was not doing the right thing when
  responseId argument was passed in
* www_viewGradeBook template fixes and documentation
2009-07-29 06:37:34 +00:00
Colin Kuskie
e8bfd8a0a7 Empty warranty, brochure and manual show empty areas in the Product. 2009-07-27 16:21:04 +00:00
Colin Kuskie
1a74cb056d Fix the separator macro. Adds a method to WebGUI::HTML that splits
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
Colin Kuskie
f34dc2c8f0 Add Story fields to the search index. 2009-07-24 18:15:18 +00:00
Colin Kuskie
4226ef211f Remove autocommit from addRev in Story, because it committed the
story before the keywords were set, which messed up searching.
Adjust tests to request autocommit on all submitted stories.
2009-07-24 17:26:50 +00:00
Colin Kuskie
c9fa63bdb7 Give StoryArchive sub-folders the same style as their parent. Fix to hide them
better upcoming.
2009-07-23 21:17:25 +00:00
Colin Kuskie
bd924e8f88 Form/File will automatically delete empty storage locations, but assets
expect them to stick around.  Add a flag to Form/File.pm to prevent it
from deleting them.  Make sensitive assets use that flag.
2009-07-23 16:50:57 +00:00
Colin Kuskie
3b8d5f62bc Remove debug code from Shortcut. 2009-07-20 15:37:31 +00:00
Colin Kuskie
f2bd5d8e48 The shelf now checks for viewing permissions of the products and shelves that it displays.
Template with i18n feedback for users.
2009-07-17 21:01:55 +00:00
Colin Kuskie
e335276cfa Make the Product Sku copy the storage locations when a new revision is added. 2009-07-16 04:12:30 +00:00
Colin Kuskie
1c40934876 Fix a typo in the story link back to the archive, to limit display to only 1 keyword. 2009-07-16 03:10:27 +00:00
Doug Bell
47c6aaa994 added thingyrecord per-field pricing 2009-07-15 04:58:33 +00:00
Doug Bell
3b63250cf4 perltidy 2009-07-15 04:55:33 +00:00
Doug Bell
1396d1e075 marked comment appropriately 2009-07-15 04:54:06 +00:00
Colin Kuskie
79dbea5025 Add icons for ThingyRecord. 2009-07-14 23:21:56 +00:00
Patrick Donelan
84d8b24cec Add missing POD to SurveyJSON
Also fix a bug I noticed while updating POD - when removing a
multiple-choice bundle the question should have its questionType
set to the generic "Multiple Choice' question type rather than
leaving it set to the now-deleted bundle questionType.
2009-07-12 03:28:54 +00:00
Patrick Donelan
b149367c11 Survey: fixed handling of multi-choice question bundles in Test.pm 2009-07-10 03:32:44 +00:00
Colin Kuskie
f428970c39 Remove use of the deprecated viewProfile url param to get a user's profile. 2009-07-09 01:23:23 +00:00
Colin Kuskie
c96b3d6bc0 Force an init of the fields form in the ThingyRecord when the Edit form is loaded. 2009-07-08 04:59:55 +00:00
Colin Kuskie
d6400799aa Allow snippets to be really empty, without showing the Page Not Found screen. 2009-07-06 19:35:00 +00:00
Colin Kuskie
4664ab7035 Add the rest of the missing POD to the DataForm. 2009-07-06 05:19:56 +00:00
Colin Kuskie
9e60251eb8 Add the missing Map icons. 2009-07-06 04:38:45 +00:00
Colin Kuskie
2e28a9870a Add 40% to POD coverage in DataForm. 2009-07-06 03:54:26 +00:00
Colin Kuskie
ba08f9dd89 Add missing POD. Also, do not call methods from Wobject that are inherited from
Asset.
2009-07-06 03:07:25 +00:00
Colin Kuskie
464202303a Add the remainder of the missing POD for the Shortcut. 2009-07-05 19:14:43 +00:00
Colin Kuskie
cdf3677655 Add some of the POD missing from the Shortcut. 2009-07-05 18:46:14 +00:00
Colin Kuskie
f787f6e552 Add missing POD to Dashboard 8/441 2009-07-05 16:33:45 +00:00
Colin Kuskie
e71d09d802 Add missing POD, and fix POD typos in the Thread. 2009-07-05 16:20:40 +00:00
Colin Kuskie
29be95b180 Add POD for some methods in the Thread. 2009-07-05 03:45:53 +00:00
Colin Kuskie
209597fa6b Add missing POD to the Post. 2009-07-05 03:38:29 +00:00
Colin Kuskie
7ced29424d Fix a POD whitespace issue in the WikiPage. 2009-07-05 03:37:29 +00:00
Colin Kuskie
72903e141d Add POD missing from WikiMaster 2009-07-05 03:07:29 +00:00
Colin Kuskie
5295326def Add POD missing from the WikiPage. 12/441 files left 2009-07-05 00:54:12 +00:00
Colin Kuskie
f2b640f480 Add missing POD to the HttpProxy 2009-07-05 00:38:07 +00:00
Colin Kuskie
27931774e8 Add POD missing from File and Image. Remove duplicate code in Image that
can be inherited from File.
2009-07-05 00:31:20 +00:00
Colin Kuskie
13aab35f97 Remove methods that are copy/paste from the skeleton, and add missing POD
to the Newsletter.
2009-07-04 23:21:40 +00:00
Colin Kuskie
1f8302ef52 Add missing to the Product. 2009-07-04 21:28:52 +00:00
Colin Kuskie
f5fdc49f43 Add missing POD. Refactor to use the definition to draw the edit form. 2009-07-04 20:59:07 +00:00
Colin Kuskie
8405f79002 Add missing POD to Layout. 2009-07-04 20:49:31 +00:00
Colin Kuskie
cc1110a48d Add missing POD to these assets. 2009-07-04 20:22:21 +00:00
Colin Kuskie
3cd1e13051 Add missing POD and fix POD typos in subroutine names. 30/441 failing 100% POD coverage. 2009-07-04 20:09:35 +00:00