Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ChangeLog
1 2000-04-13  Kevin L. Mitchell  <klmitch@mit.edu>
2
3         * include/handlers.h: declare m_gline()
4
5         * ircd/parse.c: gline can be called by users, but it only lists
6         the glines.
7
8         * ircd/s_user.c (set_nick_name): resend gline if a remote server
9         introduces a glined client
10
11         * ircd/s_serv.c (server_estab): burst glines, too
12
13         * ircd/gline.c: fix up all the expire times to be offsets;
14         simplify gline_resend()
15
16         * ircd/m_gline.c: begin coding replacements for ms_gline(),
17         mo_gline(), and m_gline()
18
19         * ircd/gline.c (gline_add): allow *@#channel to work correctly;
20         also, prohibit local BADCHANs if LOCAL_BADCHAN not defined
21
22 2000-04-13  Greg Sikorski <gte@atomicrevs.demon.co.uk>
23
24         * tools/Bouncer/*: Add comments/documentation/tags.
25         * tools/Bouncer/*: Add debug defines, make task fork().
26
27 2000-04-12  Thomas Helvey <tomh@inxpress.net>
28         * ircd/s_err.c: Cleanup s_err.c make one table so we
29         don't have to do anything tricky to get an error string.
30
31 2000-04-12  Greg Sikorski <gte@atomicrevs.demon.co.uk>
32         * Add port bouncer for http (x/w)
33
34 2000-04-12  Kevin L. Mitchell  <klmitch@mit.edu>
35
36         * ircd/s_conf.c (find_kill): replaced call to find_gline() with a
37         call to gline_find(); also used GlineReason() instead of direct
38         reference to structure member
39
40         * ircd/m_join.c (m_join): replace bad_channel() calls with calls
41         to gline_find(name, GLINE_BADCHAN), and also check to see if gline
42         is active
43
44         * ircd/channel.c: nothing seems to be called anywhere...
45
46         * ircd/s_err.c: update a couple of replies to dovetail with new
47         semantics
48
49         * ircd/gline.c: begin complete re-implementation of gline.c along
50         the lines of the final design of jupe.c
51
52         * include/gline.h: begin complete re-implementation of gline.c
53         along the lines of the final design of jupe.c
54
55         * ircd/channel.c (mode_process_clients): fix "Deop of +k user on
56         %s by %s" message...
57
58         * ircd/ircd_snprintf.c: my new snprintf()-like functions
59
60         * include/ircd_snprintf.h: my new snprintf()-like functions
61
62 2000-04-11  Thomas Helvey <tomh@inxpress.net>
63         * ircd/IPcheck.c: removed old dead code
64         * ircd/s_user.c (send_user_info): removed non-standard
65           user not found message for userhost/userip
66
67 2000-04-11  Greg Sikorski <gte@atomicrevs.demon.co.uk>
68
69         * ircd/s_err.c: Added missing quotes to ERR_DONTCHEAT numeric.
70         * doc/p10.html: Work on chapter 4.
71
72 2000-04-10  Kevin L. Mitchell  <klmitch@mit.edu>
73
74         * ircd/channel.c (mode_parse_client): fix coredump on /mode
75         #foobar +o nosuchnick
76
77 2000-04-10  Perry Lorier  <Isomer@coders.net>
78         * BUGS: Added bug.
79
80 2000-04-09  Thomas Helvey <tomh@inxpress.net>
81         * include/IPcheck.h: fix prototype
82         * ircd/s_user.c: fix usage of IPcheck_remote_connect
83         * ircd/IPcheck.c: removed unused args
84
85 2000-04-09  Thomas Helvey <tomh@inxpress.net>
86         * include/IPcheck.h: add proto for IPcheck_expire
87
88         * ircd/IPcheck.c: Rewrote
89
90         * ircd/ircd.c: Add IPcheck_expire to main message loop
91
92         * ircd/s_user.c: Redo target hashing, refactor target code
93
94         * include/numeric.h: Cleaned up numerics, added which ones are
95         in use by other networks and what they are in use for.
96
97         * ircd/channel.c: cleaned can_join(), allow anyone through anything
98         if /invited, simplified the function.  Opers overusing OPEROVERRIDE
99         will get a message explaining to them not to cheat.
100
101         * ircd/m_join.c: cleaned up the various join functions, should be
102         a lot more efficient.  Still needs work.  Now assumes that s<->s
103         won't send it a JOIN 0.  Service coders - note this and tread with
104         care.
105
106         * ircd/m_stats.c: added Gte-'s stats doc patch.
107
108         * ircd/m_version.c: /version now returns the 005 numeric as well.
109         as requested by Liandrin.
110
111
112 2000-04-07  Kevin L. Mitchell  <klmitch@mit.edu>
113
114         * ircd/m_clearmode.c: add include for support.h for write_log()
115
116         * configure: move ircd/crypt/* to tools/*
117
118 2000-04-06  Thomas Helvey <tomh@inxpress.net>
119         * ircd/s_auth.c: Shorten auth connect timeout to 60 seconds
120           set client host to server alias if connection from localhost
121
122 2000-04-06  Perry Lorier <isomer@coders.net>
123         * ircd/ircd.c: Fix core during pinging (oops)
124         
125 2000-04-06  Perry Lorier <isomer@coders.net>
126         * ircd/send.c: fixed wrong ident being sent to channels bug.
127         * include/numerics.h: Updated some of the numerics from other
128         networks.  Flagged some as 'unused' by undernet.
129
130 2000-03-30  Perry Lorier <isomer@coders.net>
131         * ircd/ircd.c: Lets see if this helps the ping problem at all.
132         * ircd/whocmds.c, /doc/readme.who: Added %l specifier to get idle
133         time for local clients. (as requested), extended who now returns all
134         the flags (@+!) so you can tell the complete state of a client.
135
136 2000-03-30  Thomas Helvey <tomh@inxpress.net>
137         * m_rping.c m_rpong.c: add Gte's rping/rpong fixes
138
139 2000-03-30  Perry Lorier <isomer@coders.net>
140         * ircd/parse.c: oops, missed opers.
141
142 2000-03-30  Perry Lorier <isomer@coders.net>
143         * ircd/parse.c: fixed mystifying ping bug thats been plaguing us
144         for so long.  Remember: m_ping MUST be in the parse array. :)
145
146 2000-03-30  Perry Lorier <isomer@coders.net>
147         * ircd/ircd.c: test in check_pings was wrong.  I move that we
148         disallow cvs commit after 10pm localtime....
149
150 2000-03-30  Perry Lorier <isomer@coders.net>
151         * ircd/m_pong.c: Fix it for servers too.
152
153 2000-03-30  Perry Lorier <isomer@coders.net>
154         * ircd/m_pong.c: Fix ping timeout bugs
155
156 2000-03-30  Perry Lorier <isomer@coders.net>
157         * ircd/channel.c: Bans had CurrentTime in their when field instead
158         of TStime()
159
160 2000-03-31  Thomas Helvey <tomh@ixpress.net>
161         * ircd/numnicks.c (SetXYYCapacity): fix for extended
162         numerics.
163
164 2000-03-30  Perry Lorier <isomer@coders.net>
165         * ircd/m_nick.c: send kills both ways so when we add nick change
166         on collision we don't desync the network.
167
168         * ircd/map.c: Fixup the map a bit more.
169
170 2000-03-31  Kevin L. Mitchell  <klmitch@mit.edu>
171
172         * ircd/m_clearmode.c (do_clearmode): Log the CLEARMODE to OPATH
173
174         * ircd/m_opmode.c: Log the mode changes to OPATH
175
176         * ircd/channel.c (modebuf_flush_int): Log the mode changes to
177         OPATH
178
179         * include/channel.h (MODEBUF_DEST_LOG): Log the mode changes to
180         OPATH
181
182         * doc/Configure.help: help text for CONFIG_LOG_OPMODE / OPATH
183
184         * config/config-sh.in: added OPATH for opmode log file
185
186         * ircd/m_clearmode.c (do_clearmode): updated uses of
187         modebuf_mode_string() for the new usage
188
189         * ircd/channel.c: added flag MODE_FREE and an int argument to
190         modebuf_mode_string() to indicate that the string must be free'd;
191         updated calls to modebuf_mode_string() for the new usage; called
192         collapse(pretty_mask()) on the ban string and use allocated memory
193         for it; added ban list length accounting; fixed a number of small
194         bugs in ban processing
195
196         * include/channel.h: added flag MODE_FREE and an int argument to
197         modebuf_mode_string() to indicate that the string must be free'd
198
199         * ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
200         keys and limits that are set
201
202 2000-03-30  Perry Lorier <isomer@coders.net>
203         * ircd/ircd.c: rewrote check_pings() for maintainability
204         and speed.  Also changed quit msg's so they don't have
205         redundant nick[host] info in them.
206
207         * ircd/send.c: Changed write errors to report what error
208         occured (if possible).
209
210         * ircd/gline.c: added gline comment to the quit.
211
212         * ircd/m_server.c: Added suggestions to server quits mentioning
213         what went wrong so the admin can fix it earlier instead of asking
214         questions...
215
216         * ircd/map.c: Changed m_map() to hide numerics, show a * beside
217         servers that aren't fully burst yet.  And show '(--s)' for servers
218         where its not sure.
219
220         * doc/example.conf: Fixed wrapped U:
221
222 2000-03-30  Kevin L. Mitchell  <klmitch@mit.edu>
223
224         * ircd/m_mode.c (ms_mode): implemented a new m_mode in terms of
225         mode_parse() (version selectable at compile time)
226
227         * ircd/m_clearmode.c (mo_clearmode): clean_channelname(parv[1])
228
229         * ircd/m_opmode.c (mo_opmode): clean_channelname(parv[1])
230
231         * config/config-sh.in: add new config option to enable new m_mode
232         implementation
233
234         * doc/Configure.help: add documentation for new config option
235         CONFIG_NEW_MODE
236
237         * ircd/channel.c (mode_parse_client): /opmode #foobar -o -- 461
238         MODE -v : Not enough parameters
239
240         * ircd/m_clearmode.c (do_clearmode): do_clearmode() would remove
241         +k and +l even if they weren't set...
242
243         * ircd/m_opmode.c: implement the OPMODE command using mode_parse()
244
245         * ircd/channel.c: make mode_process_clients() clear the DEOPPED
246         flag; fix +s+p exclusivity; add MODE_ADD/MODE_DEL to flag list
247         for; test the 0-th member, not the i-th member, of the client
248         change state stuff
249
250         * ircd/m_clearmode.c (do_clearmode): use the new
251         mode_invite_clear() function
252
253         * ircd/channel.c: cleared up all the compile-time warnings and
254         errors
255
256         * include/channel.h: added declarations for mode_ban_invalidate()
257         and mode_invite_clear()
258
259         * ircd/channel.c: finished mode_parse(), then broke it up into a
260         dozen or so helper functions to make the code easier to read
261
262 2000-03-29  Thomas Helvey <tomh@inxpress.net>
263         * ircd/ircd.c: refactor server initialization a bit, use
264         getopt for parsing command line, refactor init_sys, main,
265         and other bits.
266
267         * ircd/s_bsd.c: add functions for initialization to clean
268         up logic a bit and remove duplicated code.
269
270         * include/ircd.h: add struct for server process related
271         variables.
272
273 2000-03-29  Kevin L. Mitchell  <klmitch@mit.edu>
274
275         * ircd/channel.c: initial definition of mode_parse(); flags to
276         prevent doing the same thing multiple times; helper method
277         send_notoper() to send a "Not oper"/"Not on channel" notice
278
279         * include/channel.h: declare mode_parse() and helper flags
280
281         * ircd/channel.c (modebuf_flush_int): fiddled with timestamp
282         sending to match the current action of set_mode() closely enough
283         that hopefully there won't be major conflicts
284
285         * ircd/channel.c (modebuf_flush_int): consolidated the mode string
286         building logic, reversed the order of the arguments to mode
287         commands to have '-' preceed '+'
288
289 2000-03-29  Thomas Helvey <tomh@inxpress.net>
290         * ircd/s_bsd.c (add_connection): don't disable socket options
291         let OS tune itself and allow important performance tweaks to 
292         work.
293
294 2000-03-28  Kevin L. Mitchell  <klmitch@mit.edu>
295
296         * ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
297         confused by set_mode, which is doing some really weird logic;
298         guess what I'm going to rewrite next?  ;)
299
300 2000-03-28  Kevin L. Mitchell  <klmitch@emc.com>
301
302         * include/channel.h: added MODE_SAVE for the bounds checking stuff
303         in modebuf_flush
304
305         * ircd/channel.c: make modebuf_flush into modebuf_flush_int and
306         make it do bounds checking on the buffer; all modes are sent only
307         if the all parameter is 1; modebuf_flush is the exported wrapper
308
309         * include/channel.h: add BOUNCE, renumber flags to get a little
310         more space
311
312         * ircd/channel.c (modebuf_flush): don't overload HACK2, add
313         BOUNCE; send DESYNCH message
314
315 2000-03-27  Kevin L. Mitchell  <klmitch@emc.com>
316
317         * ircd/m_clearmode.c (do_clearmode): only mark the modes the
318         channel actually has in effect for deletion
319
320         * ircd/channel.c: added explanatory comments to all added
321         functions; made flushing take place at the correct place even if
322         the MODEBUF_DEST_DEOP flag is set; rewrote build_string() helper
323         to bash some stupid bugs; made modebuf_flush() return if ModeBuf
324         is empty, fixed the apparent source, removed some bogus string
325         termination code, properly terminate the mode strings, add support
326         for HACK2 and HACK3, made limit strings not be sent if the limit
327         is being removed, changed where '+' and '-' come from in sent
328         strings, added support for DEOP flag, set up bouncing code for
329         HACK2
330
331         * ircd/Makefile.in: ran make depend
332
333         * include/channel.h: added new defines for future functionality,
334         made modebuf_flush() return int so I can use tail recursion
335
336         * ircd/m_clearmode.c: add msg.h to includes; other misc cleanups
337         to make it all compile
338
339         * ircd/m_opmode.c: add msg.h to includes...
340
341         * ircd/m_clearmode.c: implemented mo_clearchan()/ms_clearchan()
342
343         * ircd/channel.c (modebuf_flush): realized I forgot to
344         nul-terminate addbuf/rembuf properly...
345
346         * ircd/m_clearmode.c (do_clearmode): wrote do_clearmode()...
347
348         * ircd/channel.c (modebuf_flush): correct sendto_server_butone to
349         sendto_serv_butone--blah^2
350
351         * ircd/send.c (sendto_serv_butone): stupid comments confused me
352
353         * ircd/channel.c (modebuf_flush): if there are no mode changes to
354         propagate, we're done...
355
356         * ircd/channel.c (modebuf_flush): duh; it's sendto_server_butone,
357         not sendto_all_butone
358
359         * ircd/m_clearmode.c: define skeleton for m{o,s}_clearmode
360
361         * ircd/m_opmode.c: define skeleton for m{o,s}_opmode
362
363         * ircd/Makefile.in (SRC): added m_opmode() and m_clearmode() to
364         the list
365
366         * ircd/parse.c: added messages for opmode and clearmode
367
368         * include/handlers.h: added declarations for mo_opmode(),
369         ms_opmode(), mo_clearmode(), and ms_clearmode()
370
371         * include/msg.h: define MSG_OPMODE, TOK_OPMODE, MSG_CLEARMODE, and
372         TOK_CLEARMODE
373
374         * include/channel.h (MODEBUF_DEST_OPMODE): Define the
375         MODEBUF_DEST_OPMODE flag
376
377         * ircd/channel.c (modebuf_flush): added new flag,
378         MODEBUF_DEST_OPMODE; causes channel MODE/HACK(4) notice to appear
379         to originate from source's server (or source itself, if
380         IsServer(source)); also causes a server-level MODE to be sent as
381         OPMODE instead
382
383         * include/channel.h: defined MODEBUF_DEST_SERVER,
384         MODEBUF_DEST_HACK4
385
386         * ircd/channel.c: Add another argument to build_string() to handle
387         numeric nicks; implemented MODEBUF_DEST_SERVER to send MODEs to
388         servers; implemented MODEBUF_DEST_HACK4 to cause HACK(4) notices
389         to be sent out
390
391 2000-03-27  Perry Lorier <isomer@coders.net>
392
393         * ircd/s_bsd.c: fixed missing 'u' typo.
394
395 2000-03-26  Kevin L. Mitchell  <klmitch@emc.com>
396
397         * ircd/channel.c: implement modebuf_init(), _mode(), _mode_uint(),
398         _mode_string(), _mode_client(), _flush(); also implemented a
399         simple build_string()
400
401         * include/channel.h: added definition of ModeBuf, modebuf_*
402         manipulation functions, and a couple of helper macros
403
404 2000-03-24 Thomas Helvey <tomh@inxpress.net>
405   * numicks.c: convert extended numerics to use original mask version
406   * numnicks.h: ""
407   * s_user.c:
408 2000-03-23 Thomas Helvey <tomh@inxpress.net>
409   * Merge in changes from production
410 2000-03-22 Thomas Helvey <tomh@inxpress.net>
411   * numicks.c: Tweak to numnick generator to reduce possibility of duplicates.
412   * rfc1459.unet: Add Maniac's documentation for /names 0
413 * Fix misc. jupe bugs that somehow made it into the tree
414 * Escape /names 0 to mean /names --Maniac
415 * Don't core when server asks for info --Maniac 
416 * Add Kev's jupe patch --Bleep
417 * Add Maniacs squit patch --Bleep
418 * Merge in u2_10_10_beta07 changes --Bleep
419 * Merge in u2_10_10_beta06 changes --Bleep
420 * Start ircu2.10.11 development, beta branch u2_10_10 --Bleep
421 #-----------------------------------------------------------------------------
422 #
423 # ChangeLog for ircu2.10.11
424 #
425 # $Id: ChangeLog,v 1.78 2000-04-13 15:58:22 kev Exp $
426 #
427 # Insert new changes at beginning of the change list.
428 #