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.
Art Cancro [Wed, 10 Dec 2008 22:51:57 +0000 (22:51 +0000)]
* Trying to suppress some const warnings, not there yet...
Art Cancro [Wed, 10 Dec 2008 22:37:07 +0000 (22:37 +0000)]
* When generating invitations, include VTIMEZONE subcomponents
Wilfried Göesgens [Mon, 8 Dec 2008 22:40:33 +0000 (22:40 +0000)]
* ignore path/suff/pref headers.
Art Cancro [Mon, 8 Dec 2008 22:16:14 +0000 (22:16 +0000)]
* Shuffled some code around in serv_calendar.c
We are preparing to add VTIMEZONE subcomponents to
meeting invitations when necessary. (Not done yet but it
compiles and the changes are harmless.)
Wilfried Göesgens [Mon, 8 Dec 2008 22:08:25 +0000 (22:08 +0000)]
* if we need the first urlpart, we musn't move it just left, but add another one at the end.
Wilfried Göesgens [Mon, 8 Dec 2008 21:16:49 +0000 (21:16 +0000)]
* fix messageselectomatic.
Art Cancro [Mon, 8 Dec 2008 17:10:44 +0000 (17:10 +0000)]
Created webcit-738-stable branch
Wilfried Göesgens [Sun, 7 Dec 2008 23:27:13 +0000 (23:27 +0000)]
* make readloop long-controlled
* move param-dependant code into callback hooks
* migrate all places to the new enums fed into readloop
Wilfried Göesgens [Sun, 7 Dec 2008 23:25:04 +0000 (23:25 +0000)]
* *grml* always tried to avoid this, but can't live without...
Wilfried Göesgens [Sun, 7 Dec 2008 11:34:05 +0000 (11:34 +0000)]
* follow api-change in several places
* new longint-vector replacer if you just want to blast some numbers in tiny templates
* urlpart replacers so you can easily reference the actual api-name in templates (actualy needs to be enabled by the registerer of the api callback)
* cleanup and templatize the bbview-selector bar
Wilfried Göesgens [Sun, 7 Dec 2008 11:30:15 +0000 (11:30 +0000)]
* follo hashiterator api-change
Wilfried Göesgens [Sun, 7 Dec 2008 11:29:43 +0000 (11:29 +0000)]
* Allow hashiterator to do bigger steps than 1 and to go reverse
-> API-Change
Art Cancro [Sat, 6 Dec 2008 18:39:06 +0000 (18:39 +0000)]
* Remove ALL calendar recipient crapola in
parentheses, not just the first one. Fixes bug 437.
Art Cancro [Sat, 6 Dec 2008 18:26:46 +0000 (18:26 +0000)]
* Eliminated the ical_add() function, because it
had been reduced down to one line of code and was
no longer making sense as a separate function.
Art Cancro [Fri, 5 Dec 2008 20:11:17 +0000 (20:11 +0000)]
* UPDATE YOUR LIBICAL FROM SVN NOW.
We are now making use of the new libical function icaltimezone_set_tzid_prefix()
which allows the application to customize the namespace of tzid's generated
from the host operating system's tzdata, for example:
/citadel.org/Tzdata/America/New_York
Matt [Fri, 5 Dec 2008 05:57:44 +0000 (05:57 +0000)]
Big brown paper bag: unbreak groupdav propfinds (my fault!)
Matt [Fri, 5 Dec 2008 00:36:52 +0000 (00:36 +0000)]
Fix HTTP Basic auth
Art Cancro [Wed, 3 Dec 2008 18:53:48 +0000 (18:53 +0000)]
* When encapsulating a VEVENT into a full VCALENDAR
component, all TZID's referenced in timestamps are now also
encapsulated into the VCALENDAR component, making the component
fully portable across time zones. The sun is shining, birds are
chirping, free ice cream is being distributed on streetcorners, and
things are just generally good all around. For now.
Art Cancro [Wed, 3 Dec 2008 03:42:13 +0000 (03:42 +0000)]
* Correctly set ;TZID= parameter on any date properties being
encapsulated. Store the timezone in an array so we know to attach
it later. TODO: populate the newly attached VTIMEZONE subcomponents.
Art Cancro [Tue, 2 Dec 2008 23:08:20 +0000 (23:08 +0000)]
* ical_encapsulate_subcomponent() now knows when it is responsible
for attaching a timezone parameter to a property. Next we have to
actually do so.
Wilfried Göesgens [Tue, 2 Dec 2008 22:46:27 +0000 (22:46 +0000)]
* load_seen is our only condition for tagging messages
* init startmsg
Wilfried Göesgens [Tue, 2 Dec 2008 21:47:10 +0000 (21:47 +0000)]
* fix self service account button
* fix important message handler
Art Cancro [Tue, 2 Dec 2008 21:38:52 +0000 (21:38 +0000)]
* Attach an icaltimezone pointer to any icaltimetype value
converted by icaltime_from_webform(). This will later
be detected so we can attach time zone data.
Art Cancro [Tue, 2 Dec 2008 20:17:09 +0000 (20:17 +0000)]
* Minor formatting change
Art Cancro [Tue, 2 Dec 2008 19:27:43 +0000 (19:27 +0000)]
* Simplified icaltime_from_webform()
Removed some unnecessary extra steps and variables
Wilfried Göesgens [Mon, 1 Dec 2008 22:55:13 +0000 (22:55 +0000)]
* sometimes switches need break statements.
Wilfried Göesgens [Mon, 1 Dec 2008 22:43:35 +0000 (22:43 +0000)]
* upsie, forgot to add that.
Art Cancro [Mon, 1 Dec 2008 21:40:26 +0000 (21:40 +0000)]
Log an error message when ical_encapsulate_subcomponent() is
called with a component that is already a top-level VCALENDAR