citadel.git
10 years agopush tags v8.23-new
Art Cancro [Wed, 18 Dec 2013 22:45:46 +0000 (17:45 -0500)]
push tags

10 years agoIMAP: fix memcpy, don't coppy blocks when loaded from DB - steal pointer.
Wilfried Goesgens [Sat, 14 Dec 2013 19:52:57 +0000 (20:52 +0100)]
IMAP: fix memcpy, don't coppy blocks when loaded from DB - steal pointer.

10 years agoTranslation: update Polski.
Wilfried Goesgens [Sat, 30 Nov 2013 16:23:40 +0000 (17:23 +0100)]
Translation: update Polski.

10 years agoresync translations with launchpad.
Wilfried Goesgens [Thu, 28 Nov 2013 21:49:25 +0000 (22:49 +0100)]
resync translations with launchpad.

10 years agoSMTP: when we did the login and replied, we mustn't try again to process the...
Wilfried Goesgens [Fri, 8 Nov 2013 07:38:31 +0000 (08:38 +0100)]
SMTP:     when we did the login and replied, we mustn't try again to process the inbound command again, which will result in a useless additional second error reply; also in this location.

10 years agomore f*n places for d_nam<e>len
Wilfried Goesgens [Thu, 7 Nov 2013 21:53:05 +0000 (22:53 +0100)]
more f*n places for d_nam<e>len

10 years agoMerge branch 'stable-82x' of ssh://git.citadel.org/appl/gitroot/citadel into stable-82x v8.22
Art Cancro [Sun, 27 Oct 2013 02:52:30 +0000 (22:52 -0400)]
Merge branch 'stable-82x' of ssh://git.citadel.org/appl/gitroot/citadel into stable-82x

10 years agoTagging for 8.22 release
Art Cancro [Sun, 27 Oct 2013 02:51:07 +0000 (22:51 -0400)]
Tagging for 8.22 release

10 years agoAdd helper script for release management
Wilfried Goesgens [Sun, 20 Oct 2013 16:53:14 +0000 (18:53 +0200)]
Add helper script for release management

10 years agoAs pointed out by koelbli, we have to send the passvoid this time.
Wilfried Goesgens [Sun, 20 Oct 2013 22:07:52 +0000 (00:07 +0200)]
As pointed out by koelbli, we have to send the passvoid this time.

10 years agoRead multiline SMTP-Replies; we need to analyze all of them to detect the proper...
Wilfried Goesgens [Sun, 20 Oct 2013 21:56:55 +0000 (23:56 +0200)]
Read multiline SMTP-Replies; we need to analyze all of them to detect the proper smtp authentication method.

10 years agofix utf8 handling for xmpp - don't escape valid utf8 characters.
Wilfried Goesgens [Sun, 20 Oct 2013 21:29:37 +0000 (23:29 +0200)]
fix utf8 handling for xmpp - don't escape valid utf8 characters.

10 years agofollow new library version
Wilfried Goesgens [Sun, 20 Oct 2013 17:04:12 +0000 (19:04 +0200)]
follow new library version

10 years agoAdd helper script for release management
Wilfried Goesgens [Sun, 20 Oct 2013 16:53:14 +0000 (18:53 +0200)]
Add helper script for release management

10 years agoSet internal version numbers to 8.21
Art Cancro [Wed, 16 Oct 2013 03:17:32 +0000 (23:17 -0400)]
Set internal version numbers to 8.21

10 years agomemset also needs to have the right type.
Wilfried Goesgens [Thu, 10 Oct 2013 22:53:35 +0000 (00:53 +0200)]
memset also needs to have the right type.

10 years agowe mustn't cut the string if we don't find a boundary.
Wilfried Goesgens [Thu, 10 Oct 2013 21:16:24 +0000 (23:16 +0200)]
we mustn't cut the string if we don't find a boundary.

10 years agorests of moving the .debs of the textclient over into its own directory & tarball
Wilfried Goesgens [Mon, 7 Oct 2013 19:56:23 +0000 (21:56 +0200)]
rests of moving the .debs of the textclient over into its own directory & tarball

10 years agoadd buildpackages script.
Wilfried Goesgens [Mon, 7 Oct 2013 19:50:21 +0000 (21:50 +0200)]
add buildpackages script.

10 years agofix type for sizeof; it shouldn't be the pointer.
Wilfried Goesgens [Mon, 30 Sep 2013 19:29:01 +0000 (21:29 +0200)]
fix type for sizeof; it shouldn't be the pointer.

10 years agodon't rely on malloc to handle (0) parameter; abort before.
Wilfried Goesgens [Sun, 29 Sep 2013 18:11:50 +0000 (20:11 +0200)]
don't rely on malloc to handle (0) parameter; abort before.

10 years agowhen we did the login and replied, we mustn't try again to process the inbound comman...
Wilfried Goesgens [Sun, 29 Sep 2013 18:08:52 +0000 (20:08 +0200)]
when we did the login and replied, we mustn't try again to process the inbound command again, which will result in a useless additional second error reply.

10 years agoif the StrBuf or its parts are NULL, we can't do any work.
Wilfried Goesgens [Sun, 29 Sep 2013 16:04:40 +0000 (18:04 +0200)]
if the StrBuf or its parts are NULL, we can't do any work.

10 years agoNULL-Protect the Context-ID
Wilfried Goesgens [Sun, 29 Sep 2013 15:08:27 +0000 (17:08 +0200)]
NULL-Protect the Context-ID

10 years agoMake realy shure we don't put a NULL into memcpy
Wilfried Goesgens [Sat, 28 Sep 2013 16:48:36 +0000 (18:48 +0200)]
Make realy shure we don't put a NULL into memcpy

10 years agoset the type of the pointer into sizeof, so its definitely the right
Wilfried Goesgens [Sat, 28 Sep 2013 16:42:48 +0000 (18:42 +0200)]
set the type of the pointer into sizeof, so its definitely the right

10 years agoif the pointer is there, we need to free it.
Wilfried Goesgens [Mon, 30 Sep 2013 19:31:37 +0000 (21:31 +0200)]
if the pointer is there, we need to free it.

10 years agoRemove false cookies from the browser to avoid endless loops
Wilfried Goesgens [Sat, 5 Oct 2013 09:52:05 +0000 (11:52 +0200)]
Remove false cookies from the browser to avoid endless loops

10 years agofix a bug introduced in a8bb950b3da00b7933912c27e2ad92814b10d75b ; we want to set...
Wilfried Goesgens [Sun, 6 Oct 2013 15:48:49 +0000 (17:48 +0200)]
fix a bug introduced in a8bb950b3da00b7933912c27e2ad92814b10d75b ; we want to set the user if its not set.

10 years agofix dnamlen, they missed the e, so we need to follow.
Wilfried Goesgens [Mon, 7 Oct 2013 19:26:41 +0000 (21:26 +0200)]
fix dnamlen, they missed the e, so we need to follow.

10 years agowe need to free the array _after_ releasing the array entries
Wilfried Goesgens [Sun, 29 Sep 2013 15:35:14 +0000 (17:35 +0200)]
we need to free the array _after_ releasing the array entries

10 years agoFix possible double free during sending network error messages.
Wilfried Goesgens [Sat, 31 Aug 2013 18:57:16 +0000 (20:57 +0200)]
Fix possible double free during sending network error messages.

10 years agoObserve the 'preferred sender email' and 'preferred sender name' preferences when...
Art Cancro [Sun, 25 Aug 2013 18:56:50 +0000 (14:56 -0400)]
Observe the 'preferred sender email' and 'preferred sender name' preferences when submitting email via SMTP.

10 years agoUCLS: output networker files to syslog
Wilfried Goesgens [Sat, 17 Aug 2013 19:13:22 +0000 (21:13 +0200)]
UCLS: output networker files to syslog

10 years agoNetworker: more verbose INFO-logging about what we do / did with files.
Wilfried Goesgens [Sat, 17 Aug 2013 19:05:36 +0000 (21:05 +0200)]
Networker: more verbose INFO-logging about what we do / did with files.

10 years agoFDIO: don't set fd's to 0, -1 is better since its safe for abuse.
Wilfried Goesgens [Sat, 17 Aug 2013 10:14:57 +0000 (12:14 +0200)]
FDIO: don't set fd's to 0, -1 is better since its safe for abuse.

10 years agoFDIO: check for double freeing of an FDIO resource to fix possible double close ...
Wilfried Goesgens [Thu, 15 Aug 2013 21:25:32 +0000 (23:25 +0200)]
FDIO: check for double freeing of an FDIO resource to fix possible double close / 0 fd close

10 years agoAdjusted paramhandling to accept parameters with empty values (which is legal) v8.20
Art Cancro [Wed, 14 Aug 2013 14:43:11 +0000 (10:43 -0400)]
Adjusted paramhandling to accept parameters with empty values (which is legal)

10 years agocorrected some comment mistakes
Art Cancro [Sun, 11 Aug 2013 19:40:02 +0000 (15:40 -0400)]
corrected some comment mistakes

10 years agoOnly define CTDLDIR if not already defined
Art Cancro [Sun, 11 Aug 2013 19:37:06 +0000 (15:37 -0400)]
Only define CTDLDIR if not already defined

10 years agofixed some comment syntax
Art Cancro [Sun, 11 Aug 2013 19:35:41 +0000 (15:35 -0400)]
fixed some comment syntax

10 years agoRSS: if debug, remove variables too.
Wilfried Goesgens [Sat, 3 Aug 2013 16:49:15 +0000 (18:49 +0200)]
RSS: if debug, remove variables too.

10 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sat, 3 Aug 2013 14:20:51 +0000 (16:20 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agoMESSAGES: store 1 & 2 field to db - it has to be permanent.
Wilfried Goesgens [Sat, 3 Aug 2013 14:20:21 +0000 (16:20 +0200)]
MESSAGES: store 1 & 2 field to db - it has to be permanent.

10 years agoInstant expunge is now the only mode of operation. The expunge semantics have been...
Art Cancro [Sat, 3 Aug 2013 00:10:43 +0000 (20:10 -0400)]
Instant expunge is now the only mode of operation.  The expunge semantics have been stupid from the beginning and Mark Crispin should die in a car fire for forcing the entire world to deal with workarounds for his crappy data store.

10 years agoDisable ical rendering for now.
Wilfried Goesgens [Fri, 19 Jul 2013 12:38:00 +0000 (14:38 +0200)]
Disable ical rendering for now.

10 years agoUpdated all version numbers to 8.20 in preparation for release
Art Cancro [Tue, 16 Jul 2013 17:50:38 +0000 (13:50 -0400)]
Updated all version numbers to 8.20 in preparation for release

10 years agoStrBufStripAllBut() now returns the LEFTMOST qualifying substring. This allows mail...
Art Cancro [Thu, 11 Jul 2013 01:07:43 +0000 (21:07 -0400)]
StrBufStripAllBut() now returns the LEFTMOST qualifying substring. This allows mail to be received from brain-damaged Microsoft MTAs that place additional superfluous angle-bracketed strings on the MAIL FROM line.  Bill Gates is Hitler.

10 years agoAdditional logging to troubleshoot false positives on spoof check
Art Cancro [Mon, 8 Jul 2013 18:48:41 +0000 (14:48 -0400)]
Additional logging to troubleshoot false positives on spoof check

10 years agoVCARD: if we loaded the vcard mime from the server don't load it again.
Wilfried Goesgens [Sat, 6 Jul 2013 14:03:39 +0000 (16:03 +0200)]
VCARD: if we loaded the vcard mime from the server don't load it again.

Thanks to Stefan for reporting this (again)

10 years agoSendcommand: add missing break - so we don't fail to -w.
Wilfried Goesgens [Sat, 29 Jun 2013 22:21:53 +0000 (00:21 +0200)]
Sendcommand: add missing break - so we don't fail to -w.

Thanks to Harry Coin for pointing this out.

10 years agoGETTEXT: when re-using a session, make shure we re-detect the locales.
Wilfried Goesgens [Tue, 25 Jun 2013 21:13:40 +0000 (23:13 +0200)]
GETTEXT: when re-using a session, make shure we re-detect the locales.

10 years agoGETTEXT: Browser detection; if we don't know any of the users languages, rather defau...
Wilfried Goesgens [Tue, 25 Jun 2013 20:28:22 +0000 (22:28 +0200)]
GETTEXT: Browser detection; if we don't know any of the users languages, rather default to en_US then choosing the lexicographical closest match - the user may not understand this locale at all.

10 years agoGETTEXT: represent C as en_US to the user - no one speaks C that fluently after all ;-)
Wilfried Goesgens [Tue, 25 Jun 2013 18:47:08 +0000 (20:47 +0200)]
GETTEXT: represent C as en_US to the user - no one speaks C that fluently after all ;-)

10 years agoSUBST: bad bug in plain text substitution: need to specify -1 if strlen not provided.
Wilfried Goesgens [Tue, 25 Jun 2013 18:46:23 +0000 (20:46 +0200)]
SUBST: bad bug in plain text substitution: need to specify -1 if strlen not provided.

10 years agoSUBST: fix warnings.
Wilfried Goesgens [Sun, 23 Jun 2013 14:43:33 +0000 (16:43 +0200)]
SUBST: fix warnings.

10 years agoGETTEXT: optionaly allow to escape translated tokens.
Wilfried Goesgens [Sun, 23 Jun 2013 14:41:24 +0000 (16:41 +0200)]
GETTEXT: optionaly allow to escape translated tokens.

10 years agoDEB: also warn uninitialized access when doing debug compile
Wilfried Goesgens [Sun, 23 Jun 2013 14:35:34 +0000 (16:35 +0200)]
DEB: also warn uninitialized access when doing debug compile

10 years agocURL: put error description into the status message.
Wilfried Goesgens [Sat, 15 Jun 2013 13:00:14 +0000 (15:00 +0200)]
cURL: put error description into the status message.

10 years agoCURL: it seems as in case of timeout cURL closes the FD somewhere before - forget...
Wilfried Goesgens [Wed, 12 Jun 2013 22:27:56 +0000 (00:27 +0200)]
CURL: it seems as in case of timeout cURL closes the FD somewhere before - forget it so we don't close it again.

10 years agoMailinglists: possible room aliases have to be prepared to not contain blanks and...
Wilfried Goesgens [Wed, 12 Jun 2013 20:11:53 +0000 (22:11 +0200)]
Mailinglists: possible room aliases have to be prepared to not contain blanks and non-ascii-chars.

10 years agoML: don't free the roomname yet - we still need it.
Wilfried Goesgens [Wed, 12 Jun 2013 19:51:38 +0000 (21:51 +0200)]
ML: don't free the roomname yet - we still need it.

10 years agoMailinglist: properly sanitize the roomname if we have to use it as sender.
Wilfried Goesgens [Wed, 12 Jun 2013 19:14:41 +0000 (21:14 +0200)]
Mailinglist: properly sanitize the roomname if we have to use it as sender.

10 years agoSMTP: fix aggregation of fail stati for aide / bounce message.
Wilfried Goesgens [Mon, 10 Jun 2013 18:02:40 +0000 (20:02 +0200)]
SMTP: fix aggregation of fail stati for aide / bounce message.

10 years agoNETCFG: make shure files exist with proper permissions.
Wilfried Goesgens [Mon, 10 Jun 2013 17:43:39 +0000 (19:43 +0200)]
NETCFG: make shure files exist with proper permissions.

10 years agoRNCFG: protect deletion of configs
Wilfried Goesgens [Sat, 8 Jun 2013 15:10:06 +0000 (17:10 +0200)]
RNCFG: protect deletion of configs

10 years agoCitadel Networking: add configured remote room name, so its later on put into the...
Wilfried Goesgens [Sat, 8 Jun 2013 15:06:11 +0000 (17:06 +0200)]
Citadel Networking: add configured remote room name, so its later on put into the spool message.

10 years agoNETIN: one return is enough.
Wilfried Goesgens [Sat, 8 Jun 2013 15:05:01 +0000 (17:05 +0200)]
NETIN: one return is enough.

10 years agoNETIN: save strlens when deserializing network message buffers.
Wilfried Goesgens [Sat, 8 Jun 2013 15:03:50 +0000 (17:03 +0200)]
NETIN: save strlens when deserializing network message buffers.

10 years agoMessage Deletion: only use one memmove to remove leading empty message numbers
Wilfried Goesgens [Sat, 8 Jun 2013 15:02:49 +0000 (17:02 +0200)]
Message Deletion: only use one memmove to remove leading empty message numbers

10 years agoLOG: add separating blanks in debug messages.
Wilfried Goesgens [Sat, 8 Jun 2013 15:01:10 +0000 (17:01 +0200)]
LOG: add separating blanks in debug messages.

10 years agoEVCURL: debug log stopping
Wilfried Goesgens [Sat, 8 Jun 2013 14:59:48 +0000 (16:59 +0200)]
EVCURL: debug log stopping

10 years agoRSSClient: don't save empty messages.
Wilfried Goesgens [Thu, 6 Jun 2013 21:22:47 +0000 (23:22 +0200)]
RSSClient: don't save empty messages.

10 years agofix buffer overrun by 1
Wilfried Goesgens [Thu, 6 Jun 2013 19:02:28 +0000 (21:02 +0200)]
fix buffer overrun by 1

10 years agoAdd handler for recovery of bad file descriptors
Wilfried Goesgens [Wed, 5 Jun 2013 23:06:30 +0000 (01:06 +0200)]
Add handler for recovery of bad file descriptors

10 years agoUT: fix comparison for expired timestamps.
Wilfried Goesgens [Wed, 5 Jun 2013 07:46:20 +0000 (09:46 +0200)]
UT: fix comparison for expired timestamps.

10 years agoRSSClient: do not double delete the curl context; don't swap IOID and CCID for logging
Wilfried Goesgens [Tue, 4 Jun 2013 20:10:43 +0000 (22:10 +0200)]
RSSClient: do not double delete the curl context; don't swap IOID and CCID for logging

10 years agoTDAP: increase usetable flush time to 10 days
Wilfried Goesgens [Sun, 2 Jun 2013 12:12:52 +0000 (14:12 +0200)]
TDAP: increase usetable flush time to 10 days

10 years agoCURL: the cleanup has to be done before.
Wilfried Goesgens [Sun, 2 Jun 2013 12:10:43 +0000 (14:10 +0200)]
CURL: the cleanup has to be done before.

10 years agoRSSClient: refresh per message UT-Entries after one day
Wilfried Goesgens [Mon, 27 May 2013 22:47:15 +0000 (00:47 +0200)]
RSSClient: refresh per message UT-Entries after one day

10 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sun, 26 May 2013 13:47:04 +0000 (15:47 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agoEV: stop all watchers before going into other queues - so we can avoid race conditions.
Wilfried Goesgens [Sun, 26 May 2013 13:46:09 +0000 (15:46 +0200)]
EV: stop all watchers before going into other queues - so we can avoid race conditions.

10 years agominor doc change
Art Cancro [Mon, 20 May 2013 21:45:30 +0000 (17:45 -0400)]
minor doc change

10 years agoWebcit dupe-zapper
Wilfried Goesgens [Thu, 16 May 2013 22:14:19 +0000 (00:14 +0200)]
Webcit dupe-zapper

A simple duplicate message finder - criterias are the subject, sender, sent date. If they're the same, its a duplicate. Messages are then moved to the trashcan of the current user.

10 years agoRSSClient: properly abort loop for setting state in RSS feeds configured in multiple...
Wilfried Goesgens [Thu, 16 May 2013 20:18:04 +0000 (22:18 +0200)]
RSSClient: properly abort loop for setting state in RSS feeds configured in multiple rooms

10 years agoPOP3Client: expose state to rwho
Wilfried Goesgens [Thu, 16 May 2013 20:13:47 +0000 (22:13 +0200)]
POP3Client: expose state to rwho

10 years agoRSSClient: fix cast
Wilfried Goesgens [Thu, 16 May 2013 18:23:19 +0000 (20:23 +0200)]
RSSClient: fix cast

10 years agoNETCFG: first free the configs, then the infrastructure needed to free them.
Wilfried Goesgens [Thu, 16 May 2013 18:22:42 +0000 (20:22 +0200)]
NETCFG: first free the configs, then the infrastructure needed to free them.

10 years agoTDAP: align rss config structs with the primary type.
Wilfried Goesgens [Tue, 14 May 2013 23:29:48 +0000 (01:29 +0200)]
TDAP: align rss config structs with the primary type.

10 years agoTDAP: add facility to protect usetable entries from being deleted while still needed.
Wilfried Goesgens [Tue, 14 May 2013 22:31:15 +0000 (00:31 +0200)]
TDAP: add facility to protect usetable entries from being deleted while still needed.

10 years agoEV: fix possible nullpointer access in last commit.
Wilfried Goesgens [Sun, 12 May 2013 20:44:11 +0000 (22:44 +0200)]
EV: fix possible nullpointer access in last commit.

10 years agoEV: expose current event queue state to the RWHO command
Wilfried Goesgens [Sun, 12 May 2013 16:36:33 +0000 (18:36 +0200)]
EV: expose current event queue state to the RWHO command

10 years agoRSS: expose current state of action to RWHO command
Wilfried Goesgens [Sun, 12 May 2013 09:50:52 +0000 (11:50 +0200)]
RSS: expose current state of action to RWHO command

10 years agofix formating; use define for size_t arguments.
Wilfried Goesgens [Sun, 21 Apr 2013 08:11:48 +0000 (10:11 +0200)]
fix formating; use define for size_t arguments.

10 years agoUnix domain sockets don't work well in non-blocking.
Wilfried Goesgens [Sun, 21 Apr 2013 07:30:43 +0000 (09:30 +0200)]
Unix domain sockets don't work well in non-blocking.

10 years agoTHREADS: config setting min_workers _now_ also is that, plus its also max_spare_workers
Wilfried Goesgens [Sat, 20 Apr 2013 11:16:37 +0000 (13:16 +0200)]
THREADS: config setting min_workers _now_ also is that, plus its also max_spare_workers

10 years agoTHREADS: re-install the max workers & min spare workers configs; lock thread count...
Wilfried Goesgens [Sat, 20 Apr 2013 10:48:45 +0000 (12:48 +0200)]
THREADS: re-install the max workers & min spare workers configs; lock thread count operations.

11 years agofix compilation.
Wilfried Goesgens [Tue, 16 Apr 2013 21:04:12 +0000 (23:04 +0200)]
fix compilation.

11 years agofix closing of already closed files
Wilfried Goesgens [Tue, 16 Apr 2013 21:03:33 +0000 (23:03 +0200)]
fix closing of already closed files

11 years agoSockets: make clear we don't close a socket again.
Wilfried Goesgens [Tue, 16 Apr 2013 19:42:24 +0000 (21:42 +0200)]
Sockets: make clear we don't close a socket again.