Commit graph

20 commits

Author SHA1 Message Date
Colin Kuskie
3d10acb8ce update User test now that group caches are flushed properly 2006-05-19 03:53:50 +00:00
Colin Kuskie
cb2a8d025e I am 4 kinds of fool 2006-04-15 16:51:23 +00:00
Colin Kuskie
bbd17516e8 add cache clearing to end of User and Group tests, too 2006-04-15 02:36:52 +00:00
Colin Kuskie
1c6fec6695 Flush cache for User and Group tests to pass.
Add group cache clear to Group.pm
templateId clash due fixed
2006-04-15 02:32:38 +00:00
Colin Kuskie
ad694fb030 Fix User.t so that it assigns IPs in a way that works with the new isInGroup code.
User.pm: Collapse all methods into getUsers(1) inside isInGroup
Group.pm: Disable the cache whenever a scratchFilter or ipFilter is assigned.
Begin updating Group documentation for changes to dbQuery
2006-04-12 23:33:11 +00:00
Colin Kuskie
3e179fa4ad Group.t: group karma tests, better clean-up at end
User.t: better clean-up at end
Scratch.t: no newlines in test output
Session/Scratch.pm: convert to use placeholders
Ad.pm: Add missing line of POD.
Group.pm: add method to get all users in a group by karma.
User.pm: isInGroup to use getKarmaUsers.
2006-04-06 16:52:34 +00:00
JT Smith
de20e89c98 fixed errors reported by smoke tests 2006-03-25 19:50:46 +00:00
Colin Kuskie
0cda78d536 bad test nomenclature 2006-03-19 00:24:40 +00:00
Colin Kuskie
e8a364f526 New user and group tests for caching and membership and default group settings.
Cache busting in User.pm.
Allow Visitor to be formally added to groups 2 and 7.
More placeholder work.
Update Help for Secondary Admins.
2006-03-18 05:36:04 +00:00
Colin Kuskie
5ec8690e53 More user testing, for addToGroup. Also, make sure that the test for ipFilter
always cleans up after itself.

Fix a bug where Operation::User::_submenu was still using form->process.  Switched
to using stow instead.

If the uid is "new", links for delete and become user are not shown anymore.
2006-03-18 00:18:31 +00:00
Colin Kuskie
cd6759f311 Modify WebGUI IP fields to use CIDR format instead of a regular expression.
Multiple IPs are separated by commas, whitespace is ignored.
In groups, that affects the ipFilter field,  User::isInGroup.
In settings, that affects Settings::debugIp and Session::ErrorHandler::canShowDebug.

Fixed a bug in WebGUI::Utility::isInSubnet where Net::Subnets->check needs a scalar.

Modified t/User.t to use addresses in CIDR format.
2006-02-14 22:35:21 +00:00
Colin Kuskie
84fd39285f new user tests for valid userId 2006-02-14 06:52:58 +00:00
Colin Kuskie
62a841ced9 Move 6.8's Group ipFilter test into User.t since isInGroup was moved into WebGUI::User.pm
forward port of ipFilter bugfix, typo
2006-02-10 20:31:26 +00:00
Matthew Wilson
6266be5b65 lots more fixes and enhanced User.t 2006-01-18 15:22:43 +00:00
Matthew Wilson
29a75c50b8 increment number of tests. 2006-01-18 03:29:12 +00:00
Matthew Wilson
e33c7bebc3 an absolute slew of changes. 2006-01-18 01:45:55 +00:00
Christian Hansen
83d59837fd Ported all tests 2006-01-17 22:06:21 +00:00
JT Smith
b1ab07d24f more session related bug fixes 2006-01-14 21:30:49 +00:00
JT Smith
20a4aebb13 first round at fixing tests to work with new session system 2006-01-12 22:49:38 +00:00
Roy Johnson
6151e59cbd Added tests for User.pm
Fixed lastUpdated bugs in User.pm
Fixed karma bug in User.pm
2005-12-06 05:10:58 +00:00