conga/luci ChangeLog configure load_site.py cl ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-09-11 16:04:36
Modified files:
luci : ChangeLog configure load_site.py
luci/cluster : fence_device.js form-macros
validate_config_multicast.js
luci/conga_ssl : SSLClient.cpp SSLClient.h conga_ssl_lib.cpp
setup.py
luci/docs : config_rhel5 user_manual.html
luci/homebase : form-macros
luci/logs : index_html
luci/plone-custom: README footer global_personalbar
login_form_validate.vpy login_success main_template portlet_login
luci/site/luci/Extensions: LuciClusterActions.py
LuciClusterInfo.py cluster_adapters.py
luci/site/luci/Extensions/ClusterModel: ClusterNode.py Cman.py
Fence.py FenceDaemon.py Gulm.py Heuristic.py Lockserver.py ModelBuilder.py Multicast.py Rm.py Totem.py
luci/site/luci/Products/ManagedSystem: ManagedSystem.py
__init__.py
luci/site/luci/Products/ManagedSystem/skins:
managedsystem_edit_form.cpt managedsystem_view.pt
luci/site/luci/bin: runzope.in
luci/site/luci/etc: zope.conf.in
luci/storage : cache_report check-batch clu_portlet_fetcher
form-chooser form-macros index_html mappings_macros mappings_provider portlet_cluconfig portlet_cluconfig_macro validate_html
luci/sysconfig : luci
Log message:
luci whitespace cleanup
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/ChangeLog.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/configure.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/load_site.py.diff?cvsroot=cluster&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/fence_device.js.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.210&r2=1.211
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/validate_config_multicast.js.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/conga_ssl/SSLClient.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/conga_ssl/SSLClient.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/conga_ssl/conga_ssl_lib.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/conga_ssl/setup.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/docs/config_rhel5.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/docs/user_manual.html.diff?cvsroot=cluster&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.59&r2=1.60
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/logs/index_html.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/README.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/footer.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/global_personalbar.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form_validate.vpy.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_success.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/main_template.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/portlet_login.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterActions.py.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterInfo.py.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.269&r2=1.270
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ClusterNode.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Cman.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Fence.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceDaemon.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Gulm.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Heuristic.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Lockserver.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ModelBuilder.py.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Multicast.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Rm.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Totem.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Products/ManagedSystem/ManagedSystem.py.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Products/ManagedSystem/__init__.py.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Products/ManagedSystem/skins/managedsystem_edit_form.cpt.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Products/ManagedSystem/skins/managedsystem_view.pt.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/bin/runzope.in.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/etc/zope.conf.in.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/cache_report.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/check-batch.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/clu_portlet_fetcher.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-chooser.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/index_html.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/mappings_macros.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/mappings_provider.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/portlet_cluconfig.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/portlet_cluconfig_macro.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/validate_html.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/sysconfig/luci.diff?cvsroot=cluster&r1=1.1&r2=1.2
luci/ChangeLog +6 -7
@@ -1,15 +1,14 @@ -2006-07-24 Stanko Kupcevic <[email protected]> - * include zope and plone into rpm if - ../autogen.sh --include_zope_and_plone=yes +2006-07-24 Stanko Kupcevic <[email protected]> + * include zope and plone into rpm if + ../autogen.sh --include_zope_and_plone=yes and configure system accordingly -2006-07-18 Stanko Kupcevic <[email protected]> +2006-07-18 Stanko Kupcevic <[email protected]> * storage: add icons to property dialogs -2006-07-17 Stanko Kupcevic <[email protected]> +2006-07-17 Stanko Kupcevic <[email protected]> * storage: styling of property dialogs -2006-07-12 Stanko Kupcevic <[email protected]> +2006-07-12 Stanko Kupcevic <[email protected]> * storage: use pretty properties' names -
luci/configure +2 -2
@@ -19,7 +19,7 @@ done if [ "$INCLUDE_ZOPE_PLONE" = "" ] ; then echo 'please define "include_zope_and_plone" as yes or no' - echo " eg: $0 --include_zope_and_plone=yes" + echo " eg: $0 --include_zope_and_plone=yes" rm -f $MAKE_DEFINES exit 1 fi
@@ -47,7 +47,7 @@ LIBDIR_SED=\\/lib X86_64_TMP=`uname -a | grep x86_64` -if [ "$X86_64_TMP" ]; then +if [ "$X86_64_TMP" ]; then LIBDIR_SED=\\/lib64 fi
luci/load_site.py +2 -2
@@ -185,7 +185,7 @@ if verbose: print 'Uploaded', dbid except: print 'Unable to upload', dbid except: print 'Unable to delete', dbid - + def upload_cpt(object, f): dir, name = os.path.split(f)
@@ -208,7 +208,7 @@ if verbose: print 'Uploaded', dbid except: print 'Unable to upload', dbid except: print 'Unable to delete', dbid - + def upload_pt(object, f): dir, name = os.path.split(f)
luci/cluster/fence_device.js +1 -1
@@ -104,7 +104,7 @@ fence_type = input_tags[i].value; } } - } + } } var target_form = document.createElement('form');
luci/cluster/form-macros +6 -6
@@ -287,7 +287,7 @@ onClick="allPasswdsSame(this.form)" tal:attributes="checked python: (add_cluster and add_cluster['identical_passwds']) and 'checked'" /> - + Check if node passwords are identical. </li> </ul>
@@ -423,7 +423,7 @@ </tal:block> </td> <td tal:condition="add_cluster" class="systemsTable"> - <img + <img tal:attributes=" src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png'); title sys/fp | string:no key fingerprint available" />
@@ -2387,7 +2387,7 @@ value cur_fencedev/name | nothing" /> </td> </tr> - </table> + </table> <tal:block tal:condition="exists: cur_fencedev"> <input type="hidden" name="existing_device" value="1" />
@@ -3881,7 +3881,7 @@ </tal:block> </td> <td tal:condition="add_cluster" class="systemsTable"> - <img + <img tal:attributes=" src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png'); title sys/fp | string:no key fingerprint available" />
@@ -4904,7 +4904,7 @@ <input type="hidden" name="oldname" tal:condition="exists: fdom/name" tal:attributes="value fdom/name | nothing" /> - + <table class="systemsTable" width="100%"> <thead class="systemsTable"> <tr class="systemsTable">
@@ -5257,7 +5257,7 @@ global cur_fence_type cur_fencedev/agent | nothing" /> </tal:block> - <form name="fencedeveditform" action="" method="post"> + <form name="fencedeveditform" action="" method="post"> <tal:block metal:use-macro="here/form-macros/macros/fencedev-cond-ladder" />
luci/cluster/validate_config_multicast.js +1 -1
@@ -36,7 +36,7 @@ var ifObj = document.getElementById(ifId); if (ifObj) { ifObj.disabled = false; - ifObj.value = prev_mcast_if; + ifObj.value = prev_mcast_if; } }
luci/conga_ssl/SSLClient.cpp +75 -75
420 lines not on this page · raw message
luci/conga_ssl/SSLClient.h +14 -14
@@ -13,7 +13,7 @@You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /*
@@ -44,36 +44,36 @@ public: SSLClient(ClientSocket sock); virtual ~SSLClient(); - +bool connect (unsigned int timeout); - + String send(const String& msg, unsigned int timeout);String recv (unsigned int timeout); - - + +bool peer_has_cert ();bool peer_cert_trusted ();// return true if peer's cert is trusted (either thru CA chain, or saved in cert_store) - + String peer_cert_fingerprint(String& digest); - + bool trust_peer_cert(const String&);bool untrust_peer_cert ();// remove peer's cert from cert_store - + ClientSocket&socket (); - + private: SSLClient(const SSLClient&); SSLClient operator=(const SSLClient&); - +ClientSocket _sock;SSL * _ssl;String _cert_pem; - +bool _connected; - + void check_error(int value, bool& want_read, bool& want_write); - - + + };// class SSLClient
luci/conga_ssl/conga_ssl_lib.cpp +31 -31
189 lines not on this page · raw message
luci/conga_ssl/setup.py +13 -13
@@ -9,27 +9,27 @@ '/usr/include/libxml2'], libraries = ['ssl', 'xml2'], #library_dirs = ['/usr/local/lib'], - sources = ['conga_ssl_lib.cpp', - 'SSLClient.cpp', - '../../ricci/common/ClientSocket.cpp', - '../../ricci/common/Socket.cpp', - '../../ricci/common/Network.cpp', - '../../ricci/common/Logger.cpp', - '../../ricci/common/Time.cpp', - '../../ricci/common/File.cpp', - '../../ricci/common/XML.cpp', - '../../ricci/common/utils.cpp', + sources = ['conga_ssl_lib.cpp', + 'SSLClient.cpp', + '../../ricci/common/ClientSocket.cpp', + '../../ricci/common/Socket.cpp', + '../../ricci/common/Network.cpp', + '../../ricci/common/Logger.cpp', + '../../ricci/common/Time.cpp', + '../../ricci/common/File.cpp', + '../../ricci/common/XML.cpp', + '../../ricci/common/utils.cpp', '../../ricci/common/executils.cpp']) setup (name = 'conga_ssl_lib', version = '0.8', - description = 'SSL Python bindings for Conga', - author = 'Stanko Kupcevic', + description = 'SSL Python bindings for Conga', + author = 'Stanko Kupcevic', author_email = 'kupcevic at redhat.com', copyright = 'Red Hat, Inc.', - license = 'GPL', + license = 'GPL', url = 'http://www.sourceware.org/cluster/conga', long_description = ''' conga_ssl_lib
luci/docs/config_rhel5 +9 -9
@@ -50,13 +50,13 @@ 9000 MTU as the maximum frame size including the IP header. Setting the netmtu and host MTUs to 9000 will cause totem to use the full 9000 bytes of the frame. Then Linux will add a 18 byte header moving the full frame size to 9018. As a -result some hardware will not operate properly with this size of data. A netmtu +result some hardware will not operate properly with this size of data. A netmtu of 8982 seems to work for the few large frame devices that have been tested. Some manufacturers claim large frame support when in fact they support frame sizes of 4500 bytes. <p> Increasing the MTU from 1500 to 8982 doubles throughput performance from 30MB/sec -to 60MB/sec as measured with evsbench with 175000 byte messages with the secauth +to 60MB/sec as measured with evsbench with 175000 byte messages with the secauth directive set to off. <p> When sending multicast traffic, if the network frequently reconfigures, chances are
@@ -73,7 +73,7 @@ multiple threads to encrypt and send multicast messages. <p> A thread directive of 0 indicates that no threaded send should be used. This -mode offers best performance for non-SMP systems. +mode offers best performance for non-SMP systems. <p> The default is 0. <p>
@@ -81,14 +81,14 @@ This directive controls the virtual synchrony filter type used to identify a primary component. The preferred choice is YKD dynamic linear voting, however, for clusters larger then 32 nodes YKD consumes alot of memory. For -large scale clusters that are created by changing the MAX_PROCESSORS_COUNT +large scale clusters that are created by changing the MAX_PROCESSORS_COUNT #define in the C code totem.h file, the virtual synchrony filter "none" is recommended but then AMF and DLCK services (which are currently experimental) are not safe for use. <p> The default is ykd. The vsftype can also be set to none. <p> -Within the +Within the <B>totem </B> directive, there are several configuration options which are used to control
@@ -129,7 +129,7 @@ The default is 4 retransmissions. <p> <dt><a name="join"><strong>join</strong></a><dd> -This timeout specifies in milliseconds how long to wait for join messages in +This timeout specifies in milliseconds how long to wait for join messages in the membership protocol. <p> The default is 100 milliseconds.
@@ -181,10 +181,10 @@ <dt><a name="heartbeat_failures_allowed"><strong>heartbeat_failures_allowed</strong></a><dd> [HeartBeating mechanism] Configures the optional HeartBeating mechanism for faster failure detection. Keep in -mind that engaging this mechanism in lossy networks could cause faulty loss declaration -as the mechanism relies on the network for heartbeating. +mind that engaging this mechanism in lossy networks could cause faulty loss declaration +as the mechanism relies on the network for heartbeating. <p> -So as a rule of thumb use this mechanism if you require improved failure in low to +So as a rule of thumb use this mechanism if you require improved failure in low to medium utilized networks. <p> This constant specifies the number of heartbeat failures the system should tolerate
luci/docs/user_manual.html +77 -77
408 lines not on this page · raw message
luci/homebase/form-macros +8 -8
@@ -187,7 +187,7 @@ <tal:block tal:condition="python:perms"> <span tal:content="string:Select a User" /><br/> - + <select class="homebase" name="userList" onchange="document.location = '/luci/homebase/?pagetype=3&user=' + this.form.userList.options[this.form.userList.selectedIndex].text"> <tal:block tal:define="userlist python: perms">
@@ -307,7 +307,7 @@ <th class="systemsTable"></th> </tr> </thead> - + <tbody class="systemsTable" id="sys_tbody"> <tr class="systemsTable" id="__SYSTEM_ROW_0"> <td class="systemsTable">
@@ -370,7 +370,7 @@ value nothing" /> </td> <td class="systemsTable"> - <img + <img tal:attributes=" src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png'); title sys/fp | string:no key fingerprint available"
@@ -604,7 +604,7 @@ <th class="systemsTable"></th> </tr> </thead> - + <tbody class="systemsTable" id="sys_tbody"> <tr class="systemsTable" id="__SYSTEM_ROW_0"> <td class="systemsTable">
@@ -665,10 +665,10 @@ id python: '__SYSTEM%d:Passwd' % cur_sysnum; name python: '__SYSTEM%d:Passwd' % cur_sysnum; value nothing" /> - + </td> <td class="systemsTable"> - <img + <img tal:attributes=" src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png'); title sys/fp | string:no key fingerprint available"
@@ -812,7 +812,7 @@ id="allSameCheckBox" onclick="allPasswdsSame(this.form)" tal:attributes="checked python: add_cluster['identical_passwds'] and 'checked'" /> - + Check if node passwords are identical. </li> <li class="vanilla" tal:condition="python: add_cluster['pass'] > 0 and 'incomplete' in add_cluster">
@@ -864,7 +864,7 @@ </tal:block> </td> <td class="systemsTable"> - <img + <img tal:attributes=" src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png'); title sys/fp | string:no key fingerprint available" />
luci/logs/index_html +3 -3
@@ -27,7 +27,7 @@ <metal:headslot define-slot="head_slot" /> <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template </tal:comment> </metal:headslot> - + <metal:styleslot fill-slot="style_slot"> <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template </tal:comment> <metal:styleslot define-slot="style_slot" />
@@ -115,8 +115,8 @@ <div id="log_data"> <h2>Recent log information for <span tal:replace="request/nodename | string: host"/></h2> - - <div id="log_entries"> + + <div id="log_entries"> <table style="width: 100%"> <tr><td><div style="padding-bottom: 2cm;"> </div></td></tr> <tr>
luci/plone-custom/README +1 -1
@@ -1,4 +1,4 @@ -custom.xml is a backup of whole portal_skins/custom directory, including methods, types and permisions. +custom.xml is a backup of whole portal_skins/custom directory, including methods, types and permisions. Other files are a content of the same dir. So, custom.xml is to be restored first, thru ZMI, the rest of files can be pushed using Makefile.
luci/plone-custom/footer +4 -4
@@ -4,7 +4,7 @@ <p> <span i18n:translate="description_copyright" tal:omit-tag=""> - The + The <span> <a href="http://www.sourceware.org/cluster/conga"> Conga Cluster and Storage Management System</a>
@@ -14,8 +14,8 @@ © </acronym> 2000—<span - i18n:name="current_year" - tal:define="now modules/DateTime/DateTime" + i18n:name="current_year" + tal:define="now modules/DateTime/DateTime" tal:content="now/year" /> <a href="http://www.redhat.com/">Red Hat, Inc.</a> </span>
@@ -23,7 +23,7 @@ <p> <span i18n:translate="description_license"> - Distributed under the + Distributed under the <span i18n:name="license"> <a href="http://creativecommons.org/licenses/GPL/2.0/" i18n:translate="label_gnu_gpl_licence">GNU GPL license</a> </span>.
luci/plone-custom/global_personalbar +1 -1
@@ -15,7 +15,7 @@ <tal:comment tal:replace="nothing"> <tal:block condition="not: isAnon"> - <li class="portalUser" + <li class="portalUser" tal:define="author python:mtool.getMemberInfo(user.getId())"> <a id="user-name" tal:attributes="href string:${portal_url}/author/${user/getId}">
luci/plone-custom/login_form_validate.vpy +1 -1
@@ -35,7 +35,7 @@ password_empty = request.get('pwd_empty', None)=='1' ac_name = auth.name_cookie ac_password = auth.pw_cookie - + if not user_name: # no user name state.setError(ac_name, _(u'Please enter your login name.'), 'login_name_required')
luci/plone-custom/login_success +1 -1
@@ -32,7 +32,7 @@ <div tal:condition="not:js_enabled"> <p i18n:translate="description_javascript_advantage"> You can take fuller advantage of the features of this site - if you enable javascript in your browser. + if you enable javascript in your browser. </p> <p i18n:translate="description_enable_cookies_for_login">
luci/plone-custom/main_template +2 -2
@@ -27,7 +27,7 @@ <metal:headslot define-slot="head_slot" /> <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template </tal:comment> </metal:headslot> - + <metal:styleslot fill-slot="style_slot"> <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template </tal:comment> <metal:styleslot define-slot="style_slot" />
@@ -142,7 +142,7 @@ <tal:comment replace="nothing"> Start of right column </tal:comment> <td id="portal-column-two" - metal:define-slot="column_two_slot" + metal:define-slot="column_two_slot" tal:condition="python: False"> <div class="visualPadding"> <metal:portlets define-slot="portlets_two_slot">
luci/plone-custom/portlet_login +3 -3
@@ -59,7 +59,7 @@ tabindex tabindex/next" i18n:attributes="alt label_login_name;"/> </div> - + <div class="field"> <label for="" tal:attributes="for ac_password"
@@ -77,7 +77,7 @@ Cookies are not enabled. You must <span i18n:name="enable_cookies"> <a href="enabling_cookies" i18n:translate="label_enable_cookies">enable cookies</a></span> before you can log in. </div> - + <div class="formControls"> <input type="submit" name="submit" value="Log in" alt="Log in" tal:attributes="tabindex tabindex/next;
@@ -100,7 +100,7 @@ <dd class="portletItem" tal:condition="python: not auth" i18n:translate="login_portlet_disabled"> - Cookie authentication is disabled. + Cookie authentication is disabled. Login portlet not available. </dd>
luci/site/luci/Extensions/LuciClusterActions.py +1 -1
@@ -603,7 +603,7 @@ luci_log.debug_verbose('FNF0: no ricci to fence %s for cluster %s' \ % (nodename_resolved, clustername)) return None - + batch_number, result = rq.nodeFence(rc, nodename_resolved) if batch_number is None or result is None: if LUCI_DEBUG_MODE is True:
luci/site/luci/Extensions/LuciClusterInfo.py +1 -1
@@ -372,7 +372,7 @@ for node in nodenames: if node != nodename: starturl = {} - starturl['nodename'] = node + starturl['nodename'] = node starturl['url'] = '%s?clustername=%s&servicename=%s&pagetype=%s&nodename=%s' % (baseurl, cluname, servicename, SERVICE_START, node) starturls.append(starturl)
luci/site/luci/Extensions/cluster_adapters.py +1 -1
@@ -2511,7 +2511,7 @@ return busy_map clusterfolder = getClusterDBObj(self, cluname) - + if LUCI_DEBUG_MODE is True: luci_log.debug_verbose('ICB2: %s is busy: %d flags' \ % (cluname, len(items)))
luci/site/luci/Extensions/ClusterModel/ClusterNode.py +1 -1
@@ -43,7 +43,7 @@ def setInterface(self, ifc): nd = self.getMulticastNode() if nd is None: - return + return else: nd.addAttribute("interface", ifc)
luci/site/luci/Extensions/ClusterModel/Cman.py +1 -1
@@ -12,4 +12,4 @@ class Cman(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/Fence.py +1 -1
@@ -12,4 +12,4 @@ class Fence(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/FenceDaemon.py +1 -1
@@ -16,7 +16,7 @@ class FenceDaemon(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME self.addAttribute('post_join_delay', POST_JOIN_DEFAULT) self.addAttribute('post_fail_delay', POST_FAIL_DEFAULT) self.addAttribute('clean_start', CLEAN_START_DEFAULT)
luci/site/luci/Extensions/ClusterModel/Gulm.py +1 -1
@@ -12,4 +12,4 @@ class Gulm(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/Heuristic.py +1 -1
@@ -12,4 +12,4 @@ class Heuristic(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/Lockserver.py +1 -1
@@ -12,4 +12,4 @@ class Lockserver(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/ModelBuilder.py +1 -1
@@ -973,7 +973,7 @@ mcast.removeAttribute('interface') except: pass - self.mcast_address = mcast_addr + self.mcast_address = mcast_addr self.mcast_interface = mcast_if self.usesMulticast = True self.set_nodes_multicast(mcast_addr, mcast_if=mcast_if)
luci/site/luci/Extensions/ClusterModel/Multicast.py +1 -1
@@ -12,4 +12,4 @@ class Multicast(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/Rm.py +1 -1
@@ -12,4 +12,4 @@ class Rm(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Extensions/ClusterModel/Totem.py +1 -1
@@ -12,4 +12,4 @@ class Totem(TagObject): def __init__(self): TagObject.__init__(self) - self.TAG_NAME = TAG_NAME + self.TAG_NAME = TAG_NAME
luci/site/luci/Products/ManagedSystem/ManagedSystem.py +1 -1
@@ -29,7 +29,7 @@ class ManagedSystem(PortalContent, DefaultDublinCoreImpl): meta_type = product_name - __implements__ = ( + __implements__ = ( PortalContent.__implements__, DefaultDublinCoreImpl.__implements__ )
luci/site/luci/Products/ManagedSystem/__init__.py +1 -4
@@ -12,12 +12,9 @@ registerDirectory('skins', globals()) def initialize(context): - product = utils.ContentInit(product_name, + product = utils.ContentInit(product_name, content_types = contentClasses, permission = add_permission, extra_constructors = contentConstructors, fti = contentFTI) product.initialize(context) - - -
luci/site/luci/Products/ManagedSystem/skins/managedsystem_edit_form.cpt +63 -63
236 lines not on this page · raw message
luci/site/luci/Products/ManagedSystem/skins/managedsystem_view.pt +4 -4
@@ -15,19 +15,19 @@ <h1 tal:content="object_title" class="documentFirstHeading"> Title or id </h1> - + <p class="documentDescription" tal:content="here/Description" tal:condition="here/Description"> Description </p> - + <p tal:condition="python: not text and is_editable" i18n:translate="no_body_text" class="discreet"> This item does not have any body text, click the edit tab to change it. </p> - + <div class="stx" tal:condition="text" tal:attributes="class python:test(here.Format() in ('text/structured',
@@ -35,7 +35,7 @@ <div tal:replace="structure text" /> </div> - + </tal:main-macro> </metal:main>
luci/site/luci/bin/runzope.in +2 -2
@@ -22,11 +22,11 @@ if /bin/grep True /var/lib/luci/.default_password_has_been_reset >/dev/null 2>&1; then exec "$PYTHON" "$ZOPE_RUN" -C "$CONFIG_FILE" "$@" -else +else echo "" echo "" echo "luci's 'admin' password has to be changed before server is allowed to start" - echo "To do so, execute (as root): " + echo "To do so, execute (as root): " echo -e "\tluci_admin password" echo "" echo ""
luci/site/luci/etc/zope.conf.in +2 -2
@@ -431,7 +431,7 @@ # Directive: cgi-maxlen # # Description: -# Set this value to limit the amount of form data being processed +# Set this value to limit the amount of form data being processed # by Zope to prevent DoS attacks. # # Default: 0 (= no restrictions)
@@ -887,7 +887,7 @@ # # Port numbers are offset by the setting of port-base. # -# To run the monitor-server an emergency user must be defined +# To run the monitor-server an emergency user must be defined # (through an 'access' file). # # Default:
luci/storage/cache_report +1 -1
@@ -7,7 +7,7 @@ <span tal:define="global ricci python:here.get_ricci_communicator(storagename, allowed_systems); global cache_result python:here.cache_storage_report(ricci, request.SESSION)" tal:replace="string:"/> -<span tal:condition="python: cache_result == True" +<span tal:condition="python: cache_result == True" tal:replace="string:OK"/> <span tal:condition="python: cache_result != True and access_to_host_allowed" tal:replace="structure cache_result"/>
luci/storage/check-batch +10 -10
@@ -1,11 +1,11 @@ -<span tal:omit-tag="" - tal:define="global storagename request/storagename; +<span tal:omit-tag="" + tal:define="global storagename request/storagename; global batch_id request/batch_id"/> -<span tal:omit-tag="" - tal:define="stosystemss context/systems/storage/objectItems; - global allowed_systems python:here.allowed_systems(stosystemss); +<span tal:omit-tag="" + tal:define="stosystemss context/systems/storage/objectItems; + global allowed_systems python:here.allowed_systems(stosystemss); global access_to_host_allowed python:here.access_to_host_allowed(storagename, allowed_systems)"/> -<span tal:omit-tag="" +<span tal:omit-tag="" tal:define="global ricci python:here.get_ricci_communicator(storagename, allowed_systems)"/>
@@ -23,11 +23,11 @@ <span tal:omit-tag="" tal:define="index_html_URL context/storage/index_html/absolute_url; dummy python:here.get_storage_batch_result(storagename, ricci, index_html_URL, batch_id); - error dummy/error; - completed dummy/completed; - redirect_url dummy/redirect_url; + error dummy/error; + completed dummy/completed; + redirect_url dummy/redirect_url; msg dummy/msg"> - + <span tal:omit-tag="" tal:condition="not: error"> <span tal:omit-tag=""
luci/storage/clu_portlet_fetcher +1 -1
@@ -5,7 +5,7 @@ <metal:leftcolumn define-macro="left_column"> <span tal:define="global stosystems allowed_systems"/> -<div tal:omit-tag="" metal:use-macro="here/portlet_cluconfig/macros/stochooseportlet" /> +<div tal:omit-tag="" metal:use-macro="here/portlet_cluconfig/macros/stochooseportlet" /> <!-- <span tal:omit-tag="" tal:define="global hasstoragename request/storagename |nothing"/> <span tal:omit-tag="" tal:condition="hasstoragename">
luci/storage/form-chooser +5 -5
@@ -3,14 +3,14 @@ <title id="pagetitle" tal:content="template/title">The title</title> </head> <body> - + <metal:choose-form metal:define-macro="main-form"> - + <span tal:omit-tag="" tal:define="global preferred_size_units python:here.set_persistent_var('preferred_size_units', 'GB')"/> <span tal:omit-tag="" tal:define="global preferred_path_display python:here.set_persistent_var('preferred_path_display', 'path')"/> - + <!-- <span tal:omit-tag="" tal:condition="python: storage_report == None and storagename != None"> <div metal:use-macro="here/form-macros/macros/error-form"/>
@@ -25,7 +25,7 @@ </span> <span tal:omit-tag="" tal:condition="python: storage_report == None and storagename != None and access_to_host_allowed"> - <div metal:use-macro="here/form-macros/macros/wait-probing-storage"/> + <div metal:use-macro="here/form-macros/macros/wait-probing-storage"/> </span> <span tal:omit-tag="" tal:condition="python: (pagetype == '0' or pagetype == None) and storagename == None">
@@ -33,7 +33,7 @@ </span> <span tal:omit-tag="" tal:condition="python: pagetype=='commit_changes' and storage_report != None"> - <div metal:use-macro="here/form-macros/macros/commit-changes"/> + <div metal:use-macro="here/form-macros/macros/commit-changes"/> </span> <span tal:omit-tag="" tal:condition="python: pagetype == '44' and storage_report != None">
luci/storage/form-macros +247 -247
1,051 lines not on this page · raw message
luci/storage/index_html +8 -8
Lines of this file are not shown. View the raw message.
luci/storage/mappings_macros +9 -9
Lines of this file are not shown. View the raw message.
luci/storage/mappings_provider +64 -64
128 lines not on this page · raw message
luci/storage/portlet_cluconfig +3 -3
Lines of this file are not shown. View the raw message.
luci/storage/portlet_cluconfig_macro +1 -1
Lines of this file are not shown. View the raw message.
luci/storage/validate_html +10 -10
Lines of this file are not shown. View the raw message.
luci/sysconfig/luci +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.