Commit Graph

  • fef58e6ebe Move the iostream stuff and some "using" from main.h into Utils.h psychon 2009-03-29 12:12:34 +00:00
  • 621046287b Increase the version number to 0.069 psychon 2009-03-29 11:43:35 +00:00
  • 725170ac46 Increase the version number to 0.068 znc-0.068 psychon 2009-03-29 11:41:27 +00:00
  • 0f52550e09 Add defines.h for Csocket and make Csocket use ZNC's DEBUG() psychon 2009-03-25 17:56:29 +00:00
  • 9a2e17c657 Update to latest Csocket psychon 2009-03-25 15:38:11 +00:00
  • 230a556dc9 Use -D instead of -g as a short form for --debug psychon 2009-03-24 18:50:11 +00:00
  • d31c7dcd86 Add znc --debug / znc -g psychon 2009-03-24 18:45:03 +00:00
  • 42e67be22e Add znc -f / --foreground psychon 2009-03-24 12:03:51 +00:00
  • dcc49f9c6f Admin module: some cosmetic fixes sebastinas 2009-03-23 20:43:11 +00:00
  • 5475361404 Fix some compiler warnings with -Wmissing-declarations psychon 2009-03-23 15:26:26 +00:00
  • f991274789 Fix a crash bug with recursion in module calls psychon 2009-03-22 19:05:34 +00:00
  • 766d775f43 Remove some useless tags from a non-tty output. silverleo 2009-03-22 14:41:04 +00:00
  • 27a51fcec7 Some minor stuff, again found via icc's "remarks" psychon 2009-03-21 09:32:50 +00:00
  • 860ccb7dec Remove/fix some dead code psychon 2009-03-20 10:00:31 +00:00
  • e64b2549f5 Change CZNC::Loop()'s return type to void psychon 2009-03-19 16:25:33 +00:00
  • 27169de501 fixed bug in wrong iterator increment that causes infinite loop imaginos 2009-03-18 23:55:56 +00:00
  • e51189ea43 Get rid of znc.conf-backup psychon 2009-03-18 15:45:43 +00:00
  • f618ce2a8d Add CFile::Sync() psychon 2009-03-18 15:40:05 +00:00
  • 32ffc2b3d5 Move the saslauth copyright notice back into saslauth.cpp psychon 2009-03-16 11:59:36 +00:00
  • 48cb1b6cc6 Remove a pretty much useless usleep() on shutdown psychon 2009-03-15 07:44:07 +00:00
  • 5346cb5dd4 Fix an implicit (CFile *) false (this should have been NULL for sure) psychon 2009-03-14 18:17:42 +00:00
  • a743dd248e Makefile: Add -Wno-redundant-decls to modperlFLAGS psychon 2009-03-14 14:48:26 +00:00
  • 599aba7428 Regenerate configure with the newer autoconf 2.63 (was 2.61 before) psychon 2009-03-14 11:12:18 +00:00
  • 28b23955b4 Added raw 432 processing for illegal and erroneous nicks and changed the condition to trigger SendAltNick() since ircds like to interpret the standards. silverleo 2009-03-13 17:24:36 +00:00
  • accd7b26cc My bad. Fixed the build error. sebastinas 2009-03-11 21:11:58 +00:00
  • b170c83808 Admin module: added 'Set Password' sebastinas 2009-03-11 19:24:30 +00:00
  • 166d98c05e Fix for CSmartPtr::GetCount sebastinas 2009-03-11 14:32:12 +00:00
  • 0a96b3d223 Pulled in changes for CSmartPtr which include GetClientCount(), operator bool(), and ability to Attach() to NULL pointers prozacx 2009-03-10 19:36:24 +00:00
  • bcf072e3cc Check if the version of a module matches when querying info about it psychon 2009-03-10 19:15:08 +00:00
  • c30b9a240f Meh. Today is not a good day -.- psychon 2009-03-09 17:42:12 +00:00
  • c3e4a7a1e7 Add /msg *status UpdateMod[ule] which reloads an user module on all users psychon 2009-03-09 17:37:35 +00:00
  • 994da49638 Remove a mostly unused flag from CModInfo psychon 2009-03-09 17:21:01 +00:00
  • d66698e993 Fix my previous commit and also display the remote IP for the failed login psychon 2009-03-07 12:44:11 +00:00
  • 0015098ab3 Always notify the user when someone else tried to login but was rejected psychon 2009-03-07 12:37:38 +00:00
  • f52f4b2746 watch: Removed a bit too much in r1413. silverleo 2009-03-07 11:24:34 +00:00
  • 036a140290 watch: Save the module settings as soon as they are changed. silverleo 2009-03-07 11:16:28 +00:00
  • e21afe5346 webadmin: Restrict skins to be located inside the skins dir psychon 2009-03-06 14:24:47 +00:00
  • 824afde47b Change the default Join Tries from unlimited to 10 to prevent join floods when a user can't join a channel. silverleo 2009-03-06 13:30:09 +00:00
  • 20bbdee968 Fix some weird behavior in CString::Base64Decode and wrapped strings sebastinas 2009-03-04 18:20:08 +00:00
  • 812526278a Swap some lines in CHTTPSock::ReadLine sebastinas 2009-03-04 18:19:29 +00:00
  • a938666602 HTTPSock: Remove some code which makes no sense psychon 2009-03-03 17:10:52 +00:00
  • a2abf0fd44 Update to latest Csocket psychon 2009-03-03 11:09:44 +00:00
  • ea569a2bdc CZNC::AddUser(): Always set the error return on a useful value psychon 2009-03-01 16:43:58 +00:00
  • e302611bd3 Only add WALLOPS to the buffer if no client is attached psychon 2009-03-01 13:07:11 +00:00
  • ada9b8cf97 CFile::IsDir failed for the root directory "/". This patch fixes that special case. silverleo 2009-02-27 20:58:34 +00:00
  • 35394275f2 ZNC usernames can't have a : and passwords that have a : can break anyways so we can chomp it from the beginning to please CGames. silverleo 2009-02-27 19:52:31 +00:00
  • d7aa797a49 Make watch module use ExpandString in pattern matching and split some long lines in the code. silverleo 2009-02-27 16:11:53 +00:00
  • ef22c446df Fix a cd bug that prevented users from changing dirs with the shell module. silverleo 2009-02-27 15:53:38 +00:00
  • b0f94ba49c configure: Add the module path defines as late as possible psychon 2009-02-25 16:35:50 +00:00
  • e0a8f83e19 Increase the version number to 0.067 psychon 2009-02-24 16:41:22 +00:00
  • 30699d0ebe Increase the version number to 0.066 znc-0.066 psychon 2009-02-24 16:15:28 +00:00
  • 3188856a86 Don't write unexpected newlines to znc.conf psychon 2009-02-24 16:02:35 +00:00
  • 21120e2146 Handle newlines in CHTTPSock::GetParam() and strip them out. psychon 2009-02-24 16:00:11 +00:00
  • 6499609608 Check the return value of strftime() psychon 2009-02-24 15:52:43 +00:00
  • 9603da8e90 Add cnu to AUTHORS psychon 2009-02-24 14:55:44 +00:00
  • a7e8326300 Fix some "uninitialized variable" compiler warning psychon 2009-02-23 19:24:41 +00:00
  • 2430b5f6a6 Fix some minor XSS bug in webadmin's default skin psychon 2009-02-22 15:22:37 +00:00
  • b0994defb3 Add fail2ban module psychon 2009-02-21 16:50:40 +00:00
  • cbc27f5bb9 Call OnFailedLogin() for all failed logins, not only those on the irc port psychon 2009-02-21 16:48:28 +00:00
  • 7a985ac077 Don't ever ask for a password via stdin in away and savebuff psychon 2009-02-20 19:15:31 +00:00
  • 3d42554349 Get rid of all extra lines, not just the first one prozacx 2009-02-20 05:50:36 +00:00
  • 76bb08d0e8 Some stuff for the admin module psychon 2009-02-19 16:40:21 +00:00
  • 6c87e17789 Get rid of the DEBUG_ONLY define psychon 2009-02-18 16:10:32 +00:00
  • 614999811f Make savebuff also do it's thing without KeepBuffer enabled psychon 2009-02-17 16:56:46 +00:00
  • 70b60aa451 Some cleanup to CFile psychon 2009-02-17 15:29:06 +00:00
  • 77e4ce400f Calculate VERSION from VERSION_MAJOR and VERSION_MINOR psychon 2009-02-17 13:14:49 +00:00
  • 26fa234e05 Remove some completely unused code in Modules.cpp psychon 2009-02-16 17:36:52 +00:00
  • 0ad15ca2b1 Add sebastinas to the AUTHORS file psychon 2009-02-16 17:29:39 +00:00
  • 2c4d680cfd Import the admin module psychon 2009-02-16 17:26:46 +00:00
  • 77f1a0a52c Increase the version number to 0.065 psychon 2009-02-16 15:44:57 +00:00
  • 25d172037f Increase the version number to 0.064 znc-0.064 psychon 2009-02-16 15:42:22 +00:00
  • 5f60ce1906 webadmin: Dont force opening a seperate listening port if irc port sharing is on psychon 2009-02-06 16:47:16 +00:00
  • 8b15351aa2 HTTPSock: Don't transfer endless static files in PrintFile() psychon 2009-02-05 17:11:45 +00:00
  • 8177a609d2 Make webadmin's debug output for ETags more readable psychon 2009-02-05 15:33:48 +00:00
  • 35458af905 Make some functions in CHTTPSock pure virtual where it makes sense psychon 2009-02-04 16:29:06 +00:00
  • 0ac3466f75 CBuffer: If the allowed buffer size is lowered, shrink the buffer psychon 2009-02-04 15:47:36 +00:00
  • 4dd8802bf9 shell: Use CString::Replace() -.- psychon 2009-02-03 19:43:35 +00:00
  • c7a98e7ec8 Make the shell module generate error messages if fork() or pipe() fail psychon 2009-02-03 19:42:40 +00:00
  • 607bb4e1ce Make webadmin handle HTTP requests to the IRC port psychon 2009-02-03 19:08:15 +00:00
  • ba5610654b Improve the error messages we give for failed connect attempts... again psychon 2009-02-03 18:21:33 +00:00
  • b17bfe7922 Make CFile::ReadFile() actually honour the max file size we give it psychon 2009-02-03 18:18:05 +00:00
  • d3392e7f50 Remove this unused definition of strcasestr() psychon 2009-02-03 18:15:56 +00:00
  • 649dca204f HTTPSock: Use TrimLeft() instead of a combination of Left() and LeftChomp() psychon 2009-02-02 15:24:48 +00:00
  • cd88623cbe Use find() instead of walking strings 'by hand' in IsValidHostName psychon 2009-02-02 15:23:03 +00:00
  • 422ab3288e Make CExecSock generate error messages if execvp() fails to find sh psychon 2009-02-02 15:20:44 +00:00
  • a6995ba59a Remove that useless and more or less unused enum for open() modes psychon 2009-02-02 15:03:32 +00:00
  • aba7ae9973 Remove CNick::Concat which isn't used anywhere psychon 2009-02-02 14:55:45 +00:00
  • 3f00b9ef60 Just. Do. Not. Ask. psychon 2009-01-29 19:59:02 +00:00
  • ed43e95216 Change the names of all the module entry points to be more ZNC specific psychon 2009-01-29 19:39:21 +00:00
  • 0f0463510c Some fixes to modperl, most notable no with time increasing memory usage psychon 2009-01-29 19:11:53 +00:00
  • 9a8fbdb6e0 Just ignore this psychon 2009-01-29 15:41:38 +00:00
  • f7825e0016 Make CFile::IsDir() work on those weird OS that don't like trailing slashes psychon 2009-01-29 15:39:26 +00:00
  • e6ede6decb Use O_BINARY when opening files if it is available psychon 2009-01-28 09:55:32 +00:00
  • 3ed2b755a3 CFile::TryExLock(): Add O_CREAT to the default parameters psychon 2009-01-27 19:56:05 +00:00
  • 7ef9f76bb0 Open the ISpoofFile with mode 'O_RDWR|O_CREAT' instead of '(int)true' psychon 2009-01-27 19:54:38 +00:00
  • 432a04e545 Add the necessary makefile magic for compiling on cygwin psychon 2009-01-26 19:57:34 +00:00
  • 177a5d24db Include Utils.h in less headers and move some code out of the header psychon 2009-01-25 20:07:14 +00:00
  • 235b10c200 Use that new define everywhere psychon 2009-01-25 16:51:54 +00:00
  • 8d8bbb0920 Add a DEBUG() define which can be used for outputting debug info psychon 2009-01-25 16:50:40 +00:00
  • 136a62707b savebuff: substr() could throw an exception, use Left() instead psychon 2009-01-25 15:33:47 +00:00