citadel.git
10 years agoldap.c mods submitted by Harry Coin for populating vCard from LDAP
Art Cancro [Mon, 17 Mar 2014 00:15:27 +0000 (20:15 -0400)]
ldap.c mods submitted by Harry Coin for populating vCard from LDAP

10 years agoAdded config.c_nntp_port to server and to conf protocol, but not to client
Art Cancro [Mon, 3 Mar 2014 16:26:20 +0000 (11:26 -0500)]
Added config.c_nntp_port to server and to conf protocol, but not to client

10 years agoMAILINGLIST: ListID doesn't seem to work well - revert to use the ReplyTo header.
Wilfried Goesgens [Sat, 1 Mar 2014 15:26:32 +0000 (15:26 +0000)]
MAILINGLIST: ListID doesn't seem to work well - revert to use the ReplyTo header.

10 years agohttp_transmit_binary: make shure we don't block a session if the client is gone.
Wilfried Goesgens [Sun, 23 Feb 2014 16:38:47 +0000 (16:38 +0000)]
http_transmit_binary: make shure we don't block a session if the client is gone.

10 years agocontrol when not first chunk.
Wilfried Goesgens [Sat, 15 Feb 2014 14:47:56 +0000 (14:47 +0000)]
control when not first chunk.

10 years agoAdded message-id to the list of fields CtdlOutputMsg() can potentially return to...
Art Cancro [Wed, 12 Feb 2014 20:13:41 +0000 (15:13 -0500)]
Added message-id to the list of fields CtdlOutputMsg() can potentially return to the caller

10 years agoUpdated the CtdlUserGoto() API call to also return the oldest and newest message...
Art Cancro [Tue, 4 Feb 2014 20:20:47 +0000 (15:20 -0500)]
Updated the CtdlUserGoto() API call to also return the oldest and newest message numbers in the room.

10 years agoBASE64: forcefully terminate it after deciphering it.
Wilfried Goesgens [Mon, 3 Feb 2014 16:12:38 +0000 (17:12 +0100)]
BASE64: forcefully terminate it after deciphering it.

10 years agoAUTH PLAIN: password length has to be its own variable, else it may contain invalid...
Wilfried Goesgens [Mon, 3 Feb 2014 14:55:06 +0000 (15:55 +0100)]
AUTH PLAIN: password length has to be its own variable, else it may contain invalid lengths

10 years agoAUTH PLAIN: don't trip over eventually uninitialized values.
Wilfried Goesgens [Mon, 3 Feb 2014 14:49:44 +0000 (15:49 +0100)]
AUTH PLAIN: don't trip over eventually uninitialized values.

10 years agoAUTH PLAIN: second try.
Wilfried Goesgens [Mon, 3 Feb 2014 14:47:49 +0000 (15:47 +0100)]
AUTH PLAIN: second try.

10 years agoI18N fix syntax
Wilfried Goesgens [Fri, 31 Jan 2014 00:23:55 +0000 (01:23 +0100)]
I18N fix syntax

10 years agoI18N: update German
Wilfried Goesgens [Fri, 31 Jan 2014 00:00:55 +0000 (01:00 +0100)]
I18N: update German

10 years agoI18n: refresh po-files
Wilfried Goesgens [Thu, 30 Jan 2014 22:11:02 +0000 (23:11 +0100)]
I18n: refresh po-files

10 years agoFine-Uploader; make missing strings translateable
Wilfried Goesgens [Thu, 30 Jan 2014 22:08:06 +0000 (23:08 +0100)]
Fine-Uploader; make missing strings translateable

10 years agocreate pot has moved; adjust buildpackages
Wilfried Goesgens [Thu, 30 Jan 2014 22:07:24 +0000 (23:07 +0100)]
create pot has moved; adjust buildpackages

10 years agoBASE64: we don't remove \0's anymore, we need to treat auth basic strings different.
Wilfried Goesgens [Mon, 27 Jan 2014 19:17:05 +0000 (20:17 +0100)]
BASE64: we don't remove \0's anymore, we need to treat auth basic strings different.

10 years agoAttachment Upload: we removed the colon, adjust the i18n to save us from fuzzyness.
Wilfried Goesgens [Sun, 26 Jan 2014 16:50:52 +0000 (17:50 +0100)]
Attachment Upload: we removed the colon, adjust the i18n to save us from fuzzyness.

10 years agoAttachments: fix I18N in the templates where possible; fix callbacks to Fine Uploader...
Wilfried Goesgens [Sun, 26 Jan 2014 16:12:57 +0000 (17:12 +0100)]
Attachments: fix I18N in the templates where possible; fix callbacks to Fine Uploader as hinted by Mark Feltner

10 years agoAttachments: implement browsing & deleting using fineuploader
Wilfried Goesgens [Sat, 25 Jan 2014 20:00:07 +0000 (21:00 +0100)]
Attachments: implement browsing & deleting using fineuploader

10 years agoATTACHMENTS: hande UID of files on the partnum param on upload. that way fresh &...
Wilfried Goesgens [Sat, 25 Jan 2014 13:03:08 +0000 (14:03 +0100)]
ATTACHMENTS: hande UID of files on the partnum param on upload. that way fresh & forwarded attachment are instantly addressable via a uniq identifier.

10 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 21 Jan 2014 20:28:21 +0000 (21:28 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agoAttachments: start using fineuploader.com to upload attachments to messages.
Wilfried Goesgens [Tue, 21 Jan 2014 20:27:50 +0000 (21:27 +0100)]
Attachments: start using fineuploader.com to upload attachments to messages.

10 years agoupload_attachment : add possibility to switch reply to template.
Wilfried Goesgens [Tue, 21 Jan 2014 20:24:26 +0000 (21:24 +0100)]
upload_attachment : add possibility to switch reply to template.

10 years agooops wrong branch
Art Cancro [Wed, 15 Jan 2014 20:52:35 +0000 (15:52 -0500)]
oops wrong branch

10 years agoNNTP server module
Art Cancro [Wed, 15 Jan 2014 20:51:53 +0000 (15:51 -0500)]
NNTP server module

10 years agoHappy New Year. Startup banners now show 2014 copyright date.
Art Cancro [Fri, 10 Jan 2014 21:48:30 +0000 (16:48 -0500)]
Happy New Year.  Startup banners now show 2014 copyright date.

10 years agoBASE64: add stream handler for base 64 decoding - make shure its not called for to...
Wilfried Goesgens [Mon, 6 Jan 2014 23:38:27 +0000 (00:38 +0100)]
BASE64: add stream handler for base 64 decoding - make shure its not called for to small chunks - else it will eat cpu.

10 years agoBASE64: - By Edward Flick - 0-terminate the transcoded buffer
Wilfried Goesgens [Thu, 2 Jan 2014 23:41:06 +0000 (00:41 +0100)]
BASE64: - By Edward Flick - 0-terminate the transcoded buffer

10 years agoBASE64 de/encoding - by Edward Flick - replace John Walkers implementation with http...
Wilfried Goesgens [Thu, 2 Jan 2014 23:08:45 +0000 (00:08 +0100)]
BASE64 de/encoding - by Edward Flick - replace John Walkers implementation with libb64.sourceforge.net which has proven to be a lot faster.

10 years agoMIGR: more performance improvements
Wilfried Goesgens [Thu, 2 Jan 2014 19:19:47 +0000 (20:19 +0100)]
MIGR: more performance improvements
  - as sugested by Edward Flick: reduce copy & realloc operations to xml chardata & composed messages; However, we use a StrBuf for this.
  - stack rumpelstilskin lookup for xml tokens we found to reduce the number of strcmp's till we have the final handler.

10 years agoSTRBUF: add wrapper to do source -> target buffer base 64 decoding
Wilfried Goesgens [Thu, 2 Jan 2014 19:18:09 +0000 (20:18 +0100)]
STRBUF: add wrapper to do source -> target buffer base 64 decoding

10 years agoMIGRATE: By Edward Flick (DTX) properly set the message ID for the meta data record...
Wilfried Goesgens [Thu, 2 Jan 2014 15:30:44 +0000 (16:30 +0100)]
MIGRATE: By Edward Flick (DTX) properly set the message ID for the meta data record on import of dump.

10 years agoSendcommand: fix usage of FileSendChunked()
Wilfried Goesgens [Thu, 2 Jan 2014 13:14:09 +0000 (14:14 +0100)]
Sendcommand: fix usage of FileSendChunked()

10 years agoFileSendChunked(): add mode which operates without known transmission size
Wilfried Goesgens [Thu, 2 Jan 2014 13:08:36 +0000 (14:08 +0100)]
FileSendChunked(): add mode which operates without known transmission size

10 years agoMIGR: replace line buffering by anon-blob buffering
Wilfried Goesgens [Thu, 2 Jan 2014 12:43:19 +0000 (13:43 +0100)]
MIGR: replace line buffering by anon-blob buffering

10 years agoremove orphaned PAGER_QUEUE_ROOM define
Wilfried Goesgens [Sun, 29 Dec 2013 10:39:00 +0000 (11:39 +0100)]
remove orphaned PAGER_QUEUE_ROOM define

10 years agoMIGR: use dynamic buffers to overcome max line length limits; Thanks to dtx for...
Wilfried Goesgens [Fri, 27 Dec 2013 13:23:37 +0000 (14:23 +0100)]
MIGR: use dynamic buffers to overcome max line length limits;  Thanks to dtx for pointing me at this location with a POC patch.

10 years agoSENDCOMMAND: use linebuffered readers with dynamic buffer allocation to overcome...
Wilfried Goesgens [Fri, 27 Dec 2013 13:21:45 +0000 (14:21 +0100)]
SENDCOMMAND: use linebuffered readers with dynamic buffer allocation to overcome 4k line length limit and improve performance (135s 10s runntime)

10 years agofix the bug in en_GB mingodad found - for some reason launchpad is out of sync here.
Wilfried Goesgens [Fri, 27 Dec 2013 09:18:09 +0000 (10:18 +0100)]
fix the bug in en_GB mingodad found - for some reason launchpad is out of sync here.

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 agomsgbase: don't buffer overrun on invalid messages.
Wilfried Goesgens [Sat, 14 Dec 2013 19:51:32 +0000 (20:51 +0100)]
msgbase: don't buffer overrun on invalid messages.

10 years agoMarkdown: Properly escape stuff on the way to the server; fix loading & saving from...
Wilfried Goesgens [Sun, 8 Dec 2013 15:25:20 +0000 (16:25 +0100)]
Markdown: Properly escape stuff on the way to the server; fix loading & saving from the editor.

10 years agono need to duplicate BSTRs just for getting a StrBuf; we can use sbstr here.
Wilfried Goesgens [Sun, 8 Dec 2013 15:04:09 +0000 (16:04 +0100)]
no need to duplicate BSTRs just for getting a StrBuf; we can use sbstr here.

10 years agoedit messages: tripple quote? gotta be a bug.
Wilfried Goesgens [Sun, 8 Dec 2013 14:00:16 +0000 (15:00 +0100)]
edit messages: tripple quote? gotta be a bug.

10 years agoCleanup: move all into the edit/ subfolder
Wilfried Goesgens [Sun, 8 Dec 2013 13:45:33 +0000 (14:45 +0100)]
Cleanup: move all into the edit/ subfolder

10 years agoMarkdownWiki: put original text into edit-textarea, not the html'ified version.
Wilfried Goesgens [Sun, 8 Dec 2013 13:21:51 +0000 (14:21 +0100)]
MarkdownWiki: put original text into edit-textarea, not the html'ified version.

10 years agoMarkdown Wiki: add our prefix to relative URLs
Wilfried Goesgens [Sun, 8 Dec 2013 12:58:04 +0000 (13:58 +0100)]
Markdown Wiki: add our prefix to relative URLs

10 years agoMARKDOWN: two more places to handle the new room mode.
Wilfried Goesgens [Sun, 8 Dec 2013 10:52:01 +0000 (11:52 +0100)]
MARKDOWN: two more places to handle the new room mode.

10 years agoMarkdown: start adding markdown wiki mode.
Wilfried Goesgens [Sat, 7 Dec 2013 23:36:08 +0000 (00:36 +0100)]
Markdown: start adding markdown wiki mode.

10 years agoMARKDOWN: add epic editor
Wilfried Goesgens [Sat, 7 Dec 2013 20:43:17 +0000 (21:43 +0100)]
MARKDOWN: add epic editor

10 years agosatisfy st00pid unitialized checker
Wilfried Goesgens [Sat, 7 Dec 2013 18:05:38 +0000 (19:05 +0100)]
satisfy st00pid unitialized checker

10 years agoMarkdown: if we find libmarkdown, register a renderer for text/x-markdown
Wilfried Goesgens [Sat, 7 Dec 2013 17:01:03 +0000 (18:01 +0100)]
Markdown: if we find libmarkdown, register a renderer for text/x-markdown

10 years agoSTRBUF: RFC2047-Encode Message - don't ommit linebreaks.
Wilfried Goesgens [Sat, 7 Dec 2013 16:59:02 +0000 (17:59 +0100)]
STRBUF: RFC2047-Encode Message - don't ommit linebreaks.

10 years agoSTRBUF: RFC2047-Encode Message - \r == 10
Wilfried Goesgens [Sat, 7 Dec 2013 16:26:38 +0000 (17:26 +0100)]
STRBUF: RFC2047-Encode Message - \r == 10

10 years agoflip version to 8.29 for master branch so we're ahead of stable versions
Wilfried Goesgens [Sat, 7 Dec 2013 10:47:05 +0000 (11:47 +0100)]
flip version to 8.29 for master branch so we're ahead of stable versions

10 years agoTHREADS: for some reason in recent debian versions doing this makes us crash on exit...
Wilfried Goesgens [Sat, 7 Dec 2013 10:44:32 +0000 (11:44 +0100)]
THREADS: for some reason in recent debian versions doing this makes us crash on exit after the exit() call :-(

10 years agoMSG: another place to replaces chars by enums; secure message loading - there are...
Wilfried Goesgens [Sun, 1 Dec 2013 23:55:50 +0000 (00:55 +0100)]
MSG: another place to replaces chars by enums; secure message loading - there are no \0 message fields.

10 years agofix unwrapping of folded lines.
Wilfried Goesgens [Sun, 1 Dec 2013 23:55:27 +0000 (00:55 +0100)]
fix unwrapping of folded lines.

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

10 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 28 Nov 2013 21:55:42 +0000 (22:55 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agoXMPP: how messages look..
Wilfried Goesgens [Thu, 28 Nov 2013 21:55:11 +0000 (22:55 +0100)]
XMPP: how messages look..

10 years agoXMPP: continue work on message body
Wilfried Goesgens [Thu, 28 Nov 2013 21:53:57 +0000 (22:53 +0100)]
XMPP: continue work on message body

10 years agofix indention
Wilfried Goesgens [Thu, 28 Nov 2013 21:52:47 +0000 (22:52 +0100)]
fix indention

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 agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 19 Nov 2013 16:49:48 +0000 (11:49 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agofmt_date() use ISO 8601 date format
Art Cancro [Tue, 19 Nov 2013 16:49:39 +0000 (11:49 -0500)]
fmt_date() use ISO 8601 date format

10 years agoPOP3: optionalize pop3 verbose logging.
Wilfried Goesgens [Tue, 19 Nov 2013 00:15:16 +0000 (01:15 +0100)]
POP3: optionalize pop3 verbose logging.

10 years agoMSG: the database returns the buffer size, not the stringlength.
Wilfried Goesgens [Fri, 15 Nov 2013 13:26:35 +0000 (14:26 +0100)]
MSG: the database returns the buffer size, not the stringlength.

10 years agoMSG: we can continue using the strbuf, ommit the wrapper function here.
Wilfried Goesgens [Fri, 15 Nov 2013 12:07:32 +0000 (13:07 +0100)]
MSG: we can continue using the strbuf, ommit the wrapper function here.

10 years agoXMPP: add proper cleanup; add basic support for body messages
Wilfried Goesgens [Fri, 15 Nov 2013 12:05:52 +0000 (13:05 +0100)]
XMPP: add proper cleanup; add basic support for body messages

10 years agoMSG: free the author
Wilfried Goesgens [Fri, 15 Nov 2013 11:35:37 +0000 (12:35 +0100)]
MSG: free the author

10 years agoMSG: safeguard: terminate the message buffer if we find an unclean message in the DB.
Wilfried Goesgens [Fri, 15 Nov 2013 11:34:55 +0000 (12:34 +0100)]
MSG: safeguard: terminate the message buffer if we find an unclean message in the DB.

10 years agoXMPP: commit xprint statement.
Wilfried Goesgens [Thu, 14 Nov 2013 20:45:42 +0000 (21:45 +0100)]
XMPP: commit xprint statement.

10 years agoXMPP: add X-Macros to automated parse tokens
Wilfried Goesgens [Sun, 10 Nov 2013 08:57:49 +0000 (09:57 +0100)]
XMPP: add X-Macros to automated parse tokens

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 agoLDAP: experimental implementation using ldap_initialize; activade with CFLAGS= -D...
Wilfried Goesgens [Mon, 4 Nov 2013 21:28:15 +0000 (22:28 +0100)]
LDAP: experimental implementation using ldap_initialize; activade with CFLAGS= -D LDAP_INITIALIZE ; most probably the config setting LDAP-ServerIP changes its meaning then.

10 years agoXMPP: don't copy stuff around just to find the start of the token after the namespace.
Wilfried Goesgens [Sun, 3 Nov 2013 16:12:35 +0000 (17:12 +0100)]
XMPP: don't copy stuff around just to find the start of the token after the namespace.

10 years agoXMPP: add function to generate XML-Stanzas
Wilfried Goesgens [Sat, 2 Nov 2013 15:12:48 +0000 (16:12 +0100)]
XMPP: add function to generate XML-Stanzas

10 years agoXMPP: fix buffering & tls
Wilfried Goesgens [Fri, 1 Nov 2013 22:04:20 +0000 (23:04 +0100)]
XMPP: fix buffering & tls

10 years agoXMPP: Cleanup
Wilfried Goesgens [Fri, 1 Nov 2013 19:45:08 +0000 (20:45 +0100)]
XMPP: Cleanup
  - remove temporary utf8-save body append function
  - properly escape properties
  - use session local buffer

10 years agoadd functions to escape utf8 sequnces for xml streams
Wilfried Goesgens [Fri, 1 Nov 2013 11:42:00 +0000 (12:42 +0100)]
add functions to escape utf8 sequnces for xml streams

10 years agocorrectly unfold RFC822 Headers and find the right end of the string.
Wilfried Goesgens [Tue, 29 Oct 2013 20:45:13 +0000 (21:45 +0100)]
correctly unfold RFC822 Headers and find the right end of the string.

10 years agoXMPP: replace rumpelstilskin handler lookup by a hash function table
Wilfried Goesgens [Mon, 28 Oct 2013 19:26:26 +0000 (20:26 +0100)]
XMPP: replace rumpelstilskin handler lookup by a hash function table

10 years agoMeasure the time RBL took and log it.
Wilfried Goesgens [Sun, 27 Oct 2013 16:28:38 +0000 (17:28 +0100)]
Measure the time RBL took and log it.

10 years agosave the instant message log with correct quoted printeable
Wilfried Goesgens [Sun, 27 Oct 2013 14:45:23 +0000 (15:45 +0100)]
save the instant message log with correct quoted printeable

10 years agoadd StrBufRFC2047encodeMessage which does quoted printeable encoding for a message.
Wilfried Goesgens [Sun, 27 Oct 2013 13:22:52 +0000 (14:22 +0100)]
add StrBufRFC2047encodeMessage which does quoted printeable encoding for a message.

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 agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sun, 20 Oct 2013 16:53:48 +0000 (18:53 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

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 agofix calculation of return string length
Wilfried Goesgens [Sat, 19 Oct 2013 20:09:19 +0000 (22:09 +0200)]
fix calculation of return string length

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 agoUse the right strlen to output floor+roomnames via imap
Wilfried Goesgens [Thu, 10 Oct 2013 23:20:56 +0000 (01:20 +0200)]
Use the right strlen to output floor+roomnames via imap

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 agoTests: add StrBufStripAllBut and compare it to stripallbut
Wilfried Goesgens [Tue, 8 Oct 2013 22:02:33 +0000 (00:02 +0200)]
Tests: add StrBufStripAllBut and compare it to stripallbut
  - fix some compiler warnings