Commit graph

3041 commits

Author SHA1 Message Date
Colin Kuskie
d0e9b083dc Make addListings in the Matrix use AdminConsole submenus for
actions, like all the other assets.  Add a link back to the
Matrix.
Fixes bug #10778.
2009-08-14 20:15:02 +00:00
Colin Kuskie
92815bb75d Change www_delete and www_cut to use either the container, or the parent
as the asset to return the user to after their actions.
Subclass getContainer in the Story, and alias it to getArchive.
Fixes bug 10657.
2009-08-14 19:43:14 +00:00
Colin Kuskie
ed97fa1ecd When opening or duplicating Session objects, pass on any Apache2::Request object
stored in the current session.
2009-08-14 01:38:03 +00:00
Colin Kuskie
c557949ef0 Request objects are optional, so check for one before trying to pull
the HTTP headers for it.
2009-08-14 01:36:46 +00:00
Colin Kuskie
e886474284 Draw a fieldset around each Photo and its metadata.
Change the delete label so that it is clear that you are deleting the image and the metadata.
Redo the image upload form so that it is clear that uploading a new image to a photo with
an existing image replaces the existing with the new one.
2009-08-13 21:30:49 +00:00
Colin Kuskie
6a8b771859 i18n several items in the Matrix, and Matrix listing. 2009-08-13 07:08:09 +00:00
Colin Kuskie
a6bb64613e When the matrix displays search results, only show those that match. Previously,
it displayed all the products, with those that matched having checked boxes.
2009-08-13 05:54:12 +00:00
Patrick Donelan
e85335cbc7 Made Survey::getResponseDetails template vars consistent 2009-08-12 06:28:08 +00:00
Colin Kuskie
a2012171d2 Fix a bad default group setting in the SQL Report for download groups. 2009-08-11 21:16:14 +00:00
Graham Knop
401a1cff1c fixed: Existing ThingyRecords are broken after upgrade
fixed: ThingyRecords cannot be purged
2009-08-11 16:31:26 +00:00
Martin Kamerbeek
46829ac970 Adding return JSON on specific requeest feature to template. 2009-08-10 12:42:33 +00:00
Colin Kuskie
d17399df41 Add patch to let Thingy workflows know which Thing they are working on. 2009-08-09 23:03:33 +00:00
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