Commit Graph

284 Commits

Author SHA1 Message Date
J-P Nurmi a13b4a8e46 CZNC: add missing SSL-related getters and setters
- SSLCiphers
- SSLProtocols
- SSLCertFile
2015-08-05 01:05:46 +02:00
J-P Nurmi f266b54e6e Fix ClearTrustedFingerprints() casing 2015-08-05 00:44:51 +02:00
J-P Nurmi 66413ae516 Add CIRCNetwork::ClearTrustedFingerPrints() 2015-08-05 00:35:16 +02:00
J-P Nurmi dce289a5d4 CUser: add API for removing and clearing allowed hosts 2015-08-04 16:09:27 +02:00
J-P Nurmi 9fe1027d8a Add missing CChan::GetNetwork() 2015-08-02 23:40:12 +02:00
J-P Nurmi b16faf5058 Merge pull request #990 from jpnurmi/reset
Allow reseting channel specific AutoClearChanBuffer & Buffer settings
2015-08-01 12:30:36 +02:00
J-P Nurmi 015a8f6502 Merge branch '1.6.x'
Conflicts:
	src/Client.cpp
	znc-buildmod.in
2015-07-31 23:56:04 +02:00
J-P Nurmi 2098dc1f2c Merge pull request #992 from jpnurmi/fail2ban
fail2ban: configurability & commands
2015-07-31 23:32:15 +02:00
J-P Nurmi 53d9161b20 Merge pull request #998 from jpnurmi/buffer
Resolve #967: separate chan & query buffer size settings
2015-07-31 22:51:03 +02:00
J-P Nurmi 87ae630046 Merge pull request #991 from jpnurmi/initializer_list
Add initializer_list ctors for CString & MCString
2015-07-31 22:08:43 +02:00
Alexey Sokolov baa798ce9f Fix -DVERSION_EXTRA="foo"
It was broken since 58a34fa5ad (since ZNC 1.2)
2015-07-21 22:47:09 +01:00
J-P Nurmi 496a132e32 Resolve #967: separate chan & query buffer size settings 2015-07-19 00:31:10 +02:00
J-P Nurmi 6246899c56 Add support for extended-join (#316) 2015-07-14 18:29:33 +02:00
J-P Nurmi d070a6e644 Add support for account-notify (#316) 2015-07-14 17:02:16 +02:00
J-P Nurmi f506a59993 Add TCacheMap::GetItems() 2015-07-13 23:51:25 +02:00
J-P Nurmi 1aba508298 Add initializer_list ctors for CString & MCString 2015-07-13 19:04:14 +02:00
J-P Nurmi 0d75018157 Allow reseting channel specific AutoClearChanBuffer & Buffer settings
The trick is to set the value to "-" in controlpanel. Notice that
controlpanel supports wildcards, so this can be used to easily
reset all channels back to defaults if desired.
2015-07-08 22:56:18 +02:00
J-P Nurmi 1fb321703d Add away-notify support - close #315 2015-07-05 13:33:27 +02:00
J-P Nurmi 089a0fd925 Add cap-notify support
This change alone doesn’t notify any capabilities to clients, but makes
ZNC itself offer cap-notify and builds the foundations for various
notifiable capabilities, such as away-notify, can be easily added.
2015-07-05 13:33:27 +02:00
Alexey Sokolov e8d0dcc2bc Merge commit 'refs/pull/980/head' of github.com:znc/znc 2015-06-29 20:28:48 +01:00
Alexey Sokolov 5faaf67f48 Fix doxygen of CModule::GetNetwork() and CModule::GetClient()
Thanks to BtbN for reporting this.
2015-06-23 21:06:25 +01:00
Mikaela Suomalainen 3aec1c73f2 IRCNetwork.h: lower ping frequency & timeout
Ref: #979
2015-06-22 08:25:14 +03:00
J-P Nurmi e3954f4824 Implement IRCv3.2 echo-message capability on the "client side"
http://ircv3.net/specs/extensions/echo-message-3.2.html

TODO: Add echo-message support to CIRCSock when IRCds start supporting it.
Manual echoing won't be necessary for networks that support echo-message.
2015-04-26 19:49:39 +02:00
Alexey Sokolov 4f4872a899 Update comment about CTable 2015-04-19 22:51:24 +01:00
Alexey Sokolov 00404b8cbb Revert "Make tables... not so tabular."
This reverts commit 2c3064fb56.
2015-04-18 17:38:56 +01:00
Alexey Sokolov 144f7984e4 Don't require CSRF token for POSTs if the request uses HTTP Basic auth.
See #946
2015-04-16 20:57:29 +01:00
Alexey Sokolov 926989342c Cleanup CTable after making it not a table earlier 2015-04-09 21:12:21 +01:00
Alexey Sokolov 1df5d91a53 Merge branch '1.6.x' 2015-04-09 21:06:09 +01:00
Alexey Sokolov 2c3064fb56 Make tables... not so tabular.
Fix #743
Fix #914
Close #922
2015-04-09 07:34:00 +01:00
Thomas Kriechbaumer a56d4cae6a do not call OnAddUser hook during ZNC startup 2015-03-31 12:15:40 +01:00
Thomas Kriechbaumer 28bb50fa1a refactor config parsing 2015-03-31 12:15:40 +01:00
J-P Nurmi 5aa8b0dcef Fix copy ctor/assignment oper warnings of -Weffc++ (#270) 2015-03-07 21:54:33 +01:00
J-P Nurmi e1ada6c643 TDNSTask & CDNSJob: use member intialization lists [-Weffc++] (#270) 2015-03-07 21:54:33 +01:00
J-P Nurmi d16f35facc CModule: use member initialization lists [-Weffc++] (#270)
This fixes the problem that CModule::GetType() returned a random
uninitialized value in CModule constructor, which was als the reason
for #905. CModule constructor signature has been changed so that it
optionally takes the type so it can be initialized appropriately.

The new type argument has a default value in order to retain source
compatibility in case some 3rdparty module would call CModule ctor
by hand instead of using the MODCONSTRUCTOR macro.
2015-03-07 21:54:33 +01:00
J-P Nurmi 940cae8f09 Fix reserved identifier violation in header guards (#433) 2015-03-06 22:25:47 +01:00
J-P Nurmi a5b4a29c00 Revert StripControls implementation (#850)
This reverts commits 27d78795a7 and
f27109f1b4. It was decided that the
functionality is provided by a separate module instead, to avoid
unnecessarily bloating the core.
2015-03-04 09:50:00 +01:00
J-P Nurmi 197411e602 Display development version as "1.7.x" - ref #748 2015-03-01 23:04:37 +01:00
J-P Nurmi 1d2650d450 Use member initialization lists [-Weffc++] (#270) 2015-03-01 15:00:10 +01:00
Alexey Sokolov 56f8d8eb76 Merge pull request #906 from jpnurmi/weffc++
Use member initialization lists [-Weffc++] (#270)
2015-02-28 20:29:08 -08:00
J-P Nurmi 6a6bb648d1 Use member initialization lists [-Weffc++] (#270) 2015-02-28 21:59:01 +01:00
J-P Nurmi 2b0c6e595b Restore CIRCNetwork::ClearQueryBuffer() for convenience
Originally removed when query buffers were introduced in 14a534c.
The ideal name would be plural ClearQueryBuffers() now that there
are multiple query buffers, but use the old name for compatibility
reasons (see https://github.com/kylef/znc-contrib/pull/18).
2015-02-28 20:56:02 +01:00
J-P Nurmi bd044cf6fc Display development version as "1.6.x" - ref #748 2015-02-28 09:36:32 +01:00
Alexey Sokolov 18897e47d9 Merge pull request #897 from jpnurmi/override
Add missing override keywords (#816)
2015-02-26 21:19:41 -08:00
J-P Nurmi dd0bc69413 Add missing override keywords (#816) 2015-02-27 00:24:02 +01:00
J-P Nurmi 75b210e841 Search'n'replace remaining NULL occurrences (#816) 2015-02-26 20:58:01 +01:00
J-P Nurmi 6002bd5c2b Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
J-P Nurmi ef9939e1ec Add override (#816)
Changes applied by 'clang-modernize -add-override [...]'
2015-02-25 09:24:00 +01:00
J-P Nurmi 70c0ffb10b Use nullptr (#816)
Changes applied by 'clang-modernize -use-nullptr [...]'
2015-02-25 09:20:20 +01:00
J-P Nurmi a31b698c64 Fix copy ctor/assignment oper warnings of -Weffc++ (#270)
include/znc/Foo.h: warning: ‘class CFoo’ has pointer data members [-Weffc++]
    include/znc/Foo.h: warning:   but does not override ‘CFoo(const CFoo&)’ [-Weffc++]
    include/znc/Foo.h: warning:   or ‘operator=(const CFoo&)’ [-Weffc++]
2015-02-24 23:35:37 +01:00
ManiacTwister f27109f1b4 Implemented StripControls for channel messages and notices 2015-02-23 22:14:58 +01:00