Art Cancro [Mon, 4 Sep 2000 03:59:15 +0000 (03:59 +0000)]
IO's changes:
----------------------------
revision 572.4
date: 2000/09/03 06:36:01; author: error; state: Exp; lines: +5 -1
Added HP/UX linker flag for dynamic modules to work
----------------------------
revision 572.3
date: 2000/09/01 06:50:00; author: error; state: Exp; lines: +8 -1
Changed to use integer macros from typesize.h for specific bit widths
----------------------------
Michael Hampton [Fri, 1 Sep 2000 07:35:35 +0000 (07:35 +0000)]
A whole bunch of changes to support building Citadel in a directory
other than the source directory. To do this, create a directory to
build from, change to it, and run ../path/to/citadel/configure, then
make and make install as you normally would.
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