citadel
6 weeks agoIt's Friday night, Wesley is out, Sammi is not hungry, and Miss Melissa is asleep...
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.

6 weeks agoresponse headers now use an array instead of a linked list
Art Cancro [Sat, 11 Dec 2021 00:04:13 +0000 (19:04 -0500)]
response headers now use an array instead of a linked list

6 weeks agohttp request headers are now 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

6 weeks agoHTTP headers are shown in purple in the syslog
Art Cancro [Fri, 10 Dec 2021 23:31:36 +0000 (18:31 -0500)]
HTTP headers are shown in purple in the syslog

6 weeks agoChange all instances of "URI" to "URL" because that's more sensible
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

6 weeks agoBegin gathering references and message IDs for replies
Art Cancro [Fri, 10 Dec 2021 23:15:43 +0000 (18:15 -0500)]
Begin gathering references and message IDs for replies

6 weeks agoDon't use \r\n with ctdl_printf() because it adds a \n on its own. Only add \r when...
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.

6 weeks agoDisplay an alert if we cannot connect to Citadel Server, instead of leaving the user...
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.

6 weeks agoWhen delivering mail from a mailing list room, it is not enough to set the Reply...
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.

8 weeks agoChanged the reject message to be identical to the one used by Mailman so we can steal...
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

8 weeks agoRelease version 941 generated by do-release.sh v941
Art Cancro [Mon, 29 Nov 2021 19:24:14 +0000 (14:24 -0500)]
Release version 941 generated by do-release.sh

8 weeks agoMail to a mailing list room must be from a subscriber (or a logged in user) otherwise...
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.

8 weeks agoCleaned up another set of conditionals in the SMTP server.
Art Cancro [Mon, 29 Nov 2021 15:43:14 +0000 (10:43 -0500)]
Cleaned up another set of conditionals in the SMTP server.

8 weeks agoUpdated the comments in do-release.sh
Art Cancro [Mon, 29 Nov 2021 15:31:50 +0000 (10:31 -0500)]
Updated the comments in do-release.sh

8 weeks agoAnother win for short circuit evaluation
Art Cancro [Mon, 29 Nov 2021 00:47:20 +0000 (19:47 -0500)]
Another win for short circuit evaluation

8 weeks agoMade the RBL evaluation conditional cleaner by assuming 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.

8 weeks agomake a note that we have to retain the reply message number
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

8 weeks agoCapture the new message number from the etag of the post transaction
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

8 weeks agoLink entry in the editor now works. The example code at https://www.thatsoftwaredude...
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.

2 months agobold, italic, and list buttons now work.
Art Cancro [Thu, 25 Nov 2021 20:36:03 +0000 (15:36 -0500)]
bold, italic, and list buttons now work.

2 months agosplit utility function out into a separate util.js
Art Cancro [Wed, 24 Nov 2021 20:05:42 +0000 (15:05 -0500)]
split utility function out into a separate util.js

2 months agoPlaced the bold/italic/list/link buttons in the editor. (They don't work yet.)
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.)

2 months agoPrettied up the qp encoder function a bit.
Art Cancro [Wed, 24 Nov 2021 16:51:51 +0000 (11:51 -0500)]
Prettied up the qp encoder function a bit.

2 months agoPost messages in quoted-printable instead of base64, just like WebCit Classic does...
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.

2 months agoSave messages as multipart/mixed with the HTML component in base64 encoding. We...
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.

2 months agoRevert previous commit because it didn't work. Furthermore, remove the content-lengt...
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.

2 months agoPermit the Content-Transfer-Encoding: header to be forwarded from an HTTP transaction...
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.

2 months agoMoved the remaining else blocks
Art Cancro [Wed, 24 Nov 2021 04:44:04 +0000 (23:44 -0500)]
Moved the remaining else blocks

2 months agoHandle posting errors a little more elegantly.
Art Cancro [Wed, 24 Nov 2021 01:09:23 +0000 (20:09 -0500)]
Handle posting errors a little more elegantly.

2 months agoDetect whether the save operation succeeded by checking the response status of the...
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.

2 months agoWow! Posting a message to the server worked on the first try, even using the existin...
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.

2 months agoGot it working, now it's pretty
Art Cancro [Tue, 23 Nov 2021 21:24:50 +0000 (16:24 -0500)]
Got it working, now it's pretty

2 months agocontent editable window with focus and cursor
Art Cancro [Tue, 23 Nov 2021 21:13:48 +0000 (16:13 -0500)]
content editable window with focus and cursor

2 months agoFixed the vertical float issue by specifying the height of the text div and letting...
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.

2 months agohow about that scroll?
Art Cancro [Sun, 21 Nov 2021 22:43:48 +0000 (17:43 -0500)]
how about that scroll?

2 months agoHot damn! I just discovered scrollIntoView()
Art Cancro [Sat, 20 Nov 2021 22:03:56 +0000 (17:03 -0500)]
Hot damn!  I just discovered scrollIntoView()

2 months agosave/cancel
Art Cancro [Thu, 18 Nov 2021 02:10:12 +0000 (21:10 -0500)]
save/cancel

2 months agoreplybox adornments
Art Cancro [Thu, 18 Nov 2021 01:30:10 +0000 (20:30 -0500)]
replybox adornments

2 months ago more work on the reply box
Art Cancro [Thu, 18 Nov 2021 01:25:23 +0000 (20:25 -0500)]
 more work on the reply box

2 months agoIntermediate commit: open a new div beneath the existing one when Reply or ReplyQuote...
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

2 months agofujobi
Art Cancro [Wed, 17 Nov 2021 23:04:30 +0000 (18:04 -0500)]
fujobi

2 months agoRelease version 940 generated by do-release.sh v940
Art Cancro [Mon, 15 Nov 2021 23:56:35 +0000 (18:56 -0500)]
Release version 940 generated by do-release.sh

2 months agoRemoved the remaining code where LDAP was optional.
Art Cancro [Mon, 15 Nov 2021 23:56:29 +0000 (18:56 -0500)]
Removed the remaining code where LDAP was optional.

2 months agoRemoved the 'old threaded view save for reference' code from the tree. It's still...
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.

2 months agoincreased the margin around the message reading boxes
Art Cancro [Sun, 14 Nov 2021 23:28:35 +0000 (18:28 -0500)]
increased the margin around the message reading boxes

2 months agonotes
Art Cancro [Sat, 6 Nov 2021 20:55:37 +0000 (16:55 -0400)]
notes

2 months agoSplit the forum view into a separate .js file. We will do this for all views.
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.

2 months agonip and tuck
Art Cancro [Sat, 6 Nov 2021 20:07:02 +0000 (16:07 -0400)]
nip and tuck

2 months agoReply/ReplyAll/Delete buttons are pretty now
Art Cancro [Sat, 6 Nov 2021 20:05:13 +0000 (16:05 -0400)]
Reply/ReplyAll/Delete buttons are pretty now

2 months agoThe buttons now look like buttons, the reply button has a nice reply icon in it,...
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.

2 months agoWhen sending MSGS commands, unescape the command being sent to the server
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

2 months agoTinkering with the headers some more
Art Cancro [Fri, 5 Nov 2021 21:40:25 +0000 (17:40 -0400)]
Tinkering with the headers some more

2 months agoAdded CSS style for the Loading Messages, Older Posts, Newer Posts divs
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

2 months agoDisplay the subject line -- only if present
Art Cancro [Mon, 1 Nov 2021 13:27:30 +0000 (09:27 -0400)]
Display the subject line -- only if present

2 months agoAdd subject to json output
Art Cancro [Sat, 30 Oct 2021 20:29:06 +0000 (16:29 -0400)]
Add subject to json output

2 months agoTuned up the CSS for message board view. It looks pretty good now.
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.

2 months agoUse overflow:hidden style to keep the user avatar photo from breaking through the...
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.

3 months agoChanging signal handlers to the correct type eliminates the last of the warning messages
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

3 months agoSuppress format-truncation warnings because they are WRONG
Art Cancro [Mon, 25 Oct 2021 17:21:47 +0000 (13:21 -0400)]
Suppress format-truncation warnings because they are WRONG

3 months agoPoking around in the text client to determine whether we can remove dependency on...
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.

3 months agoFinished converting all the comments in webcit-ng to C99 style
Art Cancro [Sat, 16 Oct 2021 23:21:06 +0000 (19:21 -0400)]
Finished converting all the comments in webcit-ng to C99 style

3 months agobackslashes are fun
Art Cancro [Sat, 16 Oct 2021 23:12:34 +0000 (19:12 -0400)]
backslashes are fun

3 months agoPut the site name and room name in the top header bar
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

3 months agoTweaked the CSS on the forum view. Gave it a little more contrast between messages...
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.

3 months agomore boring style cleanup
Art Cancro [Tue, 28 Sep 2021 02:37:00 +0000 (22:37 -0400)]
more boring style cleanup

3 months agoDid a little more style updating. Realized that I started this thing in 2018 and...
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.

3 months agoAdded -Wno-format-truncation to the CFLAGS to make it shut up about calls to snprintf...
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.

4 months agoRelease version 939 generated by do-release.sh v939
Art Cancro [Wed, 22 Sep 2021 19:49:55 +0000 (15:49 -0400)]
Release version 939 generated by do-release.sh

4 months agoFixed a bug in the new aliasing code that broke mail to rooms with spaces in their...
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.

4 months agoRelease version 938 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 21:22:36 +0000 (21:22 +0000)]
Release version 938 generated by do-release.sh

4 months agoFixed some rendering problems in webcit that resulted from the removal of VIEW_WIKIMD...
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

4 months agoRelease version 937 generated by do-release.sh
Art Cancro [Thu, 9 Sep 2021 21:04:10 +0000 (21:04 +0000)]
Release version 937 generated by do-release.sh

4 months agoRelease version 936 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

4 months agoRelease version 935 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

4 months agoRelease version 934 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

4 months agoRelease version 933 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

4 months agovalidate_recipients() now strips out duplicate recipients ... probably some 15 years...
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.

4 months agoNow it also works when receiving messages over SMTP. Still need to eliminate dupes.
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.

4 months agoI got the bug to stop biting me, and even made the code more beautiful in the process.
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.

4 months agoSaving my place while we try something...
Art Cancro [Wed, 8 Sep 2021 21:07:12 +0000 (21:07 +0000)]
Saving my place while we try something...

4 months agoWell, it doesn't crash anymore, but it also doesn't work at all. Is that an improvement?
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?

4 months agoDo not attempt to search for database records of length 0.
Art Cancro [Tue, 7 Sep 2021 18:41:56 +0000 (18:41 +0000)]
Do not attempt to search for database records of length 0.

4 months agoFinished the WebCit screen for the Global Alias Table.
Art Cancro [Mon, 6 Sep 2021 22:21:29 +0000 (22:21 +0000)]
Finished the WebCit screen for the Global Alias Table.

4 months agoWhen a client of any protocol handler sends a command to initiate SSL/TLS on a connec...
Art Cancro [Mon, 6 Sep 2021 14:15:38 +0000 (14:15 +0000)]
When a client of any protocol handler sends a command to initiate SSL/TLS on a connection that is already using encryption, throw a clean error instead of crashing.

4 months agodo_generic now supports a return_to variable, so it can be used by commands which...
Art Cancro [Sat, 4 Sep 2021 22:28:39 +0000 (22:28 +0000)]
do_generic now supports a return_to variable, so it can be used by commands which just want to do generic citadel server stuff.

4 months agoCtdlPutSysConfig() don't delete the old copy of the config until after the new one...
Art Cancro [Fri, 3 Sep 2021 03:55:37 +0000 (03:55 +0000)]
CtdlPutSysConfig() don't delete the old copy of the config until after the new one has been written.  This eliminates data loss if the server is stopped in between.

4 months agoMoved the global email aliases editing screen to its own page to avoid having to...
Art Cancro [Fri, 3 Sep 2021 03:45:00 +0000 (03:45 +0000)]
Moved the global email aliases editing screen to its own page to avoid having to mess with the multi tab form.

5 months agoanother trivial commit to test builds
Art Cancro [Wed, 25 Aug 2021 04:00:10 +0000 (00:00 -0400)]
another trivial commit to test builds

5 months agoTrivial commit to test automated builds
Art Cancro [Wed, 25 Aug 2021 03:49:21 +0000 (23:49 -0400)]
Trivial commit to test automated builds

5 months agoAdditional work on the alias table. This is taking longer than it ought to because...
Art Cancro [Sat, 14 Aug 2021 15:50:37 +0000 (11:50 -0400)]
Additional work on the alias table.  This is taking longer than it ought to because I am using it to prototype a design pattern for WebCit-NG.  Also began removing some of the cached session stuff.

5 months agoFine tuning the design pattern
Art Cancro [Fri, 13 Aug 2021 00:46:38 +0000 (20:46 -0400)]
Fine tuning the design pattern

5 months agomade it async using fetch/await
Art Cancro [Fri, 13 Aug 2021 00:38:21 +0000 (20:38 -0400)]
made it async using fetch/await

5 months agoSkeleton code for the Global Email Aliases tab. To hell with the existing template...
Art Cancro [Fri, 13 Aug 2021 00:25:58 +0000 (20:25 -0400)]
Skeleton code for the Global Email Aliases tab.  To hell with the existing template engine.  We are switching to the design pattern used in WebCit-NG and hopefully I won't have to rewrite this thing again.

5 months agoRemoved the WebCit tab for 'push email' since the server doesn't do that anymore...
Art Cancro [Thu, 12 Aug 2021 23:17:38 +0000 (19:17 -0400)]
Removed the WebCit tab for 'push email' since the server doesn't do that anymore.  Replaced it with a 'Global email aliases' tab.

5 months agoRemoved a bit of diagnostic code no longer needed
Art Cancro [Tue, 10 Aug 2021 17:36:10 +0000 (13:36 -0400)]
Removed a bit of diagnostic code no longer needed

5 months agoRemove APPDIR support in database_cleanup.sh
Art Cancro [Sun, 8 Aug 2021 19:32:40 +0000 (15:32 -0400)]
Remove APPDIR support in database_cleanup.sh

5 months agoAbandoned the AppImage
Art Cancro [Thu, 5 Aug 2021 05:10:16 +0000 (01:10 -0400)]
Abandoned the AppImage

5 months agoThis completes the server portion of the Global Alias table.
Art Cancro [Tue, 3 Aug 2021 22:29:09 +0000 (18:29 -0400)]
This completes the server portion of the Global Alias table.

5 months agoInitial version of global alias table is in place. But it seems to have a Heisenbug.
Art Cancro [Tue, 3 Aug 2021 19:19:17 +0000 (15:19 -0400)]
Initial version of global alias table is in place.  But it seems to have a Heisenbug.

5 months agoCONF LOADVAL and CONF STOREVAL are deprecated and probably safe to remove.
Art Cancro [Sun, 1 Aug 2021 18:15:24 +0000 (14:15 -0400)]
CONF LOADVAL and CONF STOREVAL are deprecated and probably safe to remove.