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