1 1998-10-24 Nathan Bryant <bryant@cs.usm.maine.edu>
2 * Makefile.in: Auto dependency generation (may require GNU make, but
3 does at least function without this feature on OSF/1 make);
4 Makefile is regenerated when Makefile.in changes (ditto);
5 `realclean' is now known as `distclean';
6 portability fixes for older Unix make utilities
7 * citadel.c, citadel.h, commands.c: make client suspendable
9 Fri Oct 23 19:34:38 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
10 * setup.c: default node name is now obtained from uname()
11 * config.c: added put_config()
12 * policy.c: added, moved GetExpirePolicy() from room_ops.c
13 * policy.c: implemented cmd_gpex() and cmd_spex()
15 Wed Oct 21 22:24:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
16 * Mail rooms now hide their owner-prefix from the client.
17 * proxy.c: added configurability and primitive message expiry
19 1998-10-20 Nathan Bryant <bryant@cs.usm.maine.edu>
20 * Makefile.tmpl: fix to build client with old Configure script
21 * configure.in: autologin defaults to enabled if crypt() is available
22 * room_ops.c: fix improper null-termination bug I introduced
24 Mon Oct 19 20:52:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
25 * Client ability to force display of prompts in Mail rooms, even when
26 the user has prompting turned off (citadel.rc option)
28 1998-10-16 Nathan Bryant <bryant@cs.usm.maine.edu>
29 * sysdep.c (cprintf): generate a newline on truncated buffer
30 * room_ops.c: exploitable overrun fixes
32 Thu Oct 15 19:27:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
33 * msgbase.c: reimplemented cmd_move()
34 room_ops.c: wrote AddMessageToRoom() which is used for both entering
36 * setup.c: system-default message expire policy of "number of
37 messages, 150" is now a default configuration instead of a temp hack
38 * proxy.c: cache dir create now dies on any error except EEXIST
40 Wed Oct 14 22:41:16 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
43 1998-10-13 Nathan Bryant <bryant@cs.usm.maine.edu>
44 * configure.in: don't check for -lcrypt unless autologin is enabled
45 * file_ops.c: fix another overrun
47 Mon Oct 12 15:27:21 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
48 * Killed the "rooms" subdirectory (it isn't used anymore)
49 * dynloader.c: Made dynamically added server commands case-insensitive
50 * import.c is now serv_upgrade.c, a module
51 * Removed most of the "level 9" trace messages no longer needed
53 1998-10-12 Nathan Bryant <bryant@cs.usm.maine.edu>
54 * Makefile.in: simplified to use pattern rules; files compiled with
55 -D_REENTRANT go to *.ro to allow the same files to be used with both
57 * tools.c, tools.h: new files; misc routines used by both client and
58 server go here. contains safestrncpy() at the moment.
59 * rooms.c: fix several exploitable buffer overruns
60 * sysdep.c: fix infinite loop when long lines are received from the
61 client; fix exploitable buffer overrun in cprintf()
62 * ipc_c_tcp.c: fix infinite loop on long line from server
63 * serv_upgrade.sh: remove uncnsrd-dependent absolute path
64 * .cvsignore: add *.ro
66 Sun Oct 11 23:17:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
67 * Built some more of the message expiry infrastructure
69 1998-10-11 Nathan Bryant <bryant@cs.usm.maine.edu>
70 * citserver.c: fix two more overruns, one of which was preventing
71 the "From Host" from showing up in the <W>ho listing.
73 Sun Oct 11 02:51:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
74 * Moved "struct visit" and its associated defs from citadel.h to
75 server.h where they belong
76 * Set up data structures for room policies (expiry, etc.)
78 1998-10-10 Nathan Bryant <bryant@cs.usm.maine.edu>
79 * citserver.c: fix overrun which caused segv's on servers with long
82 Fri Oct 9 18:34:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
83 * user_ops.c: added PurgeStaleRelationships() to do processing at
84 session logout time to remove visits for rooms which no longer exist
85 * user_ops.c: implemented NewMailCount()
87 1998-10-09 Nathan Bryant <bryant@cs.usm.maine.edu>
88 * serv_chat.c: fix buffer overrun that was resulting in segv's
89 * serv_chat.c: fix another overrun that could cause sessions to hang,
90 and cleaned up some other strncpy()-related stuff. DON'T FORGET TO
91 NULL-TERMINATE DESTINATION BUFFERS AFTER STRNCPY CALLS.
93 Fri Oct 9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
94 * Implemented "lazy mode" traversal - pressing the space bar will do
95 <N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
96 * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
99 Thu Oct 8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
100 * messages.c, citadel.rc: added the ability to display message numbers
101 in the header when reading messages. I think this is butt ugly, but
102 some of the DaveCode afficionados seem to like it...
104 Thu Oct 8 15:34:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
105 * room_ops.c: Added is_noneditable() function to replace all of the
106 duplicated code present in all functions which edit room parameters.
108 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
109 * lots of warning fixes; builds with -std1 on dec unix
110 * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
111 netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
113 * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
115 * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
116 sysdep_decls.h: function pointer/prototyping fixes
117 * rooms.c: use mkfifo(3) instead of system("mkfifo")
119 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
120 * snprintf.c, snprintf.h: new files
121 * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
122 above; citserver now builds and runs on Digital Unix 4.0d with the
123 GNU-style configure script. there is a bug with the hostname display
125 * netproc.c: sillyness fix
126 * room_ops.h: prototype delete_room()
127 * client_chat.c, commands.c, serv_chat.c, sysdep.c:
128 use HAVE_SYS_SELECT_H macro
130 Mon Oct 5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
131 * Began fixing the stuff I broke
133 Sun Oct 4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
134 * Did the big migration to the new data structures. Lots of stuff is
135 now broken. Basic moving from room to room works, but Mail is
136 broken, and some of the administrative commands are unimplemented.
138 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
139 * configure.in: autologin now defaults to disabled
141 Fri Oct 2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
142 * Finally removed all three usersupp.foo[MAXROOMS] elements, and
143 migrated all the code that used them to use "struct visit" instead.
145 Thu Oct 1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
146 * Rewrote [l][get|put]room() functions to use room names rather than
147 room index numbers. Temporarily prepended a "n" to these four
148 function names until they are put to use.
150 Thu Oct 1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
151 * Removed a few more references to usersupp.lastseen[]
153 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
154 * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
155 * Makefile.in: restructured variables for greater consistency, use
156 @echo to print out notices during the make process, add so_locations
158 * configure.in, Makefile.in: configure checks for -rdynamic
159 * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
160 * stats.c: add semicolon to placate DREC compiler
161 * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
162 * configure.in: pass -pthread to DEC compiler, don't check for
163 libpthread[s] on DEC Unix
165 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
166 * Makefile.in: new variable PTHREAD_DEFS for portability
167 * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
168 netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
169 stats.c, userlist.c, whobbs.c: return type of main() is int
170 * citadel.c, commands.c, messages.c: use time_t properly
171 * citserver.c: include <limits.h>
172 * config.guess, config.sub, install-sh: new files
173 * configure.in: don't use gcc on Digital Unix
175 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
176 * room_ops.c: modified usergoto() to look at the new data structures
177 for counting new messages and such.
179 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
180 * user_ops.c: fix compiler warning and potential memory leak,
182 * configure.in, Makefile.in: only build the server if we find pthreads
183 * Makefile.in: realclean removes config.{cache,log,status}
185 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
186 * Removed code from some of the utilities which was still attempting
187 to access the old non-gdbm data store.
188 * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
189 traversal instead of a MAXROOMS loop.
190 * sysdep.c: set up a dummy CitContext record to be used during server
191 startup, during which time there is no real context.
193 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
194 * Implemented the function ForEachRoom() to handle all-rooms traversal
195 (this will work with both the old and new paradigms, because both
196 use a GDBM database with one room per record). Migrated all room
197 list commands to use it.
199 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
200 * Implemented the function CtdlRoomAccess() to handle *all* of the
201 user-access-to-rooms functionality. Migrated all room list commands
202 to use it. Still need to migrate gotos.
204 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
205 * configure.in, acconfig.h: new files; partially functional GNU
206 autoconf configure script. Run autoheader; autoconf; ./configure
207 --prefix=`pwd` to test.
208 * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
210 * Makefile.in: modified to work with autoconf-style configure script
211 * Configure: modified to use Makefile.tmpl and generate autoconf-style
212 macros. Removed procfs detection. Pass -O2 to gcc, -O to other
213 compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
214 * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
215 whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
216 * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
217 * netproc.c: remove procfs stuff. simply attempt to kill the target
218 process with signal zero instead; this checks whether the process
220 * setup.c, useradmin.c: use HAVE_CURSES_H macro
222 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
223 * BOTH the old and new generation systems are being written to at
224 this point. Code that reads stuff is still using the old system.
226 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
227 * Changed all "generation" variables from char to long, in preparation
228 for removing MAXROOMS. Generations for new rooms are now timestamps.
229 * Defined "struct visit" to hold user/room relationships.
230 * Removed some #define's from citadel.h that are no longer used.
232 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
233 * More changes to support attachments. They mostly work, but only
234 in fixed-format messages.
236 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
237 * msgbase.c: began laying the groundwork to support attachments.
238 Purchased Rogaine(tm) in preparation for expected hair loss.
240 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
241 * msgbase.c: include dynloader.h
242 * citadelapi.h: removed
243 * dynloader.h: prototype CtdlRegisterUserHook()
245 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
246 * Added a UserFunctionHook category to implement hooks which perform
247 operations on various users or usernames
249 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
250 * citserver.c: removed cmd_extn() and related code
252 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
253 * user_ops.c: include dynloader.h
254 * roomstats.{c,mk}: removed
255 * Configure, Makefile.in: autodependency-related fixes
257 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
258 * Various changes to allow "new messages" to work correctly with Mail
260 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
261 * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
262 of hook types by inventing an EventType field to the Session hook.
263 * proxy.c: added pre-fetching
265 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
266 * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
267 * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
268 up the dynamic loader interface as follows:
269 - all the symbol table stuff is gone.
270 - modules are loaded once at server startup and never unloaded.
271 - Added a new function CtdlRegisterProtoHook() to handle the stuff
272 that was being done with the symbol tables.
273 - Dynamic_Module_Init() now returns a pointer to a static struct
274 DLModule_Info; this structure itself has been modified to use char*
275 fields instead of fixed char arrays.
276 * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
278 * Configure, Makefile.in: added autodependency support
280 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
281 * Implemented separate structs, lists, and functions for each type
282 of server-side hook available.
284 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
285 * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
288 * sysdep.c, user_ops.c: removed reference to hooks.h
290 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
291 * ipc_c_tcp.c: Reversed any changes that have been made to this file,
292 because something was causing abominally slow response time.
293 * proxy.c: added. This will eventually become a caching, pre-fetching
294 multiuser proxy server for the Citadel protocol.
296 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
297 * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
298 flags for serv_chat.o
299 * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
300 * dynloader.h: prototype CtdlRegisterHook()
301 * .cvsignore: added data
303 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
304 * Tried my hand at adding the ability for server extensions to
305 register various types of "hooks" in addition to just adding
306 server commands. This is probably not final.
308 Tue Sep 8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
309 * Added support for dynamic server modules. Reworked serv_chat.c
312 Tue Sep 1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
313 * userpurge.c: rewrote using functions from the server core, rather
314 than the now-defunct external API. This'll be ready once the module
315 loading code is done. (I just had to commit _something_ tonight.)
317 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
318 * Yanked the citadelapi.c module. This wasn't working out well.
319 * techdocs/citadelapi.txt - began documenting the new API to be used
320 by modules which will be dynamic linked into the server - most of
321 this API is existing server functions.
322 * Added a ForEachUser() function with callback mechanism, and reworked
323 cmd_list() to use it.
325 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
326 * Moved all of the gdbm databases to a separate "data" directory.
328 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
329 * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
332 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
333 * room_ops.c: include time.h
334 * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
335 citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
336 remove duplicated declarations
338 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
339 * setup.c: Removed yesno_s()
340 * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
341 modified whenever a room is modified or posted in.
342 * citadelapi.c: Added CtdlForEachRoom() function
344 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
345 * Makefile.in: new target `cleaner' does the same as `realclean'
346 without removing sysdep.h
347 * proto.h: is bad. eliminate. I've moved the prototypes into several
348 header files, one per .c file
350 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
351 * Added a CtdlGotoRoom() function to the CitadelAPI.
353 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
354 * sysoputil is finally dead! Removed it from the build.
355 * Added userpurge.c server extension (initial implementation)
357 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
358 * Makefile.in: `clean' target no longer rm's sysdep.h; new target
359 `realclean' removes everything clean does, plus sysdep.h, plus
361 * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
362 * *.[ch]: protoized. Added several new header files containing
363 prototypes and other external declarations; many duplicated
364 declarations still should be moved to header files. proto.h must die
367 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
368 * Implemented a bunch of user account related functions in the
371 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
372 * Fixed the crash problem. It wasn't AGUP/ASUP, but rather a buffer
373 overrun in getuser() (thanks, Nathan). Implemented overrun checks
374 in getuser(), getroom(), and getfloor() to prevent future problems.
376 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
377 * Updated citmail.c with the latest stuff from the production system.
378 * Implemented AGUP and ASUP commands, but AGUP crashes the server
379 after its first successful use (user-not-found's don't affect it).
381 Thu Aug 6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
382 * Got the CitadelAPI library to the point where the server can start
383 up an extension, and the extension will connect to the server, do
384 some initialization, call a user-supplied CtdlMain(), and exit. Also
385 hacked together a _temporary_ form of the new EXTN server command.
387 Wed Aug 5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
388 * Second attempt at getting the server API started. Now it runs
389 outside of the server and builds a connection.
391 Tue Aug 4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
392 * Modified the appearance of Internet addresses when they arrive on
394 * Removed the <E> field from the message format writeup in hack.txt.
395 * Fixed-up citmail.c so that it doesn't try to do database lookups.
397 Mon Aug 3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
398 * Started developing the server-side API. This is in its very
399 initial stages. See serverapi.c and techdoc/api.txt
401 1998-08-02 Nathan Bryant <bryant@cs.usm.maine.edu>
402 * Makefile.in: added config_decls.h to dependencies
404 Sun Aug 2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
405 * config_defs.h: renamed to config_decls.h
406 * config.c, sysoputil.c: updated to reflect the above
408 Sun Aug 2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
409 * config_defs.h: new file, contains external declarations from config.c
410 * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
411 for bbs_home_directory
412 * mailinglist.c, support.c: include <string.h>
413 * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
414 duplicated defs, replace gets() call with fgets()
415 * user_ops.c: define _XOPEN_SOURCE_EXTENDED
417 Sat Aug 1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
418 * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
420 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
421 * ChangeLog: reordered; the GNU standard is to add new entries to the
423 * .cvsignore: added userlist
425 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
426 * Finished migrating everything to the new data store.
427 * Replaced the binary "calllog" with the ASCII "citadel.log"
428 * Began converting broken utilities that depend on the old data store
430 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
431 * Makefile.in: removed msgstats
433 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>