Mantas Mikulėnas
72c9513f6e
route_replies: Add some WHOIS numerics
...
Charybdis can return all these.
2013-04-28 03:16:57 +03:00
Kyle Fuller
78be38d802
Allow block_motd to be loaded per-network and globally
...
Closes #326
2013-04-21 12:31:30 +01:00
Uli Schlachter
1dbdc4f37d
sasl: Add missing length check
...
This could otherwise lead to an integer underflow on specially crafted input.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2013-04-20 21:31:35 +02:00
Elizabeth Myers
f161ac6182
Fix memory leak. Oops :(.
...
Found by KindOne on IRC. Thanks!
2013-04-16 17:19:52 -05:00
Elizabeth Myers
f578bf9424
Implement DH-AES encrypted password scheme.
...
This is superior to DH-BLOWFISH as Blowfish may suffer from certain
classes of weak keys, which is difficult to mitigate against without
regenerating DH parameters repeatedly. AES also has faced far more
scrutiny and is believed to be more secure.
Reference implementation (services-side):
https://github.com/atheme/atheme/blob/master/modules/saslserv/dh-aes.c
2013-04-16 05:39:10 -05:00
Alexey Sokolov
f2e8738ffc
Fix #313
2013-04-05 08:38:21 +07:00
Alexey Sokolov
636ca24088
A bit more beatiful way to build modules
2013-04-05 08:38:00 +07:00
Alexey Sokolov
8fdb530ee3
Fix use-after-free which may happen during shutdown
...
If a module, e.g. keepnick, tries to remove a timer in
OnIRCDisconnected.
Thanks to KindOne for the report.
2013-03-31 23:40:19 +07:00
Alexey Sokolov
ae7bcaf87d
Use " " instead of ":" in awaystore's buffer internal format. Fix #267
2013-03-17 01:11:59 +07:00
Alexey Sokolov
9f4f2817d1
Fix #293
...
In GetAvailableMods() modules paths were returned like "moddir//module.pm",
but when they are loaded, they use path "moddir/module.pm".
Because of that our hack of cleaning %INC when the module is unloaded,
which enables UpdateMod, removed wrong record from %INC, left right
record in it, and erased the module's namespace.
When the module was loaded again, the namespace was not restored,
because "require" didn't load the module, because it was still in %INC.
So, when we call a function of that module, the function does not exist
anymore.
2013-03-16 23:35:19 +07:00
KindOne
2db7307ac3
Remove unneeded headers.
2013-03-08 01:47:57 +07:00
Alexey Sokolov
ea5406f334
Fix issue introduced in previous commit.
2013-02-28 09:58:50 +07:00
Alexey Sokolov
58a8781b02
Merge commit 'refs/pull/304/head' of github.com:znc/znc
2013-02-28 09:33:32 +07:00
baines
82a708d6a1
Cleaned up more warnings.
2013-02-27 20:53:14 -05:00
Alexey Sokolov
5021d09519
Merge commit 'refs/pull/303/head' of github.com:znc/znc
2013-02-27 22:19:15 +07:00
md_5
9f4d2ffa1f
Fix PartyLine so that forced channels may not be left at all - users will be rejoined at once.
2013-02-23 18:31:10 +11:00
Thomas Ward
7496704f3e
controlpanel.cpp: Fixed a Fail to Compile error introduced in prior commit.
2013-02-01 15:51:36 -05:00
TheLordOfTime
e559bc6677
controlpanel.cpp: Standardize error wordings
...
When a network cannot be found for a user, and where a command will output an error under such circumstances, use similar wording in each message.
2013-01-30 22:58:32 -05:00
The Lord of Time
e6414e3c98
controlpanel.cpp: Increases general verbosity of command results.
2013-01-30 18:05:55 +00:00
TheLordOfTime
fd813c01af
controlpanel.cpp: Fix bug for "Disconnect" help
...
This fixes a bug in which providing empty data for the 'disconnect' command for controlpanel will return the 'reconnect' command's syntax help, which can confuse users.
2013-01-29 04:46:55 -05:00
Alexey Sokolov
f661f2a002
Use CModule::ExpandString
2013-01-20 10:39:50 +07:00
Alexey Sokolov
42cb0d7de7
It's 2013 now (few modules were forgotten :P)
2013-01-19 09:19:41 +07:00
TheLordOfTime
29d2ff001a
modules/sasl.cpp: Description line for DH-BLOWFISH
...
Added a description to the output for DH-BLOWFISH SASL mechanism.
2013-01-11 21:39:51 -05:00
Un1matr1x
3a34593359
The same procedure as last year, Miss sophie?
...
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Uli Schlachter
d9d6a2228c
Fix OOT builds with swig files in source dir
...
Normally, when the Makefile calls swig, the resulting files end up in the build
directory. However, when the files are pre-generated (e.g. as in the znc 1.0
tarball) and an out of tree build is used, they are in the source directory and
installation fails.
Thanks to Kinji for reporting this.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2012-12-26 14:12:58 +01:00
Alexey Sokolov
3e2152c77e
Make default type of cert mod to be network.
2012-12-20 20:29:28 +07:00
Alexey Sokolov
2b51222245
Show example timezone in webadmin
2012-12-04 09:24:47 +07:00
Alexey Sokolov
c06f95b452
Webadmin: Show instructions on how to use networks in Add Network too
...
not only in Edit Network
2012-12-02 19:28:02 +07:00
Alexey Sokolov
cf8925c930
Webadmin: don't modify listeners if loaded as user mod
...
Thanks to TheLordOfTime
2012-12-01 14:28:07 +07:00
Alexey Sokolov
833e63fb64
Allow loading webadmin as user module.
2012-12-01 08:55:41 +07:00
Michael Senn
f70f1086fd
Fixed minor typo in webadmin module.
2012-11-28 13:37:31 +01:00
Alexey Sokolov
4036114975
Add CModule::ExpandString()
...
It chooses which ExpandString() to call, of user or of network.
2012-11-23 21:40:30 +07:00
Daniel Wallace
f941ee5870
remove pModule from Ismatch
2012-11-23 08:17:52 -05:00
Daniel Wallace
77e4ae5408
include Module when instantiating CAttachMatch
...
This allows for the use of stuff like %nick% through ExpandString in the
search feature.
2012-11-22 18:03:43 -05:00
Daniel Wallace
addd047465
add string searching for autoattach
2012-11-21 23:03:27 -05:00
Alexey Sokolov
be77054136
Fix spelling error in blockuser.
...
Thanks to the-me (Patrick Matthäi) for the patch.
2012-11-15 21:13:22 +07:00
Alexey Sokolov
89f586d173
Merge commit 'refs/pull/188/head' of github.com:znc/znc
...
Conflicts:
modules/watch.cpp
2012-11-08 20:28:43 +07:00
Alexey Sokolov
a212f08129
Merge commit 'refs/pull/232/head' of github.com:znc/znc
2012-11-08 20:09:48 +07:00
Alexey Sokolov
bf31091353
Merge commit 'refs/pull/231/head' of github.com:znc/znc
2012-11-07 22:12:12 +07:00
Alexey Sokolov
da5c6b6a8b
Bump SWIG req to 2.0.8, remove our hacks around old SWIG.
2012-11-07 02:02:22 +07:00
Uli Schlachter
d0b7df5ec4
Look! Shiny butterflies everywhere!
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2012-11-01 15:53:07 +01:00
Uli Schlachter
8a4cd20efb
modperl: Add dependency information for modperl.o
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2012-11-01 15:48:39 +01:00
Uli Schlachter
5ea266a199
Fix parallel building of modperl
...
The symptoms looked like this:
Packing man page znc-buildmod.1.gz...
Generating ZNC API for Perl...
Generating ZNC API for Perl...
Generating ZNC API for Perl...
Linking znc...
The reason was that the old rule was executed multiple times in parallel. See
the following commit for more information:
commit 84ec49780e
Author: Uli Schlachter <psychon@znc.in >
Date: Sun Sep 23 12:03:22 2012 +0200
Get rid of the modpythin jobhack
Signed-off-by: Uli Schlachter <psychon@znc.in >
2012-11-01 15:23:47 +01:00
Alexey Sokolov
3b10202143
Fix cyrusauth to be loadable again. #246
...
When it was renamed from saslauth, compilation flags were not renamed...
2012-11-01 20:55:33 +07:00
Alexey Sokolov
d6c0f44e51
Hide one more warning from modperl
2012-10-20 19:09:27 +07:00
Alexey Sokolov
a0e9977264
Rename control back to controlpanel...
...
I shouldn't do this during beta.
2012-10-19 22:51:33 +07:00
Alexey Sokolov
b0a2a58155
Fix error message at webadmin #239
2012-10-19 22:29:28 +07:00
Alexey Sokolov
4f1fd1f6db
Rename controlpanel to control, fix #240
...
It's just a shorter name, and hopefully still not as confusing as old
"admin".
Also unrelated change: fix case of few output lines during startup.
2012-10-19 22:14:25 +07:00
Alexey Sokolov
33ba89282e
Fix compilation of modpython
...
Thanks to gtmanfred, who reported it
2012-10-12 08:29:38 +07:00
Alexey Sokolov
a6ec0c9e55
Don't fail compilation of modperl/python if they are first
2012-10-06 21:10:55 +07:00