about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
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.
2008-03-11Fix #include's: search log.h locally, include string.h. The latter is ↵Alexander Barton
required because we include conn.h, which includes resolve.h, which includes ng_ipaddr.h, which contains a macro using strlcpy() ...
2008-02-26IPv6 support.Florian Westphal
all references to struct sockaddr/in_addr have been removed from src/ngircd. libngipaddr (in src/ipaddr/) hides all the gory details. See src/ipaddr/ng_ipaddr.h for API description.
2008-02-26Fix sending of JOINs between servers.Rolf Eike Beer
This does hit only operators that join a channel with at least 2 servers active in the net the server the oper connects to sends "channel^Go" to the other servers the other server first searches for the channel and then strips the modes from the channel name he has to do the other way round: first strip and then check the channel name.
2008-02-26Channel_Mode cleanupsFlorian Westphal
- better indentation - move answering request into seperate function.
2008-02-26Removed the SQUIT test for now, actually we don't support it yet.Alexander Barton
2008-02-26Implemented IRC commands INFO, USERS (dummy), and SUMMON (dummy).Alexander Barton