You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(5) |
Oct
(3) |
Nov
(15) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(2) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <sv...@fo...> - 2006-03-21 06:51:46
|
Author: paweln Date: 2006-03-20 21:27:23 +0100 (Mon, 20 Mar 2006) New Revision: 349 Added: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/result_type_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/result_type_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/service_type_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/service_type_listHolder.java Modified: trunk/VERSION trunk/base/jdbc/jdbcd.jar trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/except.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/result_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/service_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Helper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Holder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivq.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_code.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/error.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/gid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/null_error.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHolder.java trunk/base/logger.idl trunk/base/oracle/tables.sql trunk/base/pgsql/cpgsqllog.cc trunk/base/pgsql/cpgsqllog.hpp trunk/base/pgsql/install.pgsql trunk/doc/en.html/arch.clients.html trunk/doc/en.html/arch.db.html trunk/doc/en.html/arch.html trunk/doc/en.html/arch.iauth.html trunk/doc/en.html/arch.ilogger.html trunk/doc/en.html/arch.ivq.html trunk/doc/en.html/com.support.html trunk/doc/en.html/community.authors.html trunk/doc/en.html/community.blog.html trunk/doc/en.html/community.bugs.html trunk/doc/en.html/community.forums.html trunk/doc/en.html/community.html trunk/doc/en.html/community.requests.html trunk/doc/en.html/community.success.html trunk/doc/en.html/devs.html trunk/doc/en.html/devs.java.html trunk/doc/en.html/devs.pkgs.html trunk/doc/en.html/devs.python.html trunk/doc/en.html/doc.gen.html trunk/doc/en.html/doc.gen.makefile.html trunk/doc/en.html/foreword.html trunk/doc/en.html/index.html trunk/doc/en.html/install.comp.html trunk/doc/en.html/install.deps.html trunk/doc/en.html/install.html trunk/doc/en.html/install.install.html trunk/doc/en.html/install.prep.html trunk/doc/en.html/intro.changes.html trunk/doc/en.html/intro.features.html trunk/doc/en.html/intro.html trunk/doc/en.html/intro.missing.html trunk/doc/en.html/intro.todo.html trunk/doc/en.html/intro.trans.html trunk/doc/en.html/license.html trunk/doc/en.html/life.html trunk/doc/en.html/life.integration.html trunk/doc/en.html/life.security.html trunk/doc/en.src/intro.xml trunk/doc/pl.html/arch.clients.html trunk/doc/pl.html/arch.db.html trunk/doc/pl.html/arch.html trunk/doc/pl.html/arch.iauth.html trunk/doc/pl.html/arch.ilogger.html trunk/doc/pl.html/arch.ivq.html trunk/doc/pl.html/com.support.html trunk/doc/pl.html/community.authors.html trunk/doc/pl.html/community.blog.html trunk/doc/pl.html/community.bugs.html trunk/doc/pl.html/community.forums.html trunk/doc/pl.html/community.html trunk/doc/pl.html/community.requests.html trunk/doc/pl.html/community.success.html trunk/doc/pl.html/devs.html trunk/doc/pl.html/devs.java.html trunk/doc/pl.html/devs.pkgs.html trunk/doc/pl.html/devs.python.html trunk/doc/pl.html/doc.gen.html trunk/doc/pl.html/doc.gen.makefile.html trunk/doc/pl.html/foreword.html trunk/doc/pl.html/index.html trunk/doc/pl.html/install.comp.html trunk/doc/pl.html/install.deps.html trunk/doc/pl.html/install.html trunk/doc/pl.html/install.install.html trunk/doc/pl.html/install.prep.html trunk/doc/pl.html/intro.changes.html trunk/doc/pl.html/intro.features.html trunk/doc/pl.html/intro.html trunk/doc/pl.html/intro.missing.html trunk/doc/pl.html/intro.todo.html trunk/doc/pl.html/intro.trans.html trunk/doc/pl.html/license.html trunk/doc/pl.html/life.html trunk/doc/pl.html/life.integration.html trunk/doc/pl.html/life.security.html trunk/doc/pl.src/intro.xml trunk/tests/misc/connect.pl Log: VERSION: 12pre1 CODE: added to logger new functions: read_by_sql, rm_by_sql, dom_ls, user_ls_by_dom, service_ls, result_ls, ip_ls CODE: updated database to version 10, with new views vq_view_log_dom_ls, vq_view_log_user_ls_by_dom, vq_view_log_ip_ls, vq_view_log_result_ls, vq_view_log_service_ls Modified: trunk/VERSION =================================================================== --- trunk/VERSION 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/VERSION 2006-03-20 20:27:23 UTC (rev 349) @@ -1 +1 @@ -11 +12pre1 Modified: trunk/base/jdbc/jdbcd.jar =================================================================== (Binary files differ) Modified: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-20 20:27:23 UTC (rev 349) @@ -514,6 +514,174 @@ /** * */ + public error ip_ls( com.foo_baz.v_q.iloggerPackage.string_listHolder reas ) + throws null_error, db_error, except { + return string_ls_by_sql( reas, "ip", "vq_view_log_ip_ls", "" ); + } + + /** + * + */ + public error dom_ls( com.foo_baz.v_q.iloggerPackage.string_listHolder reas ) + throws null_error, db_error, except { + return string_ls_by_sql( reas, "domain", "vq_view_log_dom_ls", "" ); + } + + /** + * + */ + public error user_ls_by_dom( com.foo_baz.v_q.iloggerPackage.string_listHolder reas ) + throws null_error, db_error, except { + return string_ls_by_sql( reas, "login", "vq_view_log_user_ls_by_dom", + "domain="+this.dom ); + } + + /** + * + */ + protected error string_ls_by_sql( com.foo_baz.v_q.iloggerPackage.string_listHolder reas, + String field, String view, String where ) + throws null_error, db_error, except { try { + + reas.value = new String[0]; + PreparedStatement st = null; + ResultSet res = null; + ArrayList areas = new ArrayList(); + + try { + st = con.prepareStatement( + "SELECT "+field+" FROM "+view + +(! "".equals(where) ? (" WHERE "+where) : "" ) + +" ORDER BY "+field); + + res = st.executeQuery(); + + while( res.next() ) { + String item = res.getString(1); + if( res.wasNull() ) item = ""; + areas.add(item); + } + + reas.value = new String [areas.size()]; + for( int i=0, s=areas.size(); i<s; ++i ) + reas.value[i] = (String) areas.get(i); + } finally { + try { if(res != null) res.close(); } catch(Exception e) {} + try { if(st != null) st.close(); } catch(Exception e) {} + } + return lr(err_code.err_no, ""); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + /** + * + */ + public error result_ls( result_type_listHolder reas ) + throws null_error, db_error, except { + return result_ls_by_sql( reas, "result", "vq_view_log_result_ls", "" ); + } + + /** + * + */ + protected error result_ls_by_sql( result_type_listHolder reas, + String field, String view, String where ) + throws null_error, db_error, except { try { + + reas.value = new short[0]; + PreparedStatement st = null; + ResultSet res = null; + ArrayList areas = new ArrayList(); + + try { + st = con.prepareStatement( + "SELECT "+field+" FROM "+view + +(! "".equals(where) ? (" WHERE "+where) : "" ) + +" ORDER BY "+field); + + res = st.executeQuery(); + + while( res.next() ) { + Short item = new Short(res.getShort(1)); + if( res.wasNull() ) item = new Short((short)0); + areas.add(item); + } + + reas.value = new short [areas.size()]; + for( int i=0, s=areas.size(); i<s; ++i ) + reas.value[i] = ((Short) areas.get(i)).shortValue(); + } finally { + try { if(res != null) res.close(); } catch(Exception e) {} + try { if(st != null) st.close(); } catch(Exception e) {} + } + return lr(err_code.err_no, ""); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + /** + * + */ + public error service_ls( service_type_listHolder reas ) + throws null_error, db_error, except { + return service_ls_by_sql( reas, "service", "vq_view_log_service_ls", "" ); + } + + /** + * + */ + protected error service_ls_by_sql( service_type_listHolder reas, + String field, String view, String where ) + throws null_error, db_error, except { try { + + reas.value = new short[0]; + PreparedStatement st = null; + ResultSet res = null; + ArrayList areas = new ArrayList(); + + try { + st = con.prepareStatement( + "SELECT "+field+" FROM "+view + +(! "".equals(where) ? (" WHERE "+where) : "" ) + +" ORDER BY "+field); + + res = st.executeQuery(); + + while( res.next() ) { + Short item = new Short(res.getShort(1)); + if( res.wasNull() ) item = new Short((short)0); + areas.add(item); + } + + reas.value = new short [areas.size()]; + for( int i=0, s=areas.size(); i<s; ++i ) + reas.value[i] = ((Short) areas.get(i)).shortValue(); + } finally { + try { if(res != null) res.close(); } catch(Exception e) {} + try { if(st != null) st.close(); } catch(Exception e) {} + } + return lr(err_code.err_no, ""); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + + /** + * + */ protected error lr( err_code ec, String what ) { error err = new error(); err.ec = ec; Modified: trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/_iauthStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:02 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/_iloggerStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ @@ -536,6 +536,161 @@ } } // rm_by_sql + + /** + * List of domains have any log entries + */ + public com.foo_baz.v_q.ivqPackage.error dom_ls (com.foo_baz.v_q.iloggerPackage.string_listHolder doms) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iloggerPackage.errorHelper.read ($in); + doms.value = com.foo_baz.v_q.iloggerPackage.string_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_ls (doms ); + } finally { + _releaseReply ($in); + } + } // dom_ls + + + /** + * List of users in specified domain having any log entries. + */ + public com.foo_baz.v_q.ivqPackage.error user_ls_by_dom (com.foo_baz.v_q.iloggerPackage.string_listHolder user) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_ls_by_dom", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iloggerPackage.errorHelper.read ($in); + user.value = com.foo_baz.v_q.iloggerPackage.string_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_ls_by_dom (user ); + } finally { + _releaseReply ($in); + } + } // user_ls_by_dom + + + /** + * List of all services having any log entries + */ + public com.foo_baz.v_q.ivqPackage.error service_ls (com.foo_baz.v_q.iloggerPackage.service_type_listHolder stl) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("service_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iloggerPackage.errorHelper.read ($in); + stl.value = com.foo_baz.v_q.iloggerPackage.service_type_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return service_ls (stl ); + } finally { + _releaseReply ($in); + } + } // service_ls + + + /** + * List of all results having any log entries + */ + public com.foo_baz.v_q.ivqPackage.error result_ls (com.foo_baz.v_q.iloggerPackage.result_type_listHolder rtl) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("result_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iloggerPackage.errorHelper.read ($in); + rtl.value = com.foo_baz.v_q.iloggerPackage.result_type_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return result_ls (rtl ); + } finally { + _releaseReply ($in); + } + } // result_ls + + + /** + * List of ip addresses having any log entries + */ + public com.foo_baz.v_q.ivqPackage.error ip_ls (com.foo_baz.v_q.iloggerPackage.string_listHolder ips) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("ip_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iloggerPackage.errorHelper.read ($in); + ips.value = com.foo_baz.v_q.iloggerPackage.string_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return ip_ls (ips ); + } finally { + _releaseReply ($in); + } + } // ip_ls + // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:vq/ilogger:1.0"}; Modified: trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/_ivqStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:53 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/db_error.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ public final class db_error extends org.omg.CORBA.UserException Modified: trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/db_errorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ abstract public class db_errorHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java 2006-03-20 20:27:23 UTC (rev 349) @@ -2,9 +2,9 @@ /** * com/foo_baz/v_q/db_errorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ public final class db_errorHolder implements org.omg.CORBA.portable.Streamable Modified: trunk/base/jdbc/src/com/foo_baz/v_q/except.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/except.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/except.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/except.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ public final class except extends org.omg.CORBA.UserException Modified: trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/exceptHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ abstract public class exceptHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java 2006-03-20 20:27:23 UTC (rev 349) @@ -2,9 +2,9 @@ /** * com/foo_baz/v_q/exceptHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:07 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:52 CET */ public final class exceptHolder implements org.omg.CORBA.portable.Streamable Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauth.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ @@ -71,19 +71,4 @@ } } - public static com.foo_baz.v_q.iauth unchecked_narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof com.foo_baz.v_q.iauth) - return (com.foo_baz.v_q.iauth)obj; - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - com.foo_baz.v_q._iauthStub stub = new com.foo_baz.v_q._iauthStub (); - stub._set_delegate(delegate); - return stub; - } - } - } Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java 2006-03-20 20:27:23 UTC (rev 349) @@ -2,9 +2,9 @@ /** * com/foo_baz/v_q/iauthHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPOA.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:02 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/domain_infoHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class domain_infoHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class domain_info_listHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/email_bannedHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class email_bannedHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class email_banned_listHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/err_codeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class err_codeHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/errorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class errorHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/id_typeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class id_typeHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/quota_typeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class quota_typeHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/size_typeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/string_listHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class string_listHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/uif_typeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class uif_typeHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class user_conf_infoHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class user_conf_info_listHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:45 CET */ abstract public class user_conf_typeHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/user_infoHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class user_infoHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iauthPackage/user_info_listHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl -* poniedziaek, 6 marzec 2006 22:05:03 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../auth.idl +* piątek, 17 marzec 2006 20:09:44 CET */ abstract public class user_info_listHelper Modified: trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/ilogger.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iloggerHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ @@ -72,19 +72,4 @@ } } - public static com.foo_baz.v_q.ilogger unchecked_narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof com.foo_baz.v_q.ilogger) - return (com.foo_baz.v_q.ilogger)obj; - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - com.foo_baz.v_q._iloggerStub stub = new com.foo_baz.v_q._iloggerStub (); - stub._set_delegate(delegate); - return stub; - } - } - } Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java 2006-03-20 20:27:23 UTC (rev 349) @@ -2,9 +2,9 @@ /** * com/foo_baz/v_q/iloggerHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iloggerOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ @@ -92,4 +92,29 @@ * Removes all entries matching given where clause */ com.foo_baz.v_q.ivqPackage.error rm_by_sql (String where) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; + + /** + * List of domains have any log entries + */ + com.foo_baz.v_q.ivqPackage.error dom_ls (com.foo_baz.v_q.iloggerPackage.string_listHolder doms) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; + + /** + * List of users in specified domain having any log entries. + */ + com.foo_baz.v_q.ivqPackage.error user_ls_by_dom (com.foo_baz.v_q.iloggerPackage.string_listHolder user) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; + + /** + * List of all services having any log entries + */ + com.foo_baz.v_q.ivqPackage.error service_ls (com.foo_baz.v_q.iloggerPackage.service_type_listHolder stl) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; + + /** + * List of all results having any log entries + */ + com.foo_baz.v_q.ivqPackage.error result_ls (com.foo_baz.v_q.iloggerPackage.result_type_listHolder rtl) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; + + /** + * List of ip addresses having any log entries + */ + com.foo_baz.v_q.ivqPackage.error ip_ls (com.foo_baz.v_q.iloggerPackage.string_listHolder ips) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except; } // interface iloggerOperations Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iloggerPOA.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* Generated by the IDL-to-Java compiler (portable), version "3.1" +* from ../logger.idl +* piątek, 17 marzec 2006 20:09:56 CET */ @@ -39,6 +39,11 @@ _methods.put ("rm_by_dom", new java.lang.Integer (14)); _methods.put ("rm_by_user", new java.lang.Integer (15)); _methods.put ("rm_by_sql", new java.lang.Integer (16)); + _methods.put ("dom_ls", new java.lang.Integer (17)); + _methods.put ("user_ls_by_dom", new java.lang.Integer (18)); + _methods.put ("service_ls", new java.lang.Integer (19)); + _methods.put ("result_ls", new java.lang.Integer (20)); + _methods.put ("ip_ls", new java.lang.Integer (21)); } public org.omg.CORBA.portable.OutputStream _invoke (String $method, @@ -472,6 +477,136 @@ break; } + + /** + * List of domains have any log entries + */ + case 17: // vq/ilogger/dom_ls + { + try { + com.foo_baz.v_q.iloggerPackage.string_listHolder doms = new com.foo_baz.v_q.iloggerPackage.string_listHolder (); + com.foo_baz.v_q.ivqPackage.error $result = null; + $result = this.dom_ls (doms); + out = $rh.createReply(); + com.foo_baz.v_q.ivqPackage.errorHelper.write (out, $result); + com.foo_baz.v_q.iloggerPackage.string_listHelper.write (out, doms.value); + } catch (com.foo_baz.v_q.null_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.null_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.db_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.db_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.except $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.exceptHelper.write (out, $ex); + } + break; + } + + + /** + * List of users in specified domain having any log entries. + */ + case 18: // vq/ilogger/user_ls_by_dom + { + try { + com.foo_baz.v_q.iloggerPackage.string_listHolder user = new com.foo_baz.v_q.iloggerPackage.string_listHolder (); + com.foo_baz.v_q.ivqPackage.error $result = null; + $result = this.user_ls_by_dom (user); + out = $rh.createReply(); + com.foo_baz.v_q.ivqPackage.errorHelper.write (out, $result); + com.foo_baz.v_q.iloggerPackage.string_listHelper.write (out, user.value); + } catch (com.foo_baz.v_q.null_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.null_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.db_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.db_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.except $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.exceptHelper.write (out, $ex); + } + break; + } + + + /** + * List of all services having any log entries + */ + case 19: // vq/ilogger/service_ls + { + try { + com.foo_baz.v_q.iloggerPackage.service_type_listHolder stl = new com.foo_baz.v_q.iloggerPackage.service_type_listHolder (); + com.foo_baz.v_q.ivqPackage.error $result = null; + $result = this.service_ls (stl); + out = $rh.createReply(); + com.foo_baz.v_q.ivqPackage.errorHelper.write (out, $result); + com.foo_baz.v_q.iloggerPackage.service_type_listHelper.write (out, stl.value); + } catch (com.foo_baz.v_q.null_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.null_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.db_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.db_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.except $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.exceptHelper.write (out, $ex); + } + break; + } + + + /** + * List of all results having any log entries + */ + case 20: // vq/ilogger/result_ls + { + try { + com.foo_baz.v_q.iloggerPackage.result_type_listHolder rtl = new com.foo_baz.v_q.iloggerPackage.result_type_listHolder (); + com.foo_baz.v_q.ivqPackage.error $result = null; + $result = this.result_ls (rtl); + out = $rh.createReply(); + com.foo_baz.v_q.ivqPackage.errorHelper.write (out, $result); + com.foo_baz.v_q.iloggerPackage.result_type_listHelper.write (out, rtl.value); + } catch (com.foo_baz.v_q.null_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.null_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.db_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.db_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.except $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.exceptHelper.write (out, $ex); + } + break; + } + + + /** + * List of ip addresses having any log entries + */ + case 21: // vq/ilogger/ip_ls + { + try { + com.foo_baz.v_q.iloggerPackage.string_listHolder ips = new com.foo_baz.v_q.iloggerPackage.string_listHolder (); + com.foo_baz.v_q.ivqPackage.error $result = null; + $result = this.ip_ls (ips); + out = $rh.createReply(); + com.foo_baz.v_q.ivqPackage.errorHelper.write (out, $result); + com.foo_baz.v_q.iloggerPackage.string_listHelper.write (out, ips.value); + } catch (com.foo_baz.v_q.null_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.null_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.db_error $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.db_errorHelper.write (out, $ex); + } catch (com.foo_baz.v_q.except $ex) { + out = $rh.createExceptionReply (); + com.foo_baz.v_q.exceptHelper.write (out, $ex); + } + break; + } + default: throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } Modified: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java 2006-03-14 22:36:21 UTC (rev 348) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java 2006-03-20 20:27:23 UTC (rev 349) @@ -3,9 +3,9 @@ /** * com/foo_baz/v_q/iloggerPOATie.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" +* Generated by the IDL-to-Java compiler (portable), version "3.1" * from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl -* poniedziaek, 6 marzec 2006 22:05:09 CET +* piątek, 17 marzec 2006 19:03:27 CET */ @@ -184,6 +184,51 @@ return _impl.rm_by_sql(where); } // rm_by_sql + + /** + * List of domains have any log entries + */ + public com.foo_baz.v_q.ivqPackage.error dom_ls (com.foo_baz.v_q.iloggerPackage.string_listHolder doms) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + return _impl.dom_ls(doms); + } // dom_ls + + + /** + * List of users in specified domain having any log entries. + */ + public com.foo_baz.v_q.ivqPackage.error user_ls_by_dom (com.foo_baz.v_q.iloggerPackage.string_listHolder user) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + return _impl.user_ls_by_dom(user); + } // user_ls_by_dom + + + /** + * List of all services having any log entries + */ + public com.foo_baz.v_q.ivqPackage.error service_ls (com.foo_baz.v_q.iloggerPackage.service_type_listHolder stl) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + return _impl.service_ls(stl); + } // service_ls + + + /** + * List of all results having any log entries + */ + public com.foo_baz.v_q.ivqPackage.error result_ls (com.foo_baz.v_q.iloggerPackage.result_type_listHolder rtl) throws com.foo_baz.v_q.null_err... [truncated message content] |
From: <pa...@us...> - 2006-03-20 20:36:11
|
View results here -> http://void.no-ip.pl:8081/buildresults/v-q?log=log20060320213335 |
From: <pa...@us...> - 2006-03-14 22:42:08
|
View results here -> http://void.no-ip.pl:8081/buildresults/v-q?log=log20060314234040 |
Author: paweln Date: 2006-03-14 23:36:21 +0100 (Tue, 14 Mar 2006) New Revision: 348 Added: trunk/base/jdbc/lib/ trunk/base/jdbc/lib/idldepend-0-8-1.jar trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Helper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Holder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHolder.java trunk/tests/misc/connect.pl trunk/tests/misc/create.pl Removed: trunk/base/jdbc/idldepend-0-8-1.jar Modified: trunk/base/jdbc/build.xml trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java trunk/contrib/service/jdbclogd/run Log: CODE: added few scripts that may be useful during tests CODE: changed JDBCLog - problem with comparing Boolean with boolean CODE: added some classes generated from IDL which I forgot about Modified: trunk/base/jdbc/build.xml =================================================================== --- trunk/base/jdbc/build.xml 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/build.xml 2006-03-14 22:36:21 UTC (rev 348) @@ -1,5 +1,9 @@ <project name="jdbcd" basedir="." default="jar"> - <taskdef name="idlcheck" classname="idldepend.IDLCheckerTask" classpath="idldepend-0-8-1.jar"/> + <taskdef name="idlcheck" classname="idldepend.IDLCheckerTask"> + <classpath> + <pathelement location="lib/idldepend-0-8-1.jar"/> + </classpath> + </taskdef> <!-- Project settings --> <property name="project.distname" value="jdbcd"/> Deleted: trunk/base/jdbc/idldepend-0-8-1.jar =================================================================== (Binary files differ) Copied: trunk/base/jdbc/lib/idldepend-0-8-1.jar (from rev 345, trunk/base/jdbc/idldepend-0-8-1.jar) Modified: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-14 22:36:21 UTC (rev 348) @@ -341,7 +341,7 @@ les.value = new String[0][0]; ArrayList ales = new ArrayList(); - if( this.read_by_sql != true ) + if( this.read_by_sql.booleanValue() != true ) return lr(err_code.err_perm, "read_by_sql"); PreparedStatement st = null; @@ -463,7 +463,7 @@ * */ public error rm_by_sql( String where ) throws null_error, db_error, except { try { - if( this.rm_by_sql != true ) + if( this.rm_by_sql.booleanValue() != true ) return lr(err_code.err_perm, "rm_by_sql"); CallableStatement call = con.prepareCall( "{ ? = call log_rm_by_sql(?) }" ); Added: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Helper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Helper.java 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Helper.java 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,64 @@ +package com.foo_baz.v_q.iloggerPackage; + + +/** +* com/foo_baz/v_q/iloggerPackage/string_list2Helper.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl +* poniedziaek, 6 marzec 2006 22:05:09 CET +*/ + +abstract public class string_list2Helper +{ + private static String _id = "IDL:vq/ilogger/string_list2:1.0"; + + public static void insert (org.omg.CORBA.Any a, String[][] that) + { + org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); + a.type (type ()); + write (out, that); + a.read_value (out.create_input_stream (), type ()); + } + + public static String[][] extract (org.omg.CORBA.Any a) + { + return read (a.create_input_stream ()); + } + + private static org.omg.CORBA.TypeCode __typeCode = null; + synchronized public static org.omg.CORBA.TypeCode type () + { + if (__typeCode == null) + { + __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); + __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); + __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.foo_baz.v_q.iloggerPackage.string_listHelper.id (), "string_list", __typeCode); + __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); + __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.foo_baz.v_q.iloggerPackage.string_list2Helper.id (), "string_list2", __typeCode); + } + return __typeCode; + } + + public static String id () + { + return _id; + } + + public static String[][] read (org.omg.CORBA.portable.InputStream istream) + { + String value[][] = null; + int _len0 = istream.read_long (); + value = new String[_len0][]; + for (int _o1 = 0;_o1 < value.length; ++_o1) + value[_o1] = com.foo_baz.v_q.iloggerPackage.string_listHelper.read (istream); + return value; + } + + public static void write (org.omg.CORBA.portable.OutputStream ostream, String[][] value) + { + ostream.write_long (value.length); + for (int _i0 = 0;_i0 < value.length; ++_i0) + com.foo_baz.v_q.iloggerPackage.string_listHelper.write (ostream, value[_i0]); + } + +} Added: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Holder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Holder.java 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_list2Holder.java 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,39 @@ +package com.foo_baz.v_q.iloggerPackage; + + +/** +* com/foo_baz/v_q/iloggerPackage/string_list2Holder.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl +* poniedziaek, 6 marzec 2006 22:05:09 CET +*/ + +public final class string_list2Holder implements org.omg.CORBA.portable.Streamable +{ + public String value[][] = null; + + public string_list2Holder () + { + } + + public string_list2Holder (String[][] initialValue) + { + value = initialValue; + } + + public void _read (org.omg.CORBA.portable.InputStream i) + { + value = com.foo_baz.v_q.iloggerPackage.string_list2Helper.read (i); + } + + public void _write (org.omg.CORBA.portable.OutputStream o) + { + com.foo_baz.v_q.iloggerPackage.string_list2Helper.write (o, value); + } + + public org.omg.CORBA.TypeCode _type () + { + return com.foo_baz.v_q.iloggerPackage.string_list2Helper.type (); + } + +} Added: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHelper.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHelper.java 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHelper.java 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,62 @@ +package com.foo_baz.v_q.iloggerPackage; + + +/** +* com/foo_baz/v_q/iloggerPackage/string_listHelper.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl +* poniedziaek, 6 marzec 2006 22:05:09 CET +*/ + +abstract public class string_listHelper +{ + private static String _id = "IDL:vq/ilogger/string_list:1.0"; + + public static void insert (org.omg.CORBA.Any a, String[] that) + { + org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); + a.type (type ()); + write (out, that); + a.read_value (out.create_input_stream (), type ()); + } + + public static String[] extract (org.omg.CORBA.Any a) + { + return read (a.create_input_stream ()); + } + + private static org.omg.CORBA.TypeCode __typeCode = null; + synchronized public static org.omg.CORBA.TypeCode type () + { + if (__typeCode == null) + { + __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); + __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); + __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.foo_baz.v_q.iloggerPackage.string_listHelper.id (), "string_list", __typeCode); + } + return __typeCode; + } + + public static String id () + { + return _id; + } + + public static String[] read (org.omg.CORBA.portable.InputStream istream) + { + String value[] = null; + int _len0 = istream.read_long (); + value = new String[_len0]; + for (int _o1 = 0;_o1 < value.length; ++_o1) + value[_o1] = istream.read_string (); + return value; + } + + public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value) + { + ostream.write_long (value.length); + for (int _i0 = 0;_i0 < value.length; ++_i0) + ostream.write_string (value[_i0]); + } + +} Added: trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHolder.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHolder.java 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/string_listHolder.java 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,39 @@ +package com.foo_baz.v_q.iloggerPackage; + + +/** +* com/foo_baz/v_q/iloggerPackage/string_listHolder.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from /home/new/svn/berlios.de/v-q/trunk/base/logger.idl +* poniedziaek, 6 marzec 2006 22:05:09 CET +*/ + +public final class string_listHolder implements org.omg.CORBA.portable.Streamable +{ + public String value[] = null; + + public string_listHolder () + { + } + + public string_listHolder (String[] initialValue) + { + value = initialValue; + } + + public void _read (org.omg.CORBA.portable.InputStream i) + { + value = com.foo_baz.v_q.iloggerPackage.string_listHelper.read (i); + } + + public void _write (org.omg.CORBA.portable.OutputStream o) + { + com.foo_baz.v_q.iloggerPackage.string_listHelper.write (o, value); + } + + public org.omg.CORBA.TypeCode _type () + { + return com.foo_baz.v_q.iloggerPackage.string_listHelper.type (); + } + +} Modified: trunk/contrib/service/jdbclogd/run =================================================================== --- trunk/contrib/service/jdbclogd/run 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/contrib/service/jdbclogd/run 2006-03-14 22:36:21 UTC (rev 348) @@ -34,13 +34,16 @@ # v-q jars export CLASSPATH="$CLASSPATH":"$VQ_HOME/lib/vq/corbautil.jar":"$VQ_HOME/lib/vq/jdbcd.jar" +# Debugging? +#JAVA_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" + # PostgreSQL -java -Djdbc.drivers="$drivers" \ +java $JAVA_DEBUG -Djdbc.drivers="$drivers" \ -Dcom.foo_baz.v_q."$prog".jdbc=jdbc:postgresql://localhost/mail \ "$prog" -ORBInitRef NameService=corbaloc::127.0.0.1:2809/NameService # Oracle -#java -Djdbc.drivers="$drivers" \ +#java $JAVA_DEBUG -Djdbc.drivers="$drivers" \ #-Dcom.foo_baz.v_q."$prog".jdbc=jdbc:oracle:thin:@localhost:1521:orcl \ #"$prog" -ORBInitRef NameService=corbaloc::127.0.0.1:2809/NameService Added: trunk/tests/misc/connect.pl =================================================================== --- trunk/tests/misc/connect.pl 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/tests/misc/connect.pl 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,84 @@ +#!/usr/bin/perl + +package main; +$Getopt::Std::STANDARD_HELP_VERSION = 1; +sub VERSION_MESSAGE { + my $out = shift; + print $out "$0\n"; +} + +sub HELP_MESSAGE { + my $out = shift; + print $out "usage: $0 [-c #connections|-t #seconds]\n"; + print $out "-t #\tnumber of seconds script will run\n"; + print $out "-c #\tnumber of connections (default: 1000)\n"; + print $out "-l hostname\tmachine to connect using SMTP and POP3 (default: localhost)\n"; + print $out "<stdin> should be a list of e-mail addresses that will be used\n"; + print $out "\t(password should be the same as e-mail address)\n"; +} + +package connect; + +use Getopt::Std; +use Net::SMTP; +use Net::POP3; + +# Configuration + +my %opts = (); +getopts('t:c:l:', \%opts); + +my $secs = $opts{'t'} ? $opts{'t'} : 0; +my $cons_cnt = $opts{'c'} ? $opts{'c'} : 1000; +my $host = $opts{'l'} ? $opts{'l'} : "localhost"; + +my @emails = (); +while(<>) { + chomp if( /\n/ ); + push(@emails, $_); +} + +if( ! @emails."" ) { + print STDERR "No e-mails specified, quiting...\n"; + exit 1; +} + +my $loop = 0; +if( $secs > 0 ) { + $loop = 1; + $SIG{ALRM} = sub {exit;}; + alarm($secs); +} + +for( my $i=0; $i < $cons_cnt || $loop; ++$i ) { + my $idx = int(rand(@emails."")); + my $type = int(rand(2)); + print $emails[$idx].": "; + if( $type ) { + print "SMTP: "; + my $smtp = Net::SMTP->new($host); + if( $smtp->auth( $emails[$idx], $emails[$idx] ) + && $smtp->mail("#\@<>") + && $smtp->to($emails[$idx]) + && $smtp->data() + && $smtp->datasend("Subject: $0\n\n$emails[$idx]\n") + && $smtp->dataend() + && $smtp->quit() ) { + print "OK"; + } else { + print "ERROR"; + } + } else { + print "POP3: "; + my $pop = Net::POP3->new($host); + if( $pop->login($emails[$idx], $emails[$idx]) + && $pop->quit() ) { + print "OK"; + } else { + print "ERROR"; + } + } + print "\n"; +} + +1; Property changes on: trunk/tests/misc/connect.pl ___________________________________________________________________ Name: svn:executable + * Added: trunk/tests/misc/create.pl =================================================================== --- trunk/tests/misc/create.pl 2006-03-07 21:09:19 UTC (rev 347) +++ trunk/tests/misc/create.pl 2006-03-14 22:36:21 UTC (rev 348) @@ -0,0 +1,50 @@ +#!/usr/bin/perl + +package main; +$Getopt::Std::STANDARD_HELP_VERSION = 1; +sub VERSION_MESSAGE { + my $out = shift; + print $out "$0\n"; +} + +sub HELP_MESSAGE { + my $out = shift; + print $out "usage: $0 [-d #domains] [-u #users]\n"; + print $out "-d #\tnumber of domains to create\n"; + print $out "-u #\tnumber of users to create\n"; +} + +package random; + +use Getopt::Std; + +# Configuration + +my %opts = (); +getopts('d:u:', \%opts); + +my $users_cnt = $opts{'u'} ? $opts{'u'} : 100; +my $doms_cnt = $opts{'d'} ? $opts{'d'} : 10; + +my $suffix = ".random.pl"; + +@doms = (); +for( my $i=0; $i<$doms_cnt; ++$i ) { + my $dom = "$i$suffix"; + $str=`dom_add "$dom"`; + if( $? >> 8 == 0 || $str =~ /#18:/ ) { + for( my $j=0; $j<$users_cnt; ++$j ) { + my $user = "$j\@$dom"; + $str=`user_add "$user" "$user"`; + if( $? >> 8 == 0 || $str =~ /#18:/ ) { + print "$user\n"; + } else { + print STDERR $str; + } + } + } else { + print STDERR $str; + } +} + +1; Property changes on: trunk/tests/misc/create.pl ___________________________________________________________________ Name: svn:executable + * |
From: <pa...@us...> - 2006-03-07 21:25:46
|
View results here -> http://void.no-ip.pl:8081/buildresults/v-q?log=log20060307221627 |
From: <sv...@fo...> - 2006-03-07 21:11:56
|
Author: paweln Date: 2006-03-07 22:09:19 +0100 (Tue, 07 Mar 2006) New Revision: 347 Added: trunk/tests/misc/ Modified: trunk/base/jdbc/jdbcd.jar trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/except.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/result_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/service_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivq.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_code.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/error.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/gid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/jdbclogd.java trunk/base/jdbc/src/com/foo_baz/v_q/null_error.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHolder.java trunk/base/logger.idl trunk/base/pgsql/cpgsqllog.cc trunk/base/pgsql/cpgsqllog.hpp trunk/base/pgsql/pgsqllogd.cc trunk/base/vq.idl trunk/doc/en.src/life.conf.xml trunk/doc/pl.src/life.conf.xml trunk/tests/base/iauth.oracle-jdbc trunk/tests/base/ilogger.oracle-jdbc trunk/tests/base/ilogger/Makefile trunk/tests/base/ilogger/ilogger.cc Log: CODE: added read_by_sql and rm_by_sql to JDBCLog and cpgsqllogd CODE: added test case for time in log_entry (jdbclogd returned only time, without date) Modified: trunk/base/jdbc/jdbcd.jar =================================================================== (Binary files differ) Modified: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-01 23:22:00 UTC (rev 346) +++ trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java 2006-03-07 21:09:19 UTC (rev 347) @@ -26,13 +26,18 @@ import org.omg.CORBA.*; public class JDBCLog extends iloggerPOA { + protected Boolean rm_by_sql; + protected Boolean read_by_sql; + /** * */ - public JDBCLog( Connection con ) throws SQLException { + public JDBCLog( Connection con, Boolean rm_by_sql, Boolean read_by_sql ) throws SQLException { clear(); this.con = con; this.con.setAutoCommit(true); + this.rm_by_sql = rm_by_sql; + this.read_by_sql = read_by_sql; } /** @@ -277,7 +282,7 @@ le.id_log = res.getString(idx); if( res.wasNull() ) le.id_log = ""; ++idx; - le.time = res.getTime(idx).toString(); + le.time = res.getTimestamp(idx).toString(); if( res.wasNull() ) le.time = ""; ++idx; le.ip = res.getString(idx); @@ -330,6 +335,87 @@ /** * */ + public error read_by_sql( String sql, int start, int cnt, + string_list2Holder les ) + throws null_error, db_error, except { try { + les.value = new String[0][0]; + ArrayList ales = new ArrayList(); + + if( this.read_by_sql != true ) + return lr(err_code.err_perm, "read_by_sql"); + + PreparedStatement st = null; + ResultSet res = null; + + try { + con.setReadOnly(true); + con.setAutoCommit(false); + + String qr = sql; + st = con.prepareStatement(qr); + + int idx = 1; + res = st.executeQuery(); + + if( res.getType() == ResultSet.TYPE_FORWARD_ONLY ) { + for( int i = 0; i <= start; ++i ) { + if( ! res.next() ) { + con.rollback(); + try { if( res != null ) res.close(); } catch(Exception e) {} + try { if( st != null ) st.close(); } catch(Exception e) {} + con.setReadOnly(false); + con.setAutoCommit(true); + return lr(start != 0 ? err_code.err_noent : err_code.err_no, ""); + } + } + } else if( ! res.absolute(start+1) ) { + con.rollback(); + try { if( res != null ) res.close(); } catch(Exception e) {} + try { if( st != null ) st.close(); } catch(Exception e) {} + con.setReadOnly(false); + con.setAutoCommit(true); + return lr(err_code.err_noent, ""); + } + + if( cnt == 0 ) --cnt; // if it's zero means that we want to read all entries + for( idx=1; cnt-- != 0; idx = 1 ) { + int cols = res.getMetaData().getColumnCount(); + String [] le = new String[ cols ]; + + for( int col = 0; col < cols; ++col ) { + le[col] = res.getString(col); + if( res.wasNull() ) le[col] = ""; + } + + ales.add(le); + + if(!res.next()) break; + } + + les.value = new String[ ales.size() ][]; + for( int i=0, s=ales.size(); i<s; ++i ) + les.value[i] = (String[]) ales.get(i); + + con.rollback(); + } finally { + try { if( res != null ) res.close(); } catch(Exception e) {} + try { if( st != null ) st.close(); } catch(Exception e) {} + con.setAutoCommit(true); + con.setReadOnly(false); + } + + return lr(err_code.err_no, ""); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + /** + * + */ public error rm_all() throws null_error, db_error, except { try { CallableStatement call = con.prepareCall( "{ ? = call log_rm_all() }" ); call.registerOutParameter(1, Types.INTEGER); @@ -376,6 +462,33 @@ /** * */ + public error rm_by_sql( String where ) throws null_error, db_error, except { try { + if( this.rm_by_sql != true ) + return lr(err_code.err_perm, "rm_by_sql"); + + CallableStatement call = con.prepareCall( "{ ? = call log_rm_by_sql(?) }" ); + int idx=1; + call.registerOutParameter(idx++, Types.INTEGER); + call.setString(idx++, dom); + call.execute(); + int res = call.getInt(1); + try { call.close(); } catch( Exception e ) {} + + if( res != 0 ) + return lr(err_code.err_func_res, "LOG_RM_BY_SQL"); + + return lr(err_code.err_no, ""); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + /** + * + */ public error rm_by_user() throws null_error, db_error, except { try { CallableStatement call = con.prepareCall( "{ ? = call log_rm_by_user(?, ?) }" ); int idx=1; Modified: trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2006-03-01 23:22:00 UTC (rev 346) +++ trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2006-03-07 21:09:19 UTC (rev 347) @@ -1,1102 +1,1102 @@ -package com.foo_baz.v_q; - - -/** -* com/foo_baz/v_q/_iauthStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from C:/Documents and Settings/pniewiad/Desktop/personal/projects/v-q/trunk/base/auth.idl -* Wednesday, December 14, 2005 9:01:52 PM CET -*/ - - +package com.foo_baz.v_q; + + /** +* com/foo_baz/v_q/_iauthStub.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from /home/new/svn/berlios.de/v-q/trunk/base/auth.idl +* poniedziaek, 6 marzec 2006 22:05:02 CET +*/ + + +/** * Base class representing authorization module. - */ -public class _iauthStub extends org.omg.CORBA.portable.ObjectImpl implements com.foo_baz.v_q.iauth -{ - - - /// Adds domain to database - public com.foo_baz.v_q.ivqPackage.error dom_add (String dom, org.omg.CORBA.IntHolder dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dom_add", true); - $out.write_string (dom); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - dom_id.value = com.foo_baz.v_q.iauthPackage.id_typeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dom_add (dom, dom_id ); - } finally { - _releaseReply ($in); - } - } // dom_add - - - /// Removes domain. - public com.foo_baz.v_q.ivqPackage.error dom_rm (int dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dom_rm", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dom_rm (dom_id ); - } finally { - _releaseReply ($in); - } - } // dom_rm - - - /// Translates domain name to id. - public com.foo_baz.v_q.ivqPackage.error dom_id (String dom, org.omg.CORBA.IntHolder dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dom_id", true); - $out.write_string (dom); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - dom_id.value = com.foo_baz.v_q.iauthPackage.id_typeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dom_id (dom, dom_id ); - } finally { - _releaseReply ($in); - } - } // dom_id - - public com.foo_baz.v_q.ivqPackage.error dom_name (int dom_id, org.omg.CORBA.StringHolder domain) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dom_name", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - domain.value = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dom_name (dom_id, domain ); - } finally { - _releaseReply ($in); - } - } // dom_name - - public com.foo_baz.v_q.ivqPackage.error dom_ls (com.foo_baz.v_q.ivqPackage.domain_info_listHolder dis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dom_ls", true); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - dis.value = com.foo_baz.v_q.iauthPackage.domain_info_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dom_ls (dis ); - } finally { - _releaseReply ($in); - } - } // dom_ls - - - /// add alias for a domain - public com.foo_baz.v_q.ivqPackage.error da_add (int dom_id, String ali) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("da_add", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (ali); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return da_add (dom_id, ali ); - } finally { - _releaseReply ($in); - } - } // da_add - - - /// Removes alias - public com.foo_baz.v_q.ivqPackage.error da_rm (String ali) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("da_rm", true); - $out.write_string (ali); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return da_rm (ali ); - } finally { - _releaseReply ($in); - } - } // da_rm - - - /// Lists all aliases for a domain - public com.foo_baz.v_q.ivqPackage.error da_ls_by_dom (int dom_id, com.foo_baz.v_q.ivqPackage.string_listHolder alis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("da_ls_by_dom", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - alis.value = com.foo_baz.v_q.iauthPackage.string_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return da_ls_by_dom (dom_id, alis ); - } finally { - _releaseReply ($in); - } - } // da_ls_by_dom - - - /// add IP address for a domain - public com.foo_baz.v_q.ivqPackage.error dip_add (int dom_id, String ip) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dip_add", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (ip); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dip_add (dom_id, ip ); - } finally { - _releaseReply ($in); - } - } // dip_add - - - /// Removes IP address - public com.foo_baz.v_q.ivqPackage.error dip_rm (String ip) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dip_rm", true); - $out.write_string (ip); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dip_rm (ip ); - } finally { - _releaseReply ($in); - } - } // dip_rm - - - /// Lists all IP addresses for a domain - public com.foo_baz.v_q.ivqPackage.error dip_ls_by_dom (int dom_id, com.foo_baz.v_q.ivqPackage.string_listHolder ips) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("dip_ls_by_dom", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - ips.value = com.foo_baz.v_q.iauthPackage.string_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dip_ls_by_dom (dom_id, ips ); - } finally { - _releaseReply ($in); - } - } // dip_ls_by_dom - - - /// Adds user - public com.foo_baz.v_q.ivqPackage.error user_add (com.foo_baz.v_q.ivqPackage.user_info ai, boolean is_banned) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_add", true); - com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai); - $out.write_boolean (is_banned); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_add (ai, is_banned ); - } finally { - _releaseReply ($in); - } - } // user_add - - - /// Modify user - public com.foo_baz.v_q.ivqPackage.error user_rep (com.foo_baz.v_q.ivqPackage.user_info ai, boolean password, boolean dir) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_rep", true); - com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai); - $out.write_boolean (password); - $out.write_boolean (dir); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_rep (ai, password, dir ); - } finally { - _releaseReply ($in); - } - } // user_rep - - - /// Removes user - public com.foo_baz.v_q.ivqPackage.error user_rm (int dom_id, String login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_rm", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (login); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_rm (dom_id, login ); - } finally { - _releaseReply ($in); - } - } // user_rm - - - /// Changes password for user - public com.foo_baz.v_q.ivqPackage.error user_pass (int dom_id, String login, String pass) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_pass", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (login); - $out.write_string (pass); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_pass (dom_id, login, pass ); - } finally { - _releaseReply ($in); - } - } // user_pass - - - /// Gets informations about user - public com.foo_baz.v_q.ivqPackage.error user_get (com.foo_baz.v_q.ivqPackage.user_infoHolder ai) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_get", true); - com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai.value); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - ai.value = com.foo_baz.v_q.iauthPackage.user_infoHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_get (ai ); - } finally { - _releaseReply ($in); - } - } // user_get - - - /// check if user exists (err_noent if not, err_no if exists) - public com.foo_baz.v_q.ivqPackage.error user_ex (int dom_id, String login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_ex", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (login); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_ex (dom_id, login ); - } finally { - _releaseReply ($in); - } - } // user_ex - - - /// get all users in specified domain - public com.foo_baz.v_q.ivqPackage.error user_ls_by_dom (int dom_id, int start, int cnt, com.foo_baz.v_q.ivqPackage.user_info_listHolder uis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_ls_by_dom", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - com.foo_baz.v_q.iauthPackage.size_typeHelper.write ($out, start); - com.foo_baz.v_q.iauthPackage.size_typeHelper.write ($out, cnt); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - uis.value = com.foo_baz.v_q.iauthPackage.user_info_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_ls_by_dom (dom_id, start, cnt, uis ); - } finally { - _releaseReply ($in); - } - } // user_ls_by_dom - - - /// get number of users in specified domain - public com.foo_baz.v_q.ivqPackage.error user_cnt_by_dom (int dom_id, org.omg.CORBA.IntHolder cnt) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_cnt_by_dom", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - cnt.value = com.foo_baz.v_q.iauthPackage.size_typeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_cnt_by_dom (dom_id, cnt ); - } finally { - _releaseReply ($in); - } - } // user_cnt_by_dom - - - //@{ - public com.foo_baz.v_q.ivqPackage.error eb_add (String re_domain, String re_login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("eb_add", true); - $out.write_string (re_domain); - $out.write_string (re_login); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return eb_add (re_domain, re_login ); - } finally { - _releaseReply ($in); - } - } // eb_add - - public com.foo_baz.v_q.ivqPackage.error eb_rm (String re_domain, String re_login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("eb_rm", true); - $out.write_string (re_domain); - $out.write_string (re_login); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return eb_rm (re_domain, re_login ); - } finally { - _releaseReply ($in); - } - } // eb_rm - - public com.foo_baz.v_q.ivqPackage.error eb_ls (com.foo_baz.v_q.ivqPackage.email_banned_listHolder ebs) throws com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("eb_ls", true); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - ebs.value = com.foo_baz.v_q.iauthPackage.email_banned_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return eb_ls (ebs ); - } finally { - _releaseReply ($in); - } - } // eb_ls - - - /// Gets limits for user - public com.foo_baz.v_q.ivqPackage.error qt_user_get (int dom_id, String user_id, org.omg.CORBA.IntHolder bytes_max, org.omg.CORBA.IntHolder files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_get", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (user_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - bytes_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); - files_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return qt_user_get (dom_id, user_id, bytes_max, files_max ); - } finally { - _releaseReply ($in); - } - } // qt_user_get - - - /// Sets limits for user - public com.foo_baz.v_q.ivqPackage.error qt_user_set (int dom_id, String user_id, int bytes_max, int files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_set", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (user_id); - com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, bytes_max); - com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, files_max); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return qt_user_set (dom_id, user_id, bytes_max, files_max ); - } finally { - _releaseReply ($in); - } - } // qt_user_set - - - /// Sets default value for a domain - public com.foo_baz.v_q.ivqPackage.error qt_user_def_set (int dom_id, int bytes_max, int files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_def_set", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, bytes_max); - com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, files_max); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return qt_user_def_set (dom_id, bytes_max, files_max ); - } finally { - _releaseReply ($in); - } - } // qt_user_def_set - - - /// Gets default value - public com.foo_baz.v_q.ivqPackage.error qt_user_def_get (int dom_id, org.omg.CORBA.IntHolder bytes_max, org.omg.CORBA.IntHolder files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_def_get", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - bytes_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); - files_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return qt_user_def_get (dom_id, bytes_max, files_max ); - } finally { - _releaseReply ($in); - } - } // qt_user_def_get - - - /// Adds mailbox configuration - public com.foo_baz.v_q.ivqPackage.error user_conf_add (int dom_id, String user, String pfix, com.foo_baz.v_q.ivqPackage.user_conf_infoHolder ui) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_add", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (user); - $out.write_string (pfix); - com.foo_baz.v_q.iauthPackage.user_conf_infoHelper.write ($out, ui.value); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - ui.value = com.foo_baz.v_q.iauthPackage.user_conf_infoHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_conf_add (dom_id, user, pfix, ui ); - } finally { - _releaseReply ($in); - } - } // user_conf_add - - - /// Removes all mailbox configuration entries - public com.foo_baz.v_q.ivqPackage.error user_conf_rm_by_type (int dom_id, String user, String pfix, short ut) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_rm_by_type", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (user); - $out.write_string (pfix); - com.foo_baz.v_q.iauthPackage.user_conf_typeHelper.write ($out, ut); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_conf_rm_by_type (dom_id, user, pfix, ut ); - } finally { - _releaseReply ($in); - } - } // user_conf_rm_by_type - - - /// Removes mailbox configuration entry - public com.foo_baz.v_q.ivqPackage.error user_conf_rm (int id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_rm", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, id); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return user_conf_rm (id ); - } finally { - _releaseReply ($in); - } - } // user_conf_rm - - - /// Lists mailbox configuration - public com.foo_baz.v_q.ivqPackage.error user_conf_ls (int dom_id, String user, String pfix, com.foo_baz.v_q.ivqPackage.user_conf_info_listHolder uis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_ls", true); - com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); - $out.write_string (user); - $out.write_string (pfix); - $in = _invoke ($out); - com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); - uis.value = com.foo_baz.v_q.iauthPackage.user_conf_info_listHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:vq/null_error:1.0")) - throw com.foo_baz.v_q.null_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/db_error:1.0")) - throw com.foo_baz.v_q.db_errorHelper.read ($in); - else if (_id.equals ("IDL:vq/except:1.0")) - throw com.foo_baz.v_q.exceptHelper.read ($in); - else - throw new org.omg.CORBA.MARS... [truncated message content] |
From: <pa...@us...> - 2006-03-01 23:24:58
|
View results here -> http://void.no-ip.pl:8081/buildresults/ihs?log=log20060302002442 |
From: <pa...@us...> - 2006-03-01 23:20:50
|
View results here -> http://void.no-ip.pl:8081/buildresults/ihs?log=log20060302002022 |
From: <pa...@us...> - 2006-03-01 23:19:34
|
View results here -> http://void.no-ip.pl:8081/buildresults/ihs?log=log20060302001919 |
From: <sv...@fo...> - 2006-02-19 20:05:31
|
Author: paweln Date: 2006-02-19 21:02:08 +0100 (Sun, 19 Feb 2006) New Revision: 345 Modified: trunk/Makefile trunk/Makefile.common trunk/VERSION trunk/base/pgsql/Makefile trunk/base/qmailvqd/cqmailvq_common.hpp trunk/boost.inc trunk/boost.lib trunk/boost_date_time.lib trunk/boost_filesystem.lib trunk/boost_regex.lib trunk/boost_thread.lib trunk/boost_unit_test.lib trunk/corba.inc trunk/corba.lib trunk/doc/en.html/arch.clients.html trunk/doc/en.html/arch.db.html trunk/doc/en.html/arch.html trunk/doc/en.html/arch.iauth.html trunk/doc/en.html/arch.ilogger.html trunk/doc/en.html/arch.ivq.html trunk/doc/en.html/com.support.html trunk/doc/en.html/community.authors.html trunk/doc/en.html/community.blog.html trunk/doc/en.html/community.bugs.html trunk/doc/en.html/community.forums.html trunk/doc/en.html/community.html trunk/doc/en.html/community.requests.html trunk/doc/en.html/community.success.html trunk/doc/en.html/devs.html trunk/doc/en.html/devs.java.html trunk/doc/en.html/devs.pkgs.html trunk/doc/en.html/devs.python.html trunk/doc/en.html/doc.gen.html trunk/doc/en.html/doc.gen.makefile.html trunk/doc/en.html/foreword.html trunk/doc/en.html/index.html trunk/doc/en.html/install.comp.html trunk/doc/en.html/install.deps.html trunk/doc/en.html/install.html trunk/doc/en.html/install.install.html trunk/doc/en.html/install.prep.html trunk/doc/en.html/intro.changes.html trunk/doc/en.html/intro.features.html trunk/doc/en.html/intro.html trunk/doc/en.html/intro.missing.html trunk/doc/en.html/intro.todo.html trunk/doc/en.html/intro.trans.html trunk/doc/en.html/license.html trunk/doc/en.html/life.html trunk/doc/en.html/life.integration.html trunk/doc/en.html/life.security.html trunk/doc/en.src/community.xml trunk/doc/en.src/intro.xml trunk/doc/en.src/life.xml trunk/doc/pl.html/arch.clients.html trunk/doc/pl.html/arch.db.html trunk/doc/pl.html/arch.html trunk/doc/pl.html/arch.iauth.html trunk/doc/pl.html/arch.ilogger.html trunk/doc/pl.html/arch.ivq.html trunk/doc/pl.html/com.support.html trunk/doc/pl.html/community.authors.html trunk/doc/pl.html/community.blog.html trunk/doc/pl.html/community.bugs.html trunk/doc/pl.html/community.forums.html trunk/doc/pl.html/community.html trunk/doc/pl.html/community.requests.html trunk/doc/pl.html/community.success.html trunk/doc/pl.html/devs.html trunk/doc/pl.html/devs.java.html trunk/doc/pl.html/devs.pkgs.html trunk/doc/pl.html/devs.python.html trunk/doc/pl.html/doc.gen.html trunk/doc/pl.html/doc.gen.makefile.html trunk/doc/pl.html/foreword.html trunk/doc/pl.html/index.html trunk/doc/pl.html/install.comp.html trunk/doc/pl.html/install.deps.html trunk/doc/pl.html/install.html trunk/doc/pl.html/install.install.html trunk/doc/pl.html/install.prep.html trunk/doc/pl.html/intro.changes.html trunk/doc/pl.html/intro.features.html trunk/doc/pl.html/intro.html trunk/doc/pl.html/intro.missing.html trunk/doc/pl.html/intro.todo.html trunk/doc/pl.html/intro.trans.html trunk/doc/pl.html/license.html trunk/doc/pl.html/life.html trunk/doc/pl.html/life.integration.html trunk/doc/pl.html/life.security.html trunk/doc/pl.src/community.xml trunk/doc/pl.src/intro.xml trunk/doc/pl.src/life.xml trunk/idl trunk/libsys/pfstream.hpp trunk/libtext/Makefile trunk/libtext/md5.h2 trunk/libtext/text.hpp trunk/pkg/rpm/v-q.spec.in Log: VERSION: 11 CODE: changes in libraries used by v-q (should be easier to compile it out-of-the-box on SuSe, Fedora, Debian) CODE: documentation updated CODE: problems with libtext and gcc 4.0 resolved Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/Makefile 2006-02-19 20:02:08 UTC (rev 345) @@ -37,11 +37,6 @@ ) || exit 1; \ done -install-dirs: - for p in etc etc/ivq etc/iauth etc/ilogger bin lib lib/vq include include/vq ; do \ - $(INSTALL) -d -m 0755 $(PREFIX)/$$p ; \ - done - install-conf: install-dirs @echo "Installing default configuration..." Modified: trunk/Makefile.common =================================================================== --- trunk/Makefile.common 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/Makefile.common 2006-02-19 20:02:08 UTC (rev 345) @@ -1,4 +1,5 @@ PREFIX?=/var/vq +LIBDIR?=$(PREFIX)/lib INSTALL?=install JAVAC?=javac JAVA?=java @@ -20,3 +21,11 @@ if [ -e .depend -a ! -s .depend ]; then \ rm -f .depend ; \ fi + +install-dirs: + for p in etc/ivq etc/iauth etc/ilogger bin include/vq ; do \ + $(INSTALL) -d -m 0755 $(PREFIX)/$$p ; \ + done + $(INSTALL) -d -m 0755 $(LIBDIR)/vq + + Modified: trunk/VERSION =================================================================== --- trunk/VERSION 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/VERSION 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ -11pre1 +11 Modified: trunk/base/pgsql/Makefile =================================================================== --- trunk/base/pgsql/Makefile 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/base/pgsql/Makefile 2006-02-19 20:02:08 UTC (rev 345) @@ -3,13 +3,13 @@ INCS=-I$(BASE)/base -I$(BASE) -I../libvqmain -I$(BASE)/libsys -I$(BASE)/libtext \ -I$(BASE)/libconf -I$(BASE)/corbautil/cxx/import_export -I$(BASE)/corbautil/cxx/portability \ -I$(BASE)/corbautil/cxx/PoaUtility \ - `cat $(BASE)/corba.inc` `cat $(BASE)/boost.inc` `pqxx-config --cflags` + `cat $(BASE)/corba.inc` `cat $(BASE)/boost.inc` `pkg-config --cflags libpqxx` LIBS=-L$(BASE) -L$(BASE)/libmain -lmain \ -L../libvqmain -lvqmain -L$(BASE)/base -lvq \ -L$(BASE)/libconf -lconf -L$(BASE)/libsys -lsys -L$(BASE)/libtext -ltext \ -L$(BASE)/corbautil -lcorbautil \ `cat $(BASE)/corba.lib` `cat $(BASE)/boost.lib` \ - `cat $(BASE)/boost_thread.lib` `pqxx-config --libs` + `cat $(BASE)/boost_thread.lib` `pkg-config --libs libpqxx` .PHONY: pgsql all clean install install-pgsql Modified: trunk/base/qmailvqd/cqmailvq_common.hpp =================================================================== --- trunk/base/qmailvqd/cqmailvq_common.hpp 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/base/qmailvqd/cqmailvq_common.hpp 2006-02-19 20:02:08 UTC (rev 345) @@ -7,8 +7,8 @@ namespace vq { - void vq::report_exception( CORBA::SystemException & e ); - void vq::report_exception( CORBA::Exception & e ); + void report_exception( CORBA::SystemException & e ); + void report_exception( CORBA::Exception & e ); } Modified: trunk/boost.inc =================================================================== --- trunk/boost.inc 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost.inc 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --I/usr/local/progs/boost-1_31/include/boost-1_31/ +-I/usr/local/include/ Modified: trunk/boost.lib =================================================================== --- trunk/boost.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --L/usr/local/progs/boost-1_31/lib/ +-L/usr/local/lib/ Modified: trunk/boost_date_time.lib =================================================================== --- trunk/boost_date_time.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost_date_time.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --lboost_date_time-gcc-1_31 +-lboost_date_time Modified: trunk/boost_filesystem.lib =================================================================== --- trunk/boost_filesystem.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost_filesystem.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --lboost_filesystem-gcc-1_31 +-lboost_filesystem Modified: trunk/boost_regex.lib =================================================================== --- trunk/boost_regex.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost_regex.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --L/usr/local/lib/ -lboost_regex-gcc-1_31 +-lboost_regex Modified: trunk/boost_thread.lib =================================================================== --- trunk/boost_thread.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost_thread.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --lboost_thread-gcc-mt-1_31 +-lboost_thread Modified: trunk/boost_unit_test.lib =================================================================== --- trunk/boost_unit_test.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/boost_unit_test.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --lboost_unit_test_framework-gcc-1_31 +-lboost_unit_test_framework Modified: trunk/corba.inc =================================================================== --- trunk/corba.inc 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/corba.inc 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --DP_USE_OMNIORB -I/usr/local/progs/omniorb/include +-DP_USE_OMNIORB -D__x86__ -D__linux__ -D__OSVERSION__=2 -I/usr/local/include Modified: trunk/corba.lib =================================================================== --- trunk/corba.lib 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/corba.lib 2006-02-19 20:02:08 UTC (rev 345) @@ -1 +1 @@ --L/usr/local/progs/omniorb/lib -lCOS4 -lCOSDynamic4 -lomniORB4 -lssl -lcrypto -lpthread +-lomniCodeSets4 -lomniDynamic4 -lomniORB4 -lssl -lcrypto -lpthread Modified: trunk/doc/en.html/arch.clients.html =================================================================== --- trunk/doc/en.html/arch.clients.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.clients.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.db.html =================================================================== --- trunk/doc/en.html/arch.db.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.db.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.html =================================================================== --- trunk/doc/en.html/arch.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.iauth.html =================================================================== --- trunk/doc/en.html/arch.iauth.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.iauth.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.ilogger.html =================================================================== --- trunk/doc/en.html/arch.ilogger.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.ilogger.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.ivq.html =================================================================== --- trunk/doc/en.html/arch.ivq.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/arch.ivq.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/com.support.html =================================================================== --- trunk/doc/en.html/com.support.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/com.support.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.authors.html =================================================================== --- trunk/doc/en.html/community.authors.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.authors.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -134,7 +134,20 @@ day it will make foo-baz.com a profitable company :-) </P ></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A +NAME="rramiega" +>5.7.2. Robert Ramiega</A +></H2 +><P +> Robert issued patch for gcc 4.0 support, also described + changes required to compile v-q on Debian. + </P ></DIV +></DIV ><DIV CLASS="NAVFOOTER" ><HR Modified: trunk/doc/en.html/community.blog.html =================================================================== --- trunk/doc/en.html/community.blog.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.blog.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.bugs.html =================================================================== --- trunk/doc/en.html/community.bugs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.bugs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.forums.html =================================================================== --- trunk/doc/en.html/community.forums.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.forums.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.html =================================================================== --- trunk/doc/en.html/community.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -121,7 +121,21 @@ HREF="community.authors.html" >Authors</A ></DT +><DD +><DL +><DT +>5.7.1. <A +HREF="community.authors.html#pniewiadomski" +>Pawe Niewiadomski</A +></DT +><DT +>5.7.2. <A +HREF="community.authors.html#rramiega" +>Robert Ramiega</A +></DT ></DL +></DD +></DL ></DIV ><P > Here you can find out where to look for help, share ideas. Modified: trunk/doc/en.html/community.requests.html =================================================================== --- trunk/doc/en.html/community.requests.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.requests.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.success.html =================================================================== --- trunk/doc/en.html/community.success.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/community.success.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.html =================================================================== --- trunk/doc/en.html/devs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/devs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.java.html =================================================================== --- trunk/doc/en.html/devs.java.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/devs.java.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.pkgs.html =================================================================== --- trunk/doc/en.html/devs.pkgs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/devs.pkgs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.python.html =================================================================== --- trunk/doc/en.html/devs.python.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/devs.python.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/doc.gen.html =================================================================== --- trunk/doc/en.html/doc.gen.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/doc.gen.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -137,7 +137,7 @@ <DIV CLASS="example" ><A -NAME="AEN918" +NAME="AEN930" ></A ><P ><B Modified: trunk/doc/en.html/doc.gen.makefile.html =================================================================== --- trunk/doc/en.html/doc.gen.makefile.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/doc.gen.makefile.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/foreword.html =================================================================== --- trunk/doc/en.html/foreword.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/foreword.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/index.html =================================================================== --- trunk/doc/en.html/index.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/index.html 2006-02-19 20:02:08 UTC (rev 345) @@ -13,7 +13,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -256,9 +256,19 @@ ><DL ><DT >3.3.1. <A +HREF="life.integration.html#life.inte.ihs" +>Incredible Hosting System</A +></DT +><DT +>3.3.2. <A HREF="life.integration.html#life.inte.omail" >Omail-webmail</A ></DT +><DT +>3.3.3. <A +HREF="life.integration.html#life.inte.bincimap" +>bincimap</A +></DT ></DL ></DD ></DL @@ -350,6 +360,11 @@ HREF="community.authors.html#pniewiadomski" >Pawe Niewiadomski</A ></DT +><DT +>5.7.2. <A +HREF="community.authors.html#rramiega" +>Robert Ramiega</A +></DT ></DL ></DD ></DL @@ -409,7 +424,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN723" +HREF="install.prep.html#AEN735" >Creating user and group</A ></DT ><DT @@ -541,27 +556,27 @@ ></DT ><DT >7-1. <A -HREF="install.prep.html#AEN815" +HREF="install.prep.html#AEN827" >corba.inc for MICO installed in /usr/local/progs/mico</A ></DT ><DT >7-2. <A -HREF="install.prep.html#AEN819" +HREF="install.prep.html#AEN831" >corba.lib for MICO installed in /usr/local/progs/mico</A ></DT ><DT >7-3. <A -HREF="install.prep.html#AEN823" +HREF="install.prep.html#AEN835" >corba.inc for omniORB installed in /usr/local/progs/omniorb</A ></DT ><DT >7-4. <A -HREF="install.prep.html#AEN827" +HREF="install.prep.html#AEN839" >corba.lib for omniORB installed in /usr/local/progs/omniorb</A ></DT ><DT >8-1. <A -HREF="doc.gen.html#AEN918" +HREF="doc.gen.html#AEN930" >Content of <TT CLASS="filename" >catalog</TT Modified: trunk/doc/en.html/install.comp.html =================================================================== --- trunk/doc/en.html/install.comp.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/install.comp.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.deps.html =================================================================== --- trunk/doc/en.html/install.deps.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/install.deps.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.html =================================================================== --- trunk/doc/en.html/install.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/install.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -129,7 +129,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN723" +HREF="install.prep.html#AEN735" >Creating user and group</A ></DT ><DT Modified: trunk/doc/en.html/install.install.html =================================================================== --- trunk/doc/en.html/install.install.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/install.install.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.prep.html =================================================================== --- trunk/doc/en.html/install.prep.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/install.prep.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -99,7 +99,7 @@ ><H2 CLASS="section" ><A -NAME="AEN723" +NAME="AEN735" >7.3.1. Creating user and group</A ></H2 ><P @@ -477,7 +477,7 @@ ><DIV CLASS="example" ><A -NAME="AEN815" +NAME="AEN827" ></A ><P ><B @@ -494,7 +494,7 @@ ><DIV CLASS="example" ><A -NAME="AEN819" +NAME="AEN831" ></A ><P ><B @@ -511,7 +511,7 @@ ><DIV CLASS="example" ><A -NAME="AEN823" +NAME="AEN835" ></A ><P ><B @@ -528,7 +528,7 @@ ><DIV CLASS="example" ><A -NAME="AEN827" +NAME="AEN839" ></A ><P ><B Modified: trunk/doc/en.html/intro.changes.html =================================================================== --- trunk/doc/en.html/intro.changes.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.changes.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -109,7 +109,8 @@ >Version 11. </B > It's now possible to modify user's account - change - flags, password at the same time. + flags, password at the same time. Also fixed compilation + problems with gcc 4.0. </P ></DIV ><DIV Modified: trunk/doc/en.html/intro.features.html =================================================================== --- trunk/doc/en.html/intro.features.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.features.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.html =================================================================== --- trunk/doc/en.html/intro.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.missing.html =================================================================== --- trunk/doc/en.html/intro.missing.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.missing.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.todo.html =================================================================== --- trunk/doc/en.html/intro.todo.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.todo.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.trans.html =================================================================== --- trunk/doc/en.html/intro.trans.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/intro.trans.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/license.html =================================================================== --- trunk/doc/en.html/license.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/license.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/life.html =================================================================== --- trunk/doc/en.html/life.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/life.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -149,7 +149,26 @@ HREF="life.integration.html" >Integration with other software</A ></DT +><DD +><DL +><DT +>3.3.1. <A +HREF="life.integration.html#life.inte.ihs" +>Incredible Hosting System</A +></DT +><DT +>3.3.2. <A +HREF="life.integration.html#life.inte.omail" +>Omail-webmail</A +></DT +><DT +>3.3.3. <A +HREF="life.integration.html#life.inte.bincimap" +>bincimap</A +></DT ></DL +></DD +></DL ></DIV ><P > This chapter describes how to configure and use v-q. It Modified: trunk/doc/en.html/life.integration.html =================================================================== --- trunk/doc/en.html/life.integration.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/life.integration.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -92,8 +92,25 @@ ><H2 CLASS="section" ><A +NAME="life.inte.ihs" +>3.3.1. Incredible Hosting System</A +></H2 +><P +> <A +HREF="http://ihs.foo-baz.com" +TARGET="_top" +>IHS</A +> is a system + that allows managing v-q via web browser. + </P +></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A NAME="life.inte.omail" ->3.3.1. Omail-webmail</A +>3.3.2. Omail-webmail</A ></H2 ><P > All you need to do is to configure omail-webmail to use @@ -107,7 +124,27 @@ >. </P ></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A +NAME="life.inte.bincimap" +>3.3.3. bincimap</A +></H2 +><P +> Use examples for vpopmail and change call + to <TT +CLASS="filename" +>vchkpw</TT +> + to <TT +CLASS="filename" +>user_auth</TT +>. + </P ></DIV +></DIV ><DIV CLASS="NAVFOOTER" ><HR Modified: trunk/doc/en.html/life.security.html =================================================================== --- trunk/doc/en.html/life.security.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.html/life.security.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:11"><META +CONTENT="2006-02-18T19:13:04"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.src/community.xml =================================================================== --- trunk/doc/en.src/community.xml 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.src/community.xml 2006-02-19 20:02:08 UTC (rev 345) @@ -155,5 +155,13 @@ day it will make foo-baz.com a profitable company :-) </para> </section> + + <section id="rramiega"> + <title>Robert Ramiega</title> + <para> + Robert issued patch for gcc 4.0 support, also described + changes required to compile v-q on Debian. + </para> + </section> </section> </chapter> Modified: trunk/doc/en.src/intro.xml =================================================================== --- trunk/doc/en.src/intro.xml 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.src/intro.xml 2006-02-19 20:02:08 UTC (rev 345) @@ -118,7 +118,8 @@ <para> It's now possible to modify user's account - change - flags, password at the same time. + flags, password at the same time. Also fixed compilation + problems with gcc 4.0. </para> </formalpara> Modified: trunk/doc/en.src/life.xml =================================================================== --- trunk/doc/en.src/life.xml 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/en.src/life.xml 2006-02-19 20:02:08 UTC (rev 345) @@ -18,6 +18,15 @@ other software. </para> + <section id="life.inte.ihs"> + <title>Incredible Hosting System</title> + + <para> + <ulink url="http://ihs.foo-baz.com">IHS</ulink> is a system + that allows managing v-q via web browser. + </para> + </section> + <section id="life.inte.omail"> <title>Omail-webmail</title> @@ -27,5 +36,15 @@ to <filename>user_auth</filename>. </para> </section> + + <section id="life.inte.bincimap"> + <title>bincimap</title> + + <para> + Use examples for vpopmail and change call + to <filename>vchkpw</filename> + to <filename>user_auth</filename>. + </para> + </section> </section> </chapter> Modified: trunk/doc/pl.html/arch.clients.html =================================================================== --- trunk/doc/pl.html/arch.clients.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.clients.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.db.html =================================================================== --- trunk/doc/pl.html/arch.db.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.db.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -90,7 +90,7 @@ ><DIV CLASS="figure" ><A -NAME="AEN181" +NAME="AEN184" ></A ><P ><B Modified: trunk/doc/pl.html/arch.html =================================================================== --- trunk/doc/pl.html/arch.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -166,7 +166,7 @@ ><DIV CLASS="figure" ><A -NAME="AEN115" +NAME="AEN118" ></A ><P ><B Modified: trunk/doc/pl.html/arch.iauth.html =================================================================== --- trunk/doc/pl.html/arch.iauth.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.iauth.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.ilogger.html =================================================================== --- trunk/doc/pl.html/arch.ilogger.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.ilogger.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.ivq.html =================================================================== --- trunk/doc/pl.html/arch.ivq.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/arch.ivq.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/com.support.html =================================================================== --- trunk/doc/pl.html/com.support.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/com.support.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.authors.html =================================================================== --- trunk/doc/pl.html/community.authors.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.authors.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -137,7 +137,20 @@ zyskown firm, kt b sipowiez reszty :-) </P ></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A +NAME="rramiega" +>5.7.2. Robert Ramiega</A +></H2 +><P +> Robert przysa atkla gcc 4.0, re opisa zmiany + potrzebne do kompilacji pod Debianem. + </P ></DIV +></DIV ><DIV CLASS="NAVFOOTER" ><HR Modified: trunk/doc/pl.html/community.blog.html =================================================================== --- trunk/doc/pl.html/community.blog.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.blog.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.bugs.html =================================================================== --- trunk/doc/pl.html/community.bugs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.bugs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.forums.html =================================================================== --- trunk/doc/pl.html/community.forums.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.forums.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.html =================================================================== --- trunk/doc/pl.html/community.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -121,7 +121,21 @@ HREF="community.authors.html" >Autorzy</A ></DT +><DD +><DL +><DT +>5.7.1. <A +HREF="community.authors.html#pniewiadomski" +>Pawe Niewiadomski</A +></DT +><DT +>5.7.2. <A +HREF="community.authors.html#rramiega" +>Robert Ramiega</A +></DT ></DL +></DD +></DL ></DIV ><P > Poniszy rozdzia opisuje sposoby uzyskiwania pomocy, dzielenia Modified: trunk/doc/pl.html/community.requests.html =================================================================== --- trunk/doc/pl.html/community.requests.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.requests.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.success.html =================================================================== --- trunk/doc/pl.html/community.success.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/community.success.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.html =================================================================== --- trunk/doc/pl.html/devs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/devs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.java.html =================================================================== --- trunk/doc/pl.html/devs.java.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/devs.java.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.pkgs.html =================================================================== --- trunk/doc/pl.html/devs.pkgs.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/devs.pkgs.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.python.html =================================================================== --- trunk/doc/pl.html/devs.python.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/devs.python.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/doc.gen.html =================================================================== --- trunk/doc/pl.html/doc.gen.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/doc.gen.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -138,7 +138,7 @@ <DIV CLASS="example" ><A -NAME="AEN917" +NAME="AEN932" ></A ><P ><B Modified: trunk/doc/pl.html/doc.gen.makefile.html =================================================================== --- trunk/doc/pl.html/doc.gen.makefile.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/doc.gen.makefile.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/foreword.html =================================================================== --- trunk/doc/pl.html/foreword.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/foreword.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/index.html =================================================================== --- trunk/doc/pl.html/index.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/index.html 2006-02-19 20:02:08 UTC (rev 345) @@ -13,7 +13,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -203,27 +203,27 @@ ></DT ><DT >3.1.2. <A -HREF="life.html#AEN230" +HREF="life.html#AEN233" >Konfiguracja moduu Qmail</A ></DT ><DT >3.1.3. <A -HREF="life.html#AEN338" +HREF="life.html#AEN341" >Konfiguracja moduu autoryzacyjnego PostgreSQL</A ></DT ><DT >3.1.4. <A -HREF="life.html#AEN374" +HREF="life.html#AEN377" >Konfiguracja moduu autoryzacyjnego JDBC</A ></DT ><DT >3.1.5. <A -HREF="life.html#AEN416" +HREF="life.html#AEN419" >Konfiguracja moduu logujcego PostgreSQL</A ></DT ><DT >3.1.6. <A -HREF="life.html#AEN452" +HREF="life.html#AEN455" >Konfiguracja moduu logujcego JDBC</A ></DT ></DL @@ -256,9 +256,19 @@ ><DL ><DT >3.3.1. <A +HREF="life.integration.html#life.inte.ihs" +>Incredible Hosting System</A +></DT +><DT +>3.3.2. <A HREF="life.integration.html#life.inte.omail" >Omail-webmail</A ></DT +><DT +>3.3.3. <A +HREF="life.integration.html#life.inte.bincimap" +>bincimap</A +></DT ></DL ></DD ></DL @@ -350,6 +360,11 @@ HREF="community.authors.html#pniewiadomski" >Pawe Niewiadomski</A ></DT +><DT +>5.7.2. <A +HREF="community.authors.html#rramiega" +>Robert Ramiega</A +></DT ></DL ></DD ></DL @@ -409,7 +424,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN723" +HREF="install.prep.html#AEN738" >Tworzenie uytkownika i grupy</A ></DT ><DT @@ -486,27 +501,27 @@ ></DT ><DT >3-1. <A -HREF="life.html#AEN235" +HREF="life.html#AEN238" >Konfiguracja moduu Qmail</A ></DT ><DT >3-2. <A -HREF="life.html#AEN343" +HREF="life.html#AEN346" >Konfiguracja moduu autoryzacyjnego PostgreSQL</A ></DT ><DT >3-3. <A -HREF="life.html#AEN379" +HREF="life.html#AEN382" >Konfiguracja moduu autoryzacyjnego JDBC</A ></DT ><DT >3-4. <A -HREF="life.html#AEN421" +HREF="life.html#AEN424" >Konfiguracja moduu logujcego PostgreSQL</A ></DT ><DT >3-5. <A -HREF="life.html#AEN457" +HREF="life.html#AEN460" >Konfiguracja moduu logujcego JDBC</A ></DT ></DL @@ -521,12 +536,12 @@ ></DT ><DT >2-1. <A -HREF="arch.html#AEN115" +HREF="arch.html#AEN118" >Architektura w obrazku</A ></DT ><DT >2-2. <A -HREF="arch.db.html#AEN181" +HREF="arch.db.html#AEN184" >Baza danych w obrazku</A ></DT ></DL @@ -541,27 +556,27 @@ ></DT ><DT >7-1. <A -HREF="install.prep.html#AEN814" +HREF="install.prep.html#AEN829" >corba.inc dla MICO zainstalowanego w /usr/local/progs/mico</A ></DT ><DT >7-2. <A -HREF="install.prep.html#AEN818" +HREF="install.prep.html#AEN833" >corba.lib dla MICO zainstalowanego w /usr/local/progs/mico</A ></DT ><DT >7-3. <A -HREF="install.prep.html#AEN822" +HREF="install.prep.html#AEN837" >corba.inc dla omniORB zainstalowanego w /usr/local/progs/omniorb</A ></DT ><DT >7-4. <A -HREF="install.prep.html#AEN826" +HREF="install.prep.html#AEN841" >corba.lib dla omniORB zainstalowanego w /usr/local/progs/omniorb</A ></DT ><DT >8-1. <A -HREF="doc.gen.html#AEN917" +HREF="doc.gen.html#AEN932" >Zawartoliku <TT CLASS="filename" >catalog</TT Modified: trunk/doc/pl.html/install.comp.html =================================================================== --- trunk/doc/pl.html/install.comp.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/install.comp.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.deps.html =================================================================== --- trunk/doc/pl.html/install.deps.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/install.deps.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.html =================================================================== --- trunk/doc/pl.html/install.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/install.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -129,7 +129,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN723" +HREF="install.prep.html#AEN738" >Tworzenie uytkownika i grupy</A ></DT ><DT Modified: trunk/doc/pl.html/install.install.html =================================================================== --- trunk/doc/pl.html/install.install.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/install.install.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.prep.html =================================================================== --- trunk/doc/pl.html/install.prep.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/install.prep.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -98,7 +98,7 @@ ><H2 CLASS="section" ><A -NAME="AEN723" +NAME="AEN738" >7.3.1. Tworzenie uytkownika i grupy</A ></H2 ><P @@ -479,7 +479,7 @@ ><DIV CLASS="example" ><A -NAME="AEN814" +NAME="AEN829" ></A ><P ><B @@ -496,7 +496,7 @@ ><DIV CLASS="example" ><A -NAME="AEN818" +NAME="AEN833" ></A ><P ><B @@ -513,7 +513,7 @@ ><DIV CLASS="example" ><A -NAME="AEN822" +NAME="AEN837" ></A ><P ><B @@ -530,7 +530,7 @@ ><DIV CLASS="example" ><A -NAME="AEN826" +NAME="AEN841" ></A ><P ><B Modified: trunk/doc/pl.html/intro.changes.html =================================================================== --- trunk/doc/pl.html/intro.changes.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.changes.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -91,6 +91,17 @@ CLASS="formalpara" ><P ><B +>Wersja 11. </B +> + Moliwe jest modyfikacja ustawienta uytkownika - zmiana flag, + hasa. + Poprawiono re kompilacjod gcc 4.0. + </P +></DIV +><DIV +CLASS="formalpara" +><P +><B >Wersja 10. </B > Aktualizacja bazy danych - dodano nowy widok vq_view_user_cnt_by_dom; podczas migracji ze starej bazy modyfikowana jest funkcja user_add (poprawka dla PostgreSQL 8). Modified: trunk/doc/pl.html/intro.features.html =================================================================== --- trunk/doc/pl.html/intro.features.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.features.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.html =================================================================== --- trunk/doc/pl.html/intro.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.missing.html =================================================================== --- trunk/doc/pl.html/intro.missing.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.missing.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.todo.html =================================================================== --- trunk/doc/pl.html/intro.todo.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.todo.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.trans.html =================================================================== --- trunk/doc/pl.html/intro.trans.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/intro.trans.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/license.html =================================================================== --- trunk/doc/pl.html/license.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/license.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/life.html =================================================================== --- trunk/doc/pl.html/life.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/life.html 2006-02-19 20:02:08 UTC (rev 345) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -100,27 +100,27 @@ ></DT ><DT >3.1.2. <A -HREF="life.html#AEN230" +HREF="life.html#AEN233" >Konfiguracja moduu Qmail</A ></DT ><DT >3.1.3. <A -HREF="life.html#AEN338" +HREF="life.html#AEN341" >Konfiguracja moduu autoryzacyjnego PostgreSQL</A ></DT ><DT >3.1.4. <A -HREF="life.html#AEN374" +HREF="life.html#AEN377" >Konfiguracja moduu autoryzacyjnego JDBC</A ></DT ><DT >3.1.5. <A -HREF="life.html#AEN416" +HREF="life.html#AEN419" >Konfiguracja moduu logujcego PostgreSQL</A ></DT ><DT >3.1.6. <A -HREF="life.html#AEN452" +HREF="life.html#AEN455" >Konfiguracja moduu logujcego JDBC</A ></DT ></DL @@ -149,7 +149,26 @@ HREF="life.integration.html" >Integracja z zewnznym oprogramowaniem</A ></DT +><DD +><DL +><DT +>3.3.1. <A +HREF="life.integration.html#life.inte.ihs" +>Incredible Hosting System</A +></DT +><DT +>3.3.2. <A +HREF="life.integration.html#life.inte.omail" +>Omail-webmail</A +></DT +><DT +>3.3.3. <A +HREF="life.integration.html#life.inte.bincimap" +>bincimap</A +></DT ></DL +></DD +></DL ></DIV ><P > Rozdzia opisuje konfiguracje oraz uytkowanie v-q. @@ -228,7 +247,7 @@ ><H2 CLASS="section" ><A -NAME="AEN230" +NAME="AEN233" >3.1.2. Konfiguracja moduu Qmail</A ></H2 ><P @@ -244,7 +263,7 @@ ><DIV CLASS="table" ><A -NAME="AEN235" +NAME="AEN238" ></A ><P ><B @@ -547,7 +566,7 @@ ><H2 CLASS="section" ><A -NAME="AEN338" +NAME="AEN341" >3.1.3. Konfiguracja moduu autoryzacyjnego PostgreSQL</A ></H2 ><P @@ -563,7 +582,7 @@ ><DIV CLASS="table" ><A -NAME="AEN343" +NAME="AEN346" ></A ><P ><B @@ -655,7 +674,7 @@ ><H2 CLASS="section" ><A -NAME="AEN374" +NAME="AEN377" >3.1.4. Konfiguracja moduu autoryzacyjnego JDBC</A ></H2 ><P @@ -674,7 +693,7 @@ ><DIV CLASS="table" ><A -NAME="AEN379" +NAME="AEN382" ></A ><P ><B @@ -786,7 +805,7 @@ ><H2 CLASS="section" ><A -NAME="AEN416" +NAME="AEN419" >3.1.5. Konfiguracja moduu logujcego PostgreSQL</A ></H2 ><P @@ -802,7 +821,7 @@ ><DIV CLASS="table" ><A -NAME="AEN421" +NAME="AEN424" ></A ><P ><B @@ -894,7 +913,7 @@ ><H2 CLASS="section" ><A -NAME="AEN452" +NAME="AEN455" >3.1.6. Konfiguracja moduu logujcego JDBC</A ></H2 ><P @@ -913,7 +932,7 @@ ><DIV CLASS="table" ><A -NAME="AEN457" +NAME="AEN460" ></A ><P ><B Modified: trunk/doc/pl.html/life.integration.html =================================================================== --- trunk/doc/pl.html/life.integration.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/life.integration.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:31"><META +CONTENT="2006-02-18T19:15:30"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -91,8 +91,26 @@ ><H2 CLASS="section" ><A +NAME="life.inte.ihs" +>3.3.1. Incredible Hosting System</A +></H2 +><P +> <A +HREF="http://ihs.foo-baz.com" +TARGET="_top" +>IHS</A +> jest + systemem umoliwiajcym administracj-q za pomoc + przegldarki internetowej. + </P +></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A NAME="life.inte.omail" ->3.3.1. Omail-webmail</A +>3.3.2. Omail-webmail</A ></H2 ><P > Wszystko co musisz zrobio skonfigurowa@ -107,7 +125,27 @@ >. </P ></DIV +><DIV +CLASS="section" +><H2 +CLASS="section" +><A +NAME="life.inte.bincimap" +>3.3.3. bincimap</A +></H2 +><P +> Wykorzystaj przykady dla vpopmail, + zmiezelkie odwoania do <TT +CLASS="filename" +>vchkpw</TT +> + na <TT +CLASS="filename" +>user_auth</TT +>. + </P ></DIV +></DIV ><DIV CLASS="NAVFOOTER" ><HR Modified: trunk/doc/pl.html/life.security.html =================================================================== --- trunk/doc/pl.html/life.security.html 2006-02-19 16:49:17 UTC (rev 344) +++ trunk/doc/pl.html/life.security.html 2006-02-19 20:02:08 UTC (rev 345) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-12-02T23:09:3... [truncated message content] |
From: <sv...@fo...> - 2006-02-19 16:49:42
|
Author: paweln Date: 2006-02-19 17:49:17 +0100 (Sun, 19 Feb 2006) New Revision: 344 Added: trunk/base/jdbc/src/com/foo_baz/v_q/jdbcauthd.java trunk/base/jdbc/src/com/foo_baz/v_q/jdbclogd.java Removed: trunk/base/jdbc/jdbcauthd.java trunk/base/jdbc/jdbclogd.java Modified: trunk/base/jdbc/build.xml trunk/base/jdbc/jdbcd.jar Log: CODE: moved some files to src/com/foo_baz/v_q Modified: trunk/base/jdbc/build.xml =================================================================== --- trunk/base/jdbc/build.xml 2005-12-20 19:45:25 UTC (rev 343) +++ trunk/base/jdbc/build.xml 2006-02-19 16:49:17 UTC (rev 344) @@ -1,4 +1,4 @@ -<project name="jdbcd" basedir="." default="build"> +<project name="jdbcd" basedir="." default="jar"> <taskdef name="idlcheck" classname="idldepend.IDLCheckerTask" classpath="idldepend-0-8-1.jar"/> <!-- Project settings --> @@ -19,6 +19,8 @@ <!-- Check timestamp on files --> <target name="prepare"> <tstamp/> + <delete dir="build"/> + <mkdir dir="build"/> </target> <!-- Generate Java source from IDL --> Deleted: trunk/base/jdbc/jdbcauthd.java =================================================================== --- trunk/base/jdbc/jdbcauthd.java 2005-12-20 19:45:25 UTC (rev 343) +++ trunk/base/jdbc/jdbcauthd.java 2006-02-19 16:49:17 UTC (rev 344) @@ -1,149 +0,0 @@ -/* -Virtual Qmail (http://v-q.foo-baz.com) -Copyright (C) 2002-2005 Pawel Niewiadomski (ne...@fo...) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ -import com.foo_baz.v_q.*; -import com.foo_baz.Getopt; - -import com.iona.corbautil.*; - -import org.omg.CORBA.*; -import java.util.*; -import javax.naming.*; -import java.sql.*; -import javax.sql.*; - -public class jdbcauthd { - - /** - * Prints info about arguments - */ - void usage() { - System.out.println("usage: "+getClass().getName()+" [ORB options]"); - } - - /** - * @param args arguments from main - */ - int run( String[] args ) throws Exception { - ORB orb = ORB.init(args, null); - - boolean run = true, exp = true; - String exp_ins = "name_service#Auth.iauth"; - Getopt go = new Getopt(); - int opt; - while((opt=go.parse(args, "O:e:ErR"))!= -1) { - switch(opt) { - case 'O': - break; - case 'e': - exp = true; - exp_ins = go.optarg; - break; - case 'E': - exp = false; - break; - case 'r': - run = true; - break; - case 'R': - run = false; - break; - case '?': - default: - usage(); - return 111; - } - } - - Properties props = System.getProperties(); - String me = getClass().getName(); - String dep_mod_prop = "com.foo_baz.v_q."+me+".dep_mod"; - String policy_prop = "com.foo_baz.v_q."+me+".policy"; - String ds_prop = "com.foo_baz.v_q."+me+".ds"; - String jdbc_prop = "com.foo_baz.v_q."+me+".jdbc"; - String jdbc_user_prop = "com.foo_baz.v_q."+me+".jdbc.user"; - String jdbc_pass_prop = "com.foo_baz.v_q."+me+".jdbc.pass"; - - String dep_mod = props.getProperty(dep_mod_prop) == null - ? "fixed_ports_no_imr" : props.getProperty(dep_mod_prop); - String policy = props.getProperty(policy_prop) == null - ? "" : props.getProperty(policy_prop); - String ds = props.getProperty(ds_prop); - String jdbc = props.getProperty(jdbc_prop); - String jdbc_user = props.getProperty(jdbc_user_prop) == null - ? "mail" : props.getProperty(jdbc_user_prop); - String jdbc_pass = props.getProperty(jdbc_pass_prop) == null - ? "mail" : props.getProperty(jdbc_pass_prop); - - System.out.println("Configuration: "); - System.out.println(dep_mod_prop+": "+dep_mod); - System.out.println(policy_prop+": "+policy); - System.out.println(ds_prop+": "+ds); - System.out.println(jdbc_prop+": "+jdbc); - System.out.println(jdbc_user_prop+": "+jdbc_user); - System.out.println(jdbc_pass_prop+": <secret>"); - - POAHier poa = null; - try { - poa = new POAHier(orb, dep_mod, policy); - } catch( PoaUtilityException e ) { - System.err.println(e.getMessage()); - System.exit(111); - } - - Connection con = null; - if( ds != null ) { - con = ((DataSource) new InitialContext().lookup(ds)).getConnection(); - } - if( jdbc != null ) { - con = DriverManager.getConnection(jdbc, jdbc_user, jdbc_pass); - } - - JDBCAuth auth = new JDBCAuth(con); - - byte[] oid = poa.getCorePoa().activate_object(auth); - org.omg.CORBA.Object ref = poa.getCorePoa().id_to_reference(oid); - - if(exp) { - try { - ImportExport.exportObjRef(orb, ref, exp_ins); - } catch( ImportExportException e ) { - System.err.println(e.getMessage()); - run = false; - } - } - - if(run) { - System.out.println("Running."); - poa.getCoreMgr().activate(); - orb.run(); - } - - orb.destroy(); - orb = null; - return 0; - } - - /** - * Entry point - * @see void run( String[] args ) - */ - public static void main( String[] args ) throws Exception { - System.exit(new jdbcauthd().run(args)); - } -} Modified: trunk/base/jdbc/jdbcd.jar =================================================================== (Binary files differ) Deleted: trunk/base/jdbc/jdbclogd.java =================================================================== --- trunk/base/jdbc/jdbclogd.java 2005-12-20 19:45:25 UTC (rev 343) +++ trunk/base/jdbc/jdbclogd.java 2006-02-19 16:49:17 UTC (rev 344) @@ -1,149 +0,0 @@ -/* -Virtual Qmail (http://v-q.foo-baz.com) -Copyright (C) 2002-2005 Pawel Niewiadomski (ne...@fo...) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ -import com.foo_baz.v_q.*; -import com.foo_baz.Getopt; - -import com.iona.corbautil.*; - -import org.omg.CORBA.*; -import java.util.*; -import javax.naming.*; -import java.sql.*; -import javax.sql.*; - -public class jdbclogd { - - /** - * Prints info about arguments - */ - void usage() { - System.out.println("usage: "+getClass().getName()+" [ORB options]"); - } - - /** - * @param args arguments from main - */ - int run( String[] args ) throws Exception { - ORB orb = ORB.init(args, null); - - boolean run = true, exp = true; - String exp_ins = "name_service#Logger.ilogger"; - Getopt go = new Getopt(); - int opt; - while((opt=go.parse(args, "O:e:ErR"))!= -1) { - switch(opt) { - case 'O': - break; - case 'e': - exp = true; - exp_ins = go.optarg; - break; - case 'E': - exp = false; - break; - case 'r': - run = true; - break; - case 'R': - run = false; - break; - case '?': - default: - usage(); - return 111; - } - } - - Properties props = System.getProperties(); - String me = getClass().getName(); - String dep_mod_prop = "com.foo_baz.v_q."+me+".dep_mod"; - String policy_prop = "com.foo_baz.v_q."+me+".policy"; - String ds_prop = "com.foo_baz.v_q."+me+".ds"; - String jdbc_prop = "com.foo_baz.v_q."+me+".jdbc"; - String jdbc_user_prop = "com.foo_baz.v_q."+me+".jdbc.user"; - String jdbc_pass_prop = "com.foo_baz.v_q."+me+".jdbc.pass"; - - String dep_mod = props.getProperty(dep_mod_prop) == null - ? "fixed_ports_no_imr" : props.getProperty(dep_mod_prop); - String policy = props.getProperty(policy_prop) == null - ? "" : props.getProperty(policy_prop); - String ds = props.getProperty(ds_prop); - String jdbc = props.getProperty(jdbc_prop); - String jdbc_user = props.getProperty(jdbc_user_prop) == null - ? "mail" : props.getProperty(jdbc_user_prop); - String jdbc_pass = props.getProperty(jdbc_pass_prop) == null - ? "mail" : props.getProperty(jdbc_pass_prop); - - System.out.println("Configuration: "); - System.out.println(dep_mod_prop+": "+dep_mod); - System.out.println(policy_prop+": "+policy); - System.out.println(ds_prop+": "+ds); - System.out.println(jdbc_prop+": "+jdbc); - System.out.println(jdbc_user_prop+": "+jdbc_user); - System.out.println(jdbc_pass_prop+": <secret>"); - - POAHier poa = null; - try { - poa = new POAHier(orb, dep_mod, policy); - } catch( PoaUtilityException e ) { - System.err.println(e.getMessage()); - System.exit(111); - } - - Connection con = null; - if( ds != null ) { - con = ((DataSource) new InitialContext().lookup(ds)).getConnection(); - } - if( jdbc != null ) { - con = DriverManager.getConnection(jdbc, jdbc_user, jdbc_pass); - } - - JDBCLog log = new JDBCLog(con); - - byte[] oid = poa.getCorePoa().activate_object(log); - org.omg.CORBA.Object ref = poa.getCorePoa().id_to_reference(oid); - - if(exp) { - try { - ImportExport.exportObjRef(orb, ref, exp_ins); - } catch( ImportExportException e ) { - System.err.println(e.getMessage()); - run = false; - } - } - - if(run) { - System.out.println("Running."); - poa.getCoreMgr().activate(); - orb.run(); - } - - orb.destroy(); - orb = null; - return 0; - } - - /** - * Entry point - * @see void run( String[] args ) - */ - public static void main( String[] args ) throws Exception { - System.exit(new jdbclogd().run(args)); - } -} Copied: trunk/base/jdbc/src/com/foo_baz/v_q/jdbcauthd.java (from rev 342, trunk/base/jdbc/jdbcauthd.java) Copied: trunk/base/jdbc/src/com/foo_baz/v_q/jdbclogd.java (from rev 342, trunk/base/jdbc/jdbclogd.java) |
From: <sv...@fo...> - 2005-12-20 19:48:10
|
Author: paweln Date: 2005-12-20 20:45:25 +0100 (Tue, 20 Dec 2005) New Revision: 343 Modified: trunk/VERSION trunk/base/qmailvqd/cqmailvq_user.cc trunk/interfaces/clue/user_ls.cc trunk/libtext/common.hpp trunk/pkg/rpm/v-q.spec.in Log: CODE: fixed user_ls CODE: changes in RPM package (setuid for qmail_*) VERSION: 11pre1 Modified: trunk/VERSION =================================================================== --- trunk/VERSION 2005-12-14 21:26:39 UTC (rev 342) +++ trunk/VERSION 2005-12-20 19:45:25 UTC (rev 343) @@ -1 +1 @@ -10 +11pre1 Modified: trunk/base/qmailvqd/cqmailvq_user.cc =================================================================== --- trunk/base/qmailvqd/cqmailvq_user.cc 2005-12-14 21:26:39 UTC (rev 342) +++ trunk/base/qmailvqd/cqmailvq_user.cc 2005-12-20 19:45:25 UTC (rev 343) @@ -163,7 +163,7 @@ ret.reset(this->user_get(ui)); if( ::vq::ivq::err_no != ret->ec ) return ret.release(); - if( ! strcmp(ai.dir, ui.dir) ) + if( strcmp(ai.dir, ui.dir) ) return lr(::vq::ivq::err_func_ni, ""); } Modified: trunk/interfaces/clue/user_ls.cc =================================================================== --- trunk/interfaces/clue/user_ls.cc 2005-12-14 21:26:39 UTC (rev 342) +++ trunk/interfaces/clue/user_ls.cc 2005-12-20 19:45:25 UTC (rev 343) @@ -93,6 +93,16 @@ } } + if( ! quiet && ! data ) + cout<<"domain" + << ": login" + << (pass ? ": password" : "") + <<": flags" + <<": directory" + <<": uid" + <<": gid" + <<endl; + for( CORBA::ULong i=0, s=dis->length(); i<s; ++i ) { ::vq::ivq::user_info_list_var uis; @@ -104,15 +114,6 @@ return 1; } - if( ! quiet && ! data ) - cout<< "login" - << (pass ? ": password" : "") - <<": flags" - <<": directory" - <<": uid" - <<": gid" - <<endl; - for( CORBA::ULong j=0, k=uis->length(); j<k; ++j ) { if(!quiet) cout<<dis[i].domain<<": "; Modified: trunk/libtext/common.hpp =================================================================== --- trunk/libtext/common.hpp 2005-12-14 21:26:39 UTC (rev 342) +++ trunk/libtext/common.hpp 2005-12-20 19:45:25 UTC (rev 343) @@ -17,4 +17,4 @@ #define LIBTEXT_API #endif -#endif // ifndef __LIBTEXT_COMMON_HPP \ No newline at end of file +#endif // ifndef __LIBTEXT_COMMON_HPP Modified: trunk/pkg/rpm/v-q.spec.in =================================================================== --- trunk/pkg/rpm/v-q.spec.in 2005-12-14 21:26:39 UTC (rev 342) +++ trunk/pkg/rpm/v-q.spec.in 2005-12-20 19:45:25 UTC (rev 343) @@ -208,11 +208,11 @@ # Add the "_vq" user /usr/sbin/useradd -c "Virtual Qmail" -u 111 \ - -s /bin/sh -r -d %{datadir} _vq 2> /dev/null || : + -s /bin/sh -r -d %{datadir} -g _vq _vq 2> /dev/null || : # Add the "_log" user /usr/sbin/useradd -c "Virtual Qmail log writer" -u 112 \ - -s /bin/sh -r -d %{_localstatedir}/log _log 2> /dev/null || : + -s /bin/sh -r -d %{_localstatedir}/log -g _log _log 2> /dev/null || : %pre pgsql # Add the "_vq" group @@ -221,11 +221,11 @@ # Add the "_vq" user /usr/sbin/useradd -c "Virtual Qmail" -u 111 \ - -s /bin/sh -r -d %{datadir} _vq 2> /dev/null || : + -s /bin/sh -r -d %{datadir} -g _vq _vq 2> /dev/null || : # Add the "_log" user /usr/sbin/useradd -c "Virtual Qmail log writer" -u 112 \ - -s /bin/sh -r -d %{_localstatedir}/log _log 2> /dev/null || : + -s /bin/sh -r -d %{_localstatedir}/log -g _log _log 2> /dev/null || : %if %{?_with_jdbc:1}%{!?_with_jdbc:0} @@ -236,11 +236,11 @@ # Add the "_vq" user /usr/sbin/useradd -c "Virtual Qmail" -u 111 \ - -s /bin/sh -r -d %{datadir} _vq 2> /dev/null || : + -s /bin/sh -r -d %{datadir} -g _vq _vq 2> /dev/null || : # Add the "_log" user /usr/sbin/useradd -c "Virtual Qmail log writer" -u 112 \ - -s /bin/sh -r -d %{_localstatedir}/log _log 2> /dev/null || : + -s /bin/sh -r -d %{_localstatedir}/log -g _log _log 2> /dev/null || : %endif # %{?_with_jdbc:1}%{!?_with_jdbc:0} @@ -266,14 +266,13 @@ %config %{_sysconfdir}/ld.so.conf.d/vq.conf +%attr(04550,_vq,_vq) %{_bindir}/qmail_* %{_bindir}/*_* %{_bindir}/qmailvqd %{_bindir}/autoresp %{_bindir}/deliver %{_bindir}/qmail-send-restart -#%attr(4510,root,%{suexec_caller}) %{_sbindir}/suexec - %dir %{_libdir}/vq %{_libdir}/vq/* |
From: <sv...@fo...> - 2005-12-14 21:26:57
|
Author: paweln Date: 2005-12-14 22:26:39 +0100 (Wed, 14 Dec 2005) New Revision: 342 Modified: trunk/base/jdbc/build.xml trunk/base/jdbc/jdbcd.jar Log: CODE: it's possible to build jdbcd.jar with eclipse or ant Modified: trunk/base/jdbc/build.xml =================================================================== --- trunk/base/jdbc/build.xml 2005-12-14 21:13:43 UTC (rev 341) +++ trunk/base/jdbc/build.xml 2005-12-14 21:26:39 UTC (rev 342) @@ -12,8 +12,7 @@ <!-- classpath for JSF 1.0 --> <path id="compile.classpath"> - <pathelement path ="${webinf.dir}/classes"/> - <pathelement path ="${classpath.external}"/> + <pathelement path ="${basedir}/../../corbautil/corbautil.jar"/> <pathelement path ="${classpath}"/> </path> @@ -56,14 +55,12 @@ <!-- Create binary distribution --> <target name="jar" depends="build"> - <mkdir dir="${build.dir}"/> <jar basedir="${build.dir}" jarfile="${project.distname}.jar"> - <exclude name="WEB-INF/${build.dir}/**"/> - <exclude name="WEB-INF/src/**"/> - <exclude name="WEB-INF/web.xml"/> - </jar> + <manifest> + </manifest> + </jar> </target> </project> Modified: trunk/base/jdbc/jdbcd.jar =================================================================== (Binary files differ) |
From: <sv...@fo...> - 2005-12-14 21:13:56
|
Author: paweln Date: 2005-12-14 22:13:43 +0100 (Wed, 14 Dec 2005) New Revision: 341 Removed: trunk/base/jdbc/src/com/com/ Log: Removed file/folder |
From: <sv...@fo...> - 2005-12-14 21:13:00
|
Author: paweln Date: 2005-12-14 22:12:41 +0100 (Wed, 14 Dec 2005) New Revision: 340 Added: trunk/base/jdbc/src/com/foo_baz/v_q/POAHier.java Removed: trunk/base/jdbc/src/com/com/foo_baz/v_q/POAHier.java Log: Moved remotely Deleted: trunk/base/jdbc/src/com/com/foo_baz/v_q/POAHier.java =================================================================== --- trunk/base/jdbc/src/com/com/foo_baz/v_q/POAHier.java 2005-12-14 21:11:58 UTC (rev 339) +++ trunk/base/jdbc/src/com/com/foo_baz/v_q/POAHier.java 2005-12-14 21:12:41 UTC (rev 340) @@ -1,39 +0,0 @@ -/* -Virtual Qmail (http://v-q.foo-baz.com) -Copyright (C) 2002-2005 Pawel Niewiadomski (ne...@fo...) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ -package com.foo_baz.v_q; - -import com.iona.corbautil.*; -import org.omg.CORBA.*; -import org.omg.PortableServer.*; - -public class POAHier extends PoaUtilityPortableImpl { - public POAHier( ORB org, String depMod, String policy ) - throws PoaUtilityException { - super( org, stringToDeploymentModel(depMod) ); - - coreMgr = createPoaManager("coreMgr"); - corePoa = createPoa("corePoa", root(), coreMgr, policy ); - } - - public POAManager getCoreMgr() { return coreMgr.mgr(); } - public POA getCorePoa() { return corePoa; } - - protected LabelledPOAManager coreMgr; - protected POA corePoa; -} Copied: trunk/base/jdbc/src/com/foo_baz/v_q/POAHier.java (from rev 339, trunk/base/jdbc/src/com/com/foo_baz/v_q/POAHier.java) |
From: <sv...@fo...> - 2005-12-14 21:12:23
|
Author: paweln Date: 2005-12-14 22:11:58 +0100 (Wed, 14 Dec 2005) New Revision: 339 Added: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java Removed: trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCLog.java Log: Moved remotely Deleted: trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCLog.java =================================================================== --- trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCLog.java 2005-12-14 21:10:18 UTC (rev 338) +++ trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCLog.java 2005-12-14 21:11:58 UTC (rev 339) @@ -1,422 +0,0 @@ -/* -Virtual Qmail (http://v-q.foo-baz.com) -Copyright (C) 2002-2005 Pawel Niewiadomski (ne...@fo...) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ -package com.foo_baz.v_q; -import com.foo_baz.v_q.ivqPackage.*; -import com.foo_baz.v_q.iloggerPackage.*; - -import java.sql.*; -import javax.sql.*; -import java.util.*; -import org.omg.CORBA.*; - -public class JDBCLog extends iloggerPOA { - /** - * - */ - public JDBCLog( Connection con ) throws SQLException { - clear(); - this.con = con; - this.con.setAutoCommit(true); - } - - /** - * - */ - public void clear() { - ip = new String(); - ser = ilogger.ser_unknown; - dom = new String(); - log = new String(); - } - /** - * - */ - public void ip_set( String ip ) { - this.ip = ip.toLowerCase(); - } - - /** - * - */ - public void service_set( short ser ) { - this.ser = ser; - } - - /** - * - */ - public void domain_set( String dom ) { - this.dom = dom.toLowerCase(); - } - - /** - * - */ - public void login_set( String log ) { - this.log = log.toLowerCase(); - } - - /** - * - */ - public error write( short result, String msg ) throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall( "{ ? = call log_write(?, ?, ?, ?, ?, ?) }" ); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, ip); - call.setShort(idx++, ser); - call.setString(idx++, dom); - call.setString(idx++, log); - call.setShort(idx++, result); - call.setString(idx++, msg); - call.execute(); - - int res = call.getInt(1); - try { call.close(); } catch( Exception e ) {} - - if( res != 0 ) - return lr(err_code.err_func_res, "LOG_WRITE"); - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error count( IntHolder cnt ) throws null_error, db_error, except { try { - cnt.value = 0; - - Statement st = null; - ResultSet res = null; - try { - st = con.createStatement(); - res = st.executeQuery("SELECT count FROM vq_view_log_count"); - while(res.next()) { - cnt.value = res.getInt(1); - break; - } - } finally { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - - /** - * - */ - public error count_by_dom( IntHolder cnt ) throws null_error, db_error, except { try { - cnt.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - try { - st = con.prepareStatement("SELECT count FROM vq_view_log_count_by_dom WHERE domain=?"); - st.setString(1, dom); - res = st.executeQuery(); - while(res.next()) { - cnt.value = res.getInt(1); - } - } finally { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null) st.close(); } catch(Exception e) {} - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error count_by_user( IntHolder cnt ) throws null_error, db_error, except { try { - cnt.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - try { - st = con.prepareStatement( - "SELECT count FROM vq_view_log_count_by_user WHERE domain=? AND login=?"); - st.setString(1, dom); - st.setString(2, log); - res = st.executeQuery(); - while(res.next()) { - cnt.value = res.getInt(1); - } - } finally { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null) st.close(); } catch(Exception e) {} - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error read( int start, int end, log_entry_listHolder les ) - throws null_error, db_error, except { - return read_by_func( rbf_all, start, end, les ); - } - - /** - * - */ - public error read_by_dom( int start, int end, log_entry_listHolder les ) - throws null_error, db_error, except { - return read_by_func( rbf_by_dom, start, end, les ); - } - - /** - * - */ - public error read_by_user( int start, int end, log_entry_listHolder les ) - throws null_error, db_error, except { - return read_by_func( rbf_by_user, start, end, les ); - } - - /** - * - */ - protected error read_by_func( short rbf, int start, int cnt, - log_entry_listHolder les ) - throws null_error, db_error, except { try { - les.value = new log_entry[0]; - ArrayList ales = new ArrayList(); - - PreparedStatement st = null; - ResultSet res = null; - - try { - String qr = null; - if( rbf == rbf_all ) - qr = "SELECT id_log,time,ip,service,result,msg,domain,login " - + "FROM vq_view_log_read ORDER BY time DESC"; - if( rbf == rbf_by_dom ) - qr = "SELECT id_log,time,ip,service,result,msg,login " - + "FROM vq_view_log_read WHERE domain=? " - + "OR (?=1 AND domain IS NULL) ORDER BY time DESC"; - if( rbf == rbf_by_user ) - qr = "SELECT id_log,time,ip,service,result,msg FROM vq_view_log_read WHERE " - +" (domain=? OR (?=1 AND domain IS NULL)) " - + "AND (login=? OR (?=1 AND login IS NULL)) ORDER BY time DESC"; - - st = con.prepareStatement(qr); - - int idx = 1; - if( rbf == rbf_by_dom || rbf == rbf_by_user ) { - st.setString(idx++, dom); - st.setInt(idx++, dom.length() == 0 ? 1 : 0 ); - } - if( rbf == rbf_by_user ) { - st.setString(idx++, log); - st.setInt(idx++, log.length() == 0 ? 1 : 0 ); - } - - res = st.executeQuery(); - - if( res.getType() == ResultSet.TYPE_FORWARD_ONLY ) { - for( int i = 0; i <= start; ++i ) { - if( ! res.next() ) { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - return lr(start != 0 ? err_code.err_noent : err_code.err_no, ""); - } - } - } else if( ! res.absolute(start+1) ) { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - return lr(err_code.err_noent, ""); - } - - if( cnt == 0 ) --cnt; // if it's zero means that we want to read all entries - for( idx=1; cnt-- != 0; idx = 1 ) { - log_entry le = new log_entry(); - - le.id_log = res.getString(idx); - if( res.wasNull() ) le.id_log = ""; - ++idx; - le.time = res.getTime(idx).toString(); - if( res.wasNull() ) le.time = ""; - ++idx; - le.ip = res.getString(idx); - if( res.wasNull() ) le.ip = ""; - ++idx; - le.ser = res.getShort(idx); - if( res.wasNull() ) le.ser = ilogger.ser_unknown; - ++idx; - le.res = res.getShort(idx); - if( res.wasNull() ) le.res = ilogger.re_unknown; - ++idx; - le.msg = res.getString(idx); - if( res.wasNull() ) le.msg = ""; - ++idx; - - if( rbf != rbf_by_user && rbf != rbf_by_dom ) { - le.domain = res.getString(idx); - if( res.wasNull() ) le.domain = ""; - ++idx; - } else - le.domain = ""; - if( rbf != rbf_by_user ) { - le.login = res.getString(idx); - if( res.wasNull() ) le.login = ""; - ++idx; - } else - le.login = ""; - ales.add(le); - - if(!res.next()) break; - } - - les.value = new log_entry[ ales.size() ]; - for( int i=0, s=ales.size(); i<s; ++i ) - les.value[i] = (log_entry) ales.get(i); - } finally { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error rm_all() throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall( "{ ? = call log_rm_all() }" ); - call.registerOutParameter(1, Types.INTEGER); - call.execute(); - int res = call.getInt(1); - try { call.close(); } catch( Exception e ) {} - - if ( res != 0 ) - return lr(err_code.err_func_res, "LOG_RM_ALL"); - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error rm_by_dom() throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall( "{ ? = call log_rm_by_dom(?) }" ); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, dom); - call.execute(); - int res = call.getInt(1); - try { call.close(); } catch( Exception e ) {} - - if( res != 0 ) - return lr(err_code.err_func_res, "LOG_RM_BY_DOM"); - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error rm_by_user() throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall( "{ ? = call log_rm_by_user(?, ?) }" ); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, dom); - call.setString(idx++, log); - call.execute(); - int res = call.getInt(1); - try { call.close(); } catch( Exception e ) {} - - if ( res != 0 ) - return lr(err_code.err_func_res, "LOG_RM_BY_USER"); - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - protected error lr( err_code ec, String what ) { - error err = new error(); - err.ec = ec; - err.what = what; // string_dup not really needed - err.file = this.toString(); - err.line = 0; - return err; - } - - protected String ip; - protected String log; - protected String dom; - protected short ser; - protected Connection con; - - protected static final short rbf_all = 1; - protected static final short rbf_by_dom = 2; - protected static final short rbf_by_user = 3; -} // namespace POA_vq Copied: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCLog.java (from rev 338, trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCLog.java) |
From: <sv...@fo...> - 2005-12-14 21:10:42
|
Author: paweln Date: 2005-12-14 22:10:18 +0100 (Wed, 14 Dec 2005) New Revision: 338 Added: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCAuth.java Removed: trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCAuth.java Log: Moved remotely Deleted: trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCAuth.java =================================================================== --- trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCAuth.java 2005-12-14 21:07:24 UTC (rev 337) +++ trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCAuth.java 2005-12-14 21:10:18 UTC (rev 338) @@ -1,1337 +0,0 @@ -/* -Virtual Qmail (http://v-q.foo-baz.com) -Copyright (C) 2002-2005 Pawel Niewiadomski (ne...@fo...) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ -package com.foo_baz.v_q; -import com.foo_baz.v_q.ivqPackage.*; -import com.foo_baz.v_q.iauthPackage.*; - -import java.sql.*; -import javax.sql.*; -import java.util.*; -import java.net.*; -import org.omg.CORBA.*; - -public class JDBCAuth extends iauthPOA { - - /** - * - */ - public JDBCAuth( Connection con ) throws SQLException { - this.con = con; - this.con.setAutoCommit(true); - } - - /** - */ - public error dom_add( String dom, IntHolder dom_id ) - throws null_error, db_error, except { try { - dom_id.value = 0; - - dom = dom.toLowerCase(); - - CallableStatement call = con.prepareCall("{? = call dom_add(?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, dom); - call.execute(); - - dom_id.value = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, "DOM_ADD"); - - if( dom_id.value < 0 ) { - return dom_id.value == -1 ? lr(err_code.err_exists, dom) - : lr(err_code.err_func_res, "DOM_ADD"); - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error dom_id( String dom, IntHolder dom_id ) - throws null_error, db_error, except { try { - dom_id.value = 0; - dom = dom.toLowerCase(); - - String func = "DOM_ID"; - CallableStatement call = con.prepareCall( "{ ? = call "+func+"(?) }" ); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, dom); - call.execute(); - - dom_id.value = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {}; - - if( wasNull || dom_id.value == -1 ) - return lr(err_code.err_noent, dom); - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error dom_name( int dom_id, StringHolder domain ) - throws null_error, db_error, except { try { - domain.value = ""; - - PreparedStatement st = null; - ResultSet res = null; - err_code ec = err_code.err_noent; - String ec_msg = Integer.toString(dom_id); - - try { - st = con.prepareStatement( - "SELECT domain FROM vq_view_DOM_NAME WHERE id_domain=?" ); - st.setInt(1, dom_id); - res = st.executeQuery(); - while(res.next()) { - domain.value = res.getString(1); - if( ! res.wasNull() ) { - ec = err_code.err_no; - ec_msg = ""; - break; - } - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(ec, ec_msg); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error dom_rm( int dom_id ) - throws null_error, db_error, except { - return func_rm( dom_id, "DOM_RM" ); - } - - /** - * - */ - public error dom_ls( domain_info_listHolder dis ) - throws null_error, db_error, except { try { - dis.value = new domain_info[0]; - Statement st = null; - ResultSet res = null; - ArrayList adis = new ArrayList(); - - try { - st = con.createStatement(); - res = st.executeQuery("SELECT id_domain,domain FROM vq_view_dom_ls ORDER BY domain"); - - for( int idx=1; res.next(); idx=1) { - domain_info di = new domain_info(); - di.id_domain = res.getInt(idx++); - if( res.wasNull() ) di.id_domain = 0; - di.domain = res.getString(idx++); - if( res.wasNull() ) di.domain = ""; - adis.add(di); - } - - dis.value = new domain_info [adis.size()]; - for(int i=0, s=adis.size(); i<s; ++i) - dis.value[i] = (domain_info) adis.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error user_add( user_info ai, boolean is_banned ) - throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall("{ ? = call user_add(?, ?, ?, ?, ?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, ai.id_domain); - call.setString(idx++, ai.login.toLowerCase()); - call.setString(idx++, ai.pass); - call.setString(idx++, ai.dir); - call.setInt(idx++, ai.flags); - call.setBoolean(idx++, is_banned); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {}; - - if( wasNull ) { - return lr(err_code.err_func_res, "USER_ADD"); - } - - if( res < 0 ) { - switch( res ) { - case -3: - return lr(err_code.err_noent, Integer.toString(ai.id_domain)); - case -2: - return lr(err_code.err_user_inv, ""); - case -1: - return lr(err_code.err_exists, ""); - default: - return lr(err_code.err_func_res, "USER_ADD"); - } - } - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, "USER_ADD"); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error user_rep( user_info ai, boolean password, boolean dir ) - throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall("{ ? = call user_rep(?, ?, ?, ?, ?, ?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, ai.id_domain); - call.setString(idx++, ai.login.toLowerCase()); - call.setString(idx++, ai.pass); - call.setString(idx++, ai.dir); - call.setInt(idx++, ai.flags); - call.setBoolean(idx++, password); - call.setBoolean(idx++, dir); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {}; - - if( wasNull ) { - return lr(err_code.err_func_res, "USER_REP"); - } else { - if( res < 0 ) { - switch( res ) { - case -1: - return lr(err_code.err_noent, Integer.toString(ai.id_domain)); - case -2: - return lr(err_code.err_noent, ai.login); - default: - return lr(err_code.err_func_res, "USER_REP"); - } - } - if( 0 == res ) - return lr(err_code.err_no, ""); - } - return lr(err_code.err_func_res, "USER_REP"); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error da_add( int dom_id, String ali ) - throws null_error, db_error, except { - return da_dip_add(dom_id, ali, "DA_ADD"); - } - - /** - * - */ - public error dip_add( int dom_id, String ali ) - throws null_error, db_error, except { - - InetAddress ia = null; - try { - ia = InetAddress.getByName(ali); - } catch( Exception e ) { - ia = null; - } - if( ia == null ) - return lr(err_code.err_dom_inv, ali); - - //return da_dip_add(dom_id, ia.getHostAddress(), "DIP_ADD"); - return da_dip_add(dom_id, ali, "DIP_ADD"); - } - - /** - * - */ - public error da_rm( String rea ) - throws null_error, db_error, except { - return da_dip_rm( rea, "DA_RM" ); - } - - /** - * - */ - public error dip_rm( String rea ) - throws null_error, db_error, except { - return da_dip_rm( rea, "DIP_RM" ); - } - - /** - * - */ - public error da_ls_by_dom( int dom_id, string_listHolder reas ) - throws null_error, db_error, except { - return da_dip_ls_by_dom( dom_id, reas, "alias", "vq_view_DA_LS" ); - } - - /** - * - */ - public error dip_ls_by_dom( int dom_id, string_listHolder reas ) - throws null_error, db_error, except { - return da_dip_ls_by_dom( dom_id, reas, "ip", "vq_view_DIP_LS" ); - } - - /** - * - */ - public error da_dip_ls_by_dom( int dom_id, string_listHolder reas, - String field, String view ) - throws null_error, db_error, except { try { - - reas.value = new String[0]; - PreparedStatement st = null; - ResultSet res = null; - ArrayList areas = new ArrayList(); - - try { - st = con.prepareStatement( - "SELECT "+field+" FROM "+view+" WHERE id_domain=? ORDER BY "+field); - st.setInt(1, dom_id); - res = st.executeQuery(); - - while( res.next() ) { - String item = res.getString(1); - if( res.wasNull() ) item = ""; - areas.add(item); - } - - reas.value = new String [areas.size()]; - for( int i=0, s=areas.size(); i<s; ++i ) - reas.value[i] = (String) areas.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_pass( int dom_id, String login, String pass ) - throws null_error, db_error, except { try { - - CallableStatement call = con.prepareCall("{ ? = call user_pass(?, ?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, login.toLowerCase()); - call.setString(idx++, pass); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) { - return lr(err_code.err_func_res, "USER_PASS"); - } - - if( res < 0 ) { - switch( res ) { - case -1: - return lr(err_code.err_noent, ""); - default: - return lr(err_code.err_func_res, "USER_PASS"); - } - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error user_rm( int dom_id, String login ) - throws null_error, db_error, except { try { - String func = "USER_RM"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, login); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) { - return lr(err_code.err_func_res, func); - } - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - */ - public error user_ex( int dom_id, String login ) - throws null_error, db_error, except { try { - PreparedStatement st = null; - ResultSet res = null; - err_code ec = err_code.err_noent; - String ec_msg = ""; - - try { - st = con.prepareStatement( - "SELECT COUNT(*) FROM vq_view_USER_EX " - + "WHERE id_domain=? AND login=?" ); - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - res = st.executeQuery(); - while(res.next()) { - ec = res.getInt(1) != 0 - ? err_code.err_no : err_code.err_noent; - ec_msg = ""; - break; - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(ec, ec_msg); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_cnt_by_dom( int dom_id, IntHolder cnt ) - throws null_error, db_error, except { try { - cnt.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - - try { - st = con.prepareStatement( - "SELECT count FROM vq_view_user_cnt_by_dom WHERE id_domain=?" ); - int idx=1; - st.setInt(idx++, dom_id); - res = st.executeQuery(); - cnt.value = res.next() ? res.getInt(1) : 0; - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_ls_by_dom( int dom_id, int start, int cnt, - user_info_listHolder uis ) - throws null_error, db_error, except { try { - uis.value = new user_info[0]; - PreparedStatement st = null; - ResultSet res = null; - ArrayList auis = new ArrayList(); - - try { - st = con.prepareStatement( "SELECT pass,dir,flags,login FROM vq_view_user_get " - + "WHERE id_domain=? ORDER BY login" ); - int idx=1; - st.setInt(idx++, dom_id); - res = st.executeQuery(); - - if( res.getType() == ResultSet.TYPE_FORWARD_ONLY ) { - for( int i=0; i <= start; ++i ) { - if( ! res.next() ) { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - return lr(start != 0 ? err_code.err_noent : err_code.err_no, ""); - } - } - } else if ( ! res.absolute(start+1) ) { - try { if( res != null ) res.close(); } catch(Exception e) {} - try { if( st != null ) st.close(); } catch(Exception e) {} - return lr(err_code.err_noent, ""); - } - - if( cnt == 0 ) --cnt; // if it's zero means that we want to read all entries - - for( idx=1; cnt-- != 0; idx=1) { - user_info ui = new user_info(); - - ui.pass = res.getString(idx++); - if( res.wasNull() ) ui.pass = ""; - ui.dir = res.getString(idx++); - if( res.wasNull() ) ui.dir = ""; - ui.flags = res.getShort(idx++); - if( res.wasNull() ) ui.flags = 0; - ui.login = res.getString(idx++); - if( res.wasNull() ) ui.login = ""; - ui.id_domain = dom_id; - auis.add(ui); - - if(!res.next()) break; - } - - uis.value = new user_info [auis.size()]; - for(int i=0, s=auis.size(); i<s; ++i) - uis.value[i] = (user_info) auis.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error eb_add( String re_domain, String re_login ) - throws null_error, db_error, except { try { - String func = "EB_ADD"; - CallableStatement call = con.prepareCall("{ ? = call "+func+"(?, ?) }"); - - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, re_domain); - call.setString(idx++, re_login); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) { - return lr(err_code.err_func_res, func); - } - - if( res < 0 ) { - return res == -1 - ? lr(err_code.err_exists, "") - : lr(err_code.err_func_res, func); - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error eb_rm( String re_domain, String re_login ) - throws null_error, db_error, except { try { - String func = "EB_RM"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, re_domain); - call.setString(idx++, re_login); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) { - return lr(err_code.err_func_res, func); - } - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error eb_ls( email_banned_listHolder ebs ) - throws db_error, except { try { - ebs.value = new email_banned[0]; - - Statement st = null; - ResultSet res = null; - ArrayList aebs = new ArrayList(); - - try { - st = con.createStatement(); - res = st.executeQuery( "SELECT re_domain,re_login FROM vq_view_eb_ls ORDER BY re_domain,re_login" ); - for( int idx=1; res.next(); idx=1 ) { - email_banned eb = new email_banned(); - eb.re_domain = res.getString(idx++); - if( res.wasNull() ) eb.re_domain = ""; - eb.re_login = res.getString(idx++); - if( res.wasNull() ) eb.re_login = ""; - aebs.add(eb); - } - ebs.value = new email_banned [aebs.size()]; - for(int i=0, s=aebs.size(); i<s; ++i ) - ebs.value[i] = (email_banned) aebs.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_get( user_infoHolder ai ) - throws null_error, db_error, except { try { - PreparedStatement st = null; - ResultSet res = null; - String ec_msg = ""; - err_code ec = err_code.err_no; - - try { - st = con.prepareStatement( - "SELECT pass,dir,flags FROM vq_view_user_get" - +" WHERE id_domain=? AND login=?" ); - int idx=1; - st.setInt(idx++, ai.value.id_domain); - st.setString(idx++, ai.value.login.toLowerCase()); - res = st.executeQuery(); - - if( res.next() ) { - idx = 1; - ai.value.pass = res.getString(idx++); - if( res.wasNull() ) ai.value.pass = ""; - ai.value.dir = res.getString(idx++); - if( res.wasNull() ) ai.value.dir = ""; - ai.value.flags = res.getShort(idx++); - if( res.wasNull() ) ai.value.flags = 0; - } else { - ec = err_code.err_noent; - ec_msg = ""; - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(ec, ec_msg); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_add( int dom_id, String login, String pfix, - user_conf_infoHolder ui ) - throws null_error, db_error, except { try { - login = login.toLowerCase(); - String func = "USER_CONF_ADD"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?,?,?,?,?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, login); - call.setString(idx++, pfix.toLowerCase()); - call.setShort(idx++, ui.value.type); - call.setString(idx++, ui.value.val); - call.execute(); - - ui.value.id_conf = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( ui.value.id_conf < 0 ) { - switch(ui.value.id_conf) { - case -1: - return lr(err_code.err_noent, Integer.toString(dom_id)); - case -2: - return lr(err_code.err_noent, login); - default: - return lr(err_code.err_func_res, func); - } - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_ls(int dom_id, String login, String pfix, - user_conf_info_listHolder uis) - throws null_error, db_error, except { try { - - PreparedStatement st = null; - ResultSet res = null; - ArrayList auis = new ArrayList(); - - try { - st = con.prepareStatement( - "SELECT id_conf,val,type FROM vq_view_user_conf_ls " - + "WHERE id_domain=? AND login=? AND (ext=? OR (?=1 AND ext IS NULL))" ); - - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - st.setString(idx++, pfix.toLowerCase()); - st.setInt(idx++, pfix.length() == 0 ? 1 : 0 ); - res = st.executeQuery(); - - for( idx=1; res.next(); idx=1 ) { - user_conf_info uci = new user_conf_info(); - - uci.id_conf = res.getInt(idx++); - if( res.wasNull() ) uci.id_conf = 0; - uci.val = res.getString(idx++); - if( res.wasNull() ) uci.val = ""; - uci.type = res.getShort(idx++); - if( res.wasNull() ) uci.type = 0; - auis.add(uci); - } - - uis.value = new user_conf_info [auis.size()]; - for(int i=0, s=auis.size(); i<s; ++i ) - uis.value[i] = (user_conf_info) auis.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_ls_by_type(int dom_id, String login, - String pfix, short ut, user_conf_info_listHolder uis) - throws null_error, db_error, except { try { - uis.value = new user_conf_info[0]; - PreparedStatement st = null; - ResultSet res = null; - ArrayList auis = new ArrayList(); - - try { - st = con.prepareStatement( - "SELECT id_conf,val,type FROM vq_view_user_conf_ls " - + "WHERE id_domain=? AND login=? AND " - + "(ext=? OR (?=1 AND ext IS NULL)) AND type=?" ); - - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - st.setString(idx++, pfix.toLowerCase()); - st.setInt(idx++, pfix.length() == 0 ? 1 : 0 ); - st.setShort(idx++, ut ); - res = st.executeQuery(); - - for( idx=1; res.next(); idx=1 ) { - user_conf_info uci = new user_conf_info(); - - uci.id_conf = res.getInt(idx++); - if( res.wasNull() ) uci.id_conf = 0; - uci.val = res.getString(idx++); - if( res.wasNull() ) uci.val = ""; - uci.type = res.getShort(idx++); - if( res.wasNull() ) uci.type = 0; - auis.add(uci); - } - - uis.value = new user_conf_info [auis.size()]; - for(int i=0, s=auis.size(); i<s; ++i ) - uis.value[i] = (user_conf_info) auis.get(i); - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_rm(int user_conf_id) - throws null_error, db_error, except { - return func_rm(user_conf_id, "USER_CONF_RM"); - } - - /** - * - */ - public error user_conf_rm_by_type(int dom_id, String login, - String ext, short ut) - throws null_error, db_error, except { try { - - String func = "USER_CONF_RM_BY_TYPE"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?,?,?,?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, login.toLowerCase()); - call.setString(idx++, ext.toLowerCase()); - call.setShort(idx++, ut); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_get( user_conf_infoHolder ui ) - throws null_error, db_error, except { try { - PreparedStatement st = null; - ResultSet res = null; - err_code ec = err_code.err_no; - String ec_msg = ""; - - try { - st = con.prepareStatement( - "SELECT TYPE,VAL FROM vq_view_USER_CONF_GET WHERE id_conf=?"); - int idx=1; - st.setInt(idx++, ui.value.id_conf); - res = st.executeQuery(); - - if( res.next() ) { - idx = 1; - ui.value.type = res.getShort(idx++); - if( res.wasNull() ) ui.value.type = 0; - ui.value.val = res.getString(idx++); - if( res.wasNull() ) ui.value.val = ""; - } else { - ec = err_code.err_noent; - ec_msg = ""; - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(ec, ec_msg); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_rep( user_conf_info ui ) - throws null_error, db_error, except { try { - - String func = "USER_CONF_REP"; - CallableStatement call = con.prepareCall("{ ? = call "+func+"(?, ?, ?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, ui.id_conf); - call.setShort(idx++, ui.type); - call.setString(idx++, ui.val); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( res < 0) { - switch( res ) { - case -1: - return lr(err_code.err_noent, ""); - default: - return lr(err_code.err_func_res, func); - } - } - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_type_has( int dom_id, String login, - String pfix, short ut ) - throws null_error, db_error, except { try { - - PreparedStatement st = null; - ResultSet res = null; - err_code ec = err_code.err_noent; - String ec_msg = ""; - - try { - st = con.prepareStatement( - "SELECT COUNT(*) FROM vq_view_user_conf_type_has WHERE " - +"id_domain=? AND login=? AND (ext=? OR (?=1 AND ext IS NULL))" - +" AND type=?" ); - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - st.setString(idx++, pfix.toLowerCase()); - st.setInt(idx++, pfix.length() == 0 ? 1 : 0 ); - st.setShort(idx++, ut ); - res = st.executeQuery(); - while(res.next()) { - ec = res.getInt(1) != 0 - ? err_code.err_no : err_code.err_noent; - ec_msg = ""; - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(ec, ec_msg); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error user_conf_type_cnt( int dom_id, String login, - String pfix, short ut, IntHolder cnt ) - throws null_error, db_error, except { try { - cnt.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - - try { - st = con.prepareStatement( - "SELECT count FROM vq_view_user_conf_type_cnt WHERE " - +"id_domain=? AND login=? AND (ext=? OR (?=1 AND ext IS NULL))" - +" AND type=?" ); - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - st.setString(idx++, pfix.toLowerCase()); - st.setInt(idx++, pfix.length() == 0 ? 1 : 0 ); - st.setShort(idx++, ut ); - res = st.executeQuery(); - cnt.value = res.next() ? res.getInt(1) : 0; - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * - */ - public error qt_user_def_set( int dom_id, int bytes_max, int files_max ) - throws null_error, db_error, except { try { - String func = "QT_USER_DEF_SET"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?,?,?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setInt(idx++, bytes_max); - call.setInt(idx++, files_max); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Gets default quota for new users and sends it via cso - * \param dom domain - */ - public error qt_user_def_get( int dom_id, - IntHolder bytes_max, IntHolder files_max ) - throws null_error, db_error, except { try { - bytes_max.value = 0; - files_max.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - - try { - st = con.prepareStatement( - "SELECT qt_user_bytes_def,qt_user_files_def " - +"FROM vq_view_QT_USER_DEF_GET WHERE id_domain=?" ); - - int idx=1; - st.setInt(idx++, dom_id); - res = st.executeQuery(); - idx = 1; - if( res.next() ) { - bytes_max.value = res.getInt(idx++); - files_max.value = res.getInt(idx++); - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Gets limits for specified user - */ - public error qt_user_get( int dom_id, String login, - IntHolder bytes_max, IntHolder files_max ) - throws null_error, db_error, except { try { - bytes_max.value = 0; - files_max.value = 0; - - PreparedStatement st = null; - ResultSet res = null; - - try { - st = con.prepareStatement( - "SELECT qt_bytes_max,qt_files_max FROM vq_view_QT_USER_GET" - +" WHERE id_domain=? AND login=?" ); - - int idx=1; - st.setInt(idx++, dom_id); - st.setString(idx++, login.toLowerCase()); - res = st.executeQuery(); - idx = 1; - if( res.next() ) { - bytes_max.value = res.getInt(idx++); - files_max.value = res.getInt(idx++); - } - } finally { - try { if(res != null) res.close(); } catch(Exception e) {} - try { if(st != null) st.close(); } catch(Exception e) {} - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Sets limits for specified user - */ - public error qt_user_set( int dom_id, String login, - int bytes_max, int files_max ) - throws null_error, db_error, except { try { - - String func = "QT_USER_SET"; - CallableStatement call = con.prepareCall("{? = call "+func+"(?,?,?,?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, login.toLowerCase()); - call.setInt(idx++, bytes_max); - call.setInt(idx++, files_max); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Common part for user_rm, and other functions - */ - protected error func_rm( int dom_id, String func ) - throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall("{? = call "+func+"(?)}"); - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( 0 == res ) - return lr(err_code.err_no, ""); - - return lr(err_code.err_func_res, func); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Common part for da_add and dip_add - */ - protected error da_dip_add( int dom_id, String rea, String func ) - throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall("{ ? = call "+func+"(?, ?) }"); - - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setInt(idx++, dom_id); - call.setString(idx++, rea); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull ) - return lr(err_code.err_func_res, func); - - if( res < 0 ) { - return res == -1 - ? lr(err_code.err_exists, Integer.toString(dom_id)) - : lr(err_code.err_func_res, func); - } - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - /** - * Common part for da_rm and dip_rm - */ - protected error da_dip_rm( String rea, String func ) - throws null_error, db_error, except { try { - CallableStatement call = con.prepareCall("{ ? = call "+func+"(?) }"); - - int idx=1; - call.registerOutParameter(idx++, Types.INTEGER); - call.setString(idx++, rea); - call.execute(); - - int res = call.getInt(1); - boolean wasNull = call.wasNull(); - try { call.close(); } catch( Exception e ) {} - - if( wasNull || 0 != res ) - return lr(err_code.err_func_res, func); - - return lr(err_code.err_no, ""); - } catch( SQLException e ) { - throw new db_error(e.getMessage(), getClass().getName(), 0); - } catch( NullPointerException e ) { - throw new null_error(e.getMessage(), getClass().getName(), 0); - } catch( Exception e ) { - throw new except(e.getMessage(), getClass().getName(), 0); - } } - - - /** - * - */ - protected error lr( err_code ec, String what ) { - error err = new error(); - err.ec = ec; - err.what = what; // string_dup not really needed - err.file = this.toString(); - err.line = 0; - return err; - } - - protected Connection con = null; -} Copied: trunk/base/jdbc/src/com/foo_baz/v_q/JDBCAuth.java (from rev 337, trunk/base/jdbc/src/com/com/foo_baz/v_q/JDBCAuth.java) |
From: <sv...@fo...> - 2005-12-14 21:07:47
|
Author: paweln Date: 2005-12-14 22:07:24 +0100 (Wed, 14 Dec 2005) New Revision: 337 Added: trunk/base/jdbc/src/com/foo_baz/Getopt.java Removed: trunk/base/jdbc/src/com/com/foo_baz/Getopt.java Log: Moved remotely Deleted: trunk/base/jdbc/src/com/com/foo_baz/Getopt.java =================================================================== --- trunk/base/jdbc/src/com/com/foo_baz/Getopt.java 2005-12-14 21:04:32 UTC (rev 336) +++ trunk/base/jdbc/src/com/com/foo_baz/Getopt.java 2005-12-14 21:07:24 UTC (rev 337) @@ -1,68 +0,0 @@ -/** -Class implements getopt interface. Placed in public domain. -@author Pawel Niewiadomski <pa...@ii...> -@version 1 -*/ -package com.foo_baz; - -public class Getopt { - /** - if you want to parse another command line, set it to 0 - */ - public int optind = 0; - /// current option, you can set it to 0 to start processing new set of options - public String optarg; - /// if true prints error messages - public boolean verbose = true; - /** - parses command line, acts like UNIX getopt function - @return -1 on End of options (or --) - */ - public int parse(String args[], String opts) { - if( optind < args.length - && args[optind].charAt(0) == '-' - && args[optind].length() >= 2 - && args[optind].charAt(1) != '-' ) { - - for(int i=0; i<opts.length(); i++ ) { - if(opts.charAt(i) == ':') continue; - if(args[optind].charAt(1) == opts.charAt(i)) { - if( opts.length()>i+1 && opts.charAt(i+1) == ':') { - if(args.length<= optind+1) { - optarg = ""; - if(verbose) - System.err.println("option: "+args[optind]+" without argument"); - optind++; - return '?'; - } - optarg = args[++optind]; - } else optarg = ""; - optind ++; - return opts.charAt(i); - } - } - if(verbose) System.err.println("unknown option: "+args[optind]); - optind++; - return '?'; - } - return -1; - } -/* - static public void main(String args[]) { - getopt go = new getopt(); - int opt; - while((opt=go.parse(args, "hb:"))!= -1) { - switch(opt) { - case 'b': - System.out.println(go.optarg); - break; - case 'h': - System.out.println("h"); - break; - case '?': - System.out.println("?"); - break; - } - } - }*/ -} Copied: trunk/base/jdbc/src/com/foo_baz/Getopt.java (from rev 336, trunk/base/jdbc/src/com/com/foo_baz/Getopt.java) |
From: <sv...@fo...> - 2005-12-14 21:05:05
|
Author: paweln Date: 2005-12-14 22:04:32 +0100 (Wed, 14 Dec 2005) New Revision: 336 Added: trunk/base/jdbc/src/com/com/ Removed: trunk/base/jdbc/com/ Log: Moved remotely Copied: trunk/base/jdbc/src/com/com (from rev 335, trunk/base/jdbc/com) |
Author: paweln Date: 2005-12-14 22:01:26 +0100 (Wed, 14 Dec 2005) New Revision: 335 Added: trunk/base/jdbc/.classpath trunk/base/jdbc/.project trunk/base/jdbc/build.xml trunk/base/jdbc/idldepend-0-8-1.jar trunk/base/jdbc/src/ trunk/base/jdbc/src/com/ trunk/base/jdbc/src/com/foo_baz/ trunk/base/jdbc/src/com/foo_baz/v_q/ trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_iloggerStub.java trunk/base/jdbc/src/com/foo_baz/v_q/_ivqStub.java trunk/base/jdbc/src/com/foo_baz/v_q/db_error.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/db_errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/except.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/exceptHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauth.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/ trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iauthPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ilogger.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/ trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entryHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/log_entry_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/result_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/service_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/iloggerPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivq.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqOperations.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOA.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPOATie.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/ trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/domain_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_bannedHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/email_banned_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_code.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/err_codeHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/error.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/errorHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/gid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/id_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/quota_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/size_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/string_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uid_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/uif_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_conf_typeHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_infoHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/ivqPackage/user_info_listHolder.java trunk/base/jdbc/src/com/foo_baz/v_q/null_error.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHelper.java trunk/base/jdbc/src/com/foo_baz/v_q/null_errorHolder.java Modified: trunk/base/jdbc/Makefile Log: CODE: working on eclipse projects that could be used to build jdbc version Added: trunk/base/jdbc/.classpath =================================================================== --- trunk/base/jdbc/.classpath 2005-12-14 00:26:31 UTC (rev 334) +++ trunk/base/jdbc/.classpath 2005-12-14 21:01:26 UTC (rev 335) @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="build"/> +</classpath> Added: trunk/base/jdbc/.project =================================================================== --- trunk/base/jdbc/.project 2005-12-14 00:26:31 UTC (rev 334) +++ trunk/base/jdbc/.project 2005-12-14 21:01:26 UTC (rev 335) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>jdbcd</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Modified: trunk/base/jdbc/Makefile =================================================================== --- trunk/base/jdbc/Makefile 2005-12-14 00:26:31 UTC (rev 334) +++ trunk/base/jdbc/Makefile 2005-12-14 21:01:26 UTC (rev 335) @@ -9,12 +9,11 @@ all: jdbc: - rm -rf build source - if [ -d .svn ] ; then svn export --force . source/ ; else rm -rf source; mkdir -p source ; cp -R *.java com source ; fi - idlj -fall -emitAll -td source -i .. -pkgTranslate vq com.foo_baz.v_q ../auth.idl - idlj -fall -emitAll -td source -i .. -pkgTranslate vq com.foo_baz.v_q ../logger.idl + rm -rf build + idlj -fall -emitAll -td src -i .. -pkgTranslate vq com.foo_baz.v_q ../auth.idl + idlj -fall -emitAll -td src -i .. -pkgTranslate vq com.foo_baz.v_q ../logger.idl mkdir -p build - javac -d build -classpath $(BASE)/corbautil/corbautil.jar:source `find source -name "*.java"` + javac -d build -classpath $(BASE)/corbautil/corbautil.jar:src `find src -name "*.java"` jar cf jdbcd.jar -C build . install: Added: trunk/base/jdbc/build.xml =================================================================== --- trunk/base/jdbc/build.xml 2005-12-14 00:26:31 UTC (rev 334) +++ trunk/base/jdbc/build.xml 2005-12-14 21:01:26 UTC (rev 335) @@ -0,0 +1,69 @@ +<project name="jdbcd" basedir="." default="build"> + <taskdef name="idlcheck" classname="idldepend.IDLCheckerTask" classpath="idldepend-0-8-1.jar"/> + + <!-- Project settings --> + <property name="project.distname" value="jdbcd"/> + + <!-- Local system paths --> + <property file="${basedir}/build.properties"/> + <property name="build.dir" value="build"/> + <property name="source.dir" value="src"/> + <property file="${basedir}/build.properties"/> + + <!-- classpath for JSF 1.0 --> + <path id="compile.classpath"> + <pathelement path ="${webinf.dir}/classes"/> + <pathelement path ="${classpath.external}"/> + <pathelement path ="${classpath}"/> + </path> + + <!-- Check timestamp on files --> + <target name="prepare"> + <tstamp/> + </target> + + <!-- Generate Java source from IDL --> + <target name="idl"> + <idlcheck compiler="jdk" force="false" checkAll="true" verbose="basic" + targetDir="src"> + <fileset dir=".."> + <include name="*.idl"/> + </fileset> + <include> + <pathelement path=".."/> + </include> + <translate module="vq" package="com.foo_baz.v_q"/> + </idlcheck> + </target> + + <!-- Normal build of application --> + <target name="compile" depends="prepare,idl"> + <javac srcdir="src" destdir="${build.dir}/"> + <classpath refid="compile.classpath"/> + </javac> + </target> + + <!-- Remove classes directory for clean build --> + <target name="clean" + description="Prepare for clean build"> + <delete dir="${build.dir}"/> + <mkdir dir="${build.dir}"/> + </target> + + <!-- Build entire project --> + <target name="build" depends="prepare,compile"/> + <target name="rebuild" depends="clean,prepare,compile"/> + + <!-- Create binary distribution --> + <target name="jar" depends="build"> + <mkdir dir="${build.dir}"/> + <jar + basedir="${build.dir}" + jarfile="${project.distname}.jar"> + <exclude name="WEB-INF/${build.dir}/**"/> + <exclude name="WEB-INF/src/**"/> + <exclude name="WEB-INF/web.xml"/> + </jar> + </target> + +</project> Added: trunk/base/jdbc/idldepend-0-8-1.jar =================================================================== (Binary files differ) Property changes on: trunk/base/jdbc/idldepend-0-8-1.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Property changes on: trunk/base/jdbc/src ___________________________________________________________________ Name: svn:ignore + *.depends Added: trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java =================================================================== --- trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2005-12-14 00:26:31 UTC (rev 334) +++ trunk/base/jdbc/src/com/foo_baz/v_q/_iauthStub.java 2005-12-14 21:01:26 UTC (rev 335) @@ -0,0 +1,1102 @@ +package com.foo_baz.v_q; + + +/** +* com/foo_baz/v_q/_iauthStub.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from C:/Documents and Settings/pniewiad/Desktop/personal/projects/v-q/trunk/base/auth.idl +* Wednesday, December 14, 2005 9:01:52 PM CET +*/ + + +/** + * Base class representing authorization module. + */ +public class _iauthStub extends org.omg.CORBA.portable.ObjectImpl implements com.foo_baz.v_q.iauth +{ + + + /// Adds domain to database + public com.foo_baz.v_q.ivqPackage.error dom_add (String dom, org.omg.CORBA.IntHolder dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_add", true); + $out.write_string (dom); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + dom_id.value = com.foo_baz.v_q.iauthPackage.id_typeHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_add (dom, dom_id ); + } finally { + _releaseReply ($in); + } + } // dom_add + + + /// Removes domain. + public com.foo_baz.v_q.ivqPackage.error dom_rm (int dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_rm", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_rm (dom_id ); + } finally { + _releaseReply ($in); + } + } // dom_rm + + + /// Translates domain name to id. + public com.foo_baz.v_q.ivqPackage.error dom_id (String dom, org.omg.CORBA.IntHolder dom_id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_id", true); + $out.write_string (dom); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + dom_id.value = com.foo_baz.v_q.iauthPackage.id_typeHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_id (dom, dom_id ); + } finally { + _releaseReply ($in); + } + } // dom_id + + public com.foo_baz.v_q.ivqPackage.error dom_name (int dom_id, org.omg.CORBA.StringHolder domain) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_name", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + domain.value = $in.read_string (); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_name (dom_id, domain ); + } finally { + _releaseReply ($in); + } + } // dom_name + + public com.foo_baz.v_q.ivqPackage.error dom_ls (com.foo_baz.v_q.ivqPackage.domain_info_listHolder dis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dom_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + dis.value = com.foo_baz.v_q.iauthPackage.domain_info_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dom_ls (dis ); + } finally { + _releaseReply ($in); + } + } // dom_ls + + + /// add alias for a domain + public com.foo_baz.v_q.ivqPackage.error da_add (int dom_id, String ali) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("da_add", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (ali); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return da_add (dom_id, ali ); + } finally { + _releaseReply ($in); + } + } // da_add + + + /// Removes alias + public com.foo_baz.v_q.ivqPackage.error da_rm (String ali) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("da_rm", true); + $out.write_string (ali); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return da_rm (ali ); + } finally { + _releaseReply ($in); + } + } // da_rm + + + /// Lists all aliases for a domain + public com.foo_baz.v_q.ivqPackage.error da_ls_by_dom (int dom_id, com.foo_baz.v_q.ivqPackage.string_listHolder alis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("da_ls_by_dom", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + alis.value = com.foo_baz.v_q.iauthPackage.string_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return da_ls_by_dom (dom_id, alis ); + } finally { + _releaseReply ($in); + } + } // da_ls_by_dom + + + /// add IP address for a domain + public com.foo_baz.v_q.ivqPackage.error dip_add (int dom_id, String ip) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dip_add", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (ip); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dip_add (dom_id, ip ); + } finally { + _releaseReply ($in); + } + } // dip_add + + + /// Removes IP address + public com.foo_baz.v_q.ivqPackage.error dip_rm (String ip) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dip_rm", true); + $out.write_string (ip); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dip_rm (ip ); + } finally { + _releaseReply ($in); + } + } // dip_rm + + + /// Lists all IP addresses for a domain + public com.foo_baz.v_q.ivqPackage.error dip_ls_by_dom (int dom_id, com.foo_baz.v_q.ivqPackage.string_listHolder ips) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.except, com.foo_baz.v_q.db_error + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("dip_ls_by_dom", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + ips.value = com.foo_baz.v_q.iauthPackage.string_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return dip_ls_by_dom (dom_id, ips ); + } finally { + _releaseReply ($in); + } + } // dip_ls_by_dom + + + /// Adds user + public com.foo_baz.v_q.ivqPackage.error user_add (com.foo_baz.v_q.ivqPackage.user_info ai, boolean is_banned) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_add", true); + com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai); + $out.write_boolean (is_banned); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_add (ai, is_banned ); + } finally { + _releaseReply ($in); + } + } // user_add + + + /// Modify user + public com.foo_baz.v_q.ivqPackage.error user_rep (com.foo_baz.v_q.ivqPackage.user_info ai, boolean password, boolean dir) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_rep", true); + com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai); + $out.write_boolean (password); + $out.write_boolean (dir); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_rep (ai, password, dir ); + } finally { + _releaseReply ($in); + } + } // user_rep + + + /// Removes user + public com.foo_baz.v_q.ivqPackage.error user_rm (int dom_id, String login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_rm", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (login); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_rm (dom_id, login ); + } finally { + _releaseReply ($in); + } + } // user_rm + + + /// Changes password for user + public com.foo_baz.v_q.ivqPackage.error user_pass (int dom_id, String login, String pass) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_pass", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (login); + $out.write_string (pass); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_pass (dom_id, login, pass ); + } finally { + _releaseReply ($in); + } + } // user_pass + + + /// Gets informations about user + public com.foo_baz.v_q.ivqPackage.error user_get (com.foo_baz.v_q.ivqPackage.user_infoHolder ai) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_get", true); + com.foo_baz.v_q.iauthPackage.user_infoHelper.write ($out, ai.value); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + ai.value = com.foo_baz.v_q.iauthPackage.user_infoHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_get (ai ); + } finally { + _releaseReply ($in); + } + } // user_get + + + /// check if user exists (err_noent if not, err_no if exists) + public com.foo_baz.v_q.ivqPackage.error user_ex (int dom_id, String login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_ex", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (login); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_ex (dom_id, login ); + } finally { + _releaseReply ($in); + } + } // user_ex + + + /// get all users in specified domain + public com.foo_baz.v_q.ivqPackage.error user_ls_by_dom (int dom_id, int start, int cnt, com.foo_baz.v_q.ivqPackage.user_info_listHolder uis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_ls_by_dom", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + com.foo_baz.v_q.iauthPackage.size_typeHelper.write ($out, start); + com.foo_baz.v_q.iauthPackage.size_typeHelper.write ($out, cnt); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + uis.value = com.foo_baz.v_q.iauthPackage.user_info_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_ls_by_dom (dom_id, start, cnt, uis ); + } finally { + _releaseReply ($in); + } + } // user_ls_by_dom + + + /// get number of users in specified domain + public com.foo_baz.v_q.ivqPackage.error user_cnt_by_dom (int dom_id, org.omg.CORBA.IntHolder cnt) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_cnt_by_dom", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + cnt.value = com.foo_baz.v_q.iauthPackage.size_typeHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_cnt_by_dom (dom_id, cnt ); + } finally { + _releaseReply ($in); + } + } // user_cnt_by_dom + + + //@{ + public com.foo_baz.v_q.ivqPackage.error eb_add (String re_domain, String re_login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("eb_add", true); + $out.write_string (re_domain); + $out.write_string (re_login); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return eb_add (re_domain, re_login ); + } finally { + _releaseReply ($in); + } + } // eb_add + + public com.foo_baz.v_q.ivqPackage.error eb_rm (String re_domain, String re_login) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("eb_rm", true); + $out.write_string (re_domain); + $out.write_string (re_login); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return eb_rm (re_domain, re_login ); + } finally { + _releaseReply ($in); + } + } // eb_rm + + public com.foo_baz.v_q.ivqPackage.error eb_ls (com.foo_baz.v_q.ivqPackage.email_banned_listHolder ebs) throws com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("eb_ls", true); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + ebs.value = com.foo_baz.v_q.iauthPackage.email_banned_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return eb_ls (ebs ); + } finally { + _releaseReply ($in); + } + } // eb_ls + + + /// Gets limits for user + public com.foo_baz.v_q.ivqPackage.error qt_user_get (int dom_id, String user_id, org.omg.CORBA.IntHolder bytes_max, org.omg.CORBA.IntHolder files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_get", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (user_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + bytes_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); + files_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return qt_user_get (dom_id, user_id, bytes_max, files_max ); + } finally { + _releaseReply ($in); + } + } // qt_user_get + + + /// Sets limits for user + public com.foo_baz.v_q.ivqPackage.error qt_user_set (int dom_id, String user_id, int bytes_max, int files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_set", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (user_id); + com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, bytes_max); + com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, files_max); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return qt_user_set (dom_id, user_id, bytes_max, files_max ); + } finally { + _releaseReply ($in); + } + } // qt_user_set + + + /// Sets default value for a domain + public com.foo_baz.v_q.ivqPackage.error qt_user_def_set (int dom_id, int bytes_max, int files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_def_set", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, bytes_max); + com.foo_baz.v_q.iauthPackage.quota_typeHelper.write ($out, files_max); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return qt_user_def_set (dom_id, bytes_max, files_max ); + } finally { + _releaseReply ($in); + } + } // qt_user_def_set + + + /// Gets default value + public com.foo_baz.v_q.ivqPackage.error qt_user_def_get (int dom_id, org.omg.CORBA.IntHolder bytes_max, org.omg.CORBA.IntHolder files_max) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("qt_user_def_get", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + bytes_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); + files_max.value = com.foo_baz.v_q.iauthPackage.quota_typeHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return qt_user_def_get (dom_id, bytes_max, files_max ); + } finally { + _releaseReply ($in); + } + } // qt_user_def_get + + + /// Adds mailbox configuration + public com.foo_baz.v_q.ivqPackage.error user_conf_add (int dom_id, String user, String pfix, com.foo_baz.v_q.ivqPackage.user_conf_infoHolder ui) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_add", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (user); + $out.write_string (pfix); + com.foo_baz.v_q.iauthPackage.user_conf_infoHelper.write ($out, ui.value); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + ui.value = com.foo_baz.v_q.iauthPackage.user_conf_infoHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_conf_add (dom_id, user, pfix, ui ); + } finally { + _releaseReply ($in); + } + } // user_conf_add + + + /// Removes all mailbox configuration entries + public com.foo_baz.v_q.ivqPackage.error user_conf_rm_by_type (int dom_id, String user, String pfix, short ut) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_rm_by_type", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (user); + $out.write_string (pfix); + com.foo_baz.v_q.iauthPackage.user_conf_typeHelper.write ($out, ut); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_conf_rm_by_type (dom_id, user, pfix, ut ); + } finally { + _releaseReply ($in); + } + } // user_conf_rm_by_type + + + /// Removes mailbox configuration entry + public com.foo_baz.v_q.ivqPackage.error user_conf_rm (int id) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_rm", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, id); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_conf_rm (id ); + } finally { + _releaseReply ($in); + } + } // user_conf_rm + + + /// Lists mailbox configuration + public com.foo_baz.v_q.ivqPackage.error user_conf_ls (int dom_id, String user, String pfix, com.foo_baz.v_q.ivqPackage.user_conf_info_listHolder uis) throws com.foo_baz.v_q.null_error, com.foo_baz.v_q.db_error, com.foo_baz.v_q.except + { + org.omg.CORBA.portable.InputStream $in = null; + try { + org.omg.CORBA.portable.OutputStream $out = _request ("user_conf_ls", true); + com.foo_baz.v_q.iauthPackage.id_typeHelper.write ($out, dom_id); + $out.write_string (user); + $out.write_string (pfix); + $in = _invoke ($out); + com.foo_baz.v_q.ivqPackage.error $result = com.foo_baz.v_q.iauthPackage.errorHelper.read ($in); + uis.value = com.foo_baz.v_q.iauthPackage.user_conf_info_listHelper.read ($in); + return $result; + } catch (org.omg.CORBA.portable.ApplicationException $ex) { + $in = $ex.getInputStream (); + String _id = $ex.getId (); + if (_id.equals ("IDL:vq/null_error:1.0")) + throw com.foo_baz.v_q.null_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/db_error:1.0")) + throw com.foo_baz.v_q.db_errorHelper.read ($in); + else if (_id.equals ("IDL:vq/except:1.0")) + throw com.foo_baz.v_q.exceptHelper.read ($in); + else + throw new org.omg.CORBA.MARSHAL (_id); + } catch (org.omg.CORBA.portable.RemarshalException $rm) { + return user_conf_ls (dom_id, user, pfix, uis ); + } finally { + _releaseReply ($in); + } + } // user_conf_ls + + + /// Lists mailbox configuation of specified type + public com.foo_baz.v_q.ivqPackage... [truncated message content] |
From: <sv...@fo...> - 2005-12-14 00:26:55
|
Author: paweln Date: 2005-12-14 01:26:31 +0100 (Wed, 14 Dec 2005) New Revision: 334 Added: trunk/base/pgsql/pgsqlauthd.vcproj Modified: trunk/base/pgsql/ trunk/v-q.sln Log: Property changes on: trunk/base/pgsql ___________________________________________________________________ Name: svn:ignore - .depend pgsqlauthd pgsqllogd + .depend pgsqlauthd pgsqllogd Debug Release Added: trunk/base/pgsql/pgsqlauthd.vcproj =================================================================== --- trunk/base/pgsql/pgsqlauthd.vcproj 2005-12-13 23:43:43 UTC (rev 333) +++ trunk/base/pgsql/pgsqlauthd.vcproj 2005-12-14 00:26:31 UTC (rev 334) @@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="windows-1250"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.10" + Name="pgsqlauthd" + ProjectGUID="{FDB9DD5C-F725-4D00-871A-7B4A39AC7024}" + Keyword="Win32Proj"> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="5" + UsePrecompiledHeader="0" + AdditionalIncludeDirectories="C:\Documents and Settings\pniewiad\Desktop\personal\projects\omniORB-4.0.6\include;.;.." + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/pgsqlauthd.exe" + LinkIncremental="2" + GenerateDebugInformation="TRUE" + ProgramDatabaseFile="$(OutDir)/pgsqlauthd.pdb" + SubSystem="1" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4" + RuntimeLibrary="4" + AdditionalIncludeDirectories="C:\Documents and Settings\pniewiad\Desktop\personal\projects\omniORB-4.0.6\include;.;.." + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/pgsqlauthd.exe" + LinkIncremental="1" + GenerateDebugInformation="TRUE" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> + <File + RelativePath=".\cpgsqlauth.cc"> + </File> + <File + RelativePath=".\pgsqlauthd.cc"> + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> + <File + RelativePath=".\cpgsqlauth.hpp"> + </File> + <File + RelativePath=".\pgsqlcommon.hpp"> + </File> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> Modified: trunk/v-q.sln =================================================================== --- trunk/v-q.sln 2005-12-13 23:43:43 UTC (rev 333) +++ trunk/v-q.sln 2005-12-14 00:26:31 UTC (rev 334) @@ -7,6 +7,10 @@ ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pgsqlauthd", "base\pgsql\pgsqlauthd.vcproj", "{FDB9DD5C-F725-4D00-871A-7B4A39AC7024}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -21,6 +25,10 @@ {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Debug.Build.0 = Debug|Win32 {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Release.ActiveCfg = Release|Win32 {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Release.Build.0 = Release|Win32 + {FDB9DD5C-F725-4D00-871A-7B4A39AC7024}.Debug.ActiveCfg = Debug|Win32 + {FDB9DD5C-F725-4D00-871A-7B4A39AC7024}.Debug.Build.0 = Debug|Win32 + {FDB9DD5C-F725-4D00-871A-7B4A39AC7024}.Release.ActiveCfg = Release|Win32 + {FDB9DD5C-F725-4D00-871A-7B4A39AC7024}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection |
From: <sv...@fo...> - 2005-12-13 23:44:06
|
Author: paweln Date: 2005-12-14 00:43:43 +0100 (Wed, 14 Dec 2005) New Revision: 333 Added: trunk/base/libvq.vcproj Modified: trunk/base/ trunk/libtext/libtext.vcproj trunk/v-q.sln Log: CODE: libvq can be compiled under Windows! Property changes on: trunk/base ___________________________________________________________________ Name: svn:ignore - .depend vq.hpp vq.cc auth.hpp auth.cc auto libvq.a logger.hpp logger.cc libautoresp.a + .depend vq.hpp vq.cc auth.hpp auth.cc auto libvq.a logger.hpp logger.cc libautoresp.a Debug Release Added: trunk/base/libvq.vcproj =================================================================== --- trunk/base/libvq.vcproj 2005-12-13 21:56:15 UTC (rev 332) +++ trunk/base/libvq.vcproj 2005-12-13 23:43:43 UTC (rev 333) @@ -0,0 +1,191 @@ +<?xml version="1.0" encoding="windows-1250"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.10" + Name="libvq" + ProjectGUID="{E3F26F64-47D7-41BF-ABD1-0A4A449EC066}" + Keyword="Win32Proj"> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="4" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="C:\Documents and Settings\pniewiad\Desktop\personal\projects\omniORB-4.0.6\include;." + PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="5" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)/libvq.lib"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="4" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="C:\Documents and Settings\pniewiad\Desktop\personal\projects\omniORB-4.0.6\include;." + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4" + RuntimeLibrary="4" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)/libvq.lib"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> + <File + RelativePath=".\auth.cc"> + </File> + <File + RelativePath=".\logger.cc"> + </File> + <File + RelativePath=".\vq.cc"> + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> + <File + RelativePath=".\auth.hpp"> + </File> + <File + RelativePath=".\logger.hpp"> + </File> + <File + RelativePath=".\vq.hpp"> + </File> + </Filter> + <Filter + Name="Resource Files" + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> + <File + RelativePath=".\auth.idl"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="auth.hpp;auth.cc"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="auth.hpp;auth.cc"/> + </FileConfiguration> + </File> + <File + RelativePath=".\logger.idl"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="logger.hpp;logger.cc"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="logger.hpp;logger.cc"/> + </FileConfiguration> + </File> + <File + RelativePath=".\vq.idl"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="vq.hpp;vq.cc"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="omniidl.exe -bcxx -Wbh=.hpp -Wbs=.cc $(InputFileName) +" + Outputs="vq.hpp;vq.cc"/> + </FileConfiguration> + </File> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> Modified: trunk/libtext/libtext.vcproj =================================================================== --- trunk/libtext/libtext.vcproj 2005-12-13 21:56:15 UTC (rev 332) +++ trunk/libtext/libtext.vcproj 2005-12-13 23:43:43 UTC (rev 333) @@ -20,6 +20,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" + AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBTEXT_EXPORTS" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -71,6 +72,7 @@ CharacterSet="2"> <Tool Name="VCCLCompilerTool" + AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBTEXT_EXPORTS" RuntimeLibrary="2" UsePrecompiledHeader="2" @@ -146,14 +148,16 @@ Name="Debug|Win32"> <Tool Name="VCCustomBuildTool" - CommandLine="copy /Y md5.c2 auto\lmd5.c" + CommandLine="copy /Y md5.c2 auto\lmd5.c +" Outputs="auto\lmd5.c"/> </FileConfiguration> <FileConfiguration Name="Release|Win32"> <Tool Name="VCCustomBuildTool" - CommandLine="copy /Y md5.c2 auto\lmd5.c" + CommandLine="copy /Y md5.c2 auto\lmd5.c +" Outputs="auto\lmd5.c"/> </FileConfiguration> </File> @@ -189,14 +193,16 @@ Name="Debug|Win32"> <Tool Name="VCCustomBuildTool" - CommandLine="copy /Y md5.h2 auto\lmd5.h" + CommandLine="copy /Y md5.h2 auto\lmd5.h +" Outputs="auto\lmd5.h"/> </FileConfiguration> <FileConfiguration Name="Release|Win32"> <Tool Name="VCCustomBuildTool" - CommandLine="copy /Y md5.h2 auto\lmd5.h" + CommandLine="copy /Y md5.h2 auto\lmd5.h +" Outputs="auto\lmd5.h"/> </FileConfiguration> </File> Modified: trunk/v-q.sln =================================================================== --- trunk/v-q.sln 2005-12-13 21:56:15 UTC (rev 332) +++ trunk/v-q.sln 2005-12-13 23:43:43 UTC (rev 333) @@ -3,6 +3,10 @@ ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libvq", "base\libvq.vcproj", "{E3F26F64-47D7-41BF-ABD1-0A4A449EC066}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -13,6 +17,10 @@ {14911125-B248-4363-91D0-E3B58131C5F6}.Debug.Build.0 = Debug|Win32 {14911125-B248-4363-91D0-E3B58131C5F6}.Release.ActiveCfg = Release|Win32 {14911125-B248-4363-91D0-E3B58131C5F6}.Release.Build.0 = Release|Win32 + {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Debug.ActiveCfg = Debug|Win32 + {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Debug.Build.0 = Debug|Win32 + {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Release.ActiveCfg = Release|Win32 + {E3F26F64-47D7-41BF-ABD1-0A4A449EC066}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection |
From: <sv...@fo...> - 2005-12-13 21:56:49
|
Author: paweln Date: 2005-12-13 22:56:15 +0100 (Tue, 13 Dec 2005) New Revision: 332 Added: trunk/libtext/common.hpp trunk/libtext/libtext.vcproj trunk/v-q.sln Modified: trunk/ trunk/libtext/ trunk/libtext/hex.hpp trunk/libtext/hmac_md5.cc trunk/libtext/hmac_md5.hpp trunk/libtext/lower.hpp trunk/libtext/split.hpp trunk/libtext/text.hpp Log: CODE: libtext can now be compiled under Windows! Property changes on: trunk ___________________________________________________________________ Name: svn:ignore - .depend + .depend *.suo *.ncb Property changes on: trunk/libtext ___________________________________________________________________ Name: svn:ignore - *.so *.so.* .depend auto + *.so *.so.* .depend auto Release Debug Added: trunk/libtext/common.hpp =================================================================== --- trunk/libtext/common.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/common.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -0,0 +1,20 @@ +#ifndef __LIBTEXT_COMMON_HPP +#define __LIBTEXT_COMMON_HPP + +// The following ifdef block is the standard way of creating macros which make exporting +// from a DLL simpler. All files within this DLL are compiled with the LIBTEXT_EXPORTS +// symbol defined on the command line. this symbol should not be defined on any project +// that uses this DLL. This way any other project whose source files include this file see +// LIBTEXT_API functions as being imported from a DLL, whereas this DLL sees symbols +// defined with this macro as being exported. +#ifdef _WIN32 + #ifdef LIBTEXT_EXPORTS + #define LIBTEXT_API __declspec(dllexport) + #else + #define LIBTEXT_API __declspec(dllimport) + #endif +#else + #define LIBTEXT_API +#endif + +#endif // ifndef __LIBTEXT_COMMON_HPP \ No newline at end of file Modified: trunk/libtext/hex.hpp =================================================================== --- trunk/libtext/hex.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/hex.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -20,13 +20,15 @@ #ifndef __HEX_HPP #define __HEX_HPP +#include "common.hpp" + #include <string> namespace text { - std::string hex_from( const std::string & hex ); - std::string to_hex(const unsigned char *buf, unsigned bufl); - inline std::string to_hex(const char *buf, unsigned bufl) { + LIBTEXT_API std::string hex_from( const std::string & hex ); + LIBTEXT_API std::string to_hex(const unsigned char *buf, unsigned bufl); + LIBTEXT_API inline std::string to_hex(const char *buf, unsigned bufl) { return to_hex(reinterpret_cast<const unsigned char *>(buf), bufl); } Modified: trunk/libtext/hmac_md5.cc =================================================================== --- trunk/libtext/hmac_md5.cc 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/hmac_md5.cc 2005-12-13 21:56:15 UTC (rev 332) @@ -1,6 +1,7 @@ #include "hmac_md5.hpp" +extern "C" { #include "auto/lmd5.h" - +} #include <sys/types.h> #include <string> @@ -53,10 +54,10 @@ */ /* start out by storing key in pads */ - bzero( k_ipad, sizeof k_ipad); - bzero( k_opad, sizeof k_opad); - bcopy( key, k_ipad, key_len); - bcopy( key, k_opad, key_len); + memset( k_ipad, 0, sizeof k_ipad); + memset( k_opad, 0, sizeof k_opad); + memcpy( k_ipad, key, key_len); + memcpy( k_opad, key, key_len); /* XOR key with ipad and opad values */ for (i=0; i<64; i++) { Modified: trunk/libtext/hmac_md5.hpp =================================================================== --- trunk/libtext/hmac_md5.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/hmac_md5.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -1,11 +1,13 @@ #ifndef __HMAC_MD5 #define __HMAC_MD5 +#include "common.hpp" + namespace text { /* prototypes */ - void hmac_md5( const unsigned char* , + LIBTEXT_API void hmac_md5( const unsigned char* , int , const unsigned char* , int , unsigned char* ); /* pointer to data stream */ @@ -14,7 +16,7 @@ /* length of authentication key */ /* caller digest to be filled in */ - inline void hmac_md5( const char* ds, + LIBTEXT_API inline void hmac_md5( const char* ds, int dl, const char* ak, int al, char* dig ) { return hmac_md5( reinterpret_cast<const unsigned char *>(ds), dl, Added: trunk/libtext/libtext.vcproj =================================================================== --- trunk/libtext/libtext.vcproj 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/libtext.vcproj 2005-12-13 21:56:15 UTC (rev 332) @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="windows-1250"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.10" + Name="libtext" + ProjectGUID="{14911125-B248-4363-91D0-E3B58131C5F6}" + RootNamespace="libtext" + Keyword="Win32Proj"> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="2" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBTEXT_EXPORTS" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="2" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/libtext.dll" + LinkIncremental="2" + GenerateDebugInformation="TRUE" + ProgramDatabaseFile="$(OutDir)/libtext.pdb" + SubSystem="2" + ImportLibrary="$(OutDir)/libtext.lib" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool" + CommandLine="mkdir auto +exit 0 +"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="2" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBTEXT_EXPORTS" + RuntimeLibrary="2" + UsePrecompiledHeader="2" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool" + CommandLine="mkdir auto +cp /f md5.c2 auto/lmd5.c +cp /f md5.h2 auto/lmd5.h +"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/libtext.dll" + LinkIncremental="1" + GenerateDebugInformation="TRUE" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + ImportLibrary="$(OutDir)/libtext.lib" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool" + CommandLine="mkdir auto +exit 0 +"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> + <File + RelativePath=".\hex.cc"> + </File> + <File + RelativePath=".\hmac_md5.cc"> + </File> + <File + RelativePath=".\libtext.cpp"> + </File> + <File + RelativePath=".\auto\lmd5.c"> + </File> + <File + RelativePath=".\lower.cc"> + </File> + <File + RelativePath=".\md5.c2"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="copy /Y md5.c2 auto\lmd5.c" + Outputs="auto\lmd5.c"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="copy /Y md5.c2 auto\lmd5.c" + Outputs="auto\lmd5.c"/> + </FileConfiguration> + </File> + <File + RelativePath=".\split.cc"> + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> + <File + RelativePath=".\common.hpp"> + </File> + <File + RelativePath=".\hex.hpp"> + </File> + <File + RelativePath=".\hmac_md5.hpp"> + </File> + <File + RelativePath=".\libtext.h"> + </File> + <File + RelativePath=".\auto\lmd5.h"> + </File> + <File + RelativePath=".\lower.hpp"> + </File> + <File + RelativePath=".\md5.h2"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="copy /Y md5.h2 auto\lmd5.h" + Outputs="auto\lmd5.h"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="copy /Y md5.h2 auto\lmd5.h" + Outputs="auto\lmd5.h"/> + </FileConfiguration> + </File> + <File + RelativePath=".\split.hpp"> + </File> + <File + RelativePath=".\text.hpp"> + </File> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> Modified: trunk/libtext/lower.hpp =================================================================== --- trunk/libtext/lower.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/lower.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -20,12 +20,14 @@ #ifndef __LOWER_HPP #define __LOWER_HPP +#include "common.hpp" + #include <string> namespace text { - std::string lower(const std::string &); - std::string upper(const std::string &); + LIBTEXT_API std::string lower(const std::string &); + LIBTEXT_API std::string upper(const std::string &); } // namespace text Modified: trunk/libtext/split.hpp =================================================================== --- trunk/libtext/split.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/split.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -20,37 +20,40 @@ #ifndef __SPLIT_HPP #define __SPLIT_HPP +#include "common.hpp" + #include <deque> #include <string> #include <algorithm> +#include <functional> namespace text { - std::string split_path(const std::string &, const std::string &, + LIBTEXT_API std::string split_path(const std::string &, const std::string &, const std::string &, std::string::size_type, bool rev = false ); - std::string split_path(const std::string &, std::string::size_type, + LIBTEXT_API std::string split_path(const std::string &, std::string::size_type, const std::string &, std::string::size_type, bool rev = false ); - std::string split_dom(const std::string &, + LIBTEXT_API std::string split_dom(const std::string &, std::string::size_type, const std::string & = "/" ); - std::string split_id(const std::string &, + LIBTEXT_API std::string split_id(const std::string &, std::string::size_type ); - std::string split_user(const std::string &, + LIBTEXT_API std::string split_user(const std::string &, std::string::size_type); - struct split_t : public std::binary_function< std::string, std::string, + struct LIBTEXT_API split_t : public std::binary_function< std::string, std::string, std::deque<std::string> > { result_type operator() ( const first_argument_type &, const second_argument_type & ) const; }; - inline split_t::result_type split( const split_t::first_argument_type & a1, + LIBTEXT_API inline split_t::result_type split( const split_t::first_argument_type & a1, const split_t::second_argument_type & a2 ) { return split_t()(a1, a2); } Modified: trunk/libtext/text.hpp =================================================================== --- trunk/libtext/text.hpp 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/libtext/text.hpp 2005-12-13 21:56:15 UTC (rev 332) @@ -16,10 +16,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - #ifndef __TEXT_HPP #define __TEXT_HPP +#include "win32.hpp" #include "lower.hpp" #include "hex.hpp" #include "hmac_md5.hpp" Added: trunk/v-q.sln =================================================================== --- trunk/v-q.sln 2005-12-03 18:50:03 UTC (rev 331) +++ trunk/v-q.sln 2005-12-13 21:56:15 UTC (rev 332) @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtext", "libtext\libtext.vcproj", "{14911125-B248-4363-91D0-E3B58131C5F6}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {14911125-B248-4363-91D0-E3B58131C5F6}.Debug.ActiveCfg = Debug|Win32 + {14911125-B248-4363-91D0-E3B58131C5F6}.Debug.Build.0 = Debug|Win32 + {14911125-B248-4363-91D0-E3B58131C5F6}.Release.ActiveCfg = Release|Win32 + {14911125-B248-4363-91D0-E3B58131C5F6}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal |
Author: paweln Date: 2005-12-03 19:50:03 +0100 (Sat, 03 Dec 2005) New Revision: 331 Added: trunk/interfaces/clue/user_rep.cc Removed: trunk/base/pgsql/upgrade-5.pgsql Modified: trunk/INSTALL trunk/base/auth.idl trunk/base/jdbc/com/foo_baz/v_q/JDBCAuth.java trunk/base/jdbc/jdbcd.jar trunk/base/oracle/proc.sql trunk/base/pgsql/cpgsqlauth.cc trunk/base/pgsql/cpgsqlauth.hpp trunk/base/pgsql/install.pgsql trunk/base/qmailvqd/cqmailvq.hpp trunk/base/qmailvqd/cqmailvq_user.cc trunk/base/vq.idl trunk/doc/en.html/arch.clients.html trunk/doc/en.html/arch.db.html trunk/doc/en.html/arch.html trunk/doc/en.html/arch.iauth.html trunk/doc/en.html/arch.ilogger.html trunk/doc/en.html/arch.ivq.html trunk/doc/en.html/com.support.html trunk/doc/en.html/community.authors.html trunk/doc/en.html/community.blog.html trunk/doc/en.html/community.bugs.html trunk/doc/en.html/community.forums.html trunk/doc/en.html/community.html trunk/doc/en.html/community.requests.html trunk/doc/en.html/community.success.html trunk/doc/en.html/devs.html trunk/doc/en.html/devs.java.html trunk/doc/en.html/devs.pkgs.html trunk/doc/en.html/devs.python.html trunk/doc/en.html/doc.gen.html trunk/doc/en.html/doc.gen.makefile.html trunk/doc/en.html/foreword.html trunk/doc/en.html/index.html trunk/doc/en.html/install.comp.html trunk/doc/en.html/install.deps.html trunk/doc/en.html/install.html trunk/doc/en.html/install.install.html trunk/doc/en.html/install.prep.html trunk/doc/en.html/intro.changes.html trunk/doc/en.html/intro.features.html trunk/doc/en.html/intro.html trunk/doc/en.html/intro.missing.html trunk/doc/en.html/intro.todo.html trunk/doc/en.html/intro.trans.html trunk/doc/en.html/license.html trunk/doc/en.html/life.html trunk/doc/en.html/life.integration.html trunk/doc/en.html/life.security.html trunk/doc/en.src/intro.xml trunk/doc/pl.html/arch.clients.html trunk/doc/pl.html/arch.db.html trunk/doc/pl.html/arch.html trunk/doc/pl.html/arch.iauth.html trunk/doc/pl.html/arch.ilogger.html trunk/doc/pl.html/arch.ivq.html trunk/doc/pl.html/com.support.html trunk/doc/pl.html/community.authors.html trunk/doc/pl.html/community.blog.html trunk/doc/pl.html/community.bugs.html trunk/doc/pl.html/community.forums.html trunk/doc/pl.html/community.html trunk/doc/pl.html/community.requests.html trunk/doc/pl.html/community.success.html trunk/doc/pl.html/devs.html trunk/doc/pl.html/devs.java.html trunk/doc/pl.html/devs.pkgs.html trunk/doc/pl.html/devs.python.html trunk/doc/pl.html/doc.gen.html trunk/doc/pl.html/doc.gen.makefile.html trunk/doc/pl.html/foreword.html trunk/doc/pl.html/index.html trunk/doc/pl.html/install.comp.html trunk/doc/pl.html/install.deps.html trunk/doc/pl.html/install.html trunk/doc/pl.html/install.install.html trunk/doc/pl.html/install.prep.html trunk/doc/pl.html/intro.changes.html trunk/doc/pl.html/intro.features.html trunk/doc/pl.html/intro.html trunk/doc/pl.html/intro.missing.html trunk/doc/pl.html/intro.todo.html trunk/doc/pl.html/intro.trans.html trunk/doc/pl.html/license.html trunk/doc/pl.html/life.html trunk/doc/pl.html/life.integration.html trunk/doc/pl.html/life.security.html trunk/interfaces/clue/ trunk/interfaces/clue/Makefile trunk/interfaces/clue/TARGETS trunk/interfaces/clue/error2str.cc trunk/interfaces/clue/user_add.cc trunk/tests/base/iauth/iauth.cc trunk/tests/base/iauth/iauth_user.hpp trunk/tests/base/ivq/ivq.cc Log: CODE: added user_rep Modified: trunk/INSTALL =================================================================== --- trunk/INSTALL 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/INSTALL 2005-12-03 18:50:03 UTC (rev 331) @@ -1 +1,2 @@ See doc/en.html/install.html for instructions. +Po szczegsiij do doc/pl.html/install.html. Modified: trunk/base/auth.idl =================================================================== --- trunk/base/auth.idl 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/auth.idl 2005-12-03 18:50:03 UTC (rev 331) @@ -98,6 +98,9 @@ /// Adds user error user_add(in user_info ai, in boolean is_banned ) raises (null_error, db_error, except); + /// Modify user + error user_rep(in user_info ai, in boolean password, in boolean dir ) + raises (null_error, db_error, except); /// Removes user error user_rm(in id_type dom_id, in string login) raises (null_error, db_error, except); Modified: trunk/base/jdbc/com/foo_baz/v_q/JDBCAuth.java =================================================================== --- trunk/base/jdbc/com/foo_baz/v_q/JDBCAuth.java 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/jdbc/com/foo_baz/v_q/JDBCAuth.java 2005-12-03 18:50:03 UTC (rev 331) @@ -231,6 +231,51 @@ } } /** + */ + public error user_rep( user_info ai, boolean password, boolean dir ) + throws null_error, db_error, except { try { + CallableStatement call = con.prepareCall("{ ? = call user_rep(?, ?, ?, ?, ?, ?, ?)}"); + int idx=1; + call.registerOutParameter(idx++, Types.INTEGER); + call.setInt(idx++, ai.id_domain); + call.setString(idx++, ai.login.toLowerCase()); + call.setString(idx++, ai.pass); + call.setString(idx++, ai.dir); + call.setInt(idx++, ai.flags); + call.setBoolean(idx++, password); + call.setBoolean(idx++, dir); + call.execute(); + + int res = call.getInt(1); + boolean wasNull = call.wasNull(); + try { call.close(); } catch( Exception e ) {}; + + if( wasNull ) { + return lr(err_code.err_func_res, "USER_REP"); + } else { + if( res < 0 ) { + switch( res ) { + case -1: + return lr(err_code.err_noent, Integer.toString(ai.id_domain)); + case -2: + return lr(err_code.err_noent, ai.login); + default: + return lr(err_code.err_func_res, "USER_REP"); + } + } + if( 0 == res ) + return lr(err_code.err_no, ""); + } + return lr(err_code.err_func_res, "USER_REP"); + } catch( SQLException e ) { + throw new db_error(e.getMessage(), getClass().getName(), 0); + } catch( NullPointerException e ) { + throw new null_error(e.getMessage(), getClass().getName(), 0); + } catch( Exception e ) { + throw new except(e.getMessage(), getClass().getName(), 0); + } } + + /** * */ public error da_add( int dom_id, String ali ) Modified: trunk/base/jdbc/jdbcd.jar =================================================================== (Binary files differ) Modified: trunk/base/oracle/proc.sql =================================================================== --- trunk/base/oracle/proc.sql 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/oracle/proc.sql 2005-12-03 18:50:03 UTC (rev 331) @@ -393,4 +393,44 @@ / show errors; +CREATE OR REPLACE FUNCTION user_rep +(a_id_domain IN vq_users.id_domain%TYPE, +a_login IN vq_users.login%TYPE, +a_pass IN vq_users.pass%TYPE, +a_dir IN vq_users.dir%TYPE, +a_flags IN vq_users.flags%TYPE, +a_pass_chg IN NUMBER, +a_dir_chg IN NUMBER) RETURN INTEGER IS + CURSOR cur_domain IS SELECT 1 FROM vq_domains WHERE id_domain=a_id_domain; + CURSOR cur_login IS SELECT 1 FROM vq_users WHERE id_domain=a_id_domain AND login=a_login; + ret INTEGER; +BEGIN + ret := 0; + OPEN cur_domain; + FETCH cur_domain INTO ret; + IF cur_domain%FOUND = TRUE THEN + OPEN cur_login; + FETCH cur_login INTO ret; + IF cur_login%NOTFOUND = TRUE THEN + ret := -2; + ELSE + UPDATE vq_users SET flags=a_flags WHERE id_domain=a_id_domain AND login=a_login; + IF a_pass_chg != 0 THEN + UPDATE vq_users SET pass=a_pass WHERE id_domain=a_id_domain AND login=a_login; + END IF; + IF a_dir_chg != 0 THEN + UPDATE vq_users SET dir=a_dir WHERE id_domain=a_id_domain AND login=a_login; + END IF; + ret := 0; + END IF; + CLOSE cur_login; + ELSE + ret := -1; + END IF; + CLOSE cur_domain; + RETURN ret; +END; +/ +show errors; + Modified: trunk/base/pgsql/cpgsqlauth.cc =================================================================== --- trunk/base/pgsql/cpgsqlauth.cc 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/pgsql/cpgsqlauth.cc 2005-12-03 18:50:03 UTC (rev 331) @@ -199,6 +199,47 @@ } std_catch; /** + */ + cpgsqlauth::error * cpgsqlauth::user_rep( const user_info & ai, + CORBA::Boolean password, CORBA::Boolean dir ) std_try { + if( !ai.id_domain || !ai.login || !ai.pass /*|| !ai.dir*/ ) + throw ::vq::null_error(__FILE__, __LINE__); + + cpgsqlpool::value_ptr pg(pool.get()); + result res(nontransaction(*pg.get()).exec( + "SELECT USER_REP(" + +to_string(ai.id_domain)+",'" + +sqlesc(lower(static_cast<const char *>(ai.login)))+"','" + +sqlesc(static_cast<const char *>(ai.pass))+"','" + +sqlesc(static_cast<const char *>(ai.dir))+"','" + +to_string(ai.flags)+"'," + +(password ? "'t'" : "'f'")+"::boolean," + +(dir ? "'t'" : "'f'")+"::boolean)")); + + if(res.empty() || res[0][0].is_null() ) { + return lr(::vq::ivq::err_func_res, "USER_REP"); + } + + const char *val = res[0][0].c_str(); + if( '-' == *val ) { + switch( *(val+1) ) { + case '1': + return lr(::vq::ivq::err_noent, + boost::lexical_cast<std::string>(ai.id_domain)); + case '2': + return lr(::vq::ivq::err_noent, + boost::lexical_cast<std::string>(ai.login)); + default: + return lr(::vq::ivq::err_func_res, "USER_REP"); + } + } + if( *val == '0' && *(val+1) == '\0' ) { + return lr(::vq::ivq::err_no, ""); + } + return lr(::vq::ivq::err_func_res, "USER_REP"); + } std_catch; + + /** * */ cpgsqlauth::error * cpgsqlauth::da_add( id_type dom_id, Modified: trunk/base/pgsql/cpgsqlauth.hpp =================================================================== --- trunk/base/pgsql/cpgsqlauth.hpp 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/pgsql/cpgsqlauth.hpp 2005-12-03 18:50:03 UTC (rev 331) @@ -80,6 +80,8 @@ virtual error * user_add( const user_info & ai, CORBA::Boolean is_banned ); + virtual error * user_rep( const user_info & ai, + CORBA::Boolean password, CORBA::Boolean dir ); virtual error * user_rm( id_type dom_id, const char* user ); virtual error * user_pass( id_type dom_id, const char* user, const char* pass ); Modified: trunk/base/pgsql/install.pgsql =================================================================== --- trunk/base/pgsql/install.pgsql 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/pgsql/install.pgsql 2005-12-03 18:50:03 UTC (rev 331) @@ -39,14 +39,13 @@ sub version_get; sub plpgsql; -# functions upgrading to version 8 -sub v8_funcs; -sub v8_tables; +# functions upgrading to version 9 +sub vcur_funcs; +sub vcur_tables; -# functions upgrading from 7 to 8 +# functions upgrading +sub v8_9_funcs; sub v7_8_funcs; - -# functions upgrading from 6 to 7 sub v6_7_funcs; # generic vq_info update @@ -70,14 +69,14 @@ plpgsql(); my $ver = version_get(); -my $cur_ver = 8; +my $cur_ver = 9; print "Database version is: $ver\n"; if( $ver == 0 ) { print "Upgrading to $cur_ver...\n"; ins_vq_info($cur_ver); - v8_tables(); - v8_funcs(); + vcur_tables(); + vcur_funcs(); } elsif($upg) { if( $ver >= 6 ) { if ($ver == 6) { @@ -90,6 +89,11 @@ upd_vq_info(8); $ver = 8; } + if ($ver == 8) { + v8_9_funcs(); + upd_vq_info(9); + $ver = 9; + } } else { die( "Don't know how to upgrade!" ); } @@ -196,7 +200,7 @@ ## # -sub v8_tables { +sub vcur_tables { my @funcs = ( "CREATE TABLE vq_domains (id_domain serial," ."domain text unique not null check(length(domain)>1)," @@ -272,11 +276,11 @@ qdie($funcs[$i]); } } -} # v8_tables +} # vcur_tables ## # -sub v8_funcs { +sub vcur_funcs { my @funcs = ( "CREATE FUNCTION dom_add(vq_domains.domain\%TYPE) RETURNS vq_domains.id_domain\%TYPE AS ' DECLARE @@ -719,7 +723,8 @@ } v7_8_funcs; -} # v8_funcs + v8_9_funcs; +} # vcur_funcs ## # v6_7_funcs @@ -835,6 +840,64 @@ } # v7_8_funcs ## +# v8_9_funcs +sub v8_9_funcs { + my @funcs = ( +"CREATE or replace FUNCTION user_rep +(vq_users.id_domain\%TYPE, +vq_users.login\%TYPE, +vq_users.pass\%TYPE, +vq_users.dir\%TYPE, +vq_users.flags\%TYPE, +bool, bool) RETURNS int4 AS ' +DECLARE + _id_domain alias for \$1; + _login alias for \$2; + _pass alias for \$3; + _dir alias for \$4; + _flags alias for \$5; + pass_chg alias for \$6; + dir_chg alias for \$7; + + ban RECORD; +BEGIN + IF NOT EXISTS (SELECT * FROM vq_domains WHERE id_domain=_id_domain) THEN + RETURN -1; + END IF; + + IF NOT EXISTS (SELECT * FROM vq_users + WHERE id_domain=_id_domain AND login=_login) THEN + RETURN -2; + END IF; + + UPDATE vq_users SET flags=_flags + WHERE id_domain=_id_domain AND login=_login; + IF( pass_chg != false ) THEN + UPDATE vq_users SET pass=_pass + WHERE id_domain=_id_domain AND login=_login; + END IF; + IF( dir_chg != false ) THEN + UPDATE vq_users SET dir=_dir + WHERE id_domain=_id_domain AND login=_login; + END IF; + + NOTIFY user_rep; + RETURN 0; +END; +' LANGUAGE 'plpgsql';", + +); + + for( my $i=0; $i < @funcs.""; ++$i ) { + my $res = $con->do($funcs[$i]); + if( $con->err != PGRES_COMMAND_OK ) { + qdie($funcs[$i]); + } + } +} # v8_9_funcs + + +## # Create table with informations about database sub upd_vq_info($) { my $ver = shift; Deleted: trunk/base/pgsql/upgrade-5.pgsql =================================================================== --- trunk/base/pgsql/upgrade-5.pgsql 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/pgsql/upgrade-5.pgsql 2005-12-03 18:50:03 UTC (rev 331) @@ -1,138 +0,0 @@ -#!/usr/bin/perl - -package main; -$Getopt::Std::STANDARD_HELP_VERSION = 1; -sub VERSION_MESSAGE { - my $out = shift; - print $out "$0 version 6\n"; -} - -sub HELP_MESSAGE { - my $out = shift; - print $out "usage: $0 [-c con_info] [-C con_info] [-u user] [-U user] [-p pass] [-P pass] [-s schema] [-S schema] domains\n"; - print $out "-c con_info\tPostgreSQL connection info\n"; - print $out "-C con_info\tPostgreSQL connection info (for old database)\n"; - print $out "-u user\tconnect as this user\n"; - print $out "-U user\tconnect as this user (for old database)\n"; - print $out "-p pass\tuse this password\n"; - print $out "-P pass\tuse this password (for old database)\n"; - print $out "-s schema\tcreate objects in specified schema\n"; - print $out "-S schema\tread objects from specified schema\n"; -} - -package vqpgsql; - -use DBI; -use Getopt::Std; - -# Configuration -my %opts = (); -getopts('c:u:p:s:C:U:P:S:', \%opts); - -my $con_conf = $opts{'c'} ? $opts{'c'} : "dbname=mail host=/tmp"; -my $fcon_conf = $opts{'C'} ? $opts{'C'} : "dbname=mail host=/tmp"; -my $con_user = $opts{'u'} ? $opts{'u'} : "mail"; -my $fcon_user = $opts{'U'} ? $opts{'U'} : "mail"; -my $con_pass = $opts{'p'} ? $opts{'p'} : "mail"; -my $fcon_pass = $opts{'P'} ? $opts{'P'} : "mail"; -my $schema = $opts{'s'} ? $opts{'s'} : "mail"; -my $fschema = $opts{'S'} ? $opts{'S'} : "public"; - -# Prototypes -sub qdie($$); -sub version_get; - -sub dom_id($); - -############ -my $con = DBI->connect("dbi:Pg:$con_conf", $con_user, $con_pass); -if( $con == undef ) { - die("Can't connect"); -} -if( $con->err != PGRES_CONNECTION_OK ) { - die("Can't connect: ".$con->errstr); -} - -my $fcon = DBI->connect("dbi:Pg:$fcon_conf", $fcon_user, $fcon_pass); -if( $fcon == undef ) { - die("Can't connect"); -} -if( $fcon->err != PGRES_CONNECTION_OK ) { - die("Can't connect: ".$fcon->errstr); -} - -my $ver = version_get(); -print "Database version is: $ver\n"; - -if( $ver != 6 ) { - die("Sorry, I know how to copy old data only to database version 6...\n"); -} - -foreach $dom (@ARGV) { - my $tb = $dom; - $tb =~ tr/.-/__/; - print "Copying data from $dom (table $fschema.$tb)...\n"; - my $id = dom_id($dom); - print "Domain's id is: $id\n"; - die("It should not be <=0, did you run dom_add $dom?") if($id < 0); - - # Copy users - my $fqr = "SELECT * FROM $tb"; - my $fsth = $fcon->prepare($fqr); - $fsth->execute; - if( $con->err != PGRES_TUPLES_OK ) { - qdie($fqr, $fcon); - } - for( $i=0, $s=$fsth->rows; $i<$s; ++$i ) { - my @fvals = $fsth->fetchrow_array; - my $res = `user_add ""` - } -} - -# Functions - -## -# -sub qdie($$) { - die("Query: $_[0]: ".$_[1]->errstr); -} - -## -# Get v-q schema version -sub version_get { - my $qr = "SELECT '1' FROM pg_tables WHERE schemaname='" - .($schema eq "" ? "public" : $schema)."' AND tablename='vq_info'"; - my $sth = $con->prepare($qr); - $sth->execute; - my $res = $sth->fetchall_arrayref; - if( $con->err != PGRES_TUPLES_OK ) { - qdie($qr, $con); - } - if( @{$res}."" == 1 && ${$res}[0][0] eq "1" ) { - $qr = "SELECT value FROM vq_info WHERE key='version'"; - $sth = $con->prepare($qr); - $sth->execute; - $res = $sth->fetchall_arrayref; - if( $con->err != PGRES_TUPLES_OK ) { - qdie($qr, $con); - } - return @{$res}."" >= 1 ? int(${$res}[0][0]) : 0; - } else { - return 0; - } -} - -## -# -sub dom_id($) { - my $name = shift; - my $qr = "SELECT DOM_ID('$name')"; - my $sth = $con->prepare($qr); - $sth->execute; - my $res = $sth->fetchall_arrayref; - if( $con->err != PGRES_TUPLES_OK ) { - qdie($qr, $con); - } - return @{$res}."" >= 1 ? int(${$res}[0][0]) : 0; -} - Modified: trunk/base/qmailvqd/cqmailvq.hpp =================================================================== --- trunk/base/qmailvqd/cqmailvq.hpp 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/qmailvqd/cqmailvq.hpp 2005-12-03 18:50:03 UTC (rev 331) @@ -112,6 +112,8 @@ virtual error* user_add( const user_info& ai, CORBA::Boolean is_banned ); + virtual error* user_rep( const user_info& ai, + CORBA::Boolean password, CORBA::Boolean home ); virtual error* user_rm( id_type dom_id, const char* login ); virtual error* user_pass( id_type dom_id, Modified: trunk/base/qmailvqd/cqmailvq_user.cc =================================================================== --- trunk/base/qmailvqd/cqmailvq_user.cc 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/qmailvqd/cqmailvq_user.cc 2005-12-03 18:50:03 UTC (rev 331) @@ -140,6 +140,41 @@ } std_catch /** + * Modify user. Login and domain are never changed. Password is changed + * only if password == true. Directory changes are not + * implemented at this time. + * \param ui includes information about user + * \param password change also password + * \param home change also home + */ + cqmailvq::error * cqmailvq::user_rep( const user_info & ai, + CORBA::Boolean password, CORBA::Boolean home ) std_try { + + if(!ai.login || !ai.dir) + throw ::vq::null_error(__FILE__, __LINE__); + + string login(lower(static_cast<const char *>(ai.login))); + + user_info ui; + ui.id_domain = ai.id_domain; + ui.login = login.c_str(); + auto_ptr<error> ret; + if( home ) { + ret.reset(this->user_get(ui)); + if( ::vq::ivq::err_no != ret->ec ) + return ret.release(); + if( ! strcmp(ai.dir, ui.dir) ) + return lr(::vq::ivq::err_func_ni, ""); + } + + ret.reset(auth->user_rep(ai, password, home)); + if( ::vq::ivq::err_no != ret->ec ) { + return ret.release(); + } + return lr(::vq::ivq::err_no, ""); + } std_catch + + /** * Remove user * \param dom_id domain's id * \param login Modified: trunk/base/vq.idl =================================================================== --- trunk/base/vq.idl 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/base/vq.idl 2005-12-03 18:50:03 UTC (rev 331) @@ -244,6 +244,9 @@ /// Adds user error user_add(in user_info ai, in boolean is_banned ) raises (null_error, except, db_error); + /// Modify user + error user_rep(in user_info ui, in boolean password, in boolean dir ) + raises (null_error, except, db_error); /// Removes user error user_rm(in id_type dom_id, in string login) raises (null_error, except, db_error); Modified: trunk/doc/en.html/arch.clients.html =================================================================== --- trunk/doc/en.html/arch.clients.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.clients.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.db.html =================================================================== --- trunk/doc/en.html/arch.db.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.db.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -91,7 +91,7 @@ ><DIV CLASS="figure" ><A -NAME="AEN181" +NAME="AEN187" ></A ><P ><B Modified: trunk/doc/en.html/arch.html =================================================================== --- trunk/doc/en.html/arch.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -165,7 +165,7 @@ ><DIV CLASS="figure" ><A -NAME="AEN115" +NAME="AEN121" ></A ><P ><B Modified: trunk/doc/en.html/arch.iauth.html =================================================================== --- trunk/doc/en.html/arch.iauth.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.iauth.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.ilogger.html =================================================================== --- trunk/doc/en.html/arch.ilogger.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.ilogger.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/arch.ivq.html =================================================================== --- trunk/doc/en.html/arch.ivq.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/arch.ivq.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/com.support.html =================================================================== --- trunk/doc/en.html/com.support.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/com.support.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.authors.html =================================================================== --- trunk/doc/en.html/community.authors.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.authors.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.blog.html =================================================================== --- trunk/doc/en.html/community.blog.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.blog.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.bugs.html =================================================================== --- trunk/doc/en.html/community.bugs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.bugs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.forums.html =================================================================== --- trunk/doc/en.html/community.forums.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.forums.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.html =================================================================== --- trunk/doc/en.html/community.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.requests.html =================================================================== --- trunk/doc/en.html/community.requests.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.requests.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/community.success.html =================================================================== --- trunk/doc/en.html/community.success.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/community.success.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.html =================================================================== --- trunk/doc/en.html/devs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/devs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.java.html =================================================================== --- trunk/doc/en.html/devs.java.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/devs.java.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.pkgs.html =================================================================== --- trunk/doc/en.html/devs.pkgs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/devs.pkgs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/devs.python.html =================================================================== --- trunk/doc/en.html/devs.python.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/devs.python.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/doc.gen.html =================================================================== --- trunk/doc/en.html/doc.gen.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/doc.gen.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -137,7 +137,7 @@ <DIV CLASS="example" ><A -NAME="AEN912" +NAME="AEN918" ></A ><P ><B Modified: trunk/doc/en.html/doc.gen.makefile.html =================================================================== --- trunk/doc/en.html/doc.gen.makefile.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/doc.gen.makefile.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/foreword.html =================================================================== --- trunk/doc/en.html/foreword.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/foreword.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/index.html =================================================================== --- trunk/doc/en.html/index.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/index.html 2005-12-03 18:50:03 UTC (rev 331) @@ -13,7 +13,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -203,27 +203,27 @@ ></DT ><DT >3.1.2. <A -HREF="life.html#AEN230" +HREF="life.html#AEN236" >Configuration for Qmail part</A ></DT ><DT >3.1.3. <A -HREF="life.html#AEN338" +HREF="life.html#AEN344" >Configuration for PostgreSQL authorization part</A ></DT ><DT >3.1.4. <A -HREF="life.html#AEN374" +HREF="life.html#AEN380" >Configuration for JDBC authorization part</A ></DT ><DT >3.1.5. <A -HREF="life.html#AEN416" +HREF="life.html#AEN422" >Configuration for PostgreSQL logging part</A ></DT ><DT >3.1.6. <A -HREF="life.html#AEN447" +HREF="life.html#AEN453" >Configuration for JDBC logging part</A ></DT ></DL @@ -409,7 +409,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN717" +HREF="install.prep.html#AEN723" >Creating user and group</A ></DT ><DT @@ -486,27 +486,27 @@ ></DT ><DT >3-1. <A -HREF="life.html#AEN235" +HREF="life.html#AEN241" >Configuration files for Qmail part</A ></DT ><DT >3-2. <A -HREF="life.html#AEN343" +HREF="life.html#AEN349" >Configuration files for PostgreSQL authorization part</A ></DT ><DT >3-3. <A -HREF="life.html#AEN379" +HREF="life.html#AEN385" >Configuration files for JDBC authorization part</A ></DT ><DT >3-4. <A -HREF="life.html#AEN421" +HREF="life.html#AEN427" >Configuration files for PostgreSQL logging part</A ></DT ><DT >3-5. <A -HREF="life.html#AEN452" +HREF="life.html#AEN458" >Configuration files for JDBC logging part</A ></DT ></DL @@ -521,12 +521,12 @@ ></DT ><DT >2-1. <A -HREF="arch.html#AEN115" +HREF="arch.html#AEN121" >Architecture in a picture</A ></DT ><DT >2-2. <A -HREF="arch.db.html#AEN181" +HREF="arch.db.html#AEN187" >Database in a picture</A ></DT ></DL @@ -541,27 +541,27 @@ ></DT ><DT >7-1. <A -HREF="install.prep.html#AEN809" +HREF="install.prep.html#AEN815" >corba.inc for MICO installed in /usr/local/progs/mico</A ></DT ><DT >7-2. <A -HREF="install.prep.html#AEN813" +HREF="install.prep.html#AEN819" >corba.lib for MICO installed in /usr/local/progs/mico</A ></DT ><DT >7-3. <A -HREF="install.prep.html#AEN817" +HREF="install.prep.html#AEN823" >corba.inc for omniORB installed in /usr/local/progs/omniorb</A ></DT ><DT >7-4. <A -HREF="install.prep.html#AEN821" +HREF="install.prep.html#AEN827" >corba.lib for omniORB installed in /usr/local/progs/omniorb</A ></DT ><DT >8-1. <A -HREF="doc.gen.html#AEN912" +HREF="doc.gen.html#AEN918" >Content of <TT CLASS="filename" >catalog</TT Modified: trunk/doc/en.html/install.comp.html =================================================================== --- trunk/doc/en.html/install.comp.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/install.comp.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.deps.html =================================================================== --- trunk/doc/en.html/install.deps.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/install.deps.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.html =================================================================== --- trunk/doc/en.html/install.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/install.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -129,7 +129,7 @@ ><DL ><DT >7.3.1. <A -HREF="install.prep.html#AEN717" +HREF="install.prep.html#AEN723" >Creating user and group</A ></DT ><DT Modified: trunk/doc/en.html/install.install.html =================================================================== --- trunk/doc/en.html/install.install.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/install.install.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/install.prep.html =================================================================== --- trunk/doc/en.html/install.prep.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/install.prep.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -99,7 +99,7 @@ ><H2 CLASS="section" ><A -NAME="AEN717" +NAME="AEN723" >7.3.1. Creating user and group</A ></H2 ><P @@ -477,7 +477,7 @@ ><DIV CLASS="example" ><A -NAME="AEN809" +NAME="AEN815" ></A ><P ><B @@ -494,7 +494,7 @@ ><DIV CLASS="example" ><A -NAME="AEN813" +NAME="AEN819" ></A ><P ><B @@ -511,7 +511,7 @@ ><DIV CLASS="example" ><A -NAME="AEN817" +NAME="AEN823" ></A ><P ><B @@ -528,7 +528,7 @@ ><DIV CLASS="example" ><A -NAME="AEN821" +NAME="AEN827" ></A ><P ><B Modified: trunk/doc/en.html/intro.changes.html =================================================================== --- trunk/doc/en.html/intro.changes.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.changes.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -106,6 +106,34 @@ CLASS="formalpara" ><P ><B +>Version 11. </B +> + It's now possible to modify user's account - change + flags, password at the same time. + </P +></DIV +><DIV +CLASS="formalpara" +><P +><B +>Version 10. </B +> + Database modified - new view added vq_view_user_cnt_by_dom; + during database upgrade user_add function is modified + (fix for PostgreSQL 8). Jar files were moved to + PREFIX/lib/vq/. + RPM package v-q-jdbc is created only when rpmbuild gets + "--with jdbc" on the command line. Database function user_add + has been extended by one argument. New configurationfile + for qmailvqd "backup_deleted", it's used to tell + if you want to have user's files backed up during + removing. + </P +></DIV +><DIV +CLASS="formalpara" +><P +><B >Version 9. </B > <SPAN Modified: trunk/doc/en.html/intro.features.html =================================================================== --- trunk/doc/en.html/intro.features.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.features.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.html =================================================================== --- trunk/doc/en.html/intro.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.missing.html =================================================================== --- trunk/doc/en.html/intro.missing.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.missing.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.todo.html =================================================================== --- trunk/doc/en.html/intro.todo.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.todo.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/intro.trans.html =================================================================== --- trunk/doc/en.html/intro.trans.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/intro.trans.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/license.html =================================================================== --- trunk/doc/en.html/license.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/license.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/life.html =================================================================== --- trunk/doc/en.html/life.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/life.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY @@ -100,27 +100,27 @@ ></DT ><DT >3.1.2. <A -HREF="life.html#AEN230" +HREF="life.html#AEN236" >Configuration for Qmail part</A ></DT ><DT >3.1.3. <A -HREF="life.html#AEN338" +HREF="life.html#AEN344" >Configuration for PostgreSQL authorization part</A ></DT ><DT >3.1.4. <A -HREF="life.html#AEN374" +HREF="life.html#AEN380" >Configuration for JDBC authorization part</A ></DT ><DT >3.1.5. <A -HREF="life.html#AEN416" +HREF="life.html#AEN422" >Configuration for PostgreSQL logging part</A ></DT ><DT >3.1.6. <A -HREF="life.html#AEN447" +HREF="life.html#AEN453" >Configuration for JDBC logging part</A ></DT ></DL @@ -227,7 +227,7 @@ ><H2 CLASS="section" ><A -NAME="AEN230" +NAME="AEN236" >3.1.2. Configuration for Qmail part</A ></H2 ><P @@ -243,7 +243,7 @@ ><DIV CLASS="table" ><A -NAME="AEN235" +NAME="AEN241" ></A ><P ><B @@ -534,7 +534,7 @@ ><H2 CLASS="section" ><A -NAME="AEN338" +NAME="AEN344" >3.1.3. Configuration for PostgreSQL authorization part</A ></H2 ><P @@ -550,7 +550,7 @@ ><DIV CLASS="table" ><A -NAME="AEN343" +NAME="AEN349" ></A ><P ><B @@ -642,7 +642,7 @@ ><H2 CLASS="section" ><A -NAME="AEN374" +NAME="AEN380" >3.1.4. Configuration for JDBC authorization part</A ></H2 ><P @@ -661,7 +661,7 @@ ><DIV CLASS="table" ><A -NAME="AEN379" +NAME="AEN385" ></A ><P ><B @@ -772,7 +772,7 @@ ><H2 CLASS="section" ><A -NAME="AEN416" +NAME="AEN422" >3.1.5. Configuration for PostgreSQL logging part</A ></H2 ><P @@ -788,7 +788,7 @@ ><DIV CLASS="table" ><A -NAME="AEN421" +NAME="AEN427" ></A ><P ><B @@ -863,7 +863,7 @@ ><H2 CLASS="section" ><A -NAME="AEN447" +NAME="AEN453" >3.1.6. Configuration for JDBC logging part</A ></H2 ><P @@ -882,7 +882,7 @@ ><DIV CLASS="table" ><A -NAME="AEN452" +NAME="AEN458" ></A ><P ><B Modified: trunk/doc/en.html/life.integration.html =================================================================== --- trunk/doc/en.html/life.integration.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/life.integration.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.html/life.security.html =================================================================== --- trunk/doc/en.html/life.security.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.html/life.security.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:39:59"><META +CONTENT="2005-12-02T23:09:11"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/en.src/intro.xml =================================================================== --- trunk/doc/en.src/intro.xml 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/en.src/intro.xml 2005-12-03 18:50:03 UTC (rev 331) @@ -114,6 +114,32 @@ </formalpara> <formalpara> + <title>Version 11</title> + + <para> + It's now possible to modify user's account - change + flags, password at the same time. + </para> + </formalpara> + + <formalpara> + <title>Version 10</title> + + <para> + Database modified - new view added vq_view_user_cnt_by_dom; + during database upgrade user_add function is modified + (fix for PostgreSQL 8). Jar files were moved to + PREFIX/lib/vq/. + RPM package v-q-jdbc is created only when rpmbuild gets + "--with jdbc" on the command line. Database function user_add + has been extended by one argument. New configurationfile + for qmailvqd "backup_deleted", it's used to tell + if you want to have user's files backed up during + removing. + </para> + </formalpara> + + <formalpara> <title>Version 9</title> <para> Modified: trunk/doc/pl.html/arch.clients.html =================================================================== --- trunk/doc/pl.html/arch.clients.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.clients.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.db.html =================================================================== --- trunk/doc/pl.html/arch.db.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.db.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.html =================================================================== --- trunk/doc/pl.html/arch.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.iauth.html =================================================================== --- trunk/doc/pl.html/arch.iauth.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.iauth.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.ilogger.html =================================================================== --- trunk/doc/pl.html/arch.ilogger.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.ilogger.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/arch.ivq.html =================================================================== --- trunk/doc/pl.html/arch.ivq.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/arch.ivq.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/com.support.html =================================================================== --- trunk/doc/pl.html/com.support.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/com.support.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.authors.html =================================================================== --- trunk/doc/pl.html/community.authors.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.authors.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.blog.html =================================================================== --- trunk/doc/pl.html/community.blog.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.blog.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.bugs.html =================================================================== --- trunk/doc/pl.html/community.bugs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.bugs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.forums.html =================================================================== --- trunk/doc/pl.html/community.forums.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.forums.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.html =================================================================== --- trunk/doc/pl.html/community.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.requests.html =================================================================== --- trunk/doc/pl.html/community.requests.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.requests.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/community.success.html =================================================================== --- trunk/doc/pl.html/community.success.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/community.success.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.html =================================================================== --- trunk/doc/pl.html/devs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/devs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.java.html =================================================================== --- trunk/doc/pl.html/devs.java.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/devs.java.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.pkgs.html =================================================================== --- trunk/doc/pl.html/devs.pkgs.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/devs.pkgs.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/devs.python.html =================================================================== --- trunk/doc/pl.html/devs.python.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/devs.python.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/doc.gen.html =================================================================== --- trunk/doc/pl.html/doc.gen.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/doc.gen.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/doc.gen.makefile.html =================================================================== --- trunk/doc/pl.html/doc.gen.makefile.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/doc.gen.makefile.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/foreword.html =================================================================== --- trunk/doc/pl.html/foreword.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/foreword.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/index.html =================================================================== --- trunk/doc/pl.html/index.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/index.html 2005-12-03 18:50:03 UTC (rev 331) @@ -13,7 +13,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.comp.html =================================================================== --- trunk/doc/pl.html/install.comp.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/install.comp.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.deps.html =================================================================== --- trunk/doc/pl.html/install.deps.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/install.deps.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.html =================================================================== --- trunk/doc/pl.html/install.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/install.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.install.html =================================================================== --- trunk/doc/pl.html/install.install.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/install.install.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/install.prep.html =================================================================== --- trunk/doc/pl.html/install.prep.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/install.prep.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.changes.html =================================================================== --- trunk/doc/pl.html/intro.changes.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/intro.changes.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.features.html =================================================================== --- trunk/doc/pl.html/intro.features.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/intro.features.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.html =================================================================== --- trunk/doc/pl.html/intro.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/intro.html 2005-12-03 18:50:03 UTC (rev 331) @@ -19,7 +19,7 @@ TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" -CONTENT="2005-11-21T20:40:52"><META +CONTENT="2005-12-02T23:09:31"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY Modified: trunk/doc/pl.html/intro.missing.html =================================================================== --- trunk/doc/pl.html/intro.missing.html 2005-12-02 23:57:24 UTC (rev 330) +++ trunk/doc/pl.html/intro.missing.html 2005-12-03 18:50:03 UTC (rev 331) @@ -22,7 +22,7 @@ TYPE="text/css"... [truncated message content] |
From: <sv...@fo...> - 2005-12-02 23:57:42
|
Author: paweln Date: 2005-12-03 00:57:24 +0100 (Sat, 03 Dec 2005) New Revision: 330 Modified: trunk/interfaces/www/README trunk/interfaces/www/README.pl_PL Log: DOC: info about Incredible Hosting System - http://ihs.foo-baz.com/ Modified: trunk/interfaces/www/README =================================================================== --- trunk/interfaces/www/README 2005-11-23 21:19:27 UTC (rev 329) +++ trunk/interfaces/www/README 2005-12-02 23:57:24 UTC (rev 330) @@ -1 +1,7 @@ This directory was not updated, programs can't be compiled with newest version. + +There's a new projects called Incredible Hosting System which +will bring new quality UI written in J2EE for Virtual Qmail and some +other applications. + +For more open http://ihs.foo-baz.com/ Modified: trunk/interfaces/www/README.pl_PL =================================================================== --- trunk/interfaces/www/README.pl_PL 2005-11-23 21:19:27 UTC (rev 329) +++ trunk/interfaces/www/README.pl_PL 2005-12-02 23:57:24 UTC (rev 330) @@ -1,2 +1,8 @@ Ten katalog nie zosta zaktualizowany, programy nie skompiluj si najnowsz wersj. + +Powsta nowy projekt o nazwie Inredible Hosting System. Jednym z jego +celest zapewnienie UI napisanego w J2EE dla Virtual Qmail oraz +innych aplikacji. + +Wij pod adresem http://ihs.foo-baz.com/ |