citadel.git
25 years agoMon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Tue, 25 Aug 1998 00:34:03 +0000 (00:34 +0000)]
Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * Makefile.in: new target `cleaner' does the same as `realclean'
          without removing sysdep.h
        * proto.h: is bad. eliminate. I've moved the prototypes into several
          header files, one per .c file

25 years ago * Added a CtdlGotoRoom() function to the CitadelAPI.
Art Cancro [Mon, 24 Aug 1998 04:46:53 +0000 (04:46 +0000)]
    * Added a CtdlGotoRoom() function to the CitadelAPI.

25 years ago * sysoputil is finally dead! Removed it from the build.
Art Cancro [Mon, 24 Aug 1998 01:48:31 +0000 (01:48 +0000)]
    * sysoputil is finally dead!  Removed it from the build.
        * Added userpurge.c server extension (initial implementation)

25 years agoSmall changes to the code to delete a user.
Art Cancro [Tue, 18 Aug 1998 15:49:08 +0000 (15:49 +0000)]
Small changes to the code to delete a user.

25 years agoDR19980818
Nathan Bryant [Tue, 18 Aug 1998 13:43:13 +0000 (13:43 +0000)]
DR19980818

25 years agoforgot Configure
Nathan Bryant [Tue, 18 Aug 1998 04:53:01 +0000 (04:53 +0000)]
forgot Configure

25 years agoTue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Tue, 18 Aug 1998 04:50:10 +0000 (04:50 +0000)]
Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * Makefile.in: `clean' target no longer rm's sysdep.h; new target
          `realclean' removes everything clean does, plus sysdep.h, plus
          target binaries.
        * *.[ch]: protoized. Added several new header files containing
          prototypes and other external declarations; many duplicated
          declarations still should be moved to header files. proto.h must die
          as well, IMHO.

25 years ago * Implemented a bunch of user account related functions in the
Art Cancro [Tue, 18 Aug 1998 03:53:02 +0000 (03:53 +0000)]
    * Implemented a bunch of user account related functions in the
          CitadelAPI library.

25 years ago * Fixed the crash problem. It wasn't AGUP/ASUP, but rather a buffer
Art Cancro [Tue, 18 Aug 1998 00:03:11 +0000 (00:03 +0000)]
    * Fixed the crash problem.  It wasn't AGUP/ASUP, but rather a buffer
          overrun in getuser() (thanks, Nathan).  Implemented overrun checks
          in getuser(), getroom(), and getfloor() to prevent future problems.

25 years ago * Updated citmail.c with the latest stuff from the production system.
Art Cancro [Mon, 17 Aug 1998 04:08:48 +0000 (04:08 +0000)]
    * Updated citmail.c with the latest stuff from the production system.
        * Implemented AGUP and ASUP commands, but AGUP crashes the server
          after its first successful use (user-not-found's don't affect it).
          Haven't figured this one out yet...

25 years agoAdded the EXTN command in a temporary form to run server extensions, but
Art Cancro [Wed, 12 Aug 1998 02:58:45 +0000 (02:58 +0000)]
Added the EXTN command in a temporary form to run server extensions, but
there's a bug in it for some reason, that after you successfully run an
extension, the next server command crashes the server. This needs to be
fixed...

25 years agoGot the CitadelAPI library to the point where the server can start
Art Cancro [Thu, 6 Aug 1998 23:27:02 +0000 (23:27 +0000)]
Got the CitadelAPI library to the point where the server can start
up an extension, and the extension will connect to the server, do
some initialization, call a user-supplied CtdlMain(), and exit.  Also
hacked together a _temporary_ form of the new EXTN server command.

25 years agoSecond attempt at getting the server API started. Now it runs
Art Cancro [Thu, 6 Aug 1998 03:03:45 +0000 (03:03 +0000)]
Second attempt at getting the server API started.  Now it runs
outside of the server and builds a connection.

25 years agoEliminated the logged_time and time_limit stuff. Since the code which handles
Art Cancro [Wed, 5 Aug 1998 02:47:04 +0000 (02:47 +0000)]
Eliminated the logged_time and time_limit stuff.  Since the code which handles
the db records is written to pad "short" records with nulls, we can add these
at any time later on.

25 years ago*** empty log message ***
Art Cancro [Wed, 5 Aug 1998 02:40:27 +0000 (02:40 +0000)]
*** empty log message ***

25 years agoChanges required in order to handle the new translation paradigm for Internet
Art Cancro [Wed, 5 Aug 1998 02:39:39 +0000 (02:39 +0000)]
Changes required in order to handle the new translation paradigm for Internet
addresses being converted into Citadel addresses.  Also cleaned up citmail.c
to not look at any local databases, but instead feed blindly into netproc.

25 years ago*** empty log message ***
Art Cancro [Tue, 4 Aug 1998 22:34:04 +0000 (22:34 +0000)]
*** empty log message ***

25 years agoAltered the translation of incoming Internet e-mail addresses to Citadel
Art Cancro [Tue, 4 Aug 1998 22:32:56 +0000 (22:32 +0000)]
Altered the translation of incoming Internet e-mail addresses to Citadel
addresses.
Removed the <E> field from the message format.  It doesn't work.

25 years agoAltered the translation of incoming Internet e-mail addresses to Citadel
Art Cancro [Tue, 4 Aug 1998 22:32:42 +0000 (22:32 +0000)]
Altered the translation of incoming Internet e-mail addresses to Citadel
addresses.

25 years agoUmm...
Art Cancro [Tue, 4 Aug 1998 03:04:48 +0000 (03:04 +0000)]
Umm...

25 years agoOof. Here it is: the beginning of our server-side API. This commit is just
Art Cancro [Tue, 4 Aug 1998 02:55:25 +0000 (02:55 +0000)]
Oof.  Here it is: the beginning of our server-side API.  This commit is just
a couple of basic functions to get information about user records.  The initial
plan is to get enough functionality in place to write a new version of the
auto-purger (the code that automatically deletes users who haven't called in
a while) using the API.

25 years agoStart of documentation for server extension API
Art Cancro [Tue, 4 Aug 1998 02:18:42 +0000 (02:18 +0000)]
Start of documentation for server extension API

25 years agoGotta add LS to the mix! I'm not quite sure how the copyright is supposed to
Art Cancro [Tue, 4 Aug 1998 01:31:30 +0000 (01:31 +0000)]
Gotta add LS to the mix!  I'm not quite sure how the copyright is supposed to
get phrased on a bazaar project though.

25 years ago*** empty log message ***
Nathan Bryant [Mon, 3 Aug 1998 01:57:56 +0000 (01:57 +0000)]
*** empty log message ***

25 years agoAdded config_decls.h to dependencies
Nathan Bryant [Mon, 3 Aug 1998 01:48:33 +0000 (01:48 +0000)]
Added config_decls.h to dependencies

25 years agoSun Aug 2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Mon, 3 Aug 1998 01:11:13 +0000 (01:11 +0000)]
Sun Aug  2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * config_defs.h: renamed to config_decls.h
        * config.c, sysoputil.c: updated to reflect the above

25 years agoSun Aug 2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Sun, 2 Aug 1998 22:56:39 +0000 (22:56 +0000)]
Sun Aug  2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
* config_defs.h: new file, contains external declarations from config.c
* config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
  for bbs_home_directory
* mailinglist.c, support.c: include <string.h>
* sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
  duplicated defs, replace gets() call with fgets()
* user_ops.c: define _XOPEN_SOURCE_EXTENDED

25 years ago.cvsignore: added citadel.log
Nathan Bryant [Sat, 1 Aug 1998 22:36:00 +0000 (22:36 +0000)]
.cvsignore: added citadel.log

25 years agoSat Aug 1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Sat, 1 Aug 1998 22:33:57 +0000 (22:33 +0000)]
Sat Aug  1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname

25 years agoPrettied up the verbose version of the wholist.
Art Cancro [Fri, 31 Jul 1998 01:12:16 +0000 (01:12 +0000)]
Prettied up the verbose version of the wholist.

25 years agoChanged all of the proprietary strucmp() and struncmp() calls to the more
Art Cancro [Thu, 30 Jul 1998 00:50:11 +0000 (00:50 +0000)]
Changed all of the proprietary strucmp() and struncmp() calls to the more
standardized strcasecmp() and strncasecmp(), EXCEPT in the client.  The client
was left alone in order to allow it to be more portable -- strcasecmp() is
on most systems these days, but it's still not universal.

25 years agoFixed a bug which caused the server to crash when reading a message in
Art Cancro [Wed, 29 Jul 1998 03:43:05 +0000 (03:43 +0000)]
Fixed a bug which caused the server to crash when reading a message in
"headers only" mode.

25 years agoCall bzero() on newly allocated CitContext structs. Hopefully this will
Art Cancro [Tue, 28 Jul 1998 16:55:50 +0000 (16:55 +0000)]
Call bzero() on newly allocated CitContext structs.  Hopefully this will
clear up the garbaged-wholist problem.  (Applied this fix to the stable code
on Uncensored also)

25 years agoConverted send_message() to accept a memory buffer rather than the name of
Art Cancro [Mon, 27 Jul 1998 03:32:55 +0000 (03:32 +0000)]
Converted send_message() to accept a memory buffer rather than the name of
a temporary file.  The temporary file is still there, however -- the buffer
read is now done in save_message() instead.  But we're one step closer to
removing the temporary file.  Now we have to convert save_message() (not a
big deal) and all of its callers (somewhat more involved).

25 years agoThis is a program which imports "exported" Citadel databases. It will be used
Art Cancro [Sun, 26 Jul 1998 23:52:09 +0000 (23:52 +0000)]
This is a program which imports "exported" Citadel databases.  It will be used
primarily for Citadel5->Citadel6 migration, and perhaps to change database
managers on an existing system.  (There is an "export5" utility for Citadel 5,
and this import utility works on Citadel 6.  Therefore, the migration works,
but until an import utility is written for Citadel 6, the changing of
database managers isn't possible yet.  That probably won't be a big deal,
though, because after I discovered that the inflated message base size problem
was due to the netproc bug rather than poor GDBM implementation, we'll probably
stick with GDBM.  Indeed, GDBM is _exceptionally_ efficient with disk!

25 years agoFixed a bug which was here even before we started the groupware project: in
Art Cancro [Sun, 26 Jul 1998 23:48:14 +0000 (23:48 +0000)]
Fixed a bug which was here even before we started the groupware project: in
the inprocess() section of netproc.c, the sizes of incoming messages were
being miscalculated.  This caused significantly inflated (and possibly
corrupted) messages to be transmitted to the local Citadel server.  Symptoms
included lots of "Error trying to read 255 bytes" messages in the netproc log,
and (when using the GDBM-based development code) unacceptably large message
base sizes.  Now the bug is fixed and correct message sizes are being
calculated - using a more efficient algorithm, even.  I can envision one more
optimization, though: buffer the incoming messages in memory instead of
holding them in a temp file.  Perhaps next time...

25 years ago Used a call to stat() instead of fseek()/ftell() to measure messages being
Art Cancro [Fri, 24 Jul 1998 03:02:20 +0000 (03:02 +0000)]
 Used a call to stat() instead of fseek()/ftell() to measure messages being
saved.  This will eventually be replaced again when there are no temporary
files being used anymore.

25 years ago useradmin doesn't work
Art Cancro [Fri, 24 Jul 1998 01:23:28 +0000 (01:23 +0000)]
 useradmin doesn't work

25 years ago No more pwcrypt
Art Cancro [Fri, 24 Jul 1998 01:21:41 +0000 (01:21 +0000)]
 No more pwcrypt

25 years ago Removed all of the "pwcrypt" stuff. The algorithm was so pathetic it was
Art Cancro [Fri, 24 Jul 1998 01:16:58 +0000 (01:16 +0000)]
 Removed all of the "pwcrypt" stuff.  The algorithm was so pathetic it was
completely worthless.

 Huh?

25 years ago Removed all of the "pwcrypt" stuff. The algorithm was so pathetic it was
Art Cancro [Fri, 24 Jul 1998 01:16:49 +0000 (01:16 +0000)]
 Removed all of the "pwcrypt" stuff.  The algorithm was so pathetic it was
completely worthless.

25 years agoSun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Sun, 19 Jul 1998 21:27:42 +0000 (21:27 +0000)]
Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * ChangeLog: reordered; the GNU standard is to add new entries to the
          top.
        * .cvsignore: added userlist

25 years ago Doco mods
Art Cancro [Sat, 18 Jul 1998 05:32:39 +0000 (05:32 +0000)]
 Doco mods

25 years ago Y'know, the utils are probably all going to eventually go away in favour of
Art Cancro [Sat, 18 Jul 1998 05:24:08 +0000 (05:24 +0000)]
 Y'know, the utils are probably all going to eventually go away in favour of
server-side administration tools.

25 years ago These are the changes to eliminate most of the arbitrary limits in the
Art Cancro [Fri, 17 Jul 1998 04:38:03 +0000 (04:38 +0000)]
 These are the changes to eliminate most of the arbitrary limits in the
system, such as the maximum number of messages in a room, or the maximum
number of messages in a user mailbox.

 The only remaining arbitrary limits are the number of room slots in the
system (MAXROOMS) and the number of floor slots (MAXFLOORS).  I don't know if
we'll be able to nix those.

 Right now, rooms and mailboxes will grow infinitely.  We now have to impement
artificial constraints.

25 years ago Updating the structures to reflect variables we don't need anymore.
Art Cancro [Thu, 16 Jul 1998 00:24:36 +0000 (00:24 +0000)]
 Updating the structures to reflect variables we don't need anymore.
 This Will Happen Again.

25 years ago yeesh
Art Cancro [Tue, 14 Jul 1998 03:26:04 +0000 (03:26 +0000)]
 yeesh

25 years ago Miscellaneous bug fixes. Also restored the ability to delete a user by
Art Cancro [Mon, 13 Jul 1998 05:07:47 +0000 (05:07 +0000)]
 Miscellaneous bug fixes.  Also restored the ability to delete a user by
setting his/her access level to 0.

25 years ago Added code to delete the messages in a user's mailbox when the user is
Art Cancro [Mon, 13 Jul 1998 04:51:12 +0000 (04:51 +0000)]
 Added code to delete the messages in a user's mailbox when the user is
deleted.  This is useless because there's currently no way to delete a user.

25 years ago Now that we have a message base of unlimited size, setup doesn't have to ask
Art Cancro [Mon, 13 Jul 1998 03:49:23 +0000 (03:49 +0000)]
 Now that we have a message base of unlimited size, setup doesn't have to ask
for a fixed message base size anymore.

25 years ago Since it is no longer possible for the utilities to access the data files
Art Cancro [Mon, 13 Jul 1998 03:24:19 +0000 (03:24 +0000)]
 Since it is no longer possible for the utilities to access the data files
directly, they all have to be reworked to talk to the server instead.  This
version of userlist does that.

25 years ago*** empty log message ***
Art Cancro [Mon, 13 Jul 1998 01:03:29 +0000 (01:03 +0000)]
*** empty log message ***

25 years ago Brian Costello implemented a bunch of new commands, but for some reason,
Art Cancro [Sun, 12 Jul 1998 23:59:18 +0000 (23:59 +0000)]
 Brian Costello implemented a bunch of new commands, but for some reason,
access to these commands never made it into the development tree.  This new
citadel.rc contains them.

25 years ago Cosmetic change to report just "(local)" instead of "clientname (local)"
Art Cancro [Sun, 12 Jul 1998 23:49:21 +0000 (23:49 +0000)]
 Cosmetic change to report just "(local)" instead of "clientname (local)"
when running the client locally.

25 years ago These were moved to the 'techdoc' subdirectory.
Art Cancro [Sun, 12 Jul 1998 22:46:02 +0000 (22:46 +0000)]
 These were moved to the 'techdoc' subdirectory.

 These are existing files.  They were merely moved into this directory.

25 years ago This is part of the server core. It contains code relating to the writing
Art Cancro [Sun, 12 Jul 1998 22:37:30 +0000 (22:37 +0000)]
 This is part of the server core.  It contains code relating to the writing
of log records (stuff that goes in citadel.log).  It's not very big right
now, but I put it into its own file so that we can potentially do more with
it later.

25 years ago Now, citmail.c doesn't attempt to read the userlog directly. This is a
Art Cancro [Sun, 12 Jul 1998 22:02:39 +0000 (22:02 +0000)]
 Now, citmail.c doesn't attempt to read the userlog directly.  This is a
very Good Thing, because there's no userlog to read anymore.

25 years ago Changing stats.c to read the new log format. This version builds without
Art Cancro [Sun, 12 Jul 1998 21:59:01 +0000 (21:59 +0000)]
 Changing stats.c to read the new log format.  This version builds without
errors, but it still doesn't work properly.

25 years agoTechnical domument / RFC - CHAT SUBSYSTEM SPECIFICATION
Brian Costello [Sun, 12 Jul 1998 21:56:30 +0000 (21:56 +0000)]
Technical domument / RFC - CHAT SUBSYSTEM SPECIFICATION
-------------------------------------------------------
This document should outline the basic idea of my chat subsystem proposal.
This should only be thought of as an RFC; all comments and discussions are
welcome.

25 years ago Fixed another bug. This version actually works. :)
Art Cancro [Sun, 12 Jul 1998 21:52:12 +0000 (21:52 +0000)]
 Fixed another bug.  This version actually works.  :)

25 years ago Fixed a bug
Art Cancro [Sun, 12 Jul 1998 21:39:49 +0000 (21:39 +0000)]
 Fixed a bug

25 years ago Changed logging mechanism from a circular binary file to a text file. The
Art Cancro [Sun, 12 Jul 1998 21:38:11 +0000 (21:38 +0000)]
 Changed logging mechanism from a circular binary file to a text file.  The
file is still intended to be read by other programs, not by humans, but the
format should be more straightforward at this time.

25 years ago Finished all of the code relating to the "global server info" stuff defined
Art Cancro [Sun, 12 Jul 1998 20:34:10 +0000 (20:34 +0000)]
 Finished all of the code relating to the "global server info" stuff defined
in control.c.  The file "citadel.control" is the file that used to be called
"MMstructure", and "struct CitControl" used to be "struct msgmain".

 Also, the user number is now called "usernum" rather than "eternal", and
the highest existing user number is now stored in citadel.control rather than
in its own file.

25 years agoSat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
Nathan Bryant [Sat, 11 Jul 1998 04:32:38 +0000 (04:32 +0000)]
Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
        * Makefile.in: removed msgstats

25 years agoInitial revision
Art Cancro [Sat, 11 Jul 1998 02:10:03 +0000 (02:10 +0000)]
Initial revision

25 years agoNew repository initialized by cvs2svn.
unknown author [Sat, 11 Jul 1998 02:10:03 +0000 (02:10 +0000)]
New repository initialized by cvs2svn.