Commit graph

87 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Colin Kuskie
a3266dea35 WebGUI 8 doesn't do Basic Auth, and ldap tests were moved into a different file. 2011-11-04 14:13:22 -07:00
Colin Kuskie
a2a821822d Merge commit 'v7.10.23' into WebGUI8. Tests need fixing. 2011-11-02 11:12:18 -07:00
Colin Kuskie
82bb59d40e Debug needs an explicit package name for addToCleanup. 2011-10-19 13:11:23 -07:00
Colin Kuskie
d76ff6ef33 Disable LDAP testing for the time being. 2011-08-30 14:53:17 -07:00
Colin Kuskie
e65368c7c1 Fix group membership by scratch variables for Visitor. Fixes bug #12195. Kudos to trex for the base patch. Also fix the same problem in the IP based group membership. 2011-08-22 19:17:58 -07:00
Colin Kuskie
8ab2dcca05 Fix cleanup and spelling issues with Group.t 2011-08-22 17:24:06 -07:00
Doug Bell
277faae8a1 Merge commit 'v7.10.15' into 8
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	docs/templates.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Event.pm
	lib/WebGUI/Asset/File.pm
	lib/WebGUI/Asset/MapPoint.pm
	lib/WebGUI/Asset/RichEdit.pm
	lib/WebGUI/Asset/Sku/Product.pm
	lib/WebGUI/Asset/Snippet.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Template/TemplateToolkit.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	lib/WebGUI/Asset/Wobject/Collaboration.pm
	lib/WebGUI/Asset/Wobject/Dashboard.pm
	lib/WebGUI/Asset/Wobject/DataForm.pm
	lib/WebGUI/Asset/Wobject/Folder.pm
	lib/WebGUI/Asset/Wobject/Map.pm
	lib/WebGUI/Asset/Wobject/Search.pm
	lib/WebGUI/Asset/Wobject/Shelf.pm
	lib/WebGUI/Asset/Wobject/StockData.pm
	lib/WebGUI/Asset/Wobject/StoryTopic.pm
	lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/Asset/Wobject/WeatherData.pm
	lib/WebGUI/AssetClipboard.pm
	lib/WebGUI/AssetCollateral/DataForm/Entry.pm
	lib/WebGUI/AssetExportHtml.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetMetaData.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/AssetVersioning.pm
	lib/WebGUI/Auth.pm
	lib/WebGUI/Cache/CHI.pm
	lib/WebGUI/Content/AssetManager.pm
	lib/WebGUI/Fork/ProgressBar.pm
	lib/WebGUI/Form/JsonTable.pm
	lib/WebGUI/Form/TimeField.pm
	lib/WebGUI/Form/Zipcode.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/International.pm
	lib/WebGUI/Macro/AssetProxy.pm
	lib/WebGUI/Macro/FileUrl.pm
	lib/WebGUI/Operation/SSO.pm
	lib/WebGUI/Operation/User.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Transaction.pm
	lib/WebGUI/Shop/TransactionItem.pm
	lib/WebGUI/Test.pm
	lib/WebGUI/URL/Content.pm
	lib/WebGUI/URL/Uploads.pm
	lib/WebGUI/User.pm
	lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
	lib/WebGUI/Workflow/Activity/SendNewsletters.pm
	lib/WebGUI/i18n/English/Asset.pm
	lib/WebGUI/i18n/English/WebGUI.pm
	sbin/installClass.pl
	sbin/rebuildLineage.pl
	sbin/search.pl
	sbin/testEnvironment.pl
	t/Asset/Asset.t
	t/Asset/AssetClipboard.t
	t/Asset/AssetLineage.t
	t/Asset/AssetMetaData.t
	t/Asset/Event.t
	t/Asset/File.t
	t/Asset/File/Image.t
	t/Asset/Post/notification.t
	t/Asset/Sku.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Wobject/Collaboration/templateVariables.t
	t/Asset/Wobject/Collaboration/unarchiveAll.t
	t/Asset/Wobject/Shelf.t
	t/Auth.t
	t/Macro/EditableToggle.t
	t/Macro/FilePump.t
	t/Shop/Cart.t
	t/Shop/Transaction.t
	t/Storage.t
	t/User.t
	t/Workflow.t
2011-05-13 18:15:11 -05:00
Colin Kuskie
8f687d8aa5 Write a test to make sure Group->new returns undef for non-existant groupIds. 2011-04-01 15:13:16 -07:00
Doug Bell
5f89a281e9 fix #11965: FriendMgr pagination and getUsersNotIn 2010-11-16 13:26:38 -06:00
Colin Kuskie
93b30c6ac2 Fix a smart match/! binding problem 2010-09-22 11:59:06 -07:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Graham Knop
6aa26c2e44 remove WebGUI::Utility::isIn 2010-09-07 12:33:15 -05:00
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Colin Kuskie
7b218942b3 Merge commit '63865eb39f' into WebGUI8. up to 7.9.11 2010-08-13 11:52:08 -07:00
Colin Kuskie
cb2bb75d23 Remove notes and diags 2010-08-10 16:32:10 -07:00
Colin Kuskie
565cf955d7 Merge commit '469c2b72b4' into WebGUI8. All tests passing. 2010-07-01 10:13:22 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -07:00
Colin Kuskie
0b2d78ed71 More END block cleanups, 7 to go. 2010-06-15 16:49:34 -07:00
Graham Knop
30657d61f7 lots of test fixes 2010-06-13 06:19:41 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Scott Walters
867095d811 A user removed from a group with deleteUsers() will still appear to be in that
group according to Inbox.pm, User::getGroupIdsRecursive() and User::getGroups().
Groups.pm wasn't clearing the cache key "getGroupsForUser" in clearCaches().
Tests and fix.
2010-06-08 13:49:02 -04:00
Colin Kuskie
d2b6a7fff1 Fix a bug in how groups using IP filters cache the user Visitor. Also, significant speedups in group lookups. Fixes bug #11552. 2010-05-16 22:11:33 -07:00
Colin Kuskie
96108ffc96 Remove an old cache line. 2010-05-09 18:14:17 -07:00
Colin Kuskie
04ee8f0949 Fix the Group tests. 2010-05-07 18:34:55 -07:00
Graham Knop
a141de0ebf removing first parameter from WebGUI::Session->open and other cleanups 2010-04-15 18:49:26 -05:00
Colin Kuskie
26f7dd8bca Bug #11082: Admin group has been removed from Visitor Group. 2009-10-02 14:13:45 -07:00
Colin Kuskie
da41082cbf Have just 1 list of groups that should not be deleted. 2009-07-05 20:33:31 +00:00
Colin Kuskie
02bf1db238 Add a test to check for the override of expire time in addUsers. 2009-05-10 02:21:18 +00:00
Colin Kuskie
004b8095a1 Add method to clean up test sessions. This has to be done
after ALL other types of objects have been cleaned up.
More test clean-up for users, groups and sessions.
2009-05-01 02:02:12 +00:00
Colin Kuskie
ddd06c2ede Provide a way for WebGUI::Test to register groups to clean up at
the end of a test.
Convert several tests to use that, including Post.t, which leaked Groups.
2009-04-13 02:45:03 +00:00
Colin Kuskie
22665cbdf3 Add a few tests for Group coverage. 2009-04-04 02:33:33 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Colin Kuskie
99adc3f0c2 add coverage tests for Group.t, isUserAdmin 2008-10-14 23:05:54 +00:00
Graham Knop
bbdcb6475a quiet some warnings 2008-09-30 20:03:52 +00:00
Doug Bell
4b82481594 changed User.t and Group.t to use a less used ip address to make tests pass on my network that uses 192.168.0.0/16\
fixed a logic bug in WebGUI/Workflow/Cron
2008-02-18 06:08:16 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
1e1e7a2afa Clean up left-over scratch in two tests to try and get
Workflow/Activity/DeleteExpiredSessions to work in the smoke
tests.
Comment out the two failing tests in Asset.t until my bug
gets answered.  Turns out you can't TODO them because
it requires using Test::Builder instead of Test::More.
2007-12-31 02:12:12 +00:00
Colin Kuskie
8b84ae3e76 Up coverage of addGroups to 100%.
Change tabs to spaces in group diagrams.
Optimize the addGroups membership check so the expensive getGroupsIn
doesn't have to take place.
Add a label to the foreach.
2007-11-26 05:13:32 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
ec3eebda9b remove duplicate code in addUsers, add more tests to Group.t to cover 2007-03-07 00:16:22 +00:00
Colin Kuskie
e17e1f7e4f coverage tests for Group.pm convenience methods 2007-03-04 06:22:57 +00:00
Colin Kuskie
70d7bb2513 Remove some dead code in Group.t
Add more tests for coverage in User.t
2007-02-25 05:57:54 +00:00
Colin Kuskie
751adbcf30 more delta time fixes 2006-08-04 17:53:32 +00:00
Colin Kuskie
b02a93b491 change time difference test to handle bridging across 1 second and be more verbose in output 2006-08-04 16:00:12 +00:00