Commit Graph

4514 Commits

Author SHA1 Message Date
Kyle Fuller
8a44c87272 Don't require CTimer's label to be unique if its empty (Fixes #92) 2012-07-28 00:09:15 +07:00
Kyle Fuller
721d603383 Support messages directed to specific user prefixes
Closes #195
2012-07-28 00:07:46 +07:00
Alexey Sokolov
592b5d158d Block using --enable-swig until SWIG is fixed.
We don't want users to get crashy ZNC, do we?
2012-07-27 09:23:35 +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
f1932b9322 Make post-installation message a bit more visible. 2012-07-26 20:21:49 +07:00
Christian Walde
902b7e64f2 note dependency on automake for github install 2012-07-24 17:46:52 +03:00
Alexey Sokolov
07cb02c5d8 Show 410 to client for unknown CAP subcommand.
It's in CAP specs.
2012-07-24 19:51:53 +07:00
Alexey Sokolov
9e4733d446 Fix znc-buildmod to work with ld --as-needed. #199 2012-07-23 21:31:04 +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
5b50003f33 Ignore fail of git-describe differently.
Now it doesn't show an error message and still continues.

Thanks to Han` for reporting this.
2012-07-22 17:34:05 +07:00
Alexey Sokolov
a131127770 Show commit id in version for git builds. 2012-07-21 23:27:53 +07:00
Alexey Sokolov
a88d9c7a7f Fix a warning in Csocket.cpp.
The patch was sent upstream too.
2012-07-21 23:27:03 +07:00
Alexey Sokolov
165c9ed082 Add network selector to send_raw's web page. 2012-07-20 22:36:13 +07:00
Alexey Sokolov
80acaa7c16 Add ShowBindHost command. 2012-07-19 01:08:16 +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
7951a50200 Use loadmod --type=type syntax for modules.
See github issue #171
2012-07-18 22:15:51 +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
9be208c242 Drop znc-config, change znc-buildmod so it doesn't need znc-config
This fixes issues where znc-buildmod was grabbing a different ZNC installation
from path.
2012-07-04 22:21:37 +01:00
Alexey Sokolov
2858ab4b26 Add more control codes and comments. 2012-07-05 00:29:30 +07:00
Kyle Fuller
a53d997586 Only prepend the timestamps with \0F if they use formatting
This fixes a bug with fish implementation and append timestamps
2012-07-04 16:09:02 +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
Kyle Fuller
4ae6cb3061 DETACH: Don't show Detached from <channel> 2012-07-04 02:21:31 +01:00
Alexey Sokolov
3f4d5ff615 Merge branch 'master' of github.com:znc/znc 2012-07-02 13:20:51 +07:00
Alexey Sokolov
1f9b20a938 Rearrange messages to user during installation.
To make installation process more like step-by-step guide.
2012-07-02 13:19:00 +07:00
Kyle Fuller
981963a41e Don't send our password required notice until after CAP negotiation 2012-06-28 21:15:12 +01:00
Kyle Fuller
bb73c600e4 bNoChange in On{,De}{Op,Voice} wast incorrect
Fixes #128
2012-06-28 21:03:04 +01:00
Alexey Sokolov
6cddfe8454 Merge branch 'master' of github.com:znc/znc 2012-06-28 19:00:24 +07:00
Alexey Sokolov
0e89334741 Load cyrusauth for old configs instead of saslauth. 2012-06-28 18:59:31 +07: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
Kyle Fuller
8f6b5977aa Don't show Buffer playback/complete messages with server-time 2012-06-24 21:25:41 +01: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
Alexey Sokolov
50294714e6 Warn about SIGHUP in man page. 2012-06-11 09:03:40 +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
11435c3f6d Merge branch 'master' of github.com:znc/znc 2012-06-05 22:33:44 +07:00
Alexey Sokolov
2d884ad7c3 Make user Buffer setting a bit less confusing. 2012-06-05 22:32:19 +07:00
Wulf C. Krueger
4f3094e6c7 Fix the tests.
Due to the restructure directory layout, header files weren't found
anymore.

CConfigEntry was moved out of CConfig which had to be reflected in
ConfigTest.
2012-06-02 21:48:07 +02:00
Wulf C. Krueger
40641b40a4 Add support for --with-systemdsystemunitdir.
--with-systemdsystemunitdir is the usual way to configure the directory
to which any systemd service file gets installed.
2012-06-02 21:48:03 +02:00
Wulf C. Krueger
f696796b60 znc.service: Improve description, don't fork on your own
The description gets displayed when the service is started and would
output something like "Starting An advanced IRC bouncer". There's
potentially more than one, though, and, thus, the name should at least
be included.

Type=forking should be used as a last resort only. systemd does the
forking itself and, thus, ZNC should be started with the -f switch.
2012-06-02 21:47:54 +02:00