citadel
12 years ago* NeedNewBuf() as CLANG indicates, this parameter should have a name
Wilfried Göesgens [Sat, 22 May 2010 10:10:11 +0000 (10:10 +0000)]
* NeedNewBuf() as CLANG indicates, this parameter should have a name
* several more corrections advised by CLANG

12 years ago* receive_spool(): remove debugging output; just open tempfile if there is anything...
Wilfried Göesgens [Sat, 22 May 2010 09:47:14 +0000 (09:47 +0000)]
* receive_spool(): remove debugging output; just open tempfile if there is anything to read

12 years ago* CtdlTryPassword(): fix leak
Wilfried Göesgens [Fri, 21 May 2010 22:38:09 +0000 (22:38 +0000)]
* CtdlTryPassword(): fix leak

12 years ago* add possibility to specify the inbound buffer size
Wilfried Göesgens [Fri, 21 May 2010 20:22:51 +0000 (20:22 +0000)]
* add possibility to specify the inbound buffer size
* XMPP: increase our buffer on start, so client_read_random_blob() can unveil all its power.

12 years ago* ReAdjustEmptyBuf() wasn't quiet what it should be: increase the buffer to a specifi...
Wilfried Göesgens [Fri, 21 May 2010 20:21:27 +0000 (20:21 +0000)]
* ReAdjustEmptyBuf() wasn't quiet what it should be: increase the buffer to a specified size

12 years ago* StrBufReadBLOBBuffered(): tell read to give us as much as our buffer can bear,...
Wilfried Göesgens [Fri, 21 May 2010 19:25:42 +0000 (19:25 +0000)]
* StrBufReadBLOBBuffered(): tell read to give us as much as our buffer can bear, not as much as we want to read

12 years ago* sock_read_to(), sock_getln() flush the Migrate buffer before useage, just to be...
Wilfried Göesgens [Fri, 21 May 2010 17:50:06 +0000 (17:50 +0000)]
* sock_read_to(), sock_getln() flush the Migrate buffer before useage, just to be shure.

12 years ago* cmd_ucls(): don't overwrite the upload type before we use it
Wilfried Göesgens [Fri, 21 May 2010 17:48:50 +0000 (17:48 +0000)]
* cmd_ucls(): don't overwrite the upload type before we use it

12 years ago* trace messages
Art Cancro [Fri, 21 May 2010 17:35:13 +0000 (17:35 +0000)]
* trace messages

12 years ago* Better tempfilename generation for receive_spool()
Art Cancro [Fri, 21 May 2010 16:32:48 +0000 (16:32 +0000)]
* Better tempfilename generation for receive_spool()

12 years ago* Remove color from log message
Art Cancro [Fri, 21 May 2010 15:19:52 +0000 (15:19 +0000)]
* Remove color from log message

12 years ago* Change to main server loop. All threads block on accept() instead of using a mutex...
Art Cancro [Fri, 21 May 2010 14:53:58 +0000 (14:53 +0000)]
* Change to main server loop.  All threads block on accept() instead of using a mutex.  Hopefully this will solve the deadlock issue that has been plaguing us.

12 years ago* removed an extraneous debug line
Art Cancro [Thu, 20 May 2010 17:56:13 +0000 (17:56 +0000)]
* removed an extraneous debug line

12 years ago* In a rare eureka-moment, discovered that my XML string escape function was only...
Art Cancro [Thu, 20 May 2010 17:54:51 +0000 (17:54 +0000)]
* In a rare eureka-moment, discovered that my XML string escape function was only sanitizing characters higher than 0x7F, but the problem character in my data set was 0x01.  Fixed.

12 years ago* Finally eliminated the dreaded 'spooling - try again in a few minutes' error, since...
Art Cancro [Wed, 19 May 2010 15:52:06 +0000 (15:52 +0000)]
* Finally eliminated the dreaded 'spooling - try again in a few minutes' error, since the generation of spool files is no longer in the same locking domain as their transfer.

12 years ago* individual spool files are now created for each run of the networker and consolidat...
Art Cancro [Wed, 19 May 2010 15:49:45 +0000 (15:49 +0000)]
* individual spool files are now created for each run of the networker and consolidated later.

12 years ago* When downloading network spool from another node, use the new network/spooltmp...
Art Cancro [Wed, 19 May 2010 14:09:20 +0000 (14:09 +0000)]
* When downloading network spool from another node, use the new network/spooltmp architecture

12 years ago* same as for citserver: move INLINE functions from .c to .h and make them static...
Wilfried Göesgens [Tue, 18 May 2010 23:06:21 +0000 (23:06 +0000)]
* same as for citserver: move INLINE functions from .c to .h and make them static INLINE; thanks again to #llvm, jyasskin and sabre

12 years ago* INLINE doesn't work across several objects as of C99; we just survive it the way...
Wilfried Göesgens [Tue, 18 May 2010 22:52:46 +0000 (22:52 +0000)]
* INLINE doesn't work across several objects as of C99; we just survive it the way its now because of gcc is sluggish here.
(see http://clang.llvm.org/docs/UsersManual.html#c_modes for details)
Move the INLINE function into the header, make it static INLINE as sugested by jyasskin and sabre

12 years ago* split cutuserkey() out of makeuserkey(); its name doesn't show that theres a modifi...
Wilfried Göesgens [Tue, 18 May 2010 21:34:56 +0000 (21:34 +0000)]
* split cutuserkey() out of makeuserkey(); its name doesn't show that theres a modification of the buffer inside.
* modify several functions so their callers have to call cutuserkey()
* harmonize the user length to  USERNAME_SIZE; apply cutting after cleanup of invalid characters

12 years ago* When a network node is uploading a spool file, receive it in ./network/spooltmp...
Art Cancro [Tue, 18 May 2010 19:16:52 +0000 (19:16 +0000)]
* When a network node is uploading a spool file, receive it in ./network/spooltmp and then move it to ./network/spoolin only when the upload is closed. (This is the first of perhaps five changes which need to be made.)

12 years ago* Documented all of the 'TODO: document me.' commands in file_ops.c
Art Cancro [Tue, 18 May 2010 18:51:49 +0000 (18:51 +0000)]
* Documented all of the 'TODO: document me.' commands in file_ops.c
* Set up a new directory ./network/spooltmp, this will be part of the solution to allow the processing of network spool files to occur independently of the transfer of network spool files.

12 years ago* Minor cleanups while I try to figure out the network problem
Art Cancro [Mon, 17 May 2010 17:34:10 +0000 (17:34 +0000)]
* Minor cleanups while I try to figure out the network problem

12 years ago* roomchat_rwho(), roomchat_poll(): gcc likes bit operations in logical operations...
Wilfried Göesgens [Sun, 16 May 2010 20:49:51 +0000 (20:49 +0000)]
* roomchat_rwho(), roomchat_poll(): gcc likes bit operations in logical operations better that way.

12 years ago* check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would...
Wilfried Göesgens [Fri, 14 May 2010 17:52:32 +0000 (17:52 +0000)]
* check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would have been ignored.

12 years ago* Properly escape XML output using new xmlesc() function for XMPP sessions. This...
Art Cancro [Fri, 14 May 2010 15:24:26 +0000 (15:24 +0000)]
* Properly escape XML output using new xmlesc() function for XMPP sessions.  This function should eventually get moved into libcitadel, but the bigger problem is that it doesn't handle UTF-8.  Right now we're just using it to keep Pidgin from barfing on illegal characters.

12 years ago* openid-Module: don't use static buffers in most places
Wilfried Göesgens [Tue, 11 May 2010 22:05:57 +0000 (22:05 +0000)]
* openid-Module: don't use static buffers in most places

12 years ago* cdb_fetch() make lookup key const
Wilfried Göesgens [Tue, 11 May 2010 22:04:15 +0000 (22:04 +0000)]
* cdb_fetch() make lookup key const

12 years ago* I think this cleans up the remaining XMPP bugs. We now see the correct number...
Art Cancro [Mon, 10 May 2010 21:22:05 +0000 (21:22 +0000)]
* I think this cleans up the remaining XMPP bugs.  We now see the correct number of sessions for each user (and it turns out I didn't have to modify the xmpp_is_visible() API after all, but it's still a nice enhancement to have and doesn't cost extra).

12 years ago* Ok, it's not an async bug. When I changed everything over to xmpp_is_visible(...
Art Cancro [Mon, 10 May 2010 21:06:42 +0000 (21:06 +0000)]
* Ok, it's not an async bug.  When I changed everything over to xmpp_is_visible() I screwed up the logic of xmpp_presence_notify().  Changed the xmpp_is_visible() API to allow it to check the visibility of ANY session to ANY other session.  Still need to clean up xmpp_presence_notify() and nail down the bug.

12 years ago* Changed the logic of how we inform the client about dead buddies. Instead of pushi...
Art Cancro [Mon, 10 May 2010 20:36:54 +0000 (20:36 +0000)]
* Changed the logic of how we inform the client about dead buddies.  Instead of pushing a dead buddy update at login, we push it immediately following any roster query requested by the client.  I discovered that some clients don't bother to query the roster if an unsolicited update is recived.  This is working more reliably now.  However, I'm not getting any asynchronous updates; must check this...

12 years ago* Modified the XMPP service to use client_read_random_blob(). However, I noticed...
Art Cancro [Fri, 7 May 2010 21:53:11 +0000 (21:53 +0000)]
* Modified the XMPP service to use client_read_random_blob().  However, I noticed that client_read_random_blob() is always returning only one byte.

12 years ago* implement client_read_random_blob(); its hear to read a blob of undefined size...
Wilfried Göesgens [Thu, 6 May 2010 21:36:35 +0000 (21:36 +0000)]
* implement client_read_random_blob(); its hear to read a blob of undefined size; Its to be used _once_ after a successfull select of the master loop.

12 years ago* cleanup
Art Cancro [Thu, 6 May 2010 21:05:32 +0000 (21:05 +0000)]
* cleanup

12 years ago * StrBufPlain(): don't access pointers before we check them
Wilfried Göesgens [Thu, 6 May 2010 18:43:10 +0000 (18:43 +0000)]
 * StrBufPlain(): don't access pointers before we check them

12 years ago * OverrideRequest(): for some reason Hdr->HR.ReqLine can be NULL here, we need to...
Wilfried Göesgens [Thu, 6 May 2010 18:40:08 +0000 (18:40 +0000)]
 * OverrideRequest(): for some reason Hdr->HR.ReqLine can be NULL here, we need to take care of that.

12 years ago* XMPP login hooks which output protocol data should only activate if this is actuall...
Art Cancro [Wed, 5 May 2010 16:14:01 +0000 (16:14 +0000)]
* XMPP login hooks which output protocol data should only activate if this is actually an XMPP session.  Ouch.

12 years ago* check for null
Art Cancro [Wed, 5 May 2010 16:02:06 +0000 (16:02 +0000)]
* check for null

12 years ago* StrBufReadBLOBBuffered(): fix abort condition; if it doesn't end by itself, stop...
Wilfried Göesgens [Tue, 4 May 2010 20:32:49 +0000 (20:32 +0000)]
* StrBufReadBLOBBuffered(): fix abort condition; if it doesn't end by itself, stop after 100000 tries; if we select 1000 tries should do it.

12 years ago* New utility function xmpp_is_visible(), used to determine whether any given session...
Art Cancro [Mon, 3 May 2010 21:19:15 +0000 (21:19 +0000)]
* New utility function xmpp_is_visible(), used to determine whether any given session in the wholist is visible to the current user and capable of receiving instant messages.  This eliminates duplicate code in three different places.
* The XMPP mortuary is functionally complete and does appear to be working properly.  Upon connecting, an XMPP client now receives 'buddy delete' messages for any buddy he has ever seen, minus the ones who are online right now.  This should effectively eliminate the accumulation of 'ghost' buddies on large public access systems like Uncensored.

12 years ago* New utility function xmpp_is_visible(), used to determine whether any given session...
Art Cancro [Mon, 3 May 2010 21:18:37 +0000 (21:18 +0000)]
* New utility function xmpp_is_visible(), used to determine whether any given session in the wholist is visible to the current user and capable of receiving instant messages.  This eliminates duplicate code in three different places.
* The XMPP mortuary is functionally complete and does appear to be working properly.  Upon connecting, an XMPP client now receives 'buddy delete' messages for any buddy he has ever seen, minus the ones who are online right now.  This should effectively eliminate the accumulation of 'ghost' buddies on large public access systems like Uncensored.

12 years ago* rather have one typedef than dozends of structs all over the source
Wilfried Göesgens [Mon, 3 May 2010 21:16:31 +0000 (21:16 +0000)]
* rather have one typedef than dozends of structs all over the source

12 years ago* Lots of changes to the XMPP Mortuary to make it keep track of useful data. We...
Art Cancro [Mon, 3 May 2010 20:09:50 +0000 (20:09 +0000)]
* Lots of changes to the XMPP Mortuary to make it keep track of useful data.  We're one more update away from this being something that works.

12 years ago* Eliminate generic_free_handler() since it is not needed
Art Cancro [Mon, 3 May 2010 16:41:45 +0000 (16:41 +0000)]
* Eliminate generic_free_handler() since it is not needed

12 years ago* cosmetic changes
Art Cancro [Mon, 3 May 2010 15:31:33 +0000 (15:31 +0000)]
* cosmetic changes

12 years ago* Tried to complete the dead buddy thing in xmpp, but the code I already wrote now...
Art Cancro [Mon, 3 May 2010 04:24:29 +0000 (04:24 +0000)]
* Tried to complete the dead buddy thing in xmpp, but the code I already wrote now seems to be broken?

12 years ago* Make memreadlinelen() const
Wilfried Göesgens [Thu, 29 Apr 2010 22:32:32 +0000 (22:32 +0000)]
* Make memreadlinelen() const

12 years agoxmpp_fetch_mortuary_backend(): copy the string over so we can use it later and free...
Wilfried Göesgens [Thu, 29 Apr 2010 22:12:06 +0000 (22:12 +0000)]
xmpp_fetch_mortuary_backend(): copy the string over so we can use it later and free it. else we will free a non-malloced pointer or loose that buffer before we want to use it.
Btw, theres no need for specifying generic_free_handler, thats default.

12 years ago* free the wildfire buffer on session detaching
Wilfried Göesgens [Thu, 29 Apr 2010 21:15:41 +0000 (21:15 +0000)]
* free the wildfire buffer on session detaching

12 years ago* require DEF:VAL and DEF:STR to have one token, as it should.
Wilfried Göesgens [Thu, 29 Apr 2010 21:07:21 +0000 (21:07 +0000)]
* require DEF:VAL and DEF:STR to have one token, as it should.

12 years ago* ups, its FreeStrBuf(&ptr)
Wilfried Göesgens [Thu, 29 Apr 2010 21:02:11 +0000 (21:02 +0000)]
* ups, its FreeStrBuf(&ptr)

12 years ago* fix wildfire exception handling; collect stuff in a buffer, and serialize it to...
Wilfried Göesgens [Thu, 29 Apr 2010 20:57:19 +0000 (20:57 +0000)]
* fix wildfire exception handling; collect stuff in a buffer, and serialize it to the header when done.

12 years ago* xmpp_xml_end(): output what we don't understand in the error message.
Wilfried Göesgens [Thu, 29 Apr 2010 18:49:10 +0000 (18:49 +0000)]
* xmpp_xml_end(): output what we don't understand in the error message.

12 years ago* Reenabled the XMPP mortuary. If there's still a bug in this I need to find it.
Art Cancro [Wed, 28 Apr 2010 17:03:55 +0000 (17:03 +0000)]
* Reenabled the XMPP mortuary.  If there's still a bug in this I need to find it.

12 years ago* A little more padding between the chat windows
Art Cancro [Wed, 28 Apr 2010 16:01:22 +0000 (16:01 +0000)]
* A little more padding between the chat windows

12 years ago* Added a background color to the roomchat send box
Art Cancro [Wed, 28 Apr 2010 15:52:26 +0000 (15:52 +0000)]
* Added a background color to the roomchat send box
* fixed some indentation and spacing in webcit.css

12 years ago* upgrade prototype to 1.6.1
Art Cancro [Tue, 27 Apr 2010 16:23:06 +0000 (16:23 +0000)]
* upgrade prototype to 1.6.1
* upgrade scriptaculous to 1.8.3

12 years ago* When the user navigates away from the roomchat screen for any reason, advise the...
Art Cancro [Tue, 27 Apr 2010 16:20:19 +0000 (16:20 +0000)]
* When the user navigates away from the roomchat screen for any reason, advise the server of this condition using an 'RCHT exit' command.

12 years ago* StrBufTCP_read_buffered_line_fast(): silence warning of narrow minded compilers
Wilfried Göesgens [Mon, 26 Apr 2010 23:05:50 +0000 (23:05 +0000)]
* StrBufTCP_read_buffered_line_fast(): silence warning of narrow minded compilers

12 years ago* output_html(): it needs to be isspace()src="cid: not <blank>src="cid:
Wilfried Göesgens [Mon, 26 Apr 2010 22:22:37 +0000 (22:22 +0000)]
* output_html(): it needs to be isspace()src="cid: not <blank>src="cid:

12 years ago* cmd_spex() accept old (deprecated) version of policy too
Wilfried Göesgens [Mon, 26 Apr 2010 21:32:31 +0000 (21:32 +0000)]
* cmd_spex() accept old (deprecated) version of policy too
* cmd_gpex() accept old (deprecated) version of policy too

12 years ago* More tweaks to the room chat window. Now displays the list of users in chat.
Art Cancro [Mon, 26 Apr 2010 18:48:24 +0000 (18:48 +0000)]
* More tweaks to the room chat window.  Now displays the list of users in chat.

12 years ago* Executive decision. From now on, intr (ctrl-c) begins an attempt at a graceful...
Art Cancro [Mon, 26 Apr 2010 16:20:53 +0000 (16:20 +0000)]
* Executive decision.  From now on, intr (ctrl-c) begins an attempt at a graceful shutdown, but quit (ctrl-backslash) forcibly quits the server.  Signal handler for SIGQUIT has been disabled.

12 years ago* Added some style to the roomchat window.
Art Cancro [Sun, 25 Apr 2010 05:11:29 +0000 (05:11 +0000)]
* Added some style to the roomchat window.

12 years ago* add Remove button
Wilfried Göesgens [Sat, 24 Apr 2010 13:31:29 +0000 (13:31 +0000)]
* add Remove button
* post_message(): use IKEY and Flathash, we just use numbers anyway.
* post_message(): add handler for removal of attachments; it seems as if 'filename' comes out URL-encoded, so we need to decode it.
  We need to iterate and strcmp() so we find the right one :(
* post_message(): when adding a new item just using count+1 isn't sufficient anymore; we need to use the key value + 1 of the last item in the list instead

12 years ago* DeleteEntryFromHash(): don't skip indirection via the lookuptable, else we free...
Wilfried Göesgens [Sat, 24 Apr 2010 12:49:16 +0000 (12:49 +0000)]
* DeleteEntryFromHash(): don't skip indirection via the lookuptable, else we free some random payload
* DeleteEntryFromHash(): NULL the end of the list; This is the entry we just removed.
* hashlist_test: add some tests with removing items from the list

12 years ago* offer a split version of GetNextHashPos(): GetHashPos() retrieves the item, NextHas...
Wilfried Göesgens [Sat, 24 Apr 2010 11:41:33 +0000 (11:41 +0000)]
* offer a split version of GetNextHashPos(): GetHashPos() retrieves the item, NextHashPos() moves the iterator forward.

12 years ago* post_mime_to_server(): next try for the lz3 case: try to block posting empty messag...
Wilfried Göesgens [Sat, 24 Apr 2010 10:20:42 +0000 (10:20 +0000)]
* post_mime_to_server(): next try for the lz3 case: try to block posting empty messages anyway.

12 years ago* move policy.c into modules/expire/expire_policy.c, since it just controls this.
Wilfried Göesgens [Sat, 24 Apr 2010 09:33:15 +0000 (09:33 +0000)]
* move policy.c into modules/expire/expire_policy.c, since it just controls this.
* remove all unneded includes to policy.h
* remove hardcoded reference to policy from mk_module_init.sh (hard to find...)

12 years ago* Finally got room chat working properly. Just need to add the bells and whistles.
Art Cancro [Sat, 24 Apr 2010 05:04:20 +0000 (05:04 +0000)]
* Finally got room chat working properly.  Just need to add the bells and whistles.

12 years ago* call json_roomflr with sort parameters
Wilfried Göesgens [Thu, 22 Apr 2010 19:56:41 +0000 (19:56 +0000)]
* call json_roomflr with sort parameters

12 years ago* ParseMessageListHeaders_Detail(): don't use the tokenizer to read the subject;...
Wilfried Göesgens [Wed, 21 Apr 2010 22:42:11 +0000 (22:42 +0000)]
* ParseMessageListHeaders_Detail(): don't use the tokenizer to read the subject; this works around pipes in mail subjects

12 years ago* headers_euid() ooops, 'T' is a string!
Wilfried Göesgens [Wed, 21 Apr 2010 22:08:16 +0000 (22:08 +0000)]
* headers_euid() ooops, 'T' is a string!

12 years ago* cmd_oidf(): if we don't have ha Server to authenticate against, bail with ILLEGAL_VALUE
Wilfried Göesgens [Wed, 21 Apr 2010 22:00:59 +0000 (22:00 +0000)]
* cmd_oidf(): if we don't have ha Server to authenticate against, bail with ILLEGAL_VALUE

12 years ago* fix flags for state of rest parsing
Wilfried Göesgens [Wed, 21 Apr 2010 19:52:03 +0000 (19:52 +0000)]
* fix flags for state of rest parsing
* DAV-Message-list: expect timestamp next to the EUID

12 years ago* headers_euid(): print out timestamp of message too, DAV needs this.
Wilfried Göesgens [Wed, 21 Apr 2010 19:20:31 +0000 (19:20 +0000)]
* headers_euid(): print out timestamp of message too, DAV needs this.
* CtdlOutputPreLoadedMsg(): initialize pointer to silence value

12 years ago-
Art Cancro [Mon, 19 Apr 2010 15:39:22 +0000 (15:39 +0000)]
-

12 years ago* update room chat to the new protocol. This needs a couple more tweaks but I'm...
Art Cancro [Mon, 19 Apr 2010 14:56:57 +0000 (14:56 +0000)]
* update room chat to the new protocol.  This needs a couple more tweaks but I'm checking it in to avoid conflicts with other commits

12 years ago* add one more callback hook to the webcit DAV handler structure; this will be used...
Wilfried Göesgens [Mon, 19 Apr 2010 10:20:54 +0000 (10:20 +0000)]
* add one more callback hook to the webcit DAV handler structure; this will be used to revalidate URLs, move or delete certain items referenced by URLs
* add handler vor EUID based namespaces; so far we just have the exists logic; this will be filled with the other required operations soon.
* finish REST URL parsing with 'best-guess'-room logic

12 years ago* CompareRoomListByFloorRoomPrivFirst() add a wrapper that can be called with types...
Wilfried Göesgens [Mon, 19 Apr 2010 10:07:49 +0000 (10:07 +0000)]
* CompareRoomListByFloorRoomPrivFirst() add a wrapper that can be called with types for webcit internal use...

12 years ago* add the IO-Debug statement to the comment howto build .debs with devel support
Wilfried Göesgens [Mon, 19 Apr 2010 10:05:25 +0000 (10:05 +0000)]
* add the IO-Debug statement to the comment howto build .debs with devel support

12 years ago* client_read_to(): print a bactrace when the client socket goes away on read
Wilfried Göesgens [Mon, 19 Apr 2010 10:01:57 +0000 (10:01 +0000)]
* client_read_to(): print a bactrace when the client socket goes away on read

12 years ago* fix umlaut
Wilfried Göesgens [Mon, 19 Apr 2010 09:59:56 +0000 (09:59 +0000)]
* fix umlaut

12 years ago* oops ... fix a syntax error
Art Cancro [Sat, 10 Apr 2010 19:12:22 +0000 (19:12 +0000)]
* oops ... fix a syntax error

12 years ago* according to https://support.mozilla.com/en-US/forum/1/479557 it pushes the limit...
Wilfried Göesgens [Sat, 10 Apr 2010 12:31:44 +0000 (12:31 +0000)]
* according to https://support.mozilla.com/en-US/forum/1/479557 it pushes the limit by 5MB, but its still just 19 of 30 which it sends :(

12 years ago* ReadPostData(): abort if we fail to read the whole content
Wilfried Göesgens [Sat, 10 Apr 2010 10:07:57 +0000 (10:07 +0000)]
* ReadPostData(): abort if we fail to read the whole content
* session_loop(): allocate buffers after reading post data, so we don't have to free them on error
* session_loop(): abort if reading post data fails

12 years ago* mime_parser(), mime_decode(), the_mime_parser(); use typedef for callback functions...
Wilfried Göesgens [Sat, 10 Apr 2010 09:01:25 +0000 (09:01 +0000)]
* mime_parser(), mime_decode(), the_mime_parser(); use typedef for callback functions, signature gets compacter that way

12 years ago* change_start_page(), LoadStartpage(): check whether the startpage is allowed by...
Wilfried Göesgens [Thu, 8 Apr 2010 21:04:13 +0000 (21:04 +0000)]
* change_start_page(), LoadStartpage(): check whether the startpage is allowed by rule
* InitModule_MSG() disallow postpart_download, postpart, confirm_move_msg, delete_msg, move_msg, post to become the startpage; they don't do usefull things there.

12 years ago* Moved instant messaging into its own module -- serv_instmsg
Art Cancro [Thu, 8 Apr 2010 04:33:45 +0000 (04:33 +0000)]
* Moved instant messaging into its own module -- serv_instmsg
* Removed serv_chat and the CHAT command
* Implemented serv_roomchat and the RCHT command, which implements a brand new chat protocol

12 years ago* GetRESTFolder(): find the parts of the URL matching our rooms; since there may...
Wilfried Göesgens [Tue, 6 Apr 2010 22:05:15 +0000 (22:05 +0000)]
* GetRESTFolder(): find the parts of the URL matching our rooms; since there may be uids/messageids/mimeparts keep a 'best guess' we return if theres no direct match
* GetRESTFolder(): collect sub-rooms of the current URL so we can list them later

12 years ago* Minor tweaks to ldap.c -- logging, remove commented-out code etc.
Art Cancro [Tue, 6 Apr 2010 16:41:22 +0000 (16:41 +0000)]
* Minor tweaks to ldap.c -- logging, remove commented-out code etc.

12 years ago* say we're UTF-8 in vacation messages.
Wilfried Göesgens [Tue, 30 Mar 2010 18:50:27 +0000 (18:50 +0000)]
* say we're UTF-8 in vacation messages.

12 years ago* Disabled CHAT cmd until the underlying I/O layer is fixed
Art Cancro [Sun, 28 Mar 2010 17:25:08 +0000 (17:25 +0000)]
* Disabled CHAT cmd until the underlying I/O layer is fixed

12 years ago* CtdlOutputPreLoadedMsg(): chop it into handy pieces; No functional change.
Wilfried Göesgens [Sat, 27 Mar 2010 16:53:41 +0000 (16:53 +0000)]
* CtdlOutputPreLoadedMsg(): chop it into handy pieces; No functional change.

12 years ago* Disable the XMPP-mortuary code. It's not ready for production yet.
Art Cancro [Sat, 27 Mar 2010 15:22:18 +0000 (15:22 +0000)]
* Disable the XMPP-mortuary code.  It's not ready for production yet.

12 years agocmd_chat(): use CCC instead of CC
Wilfried Göesgens [Sat, 27 Mar 2010 11:08:32 +0000 (11:08 +0000)]
cmd_chat(): use CCC instead of CC

12 years ago* open_databases(): cast the yield function so the warning goes away.
Wilfried Göesgens [Sat, 27 Mar 2010 11:07:35 +0000 (11:07 +0000)]
* open_databases(): cast the yield function so the warning goes away.

12 years ago* cdb_decompress_if_necessary(): memset 0 the buffer before accessing it
Wilfried Göesgens [Thu, 25 Mar 2010 23:14:14 +0000 (23:14 +0000)]
* cdb_decompress_if_necessary(): memset 0 the buffer before accessing it
* cdb_decompress_if_necessary(): don't lean on cdb being big enough to fill our header

12 years ago* client_read_sslblob(): don't use uninitialized values.
Wilfried Göesgens [Thu, 25 Mar 2010 23:12:09 +0000 (23:12 +0000)]
* client_read_sslblob(): don't use uninitialized values.

12 years ago* html_to_ascii(): don't buffer underrun while checking whether we should append...
Wilfried Göesgens [Thu, 25 Mar 2010 22:53:51 +0000 (22:53 +0000)]
* html_to_ascii(): don't buffer underrun while checking whether we should append a trailing newline or not.