Commit graph

670 commits

Author SHA1 Message Date
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
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
20814beefd Update to use automatic tag rollback. 2009-07-23 21:02:53 +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
c2ffca0845 Remove debug Test module. 2009-07-17 04:15:02 +00:00
Colin Kuskie
713c43976b fix this piece of crap test, again. 2009-07-17 01:45:50 +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
578bdf361c Update the # of tests in Asset/Sku/Product.t 2009-07-16 04:21:48 +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
Colin Kuskie
2d64657165 Use WebGUI::Test rollback methods instead of an END block. 2009-07-09 20:31:25 +00:00
Colin Kuskie
b89486d5f3 Work around bugs in HTML::Entities, which doesn't output strict utf8, and
DBD::mysql, which doesn't encode high characters correctly.  This shows up
in the Post synopsis, HTML::splitTag and Post->getSynopsisAndContent.
2009-07-07 22:24:00 +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
df51a0d99f Fix the form for the Product. It was returning variants with no quantity. 2009-07-03 16:19:26 +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