Commit Graph

  • f4e36a0b17 Enable IPv6 support by default silverleo 2008-11-20 11:45:51 +00:00
  • 62b57965cd This fixes a compile error with gcc 4.4 noted in debian bug report #504946 silverleo 2008-11-11 09:44:14 +00:00
  • be72295337 Fix --disable-modules, someone forgot an #ifdef :( psychon 2008-10-31 19:10:51 +00:00
  • a10acfeddc Seems like someone messed up when touching configure.in, fix psychon 2008-10-30 17:11:55 +00:00
  • db21f88584 Rename OnUserAttached and OnUserDetached and add OnClientConnect psychon 2008-10-29 17:26:30 +00:00
  • e85ed684ea Some member vars of CWebAdminMod should really be local vars to OnLoad() psychon 2008-10-28 17:21:53 +00:00
  • dfaa0c34fc Fix the behaviour change of the last commit psychon 2008-10-27 19:34:03 +00:00
  • b312a64c9d Partyline: clean up when a force-joined user is deleted psychon 2008-10-27 19:21:08 +00:00
  • 94f6e2cf79 Change OnStatusCommand to use non-const variable like most of the EModRet modulecalls silverleo 2008-10-26 19:47:17 +00:00
  • 1701b39399 modperl: Show the actual compiler flags and get rid of the warnings psychon 2008-10-26 18:58:13 +00:00
  • d57f706523 Make schat's showsocks module admin-only psychon 2008-10-24 17:12:06 +00:00
  • 680127165a Improve webadmin's error messages psychon 2008-10-23 15:20:09 +00:00
  • 90cf81e686 Make ZNC compile on Mac OS out of the box psychon 2008-10-22 19:40:51 +00:00
  • ecd50392ab Support out-of-tree builds psychon 2008-10-21 17:41:52 +00:00
  • ce31b29b68 Some changes to the vhost interface from *status psychon 2008-10-20 13:00:54 +00:00
  • fa2a9819d0 Add znc-config --cxx and use it in znc-buildmod psychon 2008-10-19 16:31:26 +00:00
  • b94e784301 Really use relative URLs in webadmin psychon 2008-10-18 12:51:25 +00:00
  • aca6783f6f Use relative instead of absolute URLs in webadmin psychon 2008-10-17 16:27:18 +00:00
  • f8462bffdd Fix webadmin to work with symlinks in the skins directory. psychon 2008-10-16 18:11:18 +00:00
  • 9c4a5a1d90 Some tweaking and cleaning up to configure.in psychon 2008-10-15 18:36:08 +00:00
  • 133c8fcb8a nickserv: Auto-save passwords when they are set and remove the 'show' command psychon 2008-10-14 17:28:10 +00:00
  • 2216c93e40 Catch 'throw UNLOAD' in the OnBoot module hook psychon 2008-10-13 18:53:43 +00:00
  • 90ecce7880 Make httpsock (and thus webadmin) support client side caching of static files psychon 2008-10-12 15:49:03 +00:00
  • 2db68c519b Rewritten and enhanced module simple_away. kroimon 2008-10-12 12:09:35 +00:00
  • 4bd90ab9df Make --makeconf check for znc.pem and generate it if it's missing psychon 2008-10-11 15:43:30 +00:00
  • 0a4e4a10a6 Use the new CString constructor in various places to make them more readable psychon 2008-10-10 17:58:36 +00:00
  • 88a993a63a Add recognition for 'y' and 'n' to CUtils::GetBoolInput. Only 'yes'/'no' was possible before. This commit also fixes a possible stack overflow because of recursion. kroimon 2008-10-10 15:45:20 +00:00
  • f6efc88868 Add some new constructors to CString psychon 2008-10-09 17:11:06 +00:00
  • 47099a9d88 perform: Clean up the style a little and make this look like the rest of znc psychon 2008-10-08 16:04:08 +00:00
  • 2573b6408e Mark some global vars as const and static and some static local vars as const psychon 2008-10-07 13:45:34 +00:00
  • 92a718e3a6 Use CSocket in webadmin instead of directly using Csock psychon 2008-10-04 20:55:50 +00:00
  • 4aa01bcb71 Fix modperl to properly compile with perl 5.10.0 psychon 2008-10-03 18:07:22 +00:00
  • f81177b102 Fix stickychan to work with disabled channels (e.g. after a kick) psychon 2008-10-03 12:53:39 +00:00
  • 497697dd3b Fix a crash bug when modperl was loaded on some arches psychon 2008-10-02 16:26:09 +00:00
  • 92bb399253 Fix cached perms when a chan is left psychon 2008-10-02 15:21:06 +00:00
  • 02e4d35085 Clean up modules/Makefile.in for modperl psychon 2008-09-30 18:07:25 +00:00
  • 5237a24747 Use CString::Equals() everywhere. kroimon 2008-09-30 15:15:59 +00:00
  • 18ce52e32d Limit the maximal read buffer space that is used for every socket psychon 2008-09-30 14:43:51 +00:00
  • f40b3e78d7 Added CString::Equals() This new function can be used to replace the old (CaseCmp() == 0) statements. kroimon 2008-09-30 12:58:34 +00:00
  • 195681d7d7 Added length argument to CString::StrCmp() like in CString::CaseCmp() kroimon 2008-09-30 12:57:10 +00:00
  • 273d72c605 Add a Clear() function to CTable and make the base class protected psychon 2008-09-29 14:46:06 +00:00
  • 3014ae5dcb Remove CSocket::m_sLabel since it isn't really used at all psychon 2008-09-29 13:34:42 +00:00
  • 051e1f81d8 Enhanced the /znc command to optionally accept commands. kroimon 2008-09-29 13:33:15 +00:00
  • 8c2fc5180e Removed redundant checks for m_pUser in CClient::UserCommand() One check in line 19 should be enough. See also rev 1220. kroimon 2008-09-28 19:46:12 +00:00
  • b757a318f1 Introduced CString::TrimPrefix() and CString::CaseCmp() for parsing targets. Dropped all occurences of strncasecmp() and simplified the detection of messages targeting modules. kroimon 2008-09-28 19:30:20 +00:00
  • 583b91f719 Update to latest Csocket psychon 2008-09-28 17:17:46 +00:00
  • e693acaa66 Added CString::TrimPrefix() and CString::TrimSuffix() These functions remove prefix/suffix strings if possible. kroimon 2008-09-28 16:59:28 +00:00
  • 038961359e Print warnings in CTable if you feed it with unknown columns psychon 2008-09-28 16:55:27 +00:00
  • fd92e65b70 Add CClient::PutStatus(const CTable&) and use it everywhere psychon 2008-09-28 12:05:49 +00:00
  • d6c34d2441 Fixed the CALLMOD macro in Client.cpp Simple copy&paste error kroimon 2008-09-28 11:53:30 +00:00
  • cc00aa23c2 Removed thousands of redundant checks for m_pUser in CClient::ReadLine(). We already checked for it on line 144 which should be enough. kroimon 2008-09-28 01:03:06 +00:00
  • 3b8134c3b0 Another whitespace/tab mixup fix. Hopefully the last one... Again, no functional changes in this commit. kroimon 2008-09-27 14:42:34 +00:00
  • 1eaac2835b Renamed UseHiddenHost to UseCloakedHost to ensure consistency. Thanks to fred for noticing this. kroimon 2008-09-27 12:24:01 +00:00
  • 946add25c2 Added the Q module which allows the user to auth with QuakeNet's Q bot. kroimon 2008-09-27 09:52:00 +00:00
  • c5ce187e0f Added descriptive lines to the LISTMODS and LISTAVAILMODS commands. Also did a few minor style changes. kroimon 2008-09-26 12:52:07 +00:00
  • 6766b32e1b Fixed some trailing whitespace / tab mixups and adjusted MD5.cpp to our coding guidelines. This commit includes absolutely no changes in functionality, only pure cleanup. kroimon 2008-09-26 12:51:36 +00:00
  • 83dc2d9bd3 Set the client's nick name to our IRC nick when it connects to ZNC psychon 2008-09-21 12:54:10 +00:00
  • 0e403e318e Small optimization to starting the connect user timer psychon 2008-09-21 12:51:43 +00:00
  • 9e68cd3558 Fix compilation with gcc 4.3.1 is ssl is disabled psychon 2008-09-21 08:02:15 +00:00
  • f1e6a41d83 Ignore messages to ourself when being disconnected from IRC. This suppresses "Your message to [yournick] got lost,..." messages when lagbars try to send notices to their own nick but ZNC is disconnected from IRC. kroimon 2008-09-20 16:00:26 +00:00
  • 120c1cedf2 Import the dark-clouds webadmin skin bigpresh made. Thanks :) psychon 2008-09-19 17:24:38 +00:00
  • cad1ee5367 Keepnick: Dont forward nick change errors which we generated ourselves psychon 2008-09-18 19:58:53 +00:00
  • d4cd83fdf3 autoconf and m4 both suck (autoconf choked on some comma and messed up badly after that) psychon 2008-09-18 18:16:49 +00:00
  • 3866bdd9f7 Revert rev 1204 psychon 2008-09-18 17:52:10 +00:00
  • 29dab181df Add --disable-optimization flag to configure to remove -O2 psychon 2008-09-16 13:33:19 +00:00
  • debe3ec335 Makefile: Make all output files depend on the Makefile itself psychon 2008-09-14 17:57:15 +00:00
  • 69a429bca0 Reorder some openssl library checks in configure psychon 2008-09-14 14:07:14 +00:00
  • 258793168b Bugfix in keepnick: PutUser() vs PutModule() screwup psychon 2008-09-14 06:05:23 +00:00
  • 57f4288c00 Renamed String.h and String.cpp to ZNCString.h and ZNCString.cpp and updated all references to these files. kroimon 2008-09-13 16:38:41 +00:00
  • 613c87a46e Increase the version number to 0.061 psychon 2008-09-13 15:46:29 +00:00
  • 8ab24030bc Increase the version number to 0.060 znc-0.060 psychon 2008-09-13 15:41:25 +00:00
  • 87a368cb64 Improve both, the code's and the debug output's easy-to-readyiness psychon 2008-09-12 15:41:12 +00:00
  • 6ded64a177 Print a message when SIGHUP is caught psychon 2008-09-12 15:35:46 +00:00
  • 92fb0ac62f Small cleanup, removed two unused variables psychon 2008-09-12 12:55:03 +00:00
  • b14156a5db partyline: Adjusted the hostmask for actions from rottenboy.com to znc.in to ensure uniformity to the rest of znc. See also commit 1181. kroimon 2008-09-10 14:24:07 +00:00
  • 83ff385000 Fix '/msg *status disconnect' to *really* disconnect from IRC psychon 2008-09-09 15:54:34 +00:00
  • 85845556cd Make ./configure --help output look a little better psychon 2008-09-07 16:25:11 +00:00
  • fa57b9eb54 Added module 'autocycle' to replace the old core's functionality. Credits to both psychon and kroimon kroimon 2008-09-07 11:50:43 +00:00
  • d1b3c2b94d Removed AutoCycle from core kroimon 2008-09-07 11:23:57 +00:00
  • df27598832 chansaver: Save channel keys (+k) again, core doesn't do it anymore on its own psychon 2008-09-05 19:46:43 +00:00
  • 219ae6a572 Add new module call OnMode() psychon 2008-09-04 10:28:19 +00:00
  • 57bdb554a9 I was told this is confusing, so let's clean this up (/me waves at eTeen) psychon 2008-09-03 16:24:08 +00:00
  • 85a70a418c Add JoinTries and MaxJoins config options to webadmin psychon 2008-09-03 14:28:18 +00:00
  • fe44108d90 Fix some channel key-related mess ups. psychon 2008-09-02 17:25:37 +00:00
  • 0316c6a1df Add OnUserTopicRequest() for topic requests psychon 2008-09-02 12:39:18 +00:00
  • 41fce82fc8 Added myself ;) kroimon 2008-08-31 18:01:44 +00:00
  • 00fcf767a7 Keep the traffic stats more up-to-date (/msg *status traffic) psychon 2008-08-31 07:21:21 +00:00
  • 5fa8d03d2b Handle clients in CModules the same way users are psychon 2008-08-30 19:46:28 +00:00
  • 02beef2e07 Use znc.in instead of znc.com psychon 2008-08-30 09:00:21 +00:00
  • 687d7ae894 Close listening ports if we have too many open fds psychon 2008-08-30 08:35:11 +00:00
  • 69f44c35a0 Update to latest Csocket psychon 2008-08-29 18:59:05 +00:00
  • d4cd78a43b Instead of (ab)using a CClient for listening, use an own class this job psychon 2008-08-29 18:51:08 +00:00
  • da8c892d4f Add a config option 'MaxJoins' to limit the number of joins ZNC does at once psychon 2008-08-29 15:06:08 +00:00
  • 5c588352d9 WriteToDisk() didn't make sure the file was empty when its map was empty psychon 2008-08-28 18:50:42 +00:00
  • 55c1232e5e Add a 'ShowMOTD' command to *status and reorder 'HELP' output psychon 2008-08-28 10:47:01 +00:00
  • 3325f450c7 Add '/msg *status restart' psychon 2008-08-27 14:44:04 +00:00
  • cc5c771699 Some changes to CZNC::WriteNewConfig (znc --makeconf) psychon 2008-08-26 13:54:17 +00:00
  • 7c45658993 Add some proper cleanup to some places in main() psychon 2008-08-25 14:46:22 +00:00
  • 971aa39e10 Don't start a new process for starting znc after --makeconf psychon 2008-08-25 14:42:11 +00:00
  • 840d1ba15a Move some code around psychon 2008-08-25 14:39:06 +00:00