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