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