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