Commits
- Commit:
d93030ad27af9cd6a807de8f672ae73ec0e1dff8
- From:
- Alexander Barton <alex@barton.de>
- Date:
Make real use of the CLIENT_SERVICE client type.
This patch enables ngIRCd to handle IRC services as real services, and not
as "fake users":
- Set correct client type CLIENT_SERVICE for services,
- Change log messages to include correct client type,
- PRIVMSG: allow users to send messages to services,
- Send services nick names to other servers (as users).
Please note that this patch doesn't announce services as services in the
network, but as regular users (as before). Only the local server knows
of services as services (see LUSERS command, for example). It is up to
one of the next patches to fix this and to introduce the SERVICE command
in server to server communication.
The propagation of services as regular users between servers doesn't limit
the functionality of the IRC services and will be the fallback for servers
that don't support "real" services propagation in the future.
- Commit:
f7c2e8223f95fd984e7b96308905eef505c01680
- From:
- Florian Westphal <fw@strlen.de>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Always enable modeless channels.
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.
- Commit:
530112b114ffa7d5352c0733790ddf90253f41f9
- From:
- Ali Shemiran <ashemira@ucsd.edu>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Add support for modeless channels
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 ]
- Commit:
8df445316ad08d7bdc792aaa426f21ce706b443c
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: Remove duplicate code.
Incidentially, this doesn't even change the
generated code...
- Commit:
11af32466fc7c7314e898443de60068549d16724
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: change order of if (set) and if (client) check.
- Commit:
5538115537e82bec69ca8b3d1f33377d3ba592a0
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: Re-indent switch.
No functional changes were made.
- Commit:
b8643477ba74bc09a896883f85a1325ec83ecc5e
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: check return type of Invite/Ban Add/Del function
- Commit:
796dcf6a6203226d2a06635e94b4231b2c85f5b3
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: unify 'b' and 'I' switch/case handling.
- Commit:
6b0c094809e5c1972e41ee7554eb2475ccc4e2d2
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: Unify Del_Invite and Del_Ban handler
- Commit:
2dd51a98e4a32e5e0e2c860972ff863420836379
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode: Unify Add_Invite and Add_Ban handler
- Commit:
e710e8ae3757675b167c25a1fe8055f7f6ea354c
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Channel_Mode cleanups
- better indentation
- move answering request into seperate function.
- Commit:
1784180bf346b6cbea86dabb0e4fdf592b19b012
- From:
- Dana Dahlstrom <dana+70@cs.ucsd.edu>
- Via:
- Florian Westphal <fw@strlen.de>
- Date:
Don't send trailing space in MODE messages
Under some circumstances ngIRCd currently issues a channel MODE message
with a trailing space after the last parameter, which isn't permitted by
the grammar in RFC 2812 section 2.3.1:
http://tools.ietf.org/html/rfc2812#section-2.3.1
The following patch modifies mode-test.e to expose this, and modifies
irc-mode.c to correct it.
- Commit:
8f162f4e1770940889cb1504b285e7ca9a61a485
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fixed propagation of channel mode 'P' on server links.
- Commit:
4b9e52eb4d5b1bd417ab10f7bdbd14b856921706
- From:
- Florian Westphal <fw@strlen.de>
- Date:
implement /WALLOPS as described in RFC 2812, section 4.7.
- Commit:
fa7bb2790a1588e49d05cf3404220c3a63669514
- From:
- Florian Westphal <fw@strlen.de>
- Date:
moved invite/ban lists to channel structure
- Commit:
6e105bf87ee5008f32b7557eea2977deb8d10a71
- From:
- Florian Westphal <fw@strlen.de>
- Date:
channel maxusers now unsigned long
- Commit:
0eccdbc137e968062cb928cf33226dabf3e371ec
- From:
- Florian Westphal <fw@strlen.de>
- Date:
-whitespace damage
- Commit:
dd3a3bc6039bc1fd1a89ffb834f08665c8035b6a
- From:
- Alexander Barton <alex@barton.de>
- Date:
Use some more specific data types (e. g. pid_t vs. int), make "SPLint" happy :-)
- Commit:
77f54693ef258b1fe65ee105fc026dfb2c6257dc
- From:
- Alexander Barton <alex@barton.de>
- Date:
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
- Commit:
b0699efdabd7bf80ddb49ccef624efe1249b84f3
- From:
- Florian Westphal <fw@strlen.de>
- Date:
remove unneeded strpy()
- Commit:
dd9b4bc956aa01c9d7c33b7e60b653c88ccaf707
- From:
- Alexander Barton <alex@barton.de>
- Date:
Away status texts set due to "a"-Modes received from other servers have
been fixed: the status text of the server has been set instead of the
away status text of the client (most probably introduced by patch 1.36).
- Commit:
aa25cd7da2c5da9c67754d128b2cbd079a2af10b
- From:
- Alexander Barton <alex@barton.de>
- Date:
Reorder #includes, necessary due to removal of #include "defines.h" in
the client.h header file.
- Commit:
8adff5922376676c2eeb49de1cbab86cc345b887
- From:
- Florian Westphal <fw@strlen.de>
- Date:
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
use stdbool.h / inttypes.h if available.
- Commit:
1d08d51e2eaff14b71f20d3f0898d5a86582b7e5
- From:
- Alexander Barton <alex@barton.de>
- Date:
New configuration option "OperServerMode".
- Commit:
e618041168d77852ceec5060ec285127354cb6f5
- From:
- Alexander Barton <alex@barton.de>
- Date:
Reduce the number of calls of strlen(). Idea by Florin Westphal.
- Commit:
4ef172d60331611ddb4d96ba33266998eb7ae505
- From:
- Alexander Barton <alex@barton.de>
- Date:
Implemented support for "secret channels" (channel mode "s").
- Commit:
8579b2a1e514b2c25d81f439f277c9fb39fc1e9f
- From:
- Alexander Barton <alex@barton.de>
- Date:
Clean up the mode handling code: remove redundant parts ...
- Commit:
967476799f6fa2b30f82cbebb270d055ec63a547
- From:
- Alexander Barton <alex@barton.de>
- Date:
Don't send MODE changes when origin is a server and
mask is already known.
- Commit:
64d330b7266d9ef6d135968063e971b4dfc06367
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fixed handling of already existent entries in invite and ban lists:
the attempt to add an already existent entry is no error, it must
be propagated across servers (but not added to the list!).
- Commit:
56227abc5e09e274877fda7ad5986be6a9853c10
- From:
- Alexander Barton <alex@barton.de>
- Date:
Changed the reply of the MODE command to match the syntax of the original
ircd exactly: the unnecessary but missing ":" before the last parameter
has been added.
- Commit:
7b6e26628a884a768863c753a3fdff00116c0eed
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fixed and enhanced penalty handling; changed internal time resoluiton of
the server to one second. Code cleanup.
- Commit:
fbec1f1070b35586b7e932ccec88383066faad50
- From:
- Alexander Barton <alex@barton.de>
- Date:
The server didn't validate wheather the "target" client of a channel
user mode change is a valid channel member or not.
- Commit:
e07542a1ff0f33b35dbab854596f29011e1ccf63
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Non-members of a channel could crash the server when trying to change its modes. Fixed.
- Commit:
df00b38a0b1a5afe0386c5cf99c67ee31999b401
- From:
- Alexander Barton <alex@barton.de>
- Date:
- MODE returns the key and user limit for channel members correctly now.
- Commit:
8c1df9ef8d90aa249950fe9043d659361568b85a
- From:
- Alexander Barton <alex@barton.de>
- Date:
- The server sets a correct away message now when receiving a "MODE +a".
- Commit:
b316c380ad30a1c23c768544541b7cf56bf9fc0f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- replaced some calls to sprintf() with snprintf() -- more secure :-)
- Commit:
695631b2984111a825346396dc56635a2fe3a7c4
- From:
- Alexander Barton <alex@barton.de>
- Date:
- replaced a lot of strcpy() calls with strlcpy() which is more secure.
- Commit:
6626395c88fc46eeb110942b17eb9245a1d0021b
- From:
- Alexander Barton <alex@barton.de>
- Date:
- replaced a lot of strcat() calls with strlcat() which is more secure.
- Commit:
8841d87365ae75fdc5aea398554a6f08cbb2ce79
- From:
- Alexander Barton <alex@barton.de>
- Date:
- fixed user mode propagation over server-links (IRC operator, away, ...)
- Commit:
69ad0e386e064bf95fc77d179f88d3ae04405d30
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Implemented channel modes k (key) and l (user limit).
- Commit:
7f61f413f42ac7969cd1d0abebc6ab6a4bf2947f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- fixed broken handling of modes received from other servers.
- Commit:
c0d74a3860dcdf58a341d37740d48d0bc2952493
- From:
- Alexander Barton <alex@barton.de>
- Date:
- fixed some parsing bugs.
- better logging.
- Commit:
80c6dc86ed2cb07dfb95b650935c7bacaec60c2f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- new (and much more flexible!) MODE parser
- Commit:
25ca2b3cc5b5d92f43591bdb2f0076101fa2b79d
- From:
- Alexander Barton <alex@barton.de>
- Date:
- removed Conf_MaxPChannels and reverted to old behavior.
- Commit:
2694017426057423dd3b7f1acc25c78a593ccd52
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Conf_MaxPChannels is considered properly in channel mode changes now.
- Commit:
490f28ffd1b42ee2076ce89c62d0e672ee7e541e
- From:
- Alexander Barton <alex@barton.de>
- Date:
- new file header format (in english);
- new file ident semantics.
- Commit:
1e59617d2c70ebc4e5008a4233cc759fee715c8f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Parser auf Befehlstabelle umgestellt.
- Commit:
085a03d10765a1ceeb164d01dc2a99ac36d14619
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Channel-Mode "P" ("persistent") kann nur noch von IRC-Ops gesetzt werden.
- Commit:
f3c0c7c0b3c12101675f09679785e6e603f555b0
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Parameter von List_Add{Invited|Banned}() erweitert.
- Commit:
c2aefbb3e138c61429f7f578c4303f0c2d22ee7f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- auch Nicht-ChanOps konnten Ban- und Invite-Lists veraendern.
- Commit:
296ddebed11c0ded9d5ccc0257485a0ffae9265d
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Bans/Invites: andere Server wurden nicht informiert.
- neue Funktion Send_ListChange().
- Commit:
19ac723e480356fde9b35c082f77e53cb1f8991a
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Invite- und Ban-Lists (MODE +I, MODE +b) implementiert.
- Commit:
7e1b3b9157b9946d18d252b908fb28a85a0fa0e7
- From:
- Alexander Barton <alex@barton.de>
- Date:
- neue Konfigurationsoption "OperCanUseMode" (Sektion "Global"):
ist sie aktiv, koennen IRC-Operatoren immer Channel-Modes setzen.
- Commit:
7d30c8cebccf1b0e391333858a9d011d1f0d864e
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Hmpf. "Verfruehtes" CVS-Update einiger Source-Files zurueckgenommen ...
- Commit:
d645ce86e9440a891b80bfd2907617e16aa799e8
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Bei einem JOIN in einen persistenten Channel werden nun evtl. zu setzende
User-Modes korrekt in den Channel gemeldet.
- Commit:
74b120578337b6852d03a62b9913923a2cabe709
- From:
- Alexander Barton <alex@barton.de>
- Date:
- nicht unterstuetzte Channel-Modes entfernt.
- Commit:
c2f60abe55b5a8d320a27df0ce41790fa1141081
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Anpassungen an pre-ANSI-Compiler,
- Includes aufgeraumt: Header includieren keine anderen mehr.
- Commit:
040f5422f2c8262ab19832f1e9d0e269afad8ec1
- From:
- Alexander Barton <alex@barton.de>
- Date:
- persistente und vordefinierte Channels implementiert.
- Commit:
d4fca86ae856bd241ff9ed89de77ce3a86b0cee5
- From:
- Alexander Barton <alex@barton.de>
- Date:
- alle Client_GetFromID() durch Client_Search() ersetzt.
- neuer Mode "s": Server Messages.
- Commit:
ca33cbda05902b0009058d369f88c0a7a43b1bbe
- From:
- Alexander Barton <alex@barton.de>
- Date:
- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch
einige Aenderungen an diversen Source-Dateien und Headern.
- Dateien enthalten keine CVS-History mehr.
- Commit:
802a17b11deea252106ee9c43ea3566c78ccd0ed
- From:
- Alexander Barton <alex@barton.de>
- Date:
- der AWAY-Mode wurde nicht ueber mehrere Server-Links weitergegeben.
- Commit:
c23199d971258be6266e1b933e5b38340267baa2
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Modul aus irc.c bzw. irc.h ausgegliedert.