Commit Graph

  • 505bdd1e78 Entirely my fault, sorry :( psychon 2010-04-01 08:41:57 +00:00
  • 7285bb9cc7 Entirely my fault, sorry :( psychon 2010-04-01 08:41:57 +00:00
  • cac29752cf Add functions for modifing the ports on which znc listens psychon 2010-04-01 08:39:10 +00:00
  • b66b3f8950 Add functions for modifing the ports on which znc listens psychon 2010-04-01 08:39:10 +00:00
  • 260c42fbe0 CRealListener: Inform CListener about being destroyed psychon 2010-04-01 08:28:45 +00:00
  • dd905ba3eb CRealListener: Inform CListener about being destroyed psychon 2010-04-01 08:28:45 +00:00
  • 8575a6eae4 Add missing DenyLoadMod check in admin.cpp, following up revision 1845. Patch by Nirjen, thanks again! cflakes 2010-03-31 21:41:30 +00:00
  • 9d82e9b920 Add missing DenyLoadMod check in admin.cpp, following up revision 1845. Patch by Nirjen, thanks again! cflakes 2010-03-31 21:41:30 +00:00
  • bad49e6a79 Include Socket.h in HTTPSock.h psychon 2010-03-31 18:48:48 +00:00
  • 8b865f7c82 Include Socket.h in HTTPSock.h psychon 2010-03-31 18:48:48 +00:00
  • 0decb1b7a2 GetSession(): Properly cache the result psychon 2010-03-30 19:52:17 +00:00
  • 4eb7d604a2 GetSession(): Properly cache the result psychon 2010-03-30 19:52:17 +00:00
  • 039d95073e Bugfix for CWebSock::GetRequestCookie() psychon 2010-03-30 19:49:51 +00:00
  • 2039f4e831 Bugfix for CWebSock::GetRequestCookie() psychon 2010-03-30 19:49:51 +00:00
  • ff4c3f4f03 Don't forward our own QUITs to clients psychon 2010-03-30 15:09:32 +00:00
  • 43db68026c Don't forward our own QUITs to clients psychon 2010-03-30 15:09:32 +00:00
  • ba05f11ea4 Remove CWebSock::m_bLoggedIn psychon 2010-03-30 12:20:31 +00:00
  • 9bf75ce0e7 Remove CWebSock::m_bLoggedIn psychon 2010-03-30 12:20:31 +00:00
  • 4d149f3d5f Use GetSession() instead of m_spSession psychon 2010-03-30 12:11:27 +00:00
  • fd750daa5f Use GetSession() instead of m_spSession psychon 2010-03-30 12:11:27 +00:00
  • 12629f8e94 Make sure CWebSock::GetSession() only generates one session psychon 2010-03-30 12:06:27 +00:00
  • ede188aaa5 Make sure CWebSock::GetSession() only generates one session psychon 2010-03-30 12:06:27 +00:00
  • 555be2b724 "Fix" trailing whitespace in /settings' textareas. cflakes 2010-03-30 10:17:56 +00:00
  • 7d39481460 "Fix" trailing whitespace in /settings' textareas. cflakes 2010-03-30 10:17:56 +00:00
  • b22c63c6c4 And again a little less spamminess psychon 2010-03-30 10:10:26 +00:00
  • c4703fb709 And again a little less spamminess psychon 2010-03-30 10:10:26 +00:00
  • 3fbcb24e78 Fix (hide) "Add Channel" link while creating new users. Regression from porting webadmin to webmods. cflakes 2010-03-30 09:59:37 +00:00
  • a8c95c5882 Fix (hide) "Add Channel" link while creating new users. Regression from porting webadmin to webmods. cflakes 2010-03-30 09:59:37 +00:00
  • 79e7316e87 Minor webmods skin fixes. cflakes 2010-03-30 09:48:23 +00:00
  • 9c9234f9f2 Minor webmods skin fixes. cflakes 2010-03-30 09:48:23 +00:00
  • b9abdf06f4 Remember "automatically connect + reconnect" flag across restarts by writing it to the config file. cflakes 2010-03-30 09:24:24 +00:00
  • 8f4d3f8467 Remember "automatically connect + reconnect" flag across restarts by writing it to the config file. cflakes 2010-03-30 09:24:24 +00:00
  • bb79dd338f Added "Connect to IRC & automatically re-connect" checkbox to webadmin. Sets the internal "automatically connect" flag just like /msg *status connect and /msg *status disconnect do. Idea by Advis0r, thanks! cflakes 2010-03-30 09:16:09 +00:00
  • 073ef0873a Added "Connect to IRC & automatically re-connect" checkbox to webadmin. Sets the internal "automatically connect" flag just like /msg *status connect and /msg *status disconnect do. Idea by Advis0r, thanks! cflakes 2010-03-30 09:16:09 +00:00
  • 72293bed64 Oh look, invisible, pink unicorns! psychon 2010-03-29 19:29:20 +00:00
  • 4a7b82b1e3 Oh look, invisible, pink unicorns! psychon 2010-03-29 19:29:20 +00:00
  • 5d2f3a03d0 Make OnConfigLine() a user module hook psychon 2010-03-29 19:23:48 +00:00
  • 82ad224465 Make OnConfigLine() a user module hook psychon 2010-03-29 19:23:48 +00:00
  • 5b29a28a55 Move OnWrite{User,Chan}Config() to CModule psychon 2010-03-29 19:04:37 +00:00
  • 027404e05b Move OnWrite{User,Chan}Config() to CModule psychon 2010-03-29 19:04:37 +00:00
  • b3b937fa2d Fix admin.cpp. Search and replace isn't what it used to be. cflakes 2010-03-28 21:06:40 +00:00
  • be130f2034 Fix admin.cpp. Search and replace isn't what it used to be. cflakes 2010-03-28 21:06:40 +00:00
  • 263d596379 Fix whitespace and general cleanup for admin.cpp. Let's hope this doesn't break anything. :P cflakes 2010-03-28 21:04:25 +00:00
  • a3a7bb71f9 Fix whitespace and general cleanup for admin.cpp. Let's hope this doesn't break anything. :P cflakes 2010-03-28 21:04:25 +00:00
  • 5afb3097a5 Add LoadModule, UnLoadModule, ListMods commands to the admin module. This means that admins can now load user modules for other users. cflakes 2010-03-28 20:37:48 +00:00
  • 03c5f5cbfe Add LoadModule, UnLoadModule, ListMods commands to the admin module. This means that admins can now load user modules for other users. cflakes 2010-03-28 20:37:48 +00:00
  • c89d8bbb9e Add some doxygen comments for WebMods module stuff. cflakes 2010-03-25 16:57:37 +00:00
  • dfca1e535d Add some doxygen comments for WebMods module stuff. cflakes 2010-03-25 16:57:37 +00:00
  • cf3fbdffff Add a robots.txt file. Since WebMods now deliver (albeit basic) pages to visitors that have not logged into any ZNC account, we certainly want to protect peoples' ZNC's from Google's crawlers. cflakes 2010-03-23 23:26:38 +00:00
  • f358130220 Add a robots.txt file. Since WebMods now deliver (albeit basic) pages to visitors that have not logged into any ZNC account, we certainly want to protect peoples' ZNC's from Google's crawlers. cflakes 2010-03-23 23:26:38 +00:00
  • 5b723fe7a4 WebSock: Add PAGE_DONE to EPageReqResult. It's used to better differentiate between async processing (PAGE_DEFERRED) and redirects and other synchronous stuff (-> PAGE_DONE). cflakes 2010-03-23 18:03:12 +00:00
  • 8b52393eb7 WebSock: Add PAGE_DONE to EPageReqResult. It's used to better differentiate between async processing (PAGE_DEFERRED) and redirects and other synchronous stuff (-> PAGE_DONE). cflakes 2010-03-23 18:03:12 +00:00
  • 437eef7fdd Add OnWebPreRequest web module hook to allow modules to do PAGE_DEFERRED style async processing. cflakes 2010-03-23 17:59:42 +00:00
  • 44d2114f37 Add OnWebPreRequest web module hook to allow modules to do PAGE_DEFERRED style async processing. cflakes 2010-03-23 17:59:42 +00:00
  • 4daa637130 WebMods/HTTPSock: Do not send Set-Cookie headers if the cookie has not changed. cflakes 2010-03-23 16:48:25 +00:00
  • 968a0bd3ff WebMods/HTTPSock: Do not send Set-Cookie headers if the cookie has not changed. cflakes 2010-03-23 16:48:25 +00:00
  • bf5e56c04f WebMods: Add an error message for users that have cookie support turned off. cflakes 2010-03-23 16:12:38 +00:00
  • 72dccb5560 WebMods: Add an error message for users that have cookie support turned off. cflakes 2010-03-23 16:12:38 +00:00
  • 39c5a677a9 Fix a couple of places where WebMods tried to send multiple pages psychon 2010-03-16 10:04:31 +00:00
  • 6228055bb9 Fix a couple of places where WebMods tried to send multiple pages psychon 2010-03-16 10:04:31 +00:00
  • 082008ed98 CHTTPSock: Print warnings if one tries to send multiple pages psychon 2010-03-16 09:55:10 +00:00
  • fc2f732c4b CHTTPSock: Print warnings if one tries to send multiple pages psychon 2010-03-16 09:55:10 +00:00
  • fffa0f7d36 Remove the spamminess of --debug a little psychon 2010-03-16 09:53:58 +00:00
  • 1fae97ab92 Remove the spamminess of --debug a little psychon 2010-03-16 09:53:58 +00:00
  • 3e49639cc9 Really fix auth modules psychon 2010-03-16 09:23:32 +00:00
  • f4b07373ae Really fix auth modules psychon 2010-03-16 09:23:32 +00:00
  • b764aa7b42 Fix WebModules with auth modules psychon 2010-03-15 16:06:56 +00:00
  • f87b69b3dc Fix WebModules with auth modules psychon 2010-03-15 16:06:56 +00:00
  • 1d7fdc2954 Change the return type of OnPageRequestInternal() psychon 2010-03-15 15:58:15 +00:00
  • 8447db4da6 Change the return type of OnPageRequestInternal() psychon 2010-03-15 15:58:15 +00:00
  • e54b0bda0a Revert r1831 psychon 2010-03-15 15:43:22 +00:00
  • e91690c283 Revert r1831 psychon 2010-03-15 15:43:22 +00:00
  • d76f193b6b Remove a self-assignment due to copy&paste psychon 2010-03-15 15:36:04 +00:00
  • 4b75861993 Remove a self-assignment due to copy&paste psychon 2010-03-15 15:36:04 +00:00
  • cb193d8f72 Make it possible to process HTTP requests async psychon 2010-03-15 15:27:02 +00:00
  • 92121d20a8 Make it possible to process HTTP requests async psychon 2010-03-15 15:27:02 +00:00
  • 5a8193565d Fix some minor "Whooops" psychon 2010-03-14 12:19:54 +00:00
  • 4a1dfa020d Fix some minor "Whooops" psychon 2010-03-14 12:19:54 +00:00
  • 5267e647e7 autoreply: Ignore messages from self psychon 2010-03-12 12:22:40 +00:00
  • cbd66df911 autoreply: Ignore messages from self psychon 2010-03-12 12:22:40 +00:00
  • c3728f4cb3 Fix a crash with WebMods and deleting User psychon 2010-03-11 17:29:36 +00:00
  • 4303c3c200 Fix a crash with WebMods and deleting User psychon 2010-03-11 17:29:36 +00:00
  • 547b603488 Fix a crash bug with WebMods and auth modules psychon 2010-03-10 20:47:48 +00:00
  • a74c2a4625 Fix a crash bug with WebMods and auth modules psychon 2010-03-10 20:47:48 +00:00
  • 5ff69d8e05 Fix traffic accounting of WebModules psychon 2010-03-10 19:34:21 +00:00
  • e8e0065e71 Fix traffic accounting of WebModules psychon 2010-03-10 19:34:21 +00:00
  • a7d26bb598 Fix a crash bug in WebModules psychon 2010-03-10 19:16:38 +00:00
  • c26775c5d6 Fix a crash bug in WebModules psychon 2010-03-10 19:16:38 +00:00
  • f6f7dce129 Use TCacheMap for saving the WebModules session psychon 2010-03-10 17:53:57 +00:00
  • 47728017c2 Use TCacheMap for saving the WebModules session psychon 2010-03-10 17:53:57 +00:00
  • 7bff1c4d7c Change the default ConnectDelay from 30s to 5s psychon 2010-03-10 13:28:15 +00:00
  • e4f4dd75dc Change the default ConnectDelay from 30s to 5s psychon 2010-03-10 13:28:15 +00:00
  • ca48efc0a0 Fix previous commit. That's why I said let psychon do it. Hahaha. Seriously though, why does stuff return TRUE when it fails and FALSE when everything's fine? Pretty weird. cflakes 2010-03-10 01:35:47 +00:00
  • 22d5d440bc Fix previous commit. That's why I said let psychon do it. Hahaha. Seriously though, why does stuff return TRUE when it fails and FALSE when everything's fine? Pretty weird. cflakes 2010-03-10 01:35:47 +00:00
  • 28022ca771 Added a new module hook EModRet OnAddUser(CUser& User, CString& sErrorRet) for global modules. Idea by BrianC. cflakes 2010-03-09 20:24:43 +00:00
  • 3d34b46d1a Added a new module hook EModRet OnAddUser(CUser& User, CString& sErrorRet) for global modules. Idea by BrianC. cflakes 2010-03-09 20:24:43 +00:00
  • cbb6e14c3a Generate session IDs more securely psychon 2010-03-09 19:44:24 +00:00
  • a78addefa6 Generate session IDs more securely psychon 2010-03-09 19:44:24 +00:00
  • 9036f5de74 Fix CSmartPtr's operator== to actually work psychon 2010-03-09 18:58:31 +00:00
  • f422972ae5 Fix CSmartPtr's operator== to actually work psychon 2010-03-09 18:58:31 +00:00