]> code.citadel.org Git - citadel.git/blob - citadel/ChangeLog
msgbase.c: remove extra call to alias() which was causing
[citadel.git] / citadel / ChangeLog
1 1998-12-15 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
2         * msgbase.c: remove extra call to alias() which was causing
3           Citadel-to-Citadel mail to fall into the bit bucket.
4
5 1998-12-14 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
6         * More session table stability nonsense
7
8 Sun Dec 13 17:40:08 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
9         * sysdep.c, citserver.c: (hopefully) fixed a session table concurrency
10           bug which was causing the server to occasionally crash.
11         * removed serv_test.so from the default build
12
13 Fri Dec 11 18:50:00 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
14         * setup.c: default value for maxsessions is now 0 (no limit)
15         * room_ops.c: don't allow users to create a room called "Mail"
16         * serv_expire.c: fixed "number of messages purged" display
17         * commands.c: when using color, default to low-intensity colors
18
19 Tue Dec  8 07:58:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
20         * Beta 2
21
22 Sat Dec  5 01:24:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
23         * Added a new type of module hook for adding logging functions
24         * Removed whitespace to left and right of '@' in netmail recipients
25         * sysdep.c: read citadel.config _before_ initializing loadable modules
26         * stats.c: fixed segfault resulting from extracting log lines
27         * Ripped most of the "attachments" stuff out of both the client and
28           server.  (Thought of a better way to handle it ... LATER.)
29
30 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
31         * setup.c: create citadel.config with mode 0600
32         * Makefile.in: don't chmod sendcommand
33         * serv_upgrade.c: don't create citadel.config if it doesn't already
34           exist (paranoia)
35         * setup.c: saner defaults for nodename and fqdn
36
37 Wed Dec  2 20:37:05 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
38         * msgbase.c: modified AddMessageToRoom() and all functions that call it
39           to use a more reliable/accurate method to set quickroom.QRhighest
40         * weekly.in: don't sort/purge filedir where filedir doesn't exist
41
42 1998-12-02 Nathan Bryant <bryant@cs.usm.maine.edu>
43         * weekly is now generated by configure
44
45 Mon Nov 30 19:48:52 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
46         * room_ops.c: added sort_msglist() to move and save operations
47         * sendcommand.c: added (also updated utils.txt, weekly, Makefile.in)
48         * BETA 1
49
50 Sun Nov 29 23:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
51         * Fixed cmd_regi() to not display a second result code after xfer
52         * Makefile.in: Removed "chmod 4755 citmail netmailer"
53
54 1998-11-23 Nathan Bryant <bryant@cs.usm.maine.edu>
55         * citadel.spec: added
56
57 1998-11-22 Nathan Bryant <bryant@cs.usm.maine.edu>
58         * Makefile.in: split install target into install-exec, install-data,
59           and install-doc subtargets
60
61 Sat Nov 21 16:53:30 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
62         * Added a fourth color mode in the client: "user" which turns color
63           on or off according to a per-user flag stored on the server.  Added
64           server-side support for this too, of course.
65         * import.c: removed
66         * serv_expire.c: finished the code to purge stale visits
67         * sysdep.c: strip trailing nonprintables in client_gets()
68         * routines2.c: fixed <.AS> command; all configs now work properly
69         * Moved num_parms() and all the extract() type functions into tools.c
70           and removed them from all other files.  Linked in tools.[o|ro] there.
71         * netproc.c: handled incoming file transfers to correct room directory
72         * room_ops.c: fixed incorrect naming of files in info and images dirs
73
74 Fri Nov 20 20:29:07 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
75         * setup.c: removed all prompts that can be configured from within the
76           client in order to simplify the setup procedure
77
78 Thu Nov 19 23:28:33 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
79         * Fixed serv_upgrade.c and export5.c (found elsewhere) to use a new
80           export format which treats visits as a separate section
81         * serv_expire.c: began writing functions to purge rooms and visits
82           (neither work yet), and added a way to call defrag_databases()
83
84 Wed Nov 18 23:51:17 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
85         * Reimplemented 'visit' structs stored globally instead of as
86           lists-per-user
87
88 Tue Nov 17 22:37:48 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
89         * Started implementing global room numbers.
90
91 Sun Nov 15 20:32:34 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
92         * room_ops.c: mailbox rooms always appear on the main floor
93         * made QR_MAILBOX rooms non-editable
94         * cmd_setr() delete old room record when room name changes
95           (This causes a big mess that exposes a flaw in the whole design.)
96         * room_ops.c: users can delete messages from their mailboxes
97
98 Thu Nov 12 23:59:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
99         * Rewrote cmd_rchg() and also increased the size of the "fakename"
100           buffer.  Overruns are probably what was causing the crashes.
101         * Changed the way cmd_ent3() handles mail messages; the previous code
102           rerouted all private mail to the trash.
103
104 Wed Nov 11 17:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
105         * citserver.c: slight changes to cmd_rchg() and cmd_hchg() [crashes]
106         * citserver.c, msgbase.c, user_ops.c: hide the owner-prefix of mail
107           rooms in a couple more places: set_wtmpsupp() and make_message()
108         * sysdep.c: added an fflush() to lprintf() for "tail -f"-able logs
109         * serv_expire.c: purge ops are now a command instead of a cleanup
110           function.  This is probably temporary as well.
111         * citadel.c: fixed the way <.WL> parses the returned data from a
112           TIME command.
113
114 1998-11-11 Nathan Bryant <bryant@cs.usm.maine.edu>
115         * serv_upgrade.c: fix uninitialized variable
116
117 Wed Nov 11 00:47:32 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
118         * msgbase.c: fixed a bug that was misrouting incoming network msgs
119         * server.h, database.c: wrapped all GDBM calls in critical sections
120           to avoid making those calls re-entrantly (gdbm fatal: lseek error)
121
122 1998-11-10 Nathan Bryant <bryant@cs.usm.maine.edu>
123         * Makefile.in: link in snprintf.o where needed
124
125 1998-11-09 Nathan Bryant <bryant@cs.usm.maine.edu>
126         * client_chat.c: eliminate calls to sprintf()
127         * commands.h, routines.c, routines2.c: warning fix
128         * commands.c, control.c, cux2ascii.c, file_ops.c, import.c,
129           ipc_c_tcp.c: eliminate sprintf() calls
130
131 Mon Nov  9 19:15:31 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
132         * serv_upgrade.c: added all missing fields to export/import
133         * serv_expire.c: support per-user purge time when purging users
134         * user_ops.c: added per-user purge time to AGUP and ASUP commands
135         * routines.c: added more stuff to <.A>ide <E>dit user
136
137 Sun Nov  8 22:56:53 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
138         * serv_expire.c: created; moved message expiry from serv_test.c,
139           moved user purge from userpurge.c
140         * userpurge.c: deleted
141         * routines2.c: finished <.AS> command
142         * room_ops.c: fixed Aide room access (for some reason, the Aide
143           room had the QR_MAILBOX flag set)
144
145 1998-11-08 Nathan Bryant <bryant@cs.usm.maine.edu>
146         * useradmin.c: really removed (cvs remove)
147         * aidepost.c, citadel.c: convert all sprintf() calls to snprintf()
148         * sysdep.c: fix overrun in lprintf() described by dme/Dead Monkey
149         * citmail.c, citserver.c: convert all sprintf() call to snprintf()
150
151 Sun Nov  8 13:19:36 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
152         * useradmin.c: removed
153         * utils.doc: removed references to useradmin and sysoputil
154
155 Fri Nov  6 20:22:20 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
156         * citadel.h (and related files): removed defunct parameters,
157           c_defent and c_msgbase (erase your test bbs)
158         * Implemented CONF server command for site-global configs
159         * Shuffled yesno() and yesno_d() from routines.c to commands.c
160         * commands.c: implemented boolprompt()
161         * routines2.c: started adding CONF questions to <.AS> command
162         * room_ops.c: began a fix for the mysterious disappearing Aide room
163
164 1998-11-05 Nathan Bryant <bryant@cs.usm.maine.edu>
165         * snprintf.c: warning fix propagated over from gcit
166
167 1998-11-04 Nathan Bryant <bryant@cs.usm.maine.edu>
168         * added RCS Id keyword strings to sources
169         * citmail.c: reverted to version 1.10
170
171 Wed Nov  4 10:53:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
172         * messages.c: temporarily set screenwidth to a fixed value of 80
173           during <P>rint operations.
174
175 Mon Nov  2 12:59:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
176         * setup.c: looks for 'citadel', 'bbs', or 'guest' in /etc/passwd to
177           try to get a default for bbsuid if it's currently set to 0
178         * citmail.c: changed usersupp.eternal to usersupp.usernum (why didn't
179           it complain about this before?)
180         * serv_upgrade.c: began writing an "export" command to do sidegrades
181
182 Sun Nov  1 18:47:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
183         * serv_upgrade.c: cosmetic changes
184         * Implemented message expiry by date (this really needs to be moved
185           out of serv_test.c, but where does it belong?)
186
187 1998-11-01 Nathan Bryant <bryant@cs.usm.maine.edu>
188         * serv_upgrade.c: warning fixes
189         * acconfig.h: remove ANSI_COLOR
190         * Configure, Makefile.tmpl: removed
191
192 Sat Oct 31 20:48:44 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
193         * More stoopid ANSI colour additions here and there.
194         * ANSI colour selection is now in citadel.rc instead of an option in
195           the configure script.  "on" "off" and "auto" are available.
196         * added "build.txt" to the techdoc directory, with LS's build notes
197
198 1998-10-31 Nathan Bryant <bryant@cs.usm.maine.edu>
199         * citadel.c, commands.c, commands.h: set background color to black
200           before clearing screen, so that we can actually see text on
201           black-on-white xterms.
202
203 1998-10-29 Nathan Bryant <bryant@cs.usm.maine.edu>
204         * rooms.c: fix color of Mail>
205         * citadel.c: send ANSI detect sequence after attach_to_server() so the
206           terminal doesn't send the answerback sequence to the shell if we
207           can't connect.
208
209 Wed Oct 28 20:20:14 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us
210         * citadel.c: Added a splash of colour to the Wholist
211
212 1998-10-28 Nathan Bryant <bryant@cs.usm.maine.edu>
213         * configure.in: added comments
214         * mkinstalldirs: new file to be used for `make install'
215         * aclocal.m4, missing: new files, also swiped from automake
216         * citadel.c: don't mung the terminal if we can't find citadel.rc
217         * Makefile.in: added `install' target, `clean' removes
218           *.mo, rebuild configure when configure.in changes.
219         * configure.in: check for install and autoconf
220         * configure.in, Makefile.in: only pass -fPIC to gcc
221         * policy.c: warning fix for OSF/1 (use memset() instead of bzero())
222
223 Tue Oct 27 22:25:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
224         * Unified the "unpacked database" format for both upgrades and
225           sidegrades (also see export5.c elsewhere)
226         * citserver.c: clear out cmdbuf before reading a command; some server
227           commands were accidentally extracting parameters from previous cmds
228         * rooms.c: removed the warning about the ineffectiveness of kicking
229           users out of public rooms, because the new server can do lockouts
230
231 1998-10-27 Nathan Bryant <bryant@cs.usm.maine.edu>
232         * sysdep.c (client_gets), ipc_c_tcp.c (serv_gets): improved handling
233           of long lines. 
234         * Makefile.in: partial support for VPATH builds, autodependency fix
235
236 Tue Oct 27 00:08:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
237         * minor documentation changes
238
239 Sun Oct 25 14:57:40 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
240         * messages.c: fixed an oversight that was allowing attachments even
241           when disabled in citadel.rc
242
243 1998-10-25 Nathan Bryant <bryant@cs.usm.maine.edu>
244         * routines2.c: warning fix
245
246 Sat Oct 24 22:07:56 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
247         * Client: added message expiration policy questions to room edit
248         * Client: added <.A>ide <S>ystem configuration command
249
250 1998-10-24 Nathan Bryant <bryant@cs.usm.maine.edu>
251         * Makefile.in: Auto dependency generation (may require GNU make, but
252           does at least function without this feature on OSF/1 make);
253           Makefile is regenerated when Makefile.in changes (ditto);
254           `realclean' is now known as `distclean';
255           portability fixes for older Unix make utilities
256         * citadel.c, citadel.h, commands.c: make client suspendable
257
258 Fri Oct 23 19:34:38 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
259         * setup.c: default node name is now obtained from uname()
260         * config.c: added put_config()
261         * policy.c: added, moved GetExpirePolicy() from room_ops.c
262         * policy.c: implemented cmd_gpex() and cmd_spex()
263
264 Wed Oct 21 22:24:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
265         * Mail rooms now hide their owner-prefix from the client.
266         * proxy.c: added configurability and primitive message expiry
267
268 1998-10-20 Nathan Bryant <bryant@cs.usm.maine.edu>
269         * Makefile.tmpl: fix to build client with old Configure script
270         * configure.in: autologin defaults to enabled if crypt() is available
271         * room_ops.c: fix improper null-termination bug I introduced
272
273 Mon Oct 19 20:52:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
274         * Client ability to force display of prompts in Mail rooms, even when
275           the user has prompting turned off (citadel.rc option)
276
277 1998-10-16 Nathan Bryant <bryant@cs.usm.maine.edu>
278         * sysdep.c (cprintf): generate a newline on truncated buffer
279         * room_ops.c: exploitable overrun fixes
280
281 Thu Oct 15 19:27:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
282         * msgbase.c: reimplemented cmd_move()
283           room_ops.c: wrote AddMessageToRoom() which is used for both entering
284           and moving messages.
285         * setup.c: system-default message expire policy of "number of
286           messages, 150" is now a default configuration instead of a temp hack
287         * proxy.c: cache dir create now dies on any error except EEXIST
288
289 Wed Oct 14 22:41:16 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
290         * Misc code cleanup
291
292 1998-10-13 Nathan Bryant <bryant@cs.usm.maine.edu>
293         * configure.in: don't check for -lcrypt unless autologin is enabled
294         * file_ops.c: fix another overrun
295
296 Mon Oct 12 15:27:21 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
297         * Killed the "rooms" subdirectory (it isn't used anymore)
298         * dynloader.c: Made dynamically added server commands case-insensitive
299         * import.c is now serv_upgrade.c, a module
300         * Removed most of the "level 9" trace messages no longer needed
301
302 1998-10-12 Nathan Bryant <bryant@cs.usm.maine.edu>
303         * Makefile.in: simplified to use pattern rules; files compiled with
304           -D_REENTRANT go to *.ro to allow the same files to be used with both
305           client and server
306         * tools.c, tools.h: new files; misc routines used by both client and
307           server go here. contains safestrncpy() at the moment.
308         * rooms.c: fix several exploitable buffer overruns
309         * sysdep.c: fix infinite loop when long lines are received from the
310           client; fix exploitable buffer overrun in cprintf()
311         * ipc_c_tcp.c: fix infinite loop on long line from server
312         * serv_upgrade.sh: remove uncnsrd-dependent absolute path
313         * .cvsignore: add *.ro
314
315 Sun Oct 11 23:17:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
316         * Built some more of the message expiry infrastructure
317
318 1998-10-11 Nathan Bryant <bryant@cs.usm.maine.edu>
319         * citserver.c: fix two more overruns, one of which was preventing
320           the "From Host" from showing up in the <W>ho listing.
321
322 Sun Oct 11 02:51:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
323         * Moved "struct visit" and its associated defs from citadel.h to
324           server.h where they belong
325         * Set up data structures for room policies (expiry, etc.)
326
327 1998-10-10 Nathan Bryant <bryant@cs.usm.maine.edu>
328         * citserver.c: fix overrun which caused segv's on servers with long
329           hostnames.
330
331 Fri Oct  9 18:34:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
332         * user_ops.c: added PurgeStaleRelationships() to do processing at
333           session logout time to remove visits for rooms which no longer exist
334         * user_ops.c: implemented NewMailCount()
335
336 1998-10-09 Nathan Bryant <bryant@cs.usm.maine.edu>
337         * serv_chat.c: fix buffer overrun that was resulting in segv's
338         * serv_chat.c: fix another overrun that could cause sessions to hang,
339           and cleaned up some other strncpy()-related stuff. DON'T FORGET TO
340           NULL-TERMINATE DESTINATION BUFFERS AFTER STRNCPY CALLS.
341
342 Fri Oct  9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
343         * Implemented "lazy mode" traversal - pressing the space bar will do
344           <N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
345         * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
346           only to their owners.
347
348 Thu Oct  8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
349         * messages.c, citadel.rc: added the ability to display message numbers
350           in the header when reading messages.  I think this is butt ugly, but
351           some of the DaveCode afficionados seem to like it...
352
353 Thu Oct  8 15:34:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
354         * room_ops.c: Added is_noneditable() function to replace all of the
355           duplicated code present in all functions which edit room parameters.
356
357 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
358         * lots of warning fixes; builds with -std1 on dec unix
359         * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
360           netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
361           needed
362         * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
363           bzero()
364         * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
365           sysdep_decls.h: function pointer/prototyping fixes
366         * rooms.c: use mkfifo(3) instead of system("mkfifo")
367
368 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
369         * snprintf.c, snprintf.h: new files
370         * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
371           above; citserver now builds and runs on Digital Unix 4.0d with the
372           GNU-style configure script. there is a bug with the hostname display
373           in the wholist.
374         * netproc.c: sillyness fix
375         * room_ops.h: prototype delete_room()
376         * client_chat.c, commands.c, serv_chat.c, sysdep.c:
377           use HAVE_SYS_SELECT_H macro
378
379 Mon Oct  5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
380         * Began fixing the stuff I broke
381
382 Sun Oct  4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
383         * Did the big migration to the new data structures.  Lots of stuff is
384           now broken.  Basic moving from room to room works, but Mail is
385           broken, and some of the administrative commands are unimplemented.
386
387 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
388         * configure.in: autologin now defaults to disabled
389
390 Fri Oct  2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
391         * Finally removed all three usersupp.foo[MAXROOMS] elements, and
392           migrated all the code that used them to use "struct visit" instead.
393
394 Thu Oct  1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
395         * Rewrote [l][get|put]room() functions to use room names rather than
396           room index numbers.  Temporarily prepended a "n" to these four
397           function names until they are put to use.
398
399 Thu Oct  1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
400         * Removed a few more references to usersupp.lastseen[]
401
402 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
403         * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
404         * Makefile.in: restructured variables for greater consistency, use
405           @echo to print out notices during the make process, add so_locations
406           to `cleaner'
407         * configure.in, Makefile.in: configure checks for -rdynamic
408         * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
409         * stats.c: add semicolon to placate DREC compiler
410         * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
411         * configure.in: pass -pthread to DEC compiler, don't check for
412           libpthread[s] on DEC Unix
413
414 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
415         * Makefile.in: new variable PTHREAD_DEFS for portability
416         * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
417           netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
418           stats.c, userlist.c, whobbs.c: return type of main() is int
419         * citadel.c, commands.c, messages.c: use time_t properly
420         * citserver.c: include <limits.h>
421         * config.guess, config.sub, install-sh: new files
422         * configure.in: don't use gcc on Digital Unix
423
424 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
425         * room_ops.c: modified usergoto() to look at the new data structures
426           for counting new messages and such.
427
428 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
429         * user_ops.c: fix compiler warning and potential memory leak,
430           include sysdep.h
431         * configure.in, Makefile.in: only build the server if we find pthreads
432         * Makefile.in: realclean removes config.{cache,log,status}
433
434 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
435         * Removed code from some of the utilities which was still attempting
436           to access the old non-gdbm data store.
437         * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
438           traversal instead of a MAXROOMS loop.
439         * sysdep.c: set up a dummy CitContext record to be used during server
440           startup, during which time there is no real context.
441
442 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
443         * Implemented the function ForEachRoom() to handle all-rooms traversal
444           (this will work with both the old and new paradigms, because both
445           use a GDBM database with one room per record).  Migrated all room
446           list commands to use it.
447
448 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
449         * Implemented the function CtdlRoomAccess() to handle *all* of the
450           user-access-to-rooms functionality.  Migrated all room list commands
451           to use it.  Still need to migrate gotos.
452
453 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
454         * configure.in, acconfig.h: new files; partially functional GNU
455           autoconf configure script. Run autoheader; autoconf; ./configure
456           --prefix=`pwd` to test.
457         * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
458           Configure.
459         * Makefile.in: modified to work with autoconf-style configure script
460         * Configure: modified to use Makefile.tmpl and generate autoconf-style
461           macros. Removed procfs detection. Pass -O2 to gcc, -O to other
462           compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
463         * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
464           whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
465         * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
466         * netproc.c: remove procfs stuff. simply attempt to kill the target
467           process with signal zero instead; this checks whether the process
468           exists.
469         * setup.c, useradmin.c: use HAVE_CURSES_H macro
470
471 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
472         * BOTH the old and new generation systems are being written to at
473           this point.  Code that reads stuff is still using the old system.
474
475 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
476         * Changed all "generation" variables from char to long, in preparation
477           for removing MAXROOMS.  Generations for new rooms are now timestamps.
478         * Defined "struct visit" to hold user/room relationships.
479         * Removed some #define's from citadel.h that are no longer used.
480
481 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
482         * More changes to support attachments.  They mostly work, but only
483           in fixed-format messages.
484
485 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
486         * msgbase.c: began laying the groundwork to support attachments.
487           Purchased Rogaine(tm) in preparation for expected hair loss.
488
489 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
490         * msgbase.c: include dynloader.h
491         * citadelapi.h: removed
492         * dynloader.h: prototype CtdlRegisterUserHook()
493
494 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
495         * Added a UserFunctionHook category to implement hooks which perform
496           operations on various users or usernames
497
498 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
499         * citserver.c: removed cmd_extn() and related code
500
501 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
502         * user_ops.c: include dynloader.h
503         * roomstats.{c,mk}: removed
504         * Configure, Makefile.in: autodependency-related fixes
505
506 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
507         * Various changes to allow "new messages" to work correctly with Mail
508
509 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
510         * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
511           of hook types by inventing an EventType field to the Session hook.
512         * proxy.c: added pre-fetching
513
514 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
515         * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
516         * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
517           up the dynamic loader interface as follows:
518           - all the symbol table stuff is gone.
519           - modules are loaded once at server startup and never unloaded.
520           - Added a new function CtdlRegisterProtoHook() to handle the stuff
521             that was being done with the symbol tables.
522           - Dynamic_Module_Init() now returns a pointer to a static struct
523             DLModule_Info; this structure itself has been modified to use char*
524             fields instead of fixed char arrays.
525         * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
526           in use?)
527         * Configure, Makefile.in: added autodependency support
528
529 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
530         * Implemented separate structs, lists, and functions for each type
531           of server-side hook available.
532
533 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
534         * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
535           instead of bcopy()
536         * hooks.h: removed
537         * sysdep.c, user_ops.c: removed reference to hooks.h
538
539 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
540         * ipc_c_tcp.c: Reversed any changes that have been made to this file,
541           because something was causing abominally slow response time.
542         * proxy.c: added.  This will eventually become a caching, pre-fetching
543           multiuser proxy server for the Citadel protocol.
544
545 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
546         * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
547           flags for serv_chat.o
548         * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
549         * dynloader.h: prototype CtdlRegisterHook()
550         * .cvsignore: added data
551
552 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
553         * Tried my hand at adding the ability for server extensions to
554           register various types of "hooks" in addition to just adding
555           server commands.  This is probably not final.
556
557 Tue Sep  8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
558         * Added support for dynamic server modules.  Reworked serv_chat.c
559           to be such a module.
560
561 Tue Sep  1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
562         * userpurge.c: rewrote using functions from the server core, rather
563           than the now-defunct external API.  This'll be ready once the module
564           loading code is done.  (I just had to commit _something_ tonight.)
565
566 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
567         * Yanked the citadelapi.c module.  This wasn't working out well.
568         * techdocs/citadelapi.txt - began documenting the new API to be used
569           by modules which will be dynamic linked into the server - most of
570           this API is existing server functions.
571         * Added a ForEachUser() function with callback mechanism, and reworked
572           cmd_list() to use it.
573
574 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
575         * Moved all of the gdbm databases to a separate "data" directory.
576
577 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
578         * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
579           problem
580
581 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
582         * room_ops.c: include time.h
583         * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
584           citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
585           remove duplicated declarations
586
587 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
588         * setup.c: Removed yesno_s()
589         * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
590           modified whenever a room is modified or posted in.
591         * citadelapi.c: Added CtdlForEachRoom() function
592
593 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
594         * Makefile.in: new target `cleaner' does the same as `realclean' 
595           without removing sysdep.h
596         * proto.h: is bad. eliminate. I've moved the prototypes into several
597           header files, one per .c file
598
599 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
600         * Added a CtdlGotoRoom() function to the CitadelAPI.
601  
602 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
603         * sysoputil is finally dead!  Removed it from the build.
604         * Added userpurge.c server extension (initial implementation)
605
606 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
607         * Makefile.in: `clean' target no longer rm's sysdep.h; new target
608           `realclean' removes everything clean does, plus sysdep.h, plus
609           target binaries.
610         * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
611         * *.[ch]: protoized. Added several new header files containing
612           prototypes and other external declarations; many duplicated
613           declarations still should be moved to header files. proto.h must die
614           as well, IMHO.
615
616 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
617         * Implemented a bunch of user account related functions in the
618           CitadelAPI library.
619
620 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
621         * Fixed the crash problem.  It wasn't AGUP/ASUP, but rather a buffer
622           overrun in getuser() (thanks, Nathan).  Implemented overrun checks
623           in getuser(), getroom(), and getfloor() to prevent future problems.
624
625 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
626         * Updated citmail.c with the latest stuff from the production system.
627         * Implemented AGUP and ASUP commands, but AGUP crashes the server
628           after its first successful use (user-not-found's don't affect it).
629
630 Thu Aug  6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
631         * Got the CitadelAPI library to the point where the server can start
632           up an extension, and the extension will connect to the server, do
633           some initialization, call a user-supplied CtdlMain(), and exit.  Also
634           hacked together a _temporary_ form of the new EXTN server command.
635  
636 Wed Aug  5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
637         * Second attempt at getting the server API started.  Now it runs
638           outside of the server and builds a connection.
639
640 Tue Aug  4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
641         * Modified the appearance of Internet addresses when they arrive on
642           a Citadel system.
643         * Removed the <E> field from the message format writeup in hack.txt.
644         * Fixed-up citmail.c so that it doesn't try to do database lookups.
645
646 Mon Aug  3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
647         * Started developing the server-side API.  This is in its very
648           initial stages.  See serverapi.c and techdoc/api.txt
649
650 1998-08-02  Nathan Bryant  <bryant@cs.usm.maine.edu>
651         * Makefile.in: added config_decls.h to dependencies
652
653 Sun Aug  2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
654         * config_defs.h: renamed to config_decls.h
655         * config.c, sysoputil.c: updated to reflect the above
656
657 Sun Aug  2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
658         * config_defs.h: new file, contains external declarations from config.c
659         * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
660           for bbs_home_directory
661         * mailinglist.c, support.c: include <string.h>
662         * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
663           duplicated defs, replace gets() call with fgets()
664         * user_ops.c: define _XOPEN_SOURCE_EXTENDED
665
666 Sat Aug  1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
667         * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
668
669 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
670         * ChangeLog: reordered; the GNU standard is to add new entries to the
671           top.
672         * .cvsignore: added userlist
673
674 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
675         * Finished migrating everything to the new data store.
676         * Replaced the binary "calllog" with the ASCII "citadel.log"
677         * Began converting broken utilities that depend on the old data store
678
679 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
680         * Makefile.in: removed msgstats
681
682 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
683         * Initial CVS import