Commit Graph

  • 44661c2d31 Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds. cflakes 2010-01-18 19:52:16 +00:00
  • 911e778357 Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds. cflakes 2010-01-18 19:52:16 +00:00
  • 278e8e9464 Add some doxygen comments psychon 2010-01-17 12:25:17 +00:00
  • 202029d51f Add some doxygen comments psychon 2010-01-17 12:25:17 +00:00
  • 5352cb3ded Use RTLD_GLOBAL for opening modules psychon 2010-01-15 22:49:17 +00:00
  • 6aad406387 Use RTLD_GLOBAL for opening modules psychon 2010-01-15 22:49:17 +00:00
  • ebbc126b72 cleanup some, and aggregate common code imaginos 2010-01-15 20:19:02 +00:00
  • 1acbdd5b91 cleanup some, and aggregate common code imaginos 2010-01-15 20:19:02 +00:00
  • ca1e8d43c3 added workaround for a canonical name that points to ipv6 and ipv4 ip's, the ipv6 ip is tried first, followed up by a final try on ipv4 in the event the ipv6 connect results in a network unreachable. I wonder what this will break ... imaginos 2010-01-15 19:45:58 +00:00
  • baeb2a666e added workaround for a canonical name that points to ipv6 and ipv4 ip's, the ipv6 ip is tried first, followed up by a final try on ipv4 in the event the ipv6 connect results in a network unreachable. I wonder what this will break ... imaginos 2010-01-15 19:45:58 +00:00
  • 130805ae95 Added a Clone() method to CNick: cflakes 2010-01-14 11:16:48 +00:00
  • 4aaa804bea Added a Clone() method to CNick: cflakes 2010-01-14 11:16:48 +00:00
  • e566a53585 cleanup some crosseyed code imaginos 2010-01-12 20:46:52 +00:00
  • 443c523d1d cleanup some crosseyed code imaginos 2010-01-12 20:46:52 +00:00
  • f1515361fd added workaround for older c-ares version, implemented library init calls per KiNgMaR imaginos 2010-01-12 20:05:58 +00:00
  • 800cb23e2a added workaround for older c-ares version, implemented library init calls per KiNgMaR imaginos 2010-01-12 20:05:58 +00:00
  • 5ea1f8cc05 bring csocket changes up to date with win32 fixes provided by DGandalf, also forgot to implement ares_timeout imaginos 2010-01-12 18:51:31 +00:00
  • c9c773ef66 bring csocket changes up to date with win32 fixes provided by DGandalf, also forgot to implement ares_timeout imaginos 2010-01-12 18:51:31 +00:00
  • 25ef34398d Update to latest Csocket. A Thank You goes out to DGandalf for noticing a bug in Csocket's c-ares code and another one of course to Imaginos for promptly looking into and fixing this. The issue was that a timeout was being applied when c-ares really takes care of timeouts. cflakes 2010-01-12 00:28:24 +00:00
  • 5035ec4a72 Update to latest Csocket. A Thank You goes out to DGandalf for noticing a bug in Csocket's c-ares code and another one of course to Imaginos for promptly looking into and fixing this. The issue was that a timeout was being applied when c-ares really takes care of timeouts. cflakes 2010-01-12 00:28:24 +00:00
  • 207478d38b Update to the makeconf procedure... We now only ask for 9 common modules, instead of for all 20 or 30. cflakes 2010-01-11 12:49:00 +00:00
  • 68754d2781 Update to the makeconf procedure... We now only ask for 9 common modules, instead of for all 20 or 30. cflakes 2010-01-11 12:49:00 +00:00
  • 6b07726e9b Partly revert r1702 and introduce a new setting ServerThrottle. silverleo 2010-01-10 18:50:39 +00:00
  • c6b3e2507c Partly revert r1702 and introduce a new setting ServerThrottle. silverleo 2010-01-10 18:50:39 +00:00
  • 1b51f15d47 Switch to Csocket's c-ares code psychon 2010-01-10 13:20:20 +00:00
  • fc77edef08 Switch to Csocket's c-ares code psychon 2010-01-10 13:20:20 +00:00
  • d3a0a62f37 Remove svn:executable from modules/q.cpp psychon 2010-01-10 13:15:13 +00:00
  • 100af31cd7 Remove svn:executable from modules/q.cpp psychon 2010-01-10 13:15:13 +00:00
  • 752f19c96b Change ConnectDelay to be server specific and not global. silverleo 2010-01-10 12:32:34 +00:00
  • 3ef2b20e87 Change ConnectDelay to be server specific and not global. silverleo 2010-01-10 12:32:34 +00:00
  • e9e985e784 Importing the flooddetach module into the extra package. Psychon once wrote it for me. It detaches you from a chan if more than A messages are sent in B seconds, where A is 5 and B is 2 by default. You can change the numbers via the module's arguments or from IRC. The module will try to automatically re-attach you when the flood is over. cflakes 2010-01-10 12:04:08 +00:00
  • e43fbc1712 Importing the flooddetach module into the extra package. Psychon once wrote it for me. It detaches you from a chan if more than A messages are sent in B seconds, where A is 5 and B is 2 by default. You can change the numbers via the module's arguments or from IRC. The module will try to automatically re-attach you when the flood is over. cflakes 2010-01-10 12:04:08 +00:00
  • 1d413819d3 Importing the block_motd module into the extra module package. Psychon is probably its author since I grabbed it from here: http://people.znc.in/~psychon/znc/modules/, so thanks psychon! :> cflakes 2010-01-10 11:57:54 +00:00
  • b404fae21b Importing the block_motd module into the extra module package. Psychon is probably its author since I grabbed it from here: http://people.znc.in/~psychon/znc/modules/, so thanks psychon! :> cflakes 2010-01-10 11:57:54 +00:00
  • ec581a6317 Small update to extra/notify_connect: - Added a proper description - Fixed bracing style - Removed unneeded headers - Added client IP addresses to info messages. cflakes 2010-01-10 11:52:47 +00:00
  • d35fdb4b3d Small update to extra/notify_connect: - Added a proper description - Fixed bracing style - Removed unneeded headers - Added client IP addresses to info messages. cflakes 2010-01-10 11:52:47 +00:00
  • 543bc51f00 Replaced the "Another client authenticated as your user, use the 'ListClients' command to see all clients" message with a configurable module ("clientnotify"). This means that you can now: - turn off the message (it's even off by default until you load the module) - have the message sent to you as a notice instead of a privmsg - restrict messages to previously unseen client ip addresses only (no more spam on sucky connections) - be notified of disconnecting clients if you want to. cflakes 2010-01-10 11:47:56 +00:00
  • 4b9cc16cc3 Replaced the "Another client authenticated as your user, use the 'ListClients' command to see all clients" message with a configurable module ("clientnotify"). This means that you can now: - turn off the message (it's even off by default until you load the module) - have the message sent to you as a notice instead of a privmsg - restrict messages to previously unseen client ip addresses only (no more spam on sucky connections) - be notified of disconnecting clients if you want to. cflakes 2010-01-10 11:47:56 +00:00
  • fdb16bb170 Overhaul for the send_raw module in extra. Mostly done by zynox, big thanks for that. cflakes 2010-01-09 23:27:34 +00:00
  • 44e8a0ef42 Overhaul for the send_raw module in extra. Mostly done by zynox, big thanks for that. cflakes 2010-01-09 23:27:34 +00:00
  • 72b782d93e Move all of Timers.h into User.cpp psychon 2010-01-08 16:32:27 +00:00
  • 980b79e30f Move all of Timers.h into User.cpp psychon 2010-01-08 16:32:27 +00:00
  • 5ee25287dd Use znc-config to get --modlink in znc-buildmod psychon 2010-01-07 20:51:12 +00:00
  • 74ae59a12f Use znc-config to get --modlink in znc-buildmod psychon 2010-01-07 20:51:12 +00:00
  • 20f3ad920e Some random clean-up in CFile::Delete. My first commit. Yay! cflakes 2010-01-07 19:29:34 +00:00
  • 75cf92428f Some random clean-up in CFile::Delete. My first commit. Yay! cflakes 2010-01-07 19:29:34 +00:00
  • 07d7477dec It's 2010, where's my hoverboard? silverleo 2010-01-06 09:37:05 +00:00
  • 3ae8d389c6 It's 2010, where's my hoverboard? silverleo 2010-01-06 09:37:05 +00:00
  • 367fb49734 couple of additional tweaks, namely missing the last check on getpass imaginos 2010-01-06 05:37:35 +00:00
  • 34571a0c89 couple of additional tweaks, namely missing the last check on getpass imaginos 2010-01-06 05:37:35 +00:00
  • 12ce7f1c74 fix savebuff so its actually reading from disk again on first load. there appeared to be a change where the channels were not loaded before savebuff, so removed that timing dependancy. Also added lame default password to save onload failure. Finally removed the event emulation since I see there is buffextras module, and now savebuff is doing only what it should be doing ... saving the buffer to disk imaginos 2010-01-06 05:21:51 +00:00
  • ce1a2cafba fix savebuff so its actually reading from disk again on first load. there appeared to be a change where the channels were not loaded before savebuff, so removed that timing dependancy. Also added lame default password to save onload failure. Finally removed the event emulation since I see there is buffextras module, and now savebuff is doing only what it should be doing ... saving the buffer to disk imaginos 2010-01-06 05:21:51 +00:00
  • 44fb494d66 Remove the check for the include dir in znc-buildmod psychon 2010-01-05 21:35:16 +00:00
  • bea5ed53cb Remove the check for the include dir in znc-buildmod psychon 2010-01-05 21:35:16 +00:00
  • 985c096f6f znc-buildmod: Don't choke on spaces psychon 2010-01-05 21:23:58 +00:00
  • 00e7a502a6 znc-buildmod: Don't choke on spaces psychon 2010-01-05 21:23:58 +00:00
  • 890c84af38 znc-buildmod: Work on cygwin psychon 2010-01-05 21:20:53 +00:00
  • 521917efdb znc-buildmod: Work on cygwin psychon 2010-01-05 21:20:53 +00:00
  • 0f2a3b089b Query buffer: Include /me's psychon 2010-01-02 13:02:33 +00:00
  • 416cd2cfe8 Query buffer: Include /me's psychon 2010-01-02 13:02:33 +00:00
  • 5c28adf4ce User: Have correct save and dl path after Clone() psychon 2009-12-31 12:28:59 +00:00
  • a373ad10c0 User: Have correct save and dl path after Clone() psychon 2009-12-31 12:28:59 +00:00
  • c97370c7e0 Always null the interp var on load to prevent a possible crash on unload. silverleo 2009-12-19 21:43:33 +00:00
  • 2de77971c4 Always null the interp var on load to prevent a possible crash on unload. silverleo 2009-12-19 21:43:33 +00:00
  • e944c857ec Only allow admins to load the modtcl module The exception to this is if ZNC is compiled with -DMOD_MODTCL_ALLOW_EVERYONE DGandalf wanted this. silverleo 2009-12-19 19:15:07 +00:00
  • d55e5acbca Only allow admins to load the modtcl module The exception to this is if ZNC is compiled with -DMOD_MODTCL_ALLOW_EVERYONE DGandalf wanted this. silverleo 2009-12-19 19:15:07 +00:00
  • 6ce29e77f2 Update to latest Csocket psychon 2009-12-19 16:29:26 +00:00
  • 2a053a3ee3 Update to latest Csocket psychon 2009-12-19 16:29:26 +00:00
  • 195a06bc2e Minor spelling fix in partyline psychon 2009-12-19 16:18:27 +00:00
  • 434ddb9f35 Minor spelling fix in partyline psychon 2009-12-19 16:18:27 +00:00
  • 494a2cc869 Before restarting ZNC, do a clean shutdown psychon 2009-12-18 17:06:47 +00:00
  • ca3a1f2da5 Before restarting ZNC, do a clean shutdown psychon 2009-12-18 17:06:47 +00:00
  • b856ae9bf3 Don't try to catch SIGILL, SIGBUS or SIGSEGV psychon 2009-12-18 17:04:50 +00:00
  • c5e7913ed6 Don't try to catch SIGILL, SIGBUS or SIGSEGV psychon 2009-12-18 17:04:50 +00:00
  • d08829eecb Restart the CConnectUserTimer after a rehash psychon 2009-12-18 16:59:28 +00:00
  • ecbb1c57dd Restart the CConnectUserTimer after a rehash psychon 2009-12-18 16:59:28 +00:00
  • e7c78159f8 Increase the version number to 0.079 psychon 2009-12-18 16:09:35 +00:00
  • 9e0ea22efe Increase the version number to 0.079 psychon 2009-12-18 16:09:35 +00:00
  • f1945fdde4 Increase the version number to to 0.078 psychon 2009-12-18 16:06:15 +00:00
  • ed4c836934 Increase the version number to to 0.078 znc-0.078 psychon 2009-12-18 16:06:15 +00:00
  • 5944d55231 Don't accept only spaces for a quitmsg. Otherwise we would end in an unrecoverable config error on startup. silverleo 2009-12-15 18:50:47 +00:00
  • ad9bcdfbf9 Don't accept only spaces for a quitmsg. Otherwise we would end in an unrecoverable config error on startup. silverleo 2009-12-15 18:50:47 +00:00
  • 65394f611f Regenerate configure with newer autoconf psychon 2009-12-11 15:18:00 +00:00
  • 7ad7f2df14 Regenerate configure with newer autoconf psychon 2009-12-11 15:18:00 +00:00
  • 3fd82a600c Always use blocking DNS for resolving bind hosts psychon 2009-12-10 21:29:47 +00:00
  • 63d4456f59 Always use blocking DNS for resolving bind hosts psychon 2009-12-10 21:29:47 +00:00
  • 10fbcb92a2 Always prepend 'away :' to *all* away messages, not just the autoaway message. psychon 2009-12-02 18:16:19 +00:00
  • 540f867f9b Always prepend 'away :' to *all* away messages, not just the autoaway message. psychon 2009-12-02 18:16:19 +00:00
  • 88e5d664e5 Really check the return value of strftime() psychon 2009-11-30 18:16:16 +00:00
  • 5a08b7b7d6 Really check the return value of strftime() psychon 2009-11-30 18:16:16 +00:00
  • ec6964cb2c ISpoofFormat: Go through ExpandString() psychon 2009-11-29 15:17:39 +00:00
  • 0cde028bfb ISpoofFormat: Go through ExpandString() psychon 2009-11-29 15:17:39 +00:00
  • b0e59f1294 Fix a crash bug with auth modules psychon 2009-11-28 18:53:20 +00:00
  • 8114f27a5d Fix a crash bug with auth modules psychon 2009-11-28 18:53:20 +00:00
  • 13b1295119 Revert a commit from r1527 that made some PONG replies pass through to the client. silverleo 2009-11-24 13:06:25 +00:00
  • e2aba7587b Revert a commit from r1527 that made some PONG replies pass through to the client. silverleo 2009-11-24 13:06:25 +00:00
  • c2e87beb99 Document the signals psychon 2009-11-20 16:42:44 +00:00
  • e8c64c0df6 Document the signals psychon 2009-11-20 16:42:44 +00:00
  • c1ee724829 Rewrite znc.conf on SIGUSR1 psychon 2009-11-20 15:38:21 +00:00
  • caf295f07f Rewrite znc.conf on SIGUSR1 psychon 2009-11-20 15:38:21 +00:00