]>
jfr.im git - irc/evilnet/znc.git/log
Alexey Sokolov [Thu, 23 Mar 2017 22:49:29 +0000 (22:49 +0000)]
Merge pull request #1383 from Phansa/master
Adding comments to modules, updating dates to 2017
Adeet [Thu, 23 Mar 2017 22:47:36 +0000 (18:47 -0400)]
updating comments
Cizzle [Thu, 16 Mar 2017 21:36:19 +0000 (22:36 +0100)]
Refactor duplicate code in crypt module. (#1386)
Cizzle [Wed, 15 Mar 2017 18:28:00 +0000 (19:28 +0100)]
crypt: Add Get/SetNickPrefix commands (#1382)
Hide the internal keyword from ListKeys
Phansa [Mon, 13 Mar 2017 00:42:59 +0000 (20:42 -0400)]
Adding comments to modules
Phansa [Mon, 13 Mar 2017 00:39:58 +0000 (20:39 -0400)]
Adding liscene information
Phansa [Sun, 12 Mar 2017 22:56:25 +0000 (18:56 -0400)]
Welcome to 2017
Welcome to 2017
temp
temp2
Alexey Sokolov [Sun, 12 Mar 2017 21:16:23 +0000 (21:16 +0000)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Sun, 12 Mar 2017 21:16:05 +0000 (21:16 +0000)]
Merge branch '1.6.x'
Alexey Sokolov [Sun, 12 Mar 2017 21:08:00 +0000 (21:08 +0000)]
Revert version to 1.6.x
Alexey Sokolov [Sun, 12 Mar 2017 21:00:29 +0000 (21:00 +0000)]
1.6.5
Alexey Sokolov [Fri, 3 Mar 2017 23:28:35 +0000 (23:28 +0000)]
ZNC 1.6.5-rc1
Adeet Phanse [Fri, 3 Mar 2017 23:25:54 +0000 (18:25 -0500)]
Adding some comments to blockuser module (#1380)
Alexey Sokolov [Thu, 2 Mar 2017 22:58:07 +0000 (22:58 +0000)]
Fix docs generation on travis
Thanks to @psychon for noticing this
Alexey Sokolov [Wed, 1 Mar 2017 23:37:23 +0000 (23:37 +0000)]
Fix test for autoconf build
Christophe Beauval [Thu, 9 Feb 2017 20:04:00 +0000 (21:04 +0100)]
Add DH1080 keyexchange to the crypt module.
Close #1378
Alexey Sokolov [Tue, 28 Feb 2017 20:01:02 +0000 (20:01 +0000)]
Fix CMake build:
* VERSION_EXTRA is now supported
* znc-buildmod uses the correct ZNC library instead of one in /usr/share
Uli Schlachter [Tue, 28 Feb 2017 12:07:15 +0000 (13:07 +0100)]
Speed up FixCVE20149403 test
The test was unnecessarily waiting for ZNC to join some channel, which
took a long time.
Signed-off-by: Uli Schlachter <redacted>
Uli Schlachter [Tue, 28 Feb 2017 11:59:00 +0000 (12:59 +0100)]
Fix tests relying on table output
The output style of tables was recently changed. This broke the
ControlpanelModule integration test. Adapt some of the patterns used so
that they work again.
Signed-off-by: Uli Schlachter <redacted>
Uli Schlachter [Tue, 28 Feb 2017 11:42:45 +0000 (12:42 +0100)]
integration tests: Improve message when ZNC is missing
Previously, "more or less unrelated" things would fail. After this
change, also a message is printing that gives a hint on what went wrong.
Signed-off-by: Uli Schlachter <redacted>
Alexey Sokolov [Sat, 25 Feb 2017 12:14:21 +0000 (12:14 +0000)]
Make more modules translateable (#1354)
Alexey Sokolov [Sat, 25 Feb 2017 12:13:24 +0000 (12:13 +0000)]
Update a comment
Alexey Sokolov [Sat, 25 Feb 2017 11:52:39 +0000 (11:52 +0000)]
Improve *autoreply responses to Show and Set commands.
Also make it translatable (#1354)
Alexey Sokolov [Fri, 24 Feb 2017 23:10:44 +0000 (23:10 +0000)]
Revert
33825439170a3b2762db5d97d9474170d398e3f0 and
00ddcd302fb9eb38fad5969554189163e1ce7b8a
ListChans for now will behave as before, and ShowChan isn't currently
needed.
See #914
Alexey Sokolov [Fri, 24 Feb 2017 23:44:31 +0000 (23:44 +0000)]
Revert tables to how they were in 1.4
See #914
Cizzle [Wed, 22 Feb 2017 15:25:08 +0000 (16:25 +0100)]
Don't use the same or overlapping NickPrefix as StatusPrefix in the crypt module
Don't use a key which is a valid nickname, now changed to "@nick-prefix@" instead.
If you had loaded the crypt module before, the old settings will be converted.
Also check if the nick-prefix and status-prefix aren't the same or overlapping, "*" or "." are then used depending on either value. If they would be the same, you would be messaging a module instead of a user.
And if they'd overlap, depending on the nick, you could be messaging a module as well.
Alexey Sokolov [Sun, 19 Feb 2017 10:34:55 +0000 (10:34 +0000)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Sun, 19 Feb 2017 10:33:01 +0000 (10:33 +0000)]
Merge branch '1.6.x'
Alexey Sokolov [Sun, 19 Feb 2017 10:29:49 +0000 (10:29 +0000)]
Fix regression of 1.6.4 which caused crash in modperl/modpython.
See #1283
Christophe Beauval [Thu, 9 Feb 2017 20:14:56 +0000 (21:14 +0100)]
Add /install_manifest.txt and /install_manifest_*.txt to .gitignore.
Jos Ahrens [Sat, 21 Jan 2017 15:36:12 +0000 (16:36 +0100)]
cli: help: sort arguments alphabetically (#1367)
Changes the output of `znc --help` to order the arguments
in alphabetical order.
Jos Ahrens [Sat, 21 Jan 2017 15:32:38 +0000 (16:32 +0100)]
[sasl] Do not try to convert entire "verbose" command to bool. (#1365)
Fixes #1291 for the stable branch.
Ref. https://github.com/znc/znc/commit/
9864b2716a0274e046867aba83962b979d078bdd
for the original fix by psychon with dgw, this is merely a non-cherry-pick backport
as I realized too late it was already fixed elsewhere in the same manner.
Jos Ahrens [Sat, 21 Jan 2017 15:30:09 +0000 (16:30 +0100)]
autoconf/makefile: alphabetically sort the modules we compile (#1368)
This alphabetically sorts the modules/ we compile so
that it's easier to see where we're currently at.
Has no effect with `make -j2`
Fixes #1358
Alexey Sokolov [Sun, 15 Jan 2017 23:07:25 +0000 (23:07 +0000)]
Merge branch 'master' of github.com:znc/znc
Alexey Sokolov [Sun, 15 Jan 2017 11:36:53 +0000 (11:36 +0000)]
Fix build on macOS Sierra (10.12)
Rename OS X to macOS
Add Sierra to Travis
Alexey Sokolov [Sun, 15 Jan 2017 18:17:44 +0000 (18:17 +0000)]
Travis: the last job should wait for the rest, not the first one
Mitigate timeouts
Jos Ahrens [Thu, 5 Jan 2017 10:45:56 +0000 (10:45 +0000)]
SASL: More informative help command for Set.
With #1338, the parameter username was made optional, but the help
was not changed to reflect this.
ref. https://github.com/znc/znc/pull/1338#issuecomment-
270563035
Alexey Sokolov [Thu, 12 Jan 2017 00:08:35 +0000 (00:08 +0000)]
Add a TODO
[skip ci]
Alexey Sokolov [Sun, 8 Jan 2017 10:06:21 +0000 (10:06 +0000)]
Fix missing renames in #1191
Alexey Sokolov [Sun, 8 Jan 2017 02:47:06 +0000 (02:47 +0000)]
Fix detection of _FILE_OFFSET_BITS in CMake
The test wrongly succeeded in C instead of correctly failing in C++
That caused off_t to be different types in core and in modpython on
32-bit systems, and modpython couldn't load with undefined symbol.
Alexey Sokolov [Tue, 27 Dec 2016 09:20:20 +0000 (09:20 +0000)]
Make cyrusauth translateable (#1354)
Alexey Sokolov [Mon, 26 Dec 2016 19:54:52 +0000 (19:54 +0000)]
Partially fix type of function pointer.
Found using UBSan.
Full fix would require adding visibility attribute to CUser,
CIRCNetwork, CModule, CModuleEntry, CModInfo *and* make sure these
attributes are visible to enough code.
The second statement is more difficult to fulfill, because forward
declaration of CUser is not enough, because the attribute is on class
definition. So Modules.h would need to include many other includes.
Probably it should be changed at some point.
See http://stackoverflow.com/questions/
27976687 /clangs-ubsan-function-pointer-is-this-illegal
Jos Ahrens [Fri, 9 Dec 2016 19:21:15 +0000 (20:21 +0100)]
stickychan: Timer down to 60 seconds from 180.
Jos Ahrens [Fri, 21 Oct 2016 10:27:54 +0000 (10:27 +0000)]
stickychan: stop checking so often, increase delay to once every 3 minutes
Alexey Sokolov [Mon, 26 Dec 2016 17:22:09 +0000 (17:22 +0000)]
Fix a couple of issues pointed out by https://scan.coverity.com/
Alexey Sokolov [Mon, 26 Dec 2016 15:49:26 +0000 (15:49 +0000)]
Add an option to change ping timeout time.
Fix #979
Alexey Sokolov [Sun, 25 Dec 2016 21:10:40 +0000 (21:10 +0000)]
Make it possible to translate arguments in help text of module commands
Ref #1354
Alexey Sokolov [Sun, 25 Dec 2016 21:00:13 +0000 (21:00 +0000)]
Make adminlog and alias translatable, rerun 'make translate'
Ref #1354
Alexey Sokolov [Sun, 25 Dec 2016 20:29:09 +0000 (20:29 +0000)]
Add another layer of indirection for translation
To make supporting old modules easier
Ref #1354
Alexey Sokolov [Sun, 25 Dec 2016 15:49:01 +0000 (15:49 +0000)]
Fix some modpython/modperl dependencies in cmake
Alexey Sokolov [Sun, 25 Dec 2016 15:46:22 +0000 (15:46 +0000)]
Rename new On...Message modules callbacks to be more consistent.
OnPrivMessage -> OnPrivTextMessage
OnChanMessage -> OnChanTextMessage
Fix #1191
Alexey Sokolov [Sun, 25 Dec 2016 13:53:03 +0000 (13:53 +0000)]
Fix build on FreeBSD for the latest CIDR commits
Alexey Sokolov [Sun, 25 Dec 2016 13:19:17 +0000 (13:19 +0000)]
Modernize CIDR code.
Alexey Sokolov [Sun, 25 Dec 2016 13:00:02 +0000 (13:00 +0000)]
Add CIDR support to TrustedProxy setting
Fix #1219
Alexey Sokolov [Sat, 24 Dec 2016 18:53:25 +0000 (18:53 +0000)]
Add Ru translation for existing strings in core.
It's not very big so far.
See #1354
Alexey Sokolov [Mon, 19 Dec 2016 16:47:29 +0000 (16:47 +0000)]
Refactor the way how modules are loaded.
Make version checks more strict.
This finishes attempt to preserve ABI between patch versions. That
didn't work well, and the people who could make it work, left the
project already.
Close #1255
Close #1274
Close #172
Alexey Sokolov [Thu, 22 Dec 2016 20:43:55 +0000 (20:43 +0000)]
Fix a warning in samplewebapi
Alexey Sokolov [Wed, 21 Dec 2016 08:59:10 +0000 (08:59 +0000)]
Rerun SWIG in CMake build when headers change.
Alexey Sokolov [Sat, 10 Dec 2016 21:18:47 +0000 (21:18 +0000)]
Revert openssl workaround of 1.6 branch from 1.7 branch
Alexey Sokolov [Sat, 10 Dec 2016 21:18:10 +0000 (21:18 +0000)]
Merge branch '1.6.x'
Alexey Sokolov [Sat, 10 Dec 2016 21:07:02 +0000 (21:07 +0000)]
Return version number to 1.6.x
Alexey Sokolov [Sat, 10 Dec 2016 20:51:18 +0000 (20:51 +0000)]
Increase the version number to 1.6.4
Alexey Sokolov [Sat, 3 Dec 2016 19:23:00 +0000 (19:23 +0000)]
1.6.4-rc3
Alexey Sokolov [Sat, 3 Dec 2016 19:08:56 +0000 (19:08 +0000)]
Stop-gap for OpenSSL 1.1 in 1.6 branch.
This is properly fixed already in 1.7 branch.
Alexey Sokolov [Thu, 1 Dec 2016 23:31:26 +0000 (23:31 +0000)]
Fix #1347 for 1.7 branch.
Commit
51fb6f09f4b8065b82f9a0ab1d1702ad8998f389 in 1.6.x branch has more
details.
Alexey Sokolov [Thu, 1 Dec 2016 23:23:56 +0000 (23:23 +0000)]
Don't reset module's attributes to NULL during CALLMOD.
It conflicted with nested calls to a module. Such calls usually don't
happen, but could be triggered using alias module.
In this case m_pClient became NULL while executing the alias, and the
rest of that alias caused segfault.
Fix #1347
Alexey Sokolov [Tue, 22 Nov 2016 23:50:32 +0000 (23:50 +0000)]
route_replies: fix module to check if we are not connected to a network.
Cherry-pick of
34db7be4ae751ee8b7cac8429c1aba601a882e0e
Alexey Sokolov [Sun, 20 Nov 2016 23:51:03 +0000 (23:51 +0000)]
ZNC 1.6.4-rc1
Alexey Sokolov [Sun, 20 Nov 2016 23:43:53 +0000 (23:43 +0000)]
Link pyeval to its wiki page
Alexey Sokolov [Sun, 20 Nov 2016 18:01:59 +0000 (18:01 +0000)]
Merge branch '1.6.x'
Alexey Sokolov [Sun, 20 Nov 2016 17:52:26 +0000 (17:52 +0000)]
Fix deletion of users which are connecting.
Close #1342
Alexey Sokolov [Sat, 19 Nov 2016 23:41:15 +0000 (23:41 +0000)]
Merge branch '1.6.x' of github.com:znc/znc into 1.6.x
Alexey Sokolov [Sat, 19 Nov 2016 23:39:32 +0000 (23:39 +0000)]
Merge branch '1.6.x'
Alexey Sokolov [Sat, 19 Nov 2016 23:35:12 +0000 (23:35 +0000)]
Fix regression of 1.6.0
Cloning a user caused a non-immediate segfault.
This was fixed already in 1.7 branch (by refactoring).
Fix #1340
Alexey Sokolov [Thu, 17 Nov 2016 23:45:25 +0000 (23:45 +0000)]
Workaround gitter for 1.6
It's fixed properly for 1.7 already.
Fix #1321
Will Elwood [Wed, 16 Nov 2016 15:43:29 +0000 (15:43 +0000)]
Fix version.sh for ancient git
I'm not sure when the `format` argument was added to `git log`, but it seems to be an alias for `pretty` (ie both exist in current versions of git). I noticed this was failing on my ancient system that's stuck with git 1.5, this makes it work.
Also, `ignore-submodules` is not understood by ancient `git status` - I believe the expected output would be achieved by simply removing this argument, but it's not important since it fails gracefully enough and fixing it so newer git doesn't fail seems more complicated.
Alexey Sokolov [Wed, 16 Nov 2016 14:50:25 +0000 (14:50 +0000)]
Merge branch '1.6.x'
Fix #1310
Alexey Sokolov [Wed, 16 Nov 2016 14:50:00 +0000 (14:50 +0000)]
Update Csocket submodule: fix openssl 1.1
Alexey Sokolov [Wed, 16 Nov 2016 14:42:34 +0000 (14:42 +0000)]
Update Csocket submodule: fix build with openssl 1.1
Alexey Sokolov [Sat, 12 Nov 2016 14:51:02 +0000 (14:51 +0000)]
AppVeyor: cygwin's python3 package was split to -devel. Install it.
Jos Ahrens [Sat, 5 Nov 2016 17:58:36 +0000 (17:58 +0000)]
sasl: Make the first requirement for SET actually mandatory, return information about settings if no input for SET
John Reese [Mon, 31 Oct 2016 00:52:32 +0000 (17:52 -0700)]
Fix spelling in documentation
Alexey Sokolov [Sat, 8 Oct 2016 22:31:06 +0000 (23:31 +0100)]
Merge pull request #1327 from lol768/module_csrf_override
Module CSRF override support (mark II)
Close #1180
Close #1296
lol768 [Sat, 1 Oct 2016 21:06:21 +0000 (22:06 +0100)]
Fix race condition by using ReadUntil per review
lol768 [Sat, 1 Oct 2016 19:39:14 +0000 (20:39 +0100)]
Address review comment, module is already global
https://github.com/lol768/znc/commit/
b94c639e6a1755c33cc315aad247bbc50a83209e #commitcomment-
19252797
lol768 [Thu, 29 Sep 2016 19:45:40 +0000 (20:45 +0100)]
Add integration test for module CSRF overrides
lol768 [Thu, 29 Sep 2016 19:45:19 +0000 (20:45 +0100)]
Sample web API doesn't make sense as a user module
lol768 [Thu, 29 Sep 2016 19:44:56 +0000 (20:44 +0100)]
Allow anonymous access for sample mod
This makes testing simpler.
lol768 [Thu, 29 Sep 2016 18:49:49 +0000 (19:49 +0100)]
More relevant comments for CSRF behaviour
Latchezar Tzvetkoff [Fri, 15 Jul 2016 15:01:41 +0000 (18:01 +0300)]
Allow modules to override CSRF protection.
Useful for Web APIs and all other kinds of things.
API changes:
- Added public CHTTPSock::GetURI() method
- Added public CModule::ValidateWebRequestCSRFCheck() method
- Made CWebSock::GetCSRFCheck() method public so it can be accessed
from CModule
- Added public CWebSock::ValidateCSRFCheck() method
Other changes:
- Added a Sample Web API module (modules/samplewebapi.cpp) and a
simple web form with no CSRF check.
Implements feature request #1180.
Alexey Sokolov [Tue, 4 Oct 2016 00:20:47 +0000 (01:20 +0100)]
Fix newest additions to keepnick module and write the test for it.
Fix the documentation.
See #1324 and #1325
Alexey Sokolov [Tue, 4 Oct 2016 00:19:34 +0000 (01:19 +0100)]
Make ZNC faster in the integration test.
This is not appropriate for normal usage.
Alexey Sokolov [Mon, 3 Oct 2016 22:55:35 +0000 (23:55 +0100)]
Make integration test to load until module is loaded before testing it.
Jos Ahrens [Mon, 3 Oct 2016 22:23:45 +0000 (00:23 +0200)]
keepnick: improve behaviour by listening to ircd-side numeric errors (#1324)
Fixes #945
Jos Ahrens [Sat, 1 Oct 2016 22:49:28 +0000 (23:49 +0100)]
Message.h: Add a comment briefly explaining how to use the class, and what exactly a message is.
Donovan Zimmerman [Fri, 30 Sep 2016 16:46:51 +0000 (12:46 -0400)]
nickserv: support messages from X3 services
Alexey Sokolov [Fri, 23 Sep 2016 20:59:09 +0000 (21:59 +0100)]
Merge commit 'refs/pull/1319/head' of github.com:znc/znc
Alexey Sokolov [Fri, 23 Sep 2016 20:58:42 +0000 (21:58 +0100)]
Merge commit 'refs/pull/1320/head' of github.com:znc/znc
Alexey Sokolov [Fri, 23 Sep 2016 20:57:00 +0000 (21:57 +0100)]
Try Codecov. It has better GUI than Coveralls.
For now both are enabled.
arza [Fri, 23 Sep 2016 15:13:07 +0000 (18:13 +0300)]
Hide passwords in listservers output