Commit graph

2197 commits

Author SHA1 Message Date
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
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
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
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
f787f6e552 Add missing POD to Dashboard 8/441 2009-07-05 16:33:45 +00:00
Colin Kuskie
72903e141d Add POD missing from WikiMaster 2009-07-05 03:07:29 +00:00
Colin Kuskie
f2b640f480 Add missing POD to the HttpProxy 2009-07-05 00:38:07 +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
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
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
Colin Kuskie
721a8ced26 Use as many autogenerated form fields as possible. 2009-07-04 19:26:36 +00:00
Colin Kuskie
e5c0293498 Add missing POD. 2009-07-04 18:56:59 +00:00
Colin Kuskie
576b914293 More POD fixes. 2009-07-04 17:21:05 +00:00
Colin Kuskie
cff07644e0 Fix POD to increase POD coverage, mainly by fixing typos and removing
unused code.
2009-07-04 17:12:13 +00:00
Colin Kuskie
1bcae0d3bc Add an Event method for returning a non-inclusive end DataTime object.
Have Calendar use that for determining the end of a week in viewWeek.
Fix getEventsIn to do all comparisons in UTC so that extra events are not added in.
2009-07-03 05:04:43 +00:00
Patrick Donelan
29f20d3889 Fixed bug in Survey::ExpressionEngine - was not using most recent survey
response to resolve external values
2009-07-03 01:39:53 +00:00
Patrick Donelan
79692ca8fe Fixed: Survey - check for groupToEditSurvey as well as groupToViewSurvey in canView 2009-07-03 01:39:34 +00:00
Patrick Donelan
0265e1dfbd Fixed Survey::Test diagnostics when comparing complex data structures 2009-07-03 01:39:16 +00:00
Colin Kuskie
c30614bdf6 Forward porting fixes for iCal escaping and unescaping, and line wrapping. 2009-07-01 22:18:57 +00:00
Colin Kuskie
109178ac6a remove debug 2009-06-30 15:50:07 +00:00
Colin Kuskie
755d7909a5 Fix iCal processing in the Calendar module and workflow. Errors with
generation and processing.
2009-06-30 15:43:40 +00:00
Patrick Donelan
bb3de4bf96 Fixed minor Survey bug that could prevent tests from running in some cases 2009-06-27 00:04:38 +00:00
Patrick Donelan
eca88d70f4 Fixed bug where Survey was leaving uncommitted version tags behind 2009-06-26 02:30:12 +00:00
Colin Kuskie
a7c489e454 Make the importer check the date format when importing tickets. 2009-06-24 03:25:07 +00:00
Patrick Donelan
17c7618605 Removed debug line 2009-06-22 23:21:35 +00:00
Patrick Donelan
b5186bfbab fixed #10565: Survey: add question doing double-create 2009-06-22 07:08:08 +00:00
Patrick Donelan
3fccab7743 Minor bugfixes/tweaks to Survey 2009-06-22 07:07:41 +00:00
Colin Kuskie
3b94bad76d Fix a typo in user output. 2009-06-20 00:02:20 +00:00
Patrick Donelan
cbc308c55a SurveyJSON size reduction/optimization
SurveyJSON was storing a lot of redundant information (every setting on
every single section/question/answer, which, in most cases, will simply
take on the default values). This was bloating the surveyJSON property in
the db, and equally as importantly, slowing down Survey because it had to
do a lot of JSON parsing on the serialised surveyJSON object.

We now factor out and store the current section/question/answer defaults
along with the surveyJSON data itself, which means that we only needs to
store properties that differ from the defaults. This results is a massive
reduction in the size of the serialized surveyJSON stored in the database,
as well as a speed-up in json parsing time.

The compression/uncompression happens transparently to the rest of Survey.
2009-06-19 08:07:18 +00:00
Martin Kamerbeek
65bdea5f3c fixed a bug in Thingy where in some cases the style template was not processed after editing a Thing. 2009-06-17 12:23:06 +00:00
Patrick Donelan
e44c7bae2e Small survey bug fix to Survey::persistResponseJSON 2009-06-17 07:21:35 +00:00
Colin Kuskie
d09015502e Better comment for why ads are being reprocessed. 2009-06-16 18:00:31 +00:00
Patrick Donelan
d820d43760 Fixed #10520 - Survey responses get confused if survey structure modified
Survey responses are now revision-aware.
The survey structure gets revisioned automatically as necessary when changes
are made on the Edit Survey screen (as necessary ~~ a response exists
for the current revision)
2009-06-16 06:25:38 +00:00
Colin Kuskie
c95ea52978 Reverting Thingy RFE commit. 2009-06-11 16:38:39 +00:00
Eric Kennedy
381219a4c0 rfe #10423: Provide a way to access the instance of the thing that was added, modified, or deleted via workflow. (Eric Kennedy) 2009-06-11 03:04:45 +00:00
Yung Han Khoe
be430dfdd2 fixed #9953: Matrix 2.0 - Not enough tests 2009-06-10 18:46:15 +00:00
Colin Kuskie
52b8143707 Fix date handling by the search form in the Gallery. 2009-06-10 17:14:37 +00:00
Patrick Donelan
9004e5d711 Survey cleanup and minor bug fixes
Cleaned up edit page tabs
Improved API docs
Added noCreate option to responseId so that it doesn't create unnecessary responses
Added groupToTakeSurvey priv check to takeSurvey
2009-06-09 03:27:06 +00:00
Patrick Donelan
977be654cc Fixed bug in privs check for Survey::www_showFeedback 2009-06-09 03:26:44 +00:00
Patrick Donelan
cdc44a1bfb Made Survey Preview a little less brutal 2009-06-09 03:26:24 +00:00
Colin Kuskie
fcad3a112d Fix a bug in the Story when handling images of different sizes. Add a
photoWidth property to the StoryArchive, and resize all newly uploaded pictures
to a Story.
2009-06-08 21:51:33 +00:00
Doug Bell
1de7439056 fixed issue with getSortOrder and rating 2009-06-05 17:31:39 +00:00
Colin Kuskie
0cf94b4c32 Fix a syntax warning in Survey.pm 2009-06-04 21:45:13 +00:00
Colin Kuskie
f9f5a8b12a Remove patch temporary file. 2009-06-04 16:24:37 +00:00
Patrick Donelan
d3f5c9ecfd Survey - differentiated between endDate and endDateEpoch. 2009-06-04 07:22:48 +00:00