about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2008-05-12This patch implements a (maybe) compliant WHOWAS command.Scott Perry
It is hard to test this in the test suite because we 1) shouldn't rely on previous tests populating WHOWAS and 2) don't connect a user for more than 30 seconds. Also makes WHOWAS return ERR_NONICKNAMEGIVEN_MSG as implied by RFC.
2008-05-12If bind() fails, also print ip address and not just the port number.Florian Westphal
2008-05-11GIT: ignore symbolic links to tests in testsuite directoryAlexander Barton
Added symbolic links to new tests (invite-test, join-test, and kick-test) to .gitignore file.
2008-05-11Fixes to who-test: accept "localhost.<domain>" as well as "localhost"Alexander Barton
Some operating systems, for example OpenBSD, use "localhost.<domain>" instead of "localhost", so the "who-test" expecting "localhost" failed on such systems.
2008-05-10ng_ipaddr.h must include netinet/in.h.Florian Westphal
compile on FreeBSD 5.4 failed with: ./../ipaddr/ng_ipaddr.h:34: error: field `sin4' has incomplete type Reported and tested by Jefferson S Almeida.
2008-05-09Removed space after # so that Cygwin's version of expect recognizes comments.Brandon Beresini
2008-05-09Fix secret channel information leakAli Shemiran
/who on a secret channel that the user is not a member of now returns proper RPL_ENDOFWHO_MSG instead of nothing.
2008-05-08Added Cygwin uid kludge. (verified working)ashemira@ucsd.edu
2008-05-08Anglified and improved comments in channel.c and channel.hEric Grunow
[Dana Dahlstrom: repair tab/space conversion in patch]
2008-05-05Implement IRC commands SERVICE, SERVLIST, and SQUERY as dummy functionsAlexander Barton
SERVICE, SERVLIST, and SQUERY are required by RFC 2812 (it states in section 3 that "all commands described in this section MUST be implemented by any server for this protocol." -- So we implement them without (much) actual functionality ...
2008-05-05Add invite-test.e to test suite.Florian Westphal
2008-05-05Tests for the INVITE command.Dana Dahlstrom
2008-05-05Invite: prefix last argument with colon when necessary.Dana Dahlstrom
2008-05-05tests for JOIN and various repliesDana Dahlstrom
Brandon Beresini sent me a patch yesterday adding tests for JOIN under various circumstances, which I believe he worked on with Bryan Caldwell and Ali Shemiran. I made a few modifications; the result is below.
2008-05-05Allow KICK to handle comma-delimited lists (of channels, nicks).Bryan Caldwell
includes test cases. [fw@strlen.de: - move code around to avoid duplication - use const where possible - integrate test case]
2008-05-05Invite: Send RPL_AWAY to client sending the invite if target is away.Florian Westphal
2008-05-05Fixes to who-test: accept any ident, escape some '*' flags.Dana Dahlstrom
This prevents who-test.e from failing when ngircd is performing ident lookups and an ident server is running.
2008-05-05IRC_INVITE: coding style cleanup.Florian Westphal
2008-05-05Constify some of Channel_Kick()s arguments.Florian Westphal
2008-05-05constify Client_Search() argument.Florian Westphal
2008-05-05Allow IRC ops to ignore channel limits when joiningRolf Eike Beer
Allow IRC ops to ignore any channel limit (bans, invite only etc.) when they want to join a channel.
2008-05-02Handle 1-character messages terminated with CR or LF correctlyAlexander Barton
Code cleanup and fix for Bug #83, "ngIRCd chokes on 1-character messages" in function Handle_Buffer(): the buffer is now correctly cleared when ngIRCd receives 1-character messages terminated with either CR or LF (in violation to RFC 2812, section 2.3 "Messages", 5th paragraph).
2008-05-01On AIX (for example) socklen_t is defined in sys/socket.hAlexander Barton
On AIX and probably other systems socklen_t is defined in sys/socket.h, so we have to include it here explicitly (tested by Florian).
2008-05-01Always enable modeless channels.Florian Westphal
Modeless channels (+channels) are described in RFC 2811; so my modifications to 530112b114ffa7d5352c0733790ddf90253f41f9 ('Add support for modeless channels') to disable +channels for --strict-rfc configurations were wrong. This reverts those changes.
2008-05-01Prevent GIT to complain about opless-channel-test linkAlexander Barton
2008-05-01Add support for modeless channelsAli Shemiran
Add support for modeless channels (+channels). [fw@strlen.de: - integrate test cases - don't support +channels when compiled with --strict-rfc - do not set +o mode for channel creator - force +nt mode when channel is created ]
2008-04-29--configtest: fix missing whitespace at "ConnectIPv4" option.Alexander Barton
2008-04-29Merge branch 'master' of git://git.breakpoint.cc/fw/ngircd-fwAlexander Barton
2008-04-29Testsuite: remove erroneous ConfUID setting in config file.Florian Westphal
The config file for ngircds test suite contained obsolete ConfUID/ConfGID settings, causing ngircd to needlesly complain when started as non-root (which is hopefully the _normal_ case...)
2008-04-25Get rid of cvs-version.* and CVSDATE definition.Alexander Barton
(cherry picked from commit b187fac244f4e14705f882ba7c43eef0238e2830)
2008-04-24Report ERR_NOTONCHANNEL when trying to part a channel one is not member of.Alexander Barton
When trying to part a channel ("PART #channel") the client is not member of the daemon now correctly reports the numeric ERR_NOTONCHANNEL (442) insted of ERR_NOSUCHCHANNEL (403).
2008-04-24Channel_Part(): Code and comment cleanup.Alexander Barton
2008-04-24IRC_PART(): code and comment cleanup.Alexander Barton
2008-04-21IPv6: Add config options to disabe ipv4/ipv6 support.Florian Westphal
This also enables ipv6-only setups.
2008-04-20Updated copyright notice to read "2001-2008".Alexander Barton
2008-04-19Channel_Mode: Remove duplicate code.Florian Westphal
Incidentially, this doesn't even change the generated code...
2008-04-19Channel_Mode: change order of if (set) and if (client) check.Florian Westphal
2008-04-19Channel_Mode: Re-indent switch.Florian Westphal
No functional changes were made.
2008-04-19Channel_Mode: check return type of Invite/Ban Add/Del functionFlorian Westphal
2008-04-19Channel_Mode: unify 'b' and 'I' switch/case handling.Florian Westphal
2008-04-19Channel_Mode: Unify Del_Invite and Del_Ban handlerFlorian Westphal
2008-04-19Constify Lists_MakeMask argument and return type.Florian Westphal
2008-04-19Channel_Mode: Unify Add_Invite and Add_Ban handlerFlorian Westphal
2008-04-09Added "portabtest" binary to .gitignore file in src/portabtest/.Alexander Barton
2008-04-09Moved .cvsignore files to .gitignoreAlexander Barton
Since we are using GIT starting from now, I converted all the .cvsignore files to .gitignore files.
2008-04-04Fix client.c sparse warnings.Florian Westphal
client.c:72:6: warning: symbol 'Max_Users' was not declared. Should it be static? client.c:72:21: warning: symbol 'My_Max_Users' was not declared. Should it be static?
2008-04-03io.c: kill select FD_SETSIZE sanity check in io_library_init.Florian Westphal
We already have way too many.
2008-04-03io.c: fix select FD_SETSIZE check when using epoll as io backendFlorian Westphal
2008-03-27io.c: try to cut down the number of ifdefs.Florian Westphal
consolidate backend-specific helpers and add empty statinc inle stubs in the ifndef case to let the compiler remove the functions at compile time.
2008-03-26Do not exit unconditionally if config file cannot be openedFlorian Westphal
ngircd will exit if the config file cannot be opened. While thats okay if ngircd starts up for the first time, it isn't when we are re-reading the config file after a /REHASH or SIGHUP.