Art Cancro [Tue, 21 Dec 2021 18:45:33 +0000 (13:45 -0500)]
Cleanup of crypto.c in wc-classic to prepare for certificate updates during runtime
Art Cancro [Tue, 21 Dec 2021 18:35:27 +0000 (13:35 -0500)]
Removed more legacy cruft no longer needed when OpenSSL>=v1.1
Art Cancro [Mon, 20 Dec 2021 20:50:00 +0000 (15:50 -0500)]
OpenSSL no longer requires thread locking callbacks. REMOVED FROM WEBCIT-NG
Art Cancro [Mon, 20 Dec 2021 20:47:01 +0000 (15:47 -0500)]
OpenSSL no longer requires thread locking callbacks. REMOVED FROM WEBCIT CLASSIC
Art Cancro [Mon, 20 Dec 2021 20:42:51 +0000 (15:42 -0500)]
OpenSSL no longer requires thread locking callbacks. REMOVED FROM CITSERVER
Art Cancro [Sun, 19 Dec 2021 22:39:01 +0000 (17:39 -0500)]
Removed SSL cleanup function. Let the operating system do this for us.
Art Cancro [Sun, 19 Dec 2021 21:58:01 +0000 (16:58 -0500)]
serv_pop3.c: updated to latest style guidelines
Art Cancro [Wed, 15 Dec 2021 05:03:15 +0000 (00:03 -0500)]
New functions to activate and deactivate the Loading... modal
Art Cancro [Wed, 15 Dec 2021 00:31:21 +0000 (19:31 -0500)]
If div names are random strings, they don't need to start with "ctdl_"
Art Cancro [Wed, 15 Dec 2021 00:14:51 +0000 (19:14 -0500)]
Slowly becoming a good JavaScript developer. :) Don't pass around div names when we can actually pass around references to the divs themselves. This should shave off a few cycles because we don't have to keep calling document.getElementById()
Art Cancro [Tue, 14 Dec 2021 23:23:39 +0000 (18:23 -0500)]
scroll_to works again
Art Cancro [Tue, 14 Dec 2021 22:48:31 +0000 (17:48 -0500)]
Append messages to the DOM tree as div elements instead of as text. This preserves the document tree's integrity when a malformed message arrives.
Art Cancro [Tue, 14 Dec 2021 21:17:53 +0000 (16:17 -0500)]
Major change to the javascript forum view. We now wait for all messages to be loaded before rendering them all in one shot. Rendering works, opening the reply box works, saving a message works, but we still have to figure out how to render a message in the location where it was entered. Or maybe that's not a good idea? Also the scroll_to semantics are broken but we are in a better position to redo this in a simpler way.
Art Cancro [Mon, 13 Dec 2021 20:18:54 +0000 (15:18 -0500)]
open the reply box with .append() instead of tweaking outerHTML
Art Cancro [Mon, 13 Dec 2021 19:25:48 +0000 (14:25 -0500)]
new div name
Art Cancro [Mon, 13 Dec 2021 01:10:35 +0000 (20:10 -0500)]
beautiful
Art Cancro [Mon, 13 Dec 2021 00:40:44 +0000 (19:40 -0500)]
do-release.sh now generates more meaningful descriptions of tags
Art Cancro [Sat, 11 Dec 2021 02:11:13 +0000 (21:11 -0500)]
How about that ... we're now correctly handling the reply-references and carrying over the subject, and Wes is on the way here with a burger for me.
Art Cancro [Sat, 11 Dec 2021 01:19:42 +0000 (20:19 -0500)]
It's Friday night, Wesley is out, Sammi is not hungry, and Miss Melissa is asleep on the couch. Instead of making dinner I added URL parameter parsing to the web server. I didn't think we'd need it but I want to be able to transmit some parameters to ENT0 and this seems like a reasonable way to do it.
Art Cancro [Sat, 11 Dec 2021 00:04:13 +0000 (19:04 -0500)]
response headers now use an array instead of a linked list
Art Cancro [Fri, 10 Dec 2021 23:51:53 +0000 (18:51 -0500)]
http request headers are now an array instead of a linked list
Art Cancro [Fri, 10 Dec 2021 23:31:36 +0000 (18:31 -0500)]
HTTP headers are shown in purple in the syslog
Art Cancro [Fri, 10 Dec 2021 23:22:28 +0000 (18:22 -0500)]
Change all instances of "URI" to "URL" because that's more sensible
Art Cancro [Fri, 10 Dec 2021 23:15:43 +0000 (18:15 -0500)]
Begin gathering references and message IDs for replies
Art Cancro [Fri, 10 Dec 2021 15:32:37 +0000 (10:32 -0500)]
Don't use \r\n with ctdl_printf() because it adds a \n on its own. Only add \r when CRLF is needed. Also some UI tweaks.
Art Cancro [Thu, 9 Dec 2021 23:20:36 +0000 (18:20 -0500)]
Display an alert if we cannot connect to Citadel Server, instead of leaving the user sitting there bewildered.
Art Cancro [Thu, 9 Dec 2021 22:43:17 +0000 (17:43 -0500)]
When delivering mail from a mailing list room, it is not enough to set the Reply-To: header to the room's address; we must set the From: address too. Doing otherwise annoys the recipient's DKIM validators.
Art Cancro [Mon, 29 Nov 2021 20:45:14 +0000 (15:45 -0500)]
Changed the reject message to be identical to the one used by Mailman so we can steal their translations later
Art Cancro [Mon, 29 Nov 2021 19:24:14 +0000 (14:24 -0500)]
Release version 941 generated by do-release.sh
Art Cancro [Mon, 29 Nov 2021 19:24:06 +0000 (14:24 -0500)]
Mail to a mailing list room must be from a subscriber (or a logged in user) otherwise incoming message is rejected.
Art Cancro [Mon, 29 Nov 2021 15:43:14 +0000 (10:43 -0500)]
Cleaned up another set of conditionals in the SMTP server.
Art Cancro [Mon, 29 Nov 2021 15:31:50 +0000 (10:31 -0500)]
Updated the comments in do-release.sh
Art Cancro [Mon, 29 Nov 2021 00:47:20 +0000 (19:47 -0500)]
Another win for short circuit evaluation
Art Cancro [Mon, 29 Nov 2021 00:25:55 +0000 (19:25 -0500)]
Made the RBL evaluation conditional cleaner by assuming short-circuit evaluation.
Art Cancro [Fri, 26 Nov 2021 05:54:14 +0000 (00:54 -0500)]
make a note that we have to retain the reply message number
Art Cancro [Fri, 26 Nov 2021 05:51:12 +0000 (00:51 -0500)]
Capture the new message number from the etag of the post transaction
Art Cancro [Fri, 26 Nov 2021 05:39:04 +0000 (00:39 -0500)]
Link entry in the editor now works. The example code at https://thatsoftwaredude.com/content/8912/create-a-basic-text-editor-in-javascript was a bit naive because it assumes the URL is already known at the moment the user presses the Link button. We open a box for URL entry, but when the user clicks into that box the original selection disappears. So we have to save the selection range in hidden fields so we know where to replace the text.
Art Cancro [Thu, 25 Nov 2021 20:36:03 +0000 (15:36 -0500)]
bold, italic, and list buttons now work.
Art Cancro [Wed, 24 Nov 2021 20:05:42 +0000 (15:05 -0500)]
split utility function out into a separate util.js
Art Cancro [Wed, 24 Nov 2021 17:54:24 +0000 (12:54 -0500)]
Placed the bold/italic/list/link buttons in the editor. (They don't work yet.)
Art Cancro [Wed, 24 Nov 2021 16:51:51 +0000 (11:51 -0500)]
Prettied up the qp encoder function a bit.
Art Cancro [Wed, 24 Nov 2021 05:42:08 +0000 (00:42 -0500)]
Post messages in quoted-printable instead of base64, just like WebCit Classic does. This avoids double-base64-encoding of inline images.
Art Cancro [Wed, 24 Nov 2021 05:27:13 +0000 (00:27 -0500)]
Save messages as multipart/mixed with the HTML component in base64 encoding. We probably should rethink this because now we're double-base64-encoding inline images.
Art Cancro [Wed, 24 Nov 2021 04:53:00 +0000 (23:53 -0500)]
Revert previous commit because it didn't work. Furthermore, remove the content-length header from the PUT operation because the browser wants to do that on its own.
Art Cancro [Wed, 24 Nov 2021 04:48:36 +0000 (23:48 -0500)]
Permit the Content-Transfer-Encoding: header to be forwarded from an HTTP transaction to a post on a Citadel server. This isn't typical for HTTP but we need it.
Art Cancro [Wed, 24 Nov 2021 04:44:04 +0000 (23:44 -0500)]
Moved the remaining else blocks
Art Cancro [Wed, 24 Nov 2021 01:09:23 +0000 (20:09 -0500)]
Handle posting errors a little more elegantly.
Art Cancro [Wed, 24 Nov 2021 00:57:07 +0000 (19:57 -0500)]
Detect whether the save operation succeeded by checking the response status of the XHR transaction. Also made the default Citadel server dev.citadel.org instead of uncensored.citadel.org because I am posting a lot of test messages.
Art Cancro [Tue, 23 Nov 2021 23:41:11 +0000 (18:41 -0500)]
Wow! Posting a message to the server worked on the first try, even using the existing DAV operation and no new C code. That was a pleasant surprise.
Art Cancro [Tue, 23 Nov 2021 21:24:50 +0000 (16:24 -0500)]
Got it working, now it's pretty
Art Cancro [Tue, 23 Nov 2021 21:13:48 +0000 (16:13 -0500)]
content editable window with focus and cursor
Art Cancro [Tue, 23 Nov 2021 00:22:57 +0000 (19:22 -0500)]
Fixed the vertical float issue by specifying the height of the text div and letting the rest wrap around as it wants to.
Art Cancro [Sun, 21 Nov 2021 22:43:48 +0000 (17:43 -0500)]
how about that scroll?
Art Cancro [Sat, 20 Nov 2021 22:03:56 +0000 (17:03 -0500)]
Hot damn! I just discovered scrollIntoView()
Art Cancro [Thu, 18 Nov 2021 02:10:12 +0000 (21:10 -0500)]
save/cancel
Art Cancro [Thu, 18 Nov 2021 01:30:10 +0000 (20:30 -0500)]
replybox adornments
Art Cancro [Thu, 18 Nov 2021 01:25:23 +0000 (20:25 -0500)]
more work on the reply box
Art Cancro [Thu, 18 Nov 2021 01:15:04 +0000 (20:15 -0500)]
Intermediate commit: open a new div beneath the existing one when Reply or ReplyQuoted is selected
Art Cancro [Wed, 17 Nov 2021 23:04:30 +0000 (18:04 -0500)]
fujobi
Art Cancro [Mon, 15 Nov 2021 23:56:35 +0000 (18:56 -0500)]
Release version 940 generated by do-release.sh
Art Cancro [Mon, 15 Nov 2021 23:56:29 +0000 (18:56 -0500)]
Removed the remaining code where LDAP was optional.
Art Cancro [Sun, 14 Nov 2021 23:34:32 +0000 (18:34 -0500)]
Removed the 'old threaded view save for reference' code from the tree. It's still in the git history if we need it, and JWZ is still a self-righteous asshole.
Art Cancro [Sun, 14 Nov 2021 23:28:35 +0000 (18:28 -0500)]
increased the margin around the message reading boxes
Art Cancro [Sat, 6 Nov 2021 20:55:37 +0000 (16:55 -0400)]
notes
Art Cancro [Sat, 6 Nov 2021 20:43:05 +0000 (16:43 -0400)]
Split the forum view into a separate .js file. We will do this for all views.
Art Cancro [Sat, 6 Nov 2021 20:07:02 +0000 (16:07 -0400)]
nip and tuck
Art Cancro [Sat, 6 Nov 2021 20:05:13 +0000 (16:05 -0400)]
Reply/ReplyAll/Delete buttons are pretty now
Art Cancro [Fri, 5 Nov 2021 23:41:04 +0000 (19:41 -0400)]
The buttons now look like buttons, the reply button has a nice reply icon in it, and they change color when you hover over them.
Art Cancro [Fri, 5 Nov 2021 21:54:06 +0000 (17:54 -0400)]
When sending MSGS commands, unescape the command being sent to the server
Art Cancro [Fri, 5 Nov 2021 21:40:25 +0000 (17:40 -0400)]
Tinkering with the headers some more
Art Cancro [Fri, 5 Nov 2021 21:32:45 +0000 (17:32 -0400)]
Added CSS style for the Loading Messages, Older Posts, Newer Posts divs
Art Cancro [Mon, 1 Nov 2021 13:27:30 +0000 (09:27 -0400)]
Display the subject line -- only if present
Art Cancro [Sat, 30 Oct 2021 20:29:06 +0000 (16:29 -0400)]
Add subject to json output
Art Cancro [Sat, 30 Oct 2021 20:14:53 +0000 (16:14 -0400)]
Tuned up the CSS for message board view. It looks pretty good now.
Art Cancro [Sat, 30 Oct 2021 19:42:39 +0000 (15:42 -0400)]
Use overflow:hidden style to keep the user avatar photo from breaking through the rounded corner of the container.
Art Cancro [Mon, 25 Oct 2021 17:25:17 +0000 (13:25 -0400)]
Changing signal handlers to the correct type eliminates the last of the warning messages
Art Cancro [Mon, 25 Oct 2021 17:21:47 +0000 (13:21 -0400)]
Suppress format-truncation warnings because they are WRONG
Art Cancro [Thu, 21 Oct 2021 20:06:13 +0000 (16:06 -0400)]
Poking around in the text client to determine whether we can remove dependency on libcitadel.
Art Cancro [Sat, 16 Oct 2021 23:21:06 +0000 (19:21 -0400)]
Finished converting all the comments in webcit-ng to C99 style
Art Cancro [Sat, 16 Oct 2021 23:12:34 +0000 (19:12 -0400)]
backslashes are fun
Art Cancro [Tue, 28 Sep 2021 22:31:16 +0000 (18:31 -0400)]
Put the site name and room name in the top header bar
Art Cancro [Tue, 28 Sep 2021 04:22:08 +0000 (00:22 -0400)]
Tweaked the CSS on the forum view. Gave it a little more contrast between messages and rounded corners.
Art Cancro [Tue, 28 Sep 2021 02:37:00 +0000 (22:37 -0400)]
more boring style cleanup
Art Cancro [Mon, 27 Sep 2021 23:27:43 +0000 (19:27 -0400)]
Did a little more style updating. Realized that I started this thing in 2018 and really ought to get my act together and finish it.
Art Cancro [Mon, 27 Sep 2021 23:15:06 +0000 (19:15 -0400)]
Added -Wno-format-truncation to the CFLAGS to make it shut up about calls to snprintf(), which are ALREADY BOUNDS CHECKED so it really needs to lighten up, Francis.
Art Cancro [Wed, 22 Sep 2021 19:49:55 +0000 (15:49 -0400)]
Release version 939 generated by do-release.sh
root [Wed, 22 Sep 2021 17:49:31 +0000 (13:49 -0400)]
Fixed a bug in the new aliasing code that broke mail to rooms with spaces in their names.
Art Cancro [Thu, 9 Sep 2021 21:22:36 +0000 (21:22 +0000)]
Release version 938 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 21:22:33 +0000 (21:22 +0000)]
Fixed some rendering problems in webcit that resulted from the removal of VIEW_WIKIMD from the header file
Art Cancro [Thu, 9 Sep 2021 21:04:10 +0000 (21:04 +0000)]
Release version 937 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 21:03:47 +0000 (21:03 +0000)]
Release version 936 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 14:17:46 +0000 (14:17 +0000)]
Release version 935 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 14:16:33 +0000 (14:16 +0000)]
Release version 934 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 14:16:19 +0000 (14:16 +0000)]
Release version 933 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 03:23:05 +0000 (03:23 +0000)]
validate_recipients() now strips out duplicate recipients ... probably some 15 years after I wrote the FIXME comment saying to do that.
Art Cancro [Thu, 9 Sep 2021 02:47:12 +0000 (02:47 +0000)]
Now it also works when receiving messages over SMTP. Still need to eliminate dupes.
Art Cancro [Wed, 8 Sep 2021 23:50:23 +0000 (23:50 +0000)]
I got the bug to stop biting me, and even made the code more beautiful in the process.
Art Cancro [Wed, 8 Sep 2021 21:07:12 +0000 (21:07 +0000)]
Saving my place while we try something...
Art Cancro [Wed, 8 Sep 2021 15:21:36 +0000 (15:21 +0000)]
Well, it doesn't crash anymore, but it also doesn't work at all. Is that an improvement?
Art Cancro [Tue, 7 Sep 2021 18:41:56 +0000 (18:41 +0000)]
Do not attempt to search for database records of length 0.