Dave West [Sun, 7 Sep 2008 14:49:53 +0000 (14:49 +0000)]
Don't attempt to purge Citadel SYStem users.
Wilfried Göesgens [Sun, 7 Sep 2008 12:11:30 +0000 (12:11 +0000)]
* UPPERCASE smtp commands. this fixes communication problems with alioth.debian.org
Wilfried Göesgens [Sat, 6 Sep 2008 11:54:56 +0000 (11:54 +0000)]
* depricate <?=subtemplate> in favour of <?=("subtemplate")> so our syntax is more persistant.
Wilfried Göesgens [Thu, 4 Sep 2008 19:06:21 +0000 (19:06 +0000)]
* Template debugging: load & parse template on each request
Wilfried Göesgens [Thu, 4 Sep 2008 17:49:41 +0000 (17:49 +0000)]
* made *bstr things const
* add DOTABBED api to the template stuff
* add sysconfig detemplater
* create a list of config settings, for hashing and reading from the query params.
* print empty lin with serv_puts to remove warnings.
Wilfried Göesgens [Thu, 4 Sep 2008 07:40:28 +0000 (07:40 +0000)]
* fix memleak in msgescputs; temporary StrBuf needs to be freed.
Art Cancro [Thu, 4 Sep 2008 01:59:23 +0000 (01:59 +0000)]
* Discovered that my system hasn't processed its refcount_adjustments queue in about six months, because a file called refcount_adjustments.dat2 was sitting around and keeping the link() command from succeeding. Fortunately, the code is robust enough to gracefully excuse itself from this situation without corrupting the database, but now I've got a six month backlog of refcount adjustments to process. Corrected this situation for anyone else who is having it, by putting a random number in the name of the temporary file.
* When displaying ref count deltas to the log, show +1 instead of just 1 for increments.
* Added a new command TDAP which can be used by an Aide to manually initiate a run of The Dreaded Auto-Purger.
Art Cancro [Tue, 2 Sep 2008 17:41:36 +0000 (17:41 +0000)]
Implemented RFC2919, the 'List-ID' field for mailing
lists. This is now a top-level Citadel header field (L), which makes
it parseable by the Sieve engine. Also added List-ID to the header
fields selectable in the mailbox filter rules editor. And of course,
we are generating this field when we send out traffic from a Citadel-hosted
mailing list. This also closes Bug #371.
Art Cancro [Tue, 2 Sep 2008 15:52:11 +0000 (15:52 +0000)]
Updated webcit vcard editor to handle syntaxes such as 'adr;type=work' without choking
Wilfried Göesgens [Tue, 2 Sep 2008 12:38:58 +0000 (12:38 +0000)]
* move serverrestart to templates
* make it return to the aide menu instead of knrooms
Wilfried Göesgens [Tue, 2 Sep 2008 10:50:50 +0000 (10:50 +0000)]
* close sockets on error, and abort execution
Art Cancro [Mon, 1 Sep 2008 21:59:55 +0000 (21:59 +0000)]
Feeble incremental work to the recurring event editor
Wilfried Göesgens [Mon, 1 Sep 2008 18:57:23 +0000 (18:57 +0000)]
* replace the aide menu by templated menus
Wilfried Göesgens [Sun, 31 Aug 2008 23:47:20 +0000 (23:47 +0000)]
* switch menubar to template
Wilfried Göesgens [Sun, 31 Aug 2008 20:59:38 +0000 (20:59 +0000)]
* cleaneup allocation
Wilfried Göesgens [Sun, 31 Aug 2008 20:10:34 +0000 (20:10 +0000)]
* cleanup shutdown procedure; free all structures and their properties
Wilfried Göesgens [Sun, 31 Aug 2008 20:09:39 +0000 (20:09 +0000)]
* free the icon structure too, not just its members
Wilfried Göesgens [Sun, 31 Aug 2008 18:58:34 +0000 (18:58 +0000)]
* fix leak
* fix section
Wilfried Göesgens [Sun, 31 Aug 2008 15:43:12 +0000 (15:43 +0000)]
* correct nsession counter display
Wilfried Göesgens [Sun, 31 Aug 2008 15:37:29 +0000 (15:37 +0000)]
* clean some memleaks
* prune static who code
* add summary wholist templates
Wilfried Göesgens [Sun, 31 Aug 2008 13:13:33 +0000 (13:13 +0000)]
* make who is online view via templates
Wilfried Göesgens [Sat, 30 Aug 2008 14:29:18 +0000 (14:29 +0000)]
* harmonize svput actions to be clean and use strbuf() as char* storage.
Wilfried Göesgens [Sat, 30 Aug 2008 14:21:56 +0000 (14:21 +0000)]
* add hint for future debugging season, so we remember that if it crashes while freeing a member we need to look at...
Wilfried Göesgens [Sat, 30 Aug 2008 07:25:42 +0000 (07:25 +0000)]
* migrate our iconbar wholist section to templates.
Art Cancro [Sat, 30 Aug 2008 04:57:03 +0000 (04:57 +0000)]
We now look for libical/ical.h instead of ical.h, because
that's where libical's build is putting it now. If this breaks
your build, please update libical from svn.
Wilfried Göesgens [Thu, 28 Aug 2008 23:24:54 +0000 (23:24 +0000)]
* move the pointer forward while selecting.
Wilfried Göesgens [Wed, 27 Aug 2008 23:01:15 +0000 (23:01 +0000)]
* quick check the email address for quoted printable encoding, so the de-qp'er doesn't jam our umlauts
Wilfried Göesgens [Wed, 27 Aug 2008 17:54:29 +0000 (17:54 +0000)]
* fix Hans Segfault.
Wilfried Göesgens [Wed, 27 Aug 2008 17:16:08 +0000 (17:16 +0000)]
* copy va_arg list as running the same vsnprintf over the same list doesn't work.
Wilfried Göesgens [Tue, 26 Aug 2008 18:52:30 +0000 (18:52 +0000)]
* don't call begin/end ajax response twice
* removed duplicate headers from begin_ajax_response
Wilfried Göesgens [Tue, 26 Aug 2008 11:25:37 +0000 (11:25 +0000)]
* bugfix reallocation msgescputs
Wilfried Göesgens [Mon, 25 Aug 2008 22:11:48 +0000 (22:11 +0000)]
* some pointer magic to get rid of warnings
Wilfried Göesgens [Mon, 25 Aug 2008 22:06:50 +0000 (22:06 +0000)]
* fix hickup with the floordiv_expanded setting; the way its now it shouldn't double free anymore; the hash does the freeing now.
Wilfried Göesgens [Mon, 25 Aug 2008 22:04:58 +0000 (22:04 +0000)]
* use & instead of ? for separating further url parameters
Wilfried Göesgens [Mon, 25 Aug 2008 21:35:38 +0000 (21:35 +0000)]
* fix StrMsgEscAppend
Wilfried Göesgens [Mon, 25 Aug 2008 20:29:22 +0000 (20:29 +0000)]
* DOBOX("subtemplate", "template_with_headerstring") added
* some more templates for replacing the whois online view added
Art Cancro [Mon, 25 Aug 2008 14:06:43 +0000 (14:06 +0000)]
Messages in the Local System Configuration room are now
immune to the auto-purger.
Wilfried Göesgens [Sun, 24 Aug 2008 23:04:15 +0000 (23:04 +0000)]
* fix some hickups in subst
* add wholist section template
Wilfried Göesgens [Sun, 24 Aug 2008 23:03:16 +0000 (23:03 +0000)]
* redid sprintf wrapper logic
Wilfried Göesgens [Sun, 24 Aug 2008 20:35:35 +0000 (20:35 +0000)]
* print the trail of the template
Wilfried Göesgens [Sun, 24 Aug 2008 19:42:28 +0000 (19:42 +0000)]
* fix leak in URL handler
Wilfried Göesgens [Sun, 24 Aug 2008 19:25:43 +0000 (19:25 +0000)]
* fix Nullpointer Access in msgescputs
* some smarter handling of conditional tokens
Wilfried Göesgens [Sun, 24 Aug 2008 18:55:04 +0000 (18:55 +0000)]
* don't use temp files while migrating aliases; we trade security here for performance; this fixes our portion of debian Bug #496359
Wilfried Göesgens [Sat, 23 Aug 2008 18:56:16 +0000 (18:56 +0000)]
* implement conditional switches; if true will skip to next "X" with the same value.
Wilfried Göesgens [Fri, 22 Aug 2008 17:07:57 +0000 (17:07 +0000)]
* two tiny leaks
Wilfried Göesgens [Fri, 22 Aug 2008 17:07:26 +0000 (17:07 +0000)]
* fix HTTPS; this broke while migrating the request data to strbuf
Art Cancro [Thu, 21 Aug 2008 02:17:07 +0000 (02:17 +0000)]
Minor adjustments to address book view -- fill in
missing columns at end if the total number of contacts
is not divisible by 4
Art Cancro [Thu, 21 Aug 2008 02:02:46 +0000 (02:02 +0000)]
Started developing the recurrence editor
Art Cancro [Thu, 21 Aug 2008 01:40:25 +0000 (01:40 +0000)]
when loading daystart/dayend, replace missing, corrupt, or impossible values with defaults
Art Cancro [Thu, 21 Aug 2008 01:24:15 +0000 (01:24 +0000)]
Adjusted the tabcontent and tabcontent_submit styles
in order to present everything as a nice tabbed dialog with a rounded
rectangular bottom instead of the ugly 'bottom tab' look previously displayed
by the tabcontent_submit div. All three dialogs that use this API now conform
to the new spec - one extra 'tab' at the end which is actually the submit div.
Art Cancro [Wed, 20 Aug 2008 17:46:33 +0000 (17:46 +0000)]
Changed the tabbed dialog API to include an epilogue that
can be used to display data common to all tabs, such as submit buttons.
Removed recurring event support from TECH_PREVIEW and moved into the mainline
code. Event editor tabs for Event/Attendees/Recurrence are now working, even
though the Recurrence tab doesn't yet display an editor, for now it just
displays the raw RRULE data.
Wilfried Göesgens [Wed, 20 Aug 2008 10:17:04 +0000 (10:17 +0000)]
* catch empty source string condition
Art Cancro [Wed, 20 Aug 2008 01:45:33 +0000 (01:45 +0000)]
When checking a proposed calendar event for conflicts,
recurrences are now expanded for both the proposed and existing events.
w00t\!\!
Wilfried Göesgens [Tue, 19 Aug 2008 23:28:53 +0000 (23:28 +0000)]
* fixes
* handle roomname via static callback instead of svprintf
Wilfried Göesgens [Tue, 19 Aug 2008 23:26:52 +0000 (23:26 +0000)]
* fix some minor flaws
Wilfried Göesgens [Tue, 19 Aug 2008 22:17:45 +0000 (22:17 +0000)]
* this does fancy stuff
Art Cancro [Tue, 19 Aug 2008 22:16:21 +0000 (22:16 +0000)]
Fixed a bug in previous commit (still commented out)
Wilfried Göesgens [Tue, 19 Aug 2008 21:47:20 +0000 (21:47 +0000)]
* upsi. its used elsewhere too.
Art Cancro [Tue, 19 Aug 2008 21:03:47 +0000 (21:03 +0000)]
Played around with recurrences in the conflict checker
(commented out until I can make it a bit more solid)
Wilfried Göesgens [Tue, 19 Aug 2008 20:23:02 +0000 (20:23 +0000)]
* use strbuffer stresc functions
Wilfried Göesgens [Tue, 19 Aug 2008 20:22:25 +0000 (20:22 +0000)]
* provide a strbuf version of the webcit escapers
Art Cancro [Tue, 19 Aug 2008 02:58:48 +0000 (02:58 +0000)]
Split up the conflict checker again, this time into six different
functions. Right now it looks like excessive modularity, but over the next couple of commits I'll
be adding expansion of recurrences in both the proposed and existing events. Now this can be done
without making the code unreadable.
Wilfried Göesgens [Mon, 18 Aug 2008 20:14:21 +0000 (20:14 +0000)]
* inspect our templates too.
Wilfried Göesgens [Mon, 18 Aug 2008 19:47:07 +0000 (19:47 +0000)]
* migrate the WHO struct to strbuf
* add SVPUTBuf() which can handle strbuffers
* register the ITERATOR("WHO")
* provide tokens via the who iterator func: WHO:NAME, WHO:ROOM, WHO:HOST, WHO:REALROOM, WHO:REALHOST, WHO:LASTACTIVE, WHO:SESSION, WHO:IDLE, WHO:NSESSIONS
* some fixes to do_template, and the whole other stuff
Wilfried Göesgens [Sun, 17 Aug 2008 22:34:33 +0000 (22:34 +0000)]
* dug out the missing RSS Templats from uncensored
Wilfried Göesgens [Sun, 17 Aug 2008 15:21:42 +0000 (15:21 +0000)]
* correct all GetNextHashPos() calls to have const chars
* new template callback: ITERATE("iterator", "subtemplate",...); its to iterate over registered hashlists
* new RegisterIterator() call; use this to register your hashlist with the ITERATE functionality
Wilfried Göesgens [Sun, 17 Aug 2008 15:17:20 +0000 (15:17 +0000)]
* return a const char instead
Wilfried Göesgens [Sun, 17 Aug 2008 10:53:12 +0000 (10:53 +0000)]
* add new 'Context' Parameter to the template call
* add PREF:VALUE("ConvigValueName") which will give you the value of a config
* add PREF:DESCR("ConfigValueName") which will give you the locale string describing that setting
Wilfried Göesgens [Sat, 16 Aug 2008 17:45:26 +0000 (17:45 +0000)]
* now template tokens can work as functions, you can add params to them after in ("sometext", 1337) so template hooks can be steered from the templates
* added implicit _("foo") function that will look up 'foo' with gettext and print its local representation
Wilfried Göesgens [Sat, 16 Aug 2008 17:41:40 +0000 (17:41 +0000)]
* New StrBufPeek function to replace a special char inside of the string
* New AppendPrintf function so if one doesn't want to use wprintf...
Matt [Thu, 14 Aug 2008 21:38:39 +0000 (21:38 +0000)]
Move instant_messenger back
Matt [Thu, 14 Aug 2008 10:59:11 +0000 (10:59 +0000)]
Move the rest of the templates into 't' as with dothebart's previous commit.
If any should still be in static/ (i.e like nocookies) just move them back.
Wilfried Göesgens [Thu, 14 Aug 2008 06:24:05 +0000 (06:24 +0000)]
* migrate SERV_* to global callback replacers
Wilfried Göesgens [Tue, 12 Aug 2008 21:56:39 +0000 (21:56 +0000)]
* move templates to static/t/ ; made make install target respect this
* load templates on webcit start into memory
Wilfried Göesgens [Mon, 11 Aug 2008 23:05:56 +0000 (23:05 +0000)]
* cache templates
* use strbuf
Art Cancro [Mon, 11 Aug 2008 21:03:26 +0000 (21:03 +0000)]
calendar server -- further split up the conflict checker
(was two functions, is now three) in order to prepare for handling
recurring events. I might split it up even further.
Art Cancro [Mon, 11 Aug 2008 19:57:40 +0000 (19:57 +0000)]
The CtdlWriteObject() API no longer uses a temp file
Wilfried Göesgens [Sat, 9 Aug 2008 10:54:30 +0000 (10:54 +0000)]
* this one needs to be zeroed too
Wilfried Göesgens [Fri, 8 Aug 2008 20:37:20 +0000 (20:37 +0000)]
* copy statistic inforations too...
Matt [Fri, 8 Aug 2008 10:33:36 +0000 (10:33 +0000)]
Fixes for GroupDAV and hprintf
- groupdav_common_headers now hprintf
- new function: hurlescputs (hprintf'ed urlescputs)
Matt [Wed, 6 Aug 2008 12:21:03 +0000 (12:21 +0000)]
update for hprintf
Wilfried Göesgens [Wed, 6 Aug 2008 06:48:05 +0000 (06:48 +0000)]
* first aproach to formalize preferences; modules can now register preferences and their string representation; fancy that this is doing well with gettext ;)
Wilfried Göesgens [Tue, 5 Aug 2008 19:22:10 +0000 (19:22 +0000)]
* remove locales from the login window if webcit isn't able to load it.
Wilfried Göesgens [Tue, 5 Aug 2008 18:29:52 +0000 (18:29 +0000)]
* upsi. this line copying mustn't be in there.
Wilfried Göesgens [Tue, 5 Aug 2008 18:21:48 +0000 (18:21 +0000)]
* mute /sslg and /wholist_section from logging when in debug mode since it floods the debugger window.
Art Cancro [Tue, 5 Aug 2008 16:55:58 +0000 (16:55 +0000)]
When determining the week start day for the rendering
of a monthly calendar, check to see if the weekstart value from
preferences is higher than 6. If so, use a value of 0 (Sunday)
instead of actively looping forever in a futile search for an
invalid wday.
Wilfried Göesgens [Mon, 4 Aug 2008 22:47:54 +0000 (22:47 +0000)]
* ig made it.
Wilfried Göesgens [Sun, 3 Aug 2008 20:54:42 +0000 (20:54 +0000)]
* abstract setting per room preferences
* migrate mbox sortorder to the new abstraction
* add default addressbook selector, so the user gets the last selected addressbook again (html doesn't work yet)
Wilfried Göesgens [Sun, 3 Aug 2008 20:52:08 +0000 (20:52 +0000)]
* add method to duplicate stringbuffer
Wilfried Göesgens [Sun, 3 Aug 2008 18:38:23 +0000 (18:38 +0000)]
* remove Dave's SYS_ users from the addressbookpopup, since you don't want to send them emails
Wilfried Göesgens [Sun, 3 Aug 2008 18:06:36 +0000 (18:06 +0000)]
* migrate bstr backend to strbuf
* add more DBG_* defines around hash log printers
* create ENT0 headers with strbuf
Wilfried Göesgens [Sun, 3 Aug 2008 18:04:22 +0000 (18:04 +0000)]
* add VALGRIND flag to debian debug flag to make valgrind produce less noise in the hashlist
* add QP encoding to strbuf
Matt [Sun, 3 Aug 2008 11:32:41 +0000 (11:32 +0000)]
mass mobile update, interface cleanup and restyling.
Matt [Sun, 3 Aug 2008 09:47:20 +0000 (09:47 +0000)]
Added opera 9.5b1/winmobile user agent to mobile clients, is_mobile now a
TECH_PREVIEW
Wilfried Göesgens [Sat, 2 Aug 2008 11:38:19 +0000 (11:38 +0000)]
* fix new wprintf backend to handle buffer increases
Wilfried Göesgens [Thu, 31 Jul 2008 21:15:44 +0000 (21:15 +0000)]
* several memoryleaks
Wilfried Göesgens [Thu, 31 Jul 2008 21:15:04 +0000 (21:15 +0000)]
* close directory
Wilfried Göesgens [Wed, 30 Jul 2008 22:22:58 +0000 (22:22 +0000)]
* hook init function calls to the same define
Wilfried Göesgens [Wed, 30 Jul 2008 22:19:04 +0000 (22:19 +0000)]
* #if out the printing of the handler hash at system start; if s.b. needs it for debugging purposes, its still there.
* Flush hash on shutdown.
Art Cancro [Wed, 30 Jul 2008 21:48:09 +0000 (21:48 +0000)]
* debug messages now show serialized recurrence rules
* Event editor dialog is now tabbed Event/Attendees/Recurrence when
running in TECH_PREVIEW mode. Attendees are *not* yet moved into
the Attendees tab. Recurrence rules are shown as serialized iCalendar
code rather than as an actual usable editor.