Commit Graph

  • 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
  • 00b67361cb Update to latest Csocket psychon 2010-04-25 11:17:42 +00:00
  • e2b91a32c9 Move some common pid file code into new InitPidFile() psychon 2010-04-24 08:34:33 +00:00
  • 5018851fdd Move some common pid file code into new InitPidFile() psychon 2010-04-24 08:34:33 +00:00
  • 0f6c1f9e16 Look, an invisible pink unicorn! psychon 2010-04-23 16:38:03 +00:00
  • 1148cd9a29 Look, an invisible pink unicorn! psychon 2010-04-23 16:38:03 +00:00
  • fe6a930a01 Add ./configure --enable-run-from-source psychon 2010-04-23 16:27:21 +00:00
  • 6dc5d7e0a9 Add ./configure --enable-run-from-source psychon 2010-04-23 16:27:21 +00:00
  • 16ad0950ea Add support for an optional user-specified quit message to the DISCONNECT command that would be used instead of the message specified in the config file. Patch by reed! Thanks! cflakes 2010-04-23 09:09:07 +00:00
  • fd2677611a Add support for an optional user-specified quit message to the DISCONNECT command that would be used instead of the message specified in the config file. Patch by reed! Thanks! cflakes 2010-04-23 09:09:07 +00:00
  • 46b70f654d Move the HTTP/IRC switching to CIncomingConnection psychon 2010-04-15 18:20:12 +00:00
  • 6824e3e269 Move the HTTP/IRC switching to CIncomingConnection psychon 2010-04-15 18:20:12 +00:00
  • eb44919005 Move CListener and CRealListener into their own files psychon 2010-04-15 16:52:30 +00:00
  • ab849bb922 Move CListener and CRealListener into their own files psychon 2010-04-15 16:52:30 +00:00
  • 92cce35f90 Move discon_kick, blockuser and lastseen out of extra/ psychon 2010-04-15 15:52:50 +00:00
  • fe7fb71fa1 Move discon_kick, blockuser and lastseen out of extra/ psychon 2010-04-15 15:52:50 +00:00
  • a489a3f8ff Move imapauth and email to extra/, remove webchat psychon 2010-04-15 15:36:50 +00:00
  • 3025196759 Move imapauth and email to extra/, remove webchat psychon 2010-04-15 15:36:50 +00:00
  • 62a46f6fca Cleanup: Remove unused/dead "WebLogoutCounters" code from User.h. cflakes 2010-04-15 14:58:00 +00:00
  • 8131ec6dd4 Cleanup: Remove unused/dead "WebLogoutCounters" code from User.h. cflakes 2010-04-15 14:58:00 +00:00
  • fcdaa4b308 Remove some superfluous WebRequiresLogin and WebRequiresAdmin implementations from modules. Thanks to psychon for noticing. cflakes 2010-04-15 14:56:44 +00:00
  • 2993b6ad2e Remove some superfluous WebRequiresLogin and WebRequiresAdmin implementations from modules. Thanks to psychon for noticing. cflakes 2010-04-15 14:56:44 +00:00
  • 3225e8fbdf Move the dangerous shell module to "extra". cflakes 2010-04-15 14:46:14 +00:00
  • 4d51601552 Move the dangerous shell module to "extra". cflakes 2010-04-15 14:46:14 +00:00
  • 057da383ea Web-enabled the stickychan module. You can now stick+unstick channels from the web. cflakes 2010-04-15 14:10:56 +00:00
  • b2817cf9bc Web-enabled the stickychan module. You can now stick+unstick channels from the web. cflakes 2010-04-15 14:10:56 +00:00