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