Commit Graph

3708 Commits

Author SHA1 Message Date
Alexey Sokolov 0ff3e34985 Simplify nickserv module.
Now alias module exists, so nickserv module doesn't need any custom
command. It justs identifies user.

Close #662
2014-12-22 13:07:23 +00:00
Alexey Sokolov f050780f2c Merge pull request #779 from Mkaysi/sasl
sasl.cpp: don't advertise DH-* as secure
2014-12-21 19:33:50 +00:00
Mikaela Suomalainen fac07b2e5a sasl.cpp: don't advertise DH-* as secure
They were removed from Atheme, because people thought them to be more
secure than PLAIN + SSL, so ZNC shouldn't advertise them as secure.

I think that DH-AES and DH-BLOWFISH should say something about not being
widely supported, but I am not sure what. Newer Atheme doesn't support
it and with Anope they are optional unlike PLAIN and EXTERNAL that are
in their SASL core.
2014-12-21 21:28:13 +02:00
Alexey Sokolov 8930fc4d7a Don't break IRC control characters in some encodings
Fix #577
2014-12-21 17:09:59 +00:00
Alexey Sokolov bd9450b99e Webadmin: Add GUI for character encoding 2014-12-21 17:08:41 +00:00
Alexey Sokolov 86e5ca3fd3 Update Csocket to 7c9c6ef676818457a952c2bda478ce7e27a928bf
* Add encoding mode which reads UTF-8 and something else, but sends UTF-8
* Expose encoding conversion error callbacks to subclasses
2014-12-21 17:07:29 +00:00
Alexey Sokolov 4f48bff6a4 Merge pull request #777 from James-TR/Csocket_update
Csocket update
2014-12-18 12:56:19 +00:00
James Taylor 6720eec669 Update Csocket to jimloco/Csocket@09b6430dba
Fixes build failures under musl, an alternative libc, due to
incompatibilities with GLIBC specific code. Also fixes Issue #776
2014-12-18 11:31:32 +00:00
Alexey Sokolov 9e05bb1917 Make list of vars in controlpanel's help compact 2014-12-18 10:31:09 +00:00
Alexey Sokolov 2ee19fd415 Make wording of JumpNetwork's help a bit clealer 2014-12-16 21:59:30 +00:00
Martin Martimeo a66c6164a7 Release python/swig ownership when adding object created in python to ZNC container
Patch by MartinMartimeo (#538)
2014-12-16 13:40:06 +00:00
Alexey Sokolov fa590ac059 Travis: try fix docs generator again 2014-12-16 13:16:23 +00:00
Alexey Sokolov c570b551aa Honor X-Forwarded-For of HTTP clients not only in web.
Fix #537
2014-12-16 10:50:06 +00:00
Alexey Sokolov a65954bb72 Travis: try to fix doc generation 2014-12-15 18:49:47 +00:00
Alexey Sokolov 105fdc82d9 Travis: hide secret key after usage, just for case 2014-12-15 18:31:15 +00:00
Alexey Sokolov d63c419d87 Travis: optimize generations of docs a bit 2014-12-15 18:20:10 +00:00
Alexey Sokolov 5c27b2aea2 Travis: fix syntax error 2014-12-15 18:08:57 +00:00
Alexey Sokolov c9db306440 Travis: update docs only for useful changes in docs 2014-12-15 17:43:00 +00:00
Alexey Sokolov 4a5fddce7e Fix typo in comment 2014-12-15 15:52:51 +00:00
Alexey Sokolov 04148b970b Use random DNS result instead of choosing the same every time.
Fix #133
2014-12-15 14:25:03 +00:00
Alexey Sokolov 7fc918c2e6 Update Csocket to 60a71941eac8e4b5728abd82deb95db4668345be
It fixes crash on SSL renegotiation if Csock object was swapped with
another one
2014-12-14 16:40:46 +00:00
Alexey Sokolov 8bc433a576 Convert fingerprint to lower case when adding it. 2014-12-14 10:33:57 +00:00
Alexey Sokolov 60ec923d1f Fix calculation of SSL fingerprints 2014-12-14 09:58:00 +00:00
Alexey Sokolov 571a53edb1 Merge pull request #767 from jpnurmi/csocket
Update Csocket to 3cc03c2 (fixes #765)
2014-12-10 21:42:55 +00:00
J-P Nurmi a32413c213 Update Csocket to 3cc03c2 (fixes #765)
> Test that SSL_OP_NO_COMPRESSION is defined
2014-12-10 18:09:30 +01:00
Alexey Sokolov c8f49e1da0 Merge pull request #754 from jpnurmi/ready
Add CClient::IsPlaybackActive()
2014-12-04 21:56:13 +00:00
Alexey Sokolov 32011464dd Travis: turn off UBSan 2014-12-02 22:04:58 +00:00
Alexey Sokolov e535e62390 Fix connection of SSL clients to ZNC 2014-12-02 21:42:28 +00:00
Alexey Sokolov 6d7458c678 Merge branch 'ssl' 2014-12-02 21:24:49 +00:00
J-P Nurmi efe1e1ee91 Add CClient::IsPlaybackActive()
To let modules know whether a client is currently in playback mode.
The clientbuffer module (#343) wants to update "last seen message"
timestamps in OnSendToClient() but it must avoid doing that while
in playback mode.
2014-12-01 11:47:24 +01:00
Alexey Sokolov 4442af724f Validate TLS certificate of IRC server.
Fix #156
2014-11-29 14:25:15 +00:00
Alexey Sokolov 73d71cc388 Merge pull request #756 from jpnurmi/timestamp
Pass timestamp to playline hooks
2014-11-29 11:27:25 +00:00
Alexey Sokolov f611894116 Merge pull request #760 from jpnurmi/attach
Fix #759 - channels cannot be reattached
2014-11-27 22:46:48 +00:00
J-P Nurmi 80b799cec0 Pass timestamp to playline hooks
This allows implementing timestamp-based (eg. client specific - #343)
filtering of playback buffers. For clients that don't support server-time,
getting an accurate timestamp out of a raw buffer playline is impossible.
2014-11-27 20:45:35 +01:00
Alexey Sokolov acc3394cfc Merge pull request #758 from jpnurmi/buildmod
znc-buildmod: build output to the current working directory
2014-11-26 22:50:54 +00:00
Alexey Sokolov 28bee5aff3 Honor SSL ciphers in ZNC->Server connections 2014-11-26 22:31:12 +00:00
Alexey Sokolov c94a8137de Update Csocket to 5746796ca55d21fa185caf7c58d015f650b77768 2014-11-26 21:36:17 +00:00
J-P Nurmi 4a31ec57de Fix #759 - channels cannot be reattached
This was a regression caused by aed1d61 :(
2014-11-26 12:34:47 +01:00
Alexey Sokolov abb0ca5bd3 Fix build without threads 2014-11-24 21:28:40 +00:00
J-P Nurmi 38ff15ca6e znc-buildmod: build output to the current working directory
If I run znc-buildmod in ~/.znc/modules and pass it a module source
from another directory, I expect the build output to go to the current
working directory instead of the source directory of the module.
2014-11-24 21:11:20 +01:00
Alexey Sokolov 1b7c637dbd Merge pull request #753 from jpnurmi/listclients
ListClients: add identifier column
2014-11-20 20:53:50 +00:00
Alexey Sokolov e2a4ebf838 Merge pull request #751 from jpnurmi/csocket
Update Csocket to b5185dc
2014-11-19 23:25:32 +00:00
Alexey Sokolov eedeb07cfe Merge pull request #752 from jpnurmi/findclients
Replace CIRCNetwork::FindClient() with FindClients()
2014-11-19 21:42:53 +00:00
J-P Nurmi d308d727f7 Replace CIRCNetwork::FindClient() with FindClients()
FindClient() is not enough, because there are no restrictions to used
identifiers. They don't necessarily need to be unique, and the same
identified client might re-connect meanwhile a ghost connection is
still hanging there.
2014-11-19 19:12:22 +01:00
J-P Nurmi dd9c2b70d3 Update Csocket to b5185dc
> Fix IsConnected() to return false when Disconnected() gets called
2014-11-19 19:11:50 +01:00
J-P Nurmi f4dc03b125 ListClients: add identifier column 2014-11-12 10:22:34 +01:00
J-P Nurmi aed1d61a98 Revise CChan::JoinUser() & AttachUser()
The old AttachUser() that sent JOIN without topic or names replies
would leave clients in incomplete/broken state. JoinUser() was doing
two things; depending on passed arguments it was either joining user
on the channel on IRC, or attaching clients (properly). Now JoinUser()
joins the user on IRC, and AttachUser() attaches as expected from the
method names.
2014-11-10 22:24:34 +01:00
Alexey Sokolov 24a72d9a32 Merge branch 'lambda' 2014-11-08 16:39:41 +00:00
Alexey Sokolov 26c19826d3 Enable UBSan in travis 2014-11-08 16:11:51 +00:00
Alexey Sokolov 069d0ba0a6 Merge pull request #728 from jpnurmi/ssl-protocols
Config option for SSL protocols (#720)
2014-11-06 23:15:25 +00:00