]>
code.citadel.org Git - citadel.git/log
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
Wilfried Göesgens [Tue, 9 Jun 2009 20:54:27 +0000 (20:54 +0000)]
* remove unneded enum
Wilfried Göesgens [Tue, 9 Jun 2009 20:35:39 +0000 (20:35 +0000)]
* fix some warnings just visible with -o2
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
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
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
Art Cancro [Tue, 9 Jun 2009 16:04:51 +0000 (16:04 +0000)]
* Fix '/*' found in comment
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.
Wilfried Göesgens [Sun, 7 Jun 2009 19:53:02 +0000 (19:53 +0000)]
* fix another buggy buffer increase
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.
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
Wilfried Göesgens [Thu, 4 Jun 2009 21:21:27 +0000 (21:21 +0000)]
* make shure our cached buffers aren't to big.
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.
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.
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.
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
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.
Art Cancro [Thu, 4 Jun 2009 18:33:47 +0000 (18:33 +0000)]
* Documented the undocumented server commands in msgbase.c