]>
code.citadel.org Git - citadel.git/log
Art Cancro [Tue, 4 Jul 2023 17:33:50 +0000 (08:33 -0900)]
textclient: indent -kr -i8 -brf -bbb -fnc -l132 -nce
Art Cancro [Tue, 4 Jul 2023 17:16:39 +0000 (08:16 -0900)]
Removed stub functions that are determined not to be needed.
Art Cancro [Tue, 4 Jul 2023 17:13:49 +0000 (08:13 -0900)]
Highlight drop target folders
Art Cancro [Tue, 4 Jul 2023 04:19:12 +0000 (19:19 -0900)]
All events are firing correctly. Ready to write the action.
Art Cancro [Tue, 4 Jul 2023 04:01:05 +0000 (19:01 -0900)]
Removed some tests that I tried and are no longer needed
Art Cancro [Tue, 4 Jul 2023 03:56:07 +0000 (18:56 -0900)]
mail_folder_list.js: DROP target is working in Brave browser
Art Cancro [Mon, 3 Jul 2023 17:07:39 +0000 (08:07 -0900)]
mail_folder_list.js: accept hover and drop events
Art Cancro [Sun, 2 Jul 2023 20:49:07 +0000 (11:49 -0900)]
database.c: emit use table hash as hex
Art Cancro [Sun, 2 Jul 2023 00:00:09 +0000 (15:00 -0900)]
Removed duplicate call to dbenv->set_errpfx
Art Cancro [Fri, 30 Jun 2023 21:11:00 +0000 (17:11 -0400)]
Clean up the working drag code
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.
Art Cancro [Thu, 29 Jun 2023 21:47:54 +0000 (17:47 -0400)]
Custom draggable with mail envelope and number of messages being moved
Art Cancro [Thu, 29 Jun 2023 21:24:53 +0000 (17:24 -0400)]
view_mail.js: set custom drag element
Art Cancro [Wed, 28 Jun 2023 01:41:46 +0000 (21:41 -0400)]
Changed mouse events to deal with drag
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.
Art Cancro [Tue, 27 Jun 2023 23:58:50 +0000 (19:58 -0400)]
cdb_verbose_log() : remove extra argument ; satisfies compiler warning
Art Cancro [Tue, 27 Jun 2023 20:31:25 +0000 (16:31 -0400)]
style cleanup and sarcastic comments
Art Cancro [Sun, 25 Jun 2023 02:12:13 +0000 (17:12 -0900)]
threads.c: comment and brace style cleanup
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
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.
Art Cancro [Tue, 20 Jun 2023 23:43:12 +0000 (14:43 -0900)]
Do not include ctdl3264 in the build
Art Cancro [Fri, 16 Jun 2023 15:59:20 +0000 (06:59 -0900)]
Removed discontinued fields from text client
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.
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
Art Cancro [Wed, 14 Jun 2023 15:48:54 +0000 (06:48 -0900)]
remove extra noise from user list
Art Cancro [Wed, 14 Jun 2023 15:41:12 +0000 (06:41 -0900)]
wrote some comment lines describing the rescue code
Art Cancro [Wed, 14 Jun 2023 05:18:35 +0000 (20:18 -0900)]
Release version 980 generated by do-release.sh
Art Cancro [Wed, 14 Jun 2023 05:18:24 +0000 (20:18 -0900)]
rescue mode
Art Cancro [Wed, 14 Jun 2023 04:21:56 +0000 (19:21 -0900)]
Release version 979 generated by do-release.sh
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
Art Cancro [Tue, 13 Jun 2023 19:40:55 +0000 (10:40 -0900)]
don't compress use table records anymore
Art Cancro [Mon, 12 Jun 2023 17:37:05 +0000 (08:37 -0900)]
Release version 978 generated by do-release.sh
Art Cancro [Mon, 12 Jun 2023 17:36:57 +0000 (08:36 -0900)]
serv_rssclient.c: remove single-instance save to drastically reduce complexity
Art Cancro [Mon, 12 Jun 2023 14:25:22 +0000 (05:25 -0900)]
Release version 977 generated by do-release.sh
Art Cancro [Mon, 12 Jun 2023 04:11:20 +0000 (19:11 -0900)]
serv_rssclient.c: fixed a possible null pointer error
Art Cancro [Mon, 12 Jun 2023 04:02:19 +0000 (19:02 -0900)]
ForEachUser() convert to array
Art Cancro [Sat, 10 Jun 2023 23:37:02 +0000 (14:37 -0900)]
war on doxygen
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
Art Cancro [Thu, 8 Jun 2023 21:39:55 +0000 (12:39 -0900)]
Release version 976 generated by do-release.sh
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.
Art Cancro [Sun, 4 Jun 2023 02:46:06 +0000 (17:46 -0900)]
auth.c: removed unneeded prototype for hashlittle()
Art Cancro [Sat, 3 Jun 2023 23:14:03 +0000 (14:14 -0900)]
test commit
Art Cancro [Fri, 2 Jun 2023 19:23:41 +0000 (19:23 +0000)]
Merge branch 'IMAP_Flag_and_Purge_Fixes' into 'master'
Fixed imap_append() from clearing all flags on messages and avoid purge_user() from purging the wrong Visit records.
See merge request citadel/citadel!1
Harlow Solutions [Fri, 2 Jun 2023 15:45:58 +0000 (11:45 -0400)]
Fixed imap_append() from clearing all flags on messages and avoid purge_user() from purging the wrong Visit records.
imap_misc.c: imap_append() was trying to append the flags after the room had been restored to the original room, so all flags in the room were being cleared. Moved imap_do_append_flags() before the room was changed back.
user_ops.c: purge_user() was assuming that the first part of the key for Visit records was the user number. Actually is the room number so was removing records where the room and user numbers matched. A solution is to go through all the Visit records and delete, but not worth it. Auto-Purge will clean up the records later. Future: When expanded IMAP flagging is added, we will move the user number to the top of the key and reactivate the existing method.
ctdl3264_prep.sh: Build fix to support ‘tail’ command version differences for + option. CentOS/Rocky Linux needs -n option added for command not to error. Now tests command and sets the proper option to work.
Art Cancro [Wed, 31 May 2023 15:46:18 +0000 (11:46 -0400)]
libcitadel: remove Doxyfile
Art Cancro [Wed, 24 May 2023 02:49:17 +0000 (22:49 -0400)]
ctdl3264: added diagnostics which revealed that CDB_VISIT is a hot mess and omg how did it ever work
Art Cancro [Tue, 23 May 2023 20:53:50 +0000 (16:53 -0400)]
ctdl3264: fix zero length key in bigmsgs table
Art Cancro [Tue, 23 May 2023 15:54:28 +0000 (11:54 -0400)]
ctdl3264: skip zero length records, add more diagnostics
Why is it skipping the entire CDB_BIGMSGS table?
Art Cancro [Mon, 15 May 2023 01:08:50 +0000 (21:08 -0400)]
serv_imap.c (citserver)/roomops.c (webcit): bugfixes to message flag handling (Phil Slack)
Art Cancro [Thu, 4 May 2023 22:14:10 +0000 (18:14 -0400)]
tools.c: bugfixes to trim functions (Phil Slack)
libcitadel/lib/tools.c
stripout()
Strips too many characters. Causes incorrect From address on inbound and probably other places.
stripout(“Foobar<foobar@foobar.com>”) = Fooba. Should be Foobar
Mangles multiple boundaries. Should strip using outer boundaries.
stripout(“ABC()(DEF)()GHI”) = ABC()(DEFGHI. Should return ABCGHI.
stripallbut()
Handle outer boundaries like stripout()
stripallbut(“ABC()(DEF)()GHI”) returns unchanged. Should return )(DEF)(
Code does a stderr flush. Not sure why, but left it in.
string_trimlen()
Removed function. Not used anywhere in the code and less efficient than string_trim()
Art Cancro [Thu, 4 May 2023 22:11:24 +0000 (18:11 -0400)]
sysdep.c: cprintf() truncation fix (Phil Slack)
Original code (sysdep.c) assumed a return code of -1 from vsnprintf()
was a truncation. Actually, it is an output error and the code still
tried to output it. A return of the buffer size or larger means it was
truncated. Changed the processing to handle return values properly.
Art Cancro [Tue, 2 May 2023 22:29:48 +0000 (18:29 -0400)]
put_visit() no longer needs a separate function to generate its index.
it is simply the first (sizeof(long)*3) bytes of the structure.
Art Cancro [Tue, 2 May 2023 03:31:53 +0000 (23:31 -0400)]
serv_inboxrules.c: applied patch by Allen (awrdgrs) to make X-Spam-Status work
Art Cancro [Tue, 2 May 2023 02:42:14 +0000 (22:42 -0400)]
Apply patches sent by Harlow Solutions -- for WebCit
Fix missing parenthesis in Edit Bio and Wiki empty page
Fix multiple pages and code to start/end <div> sections properly.
In the Summary page, add line breaks to the “About this server” widget to make it more readable.
In contact view (msg_display) fix missing address label title (invalid variable used) and use variables for other labels instead of hard coding.
When displaying Contact address, remove blank lines if P.O. Box or street fields are blank.
subst.c: Expand ITEM format X to allow appending text after a non-blank ITEM value. Used to add line breaks only on non-blank lines, etc.
download.c and static.c: Fix invalid reference to blank gif because the output function added the request line from original image to the link which is invalid.
Art Cancro [Mon, 1 May 2023 21:08:34 +0000 (17:08 -0400)]
ctdl3264: write to target database
Art Cancro [Mon, 1 May 2023 20:36:04 +0000 (16:36 -0400)]
ctdl3264: src_dbenv and dst_dbenv are no longer global vars
Art Cancro [Mon, 1 May 2023 20:17:36 +0000 (16:17 -0400)]
ctdl3264: open_dbenv() and close_dbenv() move away from global vars
Art Cancro [Thu, 27 Apr 2023 21:54:19 +0000 (17:54 -0400)]
We are no longer using the EXTAUTH table.
Perhaps in the future it will return in some other form.
LDAP auth still uses the uid, so we're searching for that the old way.
Art Cancro [Thu, 27 Apr 2023 20:48:52 +0000 (16:48 -0400)]
do-release.sh: change citadel.h to citadel_defs.h
Art Cancro [Thu, 27 Apr 2023 20:47:20 +0000 (16:47 -0400)]
Begin removing the EXTAUTH database
Art Cancro [Wed, 19 Apr 2023 17:32:48 +0000 (13:32 -0400)]
Revert "citserver: remove openid support"
This reverts commit
5e8be0dcc60ca8c0b70ca5fd3107d778db24387b .
Art Cancro [Wed, 19 Apr 2023 17:29:39 +0000 (13:29 -0400)]
citserver: remove openid support
Art Cancro [Wed, 19 Apr 2023 16:56:37 +0000 (12:56 -0400)]
zero out extauth in ctdl3264
Art Cancro [Wed, 19 Apr 2023 16:41:55 +0000 (12:41 -0400)]
convert config records
Art Cancro [Wed, 19 Apr 2023 16:31:37 +0000 (12:31 -0400)]
convert usersbynumber
Art Cancro [Tue, 18 Apr 2023 23:02:52 +0000 (19:02 -0400)]
euid index convert
Art Cancro [Mon, 17 Apr 2023 20:35:42 +0000 (16:35 -0400)]
Please excuse my friend, he isn't null terminated
Art Cancro [Mon, 17 Apr 2023 19:50:22 +0000 (15:50 -0400)]
nice pretty banners
Art Cancro [Mon, 17 Apr 2023 18:48:41 +0000 (14:48 -0400)]
fulltext uses same key and data format as msglists
Art Cancro [Mon, 17 Apr 2023 18:29:05 +0000 (14:29 -0400)]
log messages match and don't repeat for compressed
Art Cancro [Mon, 17 Apr 2023 15:51:39 +0000 (11:51 -0400)]
serv_fulltext.c: style update
Art Cancro [Mon, 17 Apr 2023 15:41:07 +0000 (11:41 -0400)]
ctdl3264: straightened out the compression stuff
Art Cancro [Fri, 14 Apr 2023 19:21:32 +0000 (15:21 -0400)]
convert bigmsgs
Art Cancro [Fri, 14 Apr 2023 15:36:19 +0000 (11:36 -0400)]
IBM i , aka System/38 , really is dead , no matter how much they deny it.
Art Cancro [Thu, 13 Apr 2023 23:55:01 +0000 (19:55 -0400)]
convert directory entries
Art Cancro [Thu, 13 Apr 2023 19:06:34 +0000 (15:06 -0400)]
stuff and things
Art Cancro [Thu, 13 Apr 2023 15:39:32 +0000 (11:39 -0400)]
visit translation complete but we still need to compress it
Art Cancro [Thu, 13 Apr 2023 15:24:05 +0000 (11:24 -0400)]
The data format used by GenerateRelationshipIndex() is now codified in the headers
Art Cancro [Wed, 12 Apr 2023 19:56:05 +0000 (15:56 -0400)]
uncompress when necessary
Art Cancro [Wed, 12 Apr 2023 18:06:35 +0000 (14:06 -0400)]
die in a car fire
Art Cancro [Wed, 12 Apr 2023 15:53:15 +0000 (11:53 -0400)]
makefile tweaks
Art Cancro [Wed, 12 Apr 2023 15:37:32 +0000 (11:37 -0400)]
detect compressed records
Art Cancro [Wed, 12 Apr 2023 15:12:56 +0000 (11:12 -0400)]
copying msglists done
Art Cancro [Wed, 12 Apr 2023 14:52:43 +0000 (10:52 -0400)]
Don't log or rewrite records with zero length keys.
Art Cancro [Tue, 11 Apr 2023 19:29:58 +0000 (15:29 -0400)]
convert floor records
Art Cancro [Tue, 11 Apr 2023 14:05:33 +0000 (10:05 -0400)]
convert next table
Art Cancro [Mon, 10 Apr 2023 21:11:03 +0000 (17:11 -0400)]
finished user import
Art Cancro [Mon, 10 Apr 2023 18:58:11 +0000 (14:58 -0400)]
I am a C programmer. I am better than you.
Art Cancro [Mon, 10 Apr 2023 18:50:06 +0000 (14:50 -0400)]
DBT in , DBT out
Art Cancro [Mon, 10 Apr 2023 15:53:06 +0000 (11:53 -0400)]
make a note where we need to decompress
Art Cancro [Mon, 10 Apr 2023 15:48:15 +0000 (11:48 -0400)]
figuring out db calling syntax...
Art Cancro [Mon, 10 Apr 2023 15:42:25 +0000 (11:42 -0400)]
Added skeleton out_key and out_data
Art Cancro [Mon, 10 Apr 2023 15:39:55 +0000 (11:39 -0400)]
Changed convert function calling syntax and variable names
Art Cancro [Fri, 7 Apr 2023 17:54:41 +0000 (13:54 -0400)]
parse metadata
Art Cancro [Fri, 7 Apr 2023 17:45:44 +0000 (13:45 -0400)]
learn about metadata 32
Art Cancro [Fri, 7 Apr 2023 17:29:34 +0000 (13:29 -0400)]
Abort if source database is not 32-bit.
We detect this in the very first table (msgmain) by bailing out if
we see any key with a length other than 4 bytes.
Art Cancro [Wed, 5 Apr 2023 14:27:10 +0000 (10:27 -0400)]
If the msgnum is negative, we are looking at METADATA
Art Cancro [Fri, 31 Mar 2023 17:43:25 +0000 (13:43 -0400)]
more work on ctdl3264
Art Cancro [Fri, 31 Mar 2023 14:52:16 +0000 (10:52 -0400)]
ctdl3264: sooper seekrit command line flag to make it not fail
Art Cancro [Fri, 31 Mar 2023 01:23:14 +0000 (21:23 -0400)]
ctdl3264: prepare for new things