citadel.git
3 years agogetmx() now uses our array class
Art Cancro [Tue, 16 Feb 2021 04:08:30 +0000 (23:08 -0500)]
getmx() now uses our array class

3 years agoDelivery of messages to mailing list recipients is complete.
Art Cancro [Sun, 14 Feb 2021 21:12:40 +0000 (16:12 -0500)]
Delivery of messages to mailing list recipients is complete.

3 years agoFor messages delivered to a mailing list, add the room name to the subject line,...
Art Cancro [Sun, 14 Feb 2021 19:19:47 +0000 (14:19 -0500)]
For messages delivered to a mailing list, add the room name to the subject line, and Reply-to: to the address of the list.

3 years ago/* We used to wait for all threads to exit. Fuck that. The only thing important...
Art Cancro [Thu, 11 Feb 2021 02:06:17 +0000 (21:06 -0500)]
/* We used to wait for all threads to exit.  Fuck that.  The only thing important is that the databases are
* cleanly unmounted.  After that, exit the whole program.

3 years agoWrite lastsent back to netconfig after sending list messages
Art Cancro [Wed, 10 Feb 2021 19:56:30 +0000 (14:56 -0500)]
Write lastsent back to netconfig after sending list messages

3 years agoFilter out zero-length MX records
Art Cancro [Wed, 10 Feb 2021 16:55:43 +0000 (11:55 -0500)]
Filter out zero-length MX records

3 years agoFixed a bug in the startup sanity checks. When it had to make a fix it was trying...
Art Cancro [Wed, 10 Feb 2021 16:24:35 +0000 (11:24 -0500)]
Fixed a bug in the startup sanity checks.  When it had to make a fix it was trying to do so during an open cursor.  Refactored those functions.

3 years agoUse the new elastic array class to queue the list of rooms to be swept for mailing...
Art Cancro [Tue, 9 Feb 2021 00:26:00 +0000 (19:26 -0500)]
Use the new elastic array class to queue the list of rooms to be swept for mailing list activity

3 years agoAdded an elastic string buffer class to libcitadel. Why do I have a feeling I'm...
Art Cancro [Tue, 9 Feb 2021 00:06:55 +0000 (19:06 -0500)]
Added an elastic string buffer class to libcitadel.  Why do I have a feeling I'm going to regret this.

3 years agoRemoved the register/callback stuff from serv_smtp.c , it added more complexity than...
Art Cancro [Sun, 7 Feb 2021 00:35:16 +0000 (19:35 -0500)]
Removed the register/callback stuff from serv_smtp.c , it added more complexity than it saved

3 years agofixed a spelling error
Art Cancro [Fri, 5 Feb 2021 16:27:05 +0000 (11:27 -0500)]
fixed a spelling error

3 years agoWhen I don't have the time or focus to deep code, I spend time doing style cleanup...
Art Cancro [Fri, 5 Feb 2021 16:22:49 +0000 (11:22 -0500)]
When I don't have the time or focus to deep code, I spend time doing style cleanup and coding standards

3 years agoDon't cache this pointer either, it doesn't save enough CPU cycles to be worth the...
Art Cancro [Fri, 5 Feb 2021 16:17:52 +0000 (11:17 -0500)]
Don't cache this pointer either, it doesn't save enough CPU cycles to be worth the confusion

3 years agoserv_smtp.c: don't cache the client context
Art Cancro [Fri, 5 Feb 2021 16:07:08 +0000 (11:07 -0500)]
serv_smtp.c: don't cache the client context

3 years agosyntax cleanup internet_addressing.c
Art Cancro [Fri, 5 Feb 2021 15:15:57 +0000 (10:15 -0500)]
syntax cleanup internet_addressing.c

3 years agoremove typedef from struct recptypes
Art Cancro [Thu, 4 Feb 2021 15:45:09 +0000 (10:45 -0500)]
remove typedef from struct recptypes

3 years agolistdeliver modules continued
Art Cancro [Wed, 3 Feb 2021 16:48:18 +0000 (11:48 -0500)]
listdeliver modules continued

3 years agomore work on the new listdeliver module
Art Cancro [Mon, 1 Feb 2021 18:39:46 +0000 (13:39 -0500)]
more work on the new listdeliver module

3 years agomkinstalldirs needs to be executable
Art Cancro [Sun, 31 Jan 2021 23:01:04 +0000 (18:01 -0500)]
mkinstalldirs needs to be executable

3 years agoWork on the new mailing list engine
Art Cancro [Sun, 31 Jan 2021 22:42:55 +0000 (17:42 -0500)]
Work on the new mailing list engine

3 years agoNew listdeliver module (skeleton)
Art Cancro [Sun, 31 Jan 2021 03:17:30 +0000 (22:17 -0500)]
New listdeliver module (skeleton)

3 years agoctdlmigrate now uses the new directory semantics
Art Cancro [Sun, 31 Jan 2021 03:03:06 +0000 (22:03 -0500)]
ctdlmigrate now uses the new directory semantics

3 years agocitmail now uses the new directory semantics
Art Cancro [Sun, 31 Jan 2021 03:00:20 +0000 (22:00 -0500)]
citmail now uses the new directory semantics

3 years agosetup now uses the new directory semantics
Art Cancro [Sun, 31 Jan 2021 02:56:48 +0000 (21:56 -0500)]
setup now uses the new directory semantics

3 years agosendcommand now uses the new directory semantics
Art Cancro [Sun, 31 Jan 2021 02:53:46 +0000 (21:53 -0500)]
sendcommand now uses the new directory semantics

3 years agoAll of the old network modules are now completely gone. Unfortunately this includes...
Art Cancro [Sun, 31 Jan 2021 02:48:27 +0000 (21:48 -0500)]
All of the old network modules are now completely gone.  Unfortunately this includes the parts that handled mailing lists, so that has to be put back in.

3 years agoholy crap there is some old cruft in here I have to rewrite!
Art Cancro [Sun, 31 Jan 2021 01:51:34 +0000 (20:51 -0500)]
holy crap there is some old cruft in here I have to rewrite!

3 years agopop3 retrieval working again
Art Cancro [Sun, 31 Jan 2021 01:45:21 +0000 (20:45 -0500)]
pop3 retrieval working again

3 years agostable now but there are GIANT PIECES MISSING
Art Cancro [Sun, 31 Jan 2021 01:35:31 +0000 (20:35 -0500)]
stable now but there are GIANT PIECES MISSING

3 years agowar on lfhs continues ... what a mess
Art Cancro [Sat, 30 Jan 2021 21:14:31 +0000 (16:14 -0500)]
war on lfhs continues ... what a mess

3 years agodon't run this, it's broken
Art Cancro [Sat, 30 Jan 2021 21:04:44 +0000 (16:04 -0500)]
don't run this, it's broken

3 years agowar on lhfs
Art Cancro [Wed, 27 Jan 2021 21:40:17 +0000 (16:40 -0500)]
war on lhfs

3 years agoOfficially declare war on LHFS
Art Cancro [Wed, 27 Jan 2021 20:52:14 +0000 (15:52 -0500)]
Officially declare war on LHFS

3 years agoulimit -c unlimited
Art Cancro [Tue, 26 Jan 2021 20:48:13 +0000 (15:48 -0500)]
ulimit -c unlimited

3 years agomore diagnostics
Art Cancro [Tue, 26 Jan 2021 18:22:45 +0000 (13:22 -0500)]
more diagnostics

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years 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)

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

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

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

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

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

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

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

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

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

3 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.

3 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.

3 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

3 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.

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

3 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

3 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.

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

3 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.

3 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