Andreas Gohr [Wed, 5 Sep 2007 11:02:24 +0000 (13:02 +0200)]
Store tags in Thunderbird custom fields
This adds a new config option called tbtaghack. When enabled the first four
assigned tags will be put into the fields custom1 to custom4 which are read
Thunderbird's addressbook.
Note those tags are writeonly, if you change a custom filed through other
applications, ConTagged will not know about it. Tags are stored in the
marker attribute additionally - only those are used inside ConTagged.
Andreas Gohr [Mon, 9 Jul 2007 08:26:00 +0000 (10:26 +0200)]
correct URL encoding on search redirects
When a search returns a ingle entry only a forward to this entry is made.
This patch makes sure the dn is correctly URL encoded to avoid problems with
special chars in the DN.
Andreas Gohr [Wed, 27 Jun 2007 12:03:22 +0000 (14:03 +0200)]
simple phone number searching
If you enter a numeric search query it is treated as part of a phone number.
Because ConTagged has to deal with any possible formatting in the phone number
entries and the limits of LDAP search filters it will match any number where
the given digits occur in the same order (but not nesserally besides each others)
Eg. a search for 3940 will match the number +49 30 22 49 46 30
Andreas Gohr [Thu, 21 Jun 2007 13:12:57 +0000 (15:12 +0200)]
Dynamically decide which attributes to fetch
List views previously fetched all entry attributes, even when only a few
of them where really shown. Now the template is examined first, then only
needed attributes are pulled from the server.
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.