Wilfried Göesgens [Sat, 10 Jan 2009 18:04:27 +0000 (18:04 +0000)]
* realize types in preferences like thought at the start
* spread preferences over to their belonging modules in their startup hooks.
Matt [Sat, 10 Jan 2009 11:12:59 +0000 (11:12 +0000)]
add other statics from wc-sv branch, cutover for iconbar happens next
Matt [Sat, 10 Jan 2009 10:43:43 +0000 (10:43 +0000)]
copy wcpref.js from wc-summ branch to trunk
Wilfried Göesgens [Sat, 10 Jan 2009 10:13:23 +0000 (10:13 +0000)]
* merge in matts r6917 so it doesn't colide with ongoing changes.
Wilfried Göesgens [Fri, 9 Jan 2009 21:33:36 +0000 (21:33 +0000)]
* move addressbook popup code back from trailing javascript; its not printed in this usecase.
* did 'svn -R propset svn:ignore -F .svnignore .' to activate .svnignore.
Wilfried Göesgens [Fri, 9 Jan 2009 21:23:35 +0000 (21:23 +0000)]
! this token has to be renamed.
Wilfried Göesgens [Fri, 9 Jan 2009 18:12:01 +0000 (18:12 +0000)]
* fix = that should be ==
Wilfried Göesgens [Fri, 9 Jan 2009 17:31:42 +0000 (17:31 +0000)]
! fix bug with gotoroom introduced in the last version. Thanks Matt for pointing me there.
Wilfried Göesgens [Thu, 8 Jan 2009 23:11:56 +0000 (23:11 +0000)]
* move some more vars from the session context to strbuf (the use of StrBufAppendTemplate demands this)
* move the default template params to a standard structure, so adding further controll structures here gets more easy
* move some cases to GetServerStatus() to evaluate the server status feedback to queries.
Art Cancro [Thu, 8 Jan 2009 22:52:01 +0000 (22:52 +0000)]
* Fixed some JavaScript syntax that JSLint [jslint.com] complained about
Art Cancro [Thu, 8 Jan 2009 20:00:19 +0000 (20:00 +0000)]
* Applied patch submitted by 'uplink' to ignore spurious From: lines that may appear in digests.
Art Cancro [Thu, 8 Jan 2009 17:34:36 +0000 (17:34 +0000)]
* Updated is_bogus() with an exploit I happen to be seeing a lot of today.
Art Cancro [Wed, 7 Jan 2009 21:46:27 +0000 (21:46 +0000)]
* Tasks in summary view are now clickable too. I also found the bug report; it was an internal report at my office rather than something in Bugzilla. Closed it.
Art Cancro [Wed, 7 Jan 2009 17:58:34 +0000 (17:58 +0000)]
* Calendar events in the summary view are now clickable.
Art Cancro [Wed, 7 Jan 2009 17:31:59 +0000 (17:31 +0000)]
* Eliminated an extra, unecessary call to begin_burst
Art Cancro [Wed, 7 Jan 2009 16:15:12 +0000 (16:15 +0000)]
* Any URL may now contain a parameter called 'gotofirst' which specifies a room in which the operation should be carried out. If present, a GOTO to that room will be performed prior to attempting any other action.
Art Cancro [Wed, 7 Jan 2009 16:10:19 +0000 (16:10 +0000)]
* Some of the 'security check failed' errors need an extra newline between the headers and text of the message
Art Cancro [Tue, 6 Jan 2009 21:40:08 +0000 (21:40 +0000)]
* Attempting to fix the preferences screen. Correct values don't seem to be loaded, but they save ok.
Art Cancro [Tue, 6 Jan 2009 19:52:00 +0000 (19:52 +0000)]
* Once the iconbar-embedded wholist was enabled, it became impossible to turn it off again. Fixed.
Art Cancro [Tue, 6 Jan 2009 19:42:16 +0000 (19:42 +0000)]
* Iconbar embedded wholist javascript moved to 'trailing javascript' section of the page
Matt [Tue, 6 Jan 2009 10:14:26 +0000 (10:14 +0000)]
+ New function: StrECMAEscAppend, does string escaping for javascript output, things like " -> \" etc.
! changed the if in StrIsNumber to be the other, sensible way around.. I don't use this func anymore however.
Art Cancro [Tue, 6 Jan 2009 04:14:37 +0000 (04:14 +0000)]
* Restored the original date/time display behavior by replacing DATESTR template variable with DATEBRIEF (for summary views) and DATEFULL (for the full date/time to be displayed in messages).
Art Cancro [Mon, 5 Jan 2009 21:30:46 +0000 (21:30 +0000)]
* locate_user_vcard() wasn't using either of its supplied parameters. Removed the parameters and renamed the function to locate_user_vcard_in_this_room()
Art Cancro [Mon, 5 Jan 2009 21:10:21 +0000 (21:10 +0000)]
* icaltime_from_webform_date_only() now does that too. The edge case doesn't apply here, but the code is cleaner anyway.
Art Cancro [Mon, 5 Jan 2009 21:04:57 +0000 (21:04 +0000)]
* icaltime_from_webform() now populates struct icaltimetype directly instead of converting tm->time_t->icaltimetype. This fixes an edge case where the user submits a date that falls during DST but the *current* date is not DST, or vice versa; the old code got it wrong in this case.
Art Cancro [Sun, 4 Jan 2009 02:38:03 +0000 (02:38 +0000)]
* libcurl operations now timeout after 180 seconds instead of hanging the calling thread forever.
Art Cancro [Fri, 2 Jan 2009 19:06:48 +0000 (19:06 +0000)]
* Convert all freebusy data to UTC prior to output
Art Cancro [Fri, 2 Jan 2009 17:43:32 +0000 (17:43 +0000)]
* Cleaned up some overly verbose log messages
Art Cancro [Thu, 1 Jan 2009 23:08:45 +0000 (23:08 +0000)]
* start tinkering with timezones in freebusy
Art Cancro [Thu, 1 Jan 2009 21:55:30 +0000 (21:55 +0000)]
* Implemented recurrence in freebusy display. todo: convert timezones to utc...
Wilfried Göesgens [Thu, 1 Jan 2009 21:09:12 +0000 (21:09 +0000)]
* add gettext tokens to the tabbed api
* remove all templates that just contain translated strings needed before...
* exit configure if openssl features were requested, but the library wasn't detected.
Wilfried Göesgens [Thu, 1 Jan 2009 19:16:37 +0000 (19:16 +0000)]
* modify gettext parameter syntax to skip () so, its now <?SOME:TOKEN(12343, _("transateme"), "snaotuh")>
Art Cancro [Wed, 31 Dec 2008 21:54:16 +0000 (21:54 +0000)]
* Different approach for freebusy and recurring events ... this will be easier
Art Cancro [Wed, 31 Dec 2008 20:24:27 +0000 (20:24 +0000)]
Updated various copyright notices to 2009. Happy GNU Year.
Wilfried Göesgens [Wed, 31 Dec 2008 14:37:38 +0000 (14:37 +0000)]
* fix trailing string appending in URLIZING for plaintext.
Wilfried Göesgens [Mon, 29 Dec 2008 22:49:38 +0000 (22:49 +0000)]
* add a destructor, else we will loose memory.
Art Cancro [Mon, 29 Dec 2008 20:55:40 +0000 (20:55 +0000)]
* Fixed a bug introduced by the previous commit; timestamps with floating time could cause an infinite loop
Art Cancro [Mon, 29 Dec 2008 16:59:57 +0000 (16:59 +0000)]
* More cleanup prep for freebusy overhaul
Art Cancro [Mon, 29 Dec 2008 16:49:45 +0000 (16:49 +0000)]
* Began preparing freebusy generation for recurring events. It does _something_ now but the data is obviously incorrect.
Wilfried Göesgens [Sat, 27 Dec 2008 23:19:17 +0000 (23:19 +0000)]
* add first draft of group-change detection
* templatize downloads
Art Cancro [Sat, 27 Dec 2008 06:04:10 +0000 (06:04 +0000)]
* serv_calendar.c: conflict checker is now timezone aware.
Art Cancro [Sat, 27 Dec 2008 04:45:14 +0000 (04:45 +0000)]
* serv_calendar.c: simplified one of the conditionals and eliminated a 'should never get here' section
Art Cancro [Sat, 27 Dec 2008 04:28:00 +0000 (04:28 +0000)]
* database.c: removed some code that had been commented out for a long time
Wilfried Göesgens [Fri, 26 Dec 2008 15:42:49 +0000 (15:42 +0000)]
* --pedantic cleanup.
* move several files headers out of webcit.h into their own ones. its getting to crowded over there.
Wilfried Göesgens [Fri, 26 Dec 2008 13:59:37 +0000 (13:59 +0000)]
* hide message headers if not -T n & 0x2 != 0
* fix message selector (finaly :(
Wilfried Göesgens [Fri, 26 Dec 2008 13:58:30 +0000 (13:58 +0000)]
* fix iteration
Art Cancro [Fri, 26 Dec 2008 07:11:54 +0000 (07:11 +0000)]
* Added another way for recurrence to be forced out of scope during conflict checking: if a conflict is reported, force the recurrence out of scope because there is no point in comparing any further recurrences of the same event pair.
Wilfried Göesgens [Thu, 25 Dec 2008 00:40:45 +0000 (00:40 +0000)]
* don't shut down webcit in the timeout signal handler, sincee we need to serve the "citserver is gone" webpage so the user know what to do...
Wilfried Göesgens [Wed, 24 Dec 2008 14:01:34 +0000 (14:01 +0000)]
* remove msgids from handling
* make the sorting stuff putbstr, so its all in one place.
* more case() instead of continues if(is_foo)
Wilfried Göesgens [Wed, 24 Dec 2008 10:46:20 +0000 (10:46 +0000)]
* fix dropdown
* demand url parameters on goto* and friends
* add function to overwrite url params
* adjust the actual url so we don't gotonext on selecting s.th. from the dropdown
Wilfried Göesgens [Wed, 24 Dec 2008 10:42:57 +0000 (10:42 +0000)]
* adjust backward iterating
Art Cancro [Tue, 23 Dec 2008 18:29:12 +0000 (18:29 +0000)]
* Conflict checker loop now stops iterating over existing events when it goes out of scope for the proposed event. Saves a lot of time but it's still taking too long. And we also need to make it timezone aware.
Art Cancro [Tue, 23 Dec 2008 05:08:05 +0000 (05:08 +0000)]
* WebDAV PROPFIND method now offers the <getlastmodified> property on individual messages, both individually and as part of a collection. This is not necessary for GroupDAV (and probably not for CalDAV either) but for ordinary WebDAV it's nice to see. Also helpful for debugging with clients like Cadaver.
Art Cancro [Mon, 22 Dec 2008 22:39:17 +0000 (22:39 +0000)]
* Alert the reader to recurrences in invitations.
Art Cancro [Mon, 22 Dec 2008 22:30:51 +0000 (22:30 +0000)]
* Added 'overflow:hidden' to the stylesheet for 'mimepart' divs. This prevents the insanely long URL's included in Google Calendar invitations from running outside the box and all over the screen.
Art Cancro [Mon, 22 Dec 2008 22:14:57 +0000 (22:14 +0000)]
* When displaying calendar attachments embedded inside an email message, call ical_dezonify() to convert all timestamps to UTC. It's safe to do this because we're only effecting that single display instance -- when we act on that object, the server will be working with its own copy.
Art Cancro [Mon, 22 Dec 2008 16:29:05 +0000 (16:29 +0000)]
* ICAL PUTICS mode is now working properly with timezones. Each VTIMEZONE attached to a bulk calendar is now kept in memory during the operation, and attached to any individual VEVENT or VTODO component containing tzid= properties which refer to them. In the event of a tzid= parameter which refers to a timezone that was not supplied, we also attempt to find the timezone in our built-in tzdata.
Art Cancro [Mon, 22 Dec 2008 15:30:51 +0000 (15:30 +0000)]
* The way I was doing this was stupid. Backed the code
out. This should be a hash table.
Wilfried Göesgens [Sat, 20 Dec 2008 23:53:31 +0000 (23:53 +0000)]
* shortcut notation to tokens for hashkeys; TKEY(n) will make str,len for Hash access
* some fixups to the message dropdown selectors
Wilfried Göesgens [Sat, 20 Dec 2008 23:50:08 +0000 (23:50 +0000)]
* handle negative index condition
Wilfried Göesgens [Sat, 20 Dec 2008 18:29:24 +0000 (18:29 +0000)]
* msg_is_in_mset isn't here
* move load_seen into its own function
Wilfried Göesgens [Sat, 20 Dec 2008 18:26:18 +0000 (18:26 +0000)]
* const this one too...
Wilfried Göesgens [Sat, 20 Dec 2008 18:18:42 +0000 (18:18 +0000)]
* const mset pointer, as we don't need to write on it.
Wilfried Göesgens [Sat, 20 Dec 2008 17:15:55 +0000 (17:15 +0000)]
* remove accidently committed test stuff
* NULL that strbuf..
Art Cancro [Sat, 20 Dec 2008 00:25:57 +0000 (00:25 +0000)]
* mk_svn_revision.sh not barf on non-bash
Art Cancro [Fri, 19 Dec 2008 17:53:06 +0000 (17:53 +0000)]
* ICAL 'putics' mode - did most of the work for re-encapsulating VEVENT and VTODO components properly for distribution into individual messages. Enumerating the TZID's of needed VTIMEZONES, but not yet actually attaching them...
Art Cancro [Fri, 19 Dec 2008 04:05:49 +0000 (04:05 +0000)]
* ICAL 'getics' mode (which is used for downloading the
entire calendar, e.g. when doing a WebCal fetch) now suppresses
duplicate VTIMEZONE components which carry the same TZID.
Art Cancro [Fri, 19 Dec 2008 03:45:02 +0000 (03:45 +0000)]
* Suppress display of zero-length Berkeley DB log messages
Wilfried Göesgens [Thu, 18 Dec 2008 22:52:58 +0000 (22:52 +0000)]
* split serialize/deserialize from message load/control logic so we can reuse this for system preferences.
Wilfried Göesgens [Thu, 18 Dec 2008 22:34:10 +0000 (22:34 +0000)]
* fix signature attachig in message composing
Wilfried Göesgens [Thu, 18 Dec 2008 20:32:04 +0000 (20:32 +0000)]
* add conditional for whether a preference value is set or not...
* avoid to get into the "other case" situation where possible
Art Cancro [Thu, 18 Dec 2008 05:18:44 +0000 (05:18 +0000)]
* ical 'getics' now frees the icalcomponent data
after serializing it but before transmitting it to
the client. TODO: suppress duplicate VTIMEZONE components
Matt [Wed, 17 Dec 2008 10:03:30 +0000 (10:03 +0000)]
Revert new appendsize check for StrBufAppendBufPlain
Wilfried Göesgens [Mon, 15 Dec 2008 19:44:43 +0000 (19:44 +0000)]
* sanitize offset
Matt [Mon, 15 Dec 2008 05:17:30 +0000 (05:17 +0000)]
fix (no subject) for blank message subjects
Wilfried Göesgens [Sun, 14 Dec 2008 22:06:53 +0000 (22:06 +0000)]
* fix addressbook view. where did this get lost?
Wilfried Göesgens [Sun, 14 Dec 2008 22:04:50 +0000 (22:04 +0000)]
* fix some conditions with unassigned variable access
Wilfried Göesgens [Sun, 14 Dec 2008 21:07:35 +0000 (21:07 +0000)]
* some tiny cleanups...
Matt [Sun, 14 Dec 2008 12:25:54 +0000 (12:25 +0000)]
As per dothebart's advice, revise StrBufIsNumber to check for NULL buffer, no longer use strlen
Matt [Sun, 14 Dec 2008 11:59:51 +0000 (11:59 +0000)]
simple function to check if entire buffer is purely numbers
Wilfried Göesgens [Sat, 13 Dec 2008 22:48:49 +0000 (22:48 +0000)]
* remove libz code, libcitadel does this the right way now.
Wilfried Göesgens [Sat, 13 Dec 2008 22:37:50 +0000 (22:37 +0000)]
* remove libz crap, libcitadel does this now.
Wilfried Göesgens [Sat, 13 Dec 2008 22:36:33 +0000 (22:36 +0000)]
* link libz if we detect it.
Wilfried Göesgens [Sat, 13 Dec 2008 18:59:52 +0000 (18:59 +0000)]
* typedef wcsession, so we don't always need to say gcc again its a struct.
* removed faster blabla comments, since we should know it meanwhile.
Wilfried Göesgens [Sat, 13 Dec 2008 18:39:49 +0000 (18:39 +0000)]
* BIG shuffle:
* move several mimepart handlers to messages.c
* move utility string formating stuff into utils.c; hopefully we get rid of that one day because of everything using strbuf
* moved vcard stuff out of messages.c into vcard_edit.c
* did some late followups of the urlhash (how did they get through?)
* move binary downloads / viewing function into downloads.c
->webcit.c is getting small ;)
Wilfried Göesgens [Sat, 13 Dec 2008 14:04:51 +0000 (14:04 +0000)]
* don't ignore the last char of a template
* don't access aray indexes before chcking them.
Wilfried Göesgens [Sat, 13 Dec 2008 13:43:19 +0000 (13:43 +0000)]
* StrBufExtract_token wouldn't reset its target buffer in all conditions.
Wilfried Göesgens [Sat, 13 Dec 2008 13:05:58 +0000 (13:05 +0000)]
* add modifier evaluaton to the implicit conditional
Wilfried Göesgens [Sat, 13 Dec 2008 11:22:38 +0000 (11:22 +0000)]
* rename RFCA Conditional so it matches the naming conventions
Wilfried Göesgens [Sat, 13 Dec 2008 11:08:24 +0000 (11:08 +0000)]
* remove last remains of the separate attachment struct
Wilfried Göesgens [Sat, 13 Dec 2008 10:43:38 +0000 (10:43 +0000)]
* add matts iterator
Wilfried Göesgens [Sat, 13 Dec 2008 10:29:42 +0000 (10:29 +0000)]
* add counter and lastn to iterators:
ITERATE:N -> number of actual element in list
ITERATE:LASTN -> is this the last member?
evaluate it with ?("COND:SUBST", n, "ITERATE:LASTN", 1)
Art Cancro [Fri, 12 Dec 2008 18:05:08 +0000 (18:05 +0000)]
Moved webcit-738-stable branch to the same level as the other branches
Wilfried Göesgens [Thu, 11 Dec 2008 23:02:39 +0000 (23:02 +0000)]
* more files to be removed...
Wilfried Göesgens [Thu, 11 Dec 2008 22:33:54 +0000 (22:33 +0000)]
* don't distribute machine dependend stuff...
Wilfried Göesgens [Thu, 11 Dec 2008 22:13:50 +0000 (22:13 +0000)]
* buyebye pullquote message... byebye duplicate bugs...
Wilfried Göesgens [Thu, 11 Dec 2008 21:53:23 +0000 (21:53 +0000)]
* fix attachments forwarding
Art Cancro [Thu, 11 Dec 2008 04:19:08 +0000 (04:19 +0000)]
* Still trying to clean up compiler warnings
Art Cancro [Thu, 11 Dec 2008 04:02:31 +0000 (04:02 +0000)]
* Eliminated some gcc-isms
Wilfried Göesgens [Thu, 11 Dec 2008 00:00:36 +0000 (00:00 +0000)]
* load attachments in forwarded messages
* just one mime struct should fit it all.