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
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
Wilfried Göesgens [Tue, 7 Jul 2009 19:53:07 +0000 (19:53 +0000)]
* add json notification template
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.
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.
Wilfried Göesgens [Mon, 6 Jul 2009 20:56:36 +0000 (20:56 +0000)]
* remove unneeded linebreaks
Wilfried Göesgens [Sun, 5 Jul 2009 20:26:33 +0000 (20:26 +0000)]
* start implementing sending an error message if the notification fails...
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
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.
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
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.
Art Cancro [Tue, 30 Jun 2009 23:31:49 +0000 (23:31 +0000)]
* style cleanup
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.
Wilfried Göesgens [Sun, 28 Jun 2009 22:21:16 +0000 (22:21 +0000)]
* add custom notification targets config interface
Wilfried Göesgens [Sun, 28 Jun 2009 22:20:25 +0000 (22:20 +0000)]
* remove wrong \s
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
Wilfried Göesgens [Sun, 28 Jun 2009 13:29:57 +0000 (13:29 +0000)]
* fix NULL-pointer condition.
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
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
Wilfried Göesgens [Tue, 23 Jun 2009 18:48:42 +0000 (18:48 +0000)]
* add dtstamp to our calendar events
Wilfried Göesgens [Tue, 23 Jun 2009 15:55:49 +0000 (15:55 +0000)]
* revert r7633; its bullshit.
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.
Wilfried Göesgens [Tue, 23 Jun 2009 14:34:52 +0000 (14:34 +0000)]
* QP encode ical text fields; work on bug 351
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.
Wilfried Göesgens [Tue, 23 Jun 2009 10:52:42 +0000 (10:52 +0000)]
* add a strbuf'ed version of stripslashes
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.
Wilfried Göesgens [Mon, 22 Jun 2009 21:08:47 +0000 (21:08 +0000)]
* free the iconbar list on session kill
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
Art Cancro [Mon, 22 Jun 2009 20:16:16 +0000 (20:16 +0000)]
* NewStrBufPlain(HKEY(foo))
Art Cancro [Mon, 22 Jun 2009 20:05:18 +0000 (20:05 +0000)]
* -1 instead of 256 when allocating strbuf
Art Cancro [Mon, 22 Jun 2009 17:04:23 +0000 (17:04 +0000)]
* grr ... I did this wrong ... more fixes to come
Art Cancro [Mon, 22 Jun 2009 16:28:18 +0000 (16:28 +0000)]
* Noted where I need to make some fixes
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.
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.
Art Cancro [Fri, 19 Jun 2009 20:39:13 +0000 (20:39 +0000)]
* More style cleanup
Art Cancro [Fri, 19 Jun 2009 19:32:18 +0000 (19:32 +0000)]
* Added a \n where one was needed
Art Cancro [Fri, 19 Jun 2009 18:45:05 +0000 (18:45 +0000)]
* More style cleanup
Art Cancro [Fri, 19 Jun 2009 18:34:03 +0000 (18:34 +0000)]
* More style cleanup
Art Cancro [Fri, 19 Jun 2009 18:32:25 +0000 (18:32 +0000)]
* More style cleanup
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.
Art Cancro [Fri, 19 Jun 2009 16:47:14 +0000 (16:47 +0000)]
* ctdlsh: use getopt to allow -h directory
Wilfried Göesgens [Thu, 18 Jun 2009 21:34:50 +0000 (21:34 +0000)]
* save more memory
Wilfried Göesgens [Thu, 18 Jun 2009 19:36:04 +0000 (19:36 +0000)]
* upsi, wrong way arround.
Wilfried Göesgens [Thu, 18 Jun 2009 18:44:47 +0000 (18:44 +0000)]
* check reset filedescriptors before accessing them.
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?
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.
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.
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.
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.
Art Cancro [Wed, 17 Jun 2009 21:12:02 +0000 (21:12 +0000)]
* more temporary logging messages
Art Cancro [Wed, 17 Jun 2009 21:02:46 +0000 (21:02 +0000)]
* temporary tracing messages
Art Cancro [Wed, 17 Jun 2009 20:24:19 +0000 (20:24 +0000)]
* Style cleanup
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.
Art Cancro [Wed, 17 Jun 2009 18:17:03 +0000 (18:17 +0000)]
* added some socket stuff
Art Cancro [Wed, 17 Jun 2009 17:53:51 +0000 (17:53 +0000)]
* chmod 755 bootstrap
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.
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
Wilfried Göesgens [Tue, 16 Jun 2009 23:37:15 +0000 (23:37 +0000)]
* add macro to use conststrs to access hashes
Wilfried Göesgens [Tue, 16 Jun 2009 22:45:10 +0000 (22:45 +0000)]
* close table tag
Wilfried Göesgens [Tue, 16 Jun 2009 22:14:45 +0000 (22:14 +0000)]
* fix memory leaks in java treelist
Wilfried Göesgens [Tue, 16 Jun 2009 21:40:13 +0000 (21:40 +0000)]
* convert old preferences with deffective URLs on load.
Wilfried Göesgens [Tue, 16 Jun 2009 21:15:41 +0000 (21:15 +0000)]
* hunt down &'s that should be ?'s in URLs
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.
Art Cancro [Tue, 16 Jun 2009 20:31:44 +0000 (20:31 +0000)]
* Changed default start page to dotskip?room=_BASEROOM_
Wilfried Göesgens [Tue, 16 Jun 2009 20:08:07 +0000 (20:08 +0000)]
* shorten len if we shorten the buf
Wilfried Göesgens [Tue, 16 Jun 2009 19:25:42 +0000 (19:25 +0000)]
* clean up iconv decoding
Art Cancro [Tue, 16 Jun 2009 16:38:03 +0000 (16:38 +0000)]
* cleanup
Art Cancro [Tue, 16 Jun 2009 16:24:22 +0000 (16:24 +0000)]
* Style cleanup
Wilfried Göesgens [Mon, 15 Jun 2009 21:03:40 +0000 (21:03 +0000)]
* dump content after rendering it.
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.
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
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
Wilfried Göesgens [Sun, 14 Jun 2009 20:37:03 +0000 (20:37 +0000)]
* comparison was wrong, thanks sam.
Wilfried Göesgens [Sun, 14 Jun 2009 20:33:41 +0000 (20:33 +0000)]
* add strerror to our errormessage
Wilfried Göesgens [Sun, 14 Jun 2009 20:31:21 +0000 (20:31 +0000)]
* fix typo
Wilfried Göesgens [Sun, 14 Jun 2009 19:55:58 +0000 (19:55 +0000)]
* fix SSL Reading
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.
Wilfried Göesgens [Sun, 14 Jun 2009 17:50:31 +0000 (17:50 +0000)]
* create new roomview type: Drafts; this won't need subjects.
Wilfried Göesgens [Sun, 14 Jun 2009 17:45:35 +0000 (17:45 +0000)]
* fix typo in tools
* add new roomtype for drafts
Wilfried Göesgens [Sun, 14 Jun 2009 16:03:47 +0000 (16:03 +0000)]
* add Hungarian translation by Czakó Krisztián
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.
Wilfried Göesgens [Fri, 12 Jun 2009 23:07:57 +0000 (23:07 +0000)]
* select one choice of safe mode even if unset.
Wilfried Göesgens [Fri, 12 Jun 2009 15:14:50 +0000 (15:14 +0000)]
* specify image sizes for faster rendering
Wilfried Göesgens [Fri, 12 Jun 2009 13:52:58 +0000 (13:52 +0000)]
* shrinktofit template data
Wilfried Göesgens [Fri, 12 Jun 2009 09:04:56 +0000 (09:04 +0000)]
* don't abort search on empty string with success, continue.
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
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
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
Wilfried Göesgens [Fri, 12 Jun 2009 06:46:35 +0000 (06:46 +0000)]
* allow mimepart identifiers to be alphanumeric, as claimed by Sam
Wilfried Göesgens [Fri, 12 Jun 2009 06:27:31 +0000 (06:27 +0000)]
* don't touch the buffer if its empty.
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
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
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.
Wilfried Göesgens [Thu, 11 Jun 2009 18:03:07 +0000 (18:03 +0000)]
* iconbar saved template.
Wilfried Göesgens [Thu, 11 Jun 2009 17:54:01 +0000 (17:54 +0000)]
* templatize iconbar editing
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.
Wilfried Göesgens [Thu, 11 Jun 2009 14:49:54 +0000 (14:49 +0000)]
* be more paranoid and do memset 0 all our structs
Wilfried Göesgens [Thu, 11 Jun 2009 08:20:08 +0000 (08:20 +0000)]
* catch empty string conditions in tokens.
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
Wilfried Göesgens [Tue, 9 Jun 2009 22:37:03 +0000 (22:37 +0000)]
* be a bit more thorough with nulls