Commit Graph

3642 Commits

Author SHA1 Message Date
J-P Nurmi
bca6e2e39d stickychan: use CModCommand 2014-11-04 00:01:31 +01:00
J-P Nurmi
57b25ab277 simple_away: use CModCommand 2014-11-03 23:55:21 +01:00
J-P Nurmi
ac7cf938c6 savebuff: use CModCommand 2014-11-03 23:47:33 +01:00
J-P Nurmi
4b6a5042ad listsockets: use CModCommand 2014-11-03 23:38:42 +01:00
J-P Nurmi
88c397a700 kickrejoin: use CModCommand 2014-11-03 23:29:19 +01:00
J-P Nurmi
44bab0a6be keepnick: use CModCommand 2014-11-03 23:12:28 +01:00
J-P Nurmi
85524f4408 ctcpflood: use CModCommand 2014-11-03 23:08:47 +01:00
J-P Nurmi
2a03a6ab92 crypt: use CModCommand 2014-11-03 23:08:47 +01:00
J-P Nurmi
bf87ebb263 clientnotify: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
7bc1fa68e0 blockuser: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
5295fed83e autovoice: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
f1eaa7d63e autoreply: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
9e41fe869f autoop: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
85e92f5669 autocycle: use CModCommand 2014-11-03 23:08:46 +01:00
J-P Nurmi
354a89e45b adminlog: use CModCommand 2014-11-03 23:08:46 +01:00
Alexey Sokolov
7f4cdd6ad7 Merge pull request #734 from jpnurmi/gitignore
Update .gitignore
2014-11-03 21:19:11 +00:00
J-P Nurmi
b240438b1a Update .gitignore 2014-11-03 19:06:34 +01:00
Alexey Sokolov
5365dc462c Merge pull request #731 from jpnurmi/self-message
Add self-message support
2014-11-02 19:16:16 +00:00
Alexey Sokolov
50bf7176fe Merge pull request #553 from wolfhechel/master
Read aliased commands before sending, allowing to alias module commands.
2014-11-02 19:08:40 +00:00
Alexey Sokolov
5b863ddec5 Merge pull request #730 from jpnurmi/buffextras
Resolve #723: Allow buffextras as a network-level module
2014-11-02 18:52:44 +00:00
J-P Nurmi
382ce76ded Add self-message support
https://github.com/ircv3/ircv3-specifications/blob/master/extensions/self-message-3.2.md
2014-11-02 16:59:17 +01:00
J-P Nurmi
8fdf51dfeb Fix CNick::Parse()
If the mask started with ':', the following '!' was included to nick.
2014-11-01 13:17:32 +01:00
Pontus Carlsson
e7b0138a09 Process aliased commands before sending them (#552)
Which makes it possible to alias znc module commands.
2014-11-01 10:48:00 +01:00
J-P Nurmi
71bbefc068 Resolve #723: Allow buffextras as a network-level module 2014-10-30 21:52:18 +01:00
Alexey Sokolov
5aa5e99a08 Merge pull request #727 from markusj/savebuff-on-autoclear-too
savebuff: do not skip channels with AutoClearChanBuffer==true
2014-10-29 20:51:48 +00:00
Alexey Sokolov
7b37f5aa5d Merge pull request #726 from jpnurmi/leak
Fix #725: CHTTPSock memory leak - missing deflateEnd() call
2014-10-29 06:50:00 +00:00
Alexey Sokolov
15283da006 Merge pull request #721 from markusj/modpy-can-have-args
modpython: Use has_args and args_help_text from module
2014-10-29 06:38:28 +00:00
J-P Nurmi
b822ea8e16 Fix #725: CHTTPSock memory leak - missing deflateEnd() call 2014-10-29 00:19:40 +01:00
Alexey Sokolov
917924c51a Merge commit 'refs/pull/722/head' of github.com:znc/znc 2014-10-28 07:30:09 +00:00
Alexey Sokolov
1a8f15d510 Support CZNC::GetUserMap() from modpython.
Thanks to lol768 for reporting it.
2014-10-28 07:22:50 +00:00
Markus Jung
4eaed93764 simple_away: apply auto-away on load if no user is connected 2014-10-28 02:42:31 +01:00
Markus Jung
79d8ae7432 modpython: set has_args and args_help_text from module 2014-10-28 01:23:31 +01:00
Alexey Sokolov
6109c7d317 Merge pull request #714 from jpnurmi/clientcmd
Make Detach, EnableChan and DisableChan accept multiple channels
2014-10-26 22:44:11 +00:00
Alexey Sokolov
8ff8af70e9 Merge pull request #715 from jpnurmi/log
log: add support for logging rules
2014-10-26 22:13:51 +00:00
J-P Nurmi
bbd393d84f log: add support for logging rules
By default, everything is logged. The first matching rule wins.
Negation (!) and wildcards (*) are supported.

For example, disable logging for all channels, except #znc:

    /msg *log setrules #znc !#*

Queries do not match either of the above rules, so they get logged.
2014-10-26 22:58:45 +01:00
J-P Nurmi
ba1b1da701 Make Detach, EnableChan and DisableChan accept multiple channels
These commands now take a comma/space separated list
2014-10-26 22:18:29 +01:00
Alexey Sokolov
19b4dbdaba Merge pull request #717 from jpnurmi/ssl-ciphers
Resolve #621: Config option for allowed SSL ciphers
2014-10-26 20:50:52 +00:00
Alexey Sokolov
6509e26b89 Fix modpython+shared_ptr 2014-10-26 20:32:46 +00:00
Markus Jung
629e156975 savebuff: do not skip channels with AutoClearChanBuffer==true 2014-10-26 17:05:29 +01:00
J-P Nurmi
3d57ccb738 Resolve #621: Config option for allowed SSL ciphers
In the global section, for example:

    SSLCiphers = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

https://www.openssl.org/docs/apps/ciphers.html
https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers
2014-10-26 14:59:36 +01:00
Alexey Sokolov
e337cb433d Merge commit 'refs/pull/665/head' of github.com:znc/znc 2014-10-26 12:17:31 +00:00
Alexey Sokolov
4e79702142 Merge commit 'refs/pull/716/head' of github.com:znc/znc 2014-10-26 11:56:15 +00:00
Alexey Sokolov
4562f1c67b Merge commit 'refs/pull/705/head' of github.com:znc/znc 2014-10-26 11:44:35 +00:00
J-P Nurmi
954f22ccc0 Disable insecure SSLv2 & SSLv3 protocols (ref #621) 2014-10-26 11:58:33 +01:00
J-P Nurmi
9a8786377b Update Csocket to aefa339
> Support ECDHE exchange if available in OpenSSL
> add openssl's fix for POODLE bug in server mode.
> Give Csocket consumers the ability to disable less desirable protocols
2014-10-26 11:53:18 +01:00
J-P Nurmi
ba64324a39 Introduce patch level version number for bug fix releases
The patch level version number is ignored in module and config
version compatibility checks. Radically simplified, bug fix
releases shall not touch the headers nor change the config file.
2014-10-20 07:45:58 +02:00
J-P Nurmi
1d19bac8ad Refactor chansaver (#674)
CChan now keeps track of the state. The module no longer needs to
rely on incoming messages, but can just mark whether each channel
should be kept in config or not. Cleanup things and use C++11 for
loops while we're at it...
2014-10-20 07:12:16 +02:00
J-P Nurmi
c424bd7aca CChan: keep track of the state
Make CChan keep track of the channel key, and schedule saving of the
config file when appropriate. This is more robust than trying to do
it from within the chansaver module.
2014-10-20 07:11:38 +02:00
J-P Nurmi
206c149f48 Scheduling of quiet vs. verbose config saving
Rename the current ECONFIG_NEED_WRITE to ECONFIG_NEED_VERBOSE_WRITE
as it always broadcasts the result for SIGUSR1, even on success.
Keep ECONFIG_NEED_WRITE for cases where the config should be written
without a notification of success.
2014-10-20 06:55:02 +02:00
Alexey Sokolov
a888d38511 Merge pull request #704 from jpnurmi/joindelay
Configurable join delay
2014-10-19 23:57:22 +01:00