Commit Graph

  • c70d5da7f3 Remove some empty directory psychon 2010-05-13 13:51:58 +00:00
  • ed9d1993f9 Some love for the man page psychon 2010-05-10 20:16:04 +00:00
  • 0d8b146059 Some love for the man page psychon 2010-05-10 20:16:04 +00:00
  • b5e09d7c84 Notes: Add some missing returns psychon 2010-05-10 18:19:11 +00:00
  • 5c713f5d2d Notes: Add some missing returns psychon 2010-05-10 18:19:11 +00:00
  • e80bf15cb9 Add and use new config option "Listener" psychon 2010-05-10 17:45:15 +00:00
  • ea269948e4 Add and use new config option "Listener" psychon 2010-05-10 17:45:15 +00:00
  • fc62aaab4a Moved port/listener modifying *status commands to their own method (UserPortCommand). This removes some previous dupe code (HI BRIAN) and prepares for web only/IRC only port support. cflakes 2010-05-09 20:22:23 +00:00
  • b0bc22128e Moved port/listener modifying *status commands to their own method (UserPortCommand). This removes some previous dupe code (HI BRIAN) and prepares for web only/IRC only port support. cflakes 2010-05-09 20:22:23 +00:00
  • bd1af54f1c Charset module: - Added some comments - Fixed some places where iconv_close may have been called two times on the same handle which apparently crashed some implementations. Woops. Thanks to x-demon for noticing. cflakes 2010-05-09 20:13:19 +00:00
  • e9f8a06476 Charset module: - Added some comments - Fixed some places where iconv_close may have been called two times on the same handle which apparently crashed some implementations. Woops. Thanks to x-demon for noticing. cflakes 2010-05-09 20:13:19 +00:00
  • 08463bedac Make webadmin show whether a Listener/port accepts IRC and/or HTTP connections. cflakes 2010-05-09 19:08:41 +00:00
  • 5e58456c84 Make webadmin show whether a Listener/port accepts IRC and/or HTTP connections. cflakes 2010-05-09 19:08:41 +00:00
  • 6bc45bf80f Partly undo psychon's last commit in favor of just removing all the setter methods. Suggested by psychon himself. The second and more important part of this patch adds an optional web_only/irc_only token to the Listen config setting. Using this, you can make Listen ports listen for IRC or Web/HTTP connections only (or for both if you don't add any of the _only tokens). Examples: Listen = irc_only 3000 Listen4 = web_only +3001 Listen6 = ::1 6000 and so on. cflakes 2010-05-09 18:55:13 +00:00
  • dae195ebb0 Partly undo psychon's last commit in favor of just removing all the setter methods. Suggested by psychon himself. The second and more important part of this patch adds an optional web_only/irc_only token to the Listen config setting. Using this, you can make Listen ports listen for IRC or Web/HTTP connections only (or for both if you don't add any of the _only tokens). Examples: Listen = irc_only 3000 Listen4 = web_only +3001 Listen6 = ::1 6000 and so on. cflakes 2010-05-09 18:55:13 +00:00
  • f6716d08c7 CListener: Deny changes to settings after setup psychon 2010-05-09 18:27:11 +00:00
  • 4d7690cff9 CListener: Deny changes to settings after setup psychon 2010-05-09 18:27:11 +00:00
  • 53aeceb6bc Use a better error message for browsers connecting to IRC only listener ports. cflakes 2010-05-09 17:51:06 +00:00
  • 4947a6441f Use a better error message for browsers connecting to IRC only listener ports. cflakes 2010-05-09 17:51:06 +00:00
  • 3b9392a0b3 Fixed modtcl result fetching from the interpreter. Tcl 8.6 no longer supports accessing the result field directly, so we now use the public getter. silverleo 2010-05-09 17:24:02 +00:00
  • 8d432f29a3 Fixed modtcl result fetching from the interpreter. Tcl 8.6 no longer supports accessing the result field directly, so we now use the public getter. silverleo 2010-05-09 17:24:02 +00:00
  • e2c694c933 configure: Check earlier for dlopen() psychon 2010-05-04 19:27:58 +00:00
  • 8c2ee6cf82 configure: Check earlier for dlopen() psychon 2010-05-04 19:27:58 +00:00
  • ee66aca77b Some debug output less psychon 2010-05-03 17:53:47 +00:00
  • 83bedc10b0 Some debug output less psychon 2010-05-03 17:53:47 +00:00
  • 3b6205979e WebMods: Calculate the module's web path correctly psychon 2010-05-03 13:49:45 +00:00
  • dd8dabdfd1 WebMods: Calculate the module's web path correctly psychon 2010-05-03 13:49:45 +00:00
  • 99f1efc843 Some more fun with tabs psychon 2010-05-02 08:36:57 +00:00
  • 5631a20499 Some more fun with tabs psychon 2010-05-02 08:36:57 +00:00
  • 6b3f8929c7 Some more tabs and cleanup psychon 2010-05-01 20:36:42 +00:00
  • 00d0a1f01a Some more tabs and cleanup psychon 2010-05-01 20:36:42 +00:00
  • 3faf0adf90 Some more tabs gone psychon 2010-05-01 20:26:30 +00:00
  • 586ed9802e Some more tabs gone psychon 2010-05-01 20:26:30 +00:00
  • f2d7ae1a08 Change a bunch of tabs into spaces psychon 2010-05-01 20:15:01 +00:00
  • eee34d359b Change a bunch of tabs into spaces psychon 2010-05-01 20:15:01 +00:00
  • 837f1f62a8 Refuse harder and print a debug warning in case some bad code tries to write invalid lines to the config file. Patch by DGandalf, thanks. cflakes 2010-05-01 18:47:52 +00:00
  • 729299eb67 Refuse harder and print a debug warning in case some bad code tries to write invalid lines to the config file. Patch by DGandalf, thanks. cflakes 2010-05-01 18:47:52 +00:00
  • bb567c51de We now trim all leading and trailing spaces from parameter values passed into webadmin/webmods. This makes sense in almost every case, be it that users accidentally hit the space bar or try to outsmart ZNC by entering nothing but spaces into a textbox. By doing the latter, it was possible to trick ZNC into not starting up again. Thanks to Redirect_ for bringing this to our attention. Another commit that will fix the underlying problem while writing to the config file will follow. cflakes 2010-05-01 18:36:05 +00:00
  • 6fbba375b8 We now trim all leading and trailing spaces from parameter values passed into webadmin/webmods. This makes sense in almost every case, be it that users accidentally hit the space bar or try to outsmart ZNC by entering nothing but spaces into a textbox. By doing the latter, it was possible to trick ZNC into not starting up again. Thanks to Redirect_ for bringing this to our attention. Another commit that will fix the underlying problem while writing to the config file will follow. cflakes 2010-05-01 18:36:05 +00:00
  • 084988a307 Add and use CListener::AcceptType psychon 2010-05-01 14:33:15 +00:00
  • cc6e59eacf Add and use CListener::AcceptType psychon 2010-05-01 14:33:15 +00:00
  • ca394439ec Removed an unnecessary admin check from the new traffic page. Sorry for not noticing this earlier :( cflakes 2010-05-01 12:07:23 +00:00
  • f1285bb52e Removed an unnecessary admin check from the new traffic page. Sorry for not noticing this earlier :( cflakes 2010-05-01 12:07:23 +00:00
  • af0dd16d1d Added a "Traffic Info" page to webadmin. 99% of the patch have been done by BrianC, so thanks again. cflakes 2010-05-01 12:04:44 +00:00
  • 895f077084 Added a "Traffic Info" page to webadmin. 99% of the patch have been done by BrianC, so thanks again. cflakes 2010-05-01 12:04:44 +00:00
  • a836dcd778 Add an alias for discon_kick psychon 2010-05-01 11:36:42 +00:00
  • 8698349134 Add an alias for discon_kick psychon 2010-05-01 11:36:42 +00:00
  • 82129aa2b5 MOTD: Use ExpandString() psychon 2010-04-30 18:15:50 +00:00
  • 0a9d2391dd MOTD: Use ExpandString() psychon 2010-04-30 18:15:50 +00:00
  • 20c79083de Don't use "ip:port" but "ip port" for display purposes psychon 2010-04-30 10:50:33 +00:00
  • 94afb82089 Don't use "ip:port" but "ip port" for display purposes psychon 2010-04-30 10:50:33 +00:00
  • cb5206b230 Properly fixed the last commit. Stupid CTemplate. Stupid me. cflakes 2010-04-29 20:00:03 +00:00
  • 9d9c9b78b2 Properly fixed the last commit. Stupid CTemplate. Stupid me. cflakes 2010-04-29 20:00:03 +00:00
  • bed30e9eb6 Fixed a possible segfault with empty loops in CTemplate introduced AND identified by BrianC. cflakes 2010-04-29 19:53:03 +00:00
  • c475d6ec10 Fixed a possible segfault with empty loops in CTemplate introduced AND identified by BrianC. cflakes 2010-04-29 19:53:03 +00:00
  • 7d7106748e disconkick module: Only send a kick to channels that the client is actually joined to, avoid massive kick spam when re-connecting repeatedly and rapidly fails. cflakes 2010-04-29 10:31:47 +00:00
  • ee78daedd8 disconkick module: Only send a kick to channels that the client is actually joined to, avoid massive kick spam when re-connecting repeatedly and rapidly fails. cflakes 2010-04-29 10:31:47 +00:00
  • 364ad3e4fb Fix revision 1949... the SORT thing obviously needs to go into <?LOOP?> and not <?IF?> OH HAI BRIAN cflakes 2010-04-28 23:16:00 +00:00
  • 21eeacad6a Fix revision 1949... the SORT thing obviously needs to go into <?LOOP?> and not <?IF?> OH HAI BRIAN cflakes 2010-04-28 23:16:00 +00:00
  • d72fc441d2 Added some more flags to the "summary" that configure prints at the end. cflakes 2010-04-28 23:01:18 +00:00
  • b165d66a36 Added some more flags to the "summary" that configure prints at the end. cflakes 2010-04-28 23:01:18 +00:00
  • 73c6a32742 Another patch by BrianC, building upon the previous revision, this uses the new sort feature to sort channel tables in stickychan's and webadmin's channel tables and webadmin's user table, also the module names in the menu. Hooray! cflakes 2010-04-28 22:00:26 +00:00
  • 65f3478469 Another patch by BrianC, building upon the previous revision, this uses the new sort feature to sort channel tables in stickychan's and webadmin's channel tables and webadmin's user table, also the module names in the menu. Hooray! cflakes 2010-04-28 22:00:26 +00:00
  • b1da11f102 Added the ability to sort template loop data based on a key. e.g. <? LOOP name SORTASC=key ?> or <? LOOP name SORTDESC=key ?> cflakes 2010-04-28 21:34:09 +00:00
  • db8872523a Added the ability to sort template loop data based on a key. e.g. <? LOOP name SORTASC=key ?> or <? LOOP name SORTDESC=key ?> cflakes 2010-04-28 21:34:09 +00:00
  • dee94a0bb8 Added the necessary checks for (lib)iconv in order to enable the charset module from extra to do its thing. This has been a pain in the ass and I'd like to thank psychon who made most of the autofoo happen and BrianC for finding out that BSD sucks and for testing! Yay! cflakes 2010-04-27 15:40:24 +00:00
  • af15b96fb3 Added the necessary checks for (lib)iconv in order to enable the charset module from extra to do its thing. This has been a pain in the ass and I'd like to thank psychon who made most of the autofoo happen and BrianC for finding out that BSD sucks and for testing! Yay! cflakes 2010-04-27 15:40:24 +00:00
  • 5f1a1d0153 Outsmart autoconf psychon 2010-04-27 15:30:50 +00:00
  • 0c00623a09 Outsmart autoconf psychon 2010-04-27 15:30:50 +00:00
  • 4f55857434 WebMods: Moved some shared/common CSS things into a global.css file that all skins (should) embed. cflakes 2010-04-26 16:39:11 +00:00
  • a9c983da25 WebMods: Moved some shared/common CSS things into a global.css file that all skins (should) embed. cflakes 2010-04-26 16:39:11 +00:00
  • 136ce32f85 Fixed some weird code in webadmin.cpp that prevented module arguments from showing up with the new GetParam(). cflakes 2010-04-25 21:58:56 +00:00
  • 7d450509ed Fixed some weird code in webadmin.cpp that prevented module arguments from showing up with the new GetParam(). cflakes 2010-04-25 21:58:56 +00:00
  • 08d1d248e2 BrianC totally pimped the del_user page. "Yo ZNC, we heard you like deleting users so we put a delete button in your delete user page so you can delete while you delete." cflakes 2010-04-25 21:49:07 +00:00
  • adf6dbd75f BrianC totally pimped the del_user page. "Yo ZNC, we heard you like deleting users so we put a delete button in your delete user page so you can delete while you delete." cflakes 2010-04-25 21:49:07 +00:00
  • 4274bdc5d1 Add the cool charset module to "extra". It normalizes character sets, so if your client sends e.g. ISO-8859-1, and users on your IRC server want UTF-8, this module can help you. Or, the other way around, if users on your IRC server send messages with weird charsets that your client doesn't understand, this module can convert them to UTF-8 or something for you (as long as you know the names of the source charsets, at least). More explanation will be added to the wiki shortly. cflakes 2010-04-25 21:45:13 +00:00
  • 8ab18c358a Add the cool charset module to "extra". It normalizes character sets, so if your client sends e.g. ISO-8859-1, and users on your IRC server want UTF-8, this module can help you. Or, the other way around, if users on your IRC server send messages with weird charsets that your client doesn't understand, this module can convert them to UTF-8 or something for you (as long as you know the names of the source charsets, at least). More explanation will be added to the wiki shortly. cflakes 2010-04-25 21:45:13 +00:00
  • fb8b8e4258 Fixed lastseen template to reflect the new user deletion confirmation page. cflakes 2010-04-25 20:43:23 +00:00
  • ba0a25ce46 Fixed lastseen template to reflect the new user deletion confirmation page. cflakes 2010-04-25 20:43:23 +00:00
  • 50451bec2f Fixed GetParam call in the notes module. cflakes 2010-04-25 20:37:24 +00:00
  • b7601d3119 Fixed GetParam call in the notes module. cflakes 2010-04-25 20:37:24 +00:00
  • e8791a85ec Make del_user page look nicer. cflakes 2010-04-25 20:36:42 +00:00
  • ccad15f8f9 Make del_user page look nicer. cflakes 2010-04-25 20:36:42 +00:00
  • db9a9bfaa9 Adjusted the GetParam calls in webadmin. cflakes 2010-04-25 20:33:03 +00:00
  • 0aacfdf83c Adjusted the GetParam calls in webadmin. cflakes 2010-04-25 20:33:03 +00:00
  • 2e6881c378 Webadmin: Use a dedicated page for confirming user deletes psychon 2010-04-25 14:46:45 +00:00
  • 0b6a69d1d4 Webadmin: Use a dedicated page for confirming user deletes psychon 2010-04-25 14:46:45 +00:00
  • 9c5068a754 WebMods: Fix cookie check and menu entry variables to use the new GetParam methods. cflakes 2010-04-25 14:45:22 +00:00
  • 316277132a WebMods: Fix cookie check and menu entry variables to use the new GetParam methods. cflakes 2010-04-25 14:45:22 +00:00
  • 54073d1147 HTTPSock: Split up parameter access psychon 2010-04-25 14:09:23 +00:00
  • 0a99a9f404 HTTPSock: Split up parameter access psychon 2010-04-25 14:09:23 +00:00
  • 68c4931e2d WebMods: Delete obsolete login.tpl template. The login form has been on / and /help and so on for some months. cflakes 2010-04-25 13:52:19 +00:00
  • 70d8919835 WebMods: Delete obsolete login.tpl template. The login form has been on / and /help and so on for some months. cflakes 2010-04-25 13:52:19 +00:00
  • 298d7f0997 WebMods: Following the last commit, this adds the CSRF check token to existing action="post" forms. Right now, we don't have much of a real protection against CSRF yet, but psychon is working on making that happen :) cflakes 2010-04-25 13:35:06 +00:00
  • da954bb4a6 WebMods: Following the last commit, this adds the CSRF check token to existing action="post" forms. Right now, we don't have much of a real protection against CSRF yet, but psychon is working on making that happen :) cflakes 2010-04-25 13:35:06 +00:00
  • b0d140e2ed Webmods: Only accept POST requests with a secret parameter psychon 2010-04-25 13:04:51 +00:00
  • 16a55d09df Webmods: Only accept POST requests with a secret parameter psychon 2010-04-25 13:04:51 +00:00
  • eaaddf01bb Webmods: Only accept "/login" psychon 2010-04-25 12:52:03 +00:00
  • cdf97a5b91 Webmods: Only accept "/login" psychon 2010-04-25 12:52:03 +00:00
  • 635fb4bc00 Update to latest Csocket psychon 2010-04-25 11:17:42 +00:00