citadel.git
9 months agoRelease version 984 generated by do-release.sh v984
Art Cancro [Sat, 22 Jul 2023 14:50:11 +0000 (05:50 -0900)]
Release version 984 generated by do-release.sh

9 months agoctdldump/ctdlload: fixed on Raspberry Pi, reintroduced to build
Art Cancro [Sat, 22 Jul 2023 14:48:44 +0000 (10:48 -0400)]
ctdldump/ctdlload: fixed on Raspberry Pi, reintroduced to build

9 months agoadd prototype for b64unalphabet() to silence warning
Art Cancro [Sat, 22 Jul 2023 14:18:36 +0000 (10:18 -0400)]
add prototype for b64unalphabet() to silence warning

9 months agoMerge branch 'Memory_Leak_SmtpClient' into 'master'
Art Cancro [Fri, 21 Jul 2023 22:10:57 +0000 (22:10 +0000)]
Merge branch 'Memory_Leak_SmtpClient' into 'master'

Memory leak in SMTP Client string trim

See merge request citadel/citadel!4

9 months agoRelease version 983 generated by do-release.sh v983
Art Cancro [Fri, 21 Jul 2023 21:30:18 +0000 (12:30 -0900)]
Release version 983 generated by do-release.sh

9 months agoRelease version 982 generated by do-release.sh v982
Art Cancro [Fri, 21 Jul 2023 21:27:11 +0000 (12:27 -0900)]
Release version 982 generated by do-release.sh

9 months agoRelease version 981 generated by do-release.sh v981
Art Cancro [Fri, 21 Jul 2023 21:21:27 +0000 (12:21 -0900)]
Release version 981 generated by do-release.sh

9 months agoMemory leak in SMTP Client string trim
Harlow Solutions [Tue, 18 Jul 2023 20:05:04 +0000 (16:05 -0400)]
Memory leak in SMTP Client string trim

serv_smtpclient.c: Removed unused variable 't' from trim_response() which was malloc'ing memory

9 months agoRemoved serv_migrate.c and ctdlmigrate. They are replaced by ctdldump and ctdlload.
Art Cancro [Tue, 18 Jul 2023 03:42:29 +0000 (18:42 -0900)]
Removed serv_migrate.c and ctdlmigrate.  They are replaced by ctdldump and ctdlload.

9 months agoremove extra msgs
Art Cancro [Tue, 18 Jul 2023 03:17:50 +0000 (18:17 -0900)]
remove extra msgs

9 months agoctdldump/ctdlload is functionally complete.
Art Cancro [Tue, 18 Jul 2023 03:12:20 +0000 (18:12 -0900)]
ctdldump/ctdlload is functionally complete.

9 months agohappy happy: convert_msgtext() also works for convert_bigmsgs()
Art Cancro [Tue, 18 Jul 2023 02:55:27 +0000 (17:55 -0900)]
happy happy: convert_msgtext() also works for convert_bigmsgs()

9 months agoctdlload: import use table records
Art Cancro [Tue, 18 Jul 2023 02:50:17 +0000 (17:50 -0900)]
ctdlload: import use table records

9 months agocitserver: regenerate secondary indices if the regenerate_secondary_indices config...
Art Cancro [Mon, 17 Jul 2023 21:25:20 +0000 (12:25 -0900)]
citserver: regenerate secondary indices if the regenerate_secondary_indices config key is set to nonzero

9 months agoctdldump/ctdlload: removed tables that can be re-generated by the server.
Art Cancro [Mon, 17 Jul 2023 21:11:18 +0000 (12:11 -0900)]
ctdldump/ctdlload: removed tables that can be re-generated by the server.

Added a new config key to the server that forces it to do that the next time it is run.

9 months agoBeautiful startup banners in vivid color
Art Cancro [Mon, 17 Jul 2023 20:10:55 +0000 (11:10 -0900)]
Beautiful startup banners in vivid color

9 months agoctdlload: import visits
Art Cancro [Mon, 17 Jul 2023 19:44:25 +0000 (10:44 -0900)]
ctdlload: import visits

9 months agoimport msglists
Art Cancro [Mon, 17 Jul 2023 03:24:11 +0000 (18:24 -0900)]
import msglists

9 months agoctdlload: import floor table
Art Cancro [Mon, 17 Jul 2023 03:11:05 +0000 (18:11 -0900)]
ctdlload: import floor table

9 months agoctdlload: import room records
Art Cancro [Mon, 17 Jul 2023 03:01:53 +0000 (18:01 -0900)]
ctdlload: import room records

9 months agoReplaced all the pointer arithmetic in getuser/putuser with readable.
Art Cancro [Sat, 15 Jul 2023 00:26:50 +0000 (15:26 -0900)]
Replaced all the pointer arithmetic in getuser/putuser with readable.

9 months agoPretty statistics
Art Cancro [Fri, 14 Jul 2023 23:58:27 +0000 (14:58 -0900)]
Pretty statistics

9 months agoNow I have a machine gun that can write ctdluser records. Ho-ho-ho.
Art Cancro [Fri, 14 Jul 2023 20:22:19 +0000 (11:22 -0900)]
Now I have a machine gun that can write ctdluser records.  Ho-ho-ho.

9 months agoMoved makeuserkey() into its own file because we need it in ctdlload
Art Cancro [Fri, 14 Jul 2023 03:23:55 +0000 (18:23 -0900)]
Moved makeuserkey() into its own file because we need it in ctdlload

9 months agoctdlload: load message metadata
Art Cancro [Fri, 14 Jul 2023 03:18:02 +0000 (18:18 -0900)]
ctdlload: load message metadata

9 months agoctdlload: load msgtext
Art Cancro [Fri, 14 Jul 2023 03:09:31 +0000 (18:09 -0900)]
ctdlload: load msgtext

9 months agoctdlload: skeleton code for table ingestion
Art Cancro [Thu, 13 Jul 2023 15:34:07 +0000 (06:34 -0900)]
ctdlload: skeleton code for table ingestion

9 months ago./ctdldump -y -h./data | ./ctdlload -y -h./newdata
Art Cancro [Thu, 13 Jul 2023 15:12:31 +0000 (06:12 -0900)]
./ctdldump -y -h./data | ./ctdlload -y -h./newdata

9 months ago./ctdldump -y -h./data | ./ctdlload -y -h./newdata
Art Cancro [Wed, 12 Jul 2023 20:27:58 +0000 (11:27 -0900)]
./ctdldump -y -h./data | ./ctdlload -y -h./newdata

9 months agoctdlload: wrote the code to ingest dump lines
Art Cancro [Wed, 12 Jul 2023 20:25:05 +0000 (11:25 -0900)]
ctdlload: wrote the code to ingest dump lines

9 months agoCleaned up config dump so there are no nulls in the dump
Art Cancro [Wed, 12 Jul 2023 02:32:37 +0000 (17:32 -0900)]
Cleaned up config dump so there are no nulls in the dump

9 months agoctdldump: convert binary to base64 instead of hex
Art Cancro [Wed, 12 Jul 2023 02:29:58 +0000 (17:29 -0900)]
ctdldump: convert binary to base64 instead of hex

9 months agoctdldump: dump config records. This is now functionally complete.
Art Cancro [Wed, 12 Jul 2023 02:22:14 +0000 (17:22 -0900)]
ctdldump: dump config records.  This is now functionally complete.

9 months agoctdldump: export usersbynumber (secondary index)
Art Cancro [Wed, 12 Jul 2023 02:04:26 +0000 (17:04 -0900)]
ctdldump: export usersbynumber (secondary index)

9 months agoctdldump: export euidindex
Art Cancro [Wed, 12 Jul 2023 01:59:55 +0000 (16:59 -0900)]
ctdldump: export euidindex

9 months agoRequire Berkeley DB v18 or newer
Art Cancro [Wed, 12 Jul 2023 01:07:54 +0000 (16:07 -0900)]
Require Berkeley DB v18 or newer

9 months agoRemoved some stray comments
Art Cancro [Tue, 11 Jul 2023 19:21:07 +0000 (10:21 -0900)]
Removed some stray comments

9 months agoctdldump: export use table
Art Cancro [Tue, 11 Jul 2023 18:41:33 +0000 (09:41 -0900)]
ctdldump: export use table

9 months agoExport directory records
Art Cancro [Tue, 11 Jul 2023 16:20:00 +0000 (07:20 -0900)]
Export directory records

9 months agoctdldump: export visit table
Art Cancro [Tue, 11 Jul 2023 16:12:41 +0000 (07:12 -0900)]
ctdldump: export visit table

9 months agoctdldump: export floor records
Art Cancro [Tue, 11 Jul 2023 14:43:23 +0000 (05:43 -0900)]
ctdldump: export floor records

9 months agoctdldump: export room records
Art Cancro [Tue, 11 Jul 2023 13:23:04 +0000 (04:23 -0900)]
ctdldump: export room records

9 months agoctdldump.c: export users
Art Cancro [Tue, 11 Jul 2023 03:09:20 +0000 (18:09 -0900)]
ctdldump.c: export users

9 months agoWrote the first of 14 export functions (msgmain)
Art Cancro [Tue, 11 Jul 2023 02:57:06 +0000 (17:57 -0900)]
Wrote the first of 14 export functions (msgmain)

9 months agoMakefile: added some more pretty things
Art Cancro [Tue, 11 Jul 2023 02:24:25 +0000 (17:24 -0900)]
Makefile: added some more pretty things

9 months agoctdldump.c: skeletonize
Art Cancro [Tue, 11 Jul 2023 02:16:31 +0000 (17:16 -0900)]
ctdldump.c: skeletonize

9 months agoctdl3264: grab files from this commit if we bring it back.
Art Cancro [Mon, 10 Jul 2023 22:07:13 +0000 (13:07 -0900)]
ctdl3264: grab files from this commit if we bring it back.

I'm going to experiment with replacing this somewhat kludgey utility
with proper dump and load utilities.  Then we can use it as a more
reliable replacement for ctdlmigrate.  Who the hell needs online migration
on a running server anyway?

9 months agobootstrap: fixed incorrect source file name
Art Cancro [Mon, 10 Jul 2023 22:02:23 +0000 (13:02 -0900)]
bootstrap: fixed incorrect source file name

9 months agoforum_view.c: log unhandled headers
Art Cancro [Mon, 10 Jul 2023 22:00:59 +0000 (13:00 -0900)]
forum_view.c: log unhandled headers

9 months agocitadel/Makefile: parallelizable build with wildcards
Art Cancro [Mon, 10 Jul 2023 21:45:45 +0000 (12:45 -0900)]
citadel/Makefile: parallelizable build with wildcards

9 months agoview_mail.js: set variables to local scope
Art Cancro [Fri, 7 Jul 2023 20:52:30 +0000 (11:52 -0900)]
view_mail.js: set variables to local scope

9 months agowebcit-ng: drag-and-drop mail to other folders is complete.
Art Cancro [Fri, 7 Jul 2023 19:28:44 +0000 (10:28 -0900)]
webcit-ng: drag-and-drop mail to other folders is complete.

The fact that this could be completed without writing any new C code is
a good indicator that the DAV foundation is in good shape.

9 months agoDAV MOVE method wasn't documented. Documented it.
Art Cancro [Fri, 7 Jul 2023 17:52:40 +0000 (08:52 -0900)]
DAV MOVE method wasn't documented.  Documented it.

9 months agoCarry list of divs being moved in drag and drop
Art Cancro [Fri, 7 Jul 2023 14:47:14 +0000 (05:47 -0900)]
Carry list of divs being moved in drag and drop

9 months agowebcit-ng makefile now handles changes to webcit.h properly
Art Cancro [Thu, 6 Jul 2023 16:14:44 +0000 (07:14 -0900)]
webcit-ng makefile now handles changes to webcit.h properly

9 months agoview_mail.js: handle drag of row that was not selected.
Art Cancro [Wed, 5 Jul 2023 15:29:02 +0000 (06:29 -0900)]
view_mail.js: handle drag of row that was not selected.

If the row being dragged was previously selected, we will drag all
selected rows and show that count next to the icon.  If the row being
dragged is NOT selected, we drag only that row and set count to 1.

This appears to make the behavior consistent with other webmails.

9 months agowebcit-ng/Makefile: made it awesomer
Art Cancro [Tue, 4 Jul 2023 20:27:56 +0000 (11:27 -0900)]
webcit-ng/Makefile: made it awesomer

9 months agoclient_passwords.c: style cleanup
Art Cancro [Tue, 4 Jul 2023 17:35:27 +0000 (08:35 -0900)]
client_passwords.c: style cleanup

9 months agotextclient: indent -kr -i8 -brf -bbb -fnc -l132 -nce
Art Cancro [Tue, 4 Jul 2023 17:33:50 +0000 (08:33 -0900)]
textclient: indent -kr -i8 -brf -bbb -fnc -l132 -nce

9 months agoRemoved stub functions that are determined not to be needed.
Art Cancro [Tue, 4 Jul 2023 17:16:39 +0000 (08:16 -0900)]
Removed stub functions that are determined not to be needed.

9 months agoHighlight drop target folders
Art Cancro [Tue, 4 Jul 2023 17:13:49 +0000 (08:13 -0900)]
Highlight drop target folders

9 months agoAll events are firing correctly. Ready to write the action.
Art Cancro [Tue, 4 Jul 2023 04:19:12 +0000 (19:19 -0900)]
All events are firing correctly.  Ready to write the action.

9 months agoRemoved some tests that I tried and are no longer needed
Art Cancro [Tue, 4 Jul 2023 04:01:05 +0000 (19:01 -0900)]
Removed some tests that I tried and are no longer needed

9 months agomail_folder_list.js: DROP target is working in Brave browser
Art Cancro [Tue, 4 Jul 2023 03:56:07 +0000 (18:56 -0900)]
mail_folder_list.js: DROP target is working in Brave browser

9 months agomail_folder_list.js: accept hover and drop events
Art Cancro [Mon, 3 Jul 2023 17:07:39 +0000 (08:07 -0900)]
mail_folder_list.js: accept hover and drop events

9 months agodatabase.c: emit use table hash as hex
Art Cancro [Sun, 2 Jul 2023 20:49:07 +0000 (11:49 -0900)]
database.c: emit use table hash as hex

9 months agoRemoved duplicate call to dbenv->set_errpfx
Art Cancro [Sun, 2 Jul 2023 00:00:09 +0000 (15:00 -0900)]
Removed duplicate call to dbenv->set_errpfx

10 months agoClean up the working drag code
Art Cancro [Fri, 30 Jun 2023 21:11:00 +0000 (17:11 -0400)]
Clean up the working drag code

10 months agoGeneric user icon instead of 404 when avatar not found.
Art Cancro [Thu, 29 Jun 2023 22:03:34 +0000 (18:03 -0400)]
Generic user icon instead of 404 when avatar not found.

Doing a 404 and then substituting a font-awesome icon makes it 404 over and over and over again.
This is better.

10 months agoCustom draggable with mail envelope and number of messages being moved
Art Cancro [Thu, 29 Jun 2023 21:47:54 +0000 (17:47 -0400)]
Custom draggable with mail envelope and number of messages being moved

10 months agoview_mail.js: set custom drag element
Art Cancro [Thu, 29 Jun 2023 21:24:53 +0000 (17:24 -0400)]
view_mail.js: set custom drag element

10 months agoChanged mouse events to deal with drag
Art Cancro [Wed, 28 Jun 2023 01:41:46 +0000 (21:41 -0400)]
Changed mouse events to deal with drag

10 months agoview_mail.js: add helper function for select/deselect
Art Cancro [Wed, 28 Jun 2023 00:45:50 +0000 (20:45 -0400)]
view_mail.js: add helper function for select/deselect

This will be used to add/remove drag handlers and to keep that code DRY.

10 months agocdb_verbose_log() : remove extra argument ; satisfies compiler warning
Art Cancro [Tue, 27 Jun 2023 23:58:50 +0000 (19:58 -0400)]
cdb_verbose_log() : remove extra argument ; satisfies compiler warning

10 months agostyle cleanup and sarcastic comments
Art Cancro [Tue, 27 Jun 2023 20:31:25 +0000 (16:31 -0400)]
style cleanup and sarcastic comments

10 months agothreads.c: comment and brace style cleanup
Art Cancro [Sun, 25 Jun 2023 02:12:13 +0000 (17:12 -0900)]
threads.c: comment and brace style cleanup

10 months agoMerge branch 'Webcit_Coredump_StrBufQuotedPrintableEncode' into 'master'
Art Cancro [Fri, 23 Jun 2023 19:26:25 +0000 (19:26 +0000)]
Merge branch 'Webcit_Coredump_StrBufQuotedPrintableEncode' into 'master'

Webcit coredumping when body of message is blank

See merge request citadel/citadel!2

10 months agotextclient: bootstrap is no longer needed and is now just a stub to keep old scripts...
Art Cancro [Wed, 21 Jun 2023 16:27:27 +0000 (07:27 -0900)]
textclient: bootstrap is no longer needed and is now just a stub to keep old scripts from breaking.

10 months agoDo not include ctdl3264 in the build
Art Cancro [Tue, 20 Jun 2023 23:43:12 +0000 (14:43 -0900)]
Do not include ctdl3264 in the build

10 months agoRemoved discontinued fields from text client
Art Cancro [Fri, 16 Jun 2023 15:59:20 +0000 (06:59 -0900)]
Removed discontinued fields from text client

10 months agoRemoved 'timescalled' and 'posted' from the user record.
Art Cancro [Fri, 16 Jun 2023 15:54:41 +0000 (06:54 -0900)]
Removed 'timescalled' and 'posted' from the user record.

These are artifacts from the old days of dialup BBS and they aren't really used anymore.
Removing them to save a bunch of extra database writes.

10 months agoWebcit coredumping when body of message is blank
Harlow Solutions [Fri, 16 Jun 2023 04:07:30 +0000 (00:07 -0400)]
Webcit coredumping when body of message is blank

webcit/messages.c post_mime_to_server(): Skip output processsing if msgtext empty

10 months agoremove extra noise from user list
Art Cancro [Wed, 14 Jun 2023 15:48:54 +0000 (06:48 -0900)]
remove extra noise from user list

10 months agowrote some comment lines describing the rescue code
Art Cancro [Wed, 14 Jun 2023 15:41:12 +0000 (06:41 -0900)]
wrote some comment lines describing the rescue code

10 months agoRelease version 980 generated by do-release.sh v980
Art Cancro [Wed, 14 Jun 2023 05:18:35 +0000 (20:18 -0900)]
Release version 980 generated by do-release.sh

10 months agorescue mode
Art Cancro [Wed, 14 Jun 2023 05:18:24 +0000 (20:18 -0900)]
rescue mode

10 months agoRelease version 979 generated by do-release.sh v979
Art Cancro [Wed, 14 Jun 2023 04:21:56 +0000 (19:21 -0900)]
Release version 979 generated by do-release.sh

10 months agoserv_inboxrules.c: don't attempt to call regexec() if regcomp() failed
Art Cancro [Wed, 14 Jun 2023 04:21:41 +0000 (19:21 -0900)]
serv_inboxrules.c: don't attempt to call regexec() if regcomp() failed

10 months agodon't compress use table records anymore
Art Cancro [Tue, 13 Jun 2023 19:40:55 +0000 (10:40 -0900)]
don't compress use table records anymore

10 months agoRelease version 978 generated by do-release.sh v978
Art Cancro [Mon, 12 Jun 2023 17:37:05 +0000 (08:37 -0900)]
Release version 978 generated by do-release.sh

10 months agoserv_rssclient.c: remove single-instance save to drastically reduce complexity
Art Cancro [Mon, 12 Jun 2023 17:36:57 +0000 (08:36 -0900)]
serv_rssclient.c: remove single-instance save to drastically reduce complexity

10 months agoRelease version 977 generated by do-release.sh v977
Art Cancro [Mon, 12 Jun 2023 14:25:22 +0000 (05:25 -0900)]
Release version 977 generated by do-release.sh

10 months agoserv_rssclient.c: fixed a possible null pointer error
Art Cancro [Mon, 12 Jun 2023 04:11:20 +0000 (19:11 -0900)]
serv_rssclient.c: fixed a possible null pointer error

10 months agoForEachUser() convert to array
Art Cancro [Mon, 12 Jun 2023 04:02:19 +0000 (19:02 -0900)]
ForEachUser() convert to array

10 months agowar on doxygen
Art Cancro [Sat, 10 Jun 2023 23:37:02 +0000 (14:37 -0900)]
war on doxygen

10 months agoserv_rssclient.c: use array instead of linked list to avoid crashy bug
Art Cancro [Sat, 10 Jun 2023 23:28:47 +0000 (14:28 -0900)]
serv_rssclient.c: use array instead of linked list to avoid crashy bug

10 months agoRelease version 976 generated by do-release.sh v976
Art Cancro [Thu, 8 Jun 2023 21:39:55 +0000 (12:39 -0900)]
Release version 976 generated by do-release.sh

10 months agoRemediated an unrecoverable problem in CDB_USETABLE.
Art Cancro [Sun, 4 Jun 2023 03:41:01 +0000 (18:41 -0900)]
Remediated an unrecoverable problem in CDB_USETABLE.

Due to a missing null terminator, records were being stored with
excessive lengths, resulting in records whose keys did not match.
Unfortunately this means we have to zero out the table during an upgrade
to Citadel Server 975.  No user data will be lost, but incoming data
such as RSS feeds and POP3 retrievals may produce some unwanted
duplicates.

The new implementation not only remediates this problem, but also works
using a hash of the item rather than the item itself.  This produces
records that are only 12 bytes long.

10 months agoauth.c: removed unneeded prototype for hashlittle()
Art Cancro [Sun, 4 Jun 2023 02:46:06 +0000 (17:46 -0900)]
auth.c: removed unneeded prototype for hashlittle()

10 months agotest commit
Art Cancro [Sat, 3 Jun 2023 23:14:03 +0000 (14:14 -0900)]
test commit