Art Cancro [Mon, 14 Dec 2020 05:49:07 +0000 (00:49 -0500)]
The server now uses its own knowledge of local domains to set or clear the 'locl' field. This field gives the client a hint about whether the message originated locally.
Art Cancro [Mon, 14 Dec 2020 00:29:31 +0000 (19:29 -0500)]
The 'N' (Node) field in the message database has been resurrected, this time as a flag to indicate that a message originated on the local system, as opposed to an inbound email or some other nonlocal source. This field is not populated yet. If old messages with CitaNet remote nodes are discovered by the new code, the desired behavior should still work (suppress display of RFC822 email addresses)
Art Cancro [Sun, 13 Dec 2020 23:16:08 +0000 (18:16 -0500)]
Changed the display logic for message author. New conditional COND:MAIL:LOCAL which activates if we believe a message originated locally. This currently only detects c_fqdn and we need to modify it to handle all local domains. If a message originated locally then we display the user name by itself with a link to their profile. If a message originated somewhere else we display the user name and email address.
Art Cancro [Sat, 12 Dec 2020 22:21:16 +0000 (17:21 -0500)]
Removed from WebCit Classic all code which handles display of legacy CitaNet node information. Citadel Server doesn't generate these anymore so there's no point in displaying them. Still need to remove them from the templates. This is leading somewhere, so bear with me...
Art Cancro [Thu, 10 Dec 2020 04:22:21 +0000 (23:22 -0500)]
In the text client - fixed the logic for determining whether to display the email address of a message author next to their display name. Since we ALWAYS include at least a UPN now, we were getting superfluous displays of them. Must fix the same thing in webcit next.
root [Wed, 2 Dec 2020 14:36:26 +0000 (09:36 -0500)]
input type="date" here will allow datepicker.js to be eliminated
and should fall back to type="text" in the few remaining browsers
that don't support it.
Art Cancro [Sat, 28 Nov 2020 15:40:13 +0000 (10:40 -0500)]
New field in user record "lastproc_inboxrules" which keeps track of the most recent message processed by the inbox rules filter, since we're now going to make the ruleset something that is only written to when the user changes it.
Art Cancro [Sun, 15 Nov 2020 21:32:56 +0000 (16:32 -0500)]
msgbase.c: some of the field conversion buffer fields were too small, increased them from 100 bytes to 1024 bytes to handle messages converted from RFC822 or RSS.
Art Cancro [Sat, 25 Jul 2020 20:49:32 +0000 (16:49 -0400)]
Next step for inbox rules processing: retrieve each message in the room using a CtdlForEachMessage() callback with the MSGS_GT operator for maximum allowance of the API to do the hard part instead of writing the comparison code ourselves. Really, that work was already done, so why do it again? Duplication of effort is necessary. For that matter, why does Google insist on maintaining their own email and forums software when they could just use Citadel? Citadel is way better than anything Google or Microsoft have ever produced. And don't get me started about Facebook. Facebook is the absolute worst thing to ever happen to the universe and it should be shut down.
Art Cancro [Mon, 21 Oct 2019 18:38:13 +0000 (14:38 -0400)]
On the first run of the server on an empty database, create a default administrator account. This should eliminate the need to run setup on most systems.
Art Cancro [Mon, 19 Aug 2019 19:12:50 +0000 (19:12 +0000)]
ctdl_tcp_server and ctdl_uds_server improved handling of error
conditions in places like getprotobyname() which normally never throw an
error, but in container universe it's a new game.