Art Cancro [Thu, 23 Jul 2009 16:06:24 +0000 (16:06 +0000)]
* serv_migrate.c: message encoding buffer is now static in order to avoid endlessly abusing malloc/free, and hopefully reduce the chances of heap corruption.
Matt [Thu, 23 Jul 2009 01:21:58 +0000 (01:21 +0000)]
Fix drag and drop bugs
Fix issue with IE8
Art Cancro [Wed, 22 Jul 2009 21:35:12 +0000 (21:35 +0000)]
* This change appears to restore ctrl-click's ability to deselect a currently selected message.
Wilfried Göesgens [Wed, 22 Jul 2009 20:25:39 +0000 (20:25 +0000)]
* fix room logo upload
Art Cancro [Wed, 22 Jul 2009 19:48:45 +0000 (19:48 +0000)]
* Began debugging the group select code. Several steps in the right direction, but it still needs more work...
Matt [Wed, 22 Jul 2009 03:55:22 +0000 (03:55 +0000)]
Fix another typo
Matt [Wed, 22 Jul 2009 00:28:48 +0000 (00:28 +0000)]
Fix reference to old ctdlrowid, fixes group select
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
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
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
Matt [Tue, 21 Jul 2009 03:46:26 +0000 (03:46 +0000)]
* Back out previous 'safe view default'
* mailbox now MANY times faster
Matt [Tue, 21 Jul 2009 03:43:52 +0000 (03:43 +0000)]
* Allow dragdrop attributes to be stored as XML attributes
Art Cancro [Mon, 20 Jul 2009 17:03:54 +0000 (17:03 +0000)]
* Add the account name to oida
Art Cancro [Mon, 20 Jul 2009 17:01:07 +0000 (17:01 +0000)]
* Added a command OIDA to dump all OpenID associations
Art Cancro [Sun, 19 Jul 2009 19:57:07 +0000 (19:57 +0000)]
* Additional OpenID logging
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
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
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.
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
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
Wilfried Göesgens [Thu, 16 Jul 2009 21:29:19 +0000 (21:29 +0000)]
* fix memleak.
Wilfried Göesgens [Thu, 16 Jul 2009 21:02:30 +0000 (21:02 +0000)]
* remove spurious char in token
Wilfried Göesgens [Thu, 16 Jul 2009 20:27:12 +0000 (20:27 +0000)]
* work around don''''''t
Wilfried Göesgens [Wed, 15 Jul 2009 22:18:25 +0000 (22:18 +0000)]
* fix the files application
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
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
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.
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
Wilfried Göesgens [Sun, 12 Jul 2009 13:49:40 +0000 (13:49 +0000)]
* fix typo in calculation of static directory / local css
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...)
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.