Wilfried Göesgens [Thu, 6 Sep 2007 19:39:05 +0000 (19:39 +0000)]
* profiling and debug switches here too.
Dave West [Wed, 5 Sep 2007 18:26:59 +0000 (18:26 +0000)]
Fix to speed up Sieve processing, taking relatively a lot of time that
would cause heavy load if there are lots of users with lots of scripts.
rewrite_ctdl_sieve_config() was rewriting the sieve config every time
regardless of the yes_write_to_disk flag thus calling quickie_message()
which takes a bit of time (an extra 0.3mS).
Thierry Pasqualier [Wed, 5 Sep 2007 16:08:26 +0000 (16:08 +0000)]
display banner always similarly
Dave West [Wed, 5 Sep 2007 09:18:37 +0000 (09:18 +0000)]
A fix for Sieve/Vacation bug. *** This may break networking. Test thoroughly please ***
Wilfried Göesgens [Tue, 4 Sep 2007 20:25:20 +0000 (20:25 +0000)]
* sending the startup-problem-message now does work.
Wilfried Göesgens [Tue, 4 Sep 2007 19:19:04 +0000 (19:19 +0000)]
* if an event spans this day, print it like an all day event.
Wilfried Göesgens [Mon, 3 Sep 2007 21:15:45 +0000 (21:15 +0000)]
* look at the span of an item rather than its start-time.
Art Cancro [Mon, 3 Sep 2007 04:24:51 +0000 (04:24 +0000)]
Added davew to the credits file
Art Cancro [Mon, 3 Sep 2007 04:20:16 +0000 (04:20 +0000)]
Repaired the problem of a blank network node being
added the first time one attempts to configure networking. Also
set the default port number to 504.
Wilfried Göesgens [Sat, 1 Sep 2007 08:51:52 +0000 (08:51 +0000)]
* matts patch fixing the ecrash <-> autoconf interferance.
Wilfried Göesgens [Thu, 30 Aug 2007 19:16:49 +0000 (19:16 +0000)]
* modify the ld + cflags for gprof and backtrace if enabled.
Wilfried Göesgens [Wed, 29 Aug 2007 17:52:08 +0000 (17:52 +0000)]
* make backtrace optional.
Thierry Pasqualier [Tue, 28 Aug 2007 22:00:04 +0000 (22:00 +0000)]
Advanced menu items
- clean HTML/CSS code
- display in the current room screen
Thierry Pasqualier [Tue, 28 Aug 2007 11:43:20 +0000 (11:43 +0000)]
Edit or delete this room screen : CSS for horizontal tabbed options
Thierry Pasqualier [Tue, 28 Aug 2007 07:18:25 +0000 (07:18 +0000)]
* cleaned HTML/CSS room advanced menu (incomplete)
* keep configurations screen in the current room in a round box
* drive tabbed options with CSS (incomplete)
Art Cancro [Mon, 27 Aug 2007 21:08:34 +0000 (21:08 +0000)]
Headers to avoid pages being cached are now done
in BOTH the standard way and the broken Microsoft way.
See http://support.microsoft.com/kb/234067 for more info.
Dave West [Mon, 27 Aug 2007 11:39:16 +0000 (11:39 +0000)]
Get the aide room message working again if a port open fails.
Dave West [Mon, 27 Aug 2007 01:42:47 +0000 (01:42 +0000)]
Get ecrash.o to build automatically.
Wilfried Göesgens [Sun, 26 Aug 2007 21:31:51 +0000 (21:31 +0000)]
* modules registering serverports now need to specify a plaintext name.
* added David Frascones ecrash lib
* hooked ecrash into citserver and citadel (not yet all done)
Thierry Pasqualier [Sun, 26 Aug 2007 21:01:30 +0000 (21:01 +0000)]
* message edit : add CSS classes for attachment form
* change some french translations
Dave West [Sun, 26 Aug 2007 10:52:19 +0000 (10:52 +0000)]
Add a default summary to Tasks that don't have a summary.
Thierry Pasqualier [Sat, 25 Aug 2007 19:02:28 +0000 (19:02 +0000)]
Advanced screen : removed a HTML table
Dave West [Sat, 25 Aug 2007 16:48:28 +0000 (16:48 +0000)]
Fix to allow display of tasks created using Bynari connector from
Outlook.
Thierry Pasqualier [Sat, 25 Aug 2007 16:36:17 +0000 (16:36 +0000)]
* Three box with Advanced (on click Advanced icon) are display in the
current room.
it's logical, the same case for some items (for example, it was OK for bio
but not for preferences). I will correct the others.
* HTML/CSS minor change on roomops
* minor change on french translation
Wilfried Göesgens [Fri, 24 Aug 2007 22:24:53 +0000 (22:24 +0000)]
* no, we don't want to remember everything we logged.
Art Cancro [Fri, 24 Aug 2007 22:09:34 +0000 (22:09 +0000)]
Compile with -DDISABLE_IMAP_ACL to build a Citadel server
without the IMAP ACL extension.
Dave West [Fri, 24 Aug 2007 09:26:02 +0000 (09:26 +0000)]
Patches from Matt.
Dave West [Thu, 23 Aug 2007 20:32:56 +0000 (20:32 +0000)]
Clean up unused include of serv_network.h
Dave West [Thu, 23 Aug 2007 19:43:29 +0000 (19:43 +0000)]
Patches from Matt with slight mod from me to do without strlen. Also modified lprintf to be atomic when logging to screen.
Art Cancro [Thu, 23 Aug 2007 19:31:42 +0000 (19:31 +0000)]
When outputting the extension data for a
MIME part in BODYSTRUCTURE, the parameter 'NAME' now appears as
the first item in the list. Previously we output 'CHARSET' first. Either
one is perfectly legal IMAP, but the Asterisk voicemail application
stupidly assumes that 'NAME' will come first, and barfs if it doesn't. So
we cater to its naivete.
Art Cancro [Thu, 23 Aug 2007 19:28:20 +0000 (19:28 +0000)]
* Reversed previous change. It wasn't needed after all.
* Removed an extra 'NIL' (content language, I guess) from multipart trailer.
This doesn't appear to be needed either.
Art Cancro [Thu, 23 Aug 2007 17:00:13 +0000 (17:00 +0000)]
imap_fetch.c: output an extra space required before the
second and subsequent components of a multipart sequence when
outputting BODYSTRUCTURE. C-Client (in this case, Asterisk) chokes when
that space isn't there.
Dave West [Thu, 23 Aug 2007 12:47:36 +0000 (12:47 +0000)]
Bug got in when changed to IsEmptyStr
Dave West [Thu, 23 Aug 2007 12:47:20 +0000 (12:47 +0000)]
Bug got in when changed to IsEmptyStr
Dave West [Thu, 23 Aug 2007 12:42:45 +0000 (12:42 +0000)]
cmd_expand was broken. Caused text client to hang. Revert to original with minor mod to remove strlen.
Dave West [Thu, 23 Aug 2007 10:27:37 +0000 (10:27 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 10:25:34 +0000 (10:25 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 10:23:16 +0000 (10:23 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 10:16:56 +0000 (10:16 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 10:15:12 +0000 (10:15 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:59:50 +0000 (09:59 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:56:45 +0000 (09:56 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:54:26 +0000 (09:54 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:53:47 +0000 (09:53 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:52:33 +0000 (09:52 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 09:45:41 +0000 (09:45 +0000)]
Remove IsEmptyStr from loop control. Not because it caused a problem but because it should be quicker this way(slightly).
Art Cancro [Wed, 22 Aug 2007 19:19:19 +0000 (19:19 +0000)]
Changed the way messages and headers are
fetched from disk during IMAP BODY fetch operations.
The iPhone does UID FETCH (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
and then gets all bent out of shape when it doesn't see the
Content-type: header where it expects it.
Art Cancro [Tue, 21 Aug 2007 16:57:50 +0000 (16:57 +0000)]
Reverted one of the strlen() to IsEmptyStr() changes
because it was causing the indexer to crash.
Dave West [Mon, 20 Aug 2007 22:30:41 +0000 (22:30 +0000)]
destroy_network_queue_room() is now called via the cleanup hook mechanism.
Added a comment about how to proceed with modules stuff.
Wilfried Göesgens [Sun, 19 Aug 2007 16:46:51 +0000 (16:46 +0000)]
* cit_backtrace...
Wilfried Göesgens [Sun, 19 Aug 2007 16:46:23 +0000 (16:46 +0000)]
* fchmod doesn't like FD's to sockets.
Wilfried Göesgens [Fri, 17 Aug 2007 18:26:06 +0000 (18:26 +0000)]
* write backtrace after client_write failing.
Thierry Pasqualier [Fri, 17 Aug 2007 14:08:57 +0000 (14:08 +0000)]
Configuration screens : fix CSS/HTML bugs
Wilfried Göesgens [Thu, 16 Aug 2007 21:38:58 +0000 (21:38 +0000)]
* some quotes here can't hurt.
Wilfried Göesgens [Thu, 16 Aug 2007 21:38:22 +0000 (21:38 +0000)]
* once we have an FD we can use it for fchmod
Wilfried Göesgens [Thu, 16 Aug 2007 21:36:19 +0000 (21:36 +0000)]
* and the dots learned to walk.
Wilfried Göesgens [Wed, 15 Aug 2007 22:22:39 +0000 (22:22 +0000)]
* some of the shiny new citadel optimized functions
* terminate well for gprof
Thierry Pasqualier [Wed, 15 Aug 2007 10:21:37 +0000 (10:21 +0000)]
Bulletin board view : use radio buttons in the place of the selector for the sorting of the messages
Wilfried Göesgens [Tue, 14 Aug 2007 16:17:40 +0000 (16:17 +0000)]
* don't copy / lowercase more of the string than we need to.
* go with direct pointers
Wilfried Göesgens [Tue, 14 Aug 2007 14:26:05 +0000 (14:26 +0000)]
* next try to get a working new tokenizer. this seems to be working
* a way to have backtraces in log in citserver.
Thierry Pasqualier [Tue, 14 Aug 2007 08:27:20 +0000 (08:27 +0000)]
* cleaning HTML/CSS codes
* addition of a global container (div id="global")
Thierry Pasqualier [Sun, 12 Aug 2007 08:02:58 +0000 (08:02 +0000)]
wholist screen : cleaning CSS / HTML codes
Thierry Pasqualier [Sat, 11 Aug 2007 16:04:02 +0000 (16:04 +0000)]
Bulletin board/CSS: center messages selector on top and bottom
Wilfried Göesgens [Sat, 11 Aug 2007 10:38:59 +0000 (10:38 +0000)]
* extract_token still doesn't behave like the original. for convenience reasons here the old one.
Wilfried Göesgens [Sat, 11 Aug 2007 10:30:33 +0000 (10:30 +0000)]
* applied matts patch; flattened indention.
* mk_module_init.sh needs to include time.h; some will need it.
Wilfried Göesgens [Fri, 10 Aug 2007 23:31:44 +0000 (23:31 +0000)]
* abort tokenizer loop once we found our string
* don't loop endles in haschar()
Art Cancro [Fri, 10 Aug 2007 21:20:21 +0000 (21:20 +0000)]
Replaced extract_token() with a completely new
implementation which makes exactly one pass through
the source string, copying characters to the destination
string buffer as it goes.
Thierry Pasqualier [Fri, 10 Aug 2007 20:41:22 +0000 (20:41 +0000)]
use the same way to display all banners and services contents
we will use only one css classe to display the content of screens which
are not rooms : Summary, Who's online ? Advanced, Configuration, etc.
Wilfried Göesgens [Fri, 10 Aug 2007 14:19:11 +0000 (14:19 +0000)]
* substituded two hot functions by ones that behave more like the cpu beats.
Thierry Pasqualier [Fri, 10 Aug 2007 10:46:14 +0000 (10:46 +0000)]
updated french translation (not complete)
Wilfried Göesgens [Thu, 9 Aug 2007 23:55:07 +0000 (23:55 +0000)]
* now memreadline creeps lower in the gprof radar.
Wilfried Göesgens [Thu, 9 Aug 2007 23:37:27 +0000 (23:37 +0000)]
* brought over the tuned memreadline from webcit
Wilfried Göesgens [Thu, 9 Aug 2007 22:30:34 +0000 (22:30 +0000)]
* two tiny errors weren't seen.
Wilfried Göesgens [Thu, 9 Aug 2007 22:03:03 +0000 (22:03 +0000)]
* typos remaining...
Wilfried Göesgens [Thu, 9 Aug 2007 21:35:28 +0000 (21:35 +0000)]
* strlen holy war: loops. in loops it's very evil. the easy ones go away now.
Wilfried Göesgens [Thu, 9 Aug 2007 18:50:07 +0000 (18:50 +0000)]
* removed strlen from b_putroom()
Wilfried Göesgens [Thu, 9 Aug 2007 18:21:16 +0000 (18:21 +0000)]
* strlen hunt: messed brackets.
Wilfried Göesgens [Thu, 9 Aug 2007 17:48:01 +0000 (17:48 +0000)]
* more whitch-hunt on strlen with isemptystr replacement.
Wilfried Göesgens [Thu, 9 Aug 2007 17:47:21 +0000 (17:47 +0000)]
* we're over at svn now.
Wilfried Göesgens [Thu, 9 Aug 2007 16:37:44 +0000 (16:37 +0000)]
* Holy war on strlen: use IsEmptyStr where apropriate.
Wilfried Göesgens [Thu, 9 Aug 2007 15:06:40 +0000 (15:06 +0000)]
* clean up compiled binaries on make clean too. where did this go?
Wilfried Göesgens [Thu, 9 Aug 2007 15:01:34 +0000 (15:01 +0000)]
* give the right status code for STARTTLS. thanks to bicos for pointing this out.
Art Cancro [Thu, 9 Aug 2007 04:22:02 +0000 (04:22 +0000)]
* Applied Matt's groupdav patch
* Modified print_menu_box() so that it doesn't generate
a compiler warning
Thierry Pasqualier [Wed, 8 Aug 2007 21:01:56 +0000 (21:01 +0000)]
messages selector bar
* added locale : All, newest to oldest, oldest to newest
* added css classes to display or not on top (or on bottom)
Art Cancro [Wed, 8 Aug 2007 20:38:44 +0000 (20:38 +0000)]
Changed the background color to something that blends
into the new gradient background, so the space underneath the
rounded corners appears transparent unless you look very closely.
Nifty Corners doesn't appear to be able to render the image
background, it always shows the background color instead.
Thierry Pasqualier [Wed, 8 Aug 2007 20:13:16 +0000 (20:13 +0000)]
begun the work on the selector bar
Thierry Pasqualier [Wed, 8 Aug 2007 19:19:56 +0000 (19:19 +0000)]
new gradient background image, one pixel width, repeat horizontally
Wilfried Göesgens [Tue, 7 Aug 2007 18:23:33 +0000 (18:23 +0000)]
* fix citing from urls. use a new unescape function, that does one more unescape run, so the chars created by url() get put back in as they should.
Wilfried Göesgens [Tue, 7 Aug 2007 11:52:32 +0000 (11:52 +0000)]
* simplify url printer. don't continue searching once we found an url.
Wilfried Göesgens [Mon, 6 Aug 2007 21:58:44 +0000 (21:58 +0000)]
* have an abstract function print the menu boxes in the config area.
* first draft of the shutdown menu.
Dave West [Sun, 5 Aug 2007 19:16:00 +0000 (19:16 +0000)]
Continue phase 2 of modules stuff.
Moved some more stuff into the relevant modules/* directories.
modified Makefile.in to build them.
Created a new Hook to register a search function. This allowed serv_fulltext.c to become independant of two files.
New suite of functions to support this hook mechanism are:
CtdlRegisterSearchFunction
CtdlUnregisterSearchFunction
CtdlModuleDoSearch
Remind me to document that mechanism too 8-)
Altered the DeleteHook mechanism slightly.
A registered DeleteHook will be called with a room name of NULL when the message no longer has a refcount and
has realy been deleted from the system. This allowed fulltext to be fully disconected from the msgbase.
Dave West [Sun, 5 Aug 2007 18:18:59 +0000 (18:18 +0000)]
Added #define LDAP_DEPRECATED 1 to get rid of warnings with newer libraries
Dave West [Sun, 5 Aug 2007 17:58:53 +0000 (17:58 +0000)]
Moved serv_ldap.h back into the main src dir as a temporary fix for a broken build when ldap enabled.
Thanks dothebart for pointing this out.
Seems there are hidden dependancies in serv_vcard so I had to reinsert the #include line there too.
This is a temporary measure and serv_ldap.h will move back into the module directory eventually.
To test this I had to install the latest OpenLDAP from the web site and have noted that several functions
we use are now deprecated to the point that they are no longer in <ldap.h> thus warnings are generated on
my build system.
Dave West [Fri, 3 Aug 2007 22:12:16 +0000 (22:12 +0000)]
Continue phase 2 of modules stuff.
Moved some more stuff into the relevant modules/* directories.
modified Makefile.in to build them.
Created a new Hook to register a maintenance thread. This allowed serv_fulltext.c to become independant of one file.
New thread hook should be easy enough to extend to other threads and get stats of threads.
Still more to be done on this to seperate the rest of the modules so they don't rely on specifics of each other.
Moved db checkpoint thread to new hook mechanism.
Remind me to document that mechanism 8-)
Art Cancro [Fri, 3 Aug 2007 19:17:30 +0000 (19:17 +0000)]
Experimental changes to the default theme. Gradient
background. We will need to alter some other elements
but that will probably be a good idea anyway. Also added
a nice little 'grippy' graphic to the message list resize
bar.
Art Cancro [Fri, 3 Aug 2007 15:49:36 +0000 (15:49 +0000)]
WebCit 7.13
Art Cancro [Thu, 2 Aug 2007 21:19:54 +0000 (21:19 +0000)]
Cleaned up the config interface.
* Eliminated SOCKET_PREFIX because unix:// works on PHP4 too, so
we can use it all the time.
* Prefix has been moved to CITADEL_HOSTNAME
* Added config_ctdlclient_local.php and added it to .svnignore, so
site operators and developers can override without wreaking havoc
in svn.
Art Cancro [Thu, 2 Aug 2007 20:21:46 +0000 (20:21 +0000)]
Optimize num_tokens() to use only one pass through the string
Art Cancro [Thu, 2 Aug 2007 20:20:42 +0000 (20:20 +0000)]
Optimize num_tokens() to use only one pass through the string
Dave West [Wed, 1 Aug 2007 23:31:53 +0000 (23:31 +0000)]
Another version of mk_module_init.sh to try and get round the echo problems