Commit Graph

1648 Commits

Author SHA1 Message Date
Alexey Sokolov
219e6a97ce Support OnClientCapLs in modpython #98 2012-07-28 01:37:58 +07:00
Alexey Sokolov
a988546961 Make description of AddServer a bit more clear. 2012-07-27 09:05:42 +07:00
Alexey Sokolov
5e711011c5 Support OnGetAvailableMods in python. #98
Currently this needs patched SWIG.
Upstream version crashes ZNC.
Hopefully they'll apply my patches upstream soon...
As for now, working modpython tarball is available at
http://people.znc.in/~darthgandalf/znc/modpython/
2012-07-27 01:02:04 +07:00
Alexey Sokolov
85252f2f5b Protect CreatePyModule from CModule* 2012-07-26 20:53:17 +07:00
Alexey Sokolov
62c9ac1a0b using in headers is evil :( 2012-07-26 20:46:11 +07:00
Alexey Sokolov
e5af3848d8 Remove too many spaces from webadmin title="" attributes. 2012-07-22 21:26:27 +07:00
Alexey Sokolov
03b5d815ee Ups, remove unfinished function from modpython for now.
See #98
2012-07-22 21:25:25 +07:00
Alexey Sokolov
5656e14aa2 Progress on modpython global hooks.
OnModuleLoading, OnModuleUnloading, OnGetModInfo work fine.
Need to add: OnClientCapLs, OnGetAvailableMods, OnLoginAttempt

See #98
2012-07-22 18:27:07 +07:00
Alexey Sokolov
a131127770 Show commit id in version for git builds. 2012-07-21 23:27:53 +07:00
Alexey Sokolov
165c9ed082 Add network selector to send_raw's web page. 2012-07-20 22:36:13 +07:00
Alexey Sokolov
38b9525ad3 Fix webadmin to deny setting bindhost not from list. 2012-07-19 01:00:11 +07:00
Alexey Sokolov
cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Alexey Sokolov
fca5eebe53 Fix presense and help of module arguments.
See github issue #192
2012-07-17 09:14:02 +07:00
Kyle Fuller
373490f2d1 Don't try and unload ourself, we can't do this
Closes #194
2012-07-17 00:42:18 +01:00
Kyle Fuller
d1e4550663 route_replies: MAP can result in ERR_NOPRIVILEGES, WHOWAS can contain ERR_WASNOSUCHNICK 2012-07-04 15:07:13 +01:00
Kyle Fuller
114fabfebe Add flood protection settings to *admin
Closes #158
2012-07-04 03:42:57 +01:00
Kyle Fuller
619436736b *admin: Add {Get,Set}Network command 2012-07-04 03:30:00 +01:00
Roland Hieber
84fae4ce97 watch module: Don't handle multiple matching patterns for each target
Keep track of the targets which have already been notified of a matching
message, and do not notify them again if other patterns in the same
message match also. For example, consider the following match patterns:

  1) <*watch> /msg *watch ADD *!*@* *highlight *%nick%*
  2) <*watch> /msg *watch ADD *!*@* *highlight *testuser*
  3) <*watch> /msg *watch ADD *!*@* *testhilights *test*

If %nick% ist something like "testuser123", all of the these patterns
match the following message:

  <otheruser> hey testuser123, look at this: ...

Without this patch, the watch module would generate two notify messages
for target *highlight, and one notify message for target *testhilights.
This is unneccessary because patterns 1 and 2 will result in
generating the same notify message twice for target *highlight.

By using a std::set, the implementation in this patch keeps track of
which targets have already been notified and does not notify them more
than once.
2012-06-27 16:15:51 +02:00
Alexey Sokolov
76e1d417f7 saslauth -> cyrusauth 2012-06-21 08:02:08 +07:00
Kyle Fuller
63ab3c099d Rename --enable-sasl to --enable-cyrus to help confusion
Many people think --enable-sasl was needed for the sasl module
2012-06-18 04:51:58 +01:00
Alexey Sokolov
674d2139dc Fix help text for modtcl's argument. 2012-06-16 16:39:19 +07:00
Alexey Sokolov
601b9a4cc6 Fix: Log module accepts arguments.
Thanks to tm512 for reporting that webadmin doesn't know that.
2012-06-16 16:35:05 +07:00
Kyle Fuller
eb59be7905 Use standard HTML table elements instead of custom classes
Fixes #169
2012-06-08 13:51:45 +01:00
Alexey Sokolov
2d884ad7c3 Make user Buffer setting a bit less confusing. 2012-06-05 22:32:19 +07:00
Torsten Landschoff
4ca8b50e45 Fix building modpython with swig #174 2012-05-30 09:49:42 +01:00
Kyle Fuller
cab14055de Merge the sasl module from znc-contrib 2012-05-20 23:47:46 +01:00
Kyle Fuller
a2f0f8dcdb saslauth: Fix an incompatibility with older versions of GCC
Reported by KindOne
2012-05-16 19:43:03 +01:00
Kyle Fuller
faf503712e saslauth: Allow creating new users on first login 2012-05-14 19:04:45 +01:00
Kyle Fuller
2a4940f23e saslauth: Cleanup module, don't refuse logins if we can't provide them 2012-05-14 19:04:45 +01:00
Alexey Sokolov
27f42d1118 Rename (non-) KeepBuffer to AutoClearChanBuffer.
It should be a less confusing name...
2012-05-09 22:32:12 +07:00
Alexey Sokolov
5fbf528a49 Fix Save button of global settings in webadmin.
In HTML one <form> can't be inside another one...
In XHTML it works...

Thanks to skydrome for reporting this.

Also I tried to fix listeners editor, as they used nested forms too...
But it seems that I messed up the whole table.

Let someone more skilled in HTML fix this broken layout.

At least buttons themselves work now.
2012-04-20 10:48:26 +07:00
blackwind
1da11b0b2b Fixed [GetClientCount]. 2012-04-18 09:43:44 -06:00
blackwind
4786b743cd Updated [ProcessKick] to eggdrop spec, removed bind types that weren't actually supported, and removed default variable for [::bind], as this served no purpose. 2012-04-18 04:11:03 -06:00
blackwind
4f942134f8 Added [GetClientCount]. Correct file this time. 2012-04-16 07:50:22 -06:00
blackwind
f377197a47 Added [GetClientCount]. 2012-04-16 07:47:49 -06:00
blackwind
f65cc2731a Escaped crypt module token. 2012-04-16 06:37:26 -06:00
blackwind
2df8c9ebe8 puthelp is no longer restricted to channels. 2012-04-16 06:31:53 -06:00
blackwind
9b0ac1ab19 Added support for bind msg/msgm. 2012-04-16 05:12:25 -06:00
blackwind
100cb2c7e3 Added support for bind msg/msgm. 2012-04-16 05:11:40 -06:00
Alexey Sokolov
f557d4b805 Rename away/autoaway module to awaystore.
Now it at least tries to explain what it does...
2012-04-15 00:06:26 +07:00
Alexey Sokolov
f027be9576 Remove = from output of nickserv ViewCommands
It was very confusing. People tried to use SetCommand with = too...
2012-04-15 00:05:07 +07:00
Alexey Sokolov
4e16e9f80e Fix debug output of identfile. 2012-04-14 12:47:46 +07:00
Alexey Sokolov
b496b282b2 Argh, commited wrong stuff... 2012-04-13 02:52:18 +07:00
Alexey Sokolov
87a79f83d9 Fix XML errors on network page in webadmin.
Thanks to thread for reporting it.
2012-04-13 02:49:18 +07:00
Alexey Sokolov
33889c97e6 Change help text of some modules.
The word "Please" could be understood that the argument is necessary...
2012-04-10 23:20:01 +07:00
Alexey Sokolov
3e458a98e4 Merge some work by Jens-Andre Koch
Only his changes to the core are presented here.
Unfortunately, the skin itself looks ugly on Opera,
and simply doesn't work on Firefox...

Merge branch 'master' into znc-ation

Conflicts:
	modules/data/lastseen/tmpl/lastseen_WebadminUser.tmpl
	modules/data/webadmin/tmpl/settings.tmpl
2012-04-10 23:19:15 +07:00
Alexey Sokolov
6876961b79 Fix crash in webadmin when adding a new user.
My recent patch, which added ability to put arbitrary bindhost when
global list is missing, broke it...

Thanks to Jord for reporting it.
2012-04-08 00:24:26 +07:00
Alexey Sokolov
ce6a9ce327 Move floodprotection js out of .tmpl 2012-04-01 12:39:14 +07:00
Alexey Sokolov
1a8455b2b9 Ups, commited debug stuff accidentally... 2012-04-01 12:15:33 +07:00
Alexey Sokolov
b8822b8bfb webadmin: allow edit bindhost without global list. 2012-04-01 11:52:31 +07:00