citadel.git
14 years ago* if we fail to compress, don't add gzip header and logwarn + backtrace
Wilfried Göesgens [Tue, 21 Jul 2009 22:11:30 +0000 (22:11 +0000)]
* if we fail to compress, don't add gzip header and logwarn + backtrace

14 years ago* calculate the compressed buffer more effective so we can avaid integer overflows...
Wilfried Göesgens [Tue, 21 Jul 2009 22:10:28 +0000 (22:10 +0000)]
* calculate the compressed buffer more effective so we can avaid integer overflows a little longer.
* if we fail the malloc, return -1

14 years ago* Fallback to eval() method for JSON loading if the native JSON object (FF 3.5, IE8...
Matt [Tue, 21 Jul 2009 04:01:33 +0000 (04:01 +0000)]
* Fallback to eval() method for JSON loading if the native JSON object (FF 3.5, IE8) does not accept our data.
* Silence any harmless errors caught in IE

14 years ago* Back out previous 'safe view default'
Matt [Tue, 21 Jul 2009 03:46:26 +0000 (03:46 +0000)]
* Back out previous 'safe view default'
* mailbox now MANY times faster

14 years ago* Allow dragdrop attributes to be stored as XML attributes
Matt [Tue, 21 Jul 2009 03:43:52 +0000 (03:43 +0000)]
* Allow dragdrop attributes to be stored as XML attributes

14 years ago* Add the account name to oida
Art Cancro [Mon, 20 Jul 2009 17:03:54 +0000 (17:03 +0000)]
* Add the account name to oida

14 years ago* Added a command OIDA to dump all OpenID associations
Art Cancro [Mon, 20 Jul 2009 17:01:07 +0000 (17:01 +0000)]
* Added a command OIDA to dump all OpenID associations

14 years ago* Additional OpenID logging
Art Cancro [Sun, 19 Jul 2009 19:57:07 +0000 (19:57 +0000)]
* Additional OpenID logging

14 years ago* evaluate the return of fgets() to silence some warnings
Wilfried Göesgens [Sun, 19 Jul 2009 11:03:03 +0000 (11:03 +0000)]
* evaluate the return of fgets() to silence some warnings
* add hint to ulimit into the init scripts, so enabling it gets easier for novice users

14 years ago* evaluate the return of fgets() to silence some warnings
Wilfried Göesgens [Sun, 19 Jul 2009 11:02:26 +0000 (11:02 +0000)]
* evaluate the return of fgets() to silence some warnings
* add hint to ulimit into the init scripts, so enabling it gets easier for novice users

14 years ago* Added a log message that indicates what went wrong when an OpenID association fails.
Art Cancro [Sun, 19 Jul 2009 04:51:23 +0000 (04:51 +0000)]
* Added a log message that indicates what went wrong when an OpenID association fails.

14 years ago* Give newer, faster browsers the full at-once listview experience, older versions...
Matt [Sat, 18 Jul 2009 01:49:26 +0000 (01:49 +0000)]
* Give newer, faster browsers the full at-once listview experience, older versions and M$ get paged list view

14 years ago* Repaired an OpenID login screen that was damaged during the strbuf conversion
Art Cancro [Fri, 17 Jul 2009 20:55:35 +0000 (20:55 +0000)]
* Repaired an OpenID login screen that was damaged during the strbuf conversion

14 years ago* fix memleak.
Wilfried Göesgens [Thu, 16 Jul 2009 21:29:19 +0000 (21:29 +0000)]
* fix memleak.

14 years ago* remove spurious char in token
Wilfried Göesgens [Thu, 16 Jul 2009 21:02:30 +0000 (21:02 +0000)]
* remove spurious char in token

14 years ago* work around don''''''t
Wilfried Göesgens [Thu, 16 Jul 2009 20:27:12 +0000 (20:27 +0000)]
* work around don''''''t

14 years ago* fix the files application
Wilfried Göesgens [Wed, 15 Jul 2009 22:18:25 +0000 (22:18 +0000)]
* fix the files application

14 years ago* log-anounce a little less alarming that we don't have a site local stylesheet installed
Wilfried Göesgens [Wed, 15 Jul 2009 22:14:36 +0000 (22:14 +0000)]
* log-anounce a little less alarming that we don't have a site local stylesheet installed

14 years agoComment out the explicit write of Content-Type to server, as the uploaded data alread...
Matt [Wed, 15 Jul 2009 02:04:15 +0000 (02:04 +0000)]
Comment out the explicit write of Content-Type to server, as the uploaded data already has this information

14 years ago* create struct, so we can transport hostlists in and errormessages out
Wilfried Göesgens [Tue, 14 Jul 2009 23:13:22 +0000 (23:13 +0000)]
* create struct, so we can transport hostlists in and errormessages out
* report failed notifications to aide _after_ sending all notifications of this chunk.

14 years ago* notify about the actual message number, not the queue message ID
Wilfried Göesgens [Tue, 14 Jul 2009 21:54:25 +0000 (21:54 +0000)]
* notify about the actual message number, not the queue message ID

14 years ago* fix typo in calculation of static directory / local css
Wilfried Göesgens [Sun, 12 Jul 2009 13:49:40 +0000 (13:49 +0000)]
* fix typo in calculation of static directory / local css

14 years ago* abort token extraction if increasebuf won't let us continue (constbufs for extracti...
Wilfried Göesgens [Sun, 12 Jul 2009 11:04:22 +0000 (11:04 +0000)]
* abort token extraction if increasebuf won't let us continue (constbufs for extracting integers...)

14 years ago* migrate more of the upload handling to strbuf
Wilfried Göesgens [Wed, 8 Jul 2009 22:17:35 +0000 (22:17 +0000)]
* migrate more of the upload handling to strbuf
* fix groupdav uploading

14 years ago* first draft of json message template; thanks to Jan Kus / RailsLove.com
Wilfried Göesgens [Tue, 7 Jul 2009 20:09:57 +0000 (20:09 +0000)]
* first draft of json message template; thanks to Jan Kus / RailsLove.com

14 years ago* add json notification template
Wilfried Göesgens [Tue, 7 Jul 2009 19:53:07 +0000 (19:53 +0000)]
* add json notification template

14 years ago* trim() whitespaces from inetconf values on save; they don't make sense in neither...
Wilfried Göesgens [Mon, 6 Jul 2009 21:17:55 +0000 (21:17 +0000)]
* trim() whitespaces from inetconf values on save; they don't make sense in neither of the possible values. thanks to koos for pointing this out.

14 years ago* fix typo in HTTP headers. thanks to koos for pointing this out.
Wilfried Göesgens [Mon, 6 Jul 2009 21:00:11 +0000 (21:00 +0000)]
* fix typo in HTTP headers. thanks to koos for pointing this out.

14 years ago* remove unneeded linebreaks
Wilfried Göesgens [Mon, 6 Jul 2009 20:56:36 +0000 (20:56 +0000)]
* remove unneeded linebreaks

14 years ago* start implementing sending an error message if the notification fails...
Wilfried Göesgens [Sun, 5 Jul 2009 20:26:33 +0000 (20:26 +0000)]
* start implementing sending an error message if the notification fails...

14 years ago* add cURL read-callbackhook, so we can read HTTP answers into StrBufs
Wilfried Göesgens [Sun, 5 Jul 2009 20:25:36 +0000 (20:25 +0000)]
* add cURL read-callbackhook, so we can read HTTP answers into StrBufs

14 years ago* Temporarily disabled the 'Drafts' functions. I like the idea, but it doesn't work...
Art Cancro [Fri, 3 Jul 2009 05:27:48 +0000 (05:27 +0000)]
* Temporarily disabled the 'Drafts' functions.  I like the idea, but it doesn't work, and I'd like to shuffle some things around.  But in the meantime, we need to get 7.60 out the door.  The code is still there but the buttons are commented out, except for the VIEW_DRAFTS view, which I removed completely.  Since the 'Drafts' room will end up being either a mailbox view or a BBS view, chosen by the user, we should implement some other way of determining whether we're in the Drafts room, and only offer the 'Edit' button in that case.  Currently, when I click the 'Edit' button, it opens a message entry screen containing an error about a missing template.

14 years ago* database.c: unfolded some lines that were awkwardly folded to fit in 80 columns
Art Cancro [Thu, 2 Jul 2009 03:24:44 +0000 (03:24 +0000)]
* database.c: unfolded some lines that were awkwardly folded to fit in 80 columns

14 years ago* Repaired the code that decides whether it should not bother converting character...
Art Cancro [Tue, 30 Jun 2009 23:53:24 +0000 (23:53 +0000)]
* Repaired the code that decides whether it should not bother converting character sets to UTF-8.  Not only was there a logical AND where there should have been a logical OR, but the whole thing was in the wrong place.  As a result, it only made that decision some of the time.  There may be other bugs in this, but I was unable to find them.

14 years ago* style cleanup
Art Cancro [Tue, 30 Jun 2009 23:31:49 +0000 (23:31 +0000)]
* style cleanup

14 years ago* Removed the RSS output code (which was still in TECH_PREVIEW anyway). There's...
Art Cancro [Tue, 30 Jun 2009 23:29:40 +0000 (23:29 +0000)]
* Removed the RSS output code (which was still in TECH_PREVIEW anyway).  There's a lot of duplicate code in there, and the underlying framework has changed enough since this was written that when we do finally get anonymous logins working, we're going to approach this in a completely different way.

14 years ago* add custom notification targets config interface
Wilfried Göesgens [Sun, 28 Jun 2009 22:21:16 +0000 (22:21 +0000)]
* add custom notification targets config interface

14 years ago* remove wrong \s
Wilfried Göesgens [Sun, 28 Jun 2009 22:20:25 +0000 (22:20 +0000)]
* remove wrong \s

14 years ago* add support for custom notifiers
Wilfried Göesgens [Sun, 28 Jun 2009 22:18:22 +0000 (22:18 +0000)]
* add support for custom notifiers
* fix some tiny hickups, code cleanup

14 years ago* fix NULL-pointer condition.
Wilfried Göesgens [Sun, 28 Jun 2009 13:29:57 +0000 (13:29 +0000)]
* fix NULL-pointer condition.

14 years ago* migrate extnotify to libcurl
Wilfried Göesgens [Sat, 27 Jun 2009 13:55:18 +0000 (13:55 +0000)]
* migrate extnotify to libcurl
* start abstracting stuff so other notefications than funambol can be sent

14 years ago* first check CC before accessing it. Save time by doing WCC like copy as CCC
Wilfried Göesgens [Thu, 25 Jun 2009 12:45:23 +0000 (12:45 +0000)]
* first check CC before accessing it. Save time by doing WCC like copy as CCC

14 years ago* add dtstamp to our calendar events
Wilfried Göesgens [Tue, 23 Jun 2009 18:48:42 +0000 (18:48 +0000)]
* add dtstamp to our calendar events

14 years ago* revert r7633; its bullshit.
Wilfried Göesgens [Tue, 23 Jun 2009 15:55:49 +0000 (15:55 +0000)]
* revert r7633; its bullshit.

14 years ago* return_to logic in do_edit_vcard() and submit_vcard() is now working peoperly....
Art Cancro [Tue, 23 Jun 2009 15:07:27 +0000 (15:07 +0000)]
* return_to logic in do_edit_vcard() and submit_vcard() is now working peoperly.  Fixes bug 268.

14 years ago* QP encode ical text fields; work on bug 351
Wilfried Göesgens [Tue, 23 Jun 2009 14:34:52 +0000 (14:34 +0000)]
* QP encode ical text fields; work on bug 351

14 years ago* fix groupdav handling
Wilfried Göesgens [Tue, 23 Jun 2009 12:15:10 +0000 (12:15 +0000)]
* fix groupdav handling
* add common logic for outputting 401; centralize it, register it as handler.
* remove params to groupdav functions, since WC gives them all information they need.
* use the general post handler for groupdav too.
* since /groupdav/ isn't left in the path by the current logic anymore, we need to count less when parsing.

14 years ago* add a strbuf'ed version of stripslashes
Wilfried Göesgens [Tue, 23 Jun 2009 10:52:42 +0000 (10:52 +0000)]
* add a strbuf'ed version of stripslashes

14 years ago* do_edit_vcard() accept arbitrary url's for return_to. Doesn't work yet because...
Art Cancro [Tue, 23 Jun 2009 03:29:07 +0000 (03:29 +0000)]
* do_edit_vcard() accept arbitrary url's for return_to.  Doesn't work yet because the string is too escaped.

14 years ago* free the iconbar list on session kill
Wilfried Göesgens [Mon, 22 Jun 2009 21:08:47 +0000 (21:08 +0000)]
* free the iconbar list on session kill

14 years ago* in gotonext etc. check for the availability of parameters/absence of needed paramet...
Wilfried Göesgens [Mon, 22 Jun 2009 21:03:05 +0000 (21:03 +0000)]
* in gotonext etc. check for the availability of parameters/absence of needed parameters and fallback to readnew

14 years ago* NewStrBufPlain(HKEY(foo))
Art Cancro [Mon, 22 Jun 2009 20:16:16 +0000 (20:16 +0000)]
* NewStrBufPlain(HKEY(foo))

14 years ago* -1 instead of 256 when allocating strbuf
Art Cancro [Mon, 22 Jun 2009 20:05:18 +0000 (20:05 +0000)]
* -1 instead of 256 when allocating strbuf

14 years ago* grr ... I did this wrong ... more fixes to come
Art Cancro [Mon, 22 Jun 2009 17:04:23 +0000 (17:04 +0000)]
* grr ... I did this wrong ... more fixes to come

14 years ago* Noted where I need to make some fixes
Art Cancro [Mon, 22 Jun 2009 16:28:18 +0000 (16:28 +0000)]
* Noted where I need to make some fixes

14 years ago* add support for reading the UID via getsockopt from unix domain socket conneciotns...
Wilfried Göesgens [Sun, 21 Jun 2009 21:14:56 +0000 (21:14 +0000)]
* add support for reading the UID via getsockopt from unix domain socket conneciotns in begin_session()
* use the UID like bzed suggested in debian Bug#528760 when sending mails via LMTP
* add configure options to detect ucread; borowed from http://git.musicpd.org/cgit/master/mpd.git/plain/m4/ucred.m4; thanks to Max Kellermann to point me there.
a further good read is http://www.wsinnovations.com/softeng/articles/uds.html ; it indicates that this might not be portable to *bsd / Solaris; configure should protect us from problems here though.

14 years ago* locate_user_vcard_in_this_room() lost the ability to return the msgnum of the vcard...
Art Cancro [Fri, 19 Jun 2009 20:57:10 +0000 (20:57 +0000)]
* locate_user_vcard_in_this_room() lost the ability to return the msgnum of the vcard it found during one of the recent overhauls.  Fixed.  The 'update your contact information' link wasn't working at all.

14 years ago* More style cleanup
Art Cancro [Fri, 19 Jun 2009 20:39:13 +0000 (20:39 +0000)]
* More style cleanup

14 years ago* Added a \n where one was needed
Art Cancro [Fri, 19 Jun 2009 19:32:18 +0000 (19:32 +0000)]
* Added a \n where one was needed

14 years ago* More style cleanup
Art Cancro [Fri, 19 Jun 2009 18:45:05 +0000 (18:45 +0000)]
* More style cleanup

14 years ago* More style cleanup
Art Cancro [Fri, 19 Jun 2009 18:34:03 +0000 (18:34 +0000)]
* More style cleanup

14 years ago* More style cleanup
Art Cancro [Fri, 19 Jun 2009 18:32:25 +0000 (18:32 +0000)]
* More style cleanup

14 years ago* do_edit_vcard() contained a 'StrBuf *Buf' which was unused in the entire function...
Art Cancro [Fri, 19 Jun 2009 18:26:30 +0000 (18:26 +0000)]
* do_edit_vcard() contained a 'StrBuf *Buf' which was unused in the entire function except for a call to free it.  WebCit no longer crashes upon attempting to edit a vCard.
* Also performed some style cleanup while I was in here.

14 years ago* ctdlsh: use getopt to allow -h directory
Art Cancro [Fri, 19 Jun 2009 16:47:14 +0000 (16:47 +0000)]
* ctdlsh: use getopt to allow -h directory

14 years ago* save more memory
Wilfried Göesgens [Thu, 18 Jun 2009 21:34:50 +0000 (21:34 +0000)]
* save more memory

14 years ago* upsi, wrong way arround.
Wilfried Göesgens [Thu, 18 Jun 2009 19:36:04 +0000 (19:36 +0000)]
* upsi, wrong way arround.

14 years ago* check reset filedescriptors before accessing them.
Wilfried Göesgens [Thu, 18 Jun 2009 18:44:47 +0000 (18:44 +0000)]
* check reset filedescriptors before accessing them.

14 years ago* Fleshed out the ctdlsh interface a bit. Right now it's just a simple shell that...
Art Cancro [Thu, 18 Jun 2009 17:17:45 +0000 (17:17 +0000)]
* Fleshed out the ctdlsh interface a bit.  Right now it's just a simple shell that logs in to the server, authenticates as an internal program, and allows the user to enter protocol commands.  In the future we'll probably add some other stuff to it.  Or I might get bored and never touch it again.  Who knows?

14 years ago* 'Save to Drafts' now appears as the second option instead of the first one. 'Send...
Art Cancro [Thu, 18 Jun 2009 03:17:28 +0000 (03:17 +0000)]
* 'Save to Drafts' now appears as the second option instead of the first one.  'Send' or 'Post' is more intuitive in the first position.

14 years ago* Restore the correct behavior for Reply commands in mail rooms, which are ALWAYS...
Art Cancro [Thu, 18 Jun 2009 03:13:43 +0000 (03:13 +0000)]
* Restore the correct behavior for Reply commands in mail rooms, which are ALWAYS QUOTED regardless of whether they are local mail or Internet mail.

14 years ago* Older versions of libcurl may not have CURLOPT_HTTP_CONTENT_DECODING support. ...
Art Cancro [Thu, 18 Jun 2009 02:52:38 +0000 (02:52 +0000)]
* Older versions of libcurl may not have CURLOPT_HTTP_CONTENT_DECODING support.  Added an ifdef to only use this option when it is available.

14 years ago* ParsePref() was returning if it encountered a blank line in the preferences data...
Art Cancro [Wed, 17 Jun 2009 21:26:18 +0000 (21:26 +0000)]
* ParsePref() was returning if it encountered a blank line in the preferences data, leaving the rest of the server transaction unfinished and causing the protocol to get out of sync.  Fixed.  This is almost certainly the cause of the 'numeric room name upon login' bug.

14 years ago* more temporary logging messages
Art Cancro [Wed, 17 Jun 2009 21:12:02 +0000 (21:12 +0000)]
* more temporary logging messages

14 years ago* temporary tracing messages
Art Cancro [Wed, 17 Jun 2009 21:02:46 +0000 (21:02 +0000)]
* temporary tracing messages

14 years ago* Style cleanup
Art Cancro [Wed, 17 Jun 2009 20:24:19 +0000 (20:24 +0000)]
* Style cleanup

14 years ago* Use unix domain sockets because we're going to need to run this locally anyway...
Art Cancro [Wed, 17 Jun 2009 19:31:06 +0000 (19:31 +0000)]
* Use unix domain sockets because we're going to need to run this locally anyway, in order to obtain the ipgm secret.

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

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

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

14 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

14 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

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

14 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

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

14 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

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

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

14 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

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

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

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

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

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

14 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

14 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

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

14 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

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

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

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