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

10 years agoImplement range requests with attachments; we may need to inspect the first chunk...
Wilfried Goesgens [Mon, 7 Oct 2013 21:16:12 +0000 (23:16 +0200)]
Implement range requests with attachments; we may need to inspect the first chunk of the file anyways if we need to detect the mimetype.

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 dnamlen, they missed the e, so we need to follow.
Wilfried Goesgens [Mon, 7 Oct 2013 19:03:40 +0000 (21:03 +0200)]
fix dnamlen, they missed the e, so we need to follow.

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 agoImplement range request for content download
Wilfried Goesgens [Sun, 6 Oct 2013 11:27:47 +0000 (13:27 +0200)]
Implement range request for content download

10 years agoadd a blacklist of mimetypes which we won't gzip compress on the way out.
Wilfried Goesgens [Sat, 5 Oct 2013 19:10:02 +0000 (21:10 +0200)]
add a blacklist of mimetypes which we won't gzip compress on the way out.

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 agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sat, 5 Oct 2013 03:40:30 +0000 (05:40 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

10 years agoremember the lengths of config strings.
Wilfried Goesgens [Sat, 5 Oct 2013 03:38:38 +0000 (05:38 +0200)]
remember the lengths of config strings.

10 years agoAmend the URL View command in the text client to find not only http: but also https...
Art Cancro [Sat, 5 Oct 2013 02:03:32 +0000 (22:03 -0400)]
Amend the URL View command in the text client to find not only http: but also https: and ftp: as well

10 years agoPut our known stringlength into the mime parser so it doesn't need to strlen again.
Wilfried Goesgens [Tue, 1 Oct 2013 07:57:33 +0000 (09:57 +0200)]
Put our known stringlength into the mime parser so it doesn't need to strlen again.

10 years agomore places where we can use cm_lengths;
Wilfried Goesgens [Mon, 30 Sep 2013 22:16:05 +0000 (00:16 +0200)]
more places where we can use cm_lengths;
quickie_message also needs to set this.

10 years agopreserve stringlengths when outputting stuff in the imap module
Wilfried Goesgens [Mon, 30 Sep 2013 21:20:25 +0000 (23:20 +0200)]
preserve stringlengths when outputting stuff in the imap module

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 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 agoremove unneeded assignment
Wilfried Goesgens [Sun, 29 Sep 2013 18:11:20 +0000 (20:11 +0200)]
remove unneeded assignment

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 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 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 agosecure possible NULL-Pointer access in strlen
Wilfried Goesgens [Sat, 28 Sep 2013 16:51:59 +0000 (18:51 +0200)]
secure possible NULL-Pointer access in strlen

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 agoConvert CtdlMessages to respect cm_lengths[]
Wilfried Goesgens [Tue, 24 Sep 2013 22:37:08 +0000 (00:37 +0200)]
Convert CtdlMessages to respect cm_lengths[]

  - move application specific code during message saving behind abstract handlers
    - IGNET spoorling
    - SMTP Spooling
    - ExtNotify Spooling
  - add new Message Hook: EVT_AFTERUSRMBOXSAVE
  - Put the volatile message ID to the message struct earlier

10 years agoadd strbuff wrapper for base64 encoding
Wilfried Goesgens [Tue, 24 Sep 2013 22:33:29 +0000 (00:33 +0200)]
add strbuff wrapper for base64 encoding

10 years agoanother place where the include was missing
Wilfried Goesgens [Sun, 22 Sep 2013 19:32:41 +0000 (21:32 +0200)]
another place where the include was missing

10 years agoheader rework: we need ecrash.h here.
Wilfried Goesgens [Sun, 22 Sep 2013 18:55:25 +0000 (20:55 +0200)]
header rework: we need ecrash.h here.

10 years agofix possible endless loop
Wilfried Goesgens [Sun, 22 Sep 2013 14:31:02 +0000 (16:31 +0200)]
fix possible endless loop

10 years agocleanup includes
Wilfried Goesgens [Sun, 15 Sep 2013 17:03:00 +0000 (19:03 +0200)]
cleanup includes

10 years agocleanup: remove unneeded includes.
Wilfried Goesgens [Sun, 15 Sep 2013 13:49:55 +0000 (15:49 +0200)]
cleanup: remove unneeded includes.

10 years agouser access level helper moved to the other accesslevel helpers: user_ops.c
Wilfried Goesgens [Sat, 14 Sep 2013 21:00:46 +0000 (23:00 +0200)]
user access level helper moved to the other accesslevel helpers: user_ops.c

10 years agode-apify GenerateRoomDisplay(), its only needed in serv_rwho.
Wilfried Goesgens [Sat, 14 Sep 2013 20:44:56 +0000 (22:44 +0200)]
de-apify GenerateRoomDisplay(), its only needed in serv_rwho.

10 years agomove cmd_isme to serv_user.c
Wilfried Goesgens [Sat, 14 Sep 2013 20:30:41 +0000 (22:30 +0200)]
move cmd_isme to serv_user.c

10 years agomove cull to serv_syscmds
Wilfried Goesgens [Sat, 14 Sep 2013 20:23:59 +0000 (22:23 +0200)]
move cull to serv_syscmds

10 years agomove log switcher funcs to serv_syscmds.c
Wilfried Goesgens [Sat, 14 Sep 2013 20:18:25 +0000 (22:18 +0200)]
move log switcher funcs to serv_syscmds.c

10 years agostart moving system commands into its own file
Wilfried Goesgens [Sat, 14 Sep 2013 19:44:55 +0000 (21:44 +0200)]
start moving system commands into its own file

10 years agomove Mesg commands to serv_files; they basicaly also handle files - just text files.
Wilfried Goesgens [Sat, 14 Sep 2013 19:35:51 +0000 (21:35 +0200)]
move Mesg commands to serv_files; they basicaly also handle files - just text files.

10 years agomove file_ops to modules/ctdlsrv/serv_file.c
Wilfried Goesgens [Sat, 14 Sep 2013 17:36:23 +0000 (19:36 +0200)]
move file_ops to modules/ctdlsrv/serv_file.c

  - resolve dependency in session termination via EVT_LOGOUT-hook-function.

10 years agoApiize CtdlIsPublicClient()
Wilfried Goesgens [Sat, 14 Sep 2013 17:33:19 +0000 (19:33 +0200)]
Apiize CtdlIsPublicClient()

10 years agooops, forgot to add the user commands
Wilfried Goesgens [Sat, 14 Sep 2013 09:36:21 +0000 (11:36 +0200)]
oops, forgot to add the user commands

10 years agomove session related functions to ctdlproto/serv_session.c
Wilfried Goesgens [Sat, 14 Sep 2013 09:35:29 +0000 (11:35 +0200)]
move session related functions to ctdlproto/serv_session.c

10 years agomove citadel protocol user functions to modules/ctdlproto/serv_user.c
Wilfried Goesgens [Sat, 14 Sep 2013 09:12:26 +0000 (11:12 +0200)]
move citadel protocol user functions to modules/ctdlproto/serv_user.c

10 years agomove citadel room functions into its own file.
Wilfried Goesgens [Sat, 14 Sep 2013 09:05:32 +0000 (11:05 +0200)]
move citadel room functions into its own file.

10 years agomove the citadel protocol message handlers ino modules/citadel
Wilfried Goesgens [Sat, 14 Sep 2013 08:54:06 +0000 (10:54 +0200)]
move the citadel protocol message handlers ino modules/citadel

10 years agoMesages: fix copying of fields; add flush function to cleanup a messages structs...
Wilfried Goesgens [Sat, 14 Sep 2013 08:53:06 +0000 (10:53 +0200)]
Mesages: fix copying of fields; add flush function to cleanup a messages structs members.

10 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 12 Sep 2013 20:59:03 +0000 (22:59 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

Conflicts:
citadel/modules/network/serv_network.c
citadel/modules/smtp/serv_smtp.c
citadel/modules/smtp/smtp_util.c

10 years agoextnotify: free up resources on exit.
Wilfried Goesgens [Thu, 12 Sep 2013 20:47:45 +0000 (22:47 +0200)]
extnotify: free up resources on exit.

10 years agofix the offset of items in calendar day view broken in d8b779a9ff974444efe99a5d41b8d2...
Wilfried Goesgens [Mon, 9 Sep 2013 21:01:41 +0000 (23:01 +0200)]
fix the offset of items in calendar day view broken in d8b779a9ff974444efe99a5d41b8d2663e8a5919

10 years agosplit citadel protocol related functions from msgbase.c into ctdl_message.c; fix...
Wilfried Goesgens [Sun, 1 Sep 2013 20:09:55 +0000 (22:09 +0200)]
split citadel protocol related functions from msgbase.c into ctdl_message.c; fix missing header forward declarations.

10 years agoadd initialization in internet_addressing
Wilfried Goesgens [Sun, 1 Sep 2013 18:40:00 +0000 (20:40 +0200)]
add initialization in internet_addressing

10 years agomove config message loading from msgbase.c -> config.c
Wilfried Goesgens [Sun, 1 Sep 2013 18:13:44 +0000 (20:13 +0200)]
move config message loading from msgbase.c -> config.c

10 years agomove email address related functions oven to internet_addressing
Wilfried Goesgens [Sun, 1 Sep 2013 16:57:02 +0000 (18:57 +0200)]
move email address related functions oven to internet_addressing

10 years agooops, this also checks room access rights.
Wilfried Goesgens [Sun, 1 Sep 2013 16:27:04 +0000 (18:27 +0200)]
oops, this also checks room access rights.

10 years agoMove user privileges functions to user_ops.c, room access check functions to room_ops.c
Wilfried Goesgens [Sun, 1 Sep 2013 16:12:25 +0000 (18:12 +0200)]
Move user privileges functions to user_ops.c, room access check functions to room_ops.c

10 years agoMove simple subtstitution functions to the message functions
Wilfried Goesgens [Sun, 1 Sep 2013 13:11:29 +0000 (15:11 +0200)]
Move simple subtstitution functions to the message functions

10 years agorefactor naming of core message manipulation funcions
Wilfried Goesgens [Sun, 1 Sep 2013 12:58:06 +0000 (14:58 +0200)]
refactor naming of core message manipulation funcions

10 years agoMove Message struct manipulation functions into one place
Wilfried Goesgens [Sun, 1 Sep 2013 12:46:56 +0000 (14:46 +0200)]
Move Message struct manipulation functions into one place

10 years agoReplace all discrete checks for empty message fields by CM_IsEmpty()
Wilfried Goesgens [Sun, 1 Sep 2013 12:33:21 +0000 (14:33 +0200)]
Replace all discrete checks for empty message fields by CM_IsEmpty()

10 years agoRoute all access to cm_fields[] through api functions
Wilfried Goesgens [Sun, 1 Sep 2013 10:30:27 +0000 (12:30 +0200)]
Route all access to cm_fields[] through api functions

10 years agoFix generation of bounce messages; we would put the bounce body into the author field.
Wilfried Goesgens [Sun, 1 Sep 2013 09:39:20 +0000 (11:39 +0200)]
Fix generation of bounce messages; we would put the bounce body into the author field.

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 agomake it const, baby!
Wilfried Goesgens [Sat, 31 Aug 2013 13:18:30 +0000 (15:18 +0200)]
make it const, baby!

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 agouse an Enum for the cm_fields vector instead of nameless chars
Wilfried Goesgens [Sun, 18 Aug 2013 08:29:11 +0000 (10:29 +0200)]
use an Enum for the cm_fields vector instead of nameless chars