You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Reed L. <r3...@us...> - 2002-07-24 15:18:10
|
Committer : r33d CVSROOT : /cvsroot/cyclebot Module : mod.cyclebot Commit time: 2002-07-24 15:18:09 UTC Modified files: cyclebot.cc Log message: More work on stringstream ---------------------- diff included ---------------------- Index: mod.cyclebot/cyclebot.cc diff -u mod.cyclebot/cyclebot.cc:1.3 mod.cyclebot/cyclebot.cc:1.4 --- mod.cyclebot/cyclebot.cc:1.3 Mon Jul 22 19:59:08 2002 +++ mod.cyclebot/cyclebot.cc Wed Jul 24 08:17:57 2002 @@ -10,7 +10,7 @@ #include <vector> #include <iostream> #include <algorithm> - +#include <sstream> #include <cstring> @@ -34,6 +34,7 @@ using std::cout ; using std::endl ; using std::count ; +using std::stringstream ; namespace cyclebt { ----------------------- End of diff ----------------------- |
From: Reed L. <r3...@us...> - 2002-07-23 02:59:20
|
CVSROOT : /cvsroot/cyclebot Module : mod.cyclebot Commit time: 2002-07-23 02:59:18 UTC Modified files: LOGINCommand.cc cyclebot.cc cyclebot.h Log message: cyclebot now works with PGSQL 7.2+ and changed strstream to stringstream ---------------------- diff included ---------------------- Index: mod.cyclebot/LOGINCommand.cc diff -u mod.cyclebot/LOGINCommand.cc:1.4 mod.cyclebot/LOGINCommand.cc:1.5 --- mod.cyclebot/LOGINCommand.cc:1.4 Wed Feb 6 11:41:43 2002 +++ mod.cyclebot/LOGINCommand.cc Mon Jul 22 19:59:08 2002 @@ -2,6 +2,7 @@ #include <string> #include <iomanip.h> +#include <sstream> #include "md5hash.h" #include "StringTokenizer.h" @@ -11,7 +12,7 @@ //#include "sqlcbUser.h" #include "cbUser.h" -const char LOGINCommand_cc_rcsId[] = "$Id: LOGINCommand.cc,v 1.4 2002/02/06 19:41:43 r33d Exp $" ; +const char LOGINCommand_cc_rcsId[] = "$Id: LOGINCommand.cc,v 1.5 2002/07/23 02:59:08 r33d Exp $" ; namespace gnuworld { @@ -96,7 +97,7 @@ data[ii] = digest[ii]; } -strstream output; +stringstream output; output << hex; output.fill('0'); @@ -110,11 +111,9 @@ { bot->Notice(theClient, "Invalid Password"); - delete[] output.str() ; return false; } -delete[] output.str() ; AuthInfo *TempAuth = bot->IsAuth(theUser->getID()); Index: mod.cyclebot/cyclebot.cc diff -u mod.cyclebot/cyclebot.cc:1.2 mod.cyclebot/cyclebot.cc:1.3 --- mod.cyclebot/cyclebot.cc:1.2 Tue Feb 5 05:50:44 2002 +++ mod.cyclebot/cyclebot.cc Mon Jul 22 19:59:08 2002 @@ -100,8 +100,7 @@ else { elog << "cyclebot::cyclebot> Connection established to SQL " - << "server. Backend PID: " - << SQLDb->getPID() + << "server." << endl ; } @@ -476,7 +475,7 @@ md5 hash; // MD5 hash algorithm object. md5Digest digest; // MD5Digest algorithm object. -strstream output; +stringstream output; string newPass; newPass = salt + st.assemble(0); Index: mod.cyclebot/cyclebot.h diff -u mod.cyclebot/cyclebot.h:1.2 mod.cyclebot/cyclebot.h:1.3 --- mod.cyclebot/cyclebot.h:1.2 Tue Feb 5 05:50:44 2002 +++ mod.cyclebot/cyclebot.h Mon Jul 22 19:59:08 2002 @@ -2,7 +2,7 @@ */ #ifndef __CYCLEBOT_H -#define __CYCLEBOT_H "$Id: cyclebot.h,v 1.2 2002/02/05 13:50:44 ultike Exp $" +#define __CYCLEBOT_H "$Id: cyclebot.h,v 1.3 2002/07/23 02:59:08 r33d Exp $" #include <string> #include <vector> @@ -13,7 +13,6 @@ #include "client.h" #include "libpq++.h" -#include "libpq-int.h" #include "cyclebotCommands.h" #include "cbUser.h" #include "cbLogin.h" @@ -42,9 +41,6 @@ cmDatabase(const string& conninfo) : PgDatabase(conninfo.c_str()) {} virtual ~cmDatabase() {} - - inline int getPID() const - { return pgConn->be_pid; } }; ----------------------- End of diff ----------------------- |
From: Reed L. <r3...@us...> - 2002-06-29 20:42:07
|
CVSROOT : /cvsroot/cyclebot Module : cyclebot Commit time: 2002-06-29 20:42:06 UTC Modified files: TODO cyclebotConfParser.cpp cyclebotConfParser.h cyclebotVersion.h cyclebotWorld.cpp Log message: Various things ---------------------- diff included ---------------------- Index: cyclebot/TODO diff -u cyclebot/TODO:1.9 cyclebot/TODO:1.10 --- cyclebot/TODO:1.9 Tue Jan 22 18:10:54 2002 +++ cyclebot/TODO Sat Jun 29 13:41:56 2002 @@ -1,4 +1,4 @@ -$Id: TODO,v 1.9 2002/01/23 02:10:54 r33d Exp $ +$Id: TODO,v 1.10 2002/06/29 20:41:56 r33d Exp $ -Add PostGreSQL UserFile Stuff -Add Web Interface +TODO: +Create GNUWorld cyclebot module (see mod.cyclebot) Index: cyclebot/cyclebotConfParser.cpp diff -u cyclebot/cyclebotConfParser.cpp:1.6 cyclebot/cyclebotConfParser.cpp:1.7 --- cyclebot/cyclebotConfParser.cpp:1.6 Tue Jan 22 18:10:54 2002 +++ cyclebot/cyclebotConfParser.cpp Sat Jun 29 13:41:56 2002 @@ -1,4 +1,4 @@ -/* $Id: cyclebotConfParser.cpp,v 1.6 2002/01/23 02:10:54 r33d Exp $ */ +/* $Id: cyclebotConfParser.cpp,v 1.7 2002/06/29 20:41:56 r33d Exp $ */ // cyclebot, cyclebotConfParser.cpp // @@ -159,6 +159,7 @@ confInfo.chanlimit.erase(); confInfo.console.erase(); confInfo.consolekey.erase(); + confInfo.shortnick.erase(); confInfo.server.erase(); confInfo.vhost.erase(); confInfo.cycledelay.erase(); @@ -199,6 +200,8 @@ rp = &confInfo.console; else if(var == "consolekey") rp = &confInfo.consolekey; + else if(var == "shortnick") + rp = &confInfo.shortnick; else if(var == "server") rp = &confInfo.server; else if(var == "vhost") Index: cyclebot/cyclebotConfParser.h diff -u cyclebot/cyclebotConfParser.h:1.5 cyclebot/cyclebotConfParser.h:1.6 --- cyclebot/cyclebotConfParser.h:1.5 Tue Jan 22 18:10:54 2002 +++ cyclebot/cyclebotConfParser.h Sat Jun 29 13:41:56 2002 @@ -1,4 +1,4 @@ -/* $Id: cyclebotConfParser.h,v 1.5 2002/01/23 02:10:54 r33d Exp $ */ +/* $Id: cyclebotConfParser.h,v 1.6 2002/06/29 20:41:56 r33d Exp $ */ #ifndef cyclebotConfParser_H_ #define cyclebotConfParser_H_ @@ -69,6 +69,7 @@ string chanlimit; string console; string consolekey; + string shortnick; string server; string vhost; string cycledelay; Index: cyclebot/cyclebotVersion.h diff -u cyclebot/cyclebotVersion.h:1.6 cyclebot/cyclebotVersion.h:1.7 --- cyclebot/cyclebotVersion.h:1.6 Tue Jan 22 13:06:33 2002 +++ cyclebot/cyclebotVersion.h Sat Jun 29 13:41:56 2002 @@ -1,4 +1,4 @@ -/* $Id: cyclebotVersion.h,v 1.6 2002/01/22 21:06:33 r33d Exp $ */ +/* $Id: cyclebotVersion.h,v 1.7 2002/06/29 20:41:56 r33d Exp $ */ #ifndef cyclebotVersion_H_ #define cyclebotVersion_H_ @@ -26,7 +26,7 @@ // -#define VERSION_STRING "[cyclebot 1.1pl3]" +#define VERSION_STRING "[cyclebot 1.1pl4]" Index: cyclebot/cyclebotWorld.cpp diff -u cyclebot/cyclebotWorld.cpp:1.12 cyclebot/cyclebotWorld.cpp:1.13 --- cyclebot/cyclebotWorld.cpp:1.12 Tue Jan 22 18:10:54 2002 +++ cyclebot/cyclebotWorld.cpp Sat Jun 29 13:41:56 2002 @@ -1,4 +1,4 @@ -/* $Id: cyclebotWorld.cpp,v 1.12 2002/01/23 02:10:54 r33d Exp $ */ +/* $Id: cyclebotWorld.cpp,v 1.13 2002/06/29 20:41:56 r33d Exp $ */ // cyclebot, cyclebotWorld.cpp // @@ -33,7 +33,7 @@ #include "cyclebotVersion.h" #include "string_tokenizer.h" -#include "numeric.h" // ircu numerics +#include "numeric.h" // IRCu numerics #include <fstream> #include <strstream> ----------------------- End of diff ----------------------- |
From: Reed L. <r3...@us...> - 2002-06-29 19:06:50
|
CVSROOT : /cvsroot/cyclebot Module : cyclebot Commit time: 2002-06-29 19:06:49 UTC Modified files: cyclebot.conf cyclebotEngine.cpp Log message: Added shortnick capibilities ---------------------- diff included ---------------------- Index: cyclebot/cyclebot.conf diff -u cyclebot/cyclebot.conf:1.16 cyclebot/cyclebot.conf:1.17 --- cyclebot/cyclebot.conf:1.16 Tue Jan 22 18:10:54 2002 +++ cyclebot/cyclebot.conf Sat Jun 29 12:06:39 2002 @@ -1,4 +1,4 @@ -# $Id: cyclebot.conf,v 1.16 2002/01/23 02:10:54 r33d Exp $ +# $Id: cyclebot.conf,v 1.17 2002/06/29 19:06:39 r33d Exp $ # cyclebot configuration file # @@ -55,8 +55,7 @@ # shortnick of bot # useful for channel commands -# [NOT_USED_AT_THIS_TIME] -#shortnick = cyc1 +shortnick = cyc # server that bot connects to server = eu.undernet.org Index: cyclebot/cyclebotEngine.cpp diff -u cyclebot/cyclebotEngine.cpp:1.3 cyclebot/cyclebotEngine.cpp:1.4 --- cyclebot/cyclebotEngine.cpp:1.3 Sun Jan 13 19:05:39 2002 +++ cyclebot/cyclebotEngine.cpp Sat Jun 29 12:06:39 2002 @@ -1,4 +1,4 @@ -/* $Id: cyclebotEngine.cpp,v 1.3 2002/01/14 03:05:39 r33d Exp $ */ +/* $Id: cyclebotEngine.cpp,v 1.4 2002/06/29 19:06:39 r33d Exp $ */ // cyclebot, cyclebotEngine.cpp // @@ -47,7 +47,7 @@ using std::ofstream ; -const string cyc_prefix = "cyc"; +const string cyc_prefix = ::atoi(mConfig->GetConfInfos().shortnick.c_str()); cyclebotEngine::cyclebotEngine( ----------------------- End of diff ----------------------- |
From: Reed L. <r3...@us...> - 2002-06-29 18:23:10
|
CVSROOT : /cvsroot/cyclebot Module : cyclebot Commit time: 2002-06-29 18:23:09 UTC Modified files: main.cpp Log message: bleh ---------------------- diff included ---------------------- Index: cyclebot/main.cpp diff -u cyclebot/main.cpp:1.2 cyclebot/main.cpp:1.3 --- cyclebot/main.cpp:1.2 Sun Jan 13 19:05:39 2002 +++ cyclebot/main.cpp Sat Jun 29 11:22:59 2002 @@ -1,4 +1,4 @@ -/* $Id: main.cpp,v 1.2 2002/01/14 03:05:39 r33d Exp $ */ +/* $Id: main.cpp,v 1.3 2002/06/29 18:22:59 r33d Exp $ */ // cyclebot, main.cpp // @@ -19,7 +19,6 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // // -// SHORT DESCRIPTION: // // // ----------------------- End of diff ----------------------- |