Ralf Becker
5d30855ed1
- fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
...
- invalidate the cache of the accounts-class if contact-data of an account get changed
2006-06-21 23:13:37 +00:00
Ralf Becker
a018b89b84
make the sidebox entries consistently start with a capital letter
2006-06-20 18:22:40 +00:00
Miles Lott
23ac553d70
Fix for types other than md5 and crypt, e.g. SSHA where the the type is contained in the text of the password
2006-06-20 09:50:00 +00:00
Ralf Becker
93c8753b73
improved emulation of old contact class
2006-06-18 05:07:10 +00:00
Ralf Becker
4e2ed78789
prevent invinit recursion if read_repository() is called without $this->account_id set
2006-06-18 04:58:02 +00:00
Ralf Becker
61b6d0b993
moved contact-data (firstname, lastname and email) from the account-table to the contact table:
...
- all (sql) accounts have now allways a contact associated with them (account_id is added as new column to the contacts table)
- contacts queries are simplefied a lot now, as no more join with the accouns-table, union and case when statesments are necessary
- lot of the special handling for accounts in the contacts class is no longer needed
- new contact-repository mode "sql-ldap" which additional writes all changes to the ldap repository, to allow to use it read-only from eg. thunderbird and still have the full sql speed and features within eGW (not yet fully working!)
==> requites update of API and addressbook to work (setup!)
2006-06-17 18:47:02 +00:00
Ralf Becker
e57d634c33
enabling the session cache for sql too
2006-06-17 18:40:07 +00:00
Ralf Becker
96ba93f773
use the new type parameter for accounts::name2id to specify accounts
2006-06-17 18:38:32 +00:00
Ralf Becker
0af8df4caa
new param to not invalidate the session-cache
2006-06-17 18:37:35 +00:00
Ralf Becker
5dc4617462
setting the default for encrypt_ldap() to des and not just return false, the default is needed if you never saved setup >> config
2006-06-17 16:04:35 +00:00
Ralf Becker
ae661608ab
allow to use an url (eg. "ldaps://domain.com") instead just a domain name
2006-06-16 04:54:55 +00:00
Ralf Becker
5acd64e429
further improved the detection of "real" links
2006-06-16 04:53:52 +00:00
Ralf Becker
946efce9a1
improved emulation of old contact class
2006-06-16 04:47:22 +00:00
Ralf Becker
2409fdaae4
new email-address-selection popup for felamimail
2006-06-16 04:45:55 +00:00
Miles Lott
e14cc06c49
Correct spelling of function name. More to come...
2006-06-15 11:38:21 +00:00
Ralf Becker
8aa7063c94
fix
2006-06-14 23:43:53 +00:00
Ralf Becker
68202a23ff
emulate the old access={private|public}
2006-06-14 19:00:16 +00:00
Lars Kneschke
1afe9362af
fix for incomplete targetURI
...
Patch from Franky(liedekef)
2006-06-14 05:38:15 +00:00
Ralf Becker
0d9206e671
fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction
2006-06-13 21:58:08 +00:00
Ralf Becker
346164483e
using ldap::quote() to gard against LDAP query injection
2006-06-13 04:23:36 +00:00
Ralf Becker
2c87623e9b
renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote
2006-06-13 04:22:24 +00:00
Ralf Becker
b2a0081696
phpDoc compatible header
2006-06-13 04:16:38 +00:00
Ralf Becker
287726dead
bugfix: set_memberships removed the not longer set memberships from $this->account_id and not the given one (which caused the admin to loose the membership)
2006-06-11 14:27:14 +00:00
Oscar Manuel Gómez Senovilla
c3bbdcbe57
langs update, trying to fix the phpgwapi/phpgw_fr.lang problem
2006-06-09 05:09:06 +00:00
Ralf Becker
d8d93ebd77
changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists
2006-06-09 00:07:57 +00:00
Ralf Becker
767c42b43f
accounts_ldap::_get_nextid was not returning a negative number for groups, which lead to accounts_ldap::save to return a positive account_id for groups, which messed up some stuff in setup ...
2006-06-08 22:04:44 +00:00
Ralf Becker
5581a73df7
allways setting account_pwd and account_status (for groups too) as they are NOT NULL, thanks to olo <aleksander.adamowski-AT-gmail.com>
2006-06-08 21:18:46 +00:00
Lars Kneschke
e4409c7b0a
fixed handling of session url, when behind a proxy
2006-06-08 03:46:18 +00:00
Ralf Becker
076711adbf
fallback for posixGroup no structural object was missing
2006-06-08 03:29:07 +00:00
Ralf Becker
7c203162fa
fix to allow migration of accounts from LDAP to SQL (account_id already set)
2006-06-08 00:25:57 +00:00
Ralf Becker
a59c49c2e2
also fetch the password, eg. for migration
2006-06-07 23:21:30 +00:00
Ralf Becker
29f83cba19
calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary)
2006-06-07 22:59:42 +00:00
Ralf Becker
1934c4ce6d
fixed some problems:
...
- in setup we have no sessions --> query the infos on each request
- if the server allows no version 2 binds, the class failed. Now we try again with version 3 set (and succeed)
2006-06-07 22:58:11 +00:00
Ralf Becker
02cfb662e8
minimal update of the LDAP docu
2006-06-07 22:27:22 +00:00
Ralf Becker
9eca4904e0
allow to specify the hash type to prefix the hash, to easy migrate passwords from ldap
2006-06-07 22:08:13 +00:00
Cornelius Weiß
fdebc495f5
add autologin for anonymous user as we need to have on community.egroupware.org
2006-06-07 18:16:43 +00:00
Cornelius Weiß
857c4bf685
add autologin for anonymous user as we need to have on community.egroupware.org
2006-06-07 18:15:50 +00:00
Cornelius Weiß
6623ad4b8a
add autologin for anonymous user as we need to have on community.egroupware.org
2006-06-07 18:14:18 +00:00
Ralf Becker
c6b0c63725
- correctly set and empty some additional attributes like first name and email
...
- validation group-members before setting them (false return from id2name, gives ldap-error otherwise)
2006-06-07 17:58:20 +00:00
Ralf Becker
5a84e151b2
need to invalidate the cache, before new users can be assigned any memberships
2006-06-07 17:55:57 +00:00
Ralf Becker
d8e53a5aab
fix to NOT use tls for IMAP
2006-06-07 06:49:08 +00:00
Ralf Becker
3234d5723e
- fixed a view error in working together with setup
...
- quitent (hopefully) all debug messages
2006-06-07 05:16:56 +00:00
Ralf Becker
284369fa23
quitent a debug message
2006-06-07 02:38:47 +00:00
Ralf Becker
98d8b30761
rewrite of the accounts classes:
...
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Lars Kneschke
3821544b6d
removed port if 80 or 443
2006-06-06 07:05:26 +00:00
Ralf Becker
73b00c865e
Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know
2006-06-06 05:33:10 +00:00
Oscar Manuel Gómez Senovilla
c7007dbca6
rest of massive update
2006-06-03 20:30:48 +00:00
Ralf Becker
b4f3452ffc
Fixed problem that on newer SuSE (and maybe other distros too) none of our required objectclasses for groups are an structural object, which caused the adding of new groups to fail. Now I add the 'namedObject' objectclass, if the first adding fails.
2006-06-03 19:44:44 +00:00
Ralf Becker
ef69e29a99
Fix from István Pongrácz for acl-problems in filemanager under php4.3.2
2006-06-03 01:43:40 +00:00
Ralf Becker
3660a8f6ad
fixed bug [ 1497590 ] syncml fails due to excessive session id length
...
--> new version 1.2.102 for the upcomming bugfix release this weekend
2006-06-01 20:04:05 +00:00