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