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