Andreas Gohr [Thu, 1 Mar 2007 13:36:57 +0000 (14:36 +0100)]
configurable name <-> atrribute mappings
This makes the whole application much more flexible. It introduces a new
config file called fields where you can specify which schemas and attribute
names Contagged should use.
This patch is probably not complete, yet and breaks things. It will be
followed up by fixing patches.
Paul Howarth [Thu, 27 Apr 2006 11:17:04 +0000 (13:17 +0200)]
PHP5 compatibility and code cleanup
The first (quotefix) patch just quotes string constants when used as
indexes to arrays. This gets rid of many warning messages from PHP and
also fixes at least one case where one of the strings is a reserved word
("private") in PHP5.
The second (cleanup) patch probably needs more looking at as my lack of
understanding of PHP may mean that I've not done things properly.
1. It adds an alternative way of specifying the LDAP server, by URL
instead of hostname and port.
2. It casts the arguments of array_merge() to array types everywhere
(not sure if all of these are necessary).
3. It makes $_SESSION['ldapab']['username'] and
$_SESSION['ldapab']['binddn'] null strings if they are not set.
4. It removes the reference to the unused variable $dfexample
With these fixes, ConTagged seems to run OK on PHP 5
Andreas Gohr [Tue, 17 Jan 2006 14:37:50 +0000 (15:37 +0100)]
silk icons
Changed graphics to the free "Silk Icon" set from http://www.famfamfam.com
to be on the save side legal wise (previous images had unknown license).
Silk looks cooler anyway ;-)
Andreas Gohr [Tue, 17 Jan 2006 11:49:34 +0000 (12:49 +0100)]
UTF-8 in interface
Now everything is UTF-8. LDAPab used to convert from and to latin1 for no
reason. LDAP always stores it's data in UTF-8 anyway. Be sure to save your
language files in UTF-8 and also make sure not to use a Byteordermark (BOM)
or you may breakthe PHP engine parser.
Daniel Tarbuck [Tue, 17 Jan 2006 11:14:59 +0000 (12:14 +0100)]
mod_auth_ldap, non-anon binding and openxchange support
The attached patch builds on your work in the following ways:
1. adds support for non-anonymous binding. Leaving the extra config
variables empty results in an anonymous bind. I haven't fully tested
this (I cannot test the anonymous case), but any problems should be
apparent immediately.
2. adds support for httpd authentication. I use mod_auth_ldap to
authenticate access to the site. This prevents the user having to login
twice.
3. adds support for parts of the openxchange schema
(http://www.openxchange.org). Only the parts I found useful are added.
The openxchange.schema is not included as the user that enables this is
expected to have already installed openxchange.