]>
jfr.im git - irc/rizon/znc.git/log
Kyle Fuller [Sun, 19 Aug 2012 16:06:28 +0000 (23:06 +0700)]
CString: Don't repeat ourselves
Alexey Sokolov [Sun, 19 Aug 2012 15:13:38 +0000 (22:13 +0700)]
Fix perms of codegen.pl to be +x
Alexey Sokolov [Sun, 19 Aug 2012 09:29:54 +0000 (16:29 +0700)]
Fix linkage on cygwin.
ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER is required in
libznc.dll, but it was defined in main.cpp
Again thanks to Lizzy Eilson
Alexey Sokolov [Sun, 19 Aug 2012 09:14:17 +0000 (16:14 +0700)]
Fix errors on cygwin (more proper fix)
Alexey Sokolov [Sun, 19 Aug 2012 09:10:32 +0000 (16:10 +0700)]
Revert "Fix few errors on cygwin."
This reverts commit
b77e69727367afe10998d33abc73d3595b3ec88c .
Alexey Sokolov [Sun, 19 Aug 2012 09:10:28 +0000 (16:10 +0700)]
Revert "Fix also Buffer.cpp to use struct timeval"
This reverts commit
d3840bba19b20ac686e26ade86e63e318d94b9c4 .
Alexey Sokolov [Sun, 19 Aug 2012 08:28:39 +0000 (15:28 +0700)]
Fix also Buffer.cpp to use struct timeval
Alexey Sokolov [Sun, 19 Aug 2012 08:25:09 +0000 (15:25 +0700)]
Fix few errors on cygwin.
I hate timeval...
Thanks to Lizzy Eilson for reporting this.
Alexey Sokolov [Sat, 18 Aug 2012 15:40:30 +0000 (22:40 +0700)]
Fix #197 and more warnings in ZNCString.cpp
Kyle Fuller [Fri, 17 Aug 2012 14:47:31 +0000 (21:47 +0700)]
We don't need to find the znc binary
Alexey Sokolov [Thu, 16 Aug 2012 17:56:53 +0000 (00:56 +0700)]
Fix more warnings and #197
Alexey Sokolov [Thu, 16 Aug 2012 14:29:07 +0000 (21:29 +0700)]
Oh, I forgot to add a back-compatibility crap.
Alexey Sokolov [Thu, 16 Aug 2012 14:23:02 +0000 (21:23 +0700)]
I'm tired of this :(
Rename admin module to controlpanel.
Alexey Sokolov [Wed, 15 Aug 2012 14:52:12 +0000 (21:52 +0700)]
Make SilverLeo happy :P
By displaying info about available and required SWIGs in ./configure
Alexey Sokolov [Wed, 15 Aug 2012 12:39:22 +0000 (19:39 +0700)]
Fix compilation.
These lines are not needed.
They even fail to compile on some compilers.
Thanks to Han` and fred for reporting this.
Alexey Sokolov [Tue, 14 Aug 2012 20:03:55 +0000 (03:03 +0700)]
Fix modperl startup.
User.h and Utils.h should not depend on each other, and instead of name
of default method need to have a function in CUtils, which hashes using
default method (such function is in CUser now)
Alexey Sokolov [Tue, 14 Aug 2012 18:42:46 +0000 (01:42 +0700)]
Add several fixed files for swig.
Workaround for broken swig, which allows old swig versions to work too.
These files should be removed when fixed swig is released.
Thanks to Juvenal for suggestion.
Alexey Sokolov [Tue, 14 Aug 2012 17:39:55 +0000 (00:39 +0700)]
Fix logic of modperl Makefile
Alexey Sokolov [Tue, 14 Aug 2012 17:38:23 +0000 (00:38 +0700)]
Fix modperl and modpython compilation.
Also fix few string-related inconsistences.
Kyle Fuller [Tue, 14 Aug 2012 14:49:48 +0000 (21:49 +0700)]
Broken merge
Kyle Fuller [Tue, 14 Aug 2012 12:42:09 +0000 (19:42 +0700)]
Merge branch 'conversion'
Kyle Fuller [Sun, 12 Aug 2012 22:02:18 +0000 (05:02 +0700)]
Fix a bunch of conversion warnings #197
Kyle Fuller [Tue, 14 Aug 2012 12:18:16 +0000 (05:18 -0700)]
Merge pull request #204 from kylef/nick
Send a nick change to clients connecting with a different nick
Alexey Sokolov [Mon, 13 Aug 2012 13:40:05 +0000 (20:40 +0700)]
Don't generate mod[perl|python].tar.bz2
Alexey Sokolov [Mon, 13 Aug 2012 13:01:07 +0000 (20:01 +0700)]
Improvements to modpython.
1. Be able to write binary data to any sockets, not only to ones created
from python.
2. Add support for CSmartPtr<CWebSession>
Alexey Sokolov [Sun, 12 Aug 2012 15:35:57 +0000 (22:35 +0700)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Sun, 12 Aug 2012 15:34:02 +0000 (22:34 +0700)]
Add vector<CListener*> to modperl/modpython.
Kyle Fuller [Sun, 12 Aug 2012 15:22:19 +0000 (22:22 +0700)]
Don't replace our motd with a different servers motd
Fixes #167
Kyle Fuller [Sun, 12 Aug 2012 14:49:08 +0000 (21:49 +0700)]
route_replies: Follow rfc1459
Closes #190
Alexey Sokolov [Sat, 11 Aug 2012 20:12:42 +0000 (03:12 +0700)]
It was bad idea to set *macEXITER to false inside MODULECALL :(
There're places where it's initialized to true before calling
MODULECALL.
Alexey Sokolov [Fri, 10 Aug 2012 12:32:27 +0000 (19:32 +0700)]
Fix #117
Alexey Sokolov [Thu, 9 Aug 2012 15:57:28 +0000 (22:57 +0700)]
Don't show message about missing motd by default.
To enable it, load missingmotd module.
Fix #202
Alexey Sokolov [Wed, 8 Aug 2012 17:37:16 +0000 (00:37 +0700)]
Use gettimeofday instead of clock_gettime.
POSIX.1-2008 deprecates gettimeofday...
So perhaps it will be changed back in future.
For now gettimeofday is more portable :(
Alexey Sokolov [Wed, 8 Aug 2012 16:25:36 +0000 (23:25 +0700)]
Fix configure script
Alexey Sokolov [Wed, 8 Aug 2012 16:16:57 +0000 (23:16 +0700)]
Check for SWIG's features, not only version.
Alexey Sokolov [Tue, 7 Aug 2012 17:19:39 +0000 (00:19 +0700)]
Generate modpython.tar.bz2
Alexey Sokolov [Tue, 7 Aug 2012 13:34:11 +0000 (20:34 +0700)]
Generate modperl.tar.bz2
Alexey Sokolov [Sun, 5 Aug 2012 02:45:48 +0000 (09:45 +0700)]
Update server-time implementation to match new standard. #181
Alexey Sokolov [Sat, 28 Jul 2012 17:10:52 +0000 (00:10 +0700)]
Fix build.
Thanks to Vampi for reporting this.
Alexey Sokolov [Sat, 28 Jul 2012 14:33:08 +0000 (21:33 +0700)]
Fix build.
Thanks again goes to fred
Alexey Sokolov [Sat, 28 Jul 2012 14:26:02 +0000 (21:26 +0700)]
Fix build.
Thanks to fred for reporting this.
Alexey Sokolov [Sat, 28 Jul 2012 13:31:57 +0000 (20:31 +0700)]
Modperl: read values from MCString #93
Example:
my $x = $self->GetNetwork->GetIRCSock->GetISupport;
$x->get("CHANMODES")
No iterating through all values though :(
Alexey Sokolov [Sat, 28 Jul 2012 13:27:29 +0000 (20:27 +0700)]
Fix vim modeline for modpython.i
Alexey Sokolov [Sat, 28 Jul 2012 12:35:22 +0000 (19:35 +0700)]
Allow perl modules to be loaded not by modperl
Austin Morton [Sat, 28 Jul 2012 06:11:00 +0000 (02:11 -0400)]
change PutModule to handle multiple lines if need be. fixes #205
Alexey Sokolov [Sat, 28 Jul 2012 04:31:36 +0000 (11:31 +0700)]
Modpython: support OnLoginAttempt.
So python part of #98 is completed.
Kyle Fuller [Fri, 27 Jul 2012 20:09:08 +0000 (03:09 +0700)]
Send a nick change to clients connecting with a different nick
Before we was hoping that the client was using the nick from 001, not all
clients supported this.
Closes #170
Alexey Sokolov [Fri, 27 Jul 2012 19:58:21 +0000 (02:58 +0700)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Fri, 27 Jul 2012 19:56:00 +0000 (02:56 +0700)]
Modpython: MCString as a normal dict-like object.
See github issue #93
Alexey Sokolov [Fri, 27 Jul 2012 18:37:58 +0000 (01:37 +0700)]
Support OnClientCapLs in modpython #98
Kyle Fuller [Thu, 24 Nov 2011 16:45:04 +0000 (16:45 +0000)]
Don't require CTimer's label to be unique if its empty (Fixes #92)
Kyle Fuller [Fri, 27 Jul 2012 17:07:46 +0000 (00:07 +0700)]
Support messages directed to specific user prefixes
Closes #195
Alexey Sokolov [Fri, 27 Jul 2012 02:23:35 +0000 (09:23 +0700)]
Block using --enable-swig until SWIG is fixed.
We don't want users to get crashy ZNC, do we?
Alexey Sokolov [Fri, 27 Jul 2012 02:05:42 +0000 (09:05 +0700)]
Make description of AddServer a bit more clear.
Alexey Sokolov [Thu, 26 Jul 2012 18:02:04 +0000 (01:02 +0700)]
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/
Alexey Sokolov [Thu, 26 Jul 2012 13:53:17 +0000 (20:53 +0700)]
Protect CreatePyModule from CModule*
Alexey Sokolov [Thu, 26 Jul 2012 13:46:11 +0000 (20:46 +0700)]
using in headers is evil :(
Alexey Sokolov [Thu, 26 Jul 2012 13:21:49 +0000 (20:21 +0700)]
Make post-installation message a bit more visible.
Christian Walde [Tue, 24 Jul 2012 14:46:52 +0000 (17:46 +0300)]
note dependency on automake for github install
Alexey Sokolov [Tue, 24 Jul 2012 12:51:53 +0000 (19:51 +0700)]
Show 410 to client for unknown CAP subcommand.
It's in CAP specs.
Alexey Sokolov [Mon, 23 Jul 2012 14:31:04 +0000 (21:31 +0700)]
Fix znc-buildmod to work with ld --as-needed. #199
Alexey Sokolov [Sun, 22 Jul 2012 14:26:27 +0000 (21:26 +0700)]
Remove too many spaces from webadmin title="" attributes.
Alexey Sokolov [Sun, 22 Jul 2012 14:25:25 +0000 (21:25 +0700)]
Ups, remove unfinished function from modpython for now.
See #98
Alexey Sokolov [Sun, 22 Jul 2012 11:21:58 +0000 (18:21 +0700)]
Progress on modpython global hooks.
OnModuleLoading, OnModuleUnloading, OnGetModInfo work fine.
Need to add: OnClientCapLs, OnGetAvailableMods, OnLoginAttempt
See #98
Alexey Sokolov [Sun, 22 Jul 2012 10:34:05 +0000 (17:34 +0700)]
Ignore fail of git-describe differently.
Now it doesn't show an error message and still continues.
Thanks to Han` for reporting this.
Alexey Sokolov [Fri, 20 Jul 2012 15:34:53 +0000 (22:34 +0700)]
Show commit id in version for git builds.
Alexey Sokolov [Sat, 21 Jul 2012 16:27:03 +0000 (23:27 +0700)]
Fix a warning in Csocket.cpp.
The patch was sent upstream too.
Alexey Sokolov [Fri, 20 Jul 2012 15:36:13 +0000 (22:36 +0700)]
Add network selector to send_raw's web page.
Alexey Sokolov [Wed, 18 Jul 2012 18:08:16 +0000 (01:08 +0700)]
Add ShowBindHost command.
Alexey Sokolov [Wed, 18 Jul 2012 17:54:36 +0000 (00:54 +0700)]
Fix webadmin to deny setting bindhost not from list.
Alexey Sokolov [Wed, 18 Jul 2012 17:35:07 +0000 (00:35 +0700)]
Per-network bind hosts.
Fix #147
Alexey Sokolov [Wed, 18 Jul 2012 15:15:51 +0000 (22:15 +0700)]
Use loadmod --type=type syntax for modules.
See github issue #171
Alexey Sokolov [Tue, 17 Jul 2012 02:14:02 +0000 (09:14 +0700)]
Fix presense and help of module arguments.
See github issue #192
Kyle Fuller [Mon, 16 Jul 2012 23:42:18 +0000 (00:42 +0100)]
Don't try and unload ourself, we can't do this
Closes #194
Kyle Fuller [Wed, 4 Jul 2012 21:21:37 +0000 (22:21 +0100)]
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.
Alexey Sokolov [Wed, 4 Jul 2012 17:29:30 +0000 (00:29 +0700)]
Add more control codes and comments.
Kyle Fuller [Wed, 4 Jul 2012 15:08:25 +0000 (16:08 +0100)]
Only prepend the timestamps with \0F if they use formatting
This fixes a bug with fish implementation and append timestamps
Kyle Fuller [Wed, 4 Jul 2012 14:06:32 +0000 (15:06 +0100)]
route_replies: MAP can result in ERR_NOPRIVILEGES, WHOWAS can contain ERR_WASNOSUCHNICK
Kyle Fuller [Wed, 4 Jul 2012 02:37:53 +0000 (03:37 +0100)]
Add flood protection settings to *admin
Closes #158
Kyle Fuller [Wed, 4 Jul 2012 02:30:00 +0000 (03:30 +0100)]
*admin: Add {Get,Set}Network command
Kyle Fuller [Wed, 4 Jul 2012 01:21:31 +0000 (02:21 +0100)]
DETACH: Don't show `Detached from <channel>`
Alexey Sokolov [Mon, 2 Jul 2012 06:20:51 +0000 (13:20 +0700)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Mon, 2 Jul 2012 06:19:00 +0000 (13:19 +0700)]
Rearrange messages to user during installation.
To make installation process more like step-by-step guide.
Kyle Fuller [Thu, 28 Jun 2012 20:15:12 +0000 (21:15 +0100)]
Don't send our password required notice until after CAP negotiation
Kyle Fuller [Thu, 28 Jun 2012 20:00:37 +0000 (21:00 +0100)]
bNoChange in On{,De}{Op,Voice} wast incorrect
Fixes #128
Alexey Sokolov [Thu, 28 Jun 2012 12:00:24 +0000 (19:00 +0700)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Thu, 28 Jun 2012 11:59:31 +0000 (18:59 +0700)]
Load cyrusauth for old configs instead of saslauth.
Roland Hieber [Wed, 27 Jun 2012 14:15:51 +0000 (16:15 +0200)]
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.
Kyle Fuller [Sun, 24 Jun 2012 20:25:41 +0000 (21:25 +0100)]
Don't show Buffer playback/complete messages with server-time
Alexey Sokolov [Thu, 21 Jun 2012 01:02:08 +0000 (08:02 +0700)]
saslauth -> cyrusauth
Kyle Fuller [Mon, 18 Jun 2012 03:51:58 +0000 (04:51 +0100)]
Rename --enable-sasl to --enable-cyrus to help confusion
Many people think --enable-sasl was needed for the sasl module
Alexey Sokolov [Sat, 16 Jun 2012 09:39:19 +0000 (16:39 +0700)]
Fix help text for modtcl's argument.
Alexey Sokolov [Sat, 16 Jun 2012 09:35:05 +0000 (16:35 +0700)]
Fix: Log module accepts arguments.
Thanks to tm512 for reporting that webadmin doesn't know that.
Alexey Sokolov [Mon, 11 Jun 2012 02:03:40 +0000 (09:03 +0700)]
Warn about SIGHUP in man page.
Kyle Fuller [Fri, 8 Jun 2012 12:51:45 +0000 (13:51 +0100)]
Use standard HTML table elements instead of custom classes
Fixes #169
Alexey Sokolov [Tue, 5 Jun 2012 15:33:44 +0000 (22:33 +0700)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Tue, 5 Jun 2012 15:32:19 +0000 (22:32 +0700)]
Make user Buffer setting a bit less confusing.
Wulf C. Krueger [Sat, 2 Jun 2012 17:28:55 +0000 (19:28 +0200)]
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.
Wulf C. Krueger [Sat, 2 Jun 2012 17:57:42 +0000 (19:57 +0200)]
Add support for --with-systemdsystemunitdir.
--with-systemdsystemunitdir is the usual way to configure the directory
to which any systemd service file gets installed.
Wulf C. Krueger [Thu, 24 May 2012 21:41:47 +0000 (23:41 +0200)]
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.