Commit Graph

3565 Commits

Author SHA1 Message Date
J-P Nurmi 705e79f808 Remove redundant CWebSocket::GetModule()
CWebSocket inherits CSocket::GetModule()
2014-10-03 09:11:03 +02:00
J-P Nurmi f67acdc7a3 cleanup superfluous semi-colons 2014-10-03 09:10:49 +02:00
Alexey Sokolov 51a62250ca Merge pull request #696 from jpnurmi/csocket
Update Csocket to 71dac61
2014-10-03 07:59:46 +01:00
J-P Nurmi d98094f564 Update Csocket to 71dac61
Csocket has received a bunch of const correctness fixes. Notice that
the signature of one virtual method, Csock::ConvertAddress(), has
changed => CZNCSock has been updated accordingly.
2014-10-02 19:51:41 +02:00
Kyle Fuller cf633ee435 [log] $WINDOW should be last because it could contain %
Thanks to @NuclearW for spotting
2014-09-30 18:28:20 +01:00
Alexey Sokolov 213c3839a8 Merge pull request #693 from jpnurmi/tags
Valueless & escaped message tags
2014-09-29 23:53:55 +01:00
Alexey Sokolov 0b22831958 Merge pull request #681 from jpnurmi/setuservars
Fix #680 - make channels follow user-level settings when appropriate
2014-09-29 23:46:38 +01:00
Alexey Sokolov f4b8f69660 Merge pull request #689 from NuclearW/multitarget-notice+privmsg
Handle multi-receiver NOTICE and PRIVMSG
2014-09-29 23:41:14 +01:00
Alexey Sokolov df2afd5189 Merge pull request #686 from jpnurmi/string
CString improvements
2014-09-29 23:39:42 +01:00
J-P Nurmi 6457bd6dc1 Fix #680 - make channels follow user-level settings when appropriate 2014-09-30 00:34:01 +02:00
J-P Nurmi e20ac1a31e Add CString::Contains() for convenience
This is more convenient and readable than comparing Find() to npos,
which is a common task:

$ git grep "find(" | grep "npos" | wc -l
49
2014-09-30 00:15:34 +02:00
J-P Nurmi 5507e9a290 Add CString::Find() with case sensitivity support 2014-09-30 00:15:22 +02:00
J-P Nurmi 92c9a2e6ae Escape message tag values (ref #684) 2014-09-30 00:02:22 +02:00
J-P Nurmi 65f739980d CString::Starts/EndsWith(): allow specifying case sensitivity 2014-09-29 16:41:07 +02:00
J-P Nurmi e86f43d841 Introduce CaseSensitivity enum class
The enum is a bit more verbose, but leads to more readable code:

str.Equals("foo", true)
// vs.
str.Equals("foo", CString::CaseSensitive)

Deprecate the old Equals() and leave out the length parameter
from the new version => use StartsWith() or StrCmp() instead.
2014-09-29 16:30:45 +02:00
J-P Nurmi 615801c40e Fix valueless message tags (closes #684) 2014-09-29 14:06:41 +02:00
NuclearW ecac78691e Handle multi-receiver NOTICE and PRIVMSG
This changes znc to handle multi-receiver messages in the same way it handles multi-channel join or parts.  This will ensure that no more than one target is ever given to a module for any given call.
2014-09-28 16:46:12 -04:00
Alexey Sokolov 227f2cfb29 Merge pull request #678 from NuclearW/batch-playback
Add ircv3.2 batch and batch channel and query buffer playback.
2014-09-28 21:37:38 +01:00
Alexey Sokolov 439fd6d285 Merge pull request #679 from jpnurmi/setchan
controlpanel: allow wildcards for getchan & setchan
2014-09-28 21:22:10 +01:00
NuclearW 73b6936d6d Add ircv3.2 batch and batch channel and query buffer playback. 2014-09-28 14:57:06 -04:00
Alexey Sokolov 8e4a001def Merge pull request #683 from NuclearW/onunknownuserraw-docs
Correct documentation for OnUnknownUserRaw
2014-09-28 18:09:46 +01:00
NuclearW be27831bf1 Correct documentation for OnUnknownUserRaw 2014-09-28 00:44:30 -04:00
J-P Nurmi a4b0bee2bc controlpanel: allow wildcards for getchan & setchan 2014-09-26 22:34:35 +02:00
Alexey Sokolov 6346f82c39 Merge pull request #682 from NuclearW/route-replies-metadata
Add ircv3.2 METADATA numerics to route_replies
2014-09-26 21:06:35 +01:00
NuclearW 65e99b8a98 Add ircv3.2 METADATA numerics to route_replies 2014-09-26 14:29:33 -04:00
Alexey Sokolov 97428ce8d4 Merge pull request #673 from Mkaysi/sasl
modules/sasl: disable DH-BLOWFISH & AES by default
2014-09-25 23:28:01 +01:00
Alexey Sokolov f193ea01a6 Merge pull request #672 from teward/readme-patch
Reorganize "Installing" section slightly to put "git building" bit first.
2014-09-25 23:26:21 +01:00
Alexey Sokolov 669991f2d0 Merge pull request #639 from NuclearW/stickychan-reconnect
stickychan: Don't join channels when not connected.
2014-09-25 23:24:51 +01:00
Alexey Sokolov cfca3fe750 Merge pull request #676 from ylfchild/master
fixed typo in configure.ac
2014-09-25 22:50:12 +01:00
ylfchild c4daa57344 fixed typo in configure.ac 2014-09-20 12:06:48 +00:00
Mikaela Suomalainen acf2aa4700 modules/sasl: disable DH-BLOWFISH & AES by default
Atheme has dropped them in their git version.
https://github.com/atheme/atheme/commit/15f6d84

I would also like EXTERNAL to be trid by default, but \*Cert and \*CertFP
aren't so used and that wouldn't probably be accepted.
2014-09-16 13:57:08 +03:00
Alexey Sokolov 3e929609d3 Travis: use -fPIE
TSan sometimes fails to build without it.
https://travis-ci.org/znc/znc/builds/35293091
2014-09-15 06:53:50 +01:00
Thomas Ward de99f5b106 Reorganize "Installing" section slightly
Originally at the time of editing, the "Installation is done with the ..." command blurb comes *before* the notice about if you're building from git.  I believe it is more sane to have that come first in the README section for installing, as it will be seen before the actual installation commands are, so people will first see that if they are building from git they'll need to run `./autogen.sh`.
2014-09-14 20:17:27 -04:00
Your Name a52a8e8db1 Fix finding SWIG 3 on FreeBSD 2014-09-14 08:40:50 +01:00
Alexey Sokolov eb244ad2f5 Merge pull request #669 from jpnurmi/help
Allow wildcards in help command args
2014-09-13 23:41:56 +01:00
Alexey Sokolov d06c6431bd Merge pull request #670 from jpnurmi/quit-msg
Allow network specific quit messages
2014-09-13 23:34:26 +01:00
J-P Nurmi 956cdb4564 webadmin: add support for network specific quit messages (#273) 2014-09-13 23:53:08 +02:00
J-P Nurmi 364ac84642 controlpanel: add support for network specific quit messages (#273) 2014-09-13 23:44:55 +02:00
J-P Nurmi fb99593f75 Allow network specific quit messages (resolves #273) 2014-09-13 23:40:22 +02:00
J-P Nurmi 2901225ff3 Tell user about no help filter matches
It's confusing if misspelled command gives no reply at all.
2014-09-13 22:48:21 +02:00
J-P Nurmi 69e65ea45e Allow wildcards in help command args
Supports the help command for *status, all modules that are using
CModCommand as appropriate, and *controlpanel get/set variables.
2014-09-13 22:46:54 +02:00
Alexey Sokolov 39d14a55e6 Merge pull request #667 from Mkaysi/log
log: use more clear defaults
2014-09-13 19:49:56 +01:00
Mikaela Suomalainen 3f76b8fb1a log: use more clear defaults
Before log module creates everything in same directory and it gets messy
in some time.

Now log module creates directory in format $USER/$NETWORK/$WINDOW and
there log files for every day in ISO 8601 format, YYYY-MM-DD.log.
2014-09-13 15:53:32 +03:00
Uli Schlachter fab17f903c Merge pull request #666 from jpnurmi/ctcp
Fix #664: Custom CTCP will leak the real reply
2014-09-13 14:25:58 +02:00
J-P Nurmi 6d08bc60cf Fix #664: Custom CTCP will leak the real reply 2014-09-13 12:58:10 +02:00
Alexey Sokolov ea53813477 Merge pull request #658 from jpnurmi/makeconf
makeconf cont'd
2014-09-12 22:43:37 +01:00
J-P Nurmi e45aa48a91 makeconf: limit the upper bound for allowed port to 65534
Safari/WebKit: "Not allowed to use restricted network port"
2014-09-09 00:01:08 +02:00
J-P Nurmi fec4d20ace makeconf: revise the output and reduce the noise
Long "would you like ZNC to..." questions are slow to read.
Use short and pithy prompts, and try to fit the line width to
less than 80 characters. Furthermore, Remove Word Capitalization.
2014-09-08 23:36:58 +02:00
J-P Nurmi 2d868a892c makeconf: offer freenode by default 2014-09-08 23:32:20 +02:00
J-P Nurmi 1c72af7d2d makeconf: change the channel input loop to a one-liner
The "would you like to add a channel?" ... "would you like to add
another channel?" loop is very verbose and slow to use. This proposal
makes it a simple one-liner where the user can enter a bunch of chans
using any combination of space/comma/semi-colon as a separator, or
just hit enter to proceed without channels...
2014-09-08 23:10:20 +02:00