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