Klaus Leithoff
5693038f9f
added fields created/modified to the retrieval of the single account info.
...
added accountstatus/created/modified to the retrieval of the account list
2008-04-10 09:06:00 +00:00
Ralf Becker
9553da2f63
"fixed typo: translations --> translation"
2008-03-22 09:25:41 +00:00
Ralf Becker
3bf9ad5efa
dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-)
2008-03-21 20:11:59 +00:00
Ralf Becker
e79c4b3e6a
removed left over line, causing name2id to fail and stopping all logins
2008-03-13 20:08:37 +00:00
Ralf Becker
37a12ac183
"using global db object"
2008-03-13 19:37:09 +00:00
Ralf Becker
2aa096915c
reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*)
2007-12-13 02:32:44 +00:00
Ralf Becker
74c9b0ccb7
fix prevent deleting of accounts via SyncML and to read private flag from the DB if missing
2007-10-11 06:24:57 +00:00
Ralf Becker
097238311b
fixed not found user searched by email, if there's also a contact with that email
2007-08-24 10:53:26 +00:00
Ralf Becker
dcf1a53a74
"fixed sql account backend to return array() instead of false for groups without members (can be created by deleting all users, which are members)"
2007-06-15 07:55:42 +00:00
Ralf Becker
71141e4b14
"fixed not working search for groups"
2007-06-03 15:17:37 +00:00
Ralf Becker
892c5f8f83
"fix for bug #584 : Problem when sorting accounts in the account-selection popup"
2007-05-01 14:26:48 +00:00
Ralf Becker
0b261f355b
fixed not working removal of group-memberships via edit-group
2006-10-19 17:11:35 +00:00
Ralf Becker
9ae99b8003
postgres fix, auto-id column need to be NOT set
2006-07-14 19:59:16 +00:00
Ralf Becker
b12b8ada8b
fixed warning if a group without members got created
2006-07-13 19:54:02 +00:00
Ralf Becker
e9c61d87d9
fixed bug, that caused accounts::search() to allways return on the first maxmatches accounts, as the underlying contacts::search() and so_sql::search() need the start param to be exact false and not null
2006-07-12 18:31:19 +00:00
Ralf Becker
ad7972870c
moved saving of account contact-data to accounts class
2006-07-08 00:20:27 +00:00
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
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
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
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
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
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
Ralf Becker
c71c53851f
fixed critical bug:
...
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Ralf Becker
c54ebc6323
accounts_sql::save_repository(): overwrite person_id only if set in data
2006-04-25 12:44:40 +00:00
Ralf Becker
e52c09e0a6
allow to search for fullname
2006-04-23 14:48:19 +00:00
Ralf Becker
dc48662fc8
fix for bug:
...
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Ralf Becker
68828494ab
fix for negative group-ids, which are not allowed by all dbms in auto-columns:
...
- egw_accounts.account_id is now again positiv for groups too
- mapping to negative group-id is done in the accounts-class now
2005-12-14 23:35:09 +00:00
Ralf Becker
332b6fabd5
fix for mssql problem reported, without SET identity_update <table> ON, mssql refuses to change the identity column (create negative group id). I cant test it, as I have no MsSQL at the moment.
2005-12-01 21:01:06 +00:00
Ralf Becker
b68c7922c0
fixed prob reported on the lists: new created account are not working
2005-11-25 19:58:05 +00:00
Ralf Becker
9606f6ea25
eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's)
2005-11-24 19:48:21 +00:00
Ralf Becker
2dbaf992fa
fix for bug [ 1357995 ] LDAP account import errors
2005-11-20 08:03:06 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
4e2bce12e6
modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api
2005-03-24 13:15:12 +00:00
Ralf Becker
ce279014bc
merged Lars patch, which was only applied to 1.0
2004-09-22 13:46:24 +00:00
mgalgoci
a089746e47
fix the fix
2004-08-31 15:18:25 +00:00
mgalgoci
99ffa6ebc1
- re-write of the phpgwapi::accounts_sql::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- set default name to New User if we have no other data
- remove some crap and make function readable
2004-08-30 15:15:59 +00:00
Ralf Becker
be01760302
removed manual acl-settings for auto-created accounts, as suggested by Matthew Galgoci
2004-07-31 09:28:28 +00:00
Ralf Becker
ee82c376f6
using default group as specified in Setup >> Configuration for the primary group too, if none is given
2004-07-10 08:22:07 +00:00
Ralf Becker
0ce4cbad1a
and the status
2004-07-08 17:30:37 +00:00
Ralf Becker
36eea9746e
fixed unencrypted password on creation of new users
2004-07-08 17:25:53 +00:00
Ralf Becker
c0c8206f2a
fixed bug in user-creation reported by Chris Kretas (was introduced in the last commit / after RC6)
2004-07-06 12:42:56 +00:00
Ralf Becker
8bfb6cfb07
added email-address to the accounts-data (ldap untested so far!)
2004-07-04 17:27:42 +00:00
Ralf Becker
ab9ec83bc4
implemented different search-types:
...
- all fields
- firstname, lastname, account-lid
- start with
- exact
for the new account-selection popup
2004-06-13 20:11:31 +00:00
Ralf Becker
eed94133c3
fixed and extended auto_create_accounts: the following information from ldap are now automaticaly stored in the sql-account:
...
- name & firstname
- primary group (if a group with that numerical id exists in eGW, its added as primary group to the account and acl)
- numerical account-id (if availible, no new one gets created, but the one from ldap is used)
- email (as preference for the email-app)
2004-05-22 11:00:18 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
fe8be115fb
as talked with lars ;-)
2004-04-04 23:01:58 +00:00
Lars Kneschke
9f8740113a
fix get_account_name to make acls working correctly again
2004-02-07 20:52:42 +00:00
Ralf Becker
b58f7c344d
moved the existing caching-code into the shared class and implemented caching for get_list
2004-02-05 21:20:41 +00:00
Miles Lott
d26eacbeea
move check for auth object
2004-01-26 03:22:15 +00:00
Lars Kneschke
61c768f8d3
add a first and last name for auto created accounts too
2004-01-25 22:38:26 +00:00