Commit graph

55 commits

Author SHA1 Message Date
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
b2cc0dac1c Revert changes in revision 14302. Revision 14302 should only have changed functions/imap_general.php 2012-04-01 20:09:11 +00:00
pdontthink
33ebad3f5c Fall back to using LIST if NAMESPACE answer is malformed or otherwise problematic. This still doesn't account for situations where the NAMESPACE or LIST answer can't be parsed correctly. 2012-04-01 19:50:49 +00:00
pdontthink
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
Fredrik Jervfors
0a6245814a There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style. 2009-04-15 22:00:49 +00:00
pdontthink
80fbae3768 Add ability to lookup entries based on fields other than nickname. Thanks to David Hardeman. 2008-07-02 07:33:27 +00:00
pdontthink
327222434c Add clarifying docs 2008-06-20 07:57:38 +00:00
pdontthink
0ac7a4f2b2 Allow lookups by fields other than nickname; LDAP backend needs to have this implemented if poss 2008-06-19 01:07:37 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
Alexandros Vellis
87de455476 The search expression for the LDAP Addressbook backend has been made configurable via search_expression variable / configuration option. Also a few clarifications and more userfriendly text in comments about the filter and search_expression options. The search_expression is a printf-style string, and some more checks/sanitization have been implemented because of it. 2006-10-11 10:49:36 +00:00
tokul
5064335080 Removed html formating from address book backend classes. Added
fullname() method to addressbook_backend class. Moved
htmlspecialchars() sanitizing from address book backend classes to
html output code. If third party code displays errors from address
book object in html, errors must be sanitized and ASCII line feeds
should be converted to html line breaks.

'addressbook' strings are replaced with 'address book'. Spellcheck
fails on 'addressbook'.
2006-06-04 12:42:24 +00:00
tokul
853981da02 wrong default left after testing backend. 2006-06-03 17:23:59 +00:00
tokul
d0dd94c15c Adding write support to address book ldap backend. Patch by David Hardeman
(#1495763).
2006-06-03 17:14:49 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
tokul
1cf3b09485 search for string in cn, sn and mail fields 2005-12-28 17:47:07 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
682a8b9f8f don't allow use of starttls on ldap socket connection 2005-08-21 15:19:03 +00:00
tokul
95e9fa3c73 strip basedn from nickname. 2005-08-01 08:07:13 +00:00
tokul
943728fbdd ldap_list/ldap_search and starttls support in address book ldap backend 2005-07-03 09:58:45 +00:00
tokul
28bdb14b26 adding ldap listing controls to conf.pl
moving some ldap configuration options to advanced section in order to
reduce number of questions in ldap configuration.
blocking use of wildcard in file and db backends when listing is disabled.
This should close #529563 in devel.
2005-06-21 09:06:04 +00:00
tokul
71965af4f5 adding functional list_addr function and listing parameter, that is used
to control listing of directories. part of 529563 fixes
2005-06-20 15:58:14 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
tokul
ac070a7f97 adding limit_scope and filter support. Should close #1035454 and #539534
patches in devel. Patches will be moved to stable tracker, but I don't think
that they have to be added to stable.
2005-03-27 09:12:19 +00:00
tokul
f86b6a0e76 check if object is returned. 2005-03-20 10:05:59 +00:00
tokul
65ff8ccf8d sanitizing ldap search. I think, in this case it only prevents ldap search
errors. Backend does not enclose search in () and custom search options
can't be inserted. If I am wrong, attacker was able to scrap some complex
cn=*something* search expression, that could abuse ldap backend or ldap
server.
2005-02-27 09:45:53 +00:00
Fredrik Jervfors
9faf3051c1 Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes 2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
tokul
b216fd82f2 using own squirrelmail functions for encoding/decoding instead of xml functions.
fixes bug.655137
2004-11-14 17:36:37 +00:00
tokul
70da4834e1 removed $phone from array and from ldap queries. SM does not use it.
added phpdoc blocks
enabled list_addr function. currently returns empty array.
2004-11-01 10:47:36 +00:00
Fredrik Jervfors
3b83c567dd Minor cleanups 2004-08-24 00:40:28 +00:00
tokul
3302330906 Moving addressbook functions to separate phpdoc subpackage. 2004-04-12 08:00:07 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
tokul
48ad0043fc 1. added non anonymous ldap binding patch. (thanks to Ilyak Kasnacheev <ilyak at online.ru>)
2. added ldap protocol version binding. (bug no. 829929)

3. cleaned administrator plugin options

4. added global sql address book support. Obsolates MySQL address book plugin (http://www.squirrelmail.org/plugin_view.php?id=104).
2003-12-26 09:13:37 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
Thijs Kinkhorst
e4adb83265 Version check fixes.
1) the required version is minimum 4.0.4 so the 4.0.2 check is always passed.
2) make the check in prefs.php also work when new php versions are released %-)
2003-01-23 20:50:22 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Thijs Kinkhorst
7e1b411889 Forgot one { 2002-01-28 20:47:26 +00:00
Thijs Kinkhorst
a71f7bcbfe Fixed *A LOT* of formatting... 2002-01-28 20:41:01 +00:00
thomppj
1e2a9cc5d0 Getting ready for 1.2.0 release. 2001-12-23 07:42:40 +00:00
thomppj
5d15361f1f Code cleanup brigage... 2001-12-02 09:33:02 +00:00
philippe_mingo
da2f3297dd ** -> * 2001-11-26 19:33:28 +00:00
philippe_mingo
d61b98077f Added (c) stuff and some formatting. 2001-11-21 18:38:12 +00:00
Tyler Akins
623e3d6b55 Added code from Philippe Mingo on June 1, 2001
Disabled by default, but you can make the "List All" button show everyone
in the LDAP server.  Usually an unwise decision, but can be helpful for
small sites.
2001-06-25 17:47:06 +00:00
pallo
7972c4e57b Fixed PHP warning for LDAP entries without an e-mail address. 2001-02-05 09:33:59 +00:00
Tyler Akins
c2cd55a5a9 * Changed some regexps into string matches and the like
* Fixed more regexp quoting problems
* Cleaned up some code
* Added support for the seven new top-level domains (.aero, .biz, .coop,
.info, .museum, .name, .pro) to url_parser.php
2001-02-02 17:51:19 +00:00
Tyler Akins
3bb8c89d5e That should fix the changes.
Must not '*$var*' -- use "*$var*" or '*'.$var.'*'
2001-01-31 17:49:31 +00:00
thomppj
70ebf1a30b Converted "foo" to 'foo' for abook_*.php 2001-01-31 15:15:36 +00:00