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