Commit graph

475 commits

Author SHA1 Message Date
Colin Kuskie
50650c052f Cleanup version tags. 2009-09-25 19:25:14 -07:00
Colin Kuskie
ec6887b0ac Make thingy respect thing permissions when generating form field for other things. Fixes bug #11032 2009-09-25 16:58:26 -07:00
Colin Kuskie
7d60f7523e Events in the calendar, with and without starting times, behave similarly. Fixes bug #11033 2009-09-24 16:00:54 -07:00
Colin Kuskie
564378bba8 Do not log empty statuses in the InOutBoard. 2009-09-23 16:34:24 -07:00
Graham Knop
bb77bc484e fix warnings in IOB test 2009-09-23 17:10:00 -05:00
Colin Kuskie
65f1377081 Add tests for InOutBoard. documents bug#11024.
Also, add a purge method to clean-up the collateral tables for this asset.
2009-09-23 09:55:25 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
a3228ebcb5 Adjust test to work more than 1 time. 2009-09-22 18:18:08 -07:00
Colin Kuskie
56f68bf291 Make subscribable asset handle its built-in group correctly. Fixes bug#11004 2009-09-18 09:25:30 -07:00
Colin Kuskie
255abcdf97 Set correct defaults for icalFeeds in existant calendars. Fixes bug #11005 2009-09-17 15:36:58 -07:00
Colin Kuskie
8395d090fa Show thingy controls when maxEntriesPerUser is reached. Fixes bug #10950. 2009-09-16 21:58:24 -07:00
Colin Kuskie
f4d19c41f7 DataForms logs an error when it cannot load the requested form type. Fixes bug #10954. 2009-09-16 19:24:28 -07:00
Colin Kuskie
96dba300f7 Consider time zone when creating start/end dates for calendar view methods. Fixes bug #10924 2009-09-16 11:23:47 -07:00
Colin Kuskie
c5824ab0e3 Return something more appropriate than unprivileged for getScheduleAsJSON. 2009-09-15 21:23:36 -07:00
Colin Kuskie
387650b919 Redo registrant test with a non Admin user, since user is a member of all groups. 2009-09-15 21:23:36 -07:00
Colin Kuskie
b2798a47a1 Add permission checks to schedule JSON in the EMS. 2009-09-15 21:23:35 -07:00
Colin Kuskie
bcaff3b9eb Add permission check to www_viewSchedule for the EMS. fixes bug #10987 2009-09-15 21:23:35 -07:00
Colin Kuskie
94c64218d4 Redo registrant test with a non Admin user, since user is a member of all groups. 2009-09-15 21:22:26 -07:00
Doug Bell
ed8a0dac5c added direct value access in DataForm list view 2009-09-15 20:16:31 -05:00
hao
082b04b967 Fixed bug #10982 where survey admin menu options appear twice. Caused by the Survey Asset directly calling its parent getAdminConsole method instead of instantiating a session instance of the method. 2009-09-15 12:02:49 -04:00
Doug Bell
6da85b89a7 add #455: Featured page in wiki 2009-09-10 15:57:59 -05:00
Colin Kuskie
021b7f8fed Fix import Story Archive packages with sub-stories. 2009-09-10 08:43:26 -07:00
Doug Bell
0697673846 added Subscribable AssetAspect to Wiki 2009-09-09 17:24:00 -05:00
Colin Kuskie
54b9d4d7df Make test clean-up its version tag. 2009-09-04 09:43:14 -07:00
Colin Kuskie
cdb7fd2d6f Fix pagination for keywords listing in Story Archive. Fixes bug #10890. 2009-09-03 12:54:15 -07:00
Colin Kuskie
838ae00af5 Provide a way for tests to purge assets with all their (hidden and unreachable)
version tags.  Fix Survey.t that was leaking versionTags.
2009-09-01 22:30:07 +00:00
Patrick Donelan
280e902c09 Fixes to Survey reporting and performance improvements
Fix: Survey export simple/transposed results to csv or tab
Fix: loadTempReportTable handling of revisionDates (and documentation)
Fix: returnResponseForReporting handling of mc questions
NYTProf performance improvements
Added some very basic Survey reporting tests
2009-08-23 05:15:32 +00:00
Colin Kuskie
929e99c8c1 requestAutoCommit forks a workflow to commit, use skipAutoCommitWorkflow and
commit it now, manually.
2009-08-21 02:06:24 +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
ecd89d349a Forward porting calendar non-inclusive end times fix. 2009-08-03 20:05:34 +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
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
8468884df8 Change article test to use templates that aren't deleted. 2009-07-16 22:36:20 +00:00
Colin Kuskie
754fe6a800 This is a only a copy of Article.t 2009-07-16 22:26:42 +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
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
Patrick Donelan
b5186bfbab fixed #10565: Survey: add question doing double-create 2009-06-22 07:08:08 +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
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
Patrick Donelan
3e5d5804f6 Made Survey tests a little less dependent on multiple choice bundle defaults 2009-06-16 06:25:09 +00:00
Colin Kuskie
f5851c96ff Graceful dying without TAP::Harness v3 2009-06-11 17:03:32 +00:00
Yung Han Khoe
be430dfdd2 fixed #9953: Matrix 2.0 - Not enough tests 2009-06-10 18:46:15 +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
Doug Bell
75640eed59 fixed problem in test using <=> instead of cmp 2009-06-05 17:30:50 +00:00
Yung Han Khoe
15b197976e Adding Matrix tests 2009-06-03 13:22:32 +00:00
Patrick Donelan
5acade845a Fixed Survey test suite 'tagged' check to work with nested data 2009-06-03 07:15:52 +00:00
Patrick Donelan
9702ffcaac Fixed Survey section-level branch precedence bug
For Sections with questions spread out over multiple pages, branch
expressions should only happen on the last page of the Section.
Added explicit test.
2009-06-03 02:12:00 +00:00