Art Cancro [Fri, 11 Jul 2003 22:19:49 +0000 (22:19 +0000)]
* is_public_client() now caches the IP addresses of all hosts in
the public_clients file, at server startup and whenever the file is
modified. This eliminates the need to make lots of calls to the
resolver library every time.
Art Cancro [Thu, 10 Jul 2003 05:51:46 +0000 (05:51 +0000)]
* Added cs_addr field to struct CitContext -- holds a dotted quad string
of the user's source IP (if applicable). It's big enough to hold other
types of address strings in the future (such as IPv6).
* locate_host() populates cs_addr when on a network connection.
* serv_smtp.c now saves the IP address in the proper place in
the Received: header.
* is_public_client() no longer accepts a hostname. It just looks at
CC->cs_host instead.
Art Cancro [Sun, 6 Jul 2003 22:07:00 +0000 (22:07 +0000)]
* When converting "anything that looks like a URL" to a real link, first
make sure that it isn't already inside a link. This fixes most of the
long, ugly URL strings sent by eBay.
* Automatically dismantle mailto: links in HTML messages, and convert
them to WebCit mail links (clicking on it sends the user to the Mail
room and begins composing a new message with the recipient and subject
fields pre-populated).
Art Cancro [Sun, 29 Jun 2003 03:58:41 +0000 (03:58 +0000)]
* Renamed fields in 'struct config' which are no longer relevant (but kept
them in place to avoid corrupting everyone's data files). Removed them
entirely from serv_vandelay.c.
Art Cancro [Sat, 28 Jun 2003 05:12:56 +0000 (05:12 +0000)]
* Bump internal version number to 6.08
* Use (-1) instead of BBSUID as the uid of user records which exist only
in Citadel and not in the system password database. serv_upgrade also
changes this setting for ALL such users, the first time the server is run
after upgrading to 6.08
Art Cancro [Thu, 26 Jun 2003 03:37:59 +0000 (03:37 +0000)]
* Allow anonymous HTTP requests for /freebusy/user%20name.vcf (or .vfb)
This will allow some groupware clients to browse the free/busy times of
other users on the system.
Art Cancro [Wed, 25 Jun 2003 02:40:05 +0000 (02:40 +0000)]
* Per-user and global flags calling for validation need to be set in the
vCard upload thingie, not in the wrapper function that emulates the
deprecated REGI server command. Moved it to the correct place.
Art Cancro [Sat, 21 Jun 2003 05:17:24 +0000 (05:17 +0000)]
* Better alignment of system messages
* Exterminated display_error() and replaced it with WC->ImportantMessage
which is displayed in a bubble on top of whatever page you're on next.
* Small cosmetic changes
* Fixed some nesting problems in output_headers()
Art Cancro [Thu, 19 Jun 2003 04:12:30 +0000 (04:12 +0000)]
* domain.c: use qsort() to sort MX records by preference. Why have a
custom function when the operating system provides one for free?
* serv_smtp.c: accept mail from "<>" (empty sender). RFC1123 5.2.9 demands it.
Art Cancro [Thu, 19 Jun 2003 03:55:22 +0000 (03:55 +0000)]
* Fixed a subtle but ugly bug in the SMTP sender that was causing it to
ignore all successful connections except the last one. Now when it gets
a connection it uses it.
Art Cancro [Fri, 6 Jun 2003 03:26:03 +0000 (03:26 +0000)]
* Satan's Browser insists on putting bloody acres of whitespace to the
right of any bulleted list items, making any multi-column table containing
a list take more than the entire screen. Removed all such lists so it
looks ok. If you are reading this and you are a Microsoft employee, please
commit suicide before you break anything else.
Art Cancro [Fri, 6 Jun 2003 02:22:07 +0000 (02:22 +0000)]
* Changed the upper left and upper right bounded box corners to a solid
blue (#204B78) instead of gradiated, because it was looking funny in
256-color mode. It also looked funny in Internet Explorer, but people
who use Internet Explorer are contributing to terrorism and really don't
deserve Web access in the first place. So I really just fixed this to make
it look good in 256-color Netscape.
Michael Hampton [Wed, 4 Jun 2003 21:39:28 +0000 (21:39 +0000)]
* Numerous fixups needed for Windows port:
* cmd_mesg() rewritten to use the stat() syscall to find files
* really_do_keepalive() does not try to send if we are not connected
* Misc. fixups; added Windows readme file
Art Cancro [Mon, 2 Jun 2003 03:01:23 +0000 (03:01 +0000)]
* citserver.c: added another trace message to is_public_client(). Uncensored
has crashed twice in this function, for no apparent reason.
* internet_addressing.c: don't attempt to look up the specified Internet
address in a Citadel directory, if the supplied address has no hostname
portion. (Fixes a crash in the calendar service when alias() attempts to
look up potentially nonexistent attendees during event validation)
Art Cancro [Wed, 28 May 2003 03:08:38 +0000 (03:08 +0000)]
* msgbase.c: validate_recipients() now rejects Internet addresses in
domains belonging to the local system or an attached Citadel network,
when it fails to translate to a Citadel address.
Art Cancro [Mon, 26 May 2003 05:30:18 +0000 (05:30 +0000)]
* serv_calendar.c: fixed a bug in the "ICAL freebusy" subcommand which
caused it to always fetch the logged in user's freebusy times instead
of the user specified.
Art Cancro [Sun, 25 May 2003 04:25:20 +0000 (04:25 +0000)]
* siteconfig.c: fixed a spelling error
* event.c: add a "Check attendee availability" button, and the code to
bypass saving the event to the server, do something with it, and then
feed the twiddled data structure back to the form display function for
further editing. What's still missing is the code to do the actual
availability check.
Art Cancro [Thu, 22 May 2003 13:34:31 +0000 (13:34 +0000)]
* database_sleepycat.c: added a couple of diagnostic messages to help
troubleshoot problems with db-4.1.25 on Red Hat Linux 9
* room_ops.c: call mkdir() instead of system() to create a directory
Art Cancro [Fri, 16 May 2003 14:59:08 +0000 (14:59 +0000)]
* Removed the old rec_log() facility because the utilities which read its
data are crufty, disused, and produce incorrect output.
* Updated the documentation for the forthcoming 6.06 release.
* public_clients: removed hostnames which crept in from development servers
Art Cancro [Fri, 16 May 2003 04:11:32 +0000 (04:11 +0000)]
* We don't need no steenking workaround. Problem fixed. MIME parser not
broken. Web server was calling it with bad parameters. All fixed now.
* Slightly tweaked the look of the tabs in the room edit screen. Still looks
like crap.
Nathan Bryant [Fri, 16 May 2003 04:07:37 +0000 (04:07 +0000)]
make configure.ac automagically do the right thing on redhat 9
remove crappy tolower() hack that was breaking the build on redhat 9
(because the kerberized openssl includes ctype.h)
before anyone yells at me, i did a little cvs archaeology on the tolower
thing, and it appears to have been in the Citadel source base since,
roughly, the Epoch. I doubt that the hack is needed any longer, and using
the OS's tolower() will handle extended charsets.
Anyone who is stupid enough to be using an OS with such a horribly broken
tolower() can just scratch their head and figure things out for
themselves. Citadel needs higher barriers to entry, there are too many
weirdos on the IGnet lately. :-)
Art Cancro [Fri, 2 May 2003 04:02:47 +0000 (04:02 +0000)]
* setup.c: allow specification of the Citadel system account by either
username or uid
* setup.c: tell init to re-read /etc/inittab by sending a SIGHUP to pid 1
instead of hunting around for the correct init or telinit command
* docs/citadel.html: documented the above change, and also rewrote some
other stuff to be less BBS-specific