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
Dave West [Tue, 31 Jul 2007 21:36:03 +0000 (21:36 +0000)]
Continue phase 2 of modules stuff.
Moved rest of serv_* into modules/* where it can be done without altering the contents of the file or the code
modified Makefile.in to build them.
Dave West [Tue, 31 Jul 2007 21:06:20 +0000 (21:06 +0000)]
mk_module_init.sh now tests to see if echo supports -e and -E
Wilfried Göesgens [Tue, 31 Jul 2007 20:42:44 +0000 (20:42 +0000)]
* fixed bug in the debian init script that would make 'restart' fail. tnx to DGEAPerez for reporting this.
Michael Hampton [Tue, 31 Jul 2007 19:15:37 +0000 (19:15 +0000)]
Don't use shell built-in echo command in scripts.
Wilfried Göesgens [Mon, 30 Jul 2007 23:22:48 +0000 (23:22 +0000)]
* look exactly for 2 or 3, so the status request will still work.
Wilfried Göesgens [Mon, 30 Jul 2007 23:17:39 +0000 (23:17 +0000)]
* scdn now allso knows how to trigger restart.
Wilfried Göesgens [Sun, 29 Jul 2007 19:24:05 +0000 (19:24 +0000)]
* moved some flags so that our run flags are collected in one place.
* added IsEmptyStr from webcit
* added optional Parameter to "DOWN" command that will make the server restart instead of stopping.
* if the new flag is set, we will exit(1) to hopefully make our watcher fire us up again.
Dave West [Sat, 28 Jul 2007 11:49:26 +0000 (11:49 +0000)]
Makefile.in now cleans the modules subtree as well
Dave West [Sat, 28 Jul 2007 11:30:54 +0000 (11:30 +0000)]
Begun phase 2 of modules stuff.
Moved serv_test.c into modules/test
modified Makefile.in to build it.
Fixed a bug in mk_module_init.sh that stopped it scanning the subdirs
Wilfried Göesgens [Fri, 27 Jul 2007 19:26:06 +0000 (19:26 +0000)]
* new citadel-suite package, that will pull all other packages with it, so we can give users the "simple way without explains"
Art Cancro [Thu, 26 Jul 2007 21:07:31 +0000 (21:07 +0000)]
Completed the Bynari version of SETMETADATA.
Now when a new calendar, address book, etc. is created i
Outlook, the Citadel view type is set correctly.
Art Cancro [Thu, 26 Jul 2007 21:06:15 +0000 (21:06 +0000)]
-
Thierry Pasqualier [Thu, 26 Jul 2007 20:47:43 +0000 (20:47 +0000)]
Improvement of CSS to display message text/calendar card
Art Cancro [Thu, 26 Jul 2007 19:29:12 +0000 (19:29 +0000)]
Convert folder type names to citadel view numbers.
Now to implement the database write...
Art Cancro [Thu, 26 Jul 2007 19:15:37 +0000 (19:15 +0000)]
-
Art Cancro [Thu, 26 Jul 2007 17:02:44 +0000 (17:02 +0000)]
Minor indentation changes
Dave West [Thu, 26 Jul 2007 07:46:53 +0000 (07:46 +0000)]
Moved to new module init structure.
Added file include/ctdl_module.h
Added script mk_modules_init.sh to build files modules_init.c and modules_init.h
removed #include "serv_extensions.h" from files that don't need it
Begun creation of new module dir structure.
davew.
Art Cancro [Thu, 26 Jul 2007 03:54:05 +0000 (03:54 +0000)]
Began implementing the Bynari version of SETMETADATA. This will
(when finished) be used to set the folder type when creating a new room.
Art Cancro [Tue, 24 Jul 2007 18:48:12 +0000 (18:48 +0000)]
'master user' hack is now an #ifdef instead of commented out
Wilfried Göesgens [Mon, 23 Jul 2007 18:45:45 +0000 (18:45 +0000)]
* socket syntax is different in php5. make it configurable.
Dave West [Mon, 23 Jul 2007 09:10:58 +0000 (09:10 +0000)]
Update to documentation for event hooks.
Dave West [Mon, 23 Jul 2007 09:01:42 +0000 (09:01 +0000)]
Code clean up. Removed #include serv_sieve.h as no longer needed
Thierry Pasqualier [Mon, 23 Jul 2007 06:29:41 +0000 (06:29 +0000)]
HTML/CSS calendar mimepart display
Art Cancro [Mon, 23 Jul 2007 00:56:58 +0000 (00:56 +0000)]
When webcit converts a set of inbox rules to a Sieve script,
insert all of the user's email addresses into the script so
the parser doesn't have to guess by scanning the envelope recipient.
Wilfried Göesgens [Sun, 22 Jul 2007 22:22:23 +0000 (22:22 +0000)]
* fixed missing targets in make clean. thanks, davew for pointing this out.
Wilfried Göesgens [Sun, 22 Jul 2007 11:31:06 +0000 (11:31 +0000)]
davew: search for newer versions of berkeley db
Wilfried Göesgens [Sun, 22 Jul 2007 10:46:47 +0000 (10:46 +0000)]
davew: clean ups, addition to documentation of API and addition of an event to clean the libsieve connection to housekeeping.c
Wilfried Göesgens [Sun, 22 Jul 2007 10:35:59 +0000 (10:35 +0000)]
* put anchor comment in here too.
Art Cancro [Sun, 22 Jul 2007 04:27:19 +0000 (04:27 +0000)]
Sieve GETENVELOPE converts 'local' style addresses
into user_name@host syntax. Fixes libsieve crash for local-to-local
mail.
Thierry Pasqualier [Sat, 21 Jul 2007 07:53:29 +0000 (07:53 +0000)]
CSS/HTML for text/calendar in message... in progress
Thierry Pasqualier [Fri, 20 Jul 2007 18:31:19 +0000 (18:31 +0000)]
HTML/CSS of text/calendar display in message
Thierry Pasqualier [Fri, 20 Jul 2007 12:08:58 +0000 (12:08 +0000)]
- some HTML/CSS improvments
- I began the improvment the display of mime type calendar in messages
(to avoid black background display with IE)
Thierry Pasqualier [Thu, 19 Jul 2007 12:24:07 +0000 (12:24 +0000)]
Updated french translation
Art Cancro [Thu, 19 Jul 2007 04:39:20 +0000 (04:39 +0000)]
serv_sieve: when no envelope-to field is present, copy
it from the recipient in the message body.
Thierry Pasqualier [Wed, 18 Jul 2007 21:22:42 +0000 (21:22 +0000)]
Some important changes in iconbar
- Added a button to select or not the list of the users online
You can choise :
Yes (for only Who is online ? icon)
Yes with users list (for display users list,
correct the bad english... )
No (for no Who is online? icon)
- used radio box with Yes or No in the place of checkbox
to use the same way for all choices
- removed hardcoded color (altern table)
- added a banner to the return message: Your icon bar has been...
- CSS/HTML improvements
Test it
Art Cancro [Wed, 18 Jul 2007 04:28:14 +0000 (04:28 +0000)]
Shuffled around the sieve code:
* init function moved into the proper place
* GETENVELOPE doesn't set to/from if they are empty
Wilfried Göesgens [Mon, 16 Jul 2007 22:06:19 +0000 (22:06 +0000)]
* merged in Littlesmiths corrections and suggestions
* reworked some strings on Littlesmiths input
* reworked sysmsgs.c:44 in the original
Thierry Pasqualier [Mon, 16 Jul 2007 21:55:02 +0000 (21:55 +0000)]
fix the reply subject bug