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