Commit graph

985 commits

Author SHA1 Message Date
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
9d438f7266 Fix bad URLs from happening when inheritUrlFromParent is used. Fixes bug #11011 2009-09-22 11:45:06 -07:00
Colin Kuskie
3acaea22e8 Remove bad test requirement. 2009-09-21 22:18:03 -07:00
Colin Kuskie
50d3f48936 Extend existing non-recurring Subscriptions when rebought. Fixes bug #11010 2009-09-21 22:17:21 -07:00
Colin Kuskie
27f474ec64 Do not cleanup Admin's friends group. 2009-09-21 08:27:36 -07:00
Graham Knop
eebece7a2a check WEBGUI_LIVE in some more live tests 2009-09-20 23:49:33 -05:00
Graham Knop
44110cdb00 fix WikiPage test cleanup 2009-09-20 14:29:54 -05: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
79b849262c WikiPage displays a locked label when locked. fixes bug #10998 2009-09-16 16:07:59 -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
65120a61cb Merge branch 'master' of git@github.com:plainblack/webgui
Conflicts:
	docs/changelog/7.x.x.txt
	docs/upgrades/upgrade_7.7.19-7.8.0.pl
2009-09-09 17:26:55 -05:00
Doug Bell
0697673846 added Subscribable AssetAspect to Wiki 2009-09-09 17:24:00 -05:00
Graham Knop
f6be0746f3 use consistant messages for WEBGUI_LIVE tests 2009-09-09 01:16:48 -05:00
Colin Kuskie
2948e68781 Fix 10939, commit with approval breaks on assets with autocommit children, Post, Story, Wiki, Event, etc.
Encapsulate a new method to get a fresh asset from the db.  With tests.
2009-09-08 21:17:41 -07: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
Colin Kuskie
d8ae7fc68e When purging an asset, clean up all version tags for this asset, which may
contain only this asset. Fixes #10872
2009-09-01 22:13:17 +00:00
Colin Kuskie
2703deba2e Use a consistent naming convention for Asset tests. 2009-09-01 21:33:32 +00:00
Colin Kuskie
13cceb9c1a Check JSON deserialization, and make Assets do it. 2009-08-26 17:13:00 +00:00
Colin Kuskie
18a52b9aa2 Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Colin Kuskie
6e0fcee52e Add WEBGUI_LIVE env variable to more tests that use Test::WWW::Mechanize. 2009-08-24 04:45:29 +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
Graham Knop
39127b7ec0 add tests for url extensions 2009-08-19 18:05:28 +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
f52a3f9bdd Forward port test fix. 2009-08-11 20:51:51 +00:00
Colin Kuskie
51aa116377 Forward port WEBGUI_LIVE switch addition to Event/edit.t 2009-08-11 20:18:58 +00:00
Martin Kamerbeek
46829ac970 Adding return JSON on specific requeest feature to template. 2009-08-10 12:42:33 +00:00
Colin Kuskie
af2d858f68 Revision Event storage locations. 2009-08-09 04:35:16 +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
31544f13b0 Remove Product test debug diag. 2009-07-27 16:24:19 +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
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