Art Cancro [Fri, 1 Sep 2000 03:43:09 +0000 (03:43 +0000)]
* Added 'author' command-line arg to aidepost. Closes enhancement request
#71 on bugzilla.
* Put the default SMTP and POP3 ports back to 25 and 110. Now that the
unix domain socket bug is fixed, it's ok if these binds fail.
Art Cancro [Tue, 22 Aug 2000 02:31:50 +0000 (02:31 +0000)]
* nonce (for APOP-style auth) is now generated when a context is created
instead of during protocol greeting functions.
* Moved Citadel protocol nonce output from greeting to INFO
Brian Costello [Mon, 14 Aug 2000 22:51:52 +0000 (22:51 +0000)]
- Added constant sizes for usernames and the nonce in citadel.h
- The server now seeds its PRNG with the microsecond time at startup. The
random numbers are needed for the APOP auth scheme's nonce
- A nonce is displayed at the banner, conforming to the APOP RFCs
- Added MD5 (APOP) auth via a module PAS2 (password scheme 2)
This will only work for "real" bbs accounts
- Added APOP command to serv_pop3
- Reorganized a couple of user commands
Art Cancro [Wed, 9 Aug 2000 17:14:34 +0000 (17:14 +0000)]
msgbase.c: fixed a bug in
remove_any_whitespace_to_the_left_or_right_of_at_symbol() that was
causing the <R>eply function to fail on names with whitespace in
certain parts of the string. This closes Bug #56.
Art Cancro [Sat, 5 Aug 2000 04:24:13 +0000 (04:24 +0000)]
* Added [idle] to client wholist display for sessions idle >15 minutes
* Added a generic "void *userdata" field to CtdlForEachMessage()
* More prep for mailing list handling in the server
Art Cancro [Sat, 29 Jul 2000 05:29:23 +0000 (05:29 +0000)]
* Changed the format of RWHO output to provide non-masqueraded user/room/host
names (to Aides only) as additional fields rather than an extra line of
output.
* Changed the client to display new RWHO fields, in the "long" wholist only.
* Default SMTP and POP ports are now -1, not 25/110. These services must now
be activated manually.
Art Cancro [Mon, 10 Jul 2000 23:36:08 +0000 (23:36 +0000)]
* Another attempt to fix the crashy crashy bug in serv_vcard
* Did more work on the Art Vandelay module
* Replaced all instances of sprintf(tempfile, tmpnam(NULL)) with strcpy()
Art Cancro [Sun, 9 Jul 2000 02:27:03 +0000 (02:27 +0000)]
* Eliminated the whole SIGINT/SIGQUIT based handling of Ctrl-O and Ctrl-C
keyboard interrupts. Replaced with a non-blocking check for keyboard input
which sets the global variable 'sigcaught' if either key was pressed.
fmout() and pprintf() switch to 'drain mode' if sigcaught is set.
This closes Bug #18.
Art Cancro [Sun, 4 Jun 2000 02:30:59 +0000 (02:30 +0000)]
* CtdlForEachMessage() now returns the number of messages processed. It also
accepts the MSGS_EQ mode, for targeting a specific message number (useful for
determining whether the specified message actually exists in a room).
* Completed the server side of the moderation system (serv_moderate.c module
which implements the MMOD command)
Art Cancro [Sat, 3 Jun 2000 05:47:58 +0000 (05:47 +0000)]
* Replaced most of the very repetitive and very redundant access level checks
in most commands with a single API call: CtdlAccessLevelCheck()
* serv_moderate.c: added (not finished)
Art Cancro [Fri, 26 May 2000 19:27:51 +0000 (19:27 +0000)]
* Changed some of the rev-level sensitive stuff to look at the actual version
of Citadel running, not the last version with which we ran setup
* Added a moderation system. Default filter level for new users is in the
config file. Per-user setting is in usersupp. Moderation level of each
message is in SuppMsgInfo. Tweaked CONF, GETU, and SETU. Read filter is
working. Moderate message up/down commands are not here yet. See
techdoc/moderation.txt for more info.
Art Cancro [Thu, 18 May 2000 02:33:39 +0000 (02:33 +0000)]
* Don't call whobbs() directly after changing masq room/host, it screws up the
refresh. It now calls an HTTP redirect page instead.
* added http_redirect(char *url) function to accomplish the above
Art Cancro [Mon, 8 May 2000 17:24:32 +0000 (17:24 +0000)]
* Removed HTTP date fields because it was confusing browser caches (weird)
* Moved express messages to a pop-up HTML window (as opposed to a dialog box)
Art Cancro [Mon, 24 Apr 2000 03:36:44 +0000 (03:36 +0000)]
* Removed references to strucmp() and struncmp(), replaced them with
strcasecmp() and strncasecmp() as we did in the server a while ago, and
set up the config script to figure out whether they need to be compiled
in. Also moved them to tools.h
* Wrote a password manager for the client
Art Cancro [Thu, 20 Apr 2000 02:49:43 +0000 (02:49 +0000)]
* Changed sock->SetFlags(SPEED); to sock->SetFlags(wxSOCKET_NOWAIT); to
get it working with the new wxSockets API. Thanks to Steve Yelvington
for this fix.
Art Cancro [Thu, 20 Apr 2000 02:42:23 +0000 (02:42 +0000)]
* tcp_sockets.c: changed memcpy() to memset() in tcp_connectsock; this was
crashing every session, every time. (?)
* End the session after displaying robots.txt or nocookies.html, to prevent
big session logjams when either of these conditions are met
Art Cancro [Thu, 13 Apr 2000 02:43:29 +0000 (02:43 +0000)]
* Fixed a problem that crashed the client during <G>oto commands if a room
existed with a name more than 32 characters (thanks to Magus for reporting
this one).
* Tagged everything and updated docs for the 5.71 release
Art Cancro [Mon, 10 Apr 2000 01:47:23 +0000 (01:47 +0000)]
* More paginator changes. Shuffled code around, added pagination to a bunch
of other functions, and replaced the old, cumbersome pagination with the
new, easy, API-based one in everything except message output.
Art Cancro [Sun, 9 Apr 2000 17:51:18 +0000 (17:51 +0000)]
* Added pprintf() (paginated version of printf) to the client-side API. Now
any client side function can be paginated simply by changing all of the
printf's to pprintf's. I've already done this for the user list and wholist
(removing the old style pagination) and for "read directory."
* backed out the previous changes since they didn't look good on some
xterms with a blue bold mode. just set the background color to black
instead. this makes black-on-white terminals actually readable, if not
particularly good looking.
* citadel.c, commands.c: comment out cls() as this wasn't called if
ansi_color=user anyway, and we have no way of knowing whether the user's
terminal does background color erase, which was the reason for adding this
in the first place. with the recent changes to color(), the display will get
screwed up if they *do* have background color erase. perhaps this is a job
for terminfo.
* commands.c: fix color support for black-on-white color terminals such as
CDE's dtterm. this just avoids white-on-white text; some color combinations
such as yellow-on-white still aren't very legible due to contrast. There's
not much I can think to do about that without affecting the look on the
white-on-black terminals which probably account for most users.