Commit graph

102 commits

Author SHA1 Message Date
Wouter van Oijen
684f08649d Fixing stuff 2006-05-21 14:49:40 +00:00
Matthew Wilson
0732eef9ce $u->status('Deactivated') does not expire existing sessions 2006-05-19 02:41:03 +00:00
JT Smith
6f397be60b fix [ 1490336 ] all versions - deleting a user fails to existing sessions 2006-05-18 03:16:23 +00:00
JT Smith
d089539ddd add email posting without subscription 2006-05-17 20:04:33 +00:00
Colin Kuskie
2f5dab37d2 finalized Group code with migration and upgrade log 2006-04-14 01:17:39 +00:00
Colin Kuskie
4f60281392 change dbCacheTimeout to groupCacheTimeout 2006-04-13 22:26:11 +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
91c4083d8a Roll all checks into 1 massive recursive getUsers call on the
requested group.  LDAP work is TBD, but would look exactly
like any of the other get*Users methods in Group.pm.  Then
the LDAP code would be removed from Users->isInGroup.
2006-04-11 22:38:41 +00:00
Colin Kuskie
8b8b4af41b Checkpoint before final conversion.
Added getIpUsers method to Group.pm
Group->getUsers and User->isInGroup both use getIpUsers
Tests added to Group.t to verify that getIpUsers works.
2006-04-11 21:17:30 +00:00
JT Smith
ee62336a77 we officially support attachments on our cs mail posts 2006-04-10 13:36:12 +00:00
JT Smith
a15795519d and we officially have email to discussion working 2006-04-10 13:21:46 +00:00
JT Smith
6c6d36c981 readding mail footer to email messages
removed some old settings that don't apply any longer
2006-04-09 16:12:32 +00:00
Colin Kuskie
e5e9cd9b51 add tests for scratch users and migrate getUsers,isInGroup to use it 2006-04-07 20:42:36 +00:00
Colin Kuskie
f9b8582426 Scratch filter tests in prep for WebGUI::Group->getScratchUsers
Small tweaks for User.pm scratch and Group.pm POD
Update scratchFilter docs to show how to place multiple name and value pairs
2006-04-06 22:02:54 +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
Colin Kuskie
510c1f5ca5 Modify User.pm and Group.pm to consider external means of defining users,
such as a dbQuery.  This would happened coincidently before, but required
doing a User->isInGroup and only added members who were searched for rather
than all members.
Modify Group.t to test this.
Update POD in SQL.pm.
2006-04-05 18:35:26 +00:00
Colin Kuskie
c802e4ddad Add tests for database defined groups to Group.t
Clear cache on set of databaseLinkId or dbQuery in WebGUI::Group.pm.
Fix typos, missing module use lines and extra variables in WebGUI::User.pm.
2006-04-03 18:07:09 +00:00
JT Smith
955293ecc7 fixing error reported by smoke tests 2006-03-24 14:31:25 +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
528d0deaa5 bad stow methods fixed 2006-03-17 19:06:12 +00:00
Colin Kuskie
248f77f3a9 Added more test in preparation for changing Group SQL query work.
Update documentation in User.pm and Group.pm.
Refactor Group.pm to use placholders.
Fix typo in getGroupsIn where wrong key in hash was accessed.
2006-03-13 04:43:05 +00:00
Colin Kuskie
a991401a6a User.pm: fixed a type Group->group should be group->get
Template documentation for EMS and another i18n label.
2006-02-20 20:37:27 +00:00
JT Smith
6ee05b85af first round of changes to create the ui for building workflows, more to come
a few small bug fixes
2006-02-15 21:23:22 +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
0c69c93f41 forward port of becoming illegal userId bugfix 2006-02-14 06:50:14 +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
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
JT Smith
518a65df78 the beginnings of the message log replacement 2006-01-31 21:45:17 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
JT Smith
2ea770bd05 merging 6.8.6 bugfix 2006-01-19 23:07:54 +00:00
Matthew Wilson
6eb252d907 removing debug. 2006-01-17 16:05:47 +00:00
Matthew Wilson
4b4ddd768c finally fixed the dang User.pm bug. 2006-01-16 23:07:56 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
JT Smith
b0d10ec7f0 more session related bug fixes 2006-01-15 18:17:08 +00:00
JT Smith
89a6e4efdb more session related bug fixes 2006-01-15 17:49:03 +00:00
JT Smith
7aedfa089d fix 2006-01-14 23:22:53 +00:00
JT Smith
b1ab07d24f more session related bug fixes 2006-01-14 21:30:49 +00:00
JT Smith
30c3d8815d more session related bug fixes 2006-01-13 20:51:14 +00:00
JT Smith
970eeb048a adding deconstructors 2006-01-13 17:53:53 +00:00
JT Smith
d6583c8986 more bug fixes 2006-01-13 05:14:51 +00:00
Colin Kuskie
3d12dc2b4a typo fixes 2006-01-13 04:26:03 +00:00
Colin Kuskie
314a317f56 more typos. looks like some kind of pattern where string concatenation got broken with one of the upgrade scripts 2006-01-13 04:18:05 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
JT Smith
65a40d75ac refactored WebGUI::LDAPLink to use session api 2006-01-12 05:24:52 +00:00
JT Smith
925906ca7e refactored WebGUI::Id to use new session api 2006-01-11 23:34:02 +00:00
JT Smith
c74c1bdcbc merged WebGUI::Groupings with WebGUI::Group and WebGUI::User
changed WebGUI::Group api to work with the new session api
2006-01-11 03:27:07 +00:00
JT Smith
9520b4ce48 migrating datetime api for session 2006-01-10 17:06:41 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
Colin Kuskie
16b9675b0c fix typo 2006-01-05 21:28:54 +00:00