1 1999-03-08 Nathan Bryant <bryant@cs.usm.maine.edu>
2 * sysdep.c: call DLoader_Init() with an absolute path so that gdb can
4 * database.c: bail out if opening databases fails
6 Sat Mar 6 01:55:55 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
7 * serv_chat.c: use memfmout(), *not* cprintf() to transmit express
8 messages. Calling cprintf() on strings >256 bytes crashes the server
9 * msgbase.c: minor logging fix in save_message()
11 1999-03-05 Nathan Bryant <bryant@cs.usm.maine.edu>
12 * sysdep.c: add undocumented -r flag to citserver to prevent it from
13 dropping root permissions.
14 * sysdep.c: also drop supplementary groups
16 1999-03-04 Nathan Bryant <bryant@cs.usm.maine.edu>
17 * config.c: error checking in put_config()
18 * setup.c: chgrp files to the login group associated with BBSUID
19 * sysdep.c: copyright 1987-1999; drop root perms; load modules and call
20 master_startup() after dropping perms
22 Wed Mar 3 00:00:55 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
23 * Prevent buffer overruns in lowercase_name in [get|put]user()
24 * client_chat.c: use citedit() for page composition
26 Sat Feb 27 07:47:36 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
27 * rooms.c: download_to_local_disk() prompts for a filename if a blank
28 filename was supplied to it (for attachments without names)
29 * mime_parser.c: strip leading whitespace in content_type & disposition
31 1999-02-24 Nathan Bryant <bryant@cs.usm.maine.edu>
32 * configure.in: improved check for pthreads
33 * configure.in, routines.c, acconfig.h: check for ut_type in struct utmp
34 * configure.in, Makefile.in: support for building server modules as
35 relocatable objects for BSDI (which still uses a.out *gag* *choke*)
36 * configure.in: compiler choice & flags for BSDI; check for libtermcap
37 * database.c: don't use a critical section in open_databases()
38 * housekeeping.c: use getfloor()/putfloor() instead of
39 lgetfloor()/lputfloor() in check_ref_counts()
40 * mime_parser.c: include <errno.h>
41 * msgbase.c: include <limits.h>
42 * sysdep.c: hacks for BSDI. use signals to fake thread cancellation;
43 don't call master_cleanup() directly from signal handler.
44 * routines.c: prototype getutline() if necessary
45 * getutline.c: stupid bugfix
46 * acconfig.h, configure.in, locate_host.c, server.h: work around
47 nonreentrant gethostbyaddr() on BSDI
49 Mon Feb 15 22:59:00 EST 1999 Vaggelis Tsirkas
50 * citadel.c: increased hostname buffer size to handle very big names
52 1999-02-15 Nathan Bryant <bryant@cs.usm.maine.edu>
53 * sysdep.c(main): initialize alen before call to accept()
55 1999-02-04 Nathan Bryant <bryant@cs.usm.maine.edu>
56 * configure.in: improved check for cygwin
57 * configure.in, routines.c: access utmp directly instead of calling
58 `who' if getutline() is available.
59 * configure.in, Makefile.in, getutline.c: replace getutline() on
60 systems which don't have it
61 * routines.c: now always access utmp directly unless we can't find
64 1999-02-02 Nathan Bryant <bryant@cs.usm.maine.edu>
66 - ifdef out file download methods that require named pipes (client)
67 - include pthread.h and gdbm.h only if they are present (fixes
68 auto dependency generation)
69 - include snprintf.h where needed
70 - handle .exe suffixes for "make install"
72 Tue Feb 2 22:15:08 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
73 * Overhauled the express messaging system (again)
75 Mon Feb 1 19:48:04 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
76 * messages.c: implemented client download of MIME attachments
78 Sun Jan 31 18:29:18 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
79 * Added qpdecode.c to the distribution (decodes quoted-printable)
80 * Finished the MIME parser
81 * Gave MSG0 a reasonable behaviour for MIME messages
82 * Added the OPNA command for downloading attachments
84 Sat Jan 30 18:39:53 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
85 * Look for citadel.rc in current directory if not found elsewhere
86 * More work on the MIME parser
87 * Added base64.c to the distribution
89 1999-01-29 Nathan Bryant <bryant@cs.usm.maine.edu>
90 * fixes for IRIX (thanks to wr and family for use of the Indy):
91 - use memset()/memcpy() instead of bzero()/bcopy() in all cases
94 - a few other little bits
96 Mon Jan 25 21:23:07 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
97 * Fixed bug in save_message() which crashed the server on mail to sysop
98 * Rewrote pop_march() to be smarter about <G>oto heuristics
100 Sat Jan 23 14:32:19 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
101 * Changed internal storage of express messages from a linked list to
102 a single, resizable buffer.
103 * Added a "room order" key to the room record, to allow some control
104 over room listing order.
105 * Made the room list commands aware of the room order key.
106 * Overhauled <G>oto heuristics to pay attention to floor & room order
108 Wed Jan 20 19:21:51 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
109 * Added some more code to the unfinished MIME parser
110 * Changed module loading path to simply "modules" because after calling
111 get_config(), the cwd is guaranteed to be the correct BBS directory.
113 Tue Jan 19 21:28:29 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
114 * Fixed a bug in the user editing command (client side)
115 * Started a rewrite of the MIME parser
117 Thu Jan 14 21:21:15 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
118 * Brought over the mime_parser from WebCit and began preliminary work
119 on supporting MIME format messages.
121 Tue Jan 12 22:30:00 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
122 * Various changes to begin work on support for MIME messages
123 - Defined format type 4 for MIME
124 - msgbase.c: *temporary* hacks in output_message() for Type 4
125 - citmail.c: added more robust header parsing, and support
126 for Type 4. Also eliminated the crappy built-in
128 - Updated some of the technical documentation
130 Sun Jan 10 13:34:36 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
131 * Fixed access to page log room
133 Fri Jan 8 12:35:09 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
134 * control.c: include <limits.h> to fix PATH_MAX undefined
135 * serv_chat.c: made the following changes to cmd_sexp() --
136 * Send zero-length message to check only, don't send
137 * Send "-" message on the command line to invoke
138 the SEND_LISTING transfer mode for a multi-line message
139 * Added facilities to log all pages to a room (site configurable)
141 Tue Jan 5 23:24:52 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
142 * Replaced all occurances of malloc(), realloc(), and free() in the
143 server and server-modules with mallok(), reallok(), and phree().
144 Wrote macros and a set of leak-tracking functions.
146 Sun Jan 3 20:38:45 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
147 * Documentation changes
149 Fri Jan 1 01:01:45 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
150 * Fixed security problem relating to private rooms
152 Wed Dec 30 20:10:52 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
153 * sysdep.c: put a bigger string buffer into lprintf() to avoid overruns
155 Sat Dec 26 16:56:46 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
156 * internetmail.config: commented this file more clearly
158 Wed Dec 23 20:42:49 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
159 * citadel.c: added some experimental code to automatically reconnect
160 to the server if the connection is broken. For some reason, it only
163 Wed Dec 23 18:47:12 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
164 * sysdep.c: ignore SIGPIPE. This keeps broken connections from
165 crashing the whole server.
166 * Tagged everything for the official 5.50 release.
168 Mon Dec 21 07:54:20 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
169 * housekeeping.c: call kill_session() with session_to_kill,
170 not ccptr->cs_pid (was crashing the server)
172 Sat Dec 19 13:57:48 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
173 * Added "-i" flag to netproc to make it skip the export phase.
174 Updated other programs to call netproc in this way when appropriate.
175 * Updated network.txt to reflect the usage for netproc (which has
176 been wrong for several releases)
178 Thu Dec 17 00:17:04 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
179 * Started removing the word "beta" from the docs and code.
180 Preparing for an actual release.
181 * msgbase.c: generate an 'I' field when requested (i.e. on locally
182 originating messages. this was breaking parts of the network)
184 1998-12-15 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
185 * msgbase.c: remove extra call to alias() which was causing
186 Citadel-to-Citadel mail to fall into the bit bucket.
187 * msgbase.c: fixed tempfile naming problem that could cause a new
188 outgoing netmail message to overwrite another if netproc had not been
191 1998-12-14 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
192 * More session table stability nonsense
194 Sun Dec 13 17:40:08 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
195 * sysdep.c, citserver.c: (hopefully) fixed a session table concurrency
196 bug which was causing the server to occasionally crash.
197 * removed serv_test.so from the default build
199 Fri Dec 11 18:50:00 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
200 * setup.c: default value for maxsessions is now 0 (no limit)
201 * room_ops.c: don't allow users to create a room called "Mail"
202 * serv_expire.c: fixed "number of messages purged" display
203 * commands.c: when using color, default to low-intensity colors
205 Tue Dec 8 07:58:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
208 Sat Dec 5 01:24:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
209 * Added a new type of module hook for adding logging functions
210 * Removed whitespace to left and right of '@' in netmail recipients
211 * sysdep.c: read citadel.config _before_ initializing loadable modules
212 * stats.c: fixed segfault resulting from extracting log lines
213 * Ripped most of the "attachments" stuff out of both the client and
214 server. (Thought of a better way to handle it ... LATER.)
216 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
217 * setup.c: create citadel.config with mode 0600
218 * Makefile.in: don't chmod sendcommand
219 * serv_upgrade.c: don't create citadel.config if it doesn't already
221 * setup.c: saner defaults for nodename and fqdn
223 Wed Dec 2 20:37:05 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
224 * msgbase.c: modified AddMessageToRoom() and all functions that call it
225 to use a more reliable/accurate method to set quickroom.QRhighest
226 * weekly.in: don't sort/purge filedir where filedir doesn't exist
228 1998-12-02 Nathan Bryant <bryant@cs.usm.maine.edu>
229 * weekly is now generated by configure
231 Mon Nov 30 19:48:52 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
232 * room_ops.c: added sort_msglist() to move and save operations
233 * sendcommand.c: added (also updated utils.txt, weekly, Makefile.in)
236 Sun Nov 29 23:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
237 * Fixed cmd_regi() to not display a second result code after xfer
238 * Makefile.in: Removed "chmod 4755 citmail netmailer"
240 1998-11-23 Nathan Bryant <bryant@cs.usm.maine.edu>
241 * citadel.spec: added
243 1998-11-22 Nathan Bryant <bryant@cs.usm.maine.edu>
244 * Makefile.in: split install target into install-exec, install-data,
245 and install-doc subtargets
247 Sat Nov 21 16:53:30 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
248 * Added a fourth color mode in the client: "user" which turns color
249 on or off according to a per-user flag stored on the server. Added
250 server-side support for this too, of course.
252 * serv_expire.c: finished the code to purge stale visits
253 * sysdep.c: strip trailing nonprintables in client_gets()
254 * routines2.c: fixed <.AS> command; all configs now work properly
255 * Moved num_parms() and all the extract() type functions into tools.c
256 and removed them from all other files. Linked in tools.[o|ro] there.
257 * netproc.c: handled incoming file transfers to correct room directory
258 * room_ops.c: fixed incorrect naming of files in info and images dirs
260 Fri Nov 20 20:29:07 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
261 * setup.c: removed all prompts that can be configured from within the
262 client in order to simplify the setup procedure
264 Thu Nov 19 23:28:33 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
265 * Fixed serv_upgrade.c and export5.c (found elsewhere) to use a new
266 export format which treats visits as a separate section
267 * serv_expire.c: began writing functions to purge rooms and visits
268 (neither work yet), and added a way to call defrag_databases()
270 Wed Nov 18 23:51:17 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
271 * Reimplemented 'visit' structs stored globally instead of as
274 Tue Nov 17 22:37:48 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
275 * Started implementing global room numbers.
277 Sun Nov 15 20:32:34 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
278 * room_ops.c: mailbox rooms always appear on the main floor
279 * made QR_MAILBOX rooms non-editable
280 * cmd_setr() delete old room record when room name changes
281 (This causes a big mess that exposes a flaw in the whole design.)
282 * room_ops.c: users can delete messages from their mailboxes
284 Thu Nov 12 23:59:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
285 * Rewrote cmd_rchg() and also increased the size of the "fakename"
286 buffer. Overruns are probably what was causing the crashes.
287 * Changed the way cmd_ent3() handles mail messages; the previous code
288 rerouted all private mail to the trash.
290 Wed Nov 11 17:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
291 * citserver.c: slight changes to cmd_rchg() and cmd_hchg() [crashes]
292 * citserver.c, msgbase.c, user_ops.c: hide the owner-prefix of mail
293 rooms in a couple more places: set_wtmpsupp() and make_message()
294 * sysdep.c: added an fflush() to lprintf() for "tail -f"-able logs
295 * serv_expire.c: purge ops are now a command instead of a cleanup
296 function. This is probably temporary as well.
297 * citadel.c: fixed the way <.WL> parses the returned data from a
300 1998-11-11 Nathan Bryant <bryant@cs.usm.maine.edu>
301 * serv_upgrade.c: fix uninitialized variable
303 Wed Nov 11 00:47:32 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
304 * msgbase.c: fixed a bug that was misrouting incoming network msgs
305 * server.h, database.c: wrapped all GDBM calls in critical sections
306 to avoid making those calls re-entrantly (gdbm fatal: lseek error)
308 1998-11-10 Nathan Bryant <bryant@cs.usm.maine.edu>
309 * Makefile.in: link in snprintf.o where needed
311 1998-11-09 Nathan Bryant <bryant@cs.usm.maine.edu>
312 * client_chat.c: eliminate calls to sprintf()
313 * commands.h, routines.c, routines2.c: warning fix
314 * commands.c, control.c, cux2ascii.c, file_ops.c, import.c,
315 ipc_c_tcp.c: eliminate sprintf() calls
317 Mon Nov 9 19:15:31 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
318 * serv_upgrade.c: added all missing fields to export/import
319 * serv_expire.c: support per-user purge time when purging users
320 * user_ops.c: added per-user purge time to AGUP and ASUP commands
321 * routines.c: added more stuff to <.A>ide <E>dit user
323 Sun Nov 8 22:56:53 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
324 * serv_expire.c: created; moved message expiry from serv_test.c,
325 moved user purge from userpurge.c
326 * userpurge.c: deleted
327 * routines2.c: finished <.AS> command
328 * room_ops.c: fixed Aide room access (for some reason, the Aide
329 room had the QR_MAILBOX flag set)
331 1998-11-08 Nathan Bryant <bryant@cs.usm.maine.edu>
332 * useradmin.c: really removed (cvs remove)
333 * aidepost.c, citadel.c: convert all sprintf() calls to snprintf()
334 * sysdep.c: fix overrun in lprintf() described by dme/Dead Monkey
335 * citmail.c, citserver.c: convert all sprintf() call to snprintf()
337 Sun Nov 8 13:19:36 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
338 * useradmin.c: removed
339 * utils.doc: removed references to useradmin and sysoputil
341 Fri Nov 6 20:22:20 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
342 * citadel.h (and related files): removed defunct parameters,
343 c_defent and c_msgbase (erase your test bbs)
344 * Implemented CONF server command for site-global configs
345 * Shuffled yesno() and yesno_d() from routines.c to commands.c
346 * commands.c: implemented boolprompt()
347 * routines2.c: started adding CONF questions to <.AS> command
348 * room_ops.c: began a fix for the mysterious disappearing Aide room
350 1998-11-05 Nathan Bryant <bryant@cs.usm.maine.edu>
351 * snprintf.c: warning fix propagated over from gcit
353 1998-11-04 Nathan Bryant <bryant@cs.usm.maine.edu>
354 * added RCS Id keyword strings to sources
355 * citmail.c: reverted to version 1.10
357 Wed Nov 4 10:53:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
358 * messages.c: temporarily set screenwidth to a fixed value of 80
359 during <P>rint operations.
361 Mon Nov 2 12:59:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
362 * setup.c: looks for 'citadel', 'bbs', or 'guest' in /etc/passwd to
363 try to get a default for bbsuid if it's currently set to 0
364 * citmail.c: changed usersupp.eternal to usersupp.usernum (why didn't
365 it complain about this before?)
366 * serv_upgrade.c: began writing an "export" command to do sidegrades
368 Sun Nov 1 18:47:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
369 * serv_upgrade.c: cosmetic changes
370 * Implemented message expiry by date (this really needs to be moved
371 out of serv_test.c, but where does it belong?)
373 1998-11-01 Nathan Bryant <bryant@cs.usm.maine.edu>
374 * serv_upgrade.c: warning fixes
375 * acconfig.h: remove ANSI_COLOR
376 * Configure, Makefile.tmpl: removed
378 Sat Oct 31 20:48:44 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
379 * More stoopid ANSI colour additions here and there.
380 * ANSI colour selection is now in citadel.rc instead of an option in
381 the configure script. "on" "off" and "auto" are available.
382 * added "build.txt" to the techdoc directory, with LS's build notes
384 1998-10-31 Nathan Bryant <bryant@cs.usm.maine.edu>
385 * citadel.c, commands.c, commands.h: set background color to black
386 before clearing screen, so that we can actually see text on
387 black-on-white xterms.
389 1998-10-29 Nathan Bryant <bryant@cs.usm.maine.edu>
390 * rooms.c: fix color of Mail>
391 * citadel.c: send ANSI detect sequence after attach_to_server() so the
392 terminal doesn't send the answerback sequence to the shell if we
395 Wed Oct 28 20:20:14 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us
396 * citadel.c: Added a splash of colour to the Wholist
398 1998-10-28 Nathan Bryant <bryant@cs.usm.maine.edu>
399 * configure.in: added comments
400 * mkinstalldirs: new file to be used for `make install'
401 * aclocal.m4, missing: new files, also swiped from automake
402 * citadel.c: don't mung the terminal if we can't find citadel.rc
403 * Makefile.in: added `install' target, `clean' removes
404 *.mo, rebuild configure when configure.in changes.
405 * configure.in: check for install and autoconf
406 * configure.in, Makefile.in: only pass -fPIC to gcc
407 * policy.c: warning fix for OSF/1 (use memset() instead of bzero())
409 Tue Oct 27 22:25:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
410 * Unified the "unpacked database" format for both upgrades and
411 sidegrades (also see export5.c elsewhere)
412 * citserver.c: clear out cmdbuf before reading a command; some server
413 commands were accidentally extracting parameters from previous cmds
414 * rooms.c: removed the warning about the ineffectiveness of kicking
415 users out of public rooms, because the new server can do lockouts
417 1998-10-27 Nathan Bryant <bryant@cs.usm.maine.edu>
418 * sysdep.c (client_gets), ipc_c_tcp.c (serv_gets): improved handling
420 * Makefile.in: partial support for VPATH builds, autodependency fix
422 Tue Oct 27 00:08:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
423 * minor documentation changes
425 Sun Oct 25 14:57:40 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
426 * messages.c: fixed an oversight that was allowing attachments even
427 when disabled in citadel.rc
429 1998-10-25 Nathan Bryant <bryant@cs.usm.maine.edu>
430 * routines2.c: warning fix
432 Sat Oct 24 22:07:56 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
433 * Client: added message expiration policy questions to room edit
434 * Client: added <.A>ide <S>ystem configuration command
436 1998-10-24 Nathan Bryant <bryant@cs.usm.maine.edu>
437 * Makefile.in: Auto dependency generation (may require GNU make, but
438 does at least function without this feature on OSF/1 make);
439 Makefile is regenerated when Makefile.in changes (ditto);
440 `realclean' is now known as `distclean';
441 portability fixes for older Unix make utilities
442 * citadel.c, citadel.h, commands.c: make client suspendable
444 Fri Oct 23 19:34:38 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
445 * setup.c: default node name is now obtained from uname()
446 * config.c: added put_config()
447 * policy.c: added, moved GetExpirePolicy() from room_ops.c
448 * policy.c: implemented cmd_gpex() and cmd_spex()
450 Wed Oct 21 22:24:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
451 * Mail rooms now hide their owner-prefix from the client.
452 * proxy.c: added configurability and primitive message expiry
454 1998-10-20 Nathan Bryant <bryant@cs.usm.maine.edu>
455 * Makefile.tmpl: fix to build client with old Configure script
456 * configure.in: autologin defaults to enabled if crypt() is available
457 * room_ops.c: fix improper null-termination bug I introduced
459 Mon Oct 19 20:52:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
460 * Client ability to force display of prompts in Mail rooms, even when
461 the user has prompting turned off (citadel.rc option)
463 1998-10-16 Nathan Bryant <bryant@cs.usm.maine.edu>
464 * sysdep.c (cprintf): generate a newline on truncated buffer
465 * room_ops.c: exploitable overrun fixes
467 Thu Oct 15 19:27:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
468 * msgbase.c: reimplemented cmd_move()
469 room_ops.c: wrote AddMessageToRoom() which is used for both entering
471 * setup.c: system-default message expire policy of "number of
472 messages, 150" is now a default configuration instead of a temp hack
473 * proxy.c: cache dir create now dies on any error except EEXIST
475 Wed Oct 14 22:41:16 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
478 1998-10-13 Nathan Bryant <bryant@cs.usm.maine.edu>
479 * configure.in: don't check for -lcrypt unless autologin is enabled
480 * file_ops.c: fix another overrun
482 Mon Oct 12 15:27:21 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
483 * Killed the "rooms" subdirectory (it isn't used anymore)
484 * dynloader.c: Made dynamically added server commands case-insensitive
485 * import.c is now serv_upgrade.c, a module
486 * Removed most of the "level 9" trace messages no longer needed
488 1998-10-12 Nathan Bryant <bryant@cs.usm.maine.edu>
489 * Makefile.in: simplified to use pattern rules; files compiled with
490 -D_REENTRANT go to *.ro to allow the same files to be used with both
492 * tools.c, tools.h: new files; misc routines used by both client and
493 server go here. contains safestrncpy() at the moment.
494 * rooms.c: fix several exploitable buffer overruns
495 * sysdep.c: fix infinite loop when long lines are received from the
496 client; fix exploitable buffer overrun in cprintf()
497 * ipc_c_tcp.c: fix infinite loop on long line from server
498 * serv_upgrade.sh: remove uncnsrd-dependent absolute path
499 * .cvsignore: add *.ro
501 Sun Oct 11 23:17:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
502 * Built some more of the message expiry infrastructure
504 1998-10-11 Nathan Bryant <bryant@cs.usm.maine.edu>
505 * citserver.c: fix two more overruns, one of which was preventing
506 the "From Host" from showing up in the <W>ho listing.
508 Sun Oct 11 02:51:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
509 * Moved "struct visit" and its associated defs from citadel.h to
510 server.h where they belong
511 * Set up data structures for room policies (expiry, etc.)
513 1998-10-10 Nathan Bryant <bryant@cs.usm.maine.edu>
514 * citserver.c: fix overrun which caused segv's on servers with long
517 Fri Oct 9 18:34:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
518 * user_ops.c: added PurgeStaleRelationships() to do processing at
519 session logout time to remove visits for rooms which no longer exist
520 * user_ops.c: implemented NewMailCount()
522 1998-10-09 Nathan Bryant <bryant@cs.usm.maine.edu>
523 * serv_chat.c: fix buffer overrun that was resulting in segv's
524 * serv_chat.c: fix another overrun that could cause sessions to hang,
525 and cleaned up some other strncpy()-related stuff. DON'T FORGET TO
526 NULL-TERMINATE DESTINATION BUFFERS AFTER STRNCPY CALLS.
528 Fri Oct 9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
529 * Implemented "lazy mode" traversal - pressing the space bar will do
530 <N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
531 * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
532 only to their owners.
534 Thu Oct 8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
535 * messages.c, citadel.rc: added the ability to display message numbers
536 in the header when reading messages. I think this is butt ugly, but
537 some of the DaveCode afficionados seem to like it...
539 Thu Oct 8 15:34:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
540 * room_ops.c: Added is_noneditable() function to replace all of the
541 duplicated code present in all functions which edit room parameters.
543 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
544 * lots of warning fixes; builds with -std1 on dec unix
545 * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
546 netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
548 * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
550 * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
551 sysdep_decls.h: function pointer/prototyping fixes
552 * rooms.c: use mkfifo(3) instead of system("mkfifo")
554 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
555 * snprintf.c, snprintf.h: new files
556 * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
557 above; citserver now builds and runs on Digital Unix 4.0d with the
558 GNU-style configure script. there is a bug with the hostname display
560 * netproc.c: sillyness fix
561 * room_ops.h: prototype delete_room()
562 * client_chat.c, commands.c, serv_chat.c, sysdep.c:
563 use HAVE_SYS_SELECT_H macro
565 Mon Oct 5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
566 * Began fixing the stuff I broke
568 Sun Oct 4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
569 * Did the big migration to the new data structures. Lots of stuff is
570 now broken. Basic moving from room to room works, but Mail is
571 broken, and some of the administrative commands are unimplemented.
573 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
574 * configure.in: autologin now defaults to disabled
576 Fri Oct 2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
577 * Finally removed all three usersupp.foo[MAXROOMS] elements, and
578 migrated all the code that used them to use "struct visit" instead.
580 Thu Oct 1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
581 * Rewrote [l][get|put]room() functions to use room names rather than
582 room index numbers. Temporarily prepended a "n" to these four
583 function names until they are put to use.
585 Thu Oct 1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
586 * Removed a few more references to usersupp.lastseen[]
588 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
589 * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
590 * Makefile.in: restructured variables for greater consistency, use
591 @echo to print out notices during the make process, add so_locations
593 * configure.in, Makefile.in: configure checks for -rdynamic
594 * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
595 * stats.c: add semicolon to placate DREC compiler
596 * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
597 * configure.in: pass -pthread to DEC compiler, don't check for
598 libpthread[s] on DEC Unix
600 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
601 * Makefile.in: new variable PTHREAD_DEFS for portability
602 * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
603 netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
604 stats.c, userlist.c, whobbs.c: return type of main() is int
605 * citadel.c, commands.c, messages.c: use time_t properly
606 * citserver.c: include <limits.h>
607 * config.guess, config.sub, install-sh: new files
608 * configure.in: don't use gcc on Digital Unix
610 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
611 * room_ops.c: modified usergoto() to look at the new data structures
612 for counting new messages and such.
614 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
615 * user_ops.c: fix compiler warning and potential memory leak,
617 * configure.in, Makefile.in: only build the server if we find pthreads
618 * Makefile.in: realclean removes config.{cache,log,status}
620 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
621 * Removed code from some of the utilities which was still attempting
622 to access the old non-gdbm data store.
623 * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
624 traversal instead of a MAXROOMS loop.
625 * sysdep.c: set up a dummy CitContext record to be used during server
626 startup, during which time there is no real context.
628 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
629 * Implemented the function ForEachRoom() to handle all-rooms traversal
630 (this will work with both the old and new paradigms, because both
631 use a GDBM database with one room per record). Migrated all room
632 list commands to use it.
634 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
635 * Implemented the function CtdlRoomAccess() to handle *all* of the
636 user-access-to-rooms functionality. Migrated all room list commands
637 to use it. Still need to migrate gotos.
639 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
640 * configure.in, acconfig.h: new files; partially functional GNU
641 autoconf configure script. Run autoheader; autoconf; ./configure
642 --prefix=`pwd` to test.
643 * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
645 * Makefile.in: modified to work with autoconf-style configure script
646 * Configure: modified to use Makefile.tmpl and generate autoconf-style
647 macros. Removed procfs detection. Pass -O2 to gcc, -O to other
648 compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
649 * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
650 whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
651 * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
652 * netproc.c: remove procfs stuff. simply attempt to kill the target
653 process with signal zero instead; this checks whether the process
655 * setup.c, useradmin.c: use HAVE_CURSES_H macro
657 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
658 * BOTH the old and new generation systems are being written to at
659 this point. Code that reads stuff is still using the old system.
661 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
662 * Changed all "generation" variables from char to long, in preparation
663 for removing MAXROOMS. Generations for new rooms are now timestamps.
664 * Defined "struct visit" to hold user/room relationships.
665 * Removed some #define's from citadel.h that are no longer used.
667 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
668 * More changes to support attachments. They mostly work, but only
669 in fixed-format messages.
671 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
672 * msgbase.c: began laying the groundwork to support attachments.
673 Purchased Rogaine(tm) in preparation for expected hair loss.
675 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
676 * msgbase.c: include dynloader.h
677 * citadelapi.h: removed
678 * dynloader.h: prototype CtdlRegisterUserHook()
680 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
681 * Added a UserFunctionHook category to implement hooks which perform
682 operations on various users or usernames
684 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
685 * citserver.c: removed cmd_extn() and related code
687 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
688 * user_ops.c: include dynloader.h
689 * roomstats.{c,mk}: removed
690 * Configure, Makefile.in: autodependency-related fixes
692 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
693 * Various changes to allow "new messages" to work correctly with Mail
695 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
696 * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
697 of hook types by inventing an EventType field to the Session hook.
698 * proxy.c: added pre-fetching
700 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
701 * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
702 * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
703 up the dynamic loader interface as follows:
704 - all the symbol table stuff is gone.
705 - modules are loaded once at server startup and never unloaded.
706 - Added a new function CtdlRegisterProtoHook() to handle the stuff
707 that was being done with the symbol tables.
708 - Dynamic_Module_Init() now returns a pointer to a static struct
709 DLModule_Info; this structure itself has been modified to use char*
710 fields instead of fixed char arrays.
711 * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
713 * Configure, Makefile.in: added autodependency support
715 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
716 * Implemented separate structs, lists, and functions for each type
717 of server-side hook available.
719 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
720 * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
723 * sysdep.c, user_ops.c: removed reference to hooks.h
725 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
726 * ipc_c_tcp.c: Reversed any changes that have been made to this file,
727 because something was causing abominally slow response time.
728 * proxy.c: added. This will eventually become a caching, pre-fetching
729 multiuser proxy server for the Citadel protocol.
731 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
732 * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
733 flags for serv_chat.o
734 * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
735 * dynloader.h: prototype CtdlRegisterHook()
736 * .cvsignore: added data
738 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
739 * Tried my hand at adding the ability for server extensions to
740 register various types of "hooks" in addition to just adding
741 server commands. This is probably not final.
743 Tue Sep 8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
744 * Added support for dynamic server modules. Reworked serv_chat.c
747 Tue Sep 1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
748 * userpurge.c: rewrote using functions from the server core, rather
749 than the now-defunct external API. This'll be ready once the module
750 loading code is done. (I just had to commit _something_ tonight.)
752 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
753 * Yanked the citadelapi.c module. This wasn't working out well.
754 * techdocs/citadelapi.txt - began documenting the new API to be used
755 by modules which will be dynamic linked into the server - most of
756 this API is existing server functions.
757 * Added a ForEachUser() function with callback mechanism, and reworked
758 cmd_list() to use it.
760 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
761 * Moved all of the gdbm databases to a separate "data" directory.
763 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
764 * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
767 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
768 * room_ops.c: include time.h
769 * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
770 citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
771 remove duplicated declarations
773 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
774 * setup.c: Removed yesno_s()
775 * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
776 modified whenever a room is modified or posted in.
777 * citadelapi.c: Added CtdlForEachRoom() function
779 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
780 * Makefile.in: new target `cleaner' does the same as `realclean'
781 without removing sysdep.h
782 * proto.h: is bad. eliminate. I've moved the prototypes into several
783 header files, one per .c file
785 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
786 * Added a CtdlGotoRoom() function to the CitadelAPI.
788 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
789 * sysoputil is finally dead! Removed it from the build.
790 * Added userpurge.c server extension (initial implementation)
792 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
793 * Makefile.in: `clean' target no longer rm's sysdep.h; new target
794 `realclean' removes everything clean does, plus sysdep.h, plus
796 * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
797 * *.[ch]: protoized. Added several new header files containing
798 prototypes and other external declarations; many duplicated
799 declarations still should be moved to header files. proto.h must die
802 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
803 * Implemented a bunch of user account related functions in the
806 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
807 * Fixed the crash problem. It wasn't AGUP/ASUP, but rather a buffer
808 overrun in getuser() (thanks, Nathan). Implemented overrun checks
809 in getuser(), getroom(), and getfloor() to prevent future problems.
811 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
812 * Updated citmail.c with the latest stuff from the production system.
813 * Implemented AGUP and ASUP commands, but AGUP crashes the server
814 after its first successful use (user-not-found's don't affect it).
816 Thu Aug 6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
817 * Got the CitadelAPI library to the point where the server can start
818 up an extension, and the extension will connect to the server, do
819 some initialization, call a user-supplied CtdlMain(), and exit. Also
820 hacked together a _temporary_ form of the new EXTN server command.
822 Wed Aug 5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
823 * Second attempt at getting the server API started. Now it runs
824 outside of the server and builds a connection.
826 Tue Aug 4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
827 * Modified the appearance of Internet addresses when they arrive on
829 * Removed the <E> field from the message format writeup in hack.txt.
830 * Fixed-up citmail.c so that it doesn't try to do database lookups.
832 Mon Aug 3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
833 * Started developing the server-side API. This is in its very
834 initial stages. See serverapi.c and techdoc/api.txt
836 1998-08-02 Nathan Bryant <bryant@cs.usm.maine.edu>
837 * Makefile.in: added config_decls.h to dependencies
839 Sun Aug 2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
840 * config_defs.h: renamed to config_decls.h
841 * config.c, sysoputil.c: updated to reflect the above
843 Sun Aug 2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
844 * config_defs.h: new file, contains external declarations from config.c
845 * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
846 for bbs_home_directory
847 * mailinglist.c, support.c: include <string.h>
848 * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
849 duplicated defs, replace gets() call with fgets()
850 * user_ops.c: define _XOPEN_SOURCE_EXTENDED
852 Sat Aug 1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
853 * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
855 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
856 * ChangeLog: reordered; the GNU standard is to add new entries to the
858 * .cvsignore: added userlist
860 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
861 * Finished migrating everything to the new data store.
862 * Replaced the binary "calllog" with the ASCII "citadel.log"
863 * Began converting broken utilities that depend on the old data store
865 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
866 * Makefile.in: removed msgstats
868 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>