Author: vjrj_ Date: 2012-04-09 20:07:48 +0200 (Mon, 09 Apr 2012) New Revision: 1832 Added: trunk/img/icons/custom-iconic/lists-add.svg trunk/script/setOpenfireProperty.sh Log: minor icon and script Added: trunk/img/icons/custom-iconic/lists-add.svg =================================================================== --- trunk/img/icons/custom-iconic/lists-add.svg (rev 0) +++ trunk/img/icons/custom-iconic/lists-add.svg 2012-04-09 18:07:48 UTC (rev 1832) @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Layer_1" + x="0px" + y="0px" + width="32px" + height="32px" + viewBox="0 0 32 32" + style="enable-background:new 0 0 32 32;" + xml:space="preserve" + inkscape:version="0.48.2 r9819" + sodipodi:docname="lists-add.svg"><metadata + id="metadata19"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs17"> + + + + + +</defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1280" + inkscape:window-height="776" + id="namedview15" + showgrid="true" + inkscape:zoom="2.8284271" + inkscape:cx="19.79439" + inkscape:cy="27.540859" + inkscape:window-x="0" + inkscape:window-y="24" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1"><inkscape:grid + type="xygrid" + id="grid3015" /></sodipodi:namedview> +<g + id="g3000"><polygon + transform="matrix(-1,0,0,1,32,0)" + style="fill:#231f20" + points="32,0 32,4 32,4 0,4 0,0 " + id="polygon5" /><polygon + transform="matrix(-1.4,0,0,1,32,0)" + style="fill:#231f20" + points="20,12 0,12 0,8 20,8 20,12 " + id="polygon7" /><polygon + transform="matrix(-0.875,0,0,1,32,0)" + style="fill:#231f20" + points="32,24 0,24 0,20 32,20 32,24 " + id="polygon9" /><polygon + transform="matrix(-1,0,0,1,32,0)" + style="fill:#231f20" + points="24,28 24,32 24,32 0,32 0,28 " + id="polygon11" /></g> +<path + sodipodi:type="arc" + style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#231f20;stroke-width:3.20000005;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="path4645" + sodipodi:cx="26" + sodipodi:cy="30" + sodipodi:rx="8" + sodipodi:ry="8" + d="m 34,30 a 8,8 0 1 1 -16,0 8,8 0 1 1 16,0 z" + transform="matrix(1.25,0,0,1.25,-12.321478,-21.5)" /><path + style="fill:none;stroke:#231f20;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="M 20,12.000256 C 20,19.761768 20,20 20,20" + id="path5203" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /><path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path5205" + d="m 16.000128,16.000128 c 7.761512,0 7.999744,0 7.999744,0" + style="fill:none;stroke:#231f20;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></svg> \ No newline at end of file Added: trunk/script/setOpenfireProperty.sh =================================================================== --- trunk/script/setOpenfireProperty.sh (rev 0) +++ trunk/script/setOpenfireProperty.sh 2012-04-09 18:07:48 UTC (rev 1832) @@ -0,0 +1,29 @@ +echo "Under development" +exit +KUNE_DB=$1 +KUNE_DB_USER=$2 +KUNE_DB_PASS=$3 +OPENFIRE_DB=$4 +OPENFIRE_DB_USER=$5 +OPENFIRE_DB_PASS=$6 +DOMAIN=$7 +cat << EOF | awk -F "|" '{print "UPDATE ofProperty SET propValue=\""$2"\" WHERE name=\""$1"\";" }' +com.mysql.jdbc.Driver|jdbc:mysql://localhost/$OPENFIRE_DB?user=$OPENFIRE_DB_USER&password=$OPENFIRE_DB_PASS&useUnicode=true&characterEncoding=utf-8 +jdbcProvider.driver|com.mysql.jdbc.Driver +jdbcProvider.connectionString|jdbc:mysql://localhost/$KUNE_DB?user=$KUNE_DB_USER&password=$KUNE_DB_PASS&useUnicode=true&characterEncoding=utf-8 + +provider.auth.className|org.jivesoftware.openfire.auth.JDBCAuthProvider +provider.user.className|org.jivesoftware.openfire.user.JDBCUserProvider +jdbcAuthProvider.passwordSQL|SELECT password FROM $KUNE_DB.kusers WHERE shortName=? +jdbcAuthProvider.passwordType|plain +jdbcUserProvider.allUsersSQL|SELECT shortName FROM $KUNE_DB.kusers +jdbcUserProvider.emailField|email +jdbcUserProvider.loadUserSQL|SELECT shortName,email FROM $KUNE_DB.kusers WHERE shortName=? +jdbcUserProvider.nameField|name +jdbcUserProvider.searchSQL|SELECT shortName FROM $KUNE_DB.kusers WHERE +jdbcUserProvider.userCountSQL|SELECT COUNT(*) FROM $KUNE_DB.kusers +jdbcUserProvider.usernameField|shortName +admin.authorizedJIDs|admin@$DOMAIN +EOF +exit + Property changes on: trunk/script/setOpenfireProperty.sh ___________________________________________________________________ Name: svn:executable + *