Mercurial > noffle
diff ChangeLog @ 191:28488e0e3630 noffle
[svn] * src/group.h,src/group.c,src/noffle.c,src/server.c: Grp_setLastAccess is
only ever called with last param as time(NULL), so remove it and call
time() inside the implementation of Grp_setLastAccess.
* src/client.c,src/group.h,src/group.c,src/noffle.c,src/post.c: Groups are
automatically unsubscribed when the last access to the group is older
than a particular threshold. However, for very low traffic groups, the
last access may exceed the threshold simply because there has been no new
article posted. In this case, rather than unsubscribe, update the group
last access time. This means that groups are now only unsubscribed if
the last access exceeds the threshold AND articles have arrived in the
group since. Add Grp_setLastPostTime() to track the last time an article
arrived in the group.
author | bears |
---|---|
date | Sat, 20 Oct 2001 14:23:46 +0100 |
parents | b1b6963fdd63 |
children | b9ef99708d1c |
line wrap: on
line diff
--- a/ChangeLog Fri Oct 05 16:44:22 2001 +0100 +++ b/ChangeLog Sat Oct 20 14:23:46 2001 +0100 @@ -1,3 +1,18 @@ +Sat Oct 20 2001 Jim Hague <jim.hague@acm.org> + +* src/group.h,src/group.c,src/noffle.c,src/server.c: Grp_setLastAccess is + only ever called with last param as time(NULL), so remove it and call + time() inside the implementation of Grp_setLastAccess. +* src/client.c,src/group.h,src/group.c,src/noffle.c,src/post.c: Groups are + automatically unsubscribed when the last access to the group is older + than a particular threshold. However, for very low traffic groups, the + last access may exceed the threshold simply because there has been no new + article posted. In this case, rather than unsubscribe, update the group + last access time. This means that groups are now only unsubscribed if + the last access exceeds the threshold AND articles have arrived in the + group since. Add Grp_setLastPostTime() to track the last time an article + arrived in the group. + Fri Oct 05 2001 Markus Enzenberger <me@markus-enzenberger.de> * src/configfile.c: fix bug with missing initialization of user name and passwd