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