--- conga/conga.spec.in.in 2008/03/19 20:10:47 1.45.2.74
+++ conga/conga.spec.in.in 2008/03/24 23:18:22 1.45.2.75
@@ -294,6 +294,7 @@
* Wed Feb 27 2008 Ryan McCabe <rmccabe@redhat.com> 0.12.0-6
- Fix bz434586 (Resource tree does not display multiple children of a parent correctly)
- Fix bz304931 (Rich Sybase resource agent configuration support)
+- Fix bz437398 (When Luci session times out a re-login is thought to be a logout.)
* Tue Feb 12 2008 Ryan McCabe <rmccabe@redhat.com> 0.12.0-5
- Fix bz432533 (Do not attempt to install the cmirror package when shared storage is requested)
--- conga/luci/plone-custom/manage_inactive.js 2008/02/08 21:56:33 1.1.2.1
+++ conga/luci/plone-custom/manage_inactive.js 2008/03/24 23:18:23 1.1.2.2
@@ -78,7 +78,7 @@
return (initiate_async_get(check_inactive_url, check_inactive_callback));
}
@@ -184,10 +184,10 @@
from time import time
if userAuthenticated(self):
request.SESSION.set('last_activity', int(time()))
+ request.SESSION.setTimeoutMinutes(max(INACTIVITY_T IMEOUT_SEC / 60, 10))
def user_check_inactive(self, request):
from time import time
- from conga_constants import INACTIVITY_TIMEOUT_SEC as INACTIVITY_TIMEOUT
if not userAuthenticated(self):
return (False, -1)
@@ -196,11 +196,12 @@
old_time = request.SESSION.get('last_activity', None)
if old_time is None:
request.SESSION.set('last_activity', cur_time)
+ request.SESSION.setTimeoutMinutes(max(INACTIVITY_T IMEOUT_SEC / 60, 10))
return (False, -2)
old_time = int(old_time)