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
* Created IsEmptyStr define to be used rather then using some weird strlen constructs
* moved strlens out of loops everywhere possible anyhow.
* evaded about half of our strlen()'s; more to come.
Art Cancro [Thu, 12 Jul 2007 18:26:54 +0000 (18:26 +0000)]
* Added new view type VIEW_JOURNAL - not yet used by
native clients, but Outlook (via the Bynari connector) needs it.
* Implemented GETMETADATA so the Connector can learn folder types
without the aid of hidden synchronization messages
Art Cancro [Thu, 12 Jul 2007 03:02:22 +0000 (03:02 +0000)]
Re-using the 'buf' variable in embed_room_banner() for
room name sanitization clobbered a bunch of variables that
we still needed, resulting (for example) in prompts such as
'0 new of 0 messages'. Fixed.
Some modifications in the display of each message to optimize the
place.
- Buttons are now at the top to the right
- the date is on the first line
- author and room are on the following line
Art Cancro [Sun, 8 Jul 2007 04:15:38 +0000 (04:15 +0000)]
Evidently, when an HTML checkbox is disabled, its value
is never sent to the server, even if the value was explicitly set.
Reworked the c_auth_mode setting due to this, because it was getting
unset.
- Deleted the (too wide) remote host in summary screen
- I keep it in Who is online screen
- A scrolbar appear now if the user list is too long on iconbar
Art Cancro [Sat, 7 Jul 2007 04:25:14 +0000 (04:25 +0000)]
Support the idea of a 'master user' logging in
as another user. This will be used to support Asterisk voicemail. It
is currently disabled because the master username/password is hardcoded
and we don't want anyone using that.
Art Cancro [Thu, 5 Jul 2007 19:53:58 +0000 (19:53 +0000)]
*All* <FORM> blocks now contain a nonce field, and the use of
a nonce is now enforced whenever method=POST is used. This prevents
an attacker from simply removing the nonce entirely.