cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] conga/luci plone-custom/conga_ajax.js site/luc ...
@ 2007-08-08 21:26 rmccabe
  0 siblings, 0 replies; only message in thread
From: rmccabe @ 2007-08-08 21:26 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2007-08-08 21:26:37

Modified files:
	luci/plone-custom: conga_ajax.js 
	luci/site/luci/Extensions: FenceHandler.py cluster_adapters.py 

Log message:
	sync with RHEL5 branch

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/conga_ajax.js.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/FenceHandler.py.diff?cvsroot=cluster&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.265&r2=1.266

--- conga/luci/plone-custom/conga_ajax.js	2007/08/08 21:00:07	1.2
+++ conga/luci/plone-custom/conga_ajax.js	2007/08/08 21:26:37	1.3
@@ -1,3 +1,12 @@
+/*
+** Copyright (C) 2007 Red Hat, Inc.
+**
+** This program is free software; you can redistribute
+** it and/or modify it under the terms of version 2 of the
+** GNU General Public License as published by the
+** Free Software Foundation.
+*/
+
 var xmlHttp_object = false;
 
 function initiate_async_get(url, callback_function) {
--- conga/luci/site/luci/Extensions/FenceHandler.py	2007/07/27 16:43:47	1.21
+++ conga/luci/site/luci/Extensions/FenceHandler.py	2007/08/08 21:26:37	1.22
@@ -246,7 +246,11 @@
 	try:
 		pwd = form['passwd'].strip()
 		if not pwd:
-			raise Exception, 'blank'
+			# Allow passwords that consist of only spaces.
+			if not form.has_key('passwd') or form['passwd'] == '':
+				raise Exception, 'blank'
+			else:
+				pwd = form['passwd']
 		fencedev.addAttribute('passwd', pwd)
 		has_passwd = True
 	except Exception, e:
--- conga/luci/site/luci/Extensions/cluster_adapters.py	2007/08/08 21:00:07	1.265
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2007/08/08 21:26:37	1.266
@@ -2136,7 +2136,7 @@
 
 	host_list = fvars['__NODE_HOSTNAME__']
 	if not host_list:
-		return (False, { 'errors': [ 'No cluster node addresses were given', '%r' % request.form ]})
+		return (False, { 'errors': [ 'No cluster node addresses were given' ]})
 
 	baseurl = fvars['URL'] or LUCI_CLUSTER_BASE_URL
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-08 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 21:26 [Cluster-devel] conga/luci plone-custom/conga_ajax.js site/luc rmccabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).