Commit Graph

139 Commits

Author SHA1 Message Date
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
Lars Kneschke
893c085f78 added addaccount-hook for auto created accounts 2004-01-25 22:27:31 +00:00
Miles Lott
77fd8f4882 Move password functions to auth class; Add support for new encryption types in setup
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Miles Lott
20b851da6f intval -> (int), replace gettype() and ereg functions where possible 2003-12-14 17:18:41 +00:00
Ralf Becker
df93243fbc fix for id not an integer 2003-11-14 21:09:37 +00:00
Ralf Becker
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
Ralf Becker
30a4f77153 fix for delete with empty account_id 2003-10-01 14:50:34 +00:00
Ralf Becker
36b40204e3 update to version 0.9.99.002:
- new columns for accounts-table: contact_id and primary group
- fixed error from 0.9.10 update with groups and permissions columns only half deleted
- update function for phpGW 0.9.14.508/9 and 0.9.15.013/4
2003-09-13 18:19:03 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
64aa244e2e update 2003-06-24 11:54:22 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
ceb
a8b4146b4e added missing ')' to search string in list function 2002-10-11 00:35:11 +00:00
Zone
71ec2f0197 Updates needed for phpwebhosting -> filemanager name change 2002-09-21 05:15:32 +00:00