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

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

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

14 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.

14 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

14 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.

14 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

14 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

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

14 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

14 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

14 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

14 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  

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

14 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.

14 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

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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

14 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.

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

14 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

14 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.

14 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.

14 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

14 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

14 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.

14 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

14 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

14 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.

14 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.

14 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.

14 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

14 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

14 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

14 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.

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

14 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.

14 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.

14 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...

14 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.

14 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.

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

14 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.

14 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.

14 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

14 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

14 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

14 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.

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

14 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

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

14 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

14 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

14 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

14 years ago* don't send cookies with static data; we don't know what to put in them here.
Wilfried Göesgens [Thu, 21 May 2009 22:46:28 +0000 (22:46 +0000)]
* don't send cookies with static data; we don't know what to put in them here.

14 years ago* streamline gettext plugin
Wilfried Göesgens [Thu, 21 May 2009 20:11:29 +0000 (20:11 +0000)]
* streamline gettext plugin
* handle bogus requests directly via the 404 handler; move it to context_loop
* handle static content without session locking

14 years ago* Applied matt's patch for making +/- work properly
Art Cancro [Thu, 21 May 2009 19:51:59 +0000 (19:51 +0000)]
* Applied matt's patch for making +/- work properly

14 years ago* Store the language setting in the session cookie instead of as a preference. Resol...
Art Cancro [Thu, 21 May 2009 16:25:50 +0000 (16:25 +0000)]
* Store the language setting in the session cookie instead of as a preference.  Resolves bug 359.

14 years ago* Print the first line of each HTTP request to the log, for debugging
Art Cancro [Thu, 21 May 2009 15:01:03 +0000 (15:01 +0000)]
* Print the first line of each HTTP request to the log, for debugging

14 years ago* accept text/todo here too.
Wilfried Göesgens [Wed, 20 May 2009 22:06:01 +0000 (22:06 +0000)]
* accept text/todo here too.

14 years ago* move end-of-session-save prefs to session detach handler.
Wilfried Göesgens [Wed, 20 May 2009 21:52:22 +0000 (21:52 +0000)]
* move end-of-session-save prefs to session detach handler.

14 years ago* remove unneded variable
Wilfried Göesgens [Wed, 20 May 2009 21:51:18 +0000 (21:51 +0000)]
* remove unneded variable

14 years ago* The code that handled session establishment via http-auth was also handling re...
Art Cancro [Wed, 20 May 2009 17:07:21 +0000 (17:07 +0000)]
* The code that handled session establishment via http-auth was also handling re-login via cookie data, since they both set c_username and c_password ... the extra function for cookie login wasn't being called at all so I removed it.
* When re-establishing a session, use gotoroom() instead of explicitly doing a GOTO server command.  This causes the wc_view and other session data to be loaded properly.

14 years ago* Reverting an unintentional commit to static/webcit.css
Art Cancro [Wed, 20 May 2009 15:35:58 +0000 (15:35 +0000)]
* Reverting an unintentional commit to static/webcit.css

14 years ago* Handle bad cookies without crashing
Art Cancro [Wed, 20 May 2009 15:33:02 +0000 (15:33 +0000)]
* Handle bad cookies without crashing

14 years ago* netconf screens - max length of a shared secret is now 18 characters, identical...
Art Cancro [Wed, 20 May 2009 14:14:07 +0000 (14:14 +0000)]
* netconf screens - max length of a shared secret is now 18 characters, identical to the text client.  resolves bug 428.

14 years ago* Applied updated fr.po submitted by translator
Art Cancro [Wed, 20 May 2009 13:42:48 +0000 (13:42 +0000)]
* Applied updated fr.po submitted by translator

14 years ago* fix basic auth
Wilfried Göesgens [Tue, 19 May 2009 19:50:51 +0000 (19:50 +0000)]
* fix basic auth

14 years ago* fix URL parsing for /message/
Wilfried Göesgens [Tue, 19 May 2009 19:47:06 +0000 (19:47 +0000)]
* fix URL parsing for /message/

14 years ago* fix auth basic scheme
Wilfried Göesgens [Mon, 18 May 2009 22:15:16 +0000 (22:15 +0000)]
* fix auth basic scheme

14 years ago* add function to decode hex strings
Wilfried Göesgens [Mon, 18 May 2009 22:14:43 +0000 (22:14 +0000)]
* add function to decode hex strings

14 years ago* fix session connecting
Wilfried Göesgens [Mon, 18 May 2009 19:05:37 +0000 (19:05 +0000)]
* fix session connecting
* remove double-paste

14 years ago* CSS fix to render login/logout screens properly in IE8
Art Cancro [Mon, 18 May 2009 14:56:13 +0000 (14:56 +0000)]
* CSS fix to render login/logout screens properly in IE8

14 years ago* shuffle auth arround...
Wilfried Göesgens [Sun, 17 May 2009 21:35:10 +0000 (21:35 +0000)]
* shuffle auth arround...
* implement robots.txt and favicon.ico
* some more tiny fixups

14 years ago* more fixes, offset in URLS is different now, since we strip the command.
Wilfried Göesgens [Sun, 17 May 2009 15:12:55 +0000 (15:12 +0000)]
* more fixes, offset in URLS is different now, since we strip the command.

14 years ago* fixups, leaks...
Wilfried Göesgens [Sun, 17 May 2009 13:49:51 +0000 (13:49 +0000)]
* fixups, leaks...

14 years ago* re-create static support; we now safe us from ..'ers by just looking up the filenam...
Wilfried Göesgens [Sun, 17 May 2009 11:47:09 +0000 (11:47 +0000)]
* re-create static support; we now safe us from ..'ers by just looking up the filename in some pre-stored hash.

14 years ago* BIG rewrite of header handling and slimming of context_loop and session_loop; shuff...
Wilfried Göesgens [Sun, 17 May 2009 08:34:33 +0000 (08:34 +0000)]
* BIG rewrite of header handling and slimming of context_loop and session_loop; shuffle everything arround.

14 years ago* Titles and descriptions for site configuration tabs are now divs with class 'confti...
Art Cancro [Sat, 16 May 2009 04:06:04 +0000 (04:06 +0000)]
* Titles and descriptions for site configuration tabs are now divs with class 'conftitle' and 'confdescr' instead of H1 and H2 blocks.  Added CSS declarations for these styles.  Now they don't look obtusely large anymore.

14 years ago* CSS changes to make the rounded boxes look like rounded boxes, even on IE8, which...
Art Cancro [Fri, 15 May 2009 21:29:56 +0000 (21:29 +0000)]
* CSS changes to make the rounded boxes look like rounded boxes, even on IE8, which broke them (again).  Fuck Microsoft.  Where's a multi-megaton nuke when I need one?

14 years ago* add defines for our errorcodes
Wilfried Göesgens [Thu, 14 May 2009 20:00:17 +0000 (20:00 +0000)]
* add defines for our errorcodes
* create citadel<->http return code mapper
* add more DAV ed stuff

14 years ago* mainmenu.c: removed C code that had been commented out and replaced with a template...
Art Cancro [Thu, 14 May 2009 19:34:30 +0000 (19:34 +0000)]
* mainmenu.c: removed C code that had been commented out and replaced with a template.  Are there any more of these?

14 years ago* Removed 'close window' link from logout screen because some browsers don't allow...
Art Cancro [Thu, 14 May 2009 13:18:26 +0000 (13:18 +0000)]
* Removed 'close window' link from logout screen because some browsers don't allow it to work.

14 years ago* output the mime type of the tepmlate in read_message so we can have different ones
Wilfried Göesgens [Wed, 13 May 2009 21:51:12 +0000 (21:51 +0000)]
* output the mime type of the tepmlate in read_message so we can have different ones
* switch msg to set the mimetype of the template
* add eDELETE HTTP Command to msg so we can do exactly that in this situation. previously executed stuff needs to let this through to there.

15 years ago* Fixed a bug that caused vnotes not to display when encapsulated in multipart/altern...
Art Cancro [Tue, 12 May 2009 21:31:44 +0000 (21:31 +0000)]
* Fixed a bug that caused vnotes not to display when encapsulated in multipart/alternative because mime_content_type was used where msg4_content_type should have been used.

15 years ago* Save notes as multipart/alternative with a text/plain version so they can be read...
Art Cancro [Tue, 12 May 2009 21:18:53 +0000 (21:18 +0000)]
* Save notes as multipart/alternative with a text/plain version so they can be read in the text mode client.

15 years ago* Based on some quick testing, render_MIME_VNote() appears to be sound. Adding text...
Art Cancro [Tue, 12 May 2009 20:59:37 +0000 (20:59 +0000)]
* Based on some quick testing, render_MIME_VNote() appears to be sound.  Adding text/vnote to WebCit's MSGP declaration.

15 years ago* Notes now display properly, regardless of whether we received the text/vnote from...
Art Cancro [Tue, 12 May 2009 20:53:36 +0000 (20:53 +0000)]
* Notes now display properly, regardless of whether we received the text/vnote from MSG4 or DLAT.   We can add text/vnote to our MSGP declaration as soon as dothebart confirms that an inline renderer is available.

15 years ago* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or...
Art Cancro [Tue, 12 May 2009 20:45:34 +0000 (20:45 +0000)]
* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or legacy text format.  Notes are now working again, but it's still calling load_mimepart() every time.

15 years ago* load_mimepart() was including protocol chatter in its data buffer. Fixed.
Art Cancro [Tue, 12 May 2009 20:42:08 +0000 (20:42 +0000)]
* load_mimepart() was including protocol chatter in its data buffer.  Fixed.

15 years ago* Got the Notes screen a little closer to displaying properly but it's still not...
Art Cancro [Tue, 12 May 2009 03:29:57 +0000 (03:29 +0000)]
* Got the Notes screen a little closer to displaying properly but it's still not quite there.

15 years ago* add message ID to the notification template; not used for funnambol, but for possib...
Wilfried Göesgens [Mon, 11 May 2009 23:01:04 +0000 (23:01 +0000)]
* add message ID to the notification template; not used for funnambol, but for possible other applications.

15 years ago* added iltls corrections and additions to our french translation.
Wilfried Göesgens [Sun, 10 May 2009 22:06:36 +0000 (22:06 +0000)]
* added iltls corrections and additions to our french translation.