citadel.git
22 years agoremoved all references to sprintf from several files (not all files yet)
Nathan Bryant [Mon, 11 Mar 2002 05:42:47 +0000 (05:42 +0000)]
removed all references to sprintf from several files (not all files yet)
and replace with snprintf

22 years agowarning fixes on sparc-sun-solaris2.8 with gcc 3.0.4, mostly for *printf
Nathan Bryant [Mon, 11 Mar 2002 04:16:21 +0000 (04:16 +0000)]
warning fixes on sparc-sun-solaris2.8 with gcc 3.0.4, mostly for *printf
format strings

22 years ago - fixes for building without OpenSSL
Nathan Bryant [Mon, 11 Mar 2002 03:55:25 +0000 (03:55 +0000)]
 - fixes for building without OpenSSL
 - setenv doesn't exist on all systems, use putenv instead
 - support Solaris' curses implementation

22 years ago* Handle multiple Internet e-mail addresses in vCard editor
Art Cancro [Sun, 10 Mar 2002 06:07:09 +0000 (06:07 +0000)]
* Handle multiple Internet e-mail addresses in vCard editor

22 years ago* Applied a patch submitted by <xperc@hotmail.com> to fix a potential buffer
Art Cancro [Sat, 9 Mar 2002 22:52:04 +0000 (22:52 +0000)]
* Applied a patch submitted by <xperc@hotmail.com> to fix a potential buffer
  overflow problem in lprintf().  I also did the same fix to cprintf().

22 years ago* Added BMBX to fix a problem
Art Cancro [Sat, 9 Mar 2002 16:48:00 +0000 (16:48 +0000)]
* Added BMBX to fix a problem

22 years ago* one more tweak
Art Cancro [Sat, 9 Mar 2002 06:18:37 +0000 (06:18 +0000)]
* one more tweak

22 years ago* this should do it.
Art Cancro [Sat, 9 Mar 2002 05:22:30 +0000 (05:22 +0000)]
* this should do it.

22 years ago* Attempts to fix the access control crap
Art Cancro [Sat, 9 Mar 2002 05:02:20 +0000 (05:02 +0000)]
* Attempts to fix the access control crap

22 years ago* citadel.rc: disable full-screen mode by default
Art Cancro [Sat, 9 Mar 2002 04:20:24 +0000 (04:20 +0000)]
* citadel.rc: disable full-screen mode by default

22 years ago* Patch to allow invitations and admin access to mailbox rooms. NEEDS TESTING!
Art Cancro [Fri, 8 Mar 2002 05:42:02 +0000 (05:42 +0000)]
* Patch to allow invitations and admin access to mailbox rooms.  NEEDS TESTING!

22 years ago* doc change
Art Cancro [Fri, 8 Mar 2002 04:22:39 +0000 (04:22 +0000)]
* doc change

22 years ago* Final polish for initial round of vCard editing functions. Only show "edit"
Art Cancro [Thu, 7 Mar 2002 04:56:09 +0000 (04:56 +0000)]
* Final polish for initial round of vCard editing functions.  Only show "edit"
  link when editing user's own vCard in the My Citadel Config> room.

22 years ago* Force recipient only in Mail>, not in all mailbox rooms
Art Cancro [Thu, 7 Mar 2002 04:30:38 +0000 (04:30 +0000)]
* Force recipient only in Mail>, not in all mailbox rooms

22 years ago* More vcard editing form stuff
Art Cancro [Wed, 6 Mar 2002 05:22:33 +0000 (05:22 +0000)]
* More vcard editing form stuff

22 years ago* form cosmetics
Art Cancro [Tue, 5 Mar 2002 22:48:44 +0000 (22:48 +0000)]
* form cosmetics

22 years ago* Autoconf fixes for DB4 support
Michael Hampton [Tue, 5 Mar 2002 22:45:40 +0000 (22:45 +0000)]
* Autoconf fixes for DB4 support

22 years ago* a few more fields
Art Cancro [Tue, 5 Mar 2002 22:09:43 +0000 (22:09 +0000)]
* a few more fields

22 years ago* More vCard editing stuff
Art Cancro [Tue, 5 Mar 2002 05:05:09 +0000 (05:05 +0000)]
* More vCard editing stuff

22 years ago* vcard.c: another API update
Art Cancro [Tue, 5 Mar 2002 04:47:49 +0000 (04:47 +0000)]
* vcard.c: another API update

22 years ago* setup.c: minor cleanup
Art Cancro [Mon, 4 Mar 2002 21:43:03 +0000 (21:43 +0000)]
* setup.c: minor cleanup

22 years ago* Made a small API change to vcard.c for WebCit, brought the change over here too
Art Cancro [Mon, 4 Mar 2002 05:29:39 +0000 (05:29 +0000)]
* Made a small API change to vcard.c for WebCit, brought the change over here too
  in order to keep vcard.c identical everywhere.

22 years ago* Wrote some skeleton code for robust vCard editing
Art Cancro [Mon, 4 Mar 2002 05:28:54 +0000 (05:28 +0000)]
* Wrote some skeleton code for robust vCard editing

22 years ago* Login errors displayed in red
Art Cancro [Sun, 3 Mar 2002 06:58:25 +0000 (06:58 +0000)]
* Login errors displayed in red

22 years ago* Allow editing of the "disable self-service user account creation" site config option
Art Cancro [Sun, 3 Mar 2002 06:52:59 +0000 (06:52 +0000)]
* Allow editing of the "disable self-service user account creation" site config option

22 years ago* Client and server options to disable self-service user account creation
Art Cancro [Sun, 3 Mar 2002 06:48:25 +0000 (06:48 +0000)]
* Client and server options to disable self-service user account creation

22 years ago* Added password starred-out entry to newprompt() and strprompt()
Art Cancro [Sun, 3 Mar 2002 06:31:58 +0000 (06:31 +0000)]
* Added password starred-out entry to newprompt() and strprompt()
* Applied the above setting to password set/change in <.A>ide <U>seredit

22 years ago* Implemented the CREU server command to administratively create user accounts
Art Cancro [Sun, 3 Mar 2002 06:18:45 +0000 (06:18 +0000)]
* Implemented the CREU server command to administratively create user accounts
* Added the ability to create new user accounts to <.A>ide <U>seredit

22 years ago* Split up some of the code in order to prepare for user accounts to be
Art Cancro [Sun, 3 Mar 2002 06:05:16 +0000 (06:05 +0000)]
* Split up some of the code in order to prepare for user accounts to be
  administratively created without logging in to them.

22 years ago* Properly implemented the network filter list. Finished the server module and
Art Cancro [Sat, 2 Mar 2002 05:56:49 +0000 (05:56 +0000)]
* Properly implemented the network filter list.  Finished the server module and
  did a client-side <.A>ide <S>ysconfig <F>ilterlist command.

22 years ago* Cosmetic change to Received: line
Art Cancro [Fri, 1 Mar 2002 04:24:20 +0000 (04:24 +0000)]
* Cosmetic change to Received: line

22 years ago* CtdlReadMessageBody() -- fixed bug that caused the prepend buffer to be
Art Cancro [Fri, 1 Mar 2002 04:16:22 +0000 (04:16 +0000)]
* CtdlReadMessageBody() -- fixed bug that caused the prepend buffer to be
  discarded instead of prepended.  "Received:" lines now work.

22 years agoadded a .Wholist Short which lists only the people that aren't idle
Stu Mark [Tue, 26 Feb 2002 23:37:16 +0000 (23:37 +0000)]
added a .Wholist Short which lists only the people that aren't idle

22 years ago* Added the ability to enter a Subject: line in messages
Art Cancro [Sun, 24 Feb 2002 07:02:44 +0000 (07:02 +0000)]
* Added the ability to enter a Subject: line in messages
* Go to the Mail room when user clicks on the new mail alert icon

22 years ago* Do the use table purge in two phases to avoid crashy crashy
Art Cancro [Sat, 23 Feb 2002 19:20:51 +0000 (19:20 +0000)]
* Do the use table purge in two phases to avoid crashy crashy

22 years ago* Started adding better management of source IP addressses in SMTP service
Art Cancro [Wed, 20 Feb 2002 22:42:20 +0000 (22:42 +0000)]
* Started adding better management of source IP addressses in SMTP service

22 years agoadded a nested ungoto list, so you can ungoto 100 times.
Stu Mark [Sun, 17 Feb 2002 22:14:25 +0000 (22:14 +0000)]
added a nested ungoto list, so you can ungoto 100 times.

22 years agoundid some of the changes I made for the curses part of the input
Stu Mark [Sun, 17 Feb 2002 21:17:33 +0000 (21:17 +0000)]
undid some of the changes I made for the curses part of the input
routines, because apparently I broke it. I would spin on the login
name. So I put most of it back the way it was, now it works.
Sorry about that IO.
No amount of my poking around seems to make ChangeLog work, maybe it's
my version of CVS.

22 years agoone byte change to make the enter key go to next message in read mode
Stu Mark [Sun, 17 Feb 2002 20:58:43 +0000 (20:58 +0000)]
one byte change to make the enter key go to next message in read mode
and I added a line to Changelog so if it doesn't take, it's not my fault.

22 years ago I *DID* make changelog comments. I removed the blankj
Stu Mark [Fri, 15 Feb 2002 17:26:11 +0000 (17:26 +0000)]
 I *DID* make changelog comments. I removed the blankj
line at the end of the file and committed, and left a really
long commentary. I always do.
Anyway, I fixed the lagging key problem, unfortunately, I can't
explain why it works, so I expect some larger vaguely sinister problem
is going on and my fix hacks a solution without fixing the problem.

22 years ago* Wrote the expire/purge routine for the new use table
Art Cancro [Fri, 15 Feb 2002 04:28:57 +0000 (04:28 +0000)]
* Wrote the expire/purge routine for the new use table

22 years ago* Began implementation of a networker use table that doesn't chew up oodles
Art Cancro [Fri, 15 Feb 2002 04:05:08 +0000 (04:05 +0000)]
* Began implementation of a networker use table that doesn't chew up oodles
  of CPU time.  (It uses a cdb instead.)

22 years ago* Stu's changes (which he checked in without making any ChangeLog comments,
Art Cancro [Fri, 15 Feb 2002 03:40:06 +0000 (03:40 +0000)]
* Stu's changes (which he checked in without making any ChangeLog comments,
  bad Stu!) didn't build properly without curses.  Added #ifdef's.

22 years ago I made some changes that I hope will help the lagging input problem
Stu Mark [Fri, 15 Feb 2002 00:48:24 +0000 (00:48 +0000)]
 I made some changes that I hope will help the lagging input problem
but since I can't actually make it happen here, you'll have to
try it out to see if it helps. If it doesn't actually help, its
should at least be closer to the way to go. I had to jimmy
some stuff around (made do_keepalive not static) and one or two
other things. TRY THIS OUT BEFORE INSTALLING IT MAKE SURE IT DOESN'T
KILL THE WHOLE THING.

22 years ago* Added some rudimentary support for displaying vCards as card-looking things
Art Cancro [Wed, 13 Feb 2002 22:47:51 +0000 (22:47 +0000)]
* Added some rudimentary support for displaying vCards as card-looking things

22 years ago* That was stupid.
Art Cancro [Wed, 13 Feb 2002 22:15:11 +0000 (22:15 +0000)]
* That was stupid.

22 years ago* oops
Art Cancro [Wed, 13 Feb 2002 22:11:27 +0000 (22:11 +0000)]
* oops

22 years ago* added vcard_to_html() function
Art Cancro [Wed, 13 Feb 2002 22:04:12 +0000 (22:04 +0000)]
* added vcard_to_html() function

22 years ago* Allow the READ command to return packets bigger than 1 byte. (ooops!)
Art Cancro [Wed, 13 Feb 2002 15:48:55 +0000 (15:48 +0000)]
* Allow the READ command to return packets bigger than 1 byte.  (ooops!)

22 years ago* Began some hacks for vCard processing
Art Cancro [Wed, 13 Feb 2002 15:04:26 +0000 (15:04 +0000)]
* Began some hacks for vCard processing

22 years ago* Threw in a few more #ifdef's so the client build doesn't barf on
Art Cancro [Tue, 12 Feb 2002 20:15:25 +0000 (20:15 +0000)]
* Threw in a few more #ifdef's so the client build doesn't barf on
  non-curses systems
* Added rc_prompt_control (<N>ext/<S>top active at paginator: on/off/user)

22 years ago* termcap.h not necessary in libtransport.h
Brian [Tue, 12 Feb 2002 02:22:32 +0000 (02:22 +0000)]
* termcap.h not necessary in libtransport.h

22 years ago* Don't crash when deleting "purge this vCard" messages
Art Cancro [Mon, 11 Feb 2002 15:52:10 +0000 (15:52 +0000)]
* Don't crash when deleting "purge this vCard" messages

22 years ago - replace cdb_trunc with a complete version of the code i had been
Nathan Bryant [Sun, 10 Feb 2002 22:36:41 +0000 (22:36 +0000)]
 - replace cdb_trunc with a complete version of the code i had been
   working on; fallback code for db < 3.3.x needed
 - change 'can't connect to host.port' to 'can't connect to host:port'

22 years ago* If there's already a Subject line in memory, display it below the usual
Art Cancro [Fri, 8 Feb 2002 22:39:08 +0000 (22:39 +0000)]
* If there's already a Subject line in memory, display it below the usual
  headers when the user hits <E>

22 years ago* Changed the logic for printing RFC822 addresses (again)
Art Cancro [Fri, 8 Feb 2002 22:36:24 +0000 (22:36 +0000)]
* Changed the logic for printing RFC822 addresses (again)
* Implemented cdb_trunc() in database_sleepycat.c, using db_truncate()
  (We need to either provide an alternative implementation or require DB >=3.3)
* Automatically Re: subject line in the client where appropriate

22 years ago* Added client and server side support for entering Subject lines in
Art Cancro [Fri, 8 Feb 2002 19:02:25 +0000 (19:02 +0000)]
* Added client and server side support for entering Subject lines in
  messages when not using RFC822.

22 years ago* When outputting a message in non-RFC822 format, don't display an Internet
Art Cancro [Fri, 8 Feb 2002 18:10:08 +0000 (18:10 +0000)]
* When outputting a message in non-RFC822 format, don't display an Internet
  address if the user is local.

22 years ago* Silently refuse to add directory entries for Internet addresses already
Art Cancro [Thu, 7 Feb 2002 04:42:49 +0000 (04:42 +0000)]
* Silently refuse to add directory entries for Internet addresses already
  belonging to other users.
* cdb_trunc() for CtdlDirectoryInit: implemented for GDBM, stubbed for DB

22 years ago* Don't crash when posting if the user doesn't have an Internet directory address
Art Cancro [Tue, 5 Feb 2002 05:05:54 +0000 (05:05 +0000)]
* Don't crash when posting if the user doesn't have an Internet directory address

22 years ago* ACK! Mental note: Copying and pasting in vi is _not_ foolproof. This nasty, and...
Brian [Tue, 5 Feb 2002 02:36:31 +0000 (02:36 +0000)]
* ACK!  Mental note: Copying and pasting in vi is _not_ foolproof.  This nasty, and totally needless,
bug has been squashed after it reared its head completely accidentally in Infusion.

22 years ago* fixed a silly oversight in serv_crypto.c when removing the ETLS command
Michael Hampton [Sun, 3 Feb 2002 15:29:03 +0000 (15:29 +0000)]
* fixed a silly oversight in serv_crypto.c when removing the ETLS command

22 years ago* Remove the ETLS command, it is no longer needed
Michael Hampton [Sun, 3 Feb 2002 15:21:49 +0000 (15:21 +0000)]
* Remove the ETLS command, it is no longer needed

22 years ago* If a user has at least one valid Internet directory address, stamp it onto
Art Cancro [Sat, 2 Feb 2002 21:44:04 +0000 (21:44 +0000)]
* If a user has at least one valid Internet directory address, stamp it onto
  any outgoing messages.

22 years ago* Added a QDIR protocol command to do quick-and-dirty queries of the directory
Art Cancro [Fri, 1 Feb 2002 05:11:26 +0000 (05:11 +0000)]
* Added a QDIR protocol command to do quick-and-dirty queries of the directory
* In the client, check the directory for conflicts when selecting email addr.

22 years ago* When deleting a vCard from the Global Address Book room, remove the
Art Cancro [Thu, 31 Jan 2002 05:13:45 +0000 (05:13 +0000)]
* When deleting a vCard from the Global Address Book room, remove the
  corresponding address in the directory.  (Not tested.)

22 years ago* Added a new DeleteFunctionHook type of thing. These get called when a
Art Cancro [Wed, 30 Jan 2002 19:03:42 +0000 (19:03 +0000)]
* Added a new DeleteFunctionHook type of thing.  These get called when a
  message is being deleted from a room.
* When deleting messages from a room, do the AdjRefCount() calls (and now,
  the PerformDeleteHooks() calls) in a second pass.  This keeps that stuff
  outside of the S_QUICKROOM critical section.

22 years ago* file_ops.c: fixed bug in cmd_read() which could cause server to report
Michael Hampton [Sun, 27 Jan 2002 06:39:45 +0000 (06:39 +0000)]
* file_ops.c: fixed bug in cmd_read() which could cause server to report
  the wrong number of bytes for the client to download

22 years ago* Fixed bug: Forgetting to exclude ' ' while parsing headers. D'oh!! :)
Brian [Sun, 27 Jan 2002 03:16:02 +0000 (03:16 +0000)]
* Fixed bug: Forgetting to exclude ' ' while parsing headers.  D'oh!! :)

22 years ago* More internet addressing and global directory stuff. I think it's all working now
Art Cancro [Sat, 26 Jan 2002 21:33:38 +0000 (21:33 +0000)]
* More internet addressing and global directory stuff.  I think it's all working now
  except for the purging of old entries.

22 years ago* citadel.spec cleaned up
Michael Hampton [Sat, 26 Jan 2002 11:02:37 +0000 (11:02 +0000)]
* citadel.spec cleaned up

22 years ago* setup now has a silent running mode (-q option) where it silently sets
Michael Hampton [Sat, 26 Jan 2002 09:23:40 +0000 (09:23 +0000)]
* setup now has a silent running mode (-q option) where it silently sets
  defaults for everything.  This is intended for use in scripts such as
  the RPM packages, eliminating a step from the installation process.

22 years ago* citadel.spec has been completely overhauled, we can make RPMs now!
Michael Hampton [Sat, 26 Jan 2002 09:19:16 +0000 (09:19 +0000)]
* citadel.spec has been completely overhauled, we can make RPMs now!

22 years ago* Aides can now ask a user to re-register with .Aide User
Michael Hampton [Sat, 26 Jan 2002 05:34:53 +0000 (05:34 +0000)]
* Aides can now ask a user to re-register with .Aide User

22 years ago* smtp FROM command now validates sender using the validate_recipients() loop
Art Cancro [Sat, 26 Jan 2002 04:59:58 +0000 (04:59 +0000)]
* smtp FROM command now validates sender using the validate_recipients() loop
  (yeah, it's good for that too) making it directory-aware

22 years ago* Formatter now uses more of the available screen width
Michael Hampton [Sat, 26 Jan 2002 04:01:10 +0000 (04:01 +0000)]
* Formatter now uses more of the available screen width

22 years ago* Revised status_line() display, it's much more compact now
Michael Hampton [Sat, 26 Jan 2002 03:57:30 +0000 (03:57 +0000)]
* Revised status_line() display, it's much more compact now

22 years ago* Better error reporting in connection_died(), kills curses before printing
Michael Hampton [Sat, 26 Jan 2002 03:50:26 +0000 (03:50 +0000)]
* Better error reporting in connection_died(), kills curses before printing
  error message, prints last errno.

22 years ago* Greatly simplified the logic for validating recipient addresses for incoming
Art Cancro [Fri, 25 Jan 2002 05:19:03 +0000 (05:19 +0000)]
* Greatly simplified the logic for validating recipient addresses for incoming
  SMTP.  This logic destroys the whitespace mangling for local names; I will
  fix this tomorrow.

22 years ago* Fixed acceptance of inbound SMTP messages relaying to other Citadel nodes
Art Cancro [Fri, 25 Jan 2002 04:59:51 +0000 (04:59 +0000)]
* Fixed acceptance of inbound SMTP messages relaying to other Citadel nodes

22 years ago* fixz to allow incoming vCards in the address book to actually get processed
Art Cancro [Fri, 25 Jan 2002 04:36:35 +0000 (04:36 +0000)]
* fixz to allow incoming vCards in the address book to actually get processed

22 years ago* oops, add serv_netfilter
Art Cancro [Fri, 25 Jan 2002 03:37:33 +0000 (03:37 +0000)]
* oops, add serv_netfilter

22 years ago* Trace file using lprintf() similarly to citserver
Michael Hampton [Thu, 24 Jan 2002 23:50:37 +0000 (23:50 +0000)]
* Trace file using lprintf() similarly to citserver

22 years ago* citadel_decls.h: fix unresolved extern errors
Michael Hampton [Thu, 24 Jan 2002 06:52:54 +0000 (06:52 +0000)]
* citadel_decls.h: fix unresolved extern errors

22 years ago* Add vCards from incoming network messages in the GAB to the directory.
Art Cancro [Wed, 23 Jan 2002 05:04:06 +0000 (05:04 +0000)]
* Add vCards from incoming network messages in the GAB to the directory.

22 years ago* Added a new hook type for handling incoming network messages
Art Cancro [Wed, 23 Jan 2002 03:39:33 +0000 (03:39 +0000)]
* Added a new hook type for handling incoming network messages
* Wrote a skeleton module for net filtering

22 years ago* read_message() and fmout() now accept a FILE to which to send their
Michael Hampton [Tue, 22 Jan 2002 10:46:25 +0000 (10:46 +0000)]
* read_message() and fmout() now accept a FILE to which to send their
  output; this fixes quoting in the fullscreen client

22 years ago* curses client: use the status line as "input" line in chat mode
Michael Hampton [Sun, 20 Jan 2002 08:03:44 +0000 (08:03 +0000)]
* curses client: use the status line as "input" line in chat mode

22 years ago* serv_chat.c: Server no longer crashes when CHATLOG can't be opened
Michael Hampton [Sun, 20 Jan 2002 07:43:08 +0000 (07:43 +0000)]
* serv_chat.c: Server no longer crashes when CHATLOG can't be opened

22 years ago* curses client: allow goodbye message to be seen on some terminals
Michael Hampton [Sun, 20 Jan 2002 05:22:07 +0000 (05:22 +0000)]
* curses client:  allow goodbye message to be seen on some terminals

22 years ago* Fixed color support, now works when rc_ansi_color is on or auto
Michael Hampton [Sat, 19 Jan 2002 16:56:33 +0000 (16:56 +0000)]
* Fixed color support, now works when rc_ansi_color is on or auto

22 years ago* Cosmetics for the client status line
Michael Hampton [Sat, 19 Jan 2002 15:10:25 +0000 (15:10 +0000)]
* Cosmetics for the client status line

22 years ago* A real status line for the text client
Michael Hampton [Sat, 19 Jan 2002 11:59:34 +0000 (11:59 +0000)]
* A real status line for the text client

22 years ago* fix link for libcitserver.so to tools.o which I broke (oops!)
Michael Hampton [Sat, 19 Jan 2002 10:08:43 +0000 (10:08 +0000)]
* fix link for libcitserver.so to tools.o which I broke (oops!)

22 years ago* Full-screen curses support for Citadel text client
Michael Hampton [Sat, 19 Jan 2002 09:59:10 +0000 (09:59 +0000)]
* Full-screen curses support for Citadel text client

22 years agoremove lock.c/lock.h; don't need them for what i was planning after all
Nathan Bryant [Thu, 17 Jan 2002 20:11:05 +0000 (20:11 +0000)]
remove lock.c/lock.h; don't need them for what i was planning after all

22 years agoremove lock.c/lock.h; don't need them for what i planned after all
Nathan Bryant [Thu, 17 Jan 2002 20:09:29 +0000 (20:09 +0000)]
remove lock.c/lock.h; don't need them for what i planned after all

22 years ago* cosmetic fixes in the new trace file functionality
Michael Hampton [Thu, 17 Jan 2002 10:48:36 +0000 (10:48 +0000)]
* cosmetic fixes in the new trace file functionality

22 years ago* lprintf() now logs the session ID for each log entry within a session.
Michael Hampton [Thu, 17 Jan 2002 10:32:14 +0000 (10:32 +0000)]
* lprintf() now logs the session ID for each log entry within a session.
  Also SMTP, IMAP, POP3 and Citadel protocol commands are differentiated.

22 years ago* migratenet.c: cygwin fix: include limits.h
Michael Hampton [Thu, 17 Jan 2002 10:16:09 +0000 (10:16 +0000)]
* migratenet.c: cygwin fix: include limits.h