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 [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.
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.
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.
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 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 [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.
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.
* 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: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
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.
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.
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