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