citadel.git
16 years ago* use AC_CHECK_FUNCS to check for flock()
Wilfried Göesgens [Sat, 8 Sep 2007 22:17:13 +0000 (22:17 +0000)]
* use AC_CHECK_FUNCS to check for flock()
* if we find a Sun CC rather check dependencies with -xM instead of -M

16 years ago* didn't see some \'s theres so much of them.
Wilfried Göesgens [Sat, 8 Sep 2007 20:57:53 +0000 (20:57 +0000)]
* didn't see some \'s theres so much of them.

16 years ago* use here-documents instead of printf. this should (could?) be more portable.
Wilfried Göesgens [Sat, 8 Sep 2007 20:55:44 +0000 (20:55 +0000)]
* use here-documents instead of printf. this should (could?) be more portable.

16 years ago* restart logic for the "Shutdown Citadel" menu. The ui is sort of 3rd class so far...
Wilfried Göesgens [Sat, 8 Sep 2007 18:16:19 +0000 (18:16 +0000)]
* restart logic for the "Shutdown Citadel" menu. The ui is sort of 3rd class so far, but does its job.

16 years ago* allow the debian build to enable profiling and backtrace independantly.
Wilfried Göesgens [Sat, 8 Sep 2007 09:23:40 +0000 (09:23 +0000)]
* allow the debian build to enable profiling and backtrace independantly.

16 years ago* lets start knit-picking on buffersizes.
Wilfried Göesgens [Thu, 6 Sep 2007 23:40:33 +0000 (23:40 +0000)]
* lets start knit-picking on buffersizes.

16 years ago* stresc() is used frequent, it needs to be fast.
Wilfried Göesgens [Thu, 6 Sep 2007 22:12:52 +0000 (22:12 +0000)]
* stresc() is used frequent, it needs to be fast.

16 years ago* fetching the 12/24 Hours switch from config over and over is expansive. (gprof...
Wilfried Göesgens [Thu, 6 Sep 2007 21:31:49 +0000 (21:31 +0000)]
* fetching the 12/24 Hours switch from config over and over is expansive. (gprof tells so) let's cache it in the session.

16 years ago* don't underrun buffers. tnx valgrind.
Wilfried Göesgens [Thu, 6 Sep 2007 21:29:26 +0000 (21:29 +0000)]
* don't underrun buffers. tnx valgrind.

16 years ago* initialize this buffer empty. thanks valgrind.
Wilfried Göesgens [Thu, 6 Sep 2007 21:05:14 +0000 (21:05 +0000)]
* initialize this buffer empty. thanks valgrind.

16 years ago* profiling and debug switches here too.
Wilfried Göesgens [Thu, 6 Sep 2007 19:39:05 +0000 (19:39 +0000)]
* profiling and debug switches here too.

16 years agoFix to speed up Sieve processing, taking relatively a lot of time that
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).

16 years agodisplay banner always similarly
Thierry Pasqualier [Wed, 5 Sep 2007 16:08:26 +0000 (16:08 +0000)]
display banner always similarly

16 years agoA fix for Sieve/Vacation bug. *** This may break networking. Test thoroughly please ***
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 ***

16 years ago* sending the startup-problem-message now does work.
Wilfried Göesgens [Tue, 4 Sep 2007 20:25:20 +0000 (20:25 +0000)]
* sending the startup-problem-message now does work.

16 years ago* if an event spans this day, print it like an all day event.
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.

16 years ago* look at the span of an item rather than its start-time.
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.

16 years agoAdded davew to the credits file
Art Cancro [Mon, 3 Sep 2007 04:24:51 +0000 (04:24 +0000)]
Added davew to the credits file

16 years agoRepaired the problem of a blank network node being
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.

16 years ago* matts patch fixing the ecrash <-> autoconf interferance.
Wilfried Göesgens [Sat, 1 Sep 2007 08:51:52 +0000 (08:51 +0000)]
* matts patch fixing the ecrash <-> autoconf interferance.

16 years ago* modify the ld + cflags for gprof and backtrace if enabled.
Wilfried Göesgens [Thu, 30 Aug 2007 19:16:49 +0000 (19:16 +0000)]
* modify the ld + cflags for gprof and backtrace if enabled.

16 years ago* make backtrace optional.
Wilfried Göesgens [Wed, 29 Aug 2007 17:52:08 +0000 (17:52 +0000)]
* make backtrace optional.

16 years agoAdvanced menu items
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

16 years agoEdit or delete this room screen : CSS for horizontal tabbed options
Thierry Pasqualier [Tue, 28 Aug 2007 11:43:20 +0000 (11:43 +0000)]
Edit or delete this room screen : CSS for horizontal tabbed options

16 years ago* cleaned HTML/CSS room advanced menu (incomplete)
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)

16 years agoHeaders to avoid pages being cached are now done
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.

16 years agoGet the aide room message working again if a port open fails.
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.

16 years agoGet ecrash.o to build automatically.
Dave West [Mon, 27 Aug 2007 01:42:47 +0000 (01:42 +0000)]
Get ecrash.o to build automatically.

16 years ago* modules registering serverports now need to specify a plaintext name.
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)

16 years ago* message edit : add CSS classes for attachment form
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

16 years agoAdd a default summary to Tasks that don't have a summary.
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.

16 years agoAdvanced screen : removed a HTML table
Thierry Pasqualier [Sat, 25 Aug 2007 19:02:28 +0000 (19:02 +0000)]
Advanced screen : removed a HTML table

16 years agoFix to allow display of tasks created using Bynari connector from
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.

16 years ago* Three box with Advanced (on click Advanced icon) are display in the
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

16 years ago* no, we don't want to remember everything we logged.
Wilfried Göesgens [Fri, 24 Aug 2007 22:24:53 +0000 (22:24 +0000)]
* no, we don't want to remember everything we logged.

16 years agoCompile with -DDISABLE_IMAP_ACL to build a Citadel server
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.

16 years agoPatches from Matt.
Dave West [Fri, 24 Aug 2007 09:26:02 +0000 (09:26 +0000)]
Patches from Matt.

16 years agoClean up unused include of serv_network.h
Dave West [Thu, 23 Aug 2007 20:32:56 +0000 (20:32 +0000)]
Clean up unused include of serv_network.h

16 years agoPatches from Matt with slight mod from me to do without strlen. Also modified lprintf...
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.

16 years agoWhen outputting the extension data for a
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.

16 years ago* Reversed previous change. It wasn't needed after all.
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.

16 years agoimap_fetch.c: output an extra space required before the
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.

16 years agoBug got in when changed to IsEmptyStr
Dave West [Thu, 23 Aug 2007 12:47:36 +0000 (12:47 +0000)]
Bug got in when changed to IsEmptyStr

16 years agoBug 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

16 years agocmd_expand was broken. Caused text client to hang. Revert to original with minor...
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.

16 years agoRemoved IsEmptyStr from some loops as its quicker this way (probably).
Dave West [Thu, 23 Aug 2007 10:27:37 +0000 (10:27 +0000)]
Removed IsEmptyStr from some loops as its quicker this way (probably).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemoved 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).

16 years agoRemove IsEmptyStr from loop control. Not because it caused a problem but because...
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).

16 years agoChanged the way messages and headers are
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.

16 years agoReverted one of the strlen() to IsEmptyStr() changes
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.

16 years agodestroy_network_queue_room() is now called via the cleanup hook mechanism.
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.

16 years ago* cit_backtrace...
Wilfried Göesgens [Sun, 19 Aug 2007 16:46:51 +0000 (16:46 +0000)]
* cit_backtrace...

16 years ago* fchmod doesn't like FD's to sockets.
Wilfried Göesgens [Sun, 19 Aug 2007 16:46:23 +0000 (16:46 +0000)]
* fchmod doesn't like FD's to sockets.

16 years ago* write backtrace after client_write failing.
Wilfried Göesgens [Fri, 17 Aug 2007 18:26:06 +0000 (18:26 +0000)]
* write backtrace after client_write failing.

16 years agoConfiguration screens : fix CSS/HTML bugs
Thierry Pasqualier [Fri, 17 Aug 2007 14:08:57 +0000 (14:08 +0000)]
Configuration screens : fix CSS/HTML bugs

16 years ago* some quotes here can't hurt.
Wilfried Göesgens [Thu, 16 Aug 2007 21:38:58 +0000 (21:38 +0000)]
* some quotes here can't hurt.

16 years ago* once we have an FD we can use it for fchmod
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

16 years ago* and the dots learned to walk.
Wilfried Göesgens [Thu, 16 Aug 2007 21:36:19 +0000 (21:36 +0000)]
* and the dots learned to walk.

16 years ago* some of the shiny new citadel optimized functions
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

16 years agoBulletin board view : use radio buttons in the place of the selector for the sorting...
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

16 years ago* don't copy / lowercase more of the string than we need to.
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

16 years ago* next try to get a working new tokenizer. this seems to be working
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.

16 years ago* cleaning HTML/CSS codes
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")

16 years agowholist screen : cleaning CSS / HTML codes
Thierry Pasqualier [Sun, 12 Aug 2007 08:02:58 +0000 (08:02 +0000)]
wholist screen : cleaning CSS / HTML codes

16 years agoBulletin board/CSS: center messages selector on top and bottom
Thierry Pasqualier [Sat, 11 Aug 2007 16:04:02 +0000 (16:04 +0000)]
Bulletin board/CSS: center messages selector on top and bottom

16 years ago* extract_token still doesn't behave like the original. for convenience reasons here...
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.

16 years ago* applied matts patch; flattened indention.
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.

16 years ago* abort tokenizer loop once we found our string
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()

16 years agoReplaced extract_token() with a completely new
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.

16 years agouse the same way to display all banners and services contents
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.

16 years ago* substituded two hot functions by ones that behave more like the cpu beats.
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.

16 years agoupdated french translation (not complete)
Thierry Pasqualier [Fri, 10 Aug 2007 10:46:14 +0000 (10:46 +0000)]
updated french translation (not complete)

16 years ago* now memreadline creeps lower in the gprof radar.
Wilfried Göesgens [Thu, 9 Aug 2007 23:55:07 +0000 (23:55 +0000)]
* now memreadline creeps lower in the gprof radar.

16 years ago* brought over the tuned memreadline from webcit
Wilfried Göesgens [Thu, 9 Aug 2007 23:37:27 +0000 (23:37 +0000)]
* brought over the tuned memreadline from webcit

16 years ago* two tiny errors weren't seen.
Wilfried Göesgens [Thu, 9 Aug 2007 22:30:34 +0000 (22:30 +0000)]
* two tiny errors weren't seen.

16 years ago* typos remaining...
Wilfried Göesgens [Thu, 9 Aug 2007 22:03:03 +0000 (22:03 +0000)]
* typos remaining...

16 years ago* strlen holy war: loops. in loops it's very evil. the easy ones go away now.
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.

16 years ago* removed strlen from b_putroom()
Wilfried Göesgens [Thu, 9 Aug 2007 18:50:07 +0000 (18:50 +0000)]
* removed strlen from b_putroom()

16 years ago* strlen hunt: messed brackets.
Wilfried Göesgens [Thu, 9 Aug 2007 18:21:16 +0000 (18:21 +0000)]
* strlen hunt: messed brackets.

16 years ago* more whitch-hunt on strlen with isemptystr replacement.
Wilfried Göesgens [Thu, 9 Aug 2007 17:48:01 +0000 (17:48 +0000)]
* more whitch-hunt on strlen with isemptystr replacement.

16 years ago* we're over at svn now.
Wilfried Göesgens [Thu, 9 Aug 2007 17:47:21 +0000 (17:47 +0000)]
* we're over at svn now.

16 years ago* Holy war on strlen: use IsEmptyStr where apropriate.
Wilfried Göesgens [Thu, 9 Aug 2007 16:37:44 +0000 (16:37 +0000)]
* Holy war on strlen: use IsEmptyStr where apropriate.

16 years ago* clean up compiled binaries on make clean too. where did this go?
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?

16 years ago* give the right status code for STARTTLS. thanks to bicos for pointing this out.
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.

16 years ago* Applied Matt's groupdav patch
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

16 years agomessages selector bar
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)

16 years agoChanged the background color to something that blends
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.

16 years agobegun the work on the selector bar
Thierry Pasqualier [Wed, 8 Aug 2007 20:13:16 +0000 (20:13 +0000)]
begun the work on the selector bar

16 years agonew gradient background image, one pixel width, repeat horizontally
Thierry Pasqualier [Wed, 8 Aug 2007 19:19:56 +0000 (19:19 +0000)]
new gradient background image, one pixel width, repeat horizontally

16 years ago* fix citing from urls. use a new unescape function, that does one more unescape...
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.

16 years ago* simplify url printer. don't continue searching once we found an url.
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.

16 years ago* have an abstract function print the menu boxes in the config area.
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.