<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src/testsuite/message-test.e, branch rel-25-rc1</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-25-rc1</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-25-rc1'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2016-01-07T00:54:11+00:00</updated>
<entry>
<title>Send_Message: Fix handling of "empty" targets</title>
<updated>2016-01-07T00:54:11+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2016-01-07T00:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=7dba1a0766b35d01cd8892753d1e0dd578ca2cd9'/>
<id>urn:sha1:7dba1a0766b35d01cd8892753d1e0dd578ca2cd9</id>
<content type='text'>
Clients can specify multiple targets for the "PRIVMSG", "NOTICE", and
"SQUERY" commands, separated by commas (e. g. "PRIVMSG a,#b,c :text").

Since commit 49ab79d0 ("Limit the number of message targes, and suppress
duplicates"), ngIRCd crashed when the client sent the separator character
only as target(s), e. g. "," or ",,,," etc.!

This patch fixes the bug and adds a test case for this issue.

Thanks to Florian Westphal &lt;fw@strlen.de&gt; for spotting the issue!
</content>
</entry>
<entry>
<title>Limit the number of message targes, and suppress duplicates</title>
<updated>2016-01-04T21:15:46+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2016-01-04T21:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=49ab79d0e64c73d575dfe87edce40637b8f2adef'/>
<id>urn:sha1:49ab79d0e64c73d575dfe87edce40637b8f2adef</id>
<content type='text'>
This prevents an user from flooding the server using commands like this:

  PRIVMSG nick1,nick1,nick1,...

Duplicate targets are suppressed silently (channels and clients).

In addition, the maximum number of targets per PRIVMSG/NOTICE/... command
are limited to MAX_HNDL_TARGETS (25). If there are more, the daemon sends
the new 407 (ERR_TOOMANYTARGETS_MSG) numeric, containing the first target
that hasn't been handled any more.

Closes #187.
</content>
</entry>
<entry>
<title>Test suite: Don't use DNS lookups</title>
<updated>2014-06-09T00:15:52+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-04-17T21:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=3f807e104572b38143a1015be57d875088ceaebb'/>
<id>urn:sha1:3f807e104572b38143a1015be57d875088ceaebb</id>
<content type='text'>
Different operating systems do behave quite differently when doing DNS
lookups, for example "127.0.0.1" sometimes resolves to "localhost" and
sometimes to "localhost.localdomain" (for example OpenBSD). And other
systems resolve "localhost" to the real host name (for example Cygwin).

So not using DNS at all makes the test site much more portable.
</content>
</entry>
<entry>
<title>Test suite: Update file headers and comments</title>
<updated>2014-04-17T21:56:36+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-04-17T21:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=a90004b9133b62b3dc2ee80c572a8d0c9c607141'/>
<id>urn:sha1:a90004b9133b62b3dc2ee80c572a8d0c9c607141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update error messages for user mode +b and channel Mode +M.</title>
<updated>2012-10-19T16:38:46+00:00</updated>
<author>
<name>DNS777</name>
<email>dns@rbose.org</email>
</author>
<published>2012-10-19T16:37:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=3ee98d9f72449c88861744aebdd0a2e570bc3bc5'/>
<id>urn:sha1:3ee98d9f72449c88861744aebdd0a2e570bc3bc5</id>
<content type='text'>
Replaced error message for channel mode +M with ERR_NEEDREGGEDNICK_MSG
(used by Bahamut, inspircd, ircu &amp; Unreal too) and using numeric 477
and the msg simliar like inspircd.

Replaced the error message ERR_CANNOTSENDTONICK_MSG for user mode +b
with ERR_NONONREG_MSG and using numeric 486, similar like unrealircd.

(cherry picked from commit 55a61ab17f63a9e757b7c7598c31b98ce5a132e8
and commit 3737d9ab7da1ea0485cefc07c65dc5308bf0db02)
</content>
</entry>
<entry>
<title>Test suite: add test for user mode "b"</title>
<updated>2012-10-08T10:15:34+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2012-10-08T10:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=538e612a47ba8eb83e749e8fe57d27f9322cc717'/>
<id>urn:sha1:538e612a47ba8eb83e749e8fe57d27f9322cc717</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PRIVMSG/NOTICE: handle nick!user@host masks case-insensitive</title>
<updated>2012-01-21T12:21:36+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2012-01-21T12:21:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=39412d648652b3fcb387cf04bf7fa9004cfcd8ba'/>
<id>urn:sha1:39412d648652b3fcb387cf04bf7fa9004cfcd8ba</id>
<content type='text'>
And enhance our test suite to check this a little bit better :-)
</content>
</entry>
<entry>
<title>message-test: Disable two tests using "localhost" as host name</title>
<updated>2008-07-27T16:03:13+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2008-07-27T16:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=5df56111c492a0509c7b31d22021975778431bf3'/>
<id>urn:sha1:5df56111c492a0509c7b31d22021975778431bf3</id>
<content type='text'>
Some operating systems, for example OpenBSD and OpenSolaris, use
"localhost.&lt;domain&gt;" instead of just "localhost" for 127.0.0.1, so
the "message-test" using "localhost" failed on such systems.

Don't have an idee how to make this work on all platforms ... :-/

So I simply disabled the two affected tests to make the testsuite
run on OpenBSD and OpenSolaris again.
</content>
</entry>
<entry>
<title>Cleaned up PRIVMSG and NOTICE patches.</title>
<updated>2008-07-26T23:23:20+00:00</updated>
<author>
<name>Brandon Beresini</name>
<email>beresini@google.com</email>
</author>
<published>2008-06-13T04:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d4eb55c79fb130844a08279cd574a19f188ffa99'/>
<id>urn:sha1:d4eb55c79fb130844a08279cd574a19f188ffa99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cumulative Message Patch</title>
<updated>2008-07-26T23:23:04+00:00</updated>
<author>
<name>Brandon Beresini</name>
<email>beresini@google.com</email>
</author>
<published>2008-06-11T18:35:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=2546a13ad2949192eb70bf21e114ec60af287ee4'/>
<id>urn:sha1:2546a13ad2949192eb70bf21e114ec60af287ee4</id>
<content type='text'>
</content>
</entry>
</feed>
