Art Cancro [Sat, 16 May 2009 04:06:04 +0000 (04:06 +0000)]
* Titles and descriptions for site configuration tabs are now divs with class 'conftitle' and 'confdescr' instead of H1 and H2 blocks. Added CSS declarations for these styles. Now they don't look obtusely large anymore.
Art Cancro [Fri, 15 May 2009 21:29:56 +0000 (21:29 +0000)]
* CSS changes to make the rounded boxes look like rounded boxes, even on IE8, which broke them (again). Fuck Microsoft. Where's a multi-megaton nuke when I need one?
* output the mime type of the tepmlate in read_message so we can have different ones
* switch msg to set the mimetype of the template
* add eDELETE HTTP Command to msg so we can do exactly that in this situation. previously executed stuff needs to let this through to there.
Art Cancro [Tue, 12 May 2009 21:31:44 +0000 (21:31 +0000)]
* Fixed a bug that caused vnotes not to display when encapsulated in multipart/alternative because mime_content_type was used where msg4_content_type should have been used.
Art Cancro [Tue, 12 May 2009 20:53:36 +0000 (20:53 +0000)]
* Notes now display properly, regardless of whether we received the text/vnote from MSG4 or DLAT. We can add text/vnote to our MSGP declaration as soon as dothebart confirms that an inline renderer is available.
Art Cancro [Tue, 12 May 2009 20:45:34 +0000 (20:45 +0000)]
* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or legacy text format. Notes are now working again, but it's still calling load_mimepart() every time.
* add more module handlers:
* start (alloc structures here; don't depend on others...)
* init (fill your structs, register with others...)
* shutdown (free your static structs etc.
* Session New: for allocation etc.
* Session Attach: on each request before it gets hot.
* Session Detach: clean up your session local stuff
* Session Destroy: the user is gone; flush your memory.
* more news: WC is set before the SessionNew; so you can use WC there.
* shuffled some more stuff arround:
* i/o related stuff
* directory calculation
* local css detection is now part of the start handler...
* all creates/frees of structures that can be done in the above handrlers is done there now.
* serv_getln now is a wrapper around existing functionality. a new temporary var in WC is used for performance reasons.
* non-buffered IO is going away completely, thus we remove the buffered suffix from the function and all places that used it so far
* set O_NONBLOCK on our server FD, hopefully this does what we want?
Art Cancro [Sun, 3 May 2009 03:38:07 +0000 (03:38 +0000)]
* Since we can now shut down the master SSH session cleanly with a command, there's no need to do the whole fork()/exec() thing. Replaced all that messy code with a simple call to system() and a SSH parameter to auto-background.
Art Cancro [Sun, 3 May 2009 03:30:35 +0000 (03:30 +0000)]
* Found a better way for ctdlmigrate to shut down the master SSH socket. SSH has a command to do it. No more silly games trying to hunt for the correct pid to kill.
* temporary solution to our ser_readln migration: have a buffer on the session, read there to, and copy it over then.
* remove some more serv_readln's, add some more GetServerStatus'es
* start migrating important message to strbuf; have both meanwhile.
* evaluate result of gotoroom; this needs to be done elsewhere too.
* fix roomname thing in useredit
Art Cancro [Sun, 26 Apr 2009 03:46:53 +0000 (03:46 +0000)]
* Use fork() and exec() instead of system() to set up the master SSH session, so we can get the pid to kill later
* At exit, kill the master SSH session and delete the socket
* remove old notes rendering code, its not used anymore.
* add mail attachment inline renderer for notes
* add first draft template stripped down from the original notes thing, needs some more love.
Art Cancro [Fri, 24 Apr 2009 15:14:43 +0000 (15:14 +0000)]
* sendcommand default watchdog timeout set to 60 seconds. 5 seconds is way too low.
* ctdlmigrate overrides the default and sets it to 3600 seconds on both the source and target hosts.
Art Cancro [Fri, 24 Apr 2009 02:09:30 +0000 (02:09 +0000)]
* Added a subcommand to the migrator to list out all of the directories which require copying because they are not part of the database; these can be fed into rsync to supplement the XML dump and build a complete replica of a Citadel installation.
Art Cancro [Wed, 22 Apr 2009 02:25:02 +0000 (02:25 +0000)]
* Handle wandering punctuation in charset definitions. This fixes the most common WebCit crash being experienced since the 7.50 release. Committing to both trunk and stable-75x.
* persistantly handle the bufferlengths for dates; snprintf doesn't terminate strings if they exceed the provided length, which was causing character soup in some rare cases.
* give all commands their own function
* evade rumpelstilskin-lookup in favour of module registration commands
* replace linked list of commands by 4-char-hash.
Art Cancro [Thu, 16 Apr 2009 21:24:32 +0000 (21:24 +0000)]
* Made our Berkeley DB errors look more like the ones thrown by other applications, so that when people Google them they don't get led to a 'Citadel Sucks' thread on a popular Ubuntu support forum that was populated by paid Zimbra astroturfers.
Art Cancro [Thu, 16 Apr 2009 14:29:18 +0000 (14:29 +0000)]
* Completed optimization of load_ical_part(), now uses the data supplied by MSG4 if it is usable. In initial testing this cuts calendar load time almost in half.