citadel
12 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.

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

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

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

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

13 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

13 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

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

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

13 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

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

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

13 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

13 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

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

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

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

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

14 months 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.

14 months 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.

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

14 months 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 :)

14 months 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

14 months 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.

14 months 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.

14 months 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

14 months 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

14 months 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.

14 months agoThis is it, I figured out how to create a client link
Art Cancro [Fri, 16 Jul 2021 22:17:43 +0000 (18:17 -0400)]
This is it, I figured out how to create a client link

14 months agorun-client.sh script
Art Cancro [Fri, 16 Jul 2021 21:59:00 +0000 (17:59 -0400)]
run-client.sh script

14 months agocleanup
Art Cancro [Fri, 16 Jul 2021 21:03:55 +0000 (17:03 -0400)]
cleanup

14 months agoappimage improvements to installation
Art Cancro [Sun, 11 Jul 2021 23:08:48 +0000 (19:08 -0400)]
appimage improvements to installation

14 months agoARCH needs to be set to 'arm' for 32-bit
Art Cancro [Sun, 11 Jul 2021 21:55:25 +0000 (17:55 -0400)]
ARCH needs to be set to 'arm' for 32-bit

14 months agoadd the ability to run the client from the appimage
Art Cancro [Wed, 7 Jul 2021 21:22:30 +0000 (17:22 -0400)]
add the ability to run the client from the appimage

14 months agobegan making the client AppImage-aware
Art Cancro [Wed, 7 Jul 2021 21:17:10 +0000 (17:17 -0400)]
began making the client AppImage-aware

14 months agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 6 Jul 2021 03:48:44 +0000 (23:48 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

15 months agoarmhf aarch64
Art Cancro [Mon, 14 Jun 2021 23:55:22 +0000 (19:55 -0400)]
armhf aarch64

15 months agoappimage filename now uses ../release_version.txt instead of the timestamp
Art Cancro [Mon, 14 Jun 2021 22:41:54 +0000 (18:41 -0400)]
appimage filename now uses ../release_version.txt instead of the timestamp

15 months agoRelease version 932 generated by do-release.sh
Art Cancro [Mon, 14 Jun 2021 22:35:25 +0000 (18:35 -0400)]
Release version 932 generated by do-release.sh

15 months agoZZ
Art Cancro [Mon, 14 Jun 2021 22:34:54 +0000 (18:34 -0400)]
ZZ

15 months agoGetting ready for a new do-release.sh script
Art Cancro [Mon, 14 Jun 2021 22:30:45 +0000 (18:30 -0400)]
Getting ready for a new do-release.sh script

15 months agoversion.sh
Art Cancro [Sat, 12 Jun 2021 19:02:40 +0000 (15:02 -0400)]
version.sh

15 months agotest commit
Art Cancro [Sat, 12 Jun 2021 17:52:48 +0000 (13:52 -0400)]
test commit

15 months agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sat, 12 Jun 2021 16:20:53 +0000 (12:20 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

15 months agoremove libz from excludelist
Art Cancro [Wed, 9 Jun 2021 20:29:03 +0000 (16:29 -0400)]
remove libz from excludelist

15 months ago2021-06-02 03:45 from jmb100770
Art Cancro [Sat, 5 Jun 2021 19:51:49 +0000 (15:51 -0400)]
2021-06-02 03:45 from jmb100770
Subject: Re: 500 No such user on AUTH LOGIN
I encountered this same authentication problem with version 931 built via easy-install.  I think the problem is with
citadel/modules/smtp/serv_smtp.c where smtp_get_user(5) is called in smtp_command_loop.  From this context, the offset
parameter 5 should be replaced by zero (0).  I modified the easy-install script to work with a patched copy of the tarball and
the resulting build seems to work correctly.

15 months agorandom boilerplate
Art Cancro [Fri, 4 Jun 2021 23:53:18 +0000 (19:53 -0400)]
random boilerplate

16 months agoInclude libexpat with the appimage, do not exclude it
Art Cancro [Thu, 27 May 2021 00:06:56 +0000 (20:06 -0400)]
Include libexpat with the appimage, do not exclude it

16 months agofixed a bug with ctdlmigrate running in appimage
Art Cancro [Wed, 26 May 2021 23:57:57 +0000 (19:57 -0400)]
fixed a bug with ctdlmigrate running in appimage

16 months agohere have code
Art Cancro [Wed, 26 May 2021 22:59:44 +0000 (18:59 -0400)]
here have code

16 months agoToying around with more boilerplate. Epstein didn't kill himself.
Art Cancro [Wed, 19 May 2021 20:20:14 +0000 (16:20 -0400)]
Toying around with more boilerplate.  Epstein didn't kill himself.

16 months agoTry to use the published excludelist for libraries in the appimage
Art Cancro [Wed, 12 May 2021 00:21:06 +0000 (20:21 -0400)]
Try to use the published excludelist for libraries in the appimage

16 months agoZZMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sat, 8 May 2021 23:19:16 +0000 (19:19 -0400)]
ZZMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

16 months agoarrgh
Art Cancro [Sat, 8 May 2021 23:19:04 +0000 (19:19 -0400)]
arrgh

16 months agoAdded undocumented mount and debug modes to the appimage
Art Cancro [Sat, 8 May 2021 22:37:38 +0000 (18:37 -0400)]
Added undocumented mount and debug modes to the appimage

16 months agoRemoved the backtrace stuff. It wasn't producing traces that were useful.
Art Cancro [Sat, 8 May 2021 22:24:12 +0000 (18:24 -0400)]
Removed the backtrace stuff.  It wasn't producing traces that were useful.

17 months agoAdd backtrace to the appimage
Art Cancro [Sun, 2 May 2021 20:43:41 +0000 (16:43 -0400)]
Add backtrace to the appimage

17 months agoNew server option -b to specify the name of a file to which backtrace should be writt...
Art Cancro [Sun, 2 May 2021 20:25:21 +0000 (16:25 -0400)]
New server option -b to specify the name of a file to which backtrace should be written if the server crashes.

17 months agoDisplay stack trace on caught signal. Also do this on segv now.
Art Cancro [Sun, 2 May 2021 20:02:42 +0000 (16:02 -0400)]
Display stack trace on caught signal.  Also do this on segv now.

17 months agoSave the text client!
Art Cancro [Tue, 27 Apr 2021 22:31:55 +0000 (18:31 -0400)]
Save the text client!

17 months agoAssume the server supports the QNOP command, do not test for it, this is another...
Art Cancro [Tue, 27 Apr 2021 22:06:44 +0000 (18:06 -0400)]
Assume the server supports the QNOP command, do not test for it, this is another command we've supported for 20 years

17 months agoRemove support for the old inline paging mode ... geez, we've only had extended pagin...
Art Cancro [Tue, 27 Apr 2021 22:05:14 +0000 (18:05 -0400)]
Remove support for the old inline paging mode ... geez, we've only had extended paging for 21 years

17 months agoCleaning up the code in the text client a bit
Art Cancro [Tue, 27 Apr 2021 21:59:19 +0000 (17:59 -0400)]
Cleaning up the code in the text client a bit

17 months agoUpdated the boilerplate on each file
Art Cancro [Tue, 27 Apr 2021 20:44:48 +0000 (16:44 -0400)]
Updated the boilerplate on each file

17 months agoFixed .Help SUMMARY
Art Cancro [Sun, 25 Apr 2021 03:56:15 +0000 (23:56 -0400)]
Fixed .Help SUMMARY

17 months agoRemoved exit code definitions that are no longer used
Art Cancro [Fri, 23 Apr 2021 21:59:51 +0000 (17:59 -0400)]
Removed exit code definitions that are no longer used

17 months agoworking on ctdlmigrate in the appimage
Art Cancro [Wed, 21 Apr 2021 16:44:07 +0000 (12:44 -0400)]
working on ctdlmigrate in the appimage

17 months agomore cpu detect
Art Cancro [Fri, 16 Apr 2021 21:37:19 +0000 (17:37 -0400)]
more cpu detect

17 months agotry to sense the architecture better
Art Cancro [Fri, 16 Apr 2021 21:27:27 +0000 (17:27 -0400)]
try to sense the architecture better

17 months agoRemoved test_binary_compatibility() from ctdlvisor.c because we don't do it that...
Art Cancro [Fri, 16 Apr 2021 17:58:52 +0000 (13:58 -0400)]
Removed test_binary_compatibility() from ctdlvisor.c because we don't do it that way anymore.

17 months agoRemoved help text in database_cleanup.sh which suggested that the intermediate dump...
Art Cancro [Tue, 13 Apr 2021 18:06:48 +0000 (14:06 -0400)]
Removed help text in database_cleanup.sh which suggested that the intermediate dump files could be anywhere other than /tmp.

17 months agoAdded more exit points to build_appimage.sh so we know where it failed
Art Cancro [Tue, 6 Apr 2021 15:20:07 +0000 (11:20 -0400)]
Added more exit points to build_appimage.sh so we know where it failed

18 months agoAdded 'database_cleanup' to the AppImage
Art Cancro [Thu, 1 Apr 2021 19:50:01 +0000 (15:50 -0400)]
Added 'database_cleanup' to the AppImage

18 months agoRemoved the comments about RMS being an asshole communist. I don't want anyone to...
Art Cancro [Thu, 1 Apr 2021 17:41:59 +0000 (13:41 -0400)]
Removed the comments about RMS being an asshole communist.  I don't want anyone to think that I am part of the fascist 'MeToo' movement.  My objection to RMS is that he is a far-left asshole communist, not that other far-left asshole communists want to cancel him.

18 months agoupdated database_cleanup.sh
Art Cancro [Tue, 30 Mar 2021 18:54:26 +0000 (14:54 -0400)]
updated database_cleanup.sh

18 months agoadd some db_ utils to the appimage dir
Art Cancro [Tue, 30 Mar 2021 18:39:02 +0000 (14:39 -0400)]
add some db_ utils to the appimage dir

18 months agoVarious changes to appimage. Removed some old docs.
Art Cancro [Tue, 30 Mar 2021 18:19:50 +0000 (14:19 -0400)]
Various changes to appimage.  Removed some old docs.

18 months agoupdated config.guess in libcitadel
Art Cancro [Tue, 16 Mar 2021 13:52:56 +0000 (09:52 -0400)]
updated config.guess in libcitadel

18 months agoThis wraps up the ctdlmigrate fixes.
root [Tue, 9 Mar 2021 16:25:53 +0000 (11:25 -0500)]
This wraps up the ctdlmigrate fixes.

18 months agoformatting
Art Cancro [Tue, 9 Mar 2021 00:31:30 +0000 (19:31 -0500)]
formatting

18 months agoMy current love affair is with C++ style comments. Will it last?
Art Cancro [Mon, 8 Mar 2021 23:11:23 +0000 (18:11 -0500)]
My current love affair is with C++ style comments.  Will it last?

18 months agoLarge migrations over SSH continue failing despite the addition of keepalives in...
Art Cancro [Mon, 8 Mar 2021 21:01:25 +0000 (16:01 -0500)]
Large migrations over SSH continue failing despite the addition of keepalives in the control channel.  Permitting export over TCP to see if it fares better on our own protocol.

18 months agoFixed an incorrect box drawing character
Art Cancro [Mon, 8 Mar 2021 04:18:55 +0000 (23:18 -0500)]
Fixed an incorrect box drawing character

18 months agoWhen exporting a message, write to the client 10 KB at a time.
Art Cancro [Mon, 8 Mar 2021 04:07:08 +0000 (23:07 -0500)]
When exporting a message, write to the client 10 KB at a time.

18 months agoctdlmigrate: use libreadline for prompts
Art Cancro [Mon, 8 Mar 2021 00:38:23 +0000 (19:38 -0500)]
ctdlmigrate: use libreadline for prompts

18 months agoSimplified disable_housekeeping
Art Cancro [Sat, 6 Mar 2021 20:06:46 +0000 (15:06 -0500)]
Simplified disable_housekeeping

18 months agoctdlmigrate: exit cleanly when a signal is received, tell the user the exit code
Art Cancro [Sat, 6 Mar 2021 19:56:50 +0000 (14:56 -0500)]
ctdlmigrate: exit cleanly when a signal is received, tell the user the exit code

18 months agofix a c99 compile bug
Art Cancro [Sat, 6 Mar 2021 18:34:17 +0000 (13:34 -0500)]
fix a c99 compile bug

18 months agoRemoved obsolete portions of the tree
Art Cancro [Sat, 6 Mar 2021 18:29:02 +0000 (13:29 -0500)]
Removed obsolete portions of the tree

18 months agoAdded a comma after each msgnum exported. The parser was globbing them all together...
Art Cancro [Fri, 5 Mar 2021 18:37:53 +0000 (13:37 -0500)]
Added a comma after each msgnum exported.  The parser was globbing them all together when it was just a newline.  This unfortunately resets the oldest-compatible-export version to the current version, but it wasn't working anyway.

18 months agoPolishing up ctdlmigrate with lots of ANSI color and box drawing characters because...
Art Cancro [Thu, 4 Mar 2021 22:59:46 +0000 (17:59 -0500)]
Polishing up ctdlmigrate with lots of ANSI color and box drawing characters because non-ANSI terminals are extinct and now unix people finally get to have the same fun DOS weenies had 40 years ago.

18 months agoctdlmigrate: changed flow of program to avoid gotos, changed SSH to fork()
Art Cancro [Thu, 4 Mar 2021 16:21:49 +0000 (11:21 -0500)]
ctdlmigrate: changed flow of program to avoid gotos, changed SSH to fork()

18 months agomove braces
Art Cancro [Thu, 4 Mar 2021 01:22:47 +0000 (20:22 -0500)]
move braces

18 months agoctdlmigrate now uses a direct socket connection to the local server instead of sendco...
Art Cancro [Thu, 4 Mar 2021 01:19:04 +0000 (20:19 -0500)]
ctdlmigrate now uses a direct socket connection to the local server instead of sendcommand.  Also removed the use of buffered I/O from serv_migrate.c because it was locking up.

18 months agoregretting my brief fling with BSD style braces
Art Cancro [Wed, 3 Mar 2021 16:03:28 +0000 (11:03 -0500)]
regretting my brief fling with BSD style braces

19 months agoremoved StartLibCitadel()
Art Cancro [Wed, 3 Mar 2021 01:03:05 +0000 (20:03 -0500)]
removed StartLibCitadel()

19 months agomoved utils directory files into the root
Art Cancro [Wed, 3 Mar 2021 00:48:05 +0000 (19:48 -0500)]
moved utils directory files into the root

19 months agoremove_any_whitespace_to_the_left_or_right_of_at_symbol() is awesomized and no longer...
Art Cancro [Wed, 3 Mar 2021 00:43:56 +0000 (19:43 -0500)]
remove_any_whitespace_to_the_left_or_right_of_at_symbol() is awesomized and no longer throws a compiler warning

19 months agoIn the XML export, move the 100% progress tag inside the final closing tag.
Art Cancro [Tue, 2 Mar 2021 16:30:01 +0000 (11:30 -0500)]
In the XML export, move the 100% progress tag inside the final closing tag.

19 months agoFixed a bug in StrBufReadBLOBBuffered() that would make the read go into an infinite...
Art Cancro [Sat, 27 Feb 2021 22:07:43 +0000 (17:07 -0500)]
Fixed a bug in StrBufReadBLOBBuffered() that would make the read go into an infinite loop if the client closed the connection during transmission.