citadel
22 months agolook at me , i am a build monkey , see what I can type
Art Cancro [Tue, 26 Jan 2021 04:32:20 +0000 (04:32 +0000)]
look at me , i am a build monkey , see what I can type

22 months agoMoved most of the command line logic to the shell script
Art Cancro [Tue, 26 Jan 2021 04:14:29 +0000 (04:14 +0000)]
Moved most of the command line logic to the shell script

22 months agocompatibility tests
Art Cancro [Mon, 25 Jan 2021 21:15:27 +0000 (16:15 -0500)]
compatibility tests

22 months ago-c option to citserver to only check for binary compatibility
Art Cancro [Mon, 25 Jan 2021 21:08:26 +0000 (16:08 -0500)]
-c option to citserver to only check for binary compatibility

22 months agomore appimage stuff related to installation
Art Cancro [Mon, 25 Jan 2021 19:28:13 +0000 (14:28 -0500)]
more appimage stuff related to installation

22 months agoworking on the options
Art Cancro [Mon, 25 Jan 2021 00:10:16 +0000 (00:10 +0000)]
working on the options

22 months agoctdlvisor is now more sensible about how it stops its child processes.
Art Cancro [Sun, 24 Jan 2021 02:13:54 +0000 (21:13 -0500)]
ctdlvisor is now more sensible about how it stops its child processes.

22 months agotroubleshooting the appimage
Art Cancro [Sun, 24 Jan 2021 01:48:33 +0000 (01:48 +0000)]
troubleshooting the appimage

22 months agocleanup
Art Cancro [Sun, 24 Jan 2021 01:00:30 +0000 (20:00 -0500)]
cleanup

22 months agoNo more cleanup hooks. The OS can reclaim memory better than we can. We want to...
Art Cancro [Sun, 24 Jan 2021 00:55:49 +0000 (19:55 -0500)]
No more cleanup hooks.  The OS can reclaim memory better than we can.  We want to get to the database close as soon as possible.

22 months agoEliminated all destructor hooks. The operating system can clean this up for us bette...
Art Cancro [Sun, 24 Jan 2021 00:18:03 +0000 (19:18 -0500)]
Eliminated all destructor hooks.  The operating system can clean this up for us better than we can.

22 months agoMore work on the appimage
Art Cancro [Sat, 23 Jan 2021 23:50:10 +0000 (23:50 +0000)]
More work on the appimage

22 months agoRemoved an old debugging harness
Art Cancro [Sat, 23 Jan 2021 18:01:08 +0000 (18:01 +0000)]
Removed an old debugging harness

22 months agoBuild citadel server and webcit in temp directories. This allows the builder to...
Art Cancro [Sat, 23 Jan 2021 16:28:35 +0000 (11:28 -0500)]
Build citadel server and webcit in temp directories.  This allows the builder to enjoy a persistent /usr/local/citadel on the build host.

22 months agoMore fine tuning of the AppImage
Art Cancro [Tue, 19 Jan 2021 05:48:29 +0000 (05:48 +0000)]
More fine tuning of the AppImage

22 months agoUpdate config.guess and config.sub. Fix chdir() and -h in webcit
Art Cancro [Wed, 13 Jan 2021 19:41:39 +0000 (14:41 -0500)]
Update config.guess and config.sub.  Fix chdir() and -h in webcit

22 months agotrying to figure out why webcit doesn't chdir properly when run from appimage
Art Cancro [Mon, 11 Jan 2021 21:36:30 +0000 (21:36 +0000)]
trying to figure out why webcit doesn't chdir properly when run from appimage

22 months agoadd readme
Art Cancro [Mon, 11 Jan 2021 19:09:36 +0000 (14:09 -0500)]
add readme

22 months agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Thu, 7 Jan 2021 19:41:58 +0000 (14:41 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

22 months agoRemove install directories after build
Art Cancro [Thu, 7 Jan 2021 19:40:15 +0000 (14:40 -0500)]
Remove install directories after build

22 months agoappimage supervisor is functionally complete
Art Cancro [Thu, 7 Jan 2021 19:26:41 +0000 (14:26 -0500)]
appimage supervisor is functionally complete

22 months agoMoved the appimage project into the main tree
Art Cancro [Thu, 7 Jan 2021 17:35:54 +0000 (12:35 -0500)]
Moved the appimage project into the main tree

23 months agoXMPP Mortuary blocks are now tagged with the user they represent, so if they delete...
Art Cancro [Sun, 3 Jan 2021 19:37:09 +0000 (14:37 -0500)]
XMPP Mortuary blocks are now tagged with the user they represent, so if they delete their config room we know who is responsible.

23 months agoRemoved calls to chdir() from citserver. Not needed, and we are trying to make the...
Art Cancro [Sat, 2 Jan 2021 00:59:29 +0000 (19:59 -0500)]
Removed calls to chdir() from citserver.  Not needed, and we are trying to make the program relocatable.

23 months agoRemoved chdir() from setup.c - this program requires no run directory.
Art Cancro [Sat, 2 Jan 2021 00:44:08 +0000 (19:44 -0500)]
Removed chdir() from setup.c - this program requires no run directory.

23 months agoRemoved a test in html2html() that would cause it to go null every time.
Art Cancro [Thu, 31 Dec 2020 21:15:36 +0000 (16:15 -0500)]
Removed a test in html2html() that would cause it to go null every time.

23 months agoMore distancing of our project from Richard Marx Stallman's linguistic communism
Art Cancro [Thu, 31 Dec 2020 18:36:08 +0000 (13:36 -0500)]
More distancing of our project from Richard Marx Stallman's linguistic communism

23 months agoMoved the defunct server-side renderer into another file to keep as a reference.
Art Cancro [Sun, 27 Dec 2020 23:34:20 +0000 (18:34 -0500)]
Moved the defunct server-side renderer into another file to keep as a reference.

23 months agoFixed mini_2047_decode() in textclient. It ... actually works now.
Art Cancro [Sun, 27 Dec 2020 21:52:24 +0000 (16:52 -0500)]
Fixed mini_2047_decode() in textclient.  It ... actually works now.

23 months agomore sorting out of the headers
Art Cancro [Sun, 27 Dec 2020 05:37:30 +0000 (00:37 -0500)]
more sorting out of the headers

23 months agomore sorting out of the headers
Art Cancro [Sun, 27 Dec 2020 05:33:18 +0000 (00:33 -0500)]
more sorting out of the headers

23 months agomore style cleanup ... ugh
Art Cancro [Sat, 26 Dec 2020 22:50:20 +0000 (17:50 -0500)]
more style cleanup ... ugh

23 months agothe dreaded style cleanup
Art Cancro [Sat, 26 Dec 2020 22:32:51 +0000 (17:32 -0500)]
the dreaded style cleanup

23 months agoNo more XHR in views.js
Art Cancro [Sat, 26 Dec 2020 21:06:17 +0000 (16:06 -0500)]
No more XHR in views.js

23 months agoReplaced all XHR in main.js with fetch/await
Art Cancro [Sat, 26 Dec 2020 20:56:32 +0000 (15:56 -0500)]
Replaced all XHR in main.js with fetch/await

23 months agoRichard Stallman is a communist and an asshole.
Art Cancro [Sat, 26 Dec 2020 20:22:26 +0000 (15:22 -0500)]
Richard Stallman is a communist and an asshole.

23 months agoRewrote ctdl_startup() using fetch/await
Art Cancro [Sat, 26 Dec 2020 20:02:31 +0000 (15:02 -0500)]
Rewrote ctdl_startup() using fetch/await

23 months agoRewrote ctdl_startup() using fetch/await
Art Cancro [Sat, 26 Dec 2020 20:02:12 +0000 (15:02 -0500)]
Rewrote ctdl_startup() using fetch/await

23 months agomore of that
Art Cancro [Wed, 23 Dec 2020 23:11:05 +0000 (18:11 -0500)]
more of that

23 months agofixed error: 'for' loop initial declarations are only allowed in C99 or C11 mode
Art Cancro [Wed, 23 Dec 2020 23:07:14 +0000 (18:07 -0500)]
fixed error: 'for' loop initial declarations are only allowed in C99 or C11 mode

23 months agoWebCit now handles the 'local message' flag correctly.
Art Cancro [Mon, 14 Dec 2020 14:24:45 +0000 (09:24 -0500)]
WebCit now handles the 'local message' flag correctly.

23 months agoHandle display of local and nonlocal messages correctly in text client
Art Cancro [Mon, 14 Dec 2020 05:53:48 +0000 (00:53 -0500)]
Handle display of local and nonlocal messages correctly in text client

23 months agoThe server now uses its own knowledge of local domains to set or clear the 'locl...
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.

23 months agoReverted my work on the 'originated locally' field. I found a much simpler way to...
Art Cancro [Mon, 14 Dec 2020 05:27:09 +0000 (00:27 -0500)]
Reverted my work on the 'originated locally' field.  I found a much simpler way to do it.

23 months agoRemoved an unused parameter from CtdlSubmitMsg(). Why was it even there?
Art Cancro [Mon, 14 Dec 2020 05:02:04 +0000 (00:02 -0500)]
Removed an unused parameter from CtdlSubmitMsg().  Why was it even there?

23 months agoThe 'N' (Node) field in the message database has been resurrected, this time as a...
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)

23 months agoChanged the display logic for message author. New conditional COND:MAIL:LOCAL which...
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.

23 months agoRemoved 'node' and 'hnode' items from the templates.
Art Cancro [Sat, 12 Dec 2020 23:44:14 +0000 (18:44 -0500)]
Removed 'node' and 'hnode' items from the templates.

23 months agomissed a few
Art Cancro [Sat, 12 Dec 2020 23:25:51 +0000 (18:25 -0500)]
missed a few

23 months agoRemoved from WebCit Classic all code which handles display of legacy CitaNet node...
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...

23 months agoIn the text client - fixed the logic for determining whether to display the email...
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.

23 months agoUgh. The sloppiness of the code in the text client really reflects how bad I was...
Art Cancro [Thu, 10 Dec 2020 03:59:46 +0000 (22:59 -0500)]
Ugh.  The sloppiness of the code in the text client really reflects how bad I was at this 30+ years ago.

23 months agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sun, 6 Dec 2020 20:27:01 +0000 (15:27 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

23 months agofix to auto generated messages from inbox handler
Art Cancro [Sun, 6 Dec 2020 20:26:58 +0000 (15:26 -0500)]
fix to auto generated messages from inbox handler

23 months agoRemoved extra references to thread keys that are not extern
Art Cancro [Sun, 6 Dec 2020 20:24:24 +0000 (15:24 -0500)]
Removed extra references to thread keys that are not extern

2 years agoinput type="date" here will allow datepicker.js to be eliminated
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.

2 years agoWhen comparing the sender, compare both the name and address.
Art Cancro [Sun, 29 Nov 2020 00:24:28 +0000 (19:24 -0500)]
When comparing the sender, compare both the name and address.

2 years agoJust a little bit less debug logging
Art Cancro [Sat, 28 Nov 2020 22:58:10 +0000 (17:58 -0500)]
Just a little bit less debug logging

2 years agoSend a hash of an auto-response to the use table. This keeps us from spamming the...
Art Cancro [Sat, 28 Nov 2020 19:04:46 +0000 (14:04 -0500)]
Send a hash of an auto-response to the use table.  This keeps us from spamming the same correspondent with an auto-reply over and over.

2 years agoImplemented the 'vacation' action
Art Cancro [Sat, 28 Nov 2020 18:19:00 +0000 (13:19 -0500)]
Implemented the 'vacation' action

2 years agoRecord the 'last message processed' in the user record instead of in the inbox config...
Art Cancro [Sat, 28 Nov 2020 17:30:26 +0000 (12:30 -0500)]
Record the 'last message processed' in the user record instead of in the inbox config message.  This eliminates any need to rewrite the config

2 years agoNew field in user record "lastproc_inboxrules" which keeps track of the most recent...
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.

2 years agoRemoved unused RSEN server command
Art Cancro [Sat, 28 Nov 2020 14:57:45 +0000 (09:57 -0500)]
Removed unused RSEN server command

2 years agoThis may be the completion of the rewrite bits. Need to test more.
Art Cancro [Fri, 27 Nov 2020 04:39:31 +0000 (23:39 -0500)]
This may be the completion of the rewrite bits.  Need to test more.

2 years agoinbox_do_reject() does not need to return a value, the message is always deleted
Art Cancro [Wed, 25 Nov 2020 22:01:08 +0000 (17:01 -0500)]
inbox_do_reject() does not need to return a value, the message is always deleted

2 years agocompleted the 'redirect' action
Art Cancro [Tue, 24 Nov 2020 16:13:26 +0000 (11:13 -0500)]
completed the 'redirect' action

2 years agoThere is no tabs vs. spaces debate. There are only tab users and communists.
Art Cancro [Mon, 23 Nov 2020 04:04:10 +0000 (23:04 -0500)]
There is no tabs vs. spaces debate.  There are only tab users and communists.

2 years agoCompleted the 'fileinto' action
Art Cancro [Mon, 23 Nov 2020 03:50:56 +0000 (22:50 -0500)]
Completed the 'fileinto' action

2 years agoAction functions will return a keep or delete instruction
Art Cancro [Sun, 22 Nov 2020 22:15:02 +0000 (17:15 -0500)]
Action functions will return a keep or delete instruction

2 years agoWhen appropriate, delete the message from the inbox after processing rules.
Art Cancro [Sun, 22 Nov 2020 21:59:52 +0000 (16:59 -0500)]
When appropriate, delete the message from the inbox after processing rules.

2 years agomeaningless shuffle of parentheses
Art Cancro [Sun, 22 Nov 2020 19:56:53 +0000 (14:56 -0500)]
meaningless shuffle of parentheses

2 years agoDecided not to attempt normalizing the parameters to action functions
Art Cancro [Sun, 22 Nov 2020 06:28:30 +0000 (01:28 -0500)]
Decided not to attempt normalizing the parameters to action functions

2 years agoCompleted the code for the 'reject' action
Art Cancro [Sun, 22 Nov 2020 05:32:02 +0000 (00:32 -0500)]
Completed the code for the 'reject' action

2 years agoImplemented keep_message flag to determine whether to keep or delete the copy of...
Art Cancro [Sat, 21 Nov 2020 20:14:04 +0000 (15:14 -0500)]
Implemented keep_message flag to determine whether to keep or delete the copy of a message that is still in the inbox after rules processing

2 years agofleshed out the actions in pseudocode
Art Cancro [Fri, 20 Nov 2020 05:32:25 +0000 (00:32 -0500)]
fleshed out the actions in pseudocode

2 years agoImplemented the 'stop' final action
Art Cancro [Fri, 20 Nov 2020 05:20:24 +0000 (00:20 -0500)]
Implemented the 'stop' final action

2 years agoField comparison code is functionally complete
Art Cancro [Thu, 19 Nov 2020 14:12:56 +0000 (09:12 -0500)]
Field comparison code is functionally complete

2 years agofilled out some of the field comparison code
Art Cancro [Mon, 16 Nov 2020 02:57:39 +0000 (21:57 -0500)]
filled out some of the field comparison code

2 years agoFixed an edge case that could crash the server from a malformed message
Art Cancro [Sun, 15 Nov 2020 23:58:54 +0000 (18:58 -0500)]
Fixed an edge case that could crash the server from a malformed message

2 years agomsgbase.c: some of the field conversion buffer fields were too small, increased them...
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.

2 years agoserv_rssclient.c: RFC2047-encode fields where needed
Art Cancro [Sun, 15 Nov 2020 21:11:15 +0000 (16:11 -0500)]
serv_rssclient.c: RFC2047-encode fields where needed

2 years agoMake use of the functionality provided in the preceding commit
Art Cancro [Tue, 10 Nov 2020 05:45:47 +0000 (00:45 -0500)]
Make use of the functionality provided in the preceding commit

2 years agoCM_SetField() and CM_SetAsField() now accept -1 as a length to have the function...
Art Cancro [Tue, 10 Nov 2020 05:39:36 +0000 (00:39 -0500)]
CM_SetField() and CM_SetAsField() now accept -1 as a length to have the function measure the field for the caller.

2 years agowar on BSD style curly braces
Art Cancro [Tue, 27 Oct 2020 23:32:16 +0000 (19:32 -0400)]
war on BSD style curly braces

2 years agoRemoved BSD style curly braces from serv_expire.c and database.c ... Warren embarrass...
Art Cancro [Wed, 21 Oct 2020 02:17:26 +0000 (22:17 -0400)]
Removed BSD style curly braces from serv_expire.c and database.c ... Warren embarrassed me into doing it

2 years agomore inbox filter testing, and yes the build is still broken
Art Cancro [Wed, 21 Oct 2020 02:12:16 +0000 (22:12 -0400)]
more inbox filter testing, and yes the build is still broken

2 years agomore work on the inboxrules module. don't run this in production. it isn't finished.
Art Cancro [Sun, 4 Oct 2020 02:33:19 +0000 (22:33 -0400)]
more work on the inboxrules module.  don't run this in production.  it isn't finished.

2 years agoMore chiseling away at the replacement inbox filter.
Art Cancro [Sun, 23 Aug 2020 18:34:24 +0000 (14:34 -0400)]
More chiseling away at the replacement inbox filter.

2 years agoRemoved support for 'before read hooks' because there is no such thing.
Art Cancro [Sun, 9 Aug 2020 20:48:18 +0000 (16:48 -0400)]
Removed support for 'before read hooks' because there is no such thing.

2 years agominor formatting
Art Cancro [Sun, 9 Aug 2020 19:52:17 +0000 (15:52 -0400)]
minor formatting

2 years agoRichard Stallman is a pinko commie bastard.
Art Cancro [Mon, 27 Jul 2020 00:39:04 +0000 (20:39 -0400)]
Richard Stallman is a pinko commie bastard.

2 years agoNext step for inbox rules processing: retrieve each message in the room using a CtdlF...
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.

2 years agook, we're actually at the point now where we can fetch some inbox messages and proces...
Art Cancro [Thu, 23 Jul 2020 17:52:30 +0000 (13:52 -0400)]
ok, we're actually at the point now where we can fetch some inbox messages and process them.

2 years agoshift around the order of the functions because we're going to remove some duplicated...
Art Cancro [Thu, 23 Jul 2020 17:39:11 +0000 (13:39 -0400)]
shift around the order of the functions because we're going to remove some duplicated effort

2 years agowork on serialization schtuffs
Art Cancro [Wed, 22 Jul 2020 03:37:10 +0000 (23:37 -0400)]
work on serialization schtuffs

2 years agoPlease substitute this comment with whatever you feel like reading right now.
Art Cancro [Fri, 17 Jul 2020 21:06:54 +0000 (17:06 -0400)]
Please substitute this comment with whatever you feel like reading right now.

2 years agoHandling is now to the point where user accounts requiring potential inbox processing...
Art Cancro [Thu, 16 Jul 2020 22:03:49 +0000 (18:03 -0400)]
Handling is now to the point where user accounts requiring potential inbox processing are brought to the handler's attention.

2 years agomodule 'sieve' is renamed to 'inboxrules'
Art Cancro [Thu, 16 Jul 2020 21:12:17 +0000 (17:12 -0400)]
module 'sieve' is renamed to 'inboxrules'

2 years agoit now builds but does not do inbox filtering
Art Cancro [Thu, 16 Jul 2020 20:53:15 +0000 (16:53 -0400)]
it now builds but does not do inbox filtering

2 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sat, 11 Jul 2020 22:33:31 +0000 (18:33 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel