citadel
13 years ago* added some socket stuff
Art Cancro [Wed, 17 Jun 2009 18:17:03 +0000 (18:17 +0000)]
* added some socket stuff

13 years ago* chmod 755 bootstrap
Art Cancro [Wed, 17 Jun 2009 17:53:51 +0000 (17:53 +0000)]
* chmod 755 bootstrap

13 years ago* Skeleton build for 'ctdlsh' utility. Warning: this is extremely gnuuey, it's got...
Art Cancro [Wed, 17 Jun 2009 17:53:15 +0000 (17:53 +0000)]
* Skeleton build for 'ctdlsh' utility.  Warning: this is extremely gnuuey, it's got automake and even readline.

13 years ago* use constr structs for our static string arrays
Wilfried Göesgens [Tue, 16 Jun 2009 23:38:12 +0000 (23:38 +0000)]
* use constr structs for our static string arrays
* remove unneded macros and stuff
* fix leaks

13 years ago* add macro to use conststrs to access hashes
Wilfried Göesgens [Tue, 16 Jun 2009 23:37:15 +0000 (23:37 +0000)]
* add macro to use conststrs to access hashes

13 years ago* close table tag
Wilfried Göesgens [Tue, 16 Jun 2009 22:45:10 +0000 (22:45 +0000)]
* close table tag

13 years ago* fix memory leaks in java treelist
Wilfried Göesgens [Tue, 16 Jun 2009 22:14:45 +0000 (22:14 +0000)]
* fix memory leaks in java treelist

13 years ago* convert old preferences with deffective URLs on load.
Wilfried Göesgens [Tue, 16 Jun 2009 21:40:13 +0000 (21:40 +0000)]
* convert old preferences with deffective URLs on load.

13 years ago* hunt down &'s that should be ?'s in URLs
Wilfried Göesgens [Tue, 16 Jun 2009 21:15:41 +0000 (21:15 +0000)]
* hunt down &'s that should be ?'s in URLs

13 years ago* if the Msg read seem invalid, don't add it to our list.
Wilfried Göesgens [Tue, 16 Jun 2009 21:11:50 +0000 (21:11 +0000)]
* if the Msg read seem invalid, don't add it to our list.

13 years ago* Changed default start page to dotskip?room=_BASEROOM_
Art Cancro [Tue, 16 Jun 2009 20:31:44 +0000 (20:31 +0000)]
* Changed default start page to dotskip?room=_BASEROOM_

13 years ago* shorten len if we shorten the buf
Wilfried Göesgens [Tue, 16 Jun 2009 20:08:07 +0000 (20:08 +0000)]
* shorten len if we shorten the buf

13 years ago* clean up iconv decoding
Wilfried Göesgens [Tue, 16 Jun 2009 19:25:42 +0000 (19:25 +0000)]
* clean up iconv decoding

13 years ago* cleanup
Art Cancro [Tue, 16 Jun 2009 16:38:03 +0000 (16:38 +0000)]
* cleanup

13 years ago* Style cleanup
Art Cancro [Tue, 16 Jun 2009 16:24:22 +0000 (16:24 +0000)]
* Style cleanup

13 years ago* dump content after rendering it.
Wilfried Göesgens [Mon, 15 Jun 2009 21:03:40 +0000 (21:03 +0000)]
* dump content after rendering it.

13 years ago* CtdlMakeMessage() accept NULLs for certain fields; use them when submitting calenda...
Art Cancro [Mon, 15 Jun 2009 20:58:54 +0000 (20:58 +0000)]
* CtdlMakeMessage() accept NULLs for certain fields; use them when submitting calendar invitations.

13 years ago* Applied mattev's patch to add CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_ENCODING...
Art Cancro [Mon, 15 Jun 2009 15:16:39 +0000 (15:16 +0000)]
* Applied mattev's patch to add CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_ENCODING flags

13 years ago* apply samjams edit drafts patch. Modification: use force_room instead of creating...
Wilfried Göesgens [Sun, 14 Jun 2009 21:03:05 +0000 (21:03 +0000)]
* apply samjams edit drafts patch. Modification: use force_room instead of creating a new solution

13 years ago* comparison was wrong, thanks sam.
Wilfried Göesgens [Sun, 14 Jun 2009 20:37:03 +0000 (20:37 +0000)]
* comparison was wrong, thanks sam.

13 years ago* add strerror to our errormessage
Wilfried Göesgens [Sun, 14 Jun 2009 20:33:41 +0000 (20:33 +0000)]
* add strerror to our errormessage

13 years ago* fix typo
Wilfried Göesgens [Sun, 14 Jun 2009 20:31:21 +0000 (20:31 +0000)]
* fix typo

13 years ago* fix SSL Reading
Wilfried Göesgens [Sun, 14 Jun 2009 19:55:58 +0000 (19:55 +0000)]
* fix SSL Reading

13 years ago* fix typo swapping bcc / cc; Thanks to Sam for pointing this out.
Wilfried Göesgens [Sun, 14 Jun 2009 17:53:58 +0000 (17:53 +0000)]
* fix typo swapping bcc / cc; Thanks to Sam for pointing this out.

13 years ago* create new roomview type: Drafts; this won't need subjects.
Wilfried Göesgens [Sun, 14 Jun 2009 17:50:31 +0000 (17:50 +0000)]
* create new roomview type: Drafts; this won't need subjects.

13 years ago* fix typo in tools
Wilfried Göesgens [Sun, 14 Jun 2009 17:45:35 +0000 (17:45 +0000)]
* fix typo in tools
* add new roomtype for drafts

13 years ago* add Hungarian translation by Czakó Krisztián
Wilfried Göesgens [Sun, 14 Jun 2009 16:03:47 +0000 (16:03 +0000)]
* add Hungarian translation by Czakó Krisztián

13 years ago* add our default values for the iconbar, so it selects the right values in all cases.
Wilfried Göesgens [Fri, 12 Jun 2009 23:08:50 +0000 (23:08 +0000)]
* add our default values for the iconbar, so it selects the right values in all cases.

13 years ago* select one choice of safe mode even if unset.
Wilfried Göesgens [Fri, 12 Jun 2009 23:07:57 +0000 (23:07 +0000)]
* select one choice of safe mode even if unset.

13 years ago* specify image sizes for faster rendering
Wilfried Göesgens [Fri, 12 Jun 2009 15:14:50 +0000 (15:14 +0000)]
* specify image sizes for faster rendering

13 years ago* shrinktofit template data
Wilfried Göesgens [Fri, 12 Jun 2009 13:52:58 +0000 (13:52 +0000)]
* shrinktofit template data

13 years ago* don't abort search on empty string with success, continue.
Wilfried Göesgens [Fri, 12 Jun 2009 09:04:56 +0000 (09:04 +0000)]
* don't abort search on empty string with success, continue.

13 years ago* apply Sam Liddicotts save to drafts patch. Some changes: use strbuf where possible...
Wilfried Göesgens [Fri, 12 Jun 2009 09:03:14 +0000 (09:03 +0000)]
* apply Sam Liddicotts save to drafts patch. Some changes: use strbuf where possible, don't use WC

13 years ago* add _DRAFTS_ to the userdata creator, and translate it apropriate into imap (mail...
Wilfried Göesgens [Fri, 12 Jun 2009 08:30:20 +0000 (08:30 +0000)]
* add _DRAFTS_ to the userdata creator, and translate it apropriate into imap (mail.drafts, finaly found by using altavista ;-) Metadata

13 years ago* apply 4a5a341e5166a9a5ed586e6d064076507d96c958 by Sam Liddicott; In search filters...
Wilfried Göesgens [Fri, 12 Jun 2009 07:11:38 +0000 (07:11 +0000)]
* apply 4a5a341e5166a9a5ed586e6d064076507d96c958 by Sam Liddicott; In search filters, let empty headers match missing message headers; use our IsEmptyStr Macro instead of written check

13 years ago* allow mimepart identifiers to be alphanumeric, as claimed by Sam
Wilfried Göesgens [Fri, 12 Jun 2009 06:46:35 +0000 (06:46 +0000)]
* allow mimepart identifiers to be alphanumeric, as claimed by Sam

13 years ago* don't touch the buffer if its empty.
Wilfried Göesgens [Fri, 12 Jun 2009 06:27:31 +0000 (06:27 +0000)]
* don't touch the buffer if its empty.

13 years ago* Remove hardcoded parameters from 'Read all messages' button, because this overrides...
Art Cancro [Fri, 12 Jun 2009 01:55:01 +0000 (01:55 +0000)]
* Remove hardcoded parameters from 'Read all messages' button, because this overrides the display preferences set for the room

13 years ago* Added an extra logging message to try to figure out the problem of users being...
Art Cancro [Thu, 11 Jun 2009 21:36:01 +0000 (21:36 +0000)]
* Added an extra logging message to try to figure out the problem of users being directed to a bogus room upon login

13 years ago* SessionNewModule_GETTEXT() was expecting a StrBuf but getting a OneHTTPHeader,...
Art Cancro [Thu, 11 Jun 2009 21:31:16 +0000 (21:31 +0000)]
* SessionNewModule_GETTEXT() was expecting a StrBuf but getting a OneHTTPHeader, causing the browser's preferred language to be detected as '(null)'.  Fixed.

13 years ago* iconbar saved template.
Wilfried Göesgens [Thu, 11 Jun 2009 18:03:07 +0000 (18:03 +0000)]
* iconbar saved template.

13 years ago* templatize iconbar editing
Wilfried Göesgens [Thu, 11 Jun 2009 17:54:01 +0000 (17:54 +0000)]
* templatize iconbar editing

13 years ago* use GetTemplateTokenNumber to retrieve token parameter values; this was one of...
Wilfried Göesgens [Thu, 11 Jun 2009 14:51:29 +0000 (14:51 +0000)]
* use GetTemplateTokenNumber to retrieve token parameter values; this was one of the nails to our coffin.

13 years ago* be more paranoid and do memset 0 all our structs
Wilfried Göesgens [Thu, 11 Jun 2009 14:49:54 +0000 (14:49 +0000)]
* be more paranoid and do memset 0 all our structs

13 years ago* catch empty string conditions in tokens.
Wilfried Göesgens [Thu, 11 Jun 2009 08:20:08 +0000 (08:20 +0000)]
* catch empty string conditions in tokens.

13 years ago* Annotated the comments regarding ib_ settings, note that these values may not change
Art Cancro [Wed, 10 Jun 2009 21:48:36 +0000 (21:48 +0000)]
* Annotated the comments regarding ib_ settings, note that these values may not change

13 years ago* be a bit more thorough with nulls
Wilfried Göesgens [Tue, 9 Jun 2009 22:37:03 +0000 (22:37 +0000)]
* be a bit more thorough with nulls

13 years ago* remove unneded enum
Wilfried Göesgens [Tue, 9 Jun 2009 20:54:27 +0000 (20:54 +0000)]
* remove unneded enum

13 years ago* fix some warnings just visible with -o2
Wilfried Göesgens [Tue, 9 Jun 2009 20:35:39 +0000 (20:35 +0000)]
* fix some warnings just visible with -o2

13 years ago* apply c2aad11cc2c74aa5be540b6ac9033f3af38ea143 by by Sam Liddicott: use stat()...
Wilfried Göesgens [Tue, 9 Jun 2009 19:55:54 +0000 (19:55 +0000)]
* apply c2aad11cc2c74aa5be540b6ac9033f3af38ea143 by by Sam Liddicott: use stat() to verify the filetype in case of DT_UNKNOWN

13 years ago* apply a5e7d0695df23e74fd9b0a0127611abd8febc58a by Sam Liddicott: Increase MAX_RULES...
Wilfried Göesgens [Tue, 9 Jun 2009 19:39:30 +0000 (19:39 +0000)]
* apply a5e7d0695df23e74fd9b0a0127611abd8febc58a by Sam Liddicott: Increase MAX_RULES to 50 so users can have more sieve rules

13 years ago* apply 97716a4b879269749587e22428d360bfae285f52 by Sam Liddicott: DASH DASH SP is...
Wilfried Göesgens [Tue, 9 Jun 2009 19:27:03 +0000 (19:27 +0000)]
* apply 97716a4b879269749587e22428d360bfae285f52 by Sam Liddicott: DASH DASH SP is the conventional signature separator, so adding  

13 years ago* Fix '/*' found in comment
Art Cancro [Tue, 9 Jun 2009 16:04:51 +0000 (16:04 +0000)]
* Fix '/*' found in comment

13 years ago* use onload handler for iconbar stuff. This fixes forgettyness about the iconbar...
Wilfried Göesgens [Sun, 7 Jun 2009 20:55:30 +0000 (20:55 +0000)]
* use onload handler for iconbar stuff.  This fixes forgettyness about the iconbar config state.

13 years ago* fix another buggy buffer increase
Wilfried Göesgens [Sun, 7 Jun 2009 19:53:02 +0000 (19:53 +0000)]
* fix another buggy buffer increase

13 years ago* if we split these function calls, webcit will work in valgrind with gdb attaching.
Wilfried Göesgens [Sun, 7 Jun 2009 14:17:22 +0000 (14:17 +0000)]
* if we split these function calls, webcit will work in valgrind with gdb attaching.

13 years ago* move utf8 handling stuff into strbuf, so we can be more exact about our buffer...
Wilfried Göesgens [Sun, 7 Jun 2009 14:06:50 +0000 (14:06 +0000)]
* move utf8 handling stuff into strbuf, so we can be more exact about our buffer lengths...
* some more shuffling

13 years ago* make shure our cached buffers aren't to big.
Wilfried Göesgens [Thu, 4 Jun 2009 21:21:27 +0000 (21:21 +0000)]
* make shure our cached buffers aren't to big.

13 years ago* shrink default buffer size from 4K to 64 bytes. Applications that know they need...
Wilfried Göesgens [Thu, 4 Jun 2009 20:42:31 +0000 (20:42 +0000)]
* shrink default buffer size from 4K to 64 bytes. Applications that know they need a bigger size should use NewStrBufPlain(NULL, <wanted size>) so we don't get to much reallocs.

13 years ago* set an application specific prefered Buffer size in places where debugging shows...
Wilfried Göesgens [Thu, 4 Jun 2009 20:39:24 +0000 (20:39 +0000)]
* set an application specific prefered Buffer size in places where debugging shows bigger buffers are needed anyways.

13 years ago* cmd_move() now fails with a server error message when attempting to move or copy...
Art Cancro [Thu, 4 Jun 2009 19:07:08 +0000 (19:07 +0000)]
* cmd_move() now fails with a server error message when attempting to move or copy messages from a room to the same room.  Resolves bug 461.

13 years ago* IMAP CREATE command with no folder name specified now returns an error message...
Art Cancro [Thu, 4 Jun 2009 19:01:24 +0000 (19:01 +0000)]
* IMAP CREATE command with no folder name specified now returns an error message instead of crashing the server

13 years ago* Eliminated the CtdlCopyMsgsToRoom() function, since it has been reduced to nothing...
Art Cancro [Thu, 4 Jun 2009 18:54:28 +0000 (18:54 +0000)]
* Eliminated the CtdlCopyMsgsToRoom() function, since it has been reduced to nothing more than a single call to CtdlSaveMsgPointersInRoom().  All uses of this function have been changed to CtdlSaveMsgPointersInRoom() instead.

13 years ago* Documented the undocumented server commands in msgbase.c
Art Cancro [Thu, 4 Jun 2009 18:33:47 +0000 (18:33 +0000)]
* Documented the undocumented server commands in msgbase.c

13 years ago* Change /json_roomflr to json_roomflr to hopefully allow it to work in proxy mode.
Art Cancro [Tue, 2 Jun 2009 19:38:32 +0000 (19:38 +0000)]
* Change /json_roomflr to json_roomflr to hopefully allow it to work in proxy mode.

13 years ago* typo.
Wilfried Göesgens [Mon, 1 Jun 2009 19:44:59 +0000 (19:44 +0000)]
* typo.

13 years ago* use GetServerStatus for the new handlers
Wilfried Göesgens [Mon, 1 Jun 2009 19:27:02 +0000 (19:27 +0000)]
* use GetServerStatus for the new handlers

13 years ago* Fixed bug #467, possibly at the cost of poorer performance.
Art Cancro [Mon, 1 Jun 2009 16:44:38 +0000 (16:44 +0000)]
* Fixed bug #467, possibly at the cost of poorer performance.

13 years ago* make the cookie failure page non-cacheable.
Wilfried Göesgens [Mon, 1 Jun 2009 13:44:52 +0000 (13:44 +0000)]
* make the cookie failure page non-cacheable.

13 years ago* fix non cookie request blocking
Wilfried Göesgens [Mon, 1 Jun 2009 13:29:00 +0000 (13:29 +0000)]
* fix non cookie request blocking

13 years ago* remove duplicate callback code
Wilfried Göesgens [Sun, 31 May 2009 22:48:05 +0000 (22:48 +0000)]
* remove duplicate callback code
* shrink http read buffers on detach

13 years ago* add function to shrink empty StrBufs so they don't permanently alloc unneeded sizes.
Wilfried Göesgens [Sun, 31 May 2009 22:46:15 +0000 (22:46 +0000)]
* add function to shrink empty StrBufs so they don't permanently alloc unneeded sizes.

13 years ago* finish migrating the hdr struct
Wilfried Göesgens [Sun, 31 May 2009 21:59:52 +0000 (21:59 +0000)]
* finish migrating the hdr struct

13 years ago* iron out some more hickups in the linebuffered reading
Wilfried Göesgens [Sun, 31 May 2009 20:53:09 +0000 (20:53 +0000)]
* iron out some more hickups in the linebuffered reading

13 years ago* start moving the hdr struct up, and add detach callback. Unfinished.
Wilfried Göesgens [Sun, 31 May 2009 19:46:52 +0000 (19:46 +0000)]
* start moving the hdr struct up, and add detach callback. Unfinished.

13 years ago* New session variable 'can_receive_im' which indicates that the session is running...
Art Cancro [Sun, 31 May 2009 19:33:47 +0000 (19:33 +0000)]
* New session variable 'can_receive_im' which indicates that the session is running a protocol that is capable of receiving instant messages.  This is not the same thing as quiet/nonquiet mode, it determines protocol, not policy.  The server will now prohibit sending instant messages to sessions which cannot receive them (SMTP, POP, IMAP, etc.).  Jabber sessions now only show buddies that are capable of receiving instant messages.

13 years ago* Removed a readme file which stated that the Jabber module is unfinished.
Art Cancro [Sun, 31 May 2009 18:56:00 +0000 (18:56 +0000)]
* Removed a readme file which stated that the Jabber module is unfinished.

13 years ago* Add -lcitadel to chkpwd_LIBS
Art Cancro [Sun, 31 May 2009 16:24:33 +0000 (16:24 +0000)]
* Add -lcitadel to chkpwd_LIBS

13 years ago* fix logging / debug mode logchatty exceptions
Wilfried Göesgens [Sun, 31 May 2009 14:07:44 +0000 (14:07 +0000)]
* fix logging / debug mode logchatty exceptions

13 years ago* move session creation and session lookup into own functions
Wilfried Göesgens [Sun, 31 May 2009 13:18:31 +0000 (13:18 +0000)]
* move session creation and session lookup into own functions

13 years ago* another bug in increasing buffers.
Wilfried Göesgens [Fri, 29 May 2009 18:11:40 +0000 (18:11 +0000)]
* another bug in increasing buffers.

13 years ago* fix IncreaseBuf
Wilfried Göesgens [Thu, 28 May 2009 23:14:20 +0000 (23:14 +0000)]
* fix IncreaseBuf
* fix Buffered BLOB reader

13 years ago* add webcit database message ID to the notification template.
Wilfried Göesgens [Tue, 26 May 2009 22:15:30 +0000 (22:15 +0000)]
* add webcit database message ID to the notification template.

13 years ago* just depend on berkeley db without version.
Wilfried Göesgens [Tue, 26 May 2009 22:14:23 +0000 (22:14 +0000)]
* just depend on berkeley db without version.

13 years ago* fix static output for subdirectories & tinymce
Wilfried Göesgens [Tue, 26 May 2009 22:05:23 +0000 (22:05 +0000)]
* fix static output for subdirectories & tinymce
* strip directories...

13 years ago* add slash-stripper
Wilfried Göesgens [Tue, 26 May 2009 20:18:33 +0000 (20:18 +0000)]
* add slash-stripper
* fix another possible hickup situation in the linebuffered reader.

13 years ago* remove stripslashes, its going into libcitadel.
Wilfried Göesgens [Tue, 26 May 2009 19:57:59 +0000 (19:57 +0000)]
* remove stripslashes, its going into libcitadel.

13 years ago* redo linebuffered reading
Wilfried Göesgens [Tue, 26 May 2009 19:40:12 +0000 (19:40 +0000)]
* redo linebuffered reading

13 years ago* -pg just if profiling is enabled.
Wilfried Göesgens [Tue, 26 May 2009 18:19:04 +0000 (18:19 +0000)]
* -pg just if profiling is enabled.

13 years ago* output files link if present not if not available.
Wilfried Göesgens [Mon, 25 May 2009 17:51:49 +0000 (17:51 +0000)]
* output files link if present not if not available.

13 years ago* bug in template: won't show upload dialog
Wilfried Göesgens [Mon, 25 May 2009 06:14:14 +0000 (06:14 +0000)]
* bug in template: won't show upload dialog

13 years ago* check for WC in conditionals...
Wilfried Göesgens [Sun, 24 May 2009 22:02:46 +0000 (22:02 +0000)]
* check for WC in conditionals...
* create session header hashlist earlier so it frees the first http line on exit

13 years ago* move stuff from Hdr into substruct that may be easily wiped by memset 0'ing them
Wilfried Göesgens [Sun, 24 May 2009 19:55:08 +0000 (19:55 +0000)]
* move stuff from Hdr into substruct that may be easily wiped by memset 0'ing them
* Hdr now belongs to the worker_entry() so we can lower the frequency of it and its members being de/alloced
* add commandline switch to set the default size of StrBuf s

13 years ago* make default strbuf size configurable
Wilfried Göesgens [Sun, 24 May 2009 19:48:44 +0000 (19:48 +0000)]
* make default strbuf size configurable
* fix moving of pointer in case of increase buf; valgrind says its not yet perfect.
* add debug code to find out optimal default buffer size and to detect where demand for bigger buffers comes from.

13 years ago* more leaks...
Wilfried Göesgens [Fri, 22 May 2009 10:02:36 +0000 (10:02 +0000)]
* more leaks...

13 years ago* don't use memcpy on overlapping operations
Wilfried Göesgens [Fri, 22 May 2009 09:49:27 +0000 (09:49 +0000)]
* don't use memcpy on overlapping operations

13 years ago* fix various leaks
Wilfried Göesgens [Fri, 22 May 2009 09:44:22 +0000 (09:44 +0000)]
* fix various leaks

13 years ago* don't alloc urlbuf if we don't need it
Wilfried Göesgens [Fri, 22 May 2009 09:20:53 +0000 (09:20 +0000)]
* don't alloc urlbuf if we don't need it

13 years ago* revert sort order & start on the 'Read all messages' button due to public demand
Wilfried Göesgens [Fri, 22 May 2009 09:13:06 +0000 (09:13 +0000)]
* revert sort order & start on the 'Read all messages' button due to public demand

13 years ago* free header vars from auth
Wilfried Göesgens [Fri, 22 May 2009 09:05:03 +0000 (09:05 +0000)]
* free header vars from auth