citadel.git
2 years 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

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years agoMoved the remaining else blocks
Art Cancro [Wed, 24 Nov 2021 04:44:04 +0000 (23:44 -0500)]
Moved the remaining else blocks

2 years 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 years 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 years 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 years 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 years 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 years 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 years agohow about that scroll?
Art Cancro [Sun, 21 Nov 2021 22:43:48 +0000 (17:43 -0500)]
how about that scroll?

2 years 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 years agosave/cancel
Art Cancro [Thu, 18 Nov 2021 02:10:12 +0000 (21:10 -0500)]
save/cancel

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

2 years 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 years 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 years agofujobi
Art Cancro [Wed, 17 Nov 2021 23:04:30 +0000 (18:04 -0500)]
fujobi

2 years 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 years 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 years 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 years 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 years agonotes
Art Cancro [Sat, 6 Nov 2021 20:55:37 +0000 (16:55 -0400)]
notes

2 years 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 years agonip and tuck
Art Cancro [Sat, 6 Nov 2021 20:07:02 +0000 (16:07 -0400)]
nip and tuck

2 years 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 years 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 years 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 years 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 years 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 years 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 years agoAdd subject to json output
Art Cancro [Sat, 30 Oct 2021 20:29:06 +0000 (16:29 -0400)]
Add subject to json output

2 years 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 years 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.

2 years 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

2 years 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

2 years 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.

2 years 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

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

2 years 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

2 years 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.

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

2 years 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.

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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.

2 years 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...

2 years 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?

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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.

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

2 years 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

2 years 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.

2 years 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.

2 years 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

2 years 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

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

2 years 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.

2 years 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.

2 years 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.

2 years agoCtdlGetSysConfig() and CtdlPutSysConfig() now have the ability to store large configu...
Art Cancro [Sun, 1 Aug 2021 18:10:29 +0000 (14:10 -0400)]
CtdlGetSysConfig() and CtdlPutSysConfig() now have the ability to store large configuration items as message texts in the Local System Configuration room by saving their message numbers as items in the regular configuration database.  This eliminates the last place where we did 'Delete all other messages in this room which have the same MIME type' and that ability has therefore been removed from the code.  There is enough code remaining to read configurations saved the old way, but they are upgraded the first time they are read.

2 years agoAdded a delete element method to the array class in libcitadel.
Art Cancro [Sat, 31 Jul 2021 19:59:54 +0000 (15:59 -0400)]
Added a delete element method to the array class in libcitadel.

2 years agomisc cleanup
Art Cancro [Sat, 31 Jul 2021 19:06:10 +0000 (15:06 -0400)]
misc cleanup

2 years agoThe overhaul of recipient parsing code is complete. We can now handle a global alias...
Art Cancro [Sat, 31 Jul 2021 15:04:51 +0000 (11:04 -0400)]
The overhaul of recipient parsing code is complete.  We can now handle a global alias table.  Now I just have to write that :)

2 years agoSlightly better logic for preventing endless aliasing loops
Art Cancro [Fri, 30 Jul 2021 18:31:14 +0000 (14:31 -0400)]
Slightly better logic for preventing endless aliasing loops

2 years agoDo not expand aliases once we get past the original length of the recipient array...
Art Cancro [Thu, 29 Jul 2021 16:00:47 +0000 (12:00 -0400)]
Do not expand aliases once we get past the original length of the recipient array.  This prevents endless aliasing loops.

2 years agoExpansion of aliases is working. Still need to restore the behavior of underscores...
Art Cancro [Wed, 28 Jul 2021 21:35:26 +0000 (17:35 -0400)]
Expansion of aliases is working.  Still need to restore the behavior of underscores in room aliases, and handle infinite aliasing loops.

2 years agoReworked validate_recipients() and expand_aliases() in preparation for expanding...
Art Cancro [Sat, 24 Jul 2021 21:41:40 +0000 (17:41 -0400)]
Reworked validate_recipients() and expand_aliases() in preparation for expanding aliases into multiple recipients

2 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sun, 18 Jul 2021 17:45:38 +0000 (13:45 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

2 years agoA bit of prep work to bring back the global alias table. This time I want to be...
Art Cancro [Sun, 18 Jul 2021 17:43:00 +0000 (13:43 -0400)]
A bit of prep work to bring back the global alias table.  This time I want to be able to expand aliases to multiple recipients, so it will be a bit more complex.  This commit enhances validate_recipients() to read the recipient list into an array before processing.